@azure/arm-standbypool 1.0.0-alpha.20240925.1 → 1.0.0-alpha.20240926.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -2
- package/README.md +1 -8
- package/dist/browser/api/index.d.ts +8 -0
- package/dist/browser/api/index.d.ts.map +1 -0
- package/dist/browser/api/index.js +10 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +10 -0
- package/dist/browser/api/operations/index.d.ts.map +1 -0
- package/dist/browser/api/operations/index.js +40 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/index.d.ts +14 -0
- package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -0
- package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/index.js +113 -0
- package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -0
- package/dist/browser/api/standbyContainerGroupPools/index.d.ts +31 -0
- package/dist/browser/api/standbyContainerGroupPools/index.d.ts.map +1 -0
- package/dist/browser/api/standbyContainerGroupPools/index.js +362 -0
- package/dist/browser/api/standbyContainerGroupPools/index.js.map +1 -0
- package/dist/browser/api/standbyPoolManagementContext.d.ts +11 -0
- package/dist/browser/api/standbyPoolManagementContext.d.ts.map +1 -0
- package/dist/browser/api/standbyPoolManagementContext.js +31 -0
- package/dist/browser/api/standbyPoolManagementContext.js.map +1 -0
- package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts +14 -0
- package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -0
- package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/index.js +115 -0
- package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -0
- package/dist/browser/api/standbyVirtualMachinePools/index.d.ts +31 -0
- package/dist/browser/api/standbyVirtualMachinePools/index.d.ts.map +1 -0
- package/dist/browser/api/standbyVirtualMachinePools/index.js +327 -0
- package/dist/browser/api/standbyVirtualMachinePools/index.js.map +1 -0
- package/dist/browser/api/standbyVirtualMachines/index.d.ts +14 -0
- package/dist/browser/api/standbyVirtualMachines/index.d.ts.map +1 -0
- package/dist/browser/api/standbyVirtualMachines/index.js +97 -0
- package/dist/browser/api/standbyVirtualMachines/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +7 -0
- package/dist/browser/classic/index.d.ts.map +1 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +14 -0
- package/dist/browser/classic/operations/index.d.ts.map +1 -0
- package/dist/browser/classic/operations/index.js +12 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts +17 -0
- package/dist/browser/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -0
- package/dist/browser/classic/standbyContainerGroupPoolRuntimeViews/index.js +13 -0
- package/dist/browser/classic/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -0
- package/dist/browser/classic/standbyContainerGroupPools/index.d.ts +30 -0
- package/dist/browser/classic/standbyContainerGroupPools/index.d.ts.map +1 -0
- package/dist/browser/classic/standbyContainerGroupPools/index.js +17 -0
- package/dist/browser/classic/standbyContainerGroupPools/index.js.map +1 -0
- package/dist/browser/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts +17 -0
- package/dist/browser/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -0
- package/dist/browser/classic/standbyVirtualMachinePoolRuntimeViews/index.js +13 -0
- package/dist/browser/classic/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -0
- package/dist/browser/classic/standbyVirtualMachinePools/index.d.ts +30 -0
- package/dist/browser/classic/standbyVirtualMachinePools/index.d.ts.map +1 -0
- package/dist/browser/classic/standbyVirtualMachinePools/index.js +17 -0
- package/dist/browser/classic/standbyVirtualMachinePools/index.js.map +1 -0
- package/dist/browser/classic/standbyVirtualMachines/index.d.ts +17 -0
- package/dist/browser/classic/standbyVirtualMachines/index.d.ts.map +1 -0
- package/dist/browser/classic/standbyVirtualMachines/index.js +13 -0
- package/dist/browser/classic/standbyVirtualMachines/index.js.map +1 -0
- package/dist/browser/helpers/serializerHelpers.d.ts +3 -0
- package/dist/browser/helpers/serializerHelpers.d.ts.map +1 -0
- package/dist/browser/helpers/serializerHelpers.js +24 -0
- package/dist/browser/helpers/serializerHelpers.js.map +1 -0
- package/dist/browser/index.d.ts +7 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +6 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +3 -0
- package/dist/browser/models/index.d.ts.map +1 -0
- package/dist/browser/models/index.js +4 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/models.d.ts +381 -0
- package/dist/browser/models/models.d.ts.map +1 -0
- package/dist/browser/models/models.js +164 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/models/options.d.ts +67 -0
- package/dist/browser/models/options.d.ts.map +1 -0
- package/dist/browser/models/options.js +4 -0
- package/dist/browser/models/options.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.d.ts.map +1 -0
- package/dist/browser/restorePollerHelpers.js +106 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- package/dist/browser/standbyPoolManagementClient.d.ts +29 -0
- package/dist/browser/standbyPoolManagementClient.d.ts.map +1 -0
- package/dist/browser/standbyPoolManagementClient.js +27 -0
- package/dist/browser/standbyPoolManagementClient.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.js +139 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.js +78 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +8 -0
- package/dist/commonjs/api/index.d.ts.map +1 -0
- package/dist/commonjs/api/index.js +33 -0
- package/dist/commonjs/api/index.js.map +1 -0
- package/dist/commonjs/api/operations/index.d.ts +10 -0
- package/dist/commonjs/api/operations/index.d.ts.map +1 -0
- package/dist/commonjs/api/operations/index.js +45 -0
- package/dist/commonjs/api/operations/index.js.map +1 -0
- package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/index.d.ts +14 -0
- package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -0
- package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/index.js +121 -0
- package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -0
- package/dist/commonjs/api/standbyContainerGroupPools/index.d.ts +31 -0
- package/dist/commonjs/api/standbyContainerGroupPools/index.d.ts.map +1 -0
- package/dist/commonjs/api/standbyContainerGroupPools/index.js +382 -0
- package/dist/commonjs/api/standbyContainerGroupPools/index.js.map +1 -0
- package/dist/commonjs/api/standbyPoolManagementContext.d.ts +11 -0
- package/dist/commonjs/api/standbyPoolManagementContext.d.ts.map +1 -0
- package/dist/commonjs/api/standbyPoolManagementContext.js +34 -0
- package/dist/commonjs/api/standbyPoolManagementContext.js.map +1 -0
- package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts +14 -0
- package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -0
- package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/index.js +123 -0
- package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -0
- package/dist/commonjs/api/standbyVirtualMachinePools/index.d.ts +31 -0
- package/dist/commonjs/api/standbyVirtualMachinePools/index.d.ts.map +1 -0
- package/dist/commonjs/api/standbyVirtualMachinePools/index.js +347 -0
- package/dist/commonjs/api/standbyVirtualMachinePools/index.js.map +1 -0
- package/dist/commonjs/api/standbyVirtualMachines/index.d.ts +14 -0
- package/dist/commonjs/api/standbyVirtualMachines/index.d.ts.map +1 -0
- package/dist/commonjs/api/standbyVirtualMachines/index.js +105 -0
- package/dist/commonjs/api/standbyVirtualMachines/index.js.map +1 -0
- package/dist/commonjs/classic/index.d.ts +7 -0
- package/dist/commonjs/classic/index.d.ts.map +1 -0
- package/dist/commonjs/classic/index.js +5 -0
- package/dist/commonjs/classic/index.js.map +1 -0
- package/dist/commonjs/classic/operations/index.d.ts +14 -0
- package/dist/commonjs/classic/operations/index.d.ts.map +1 -0
- package/dist/commonjs/classic/operations/index.js +16 -0
- package/dist/commonjs/classic/operations/index.js.map +1 -0
- package/dist/commonjs/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts +17 -0
- package/dist/commonjs/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -0
- package/dist/commonjs/classic/standbyContainerGroupPoolRuntimeViews/index.js +17 -0
- package/dist/commonjs/classic/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -0
- package/dist/commonjs/classic/standbyContainerGroupPools/index.d.ts +30 -0
- package/dist/commonjs/classic/standbyContainerGroupPools/index.d.ts.map +1 -0
- package/dist/commonjs/classic/standbyContainerGroupPools/index.js +21 -0
- package/dist/commonjs/classic/standbyContainerGroupPools/index.js.map +1 -0
- package/dist/commonjs/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts +17 -0
- package/dist/commonjs/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -0
- package/dist/commonjs/classic/standbyVirtualMachinePoolRuntimeViews/index.js +17 -0
- package/dist/commonjs/classic/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -0
- package/dist/commonjs/classic/standbyVirtualMachinePools/index.d.ts +30 -0
- package/dist/commonjs/classic/standbyVirtualMachinePools/index.d.ts.map +1 -0
- package/dist/commonjs/classic/standbyVirtualMachinePools/index.js +21 -0
- package/dist/commonjs/classic/standbyVirtualMachinePools/index.js.map +1 -0
- package/dist/commonjs/classic/standbyVirtualMachines/index.d.ts +17 -0
- package/dist/commonjs/classic/standbyVirtualMachines/index.d.ts.map +1 -0
- package/dist/commonjs/classic/standbyVirtualMachines/index.js +17 -0
- package/dist/commonjs/classic/standbyVirtualMachines/index.js.map +1 -0
- package/dist/commonjs/helpers/serializerHelpers.d.ts +3 -0
- package/dist/commonjs/helpers/serializerHelpers.d.ts.map +1 -0
- package/dist/commonjs/helpers/serializerHelpers.js +27 -0
- package/dist/commonjs/helpers/serializerHelpers.js.map +1 -0
- package/dist/commonjs/index.d.ts +7 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +17 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +8 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +3 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +13 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/models.d.ts +381 -0
- package/dist/commonjs/models/models.d.ts.map +1 -0
- package/dist/commonjs/models/models.js +182 -0
- package/dist/commonjs/models/models.js.map +1 -0
- package/dist/commonjs/models/options.d.ts +67 -0
- package/dist/commonjs/models/options.d.ts.map +1 -0
- package/dist/commonjs/models/options.js +5 -0
- package/dist/commonjs/models/options.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.d.ts.map +1 -0
- package/dist/commonjs/restorePollerHelpers.js +109 -0
- package/dist/commonjs/restorePollerHelpers.js.map +1 -0
- package/dist/commonjs/standbyPoolManagementClient.d.ts +29 -0
- package/dist/commonjs/standbyPoolManagementClient.d.ts.map +1 -0
- package/dist/commonjs/standbyPoolManagementClient.js +31 -0
- package/dist/commonjs/standbyPoolManagementClient.js.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +142 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +81 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/esm/api/index.d.ts +8 -0
- package/dist/esm/api/index.d.ts.map +1 -0
- package/dist/esm/api/index.js +10 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +10 -0
- package/dist/esm/api/operations/index.d.ts.map +1 -0
- package/dist/esm/api/operations/index.js +40 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/index.d.ts +14 -0
- package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -0
- package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/index.js +113 -0
- package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -0
- package/dist/esm/api/standbyContainerGroupPools/index.d.ts +31 -0
- package/dist/esm/api/standbyContainerGroupPools/index.d.ts.map +1 -0
- package/dist/esm/api/standbyContainerGroupPools/index.js +362 -0
- package/dist/esm/api/standbyContainerGroupPools/index.js.map +1 -0
- package/dist/esm/api/standbyPoolManagementContext.d.ts +11 -0
- package/dist/esm/api/standbyPoolManagementContext.d.ts.map +1 -0
- package/dist/esm/api/standbyPoolManagementContext.js +31 -0
- package/dist/esm/api/standbyPoolManagementContext.js.map +1 -0
- package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts +14 -0
- package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -0
- package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/index.js +115 -0
- package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -0
- package/dist/esm/api/standbyVirtualMachinePools/index.d.ts +31 -0
- package/dist/esm/api/standbyVirtualMachinePools/index.d.ts.map +1 -0
- package/dist/esm/api/standbyVirtualMachinePools/index.js +327 -0
- package/dist/esm/api/standbyVirtualMachinePools/index.js.map +1 -0
- package/dist/esm/api/standbyVirtualMachines/index.d.ts +14 -0
- package/dist/esm/api/standbyVirtualMachines/index.d.ts.map +1 -0
- package/dist/esm/api/standbyVirtualMachines/index.js +97 -0
- package/dist/esm/api/standbyVirtualMachines/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +7 -0
- package/dist/esm/classic/index.d.ts.map +1 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +14 -0
- package/dist/esm/classic/operations/index.d.ts.map +1 -0
- package/dist/esm/classic/operations/index.js +12 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts +17 -0
- package/dist/esm/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -0
- package/dist/esm/classic/standbyContainerGroupPoolRuntimeViews/index.js +13 -0
- package/dist/esm/classic/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -0
- package/dist/esm/classic/standbyContainerGroupPools/index.d.ts +30 -0
- package/dist/esm/classic/standbyContainerGroupPools/index.d.ts.map +1 -0
- package/dist/esm/classic/standbyContainerGroupPools/index.js +17 -0
- package/dist/esm/classic/standbyContainerGroupPools/index.js.map +1 -0
- package/dist/esm/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts +17 -0
- package/dist/esm/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -0
- package/dist/esm/classic/standbyVirtualMachinePoolRuntimeViews/index.js +13 -0
- package/dist/esm/classic/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -0
- package/dist/esm/classic/standbyVirtualMachinePools/index.d.ts +30 -0
- package/dist/esm/classic/standbyVirtualMachinePools/index.d.ts.map +1 -0
- package/dist/esm/classic/standbyVirtualMachinePools/index.js +17 -0
- package/dist/esm/classic/standbyVirtualMachinePools/index.js.map +1 -0
- package/dist/esm/classic/standbyVirtualMachines/index.d.ts +17 -0
- package/dist/esm/classic/standbyVirtualMachines/index.d.ts.map +1 -0
- package/dist/esm/classic/standbyVirtualMachines/index.js +13 -0
- package/dist/esm/classic/standbyVirtualMachines/index.js.map +1 -0
- package/dist/esm/helpers/serializerHelpers.d.ts +3 -0
- package/dist/esm/helpers/serializerHelpers.d.ts.map +1 -0
- package/dist/esm/helpers/serializerHelpers.js +24 -0
- package/dist/esm/helpers/serializerHelpers.js.map +1 -0
- package/dist/esm/index.d.ts +7 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/models.d.ts +381 -0
- package/dist/esm/models/models.d.ts.map +1 -0
- package/dist/esm/models/models.js +164 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/models/options.d.ts +67 -0
- package/dist/esm/models/options.d.ts.map +1 -0
- package/dist/esm/models/options.js +4 -0
- package/dist/esm/models/options.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.d.ts.map +1 -0
- package/dist/esm/restorePollerHelpers.js +106 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- package/dist/esm/standbyPoolManagementClient.d.ts +29 -0
- package/dist/esm/standbyPoolManagementClient.d.ts.map +1 -0
- package/dist/esm/standbyPoolManagementClient.js +27 -0
- package/dist/esm/standbyPoolManagementClient.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.js +139 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.js +78 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/react-native/api/index.d.ts +8 -0
- package/dist/react-native/api/index.d.ts.map +1 -0
- package/dist/react-native/api/index.js +10 -0
- package/dist/react-native/api/index.js.map +1 -0
- package/dist/react-native/api/operations/index.d.ts +10 -0
- package/dist/react-native/api/operations/index.d.ts.map +1 -0
- package/dist/react-native/api/operations/index.js +40 -0
- package/dist/react-native/api/operations/index.js.map +1 -0
- package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/index.d.ts +14 -0
- package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -0
- package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/index.js +113 -0
- package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -0
- package/dist/react-native/api/standbyContainerGroupPools/index.d.ts +31 -0
- package/dist/react-native/api/standbyContainerGroupPools/index.d.ts.map +1 -0
- package/dist/react-native/api/standbyContainerGroupPools/index.js +362 -0
- package/dist/react-native/api/standbyContainerGroupPools/index.js.map +1 -0
- package/dist/react-native/api/standbyPoolManagementContext.d.ts +11 -0
- package/dist/react-native/api/standbyPoolManagementContext.d.ts.map +1 -0
- package/dist/react-native/api/standbyPoolManagementContext.js +31 -0
- package/dist/react-native/api/standbyPoolManagementContext.js.map +1 -0
- package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts +14 -0
- package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -0
- package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/index.js +115 -0
- package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -0
- package/dist/react-native/api/standbyVirtualMachinePools/index.d.ts +31 -0
- package/dist/react-native/api/standbyVirtualMachinePools/index.d.ts.map +1 -0
- package/dist/react-native/api/standbyVirtualMachinePools/index.js +327 -0
- package/dist/react-native/api/standbyVirtualMachinePools/index.js.map +1 -0
- package/dist/react-native/api/standbyVirtualMachines/index.d.ts +14 -0
- package/dist/react-native/api/standbyVirtualMachines/index.d.ts.map +1 -0
- package/dist/react-native/api/standbyVirtualMachines/index.js +97 -0
- package/dist/react-native/api/standbyVirtualMachines/index.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +7 -0
- package/dist/react-native/classic/index.d.ts.map +1 -0
- package/dist/react-native/classic/index.js +4 -0
- package/dist/react-native/classic/index.js.map +1 -0
- package/dist/react-native/classic/operations/index.d.ts +14 -0
- package/dist/react-native/classic/operations/index.d.ts.map +1 -0
- package/dist/react-native/classic/operations/index.js +12 -0
- package/dist/react-native/classic/operations/index.js.map +1 -0
- package/dist/react-native/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts +17 -0
- package/dist/react-native/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -0
- package/dist/react-native/classic/standbyContainerGroupPoolRuntimeViews/index.js +13 -0
- package/dist/react-native/classic/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -0
- package/dist/react-native/classic/standbyContainerGroupPools/index.d.ts +30 -0
- package/dist/react-native/classic/standbyContainerGroupPools/index.d.ts.map +1 -0
- package/dist/react-native/classic/standbyContainerGroupPools/index.js +17 -0
- package/dist/react-native/classic/standbyContainerGroupPools/index.js.map +1 -0
- package/dist/react-native/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts +17 -0
- package/dist/react-native/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -0
- package/dist/react-native/classic/standbyVirtualMachinePoolRuntimeViews/index.js +13 -0
- package/dist/react-native/classic/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -0
- package/dist/react-native/classic/standbyVirtualMachinePools/index.d.ts +30 -0
- package/dist/react-native/classic/standbyVirtualMachinePools/index.d.ts.map +1 -0
- package/dist/react-native/classic/standbyVirtualMachinePools/index.js +17 -0
- package/dist/react-native/classic/standbyVirtualMachinePools/index.js.map +1 -0
- package/dist/react-native/classic/standbyVirtualMachines/index.d.ts +17 -0
- package/dist/react-native/classic/standbyVirtualMachines/index.d.ts.map +1 -0
- package/dist/react-native/classic/standbyVirtualMachines/index.js +13 -0
- package/dist/react-native/classic/standbyVirtualMachines/index.js.map +1 -0
- package/dist/react-native/helpers/serializerHelpers.d.ts +3 -0
- package/dist/react-native/helpers/serializerHelpers.d.ts.map +1 -0
- package/dist/react-native/helpers/serializerHelpers.js +24 -0
- package/dist/react-native/helpers/serializerHelpers.js.map +1 -0
- package/dist/react-native/index.d.ts +7 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +6 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models/index.d.ts +3 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +4 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/models.d.ts +381 -0
- package/dist/react-native/models/models.d.ts.map +1 -0
- package/dist/react-native/models/models.js +164 -0
- package/dist/react-native/models/models.js.map +1 -0
- package/dist/react-native/models/options.d.ts +67 -0
- package/dist/react-native/models/options.d.ts.map +1 -0
- package/dist/react-native/models/options.js +4 -0
- package/dist/react-native/models/options.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/restorePollerHelpers.d.ts +21 -0
- package/dist/react-native/restorePollerHelpers.d.ts.map +1 -0
- package/dist/react-native/restorePollerHelpers.js +106 -0
- package/dist/react-native/restorePollerHelpers.js.map +1 -0
- package/dist/react-native/standbyPoolManagementClient.d.ts +29 -0
- package/dist/react-native/standbyPoolManagementClient.d.ts.map +1 -0
- package/dist/react-native/standbyPoolManagementClient.js +27 -0
- package/dist/react-native/standbyPoolManagementClient.js.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +72 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -0
- package/dist/react-native/static-helpers/pagingHelpers.js +139 -0
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +30 -0
- package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -0
- package/dist/react-native/static-helpers/pollingHelpers.js +78 -0
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
- package/package.json +138 -85
- package/review/arm-standbypool-models.api.md +322 -0
- package/review/arm-standbypool.api.md +120 -224
- package/dist/index.js +0 -2605
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -53
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/standbyContainerGroupPoolsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/standbyContainerGroupPoolsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/standbyContainerGroupPoolsCreateOrUpdateSample.js +0 -57
- package/dist-esm/samples-dev/standbyContainerGroupPoolsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/standbyContainerGroupPoolsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/standbyContainerGroupPoolsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/standbyContainerGroupPoolsDeleteSample.js +0 -39
- package/dist-esm/samples-dev/standbyContainerGroupPoolsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/standbyContainerGroupPoolsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/standbyContainerGroupPoolsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/standbyContainerGroupPoolsGetSample.js +0 -39
- package/dist-esm/samples-dev/standbyContainerGroupPoolsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/standbyContainerGroupPoolsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/standbyContainerGroupPoolsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/standbyContainerGroupPoolsListByResourceGroupSample.js +0 -54
- package/dist-esm/samples-dev/standbyContainerGroupPoolsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/standbyContainerGroupPoolsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/standbyContainerGroupPoolsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/standbyContainerGroupPoolsListBySubscriptionSample.js +0 -53
- package/dist-esm/samples-dev/standbyContainerGroupPoolsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/standbyContainerGroupPoolsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/standbyContainerGroupPoolsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/standbyContainerGroupPoolsUpdateSample.js +0 -56
- package/dist-esm/samples-dev/standbyContainerGroupPoolsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsCreateOrUpdateSample.js +0 -48
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsDeleteSample.js +0 -39
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsGetSample.js +0 -39
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsListByResourceGroupSample.js +0 -54
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsListBySubscriptionSample.js +0 -53
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsUpdateSample.js +0 -47
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/standbyVirtualMachinesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/standbyVirtualMachinesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/standbyVirtualMachinesGetSample.js +0 -40
- package/dist-esm/samples-dev/standbyVirtualMachinesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/standbyVirtualMachinesListByStandbyVirtualMachinePoolResourceSample.d.ts +0 -2
- package/dist-esm/samples-dev/standbyVirtualMachinesListByStandbyVirtualMachinePoolResourceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/standbyVirtualMachinesListByStandbyVirtualMachinePoolResourceSample.js +0 -55
- package/dist-esm/samples-dev/standbyVirtualMachinesListByStandbyVirtualMachinePoolResourceSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js +0 -13
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.d.ts +0 -11
- package/dist-esm/src/lroImpl.d.ts.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -21
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.d.ts +0 -581
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js +0 -62
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.d.ts +0 -38
- package/dist-esm/src/models/mappers.d.ts.map +0 -1
- package/dist-esm/src/models/mappers.js +0 -877
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.d.ts +0 -16
- package/dist-esm/src/models/parameters.d.ts.map +0 -1
- package/dist-esm/src/models/parameters.js +0 -143
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -5
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -12
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts +0 -32
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js +0 -133
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/standbyContainerGroupPools.d.ts +0 -99
- package/dist-esm/src/operations/standbyContainerGroupPools.d.ts.map +0 -1
- package/dist-esm/src/operations/standbyContainerGroupPools.js +0 -502
- package/dist-esm/src/operations/standbyContainerGroupPools.js.map +0 -1
- package/dist-esm/src/operations/standbyVirtualMachinePools.d.ts +0 -99
- package/dist-esm/src/operations/standbyVirtualMachinePools.d.ts.map +0 -1
- package/dist-esm/src/operations/standbyVirtualMachinePools.js +0 -502
- package/dist-esm/src/operations/standbyVirtualMachinePools.js.map +0 -1
- package/dist-esm/src/operations/standbyVirtualMachines.d.ts +0 -47
- package/dist-esm/src/operations/standbyVirtualMachines.d.ts.map +0 -1
- package/dist-esm/src/operations/standbyVirtualMachines.js +0 -188
- package/dist-esm/src/operations/standbyVirtualMachines.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -12
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js +0 -9
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/standbyContainerGroupPools.d.ts +0 -63
- package/dist-esm/src/operationsInterfaces/standbyContainerGroupPools.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/standbyContainerGroupPools.js +0 -9
- package/dist-esm/src/operationsInterfaces/standbyContainerGroupPools.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/standbyVirtualMachinePools.d.ts +0 -63
- package/dist-esm/src/operationsInterfaces/standbyVirtualMachinePools.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/standbyVirtualMachinePools.js +0 -9
- package/dist-esm/src/operationsInterfaces/standbyVirtualMachinePools.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/standbyVirtualMachines.d.ts +0 -21
- package/dist-esm/src/operationsInterfaces/standbyVirtualMachines.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/standbyVirtualMachines.js +0 -9
- package/dist-esm/src/operationsInterfaces/standbyVirtualMachines.js.map +0 -1
- package/dist-esm/src/pagingHelper.d.ts +0 -13
- package/dist-esm/src/pagingHelper.d.ts.map +0 -1
- package/dist-esm/src/pagingHelper.js +0 -32
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/src/standbyPoolManagementClient.d.ts +0 -23
- package/dist-esm/src/standbyPoolManagementClient.d.ts.map +0 -1
- package/dist-esm/src/standbyPoolManagementClient.js +0 -103
- package/dist-esm/src/standbyPoolManagementClient.js.map +0 -1
- package/dist-esm/test/standbypool_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/standbypool_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/standbypool_operations_test.spec.js +0 -74
- package/dist-esm/test/standbypool_operations_test.spec.js.map +0 -1
- package/src/index.ts +0 -13
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -695
- package/src/models/mappers.ts +0 -947
- package/src/models/parameters.ts +0 -167
- package/src/operations/index.ts +0 -12
- package/src/operations/operations.ts +0 -149
- package/src/operations/standbyContainerGroupPools.ts +0 -650
- package/src/operations/standbyVirtualMachinePools.ts +0 -650
- package/src/operations/standbyVirtualMachines.ts +0 -252
- package/src/operationsInterfaces/index.ts +0 -12
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/standbyContainerGroupPools.ts +0 -127
- package/src/operationsInterfaces/standbyVirtualMachinePools.ts +0 -127
- package/src/operationsInterfaces/standbyVirtualMachines.ts +0 -44
- package/src/pagingHelper.ts +0 -39
- package/src/standbyPoolManagementClient.ts +0 -157
- package/tsconfig.json +0 -33
- package/types/arm-standbypool.d.ts +0 -853
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { StandbyPoolManagementClient } from "@azure/arm-standbypool";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to List StandbyContainerGroupPoolResource resources by resource group
|
|
17
|
-
*
|
|
18
|
-
* @summary List StandbyContainerGroupPoolResource resources by resource group
|
|
19
|
-
* x-ms-original-file: specification/standbypool/resource-manager/Microsoft.StandbyPool/preview/2023-12-01-preview/examples/StandbyContainerGroupPools_ListByResourceGroup.json
|
|
20
|
-
*/
|
|
21
|
-
function standbyContainerGroupPoolsListByResourceGroup() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
var _a, e_1, _b, _c;
|
|
24
|
-
const subscriptionId = process.env["STANDBYPOOL_SUBSCRIPTION_ID"] ||
|
|
25
|
-
"8CC31D61-82D7-4B2B-B9DC-6B924DE7D229";
|
|
26
|
-
const resourceGroupName = process.env["STANDBYPOOL_RESOURCE_GROUP"] || "rgstandbypool";
|
|
27
|
-
const credential = new DefaultAzureCredential();
|
|
28
|
-
const client = new StandbyPoolManagementClient(credential, subscriptionId);
|
|
29
|
-
const resArray = new Array();
|
|
30
|
-
try {
|
|
31
|
-
for (var _d = true, _e = __asyncValues(client.standbyContainerGroupPools.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
32
|
-
_c = _f.value;
|
|
33
|
-
_d = false;
|
|
34
|
-
let item = _c;
|
|
35
|
-
resArray.push(item);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
39
|
-
finally {
|
|
40
|
-
try {
|
|
41
|
-
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
42
|
-
}
|
|
43
|
-
finally { if (e_1) throw e_1.error; }
|
|
44
|
-
}
|
|
45
|
-
console.log(resArray);
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
function main() {
|
|
49
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
50
|
-
standbyContainerGroupPoolsListByResourceGroup();
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
main().catch(console.error);
|
|
54
|
-
//# sourceMappingURL=standbyContainerGroupPoolsListByResourceGroupSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standbyContainerGroupPoolsListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/standbyContainerGroupPoolsListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,6CAA6C;;;QAC1D,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC;YAC1C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,eAAe,CAAC;QAC/D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,2BAA2B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC3E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,0BAA0B,CAAC,mBAAmB,CAC1E,iBAAiB,CAClB,CAAA,IAAA,sDAAE,CAAC;gBAFmB,cAEtB;gBAFsB,WAEtB;gBAFU,IAAI,IAAI,KAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,6CAA6C,EAAE,CAAC;IAClD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standbyContainerGroupPoolsListBySubscriptionSample.d.ts","sourceRoot":"","sources":["../../samples-dev/standbyContainerGroupPoolsListBySubscriptionSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { StandbyPoolManagementClient } from "@azure/arm-standbypool";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to List StandbyContainerGroupPoolResource resources by subscription ID
|
|
17
|
-
*
|
|
18
|
-
* @summary List StandbyContainerGroupPoolResource resources by subscription ID
|
|
19
|
-
* x-ms-original-file: specification/standbypool/resource-manager/Microsoft.StandbyPool/preview/2023-12-01-preview/examples/StandbyContainerGroupPools_ListBySubscription.json
|
|
20
|
-
*/
|
|
21
|
-
function standbyContainerGroupPoolsListBySubscription() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
var _a, e_1, _b, _c;
|
|
24
|
-
const subscriptionId = process.env["STANDBYPOOL_SUBSCRIPTION_ID"] ||
|
|
25
|
-
"8CC31D61-82D7-4B2B-B9DC-6B924DE7D229";
|
|
26
|
-
const credential = new DefaultAzureCredential();
|
|
27
|
-
const client = new StandbyPoolManagementClient(credential, subscriptionId);
|
|
28
|
-
const resArray = new Array();
|
|
29
|
-
try {
|
|
30
|
-
for (var _d = true, _e = __asyncValues(client.standbyContainerGroupPools.listBySubscription()), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
31
|
-
_c = _f.value;
|
|
32
|
-
_d = false;
|
|
33
|
-
let item = _c;
|
|
34
|
-
resArray.push(item);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
38
|
-
finally {
|
|
39
|
-
try {
|
|
40
|
-
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
41
|
-
}
|
|
42
|
-
finally { if (e_1) throw e_1.error; }
|
|
43
|
-
}
|
|
44
|
-
console.log(resArray);
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
function main() {
|
|
48
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
49
|
-
standbyContainerGroupPoolsListBySubscription();
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
main().catch(console.error);
|
|
53
|
-
//# sourceMappingURL=standbyContainerGroupPoolsListBySubscriptionSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standbyContainerGroupPoolsListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/standbyContainerGroupPoolsListBySubscriptionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,4CAA4C;;;QACzD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC;YAC1C,sCAAsC,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,2BAA2B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC3E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,0BAA0B,CAAC,kBAAkB,EAAE,CAAA,IAAA,sDAAE,CAAC;gBAAzD,cAAsD;gBAAtD,WAAsD;gBAAlE,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,4CAA4C,EAAE,CAAC;IACjD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standbyContainerGroupPoolsUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/standbyContainerGroupPoolsUpdateSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { StandbyPoolManagementClient, } from "@azure/arm-standbypool";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to Update a StandbyContainerGroupPoolResource
|
|
17
|
-
*
|
|
18
|
-
* @summary Update a StandbyContainerGroupPoolResource
|
|
19
|
-
* x-ms-original-file: specification/standbypool/resource-manager/Microsoft.StandbyPool/preview/2023-12-01-preview/examples/StandbyContainerGroupPools_Update.json
|
|
20
|
-
*/
|
|
21
|
-
function standbyContainerGroupPoolsUpdate() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["STANDBYPOOL_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"8CC31D61-82D7-4B2B-B9DC-6B924DE7D229";
|
|
25
|
-
const resourceGroupName = process.env["STANDBYPOOL_RESOURCE_GROUP"] || "rgstandbypool";
|
|
26
|
-
const standbyContainerGroupPoolName = "pool";
|
|
27
|
-
const properties = {
|
|
28
|
-
properties: {
|
|
29
|
-
containerGroupProperties: {
|
|
30
|
-
containerGroupProfile: {
|
|
31
|
-
id: "/subscriptions/8CC31D61-82D7-4B2B-B9DC-6B924DE7D229/resourceGroups/rgstandbypool/providers/Microsoft.ContainerInstance/containerGroupProfiles/cgProfile",
|
|
32
|
-
revision: 2,
|
|
33
|
-
},
|
|
34
|
-
subnetIds: [
|
|
35
|
-
{
|
|
36
|
-
id: "/subscriptions/8cf6c1b6-c80f-437c-87ad-45fbaff54f73/resourceGroups/rgstandbypool/providers/Microsoft.Network/virtualNetworks/cgSubnet/subnets/cgSubnet",
|
|
37
|
-
},
|
|
38
|
-
],
|
|
39
|
-
},
|
|
40
|
-
elasticityProfile: { maxReadyCapacity: 1743, refillPolicy: "always" },
|
|
41
|
-
},
|
|
42
|
-
tags: {},
|
|
43
|
-
};
|
|
44
|
-
const credential = new DefaultAzureCredential();
|
|
45
|
-
const client = new StandbyPoolManagementClient(credential, subscriptionId);
|
|
46
|
-
const result = yield client.standbyContainerGroupPools.update(resourceGroupName, standbyContainerGroupPoolName, properties);
|
|
47
|
-
console.log(result);
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
function main() {
|
|
51
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
52
|
-
standbyContainerGroupPoolsUpdate();
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
main().catch(console.error);
|
|
56
|
-
//# sourceMappingURL=standbyContainerGroupPoolsUpdateSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standbyContainerGroupPoolsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/standbyContainerGroupPoolsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gCAAgC;;QAC7C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC;YAC1C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,eAAe,CAAC;QAC/D,MAAM,6BAA6B,GAAG,MAAM,CAAC;QAC7C,MAAM,UAAU,GAA4C;YAC1D,UAAU,EAAE;gBACV,wBAAwB,EAAE;oBACxB,qBAAqB,EAAE;wBACrB,EAAE,EAAE,yJAAyJ;wBAC7J,QAAQ,EAAE,CAAC;qBACZ;oBACD,SAAS,EAAE;wBACT;4BACE,EAAE,EAAE,wJAAwJ;yBAC7J;qBACF;iBACF;gBACD,iBAAiB,EAAE,EAAE,gBAAgB,EAAE,IAAI,EAAE,YAAY,EAAE,QAAQ,EAAE;aACtE;YACD,IAAI,EAAE,EAAE;SACT,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,2BAA2B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC3E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,MAAM,CAC3D,iBAAiB,EACjB,6BAA6B,EAC7B,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gCAAgC,EAAE,CAAC;IACrC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standbyVirtualMachinePoolsCreateOrUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/standbyVirtualMachinePoolsCreateOrUpdateSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { StandbyPoolManagementClient, } from "@azure/arm-standbypool";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to Create a StandbyVirtualMachinePoolResource
|
|
17
|
-
*
|
|
18
|
-
* @summary Create a StandbyVirtualMachinePoolResource
|
|
19
|
-
* x-ms-original-file: specification/standbypool/resource-manager/Microsoft.StandbyPool/preview/2023-12-01-preview/examples/StandbyVirtualMachinePools_CreateOrUpdate.json
|
|
20
|
-
*/
|
|
21
|
-
function standbyVirtualMachinePoolsCreateOrUpdate() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["STANDBYPOOL_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"8CC31D61-82D7-4B2B-B9DC-6B924DE7D229";
|
|
25
|
-
const resourceGroupName = process.env["STANDBYPOOL_RESOURCE_GROUP"] || "rgstandbypool";
|
|
26
|
-
const standbyVirtualMachinePoolName = "pool";
|
|
27
|
-
const resource = {
|
|
28
|
-
location: "West US",
|
|
29
|
-
properties: {
|
|
30
|
-
attachedVirtualMachineScaleSetId: "/subscriptions/8CC31D61-82D7-4B2B-B9DC-6B924DE7D229/resourceGroups/rgstandbypool/providers/Microsoft.Compute/virtualMachineScaleSets/myVmss",
|
|
31
|
-
elasticityProfile: { maxReadyCapacity: 304 },
|
|
32
|
-
virtualMachineState: "Running",
|
|
33
|
-
},
|
|
34
|
-
tags: {},
|
|
35
|
-
};
|
|
36
|
-
const credential = new DefaultAzureCredential();
|
|
37
|
-
const client = new StandbyPoolManagementClient(credential, subscriptionId);
|
|
38
|
-
const result = yield client.standbyVirtualMachinePools.beginCreateOrUpdateAndWait(resourceGroupName, standbyVirtualMachinePoolName, resource);
|
|
39
|
-
console.log(result);
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
function main() {
|
|
43
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
44
|
-
standbyVirtualMachinePoolsCreateOrUpdate();
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
main().catch(console.error);
|
|
48
|
-
//# sourceMappingURL=standbyVirtualMachinePoolsCreateOrUpdateSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standbyVirtualMachinePoolsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/standbyVirtualMachinePoolsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,wCAAwC;;QACrD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC;YAC1C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,eAAe,CAAC;QAC/D,MAAM,6BAA6B,GAAG,MAAM,CAAC;QAC7C,MAAM,QAAQ,GAAsC;YAClD,QAAQ,EAAE,SAAS;YACnB,UAAU,EAAE;gBACV,gCAAgC,EAC9B,6IAA6I;gBAC/I,iBAAiB,EAAE,EAAE,gBAAgB,EAAE,GAAG,EAAE;gBAC5C,mBAAmB,EAAE,SAAS;aAC/B;YACD,IAAI,EAAE,EAAE;SACT,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,2BAA2B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC3E,MAAM,MAAM,GACV,MAAM,MAAM,CAAC,0BAA0B,CAAC,0BAA0B,CAChE,iBAAiB,EACjB,6BAA6B,EAC7B,QAAQ,CACT,CAAC;QACJ,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,wCAAwC,EAAE,CAAC;IAC7C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standbyVirtualMachinePoolsDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/standbyVirtualMachinePoolsDeleteSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { StandbyPoolManagementClient } from "@azure/arm-standbypool";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to Delete a StandbyVirtualMachinePoolResource
|
|
17
|
-
*
|
|
18
|
-
* @summary Delete a StandbyVirtualMachinePoolResource
|
|
19
|
-
* x-ms-original-file: specification/standbypool/resource-manager/Microsoft.StandbyPool/preview/2023-12-01-preview/examples/StandbyVirtualMachinePools_Delete.json
|
|
20
|
-
*/
|
|
21
|
-
function standbyVirtualMachinePoolsDelete() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["STANDBYPOOL_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"8CC31D61-82D7-4B2B-B9DC-6B924DE7D229";
|
|
25
|
-
const resourceGroupName = process.env["STANDBYPOOL_RESOURCE_GROUP"] || "rgstandbypool";
|
|
26
|
-
const standbyVirtualMachinePoolName = "pool";
|
|
27
|
-
const credential = new DefaultAzureCredential();
|
|
28
|
-
const client = new StandbyPoolManagementClient(credential, subscriptionId);
|
|
29
|
-
const result = yield client.standbyVirtualMachinePools.beginDeleteAndWait(resourceGroupName, standbyVirtualMachinePoolName);
|
|
30
|
-
console.log(result);
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
function main() {
|
|
34
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
-
standbyVirtualMachinePoolsDelete();
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
main().catch(console.error);
|
|
39
|
-
//# sourceMappingURL=standbyVirtualMachinePoolsDeleteSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standbyVirtualMachinePoolsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/standbyVirtualMachinePoolsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gCAAgC;;QAC7C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC;YAC1C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,eAAe,CAAC;QAC/D,MAAM,6BAA6B,GAAG,MAAM,CAAC;QAC7C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,2BAA2B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC3E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,kBAAkB,CACvE,iBAAiB,EACjB,6BAA6B,CAC9B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gCAAgC,EAAE,CAAC;IACrC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standbyVirtualMachinePoolsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/standbyVirtualMachinePoolsGetSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { StandbyPoolManagementClient } from "@azure/arm-standbypool";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to Get a StandbyVirtualMachinePoolResource
|
|
17
|
-
*
|
|
18
|
-
* @summary Get a StandbyVirtualMachinePoolResource
|
|
19
|
-
* x-ms-original-file: specification/standbypool/resource-manager/Microsoft.StandbyPool/preview/2023-12-01-preview/examples/StandbyVirtualMachinePools_Get.json
|
|
20
|
-
*/
|
|
21
|
-
function standbyVirtualMachinePoolsGet() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["STANDBYPOOL_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"8CC31D61-82D7-4B2B-B9DC-6B924DE7D229";
|
|
25
|
-
const resourceGroupName = process.env["STANDBYPOOL_RESOURCE_GROUP"] || "rgstandbypool";
|
|
26
|
-
const standbyVirtualMachinePoolName = "pool";
|
|
27
|
-
const credential = new DefaultAzureCredential();
|
|
28
|
-
const client = new StandbyPoolManagementClient(credential, subscriptionId);
|
|
29
|
-
const result = yield client.standbyVirtualMachinePools.get(resourceGroupName, standbyVirtualMachinePoolName);
|
|
30
|
-
console.log(result);
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
function main() {
|
|
34
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
-
standbyVirtualMachinePoolsGet();
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
main().catch(console.error);
|
|
39
|
-
//# sourceMappingURL=standbyVirtualMachinePoolsGetSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standbyVirtualMachinePoolsGetSample.js","sourceRoot":"","sources":["../../samples-dev/standbyVirtualMachinePoolsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,6BAA6B;;QAC1C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC;YAC1C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,eAAe,CAAC;QAC/D,MAAM,6BAA6B,GAAG,MAAM,CAAC;QAC7C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,2BAA2B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC3E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,GAAG,CACxD,iBAAiB,EACjB,6BAA6B,CAC9B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,6BAA6B,EAAE,CAAC;IAClC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standbyVirtualMachinePoolsListByResourceGroupSample.d.ts","sourceRoot":"","sources":["../../samples-dev/standbyVirtualMachinePoolsListByResourceGroupSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { StandbyPoolManagementClient } from "@azure/arm-standbypool";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to List StandbyVirtualMachinePoolResource resources by resource group
|
|
17
|
-
*
|
|
18
|
-
* @summary List StandbyVirtualMachinePoolResource resources by resource group
|
|
19
|
-
* x-ms-original-file: specification/standbypool/resource-manager/Microsoft.StandbyPool/preview/2023-12-01-preview/examples/StandbyVirtualMachinePools_ListByResourceGroup.json
|
|
20
|
-
*/
|
|
21
|
-
function standbyVirtualMachinePoolsListByResourceGroup() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
var _a, e_1, _b, _c;
|
|
24
|
-
const subscriptionId = process.env["STANDBYPOOL_SUBSCRIPTION_ID"] ||
|
|
25
|
-
"8CC31D61-82D7-4B2B-B9DC-6B924DE7D229";
|
|
26
|
-
const resourceGroupName = process.env["STANDBYPOOL_RESOURCE_GROUP"] || "rgstandbypool";
|
|
27
|
-
const credential = new DefaultAzureCredential();
|
|
28
|
-
const client = new StandbyPoolManagementClient(credential, subscriptionId);
|
|
29
|
-
const resArray = new Array();
|
|
30
|
-
try {
|
|
31
|
-
for (var _d = true, _e = __asyncValues(client.standbyVirtualMachinePools.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
32
|
-
_c = _f.value;
|
|
33
|
-
_d = false;
|
|
34
|
-
let item = _c;
|
|
35
|
-
resArray.push(item);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
39
|
-
finally {
|
|
40
|
-
try {
|
|
41
|
-
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
42
|
-
}
|
|
43
|
-
finally { if (e_1) throw e_1.error; }
|
|
44
|
-
}
|
|
45
|
-
console.log(resArray);
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
function main() {
|
|
49
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
50
|
-
standbyVirtualMachinePoolsListByResourceGroup();
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
main().catch(console.error);
|
|
54
|
-
//# sourceMappingURL=standbyVirtualMachinePoolsListByResourceGroupSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standbyVirtualMachinePoolsListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/standbyVirtualMachinePoolsListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,6CAA6C;;;QAC1D,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC;YAC1C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,eAAe,CAAC;QAC/D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,2BAA2B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC3E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,0BAA0B,CAAC,mBAAmB,CAC1E,iBAAiB,CAClB,CAAA,IAAA,sDAAE,CAAC;gBAFmB,cAEtB;gBAFsB,WAEtB;gBAFU,IAAI,IAAI,KAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,6CAA6C,EAAE,CAAC;IAClD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standbyVirtualMachinePoolsListBySubscriptionSample.d.ts","sourceRoot":"","sources":["../../samples-dev/standbyVirtualMachinePoolsListBySubscriptionSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { StandbyPoolManagementClient } from "@azure/arm-standbypool";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to List StandbyVirtualMachinePoolResource resources by subscription ID
|
|
17
|
-
*
|
|
18
|
-
* @summary List StandbyVirtualMachinePoolResource resources by subscription ID
|
|
19
|
-
* x-ms-original-file: specification/standbypool/resource-manager/Microsoft.StandbyPool/preview/2023-12-01-preview/examples/StandbyVirtualMachinePools_ListBySubscription.json
|
|
20
|
-
*/
|
|
21
|
-
function standbyVirtualMachinePoolsListBySubscription() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
var _a, e_1, _b, _c;
|
|
24
|
-
const subscriptionId = process.env["STANDBYPOOL_SUBSCRIPTION_ID"] ||
|
|
25
|
-
"8CC31D61-82D7-4B2B-B9DC-6B924DE7D229";
|
|
26
|
-
const credential = new DefaultAzureCredential();
|
|
27
|
-
const client = new StandbyPoolManagementClient(credential, subscriptionId);
|
|
28
|
-
const resArray = new Array();
|
|
29
|
-
try {
|
|
30
|
-
for (var _d = true, _e = __asyncValues(client.standbyVirtualMachinePools.listBySubscription()), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
31
|
-
_c = _f.value;
|
|
32
|
-
_d = false;
|
|
33
|
-
let item = _c;
|
|
34
|
-
resArray.push(item);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
38
|
-
finally {
|
|
39
|
-
try {
|
|
40
|
-
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
41
|
-
}
|
|
42
|
-
finally { if (e_1) throw e_1.error; }
|
|
43
|
-
}
|
|
44
|
-
console.log(resArray);
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
function main() {
|
|
48
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
49
|
-
standbyVirtualMachinePoolsListBySubscription();
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
main().catch(console.error);
|
|
53
|
-
//# sourceMappingURL=standbyVirtualMachinePoolsListBySubscriptionSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standbyVirtualMachinePoolsListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/standbyVirtualMachinePoolsListBySubscriptionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,4CAA4C;;;QACzD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC;YAC1C,sCAAsC,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,2BAA2B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC3E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,0BAA0B,CAAC,kBAAkB,EAAE,CAAA,IAAA,sDAAE,CAAC;gBAAzD,cAAsD;gBAAtD,WAAsD;gBAAlE,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,4CAA4C,EAAE,CAAC;IACjD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standbyVirtualMachinePoolsUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/standbyVirtualMachinePoolsUpdateSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { StandbyPoolManagementClient, } from "@azure/arm-standbypool";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to Update a StandbyVirtualMachinePoolResource
|
|
17
|
-
*
|
|
18
|
-
* @summary Update a StandbyVirtualMachinePoolResource
|
|
19
|
-
* x-ms-original-file: specification/standbypool/resource-manager/Microsoft.StandbyPool/preview/2023-12-01-preview/examples/StandbyVirtualMachinePools_Update.json
|
|
20
|
-
*/
|
|
21
|
-
function standbyVirtualMachinePoolsUpdate() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["STANDBYPOOL_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"8CC31D61-82D7-4B2B-B9DC-6B924DE7D229";
|
|
25
|
-
const resourceGroupName = process.env["STANDBYPOOL_RESOURCE_GROUP"] || "rgstandbypool";
|
|
26
|
-
const standbyVirtualMachinePoolName = "pool";
|
|
27
|
-
const properties = {
|
|
28
|
-
properties: {
|
|
29
|
-
attachedVirtualMachineScaleSetId: "/subscriptions/8CC31D61-82D7-4B2B-B9DC-6B924DE7D229/resourceGroups/rgstandbypool/providers/Microsoft.Compute/virtualMachineScaleSets/myVmss",
|
|
30
|
-
elasticityProfile: { maxReadyCapacity: 304 },
|
|
31
|
-
virtualMachineState: "Running",
|
|
32
|
-
},
|
|
33
|
-
tags: {},
|
|
34
|
-
};
|
|
35
|
-
const credential = new DefaultAzureCredential();
|
|
36
|
-
const client = new StandbyPoolManagementClient(credential, subscriptionId);
|
|
37
|
-
const result = yield client.standbyVirtualMachinePools.update(resourceGroupName, standbyVirtualMachinePoolName, properties);
|
|
38
|
-
console.log(result);
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
function main() {
|
|
42
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
43
|
-
standbyVirtualMachinePoolsUpdate();
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
main().catch(console.error);
|
|
47
|
-
//# sourceMappingURL=standbyVirtualMachinePoolsUpdateSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standbyVirtualMachinePoolsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/standbyVirtualMachinePoolsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gCAAgC;;QAC7C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC;YAC1C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,eAAe,CAAC;QAC/D,MAAM,6BAA6B,GAAG,MAAM,CAAC;QAC7C,MAAM,UAAU,GAA4C;YAC1D,UAAU,EAAE;gBACV,gCAAgC,EAC9B,6IAA6I;gBAC/I,iBAAiB,EAAE,EAAE,gBAAgB,EAAE,GAAG,EAAE;gBAC5C,mBAAmB,EAAE,SAAS;aAC/B;YACD,IAAI,EAAE,EAAE;SACT,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,2BAA2B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC3E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,MAAM,CAC3D,iBAAiB,EACjB,6BAA6B,EAC7B,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gCAAgC,EAAE,CAAC;IACrC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standbyVirtualMachinesGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/standbyVirtualMachinesGetSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { StandbyPoolManagementClient } from "@azure/arm-standbypool";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to Get a StandbyVirtualMachineResource
|
|
17
|
-
*
|
|
18
|
-
* @summary Get a StandbyVirtualMachineResource
|
|
19
|
-
* x-ms-original-file: specification/standbypool/resource-manager/Microsoft.StandbyPool/preview/2023-12-01-preview/examples/StandbyVirtualMachines_Get.json
|
|
20
|
-
*/
|
|
21
|
-
function standbyVirtualMachinesGet() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["STANDBYPOOL_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"8CC31D61-82D7-4B2B-B9DC-6B924DE7D229";
|
|
25
|
-
const resourceGroupName = process.env["STANDBYPOOL_RESOURCE_GROUP"] || "rgstandbypool";
|
|
26
|
-
const standbyVirtualMachinePoolName = "pool";
|
|
27
|
-
const standbyVirtualMachineName = "virtualMachine";
|
|
28
|
-
const credential = new DefaultAzureCredential();
|
|
29
|
-
const client = new StandbyPoolManagementClient(credential, subscriptionId);
|
|
30
|
-
const result = yield client.standbyVirtualMachines.get(resourceGroupName, standbyVirtualMachinePoolName, standbyVirtualMachineName);
|
|
31
|
-
console.log(result);
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
function main() {
|
|
35
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
-
standbyVirtualMachinesGet();
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
main().catch(console.error);
|
|
40
|
-
//# sourceMappingURL=standbyVirtualMachinesGetSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standbyVirtualMachinesGetSample.js","sourceRoot":"","sources":["../../samples-dev/standbyVirtualMachinesGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,yBAAyB;;QACtC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC;YAC1C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,eAAe,CAAC;QAC/D,MAAM,6BAA6B,GAAG,MAAM,CAAC;QAC7C,MAAM,yBAAyB,GAAG,gBAAgB,CAAC;QACnD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,2BAA2B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC3E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,GAAG,CACpD,iBAAiB,EACjB,6BAA6B,EAC7B,yBAAyB,CAC1B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,yBAAyB,EAAE,CAAC;IAC9B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standbyVirtualMachinesListByStandbyVirtualMachinePoolResourceSample.d.ts","sourceRoot":"","sources":["../../samples-dev/standbyVirtualMachinesListByStandbyVirtualMachinePoolResourceSample.ts"],"names":[],"mappings":""}
|