@azure/arm-standbypool 1.0.2-alpha.20250423.1 → 2.0.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/CHANGELOG.md +32 -7
- package/LICENSE +1 -1
- package/README.md +15 -8
- package/dist/browser/api/index.d.ts +1 -7
- package/dist/browser/api/index.d.ts.map +1 -1
- package/dist/browser/api/index.js +0 -6
- package/dist/browser/api/index.js.map +1 -1
- package/dist/browser/api/operations/index.d.ts +2 -9
- package/dist/browser/api/operations/index.d.ts.map +1 -1
- package/dist/browser/api/operations/index.js +1 -37
- package/dist/browser/api/operations/index.js.map +1 -1
- package/dist/browser/api/operations/operations.d.ts +10 -0
- package/dist/browser/api/operations/operations.d.ts.map +1 -0
- package/dist/browser/api/operations/operations.js +29 -0
- package/dist/browser/api/operations/operations.js.map +1 -0
- package/dist/browser/api/operations/options.d.ts +5 -0
- package/dist/browser/api/operations/options.d.ts.map +1 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/index.d.ts +2 -13
- package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
- package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/index.js +1 -110
- package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
- package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts +14 -0
- package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts.map +1 -0
- package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/operations.js +67 -0
- package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/operations.js.map +1 -0
- package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/options.d.ts +8 -0
- package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/options.d.ts.map +1 -0
- package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/options.js.map +1 -0
- package/dist/browser/api/standbyContainerGroupPools/index.d.ts +2 -30
- package/dist/browser/api/standbyContainerGroupPools/index.d.ts.map +1 -1
- package/dist/browser/api/standbyContainerGroupPools/index.js +1 -359
- package/dist/browser/api/standbyContainerGroupPools/index.js.map +1 -1
- package/dist/browser/api/standbyContainerGroupPools/operations.d.ts +36 -0
- package/dist/browser/api/standbyContainerGroupPools/operations.d.ts.map +1 -0
- package/dist/browser/api/standbyContainerGroupPools/operations.js +192 -0
- package/dist/browser/api/standbyContainerGroupPools/operations.js.map +1 -0
- package/dist/browser/api/standbyContainerGroupPools/options.d.ts +24 -0
- package/dist/browser/api/standbyContainerGroupPools/options.d.ts.map +1 -0
- package/dist/browser/api/standbyContainerGroupPools/options.js.map +1 -0
- package/dist/browser/api/standbyPoolManagementContext.d.ts +9 -3
- package/dist/browser/api/standbyPoolManagementContext.d.ts.map +1 -1
- package/dist/browser/api/standbyPoolManagementContext.js +7 -6
- package/dist/browser/api/standbyPoolManagementContext.js.map +1 -1
- package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts +2 -13
- package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
- package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/index.js +1 -112
- package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
- package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts +14 -0
- package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts.map +1 -0
- package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/operations.js +67 -0
- package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/operations.js.map +1 -0
- package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts +8 -0
- package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts.map +1 -0
- package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/options.js +4 -0
- package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/options.js.map +1 -0
- package/dist/browser/api/standbyVirtualMachinePools/index.d.ts +2 -30
- package/dist/browser/api/standbyVirtualMachinePools/index.d.ts.map +1 -1
- package/dist/browser/api/standbyVirtualMachinePools/index.js +1 -324
- package/dist/browser/api/standbyVirtualMachinePools/index.js.map +1 -1
- package/dist/browser/api/standbyVirtualMachinePools/operations.d.ts +36 -0
- package/dist/browser/api/standbyVirtualMachinePools/operations.d.ts.map +1 -0
- package/dist/browser/api/standbyVirtualMachinePools/operations.js +192 -0
- package/dist/browser/api/standbyVirtualMachinePools/operations.js.map +1 -0
- package/dist/browser/api/standbyVirtualMachinePools/options.d.ts +24 -0
- package/dist/browser/api/standbyVirtualMachinePools/options.d.ts.map +1 -0
- package/dist/browser/api/standbyVirtualMachinePools/options.js +4 -0
- package/dist/browser/api/standbyVirtualMachinePools/options.js.map +1 -0
- package/dist/browser/api/standbyVirtualMachines/index.d.ts +2 -13
- package/dist/browser/api/standbyVirtualMachines/index.d.ts.map +1 -1
- package/dist/browser/api/standbyVirtualMachines/index.js +1 -94
- package/dist/browser/api/standbyVirtualMachines/index.js.map +1 -1
- package/dist/browser/api/standbyVirtualMachines/operations.d.ts +14 -0
- package/dist/browser/api/standbyVirtualMachines/operations.d.ts.map +1 -0
- package/dist/browser/api/standbyVirtualMachines/operations.js +63 -0
- package/dist/browser/api/standbyVirtualMachines/operations.js.map +1 -0
- package/dist/browser/api/standbyVirtualMachines/options.d.ts +8 -0
- package/dist/browser/api/standbyVirtualMachines/options.d.ts.map +1 -0
- package/dist/browser/api/standbyVirtualMachines/options.js +4 -0
- package/dist/browser/api/standbyVirtualMachines/options.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +3 -6
- package/dist/browser/classic/operations/index.d.ts.map +1 -1
- package/dist/browser/classic/operations/index.js +5 -5
- package/dist/browser/classic/operations/index.js.map +1 -1
- package/dist/browser/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts +5 -9
- package/dist/browser/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
- package/dist/browser/classic/standbyContainerGroupPoolRuntimeViews/index.js +6 -6
- package/dist/browser/classic/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
- package/dist/browser/classic/standbyContainerGroupPools/index.d.ts +18 -21
- package/dist/browser/classic/standbyContainerGroupPools/index.d.ts.map +1 -1
- package/dist/browser/classic/standbyContainerGroupPools/index.js +10 -10
- package/dist/browser/classic/standbyContainerGroupPools/index.js.map +1 -1
- package/dist/browser/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts +5 -9
- package/dist/browser/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
- package/dist/browser/classic/standbyVirtualMachinePoolRuntimeViews/index.js +6 -6
- package/dist/browser/classic/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
- package/dist/browser/classic/standbyVirtualMachinePools/index.d.ts +18 -21
- package/dist/browser/classic/standbyVirtualMachinePools/index.d.ts.map +1 -1
- package/dist/browser/classic/standbyVirtualMachinePools/index.js +10 -10
- package/dist/browser/classic/standbyVirtualMachinePools/index.js.map +1 -1
- package/dist/browser/classic/standbyVirtualMachines/index.d.ts +5 -9
- package/dist/browser/classic/standbyVirtualMachines/index.d.ts.map +1 -1
- package/dist/browser/classic/standbyVirtualMachines/index.js +6 -6
- package/dist/browser/classic/standbyVirtualMachines/index.js.map +1 -1
- package/dist/browser/index.d.ts +9 -2
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +2 -2
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -2
- package/dist/browser/models/index.d.ts.map +1 -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 +447 -238
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +546 -91
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.js +11 -11
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/standbyPoolManagementClient.d.ts +19 -19
- package/dist/browser/standbyPoolManagementClient.d.ts.map +1 -1
- package/dist/browser/standbyPoolManagementClient.js +16 -14
- package/dist/browser/standbyPoolManagementClient.js.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.js +169 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/index.d.ts +1 -7
- package/dist/commonjs/api/index.d.ts.map +1 -1
- package/dist/commonjs/api/index.js +1 -26
- package/dist/commonjs/api/index.js.map +1 -1
- package/dist/commonjs/api/operations/index.d.ts +2 -9
- package/dist/commonjs/api/operations/index.d.ts.map +1 -1
- package/dist/commonjs/api/operations/index.js +3 -40
- package/dist/commonjs/api/operations/index.js.map +1 -1
- package/dist/commonjs/api/operations/operations.d.ts +10 -0
- package/dist/commonjs/api/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/api/operations/operations.js +34 -0
- package/dist/commonjs/api/operations/operations.js.map +1 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/api/operations/options.d.ts.map +1 -0
- package/dist/commonjs/api/operations/options.js.map +1 -0
- package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/index.d.ts +2 -13
- package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
- package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/index.js +4 -116
- package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
- package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts +14 -0
- package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts.map +1 -0
- package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/operations.js +75 -0
- package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/operations.js.map +1 -0
- package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/options.d.ts +8 -0
- package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/options.d.ts.map +1 -0
- package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/options.js +5 -0
- package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/options.js.map +1 -0
- package/dist/commonjs/api/standbyContainerGroupPools/index.d.ts +2 -30
- package/dist/commonjs/api/standbyContainerGroupPools/index.d.ts.map +1 -1
- package/dist/commonjs/api/standbyContainerGroupPools/index.js +8 -377
- package/dist/commonjs/api/standbyContainerGroupPools/index.js.map +1 -1
- package/dist/commonjs/api/standbyContainerGroupPools/operations.d.ts +36 -0
- package/dist/commonjs/api/standbyContainerGroupPools/operations.d.ts.map +1 -0
- package/dist/commonjs/api/standbyContainerGroupPools/operations.js +212 -0
- package/dist/commonjs/api/standbyContainerGroupPools/operations.js.map +1 -0
- package/dist/commonjs/api/standbyContainerGroupPools/options.d.ts +24 -0
- package/dist/commonjs/api/standbyContainerGroupPools/options.d.ts.map +1 -0
- package/dist/commonjs/api/standbyContainerGroupPools/options.js +5 -0
- package/dist/commonjs/api/standbyContainerGroupPools/options.js.map +1 -0
- package/dist/commonjs/api/standbyPoolManagementContext.d.ts +9 -3
- package/dist/commonjs/api/standbyPoolManagementContext.d.ts.map +1 -1
- package/dist/commonjs/api/standbyPoolManagementContext.js +7 -6
- package/dist/commonjs/api/standbyPoolManagementContext.js.map +1 -1
- package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts +2 -13
- package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
- package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/index.js +4 -118
- package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
- package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts +14 -0
- package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts.map +1 -0
- package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/operations.js +75 -0
- package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/operations.js.map +1 -0
- package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts +8 -0
- package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts.map +1 -0
- package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/options.js +5 -0
- package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/options.js.map +1 -0
- package/dist/commonjs/api/standbyVirtualMachinePools/index.d.ts +2 -30
- package/dist/commonjs/api/standbyVirtualMachinePools/index.d.ts.map +1 -1
- package/dist/commonjs/api/standbyVirtualMachinePools/index.js +8 -342
- package/dist/commonjs/api/standbyVirtualMachinePools/index.js.map +1 -1
- package/dist/commonjs/api/standbyVirtualMachinePools/operations.d.ts +36 -0
- package/dist/commonjs/api/standbyVirtualMachinePools/operations.d.ts.map +1 -0
- package/dist/commonjs/api/standbyVirtualMachinePools/operations.js +212 -0
- package/dist/commonjs/api/standbyVirtualMachinePools/operations.js.map +1 -0
- package/dist/commonjs/api/standbyVirtualMachinePools/options.d.ts +24 -0
- package/dist/commonjs/api/standbyVirtualMachinePools/options.d.ts.map +1 -0
- package/dist/commonjs/api/standbyVirtualMachinePools/options.js +5 -0
- package/dist/commonjs/api/standbyVirtualMachinePools/options.js.map +1 -0
- package/dist/commonjs/api/standbyVirtualMachines/index.d.ts +2 -13
- package/dist/commonjs/api/standbyVirtualMachines/index.d.ts.map +1 -1
- package/dist/commonjs/api/standbyVirtualMachines/index.js +4 -100
- package/dist/commonjs/api/standbyVirtualMachines/index.js.map +1 -1
- package/dist/commonjs/api/standbyVirtualMachines/operations.d.ts +14 -0
- package/dist/commonjs/api/standbyVirtualMachines/operations.d.ts.map +1 -0
- package/dist/commonjs/api/standbyVirtualMachines/operations.js +71 -0
- package/dist/commonjs/api/standbyVirtualMachines/operations.js.map +1 -0
- package/dist/commonjs/api/standbyVirtualMachines/options.d.ts +8 -0
- package/dist/commonjs/api/standbyVirtualMachines/options.d.ts.map +1 -0
- package/dist/commonjs/api/standbyVirtualMachines/options.js +5 -0
- package/dist/commonjs/api/standbyVirtualMachines/options.js.map +1 -0
- package/dist/commonjs/classic/operations/index.d.ts +3 -6
- package/dist/commonjs/classic/operations/index.d.ts.map +1 -1
- package/dist/commonjs/classic/operations/index.js +6 -7
- package/dist/commonjs/classic/operations/index.js.map +1 -1
- package/dist/commonjs/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts +5 -9
- package/dist/commonjs/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
- package/dist/commonjs/classic/standbyContainerGroupPoolRuntimeViews/index.js +7 -8
- package/dist/commonjs/classic/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
- package/dist/commonjs/classic/standbyContainerGroupPools/index.d.ts +18 -21
- package/dist/commonjs/classic/standbyContainerGroupPools/index.d.ts.map +1 -1
- package/dist/commonjs/classic/standbyContainerGroupPools/index.js +11 -12
- package/dist/commonjs/classic/standbyContainerGroupPools/index.js.map +1 -1
- package/dist/commonjs/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts +5 -9
- package/dist/commonjs/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
- package/dist/commonjs/classic/standbyVirtualMachinePoolRuntimeViews/index.js +7 -8
- package/dist/commonjs/classic/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
- package/dist/commonjs/classic/standbyVirtualMachinePools/index.d.ts +18 -21
- package/dist/commonjs/classic/standbyVirtualMachinePools/index.d.ts.map +1 -1
- package/dist/commonjs/classic/standbyVirtualMachinePools/index.js +11 -12
- package/dist/commonjs/classic/standbyVirtualMachinePools/index.js.map +1 -1
- package/dist/commonjs/classic/standbyVirtualMachines/index.d.ts +5 -9
- package/dist/commonjs/classic/standbyVirtualMachines/index.d.ts.map +1 -1
- package/dist/commonjs/classic/standbyVirtualMachines/index.js +7 -8
- package/dist/commonjs/classic/standbyVirtualMachines/index.js.map +1 -1
- package/dist/commonjs/index.d.ts +9 -2
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +9 -5
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1 -2
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +9 -5
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +447 -238
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +609 -98
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/commonjs/restorePollerHelpers.js +11 -11
- package/dist/commonjs/restorePollerHelpers.js.map +1 -1
- package/dist/commonjs/standbyPoolManagementClient.d.ts +19 -19
- package/dist/commonjs/standbyPoolManagementClient.d.ts.map +1 -1
- package/dist/commonjs/standbyPoolManagementClient.js +16 -14
- package/dist/commonjs/standbyPoolManagementClient.js.map +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js +2 -2
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js +2 -2
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +172 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
- package/dist/esm/api/index.d.ts +1 -7
- package/dist/esm/api/index.d.ts.map +1 -1
- package/dist/esm/api/index.js +0 -6
- package/dist/esm/api/index.js.map +1 -1
- package/dist/esm/api/operations/index.d.ts +2 -9
- package/dist/esm/api/operations/index.d.ts.map +1 -1
- package/dist/esm/api/operations/index.js +1 -37
- package/dist/esm/api/operations/index.js.map +1 -1
- package/dist/esm/api/operations/operations.d.ts +10 -0
- package/dist/esm/api/operations/operations.d.ts.map +1 -0
- package/dist/esm/api/operations/operations.js +29 -0
- package/dist/esm/api/operations/operations.js.map +1 -0
- package/dist/esm/api/operations/options.d.ts +5 -0
- package/dist/esm/api/operations/options.d.ts.map +1 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/index.d.ts +2 -13
- package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
- package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/index.js +1 -110
- package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
- package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts +14 -0
- package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts.map +1 -0
- package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/operations.js +67 -0
- package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/operations.js.map +1 -0
- package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/options.d.ts +8 -0
- package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/options.d.ts.map +1 -0
- package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/options.js +4 -0
- package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/options.js.map +1 -0
- package/dist/esm/api/standbyContainerGroupPools/index.d.ts +2 -30
- package/dist/esm/api/standbyContainerGroupPools/index.d.ts.map +1 -1
- package/dist/esm/api/standbyContainerGroupPools/index.js +1 -359
- package/dist/esm/api/standbyContainerGroupPools/index.js.map +1 -1
- package/dist/esm/api/standbyContainerGroupPools/operations.d.ts +36 -0
- package/dist/esm/api/standbyContainerGroupPools/operations.d.ts.map +1 -0
- package/dist/esm/api/standbyContainerGroupPools/operations.js +192 -0
- package/dist/esm/api/standbyContainerGroupPools/operations.js.map +1 -0
- package/dist/esm/api/standbyContainerGroupPools/options.d.ts +24 -0
- package/dist/esm/api/standbyContainerGroupPools/options.d.ts.map +1 -0
- package/dist/esm/api/standbyContainerGroupPools/options.js +4 -0
- package/dist/esm/api/standbyContainerGroupPools/options.js.map +1 -0
- package/dist/esm/api/standbyPoolManagementContext.d.ts +9 -3
- package/dist/esm/api/standbyPoolManagementContext.d.ts.map +1 -1
- package/dist/esm/api/standbyPoolManagementContext.js +7 -6
- package/dist/esm/api/standbyPoolManagementContext.js.map +1 -1
- package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts +2 -13
- package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
- package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/index.js +1 -112
- package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
- package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts +14 -0
- package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts.map +1 -0
- package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/operations.js +67 -0
- package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/operations.js.map +1 -0
- package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts +8 -0
- package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts.map +1 -0
- package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/options.js +4 -0
- package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/options.js.map +1 -0
- package/dist/esm/api/standbyVirtualMachinePools/index.d.ts +2 -30
- package/dist/esm/api/standbyVirtualMachinePools/index.d.ts.map +1 -1
- package/dist/esm/api/standbyVirtualMachinePools/index.js +1 -324
- package/dist/esm/api/standbyVirtualMachinePools/index.js.map +1 -1
- package/dist/esm/api/standbyVirtualMachinePools/operations.d.ts +36 -0
- package/dist/esm/api/standbyVirtualMachinePools/operations.d.ts.map +1 -0
- package/dist/esm/api/standbyVirtualMachinePools/operations.js +192 -0
- package/dist/esm/api/standbyVirtualMachinePools/operations.js.map +1 -0
- package/dist/esm/api/standbyVirtualMachinePools/options.d.ts +24 -0
- package/dist/esm/api/standbyVirtualMachinePools/options.d.ts.map +1 -0
- package/dist/esm/api/standbyVirtualMachinePools/options.js +4 -0
- package/dist/esm/api/standbyVirtualMachinePools/options.js.map +1 -0
- package/dist/esm/api/standbyVirtualMachines/index.d.ts +2 -13
- package/dist/esm/api/standbyVirtualMachines/index.d.ts.map +1 -1
- package/dist/esm/api/standbyVirtualMachines/index.js +1 -94
- package/dist/esm/api/standbyVirtualMachines/index.js.map +1 -1
- package/dist/esm/api/standbyVirtualMachines/operations.d.ts +14 -0
- package/dist/esm/api/standbyVirtualMachines/operations.d.ts.map +1 -0
- package/dist/esm/api/standbyVirtualMachines/operations.js +63 -0
- package/dist/esm/api/standbyVirtualMachines/operations.js.map +1 -0
- package/dist/esm/api/standbyVirtualMachines/options.d.ts +8 -0
- package/dist/esm/api/standbyVirtualMachines/options.d.ts.map +1 -0
- package/dist/esm/api/standbyVirtualMachines/options.js +4 -0
- package/dist/esm/api/standbyVirtualMachines/options.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +3 -6
- package/dist/esm/classic/operations/index.d.ts.map +1 -1
- package/dist/esm/classic/operations/index.js +5 -5
- package/dist/esm/classic/operations/index.js.map +1 -1
- package/dist/esm/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts +5 -9
- package/dist/esm/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
- package/dist/esm/classic/standbyContainerGroupPoolRuntimeViews/index.js +6 -6
- package/dist/esm/classic/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
- package/dist/esm/classic/standbyContainerGroupPools/index.d.ts +18 -21
- package/dist/esm/classic/standbyContainerGroupPools/index.d.ts.map +1 -1
- package/dist/esm/classic/standbyContainerGroupPools/index.js +10 -10
- package/dist/esm/classic/standbyContainerGroupPools/index.js.map +1 -1
- package/dist/esm/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts +5 -9
- package/dist/esm/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
- package/dist/esm/classic/standbyVirtualMachinePoolRuntimeViews/index.js +6 -6
- package/dist/esm/classic/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
- package/dist/esm/classic/standbyVirtualMachinePools/index.d.ts +18 -21
- package/dist/esm/classic/standbyVirtualMachinePools/index.d.ts.map +1 -1
- package/dist/esm/classic/standbyVirtualMachinePools/index.js +10 -10
- package/dist/esm/classic/standbyVirtualMachinePools/index.js.map +1 -1
- package/dist/esm/classic/standbyVirtualMachines/index.d.ts +5 -9
- package/dist/esm/classic/standbyVirtualMachines/index.d.ts.map +1 -1
- package/dist/esm/classic/standbyVirtualMachines/index.js +6 -6
- package/dist/esm/classic/standbyVirtualMachines/index.js.map +1 -1
- package/dist/esm/index.d.ts +9 -2
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -2
- package/dist/esm/models/index.d.ts.map +1 -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 +447 -238
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +546 -91
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/restorePollerHelpers.js +11 -11
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/dist/esm/standbyPoolManagementClient.d.ts +19 -19
- package/dist/esm/standbyPoolManagementClient.d.ts.map +1 -1
- package/dist/esm/standbyPoolManagementClient.js +16 -14
- package/dist/esm/standbyPoolManagementClient.js.map +1 -1
- package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/esm/static-helpers/pagingHelpers.js +1 -1
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.js +169 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/dist/react-native/api/index.d.ts +1 -7
- package/dist/react-native/api/index.d.ts.map +1 -1
- package/dist/react-native/api/index.js +0 -6
- package/dist/react-native/api/index.js.map +1 -1
- package/dist/react-native/api/operations/index.d.ts +2 -9
- package/dist/react-native/api/operations/index.d.ts.map +1 -1
- package/dist/react-native/api/operations/index.js +1 -37
- package/dist/react-native/api/operations/index.js.map +1 -1
- package/dist/react-native/api/operations/operations.d.ts +10 -0
- package/dist/react-native/api/operations/operations.d.ts.map +1 -0
- package/dist/react-native/api/operations/operations.js +29 -0
- package/dist/react-native/api/operations/operations.js.map +1 -0
- package/dist/react-native/api/operations/options.d.ts +5 -0
- package/dist/react-native/api/operations/options.d.ts.map +1 -0
- package/dist/react-native/api/operations/options.js +4 -0
- package/dist/react-native/api/operations/options.js.map +1 -0
- package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/index.d.ts +2 -13
- package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
- package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/index.js +1 -110
- package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
- package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts +14 -0
- package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts.map +1 -0
- package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/operations.js +67 -0
- package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/operations.js.map +1 -0
- package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/options.d.ts +8 -0
- package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/options.d.ts.map +1 -0
- package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/options.js +4 -0
- package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/options.js.map +1 -0
- package/dist/react-native/api/standbyContainerGroupPools/index.d.ts +2 -30
- package/dist/react-native/api/standbyContainerGroupPools/index.d.ts.map +1 -1
- package/dist/react-native/api/standbyContainerGroupPools/index.js +1 -359
- package/dist/react-native/api/standbyContainerGroupPools/index.js.map +1 -1
- package/dist/react-native/api/standbyContainerGroupPools/operations.d.ts +36 -0
- package/dist/react-native/api/standbyContainerGroupPools/operations.d.ts.map +1 -0
- package/dist/react-native/api/standbyContainerGroupPools/operations.js +192 -0
- package/dist/react-native/api/standbyContainerGroupPools/operations.js.map +1 -0
- package/dist/react-native/api/standbyContainerGroupPools/options.d.ts +24 -0
- package/dist/react-native/api/standbyContainerGroupPools/options.d.ts.map +1 -0
- package/dist/react-native/api/standbyContainerGroupPools/options.js +4 -0
- package/dist/react-native/api/standbyContainerGroupPools/options.js.map +1 -0
- package/dist/react-native/api/standbyPoolManagementContext.d.ts +9 -3
- package/dist/react-native/api/standbyPoolManagementContext.d.ts.map +1 -1
- package/dist/react-native/api/standbyPoolManagementContext.js +7 -6
- package/dist/react-native/api/standbyPoolManagementContext.js.map +1 -1
- package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts +2 -13
- package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
- package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/index.js +1 -112
- package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
- package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts +14 -0
- package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts.map +1 -0
- package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/operations.js +67 -0
- package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/operations.js.map +1 -0
- package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts +8 -0
- package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts.map +1 -0
- package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/options.js +4 -0
- package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/options.js.map +1 -0
- package/dist/react-native/api/standbyVirtualMachinePools/index.d.ts +2 -30
- package/dist/react-native/api/standbyVirtualMachinePools/index.d.ts.map +1 -1
- package/dist/react-native/api/standbyVirtualMachinePools/index.js +1 -324
- package/dist/react-native/api/standbyVirtualMachinePools/index.js.map +1 -1
- package/dist/react-native/api/standbyVirtualMachinePools/operations.d.ts +36 -0
- package/dist/react-native/api/standbyVirtualMachinePools/operations.d.ts.map +1 -0
- package/dist/react-native/api/standbyVirtualMachinePools/operations.js +192 -0
- package/dist/react-native/api/standbyVirtualMachinePools/operations.js.map +1 -0
- package/dist/react-native/api/standbyVirtualMachinePools/options.d.ts +24 -0
- package/dist/react-native/api/standbyVirtualMachinePools/options.d.ts.map +1 -0
- package/dist/react-native/api/standbyVirtualMachinePools/options.js +4 -0
- package/dist/react-native/api/standbyVirtualMachinePools/options.js.map +1 -0
- package/dist/react-native/api/standbyVirtualMachines/index.d.ts +2 -13
- package/dist/react-native/api/standbyVirtualMachines/index.d.ts.map +1 -1
- package/dist/react-native/api/standbyVirtualMachines/index.js +1 -94
- package/dist/react-native/api/standbyVirtualMachines/index.js.map +1 -1
- package/dist/react-native/api/standbyVirtualMachines/operations.d.ts +14 -0
- package/dist/react-native/api/standbyVirtualMachines/operations.d.ts.map +1 -0
- package/dist/react-native/api/standbyVirtualMachines/operations.js +63 -0
- package/dist/react-native/api/standbyVirtualMachines/operations.js.map +1 -0
- package/dist/react-native/api/standbyVirtualMachines/options.d.ts +8 -0
- package/dist/react-native/api/standbyVirtualMachines/options.d.ts.map +1 -0
- package/dist/react-native/api/standbyVirtualMachines/options.js +4 -0
- package/dist/react-native/api/standbyVirtualMachines/options.js.map +1 -0
- package/dist/react-native/classic/operations/index.d.ts +3 -6
- package/dist/react-native/classic/operations/index.d.ts.map +1 -1
- package/dist/react-native/classic/operations/index.js +5 -5
- package/dist/react-native/classic/operations/index.js.map +1 -1
- package/dist/react-native/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts +5 -9
- package/dist/react-native/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
- package/dist/react-native/classic/standbyContainerGroupPoolRuntimeViews/index.js +6 -6
- package/dist/react-native/classic/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
- package/dist/react-native/classic/standbyContainerGroupPools/index.d.ts +18 -21
- package/dist/react-native/classic/standbyContainerGroupPools/index.d.ts.map +1 -1
- package/dist/react-native/classic/standbyContainerGroupPools/index.js +10 -10
- package/dist/react-native/classic/standbyContainerGroupPools/index.js.map +1 -1
- package/dist/react-native/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts +5 -9
- package/dist/react-native/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
- package/dist/react-native/classic/standbyVirtualMachinePoolRuntimeViews/index.js +6 -6
- package/dist/react-native/classic/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
- package/dist/react-native/classic/standbyVirtualMachinePools/index.d.ts +18 -21
- package/dist/react-native/classic/standbyVirtualMachinePools/index.d.ts.map +1 -1
- package/dist/react-native/classic/standbyVirtualMachinePools/index.js +10 -10
- package/dist/react-native/classic/standbyVirtualMachinePools/index.js.map +1 -1
- package/dist/react-native/classic/standbyVirtualMachines/index.d.ts +5 -9
- package/dist/react-native/classic/standbyVirtualMachines/index.d.ts.map +1 -1
- package/dist/react-native/classic/standbyVirtualMachines/index.js +6 -6
- package/dist/react-native/classic/standbyVirtualMachines/index.js.map +1 -1
- package/dist/react-native/index.d.ts +9 -2
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +2 -2
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1 -2
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +447 -238
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +546 -91
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/restorePollerHelpers.js +11 -11
- package/dist/react-native/restorePollerHelpers.js.map +1 -1
- package/dist/react-native/standbyPoolManagementClient.d.ts +19 -19
- package/dist/react-native/standbyPoolManagementClient.d.ts.map +1 -1
- package/dist/react-native/standbyPoolManagementClient.js +16 -14
- package/dist/react-native/standbyPoolManagementClient.js.map +1 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/react-native/static-helpers/pagingHelpers.js +1 -1
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/react-native/static-helpers/urlTemplate.d.ts.map +1 -0
- package/dist/react-native/static-helpers/urlTemplate.js +169 -0
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +149 -16
- package/review/arm-standbypool-api-operations.api.md +19 -0
- package/review/arm-standbypool-api-standbyContainerGroupPoolRuntimeViews.api.md +26 -0
- package/review/arm-standbypool-api-standbyContainerGroupPools.api.md +58 -0
- package/review/arm-standbypool-api-standbyVirtualMachinePoolRuntimeViews.api.md +26 -0
- package/review/arm-standbypool-api-standbyVirtualMachinePools.api.md +58 -0
- package/review/arm-standbypool-api-standbyVirtualMachines.api.md +26 -0
- package/review/arm-standbypool-api.api.md +27 -0
- package/review/arm-standbypool-models.api.md +105 -83
- package/review/arm-standbypool.api.md +110 -6
- package/dist/browser/helpers/serializerHelpers.d.ts +0 -3
- package/dist/browser/helpers/serializerHelpers.d.ts.map +0 -1
- package/dist/browser/helpers/serializerHelpers.js +0 -24
- package/dist/browser/helpers/serializerHelpers.js.map +0 -1
- package/dist/browser/models/options.d.ts +0 -67
- package/dist/browser/models/options.d.ts.map +0 -1
- package/dist/browser/models/options.js.map +0 -1
- package/dist/commonjs/helpers/serializerHelpers.d.ts +0 -3
- package/dist/commonjs/helpers/serializerHelpers.d.ts.map +0 -1
- package/dist/commonjs/helpers/serializerHelpers.js +0 -27
- package/dist/commonjs/helpers/serializerHelpers.js.map +0 -1
- package/dist/commonjs/models/options.d.ts +0 -67
- package/dist/commonjs/models/options.d.ts.map +0 -1
- package/dist/commonjs/models/options.js.map +0 -1
- package/dist/esm/helpers/serializerHelpers.d.ts +0 -3
- package/dist/esm/helpers/serializerHelpers.d.ts.map +0 -1
- package/dist/esm/helpers/serializerHelpers.js +0 -24
- package/dist/esm/helpers/serializerHelpers.js.map +0 -1
- package/dist/esm/models/options.d.ts +0 -67
- package/dist/esm/models/options.d.ts.map +0 -1
- package/dist/esm/models/options.js.map +0 -1
- package/dist/react-native/helpers/serializerHelpers.d.ts +0 -3
- package/dist/react-native/helpers/serializerHelpers.d.ts.map +0 -1
- package/dist/react-native/helpers/serializerHelpers.js +0 -24
- package/dist/react-native/helpers/serializerHelpers.js.map +0 -1
- package/dist/react-native/models/options.d.ts +0 -67
- package/dist/react-native/models/options.d.ts.map +0 -1
- package/dist/react-native/models/options.js.map +0 -1
- /package/dist/browser/{models → api/operations}/options.js +0 -0
- /package/dist/{esm/models → browser/api/standbyContainerGroupPoolRuntimeViews}/options.js +0 -0
- /package/dist/{react-native/models → browser/api/standbyContainerGroupPools}/options.js +0 -0
- /package/dist/commonjs/{models → api/operations}/options.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,40 @@
|
|
|
1
1
|
# Release History
|
|
2
|
-
|
|
3
|
-
##
|
|
4
|
-
|
|
2
|
+
|
|
3
|
+
## 2.0.0 (2025-04-16)
|
|
4
|
+
|
|
5
5
|
### Features Added
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
- Added Interface ErrorAdditionalInfo
|
|
8
|
+
- Added Interface ErrorDetail
|
|
9
|
+
- Added Interface ErrorResponse
|
|
10
|
+
- Added Interface PoolContainerGroupStateCount
|
|
11
|
+
- Added Interface PoolStatus
|
|
12
|
+
- Added Interface PoolVirtualMachineStateCount
|
|
13
|
+
- Added Interface StandbyContainerGroupPoolForecastValues
|
|
14
|
+
- Added Interface StandbyContainerGroupPoolPrediction
|
|
15
|
+
- Added Interface StandbyVirtualMachinePoolForecastValues
|
|
16
|
+
- Added Interface StandbyVirtualMachinePoolPrediction
|
|
17
|
+
- Added Type Alias HealthStateCode
|
|
18
|
+
- Added Type Alias PoolContainerGroupState
|
|
19
|
+
- Added Type Alias PoolVirtualMachineState
|
|
20
|
+
- Interface ContainerGroupInstanceCountSummary has a new optional parameter zone
|
|
21
|
+
- Interface StandbyContainerGroupPoolResourceProperties has a new optional parameter zones
|
|
22
|
+
- Interface StandbyContainerGroupPoolResourceUpdateProperties has a new optional parameter zones
|
|
23
|
+
- Interface StandbyContainerGroupPoolRuntimeViewResourceProperties has a new optional parameter prediction
|
|
24
|
+
- Interface StandbyContainerGroupPoolRuntimeViewResourceProperties has a new optional parameter status
|
|
25
|
+
- Interface StandbyVirtualMachinePoolRuntimeViewResourceProperties has a new optional parameter prediction
|
|
26
|
+
- Interface StandbyVirtualMachinePoolRuntimeViewResourceProperties has a new optional parameter status
|
|
27
|
+
- Added Enum KnownHealthStateCode
|
|
28
|
+
- Added Enum KnownPoolContainerGroupState
|
|
29
|
+
- Added Enum KnownPoolVirtualMachineState
|
|
30
|
+
- Added Enum KnownVersions
|
|
31
|
+
- Enum KnownVirtualMachineState has a new value Hibernated
|
|
8
32
|
|
|
9
|
-
###
|
|
10
|
-
|
|
11
|
-
### Other Changes
|
|
33
|
+
### Breaking Changes
|
|
12
34
|
|
|
35
|
+
- Type of parameter instanceCountsByState of interface ContainerGroupInstanceCountSummary is changed from PoolResourceStateCount[] to PoolContainerGroupStateCount[]
|
|
36
|
+
- Type of parameter instanceCountsByState of interface VirtualMachineInstanceCountSummary is changed from PoolResourceStateCount[] to PoolVirtualMachineStateCount[]
|
|
37
|
+
|
|
13
38
|
## 1.0.1 (2024-11-04)
|
|
14
39
|
|
|
15
40
|
### Bugs Fixed
|
package/LICENSE
CHANGED
|
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -2,10 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure StandbyPoolManagement client.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Key links:
|
|
8
|
+
|
|
9
|
+
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/standbypool/arm-standbypool)
|
|
10
|
+
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-standbypool)
|
|
11
|
+
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-standbypool?view=azure-node-preview)
|
|
12
|
+
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/standbypool/arm-standbypool/samples)
|
|
9
13
|
|
|
10
14
|
## Getting started
|
|
11
15
|
|
|
@@ -42,7 +46,6 @@ npm install @azure/identity
|
|
|
42
46
|
```
|
|
43
47
|
|
|
44
48
|
You will also need to **register a new AAD application and grant access to Azure StandbyPool** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
|
|
45
|
-
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
|
|
46
49
|
|
|
47
50
|
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
|
|
48
51
|
|
|
@@ -65,13 +68,13 @@ import { StandbyPoolManagementClient } from "@azure/arm-standbypool";
|
|
|
65
68
|
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
66
69
|
const credential = new InteractiveBrowserCredential({
|
|
67
70
|
tenantId: "<YOUR_TENANT_ID>",
|
|
68
|
-
clientId: "<YOUR_CLIENT_ID>"
|
|
69
|
-
});
|
|
71
|
+
clientId: "<YOUR_CLIENT_ID>"
|
|
72
|
+
});
|
|
70
73
|
const client = new StandbyPoolManagementClient(credential, subscriptionId);
|
|
71
74
|
```
|
|
72
75
|
|
|
73
|
-
### JavaScript Bundle
|
|
74
76
|
|
|
77
|
+
### JavaScript Bundle
|
|
75
78
|
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
|
|
76
79
|
|
|
77
80
|
## Key concepts
|
|
@@ -94,6 +97,10 @@ setLogLevel("info");
|
|
|
94
97
|
|
|
95
98
|
For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger).
|
|
96
99
|
|
|
100
|
+
## Next steps
|
|
101
|
+
|
|
102
|
+
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/standbypool/arm-standbypool/samples) directory for detailed examples on how to use this library.
|
|
103
|
+
|
|
97
104
|
## Contributing
|
|
98
105
|
|
|
99
106
|
If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code.
|
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
export { createStandbyPoolManagement,
|
|
2
|
-
export { operationsList } from "./operations/index.js";
|
|
3
|
-
export { standbyContainerGroupPoolRuntimeViewsGet, standbyContainerGroupPoolRuntimeViewsListByStandbyPool, } from "./standbyContainerGroupPoolRuntimeViews/index.js";
|
|
4
|
-
export { standbyContainerGroupPoolsGet, standbyContainerGroupPoolsCreateOrUpdate, standbyContainerGroupPoolsDelete, standbyContainerGroupPoolsUpdate, standbyContainerGroupPoolsListByResourceGroup, standbyContainerGroupPoolsListBySubscription, } from "./standbyContainerGroupPools/index.js";
|
|
5
|
-
export { standbyVirtualMachinePoolRuntimeViewsGet, standbyVirtualMachinePoolRuntimeViewsListByStandbyPool, } from "./standbyVirtualMachinePoolRuntimeViews/index.js";
|
|
6
|
-
export { standbyVirtualMachinePoolsGet, standbyVirtualMachinePoolsCreateOrUpdate, standbyVirtualMachinePoolsDelete, standbyVirtualMachinePoolsUpdate, standbyVirtualMachinePoolsListByResourceGroup, standbyVirtualMachinePoolsListBySubscription, } from "./standbyVirtualMachinePools/index.js";
|
|
7
|
-
export { standbyVirtualMachinesGet, standbyVirtualMachinesListByStandbyVirtualMachinePoolResource, } from "./standbyVirtualMachines/index.js";
|
|
1
|
+
export { createStandbyPoolManagement, StandbyPoolManagementContext, StandbyPoolManagementClientOptionalParams, } from "./standbyPoolManagementContext.js";
|
|
8
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,2BAA2B,EAC3B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,2BAA2B,EAC3B,4BAA4B,EAC5B,yCAAyC,GAC1C,MAAM,mCAAmC,CAAC"}
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
3
|
export { createStandbyPoolManagement, } from "./standbyPoolManagementContext.js";
|
|
4
|
-
export { operationsList } from "./operations/index.js";
|
|
5
|
-
export { standbyContainerGroupPoolRuntimeViewsGet, standbyContainerGroupPoolRuntimeViewsListByStandbyPool, } from "./standbyContainerGroupPoolRuntimeViews/index.js";
|
|
6
|
-
export { standbyContainerGroupPoolsGet, standbyContainerGroupPoolsCreateOrUpdate, standbyContainerGroupPoolsDelete, standbyContainerGroupPoolsUpdate, standbyContainerGroupPoolsListByResourceGroup, standbyContainerGroupPoolsListBySubscription, } from "./standbyContainerGroupPools/index.js";
|
|
7
|
-
export { standbyVirtualMachinePoolRuntimeViewsGet, standbyVirtualMachinePoolRuntimeViewsListByStandbyPool, } from "./standbyVirtualMachinePoolRuntimeViews/index.js";
|
|
8
|
-
export { standbyVirtualMachinePoolsGet, standbyVirtualMachinePoolsCreateOrUpdate, standbyVirtualMachinePoolsDelete, standbyVirtualMachinePoolsUpdate, standbyVirtualMachinePoolsListByResourceGroup, standbyVirtualMachinePoolsListBySubscription, } from "./standbyVirtualMachinePools/index.js";
|
|
9
|
-
export { standbyVirtualMachinesGet, standbyVirtualMachinesListByStandbyVirtualMachinePoolResource, } from "./standbyVirtualMachines/index.js";
|
|
10
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,2BAA2B,GAG5B,MAAM,mCAAmC,CAAC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,2BAA2B,GAG5B,MAAM,mCAAmC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n createStandbyPoolManagement,\n StandbyPoolManagementContext,\n StandbyPoolManagementClientOptionalParams,\n} from \"./standbyPoolManagementContext.js\";\n"]}
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
4
|
-
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
-
import { OperationsListOptionalParams } from "../../models/options.js";
|
|
6
|
-
export declare function _operationsListSend(context: Client, options?: OperationsListOptionalParams): StreamableMethod;
|
|
7
|
-
export declare function _operationsListDeserialize(result: PathUncheckedResponse): Promise<_OperationListResult>;
|
|
8
|
-
/** List the operations for the provider */
|
|
9
|
-
export declare function operationsList(context: Client, options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
1
|
+
export { list } from "./operations.js";
|
|
2
|
+
export { OperationsListOptionalParams } from "./options.js";
|
|
10
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1,40 +1,4 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
-
export function _operationsListSend(context, options = { requestOptions: {} }) {
|
|
6
|
-
return context
|
|
7
|
-
.path("/providers/Microsoft.StandbyPool/operations")
|
|
8
|
-
.get(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
9
|
-
}
|
|
10
|
-
export async function _operationsListDeserialize(result) {
|
|
11
|
-
const expectedStatuses = ["200"];
|
|
12
|
-
if (!expectedStatuses.includes(result.status)) {
|
|
13
|
-
throw createRestError(result);
|
|
14
|
-
}
|
|
15
|
-
return {
|
|
16
|
-
value: result.body["value"].map((p) => {
|
|
17
|
-
var _a, _b, _c, _d;
|
|
18
|
-
return {
|
|
19
|
-
name: p["name"],
|
|
20
|
-
isDataAction: p["isDataAction"],
|
|
21
|
-
display: !p.display
|
|
22
|
-
? undefined
|
|
23
|
-
: {
|
|
24
|
-
provider: (_a = p.display) === null || _a === void 0 ? void 0 : _a["provider"],
|
|
25
|
-
resource: (_b = p.display) === null || _b === void 0 ? void 0 : _b["resource"],
|
|
26
|
-
operation: (_c = p.display) === null || _c === void 0 ? void 0 : _c["operation"],
|
|
27
|
-
description: (_d = p.display) === null || _d === void 0 ? void 0 : _d["description"],
|
|
28
|
-
},
|
|
29
|
-
origin: p["origin"],
|
|
30
|
-
actionType: p["actionType"],
|
|
31
|
-
};
|
|
32
|
-
}),
|
|
33
|
-
nextLink: result.body["nextLink"],
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
/** List the operations for the provider */
|
|
37
|
-
export function operationsList(context, options = { requestOptions: {} }) {
|
|
38
|
-
return buildPagedAsyncIterator(context, () => _operationsListSend(context, options), _operationsListDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
39
|
-
}
|
|
3
|
+
export { list } from "./operations.js";
|
|
40
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { list } from \"./operations.js\";\nexport { OperationsListOptionalParams } from \"./options.js\";\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { StandbyPoolManagementContext as Client } from "../index.js";
|
|
2
|
+
import { _OperationListResult, Operation } from "../../models/models.js";
|
|
3
|
+
import { OperationsListOptionalParams } from "./options.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
export declare function _listSend(context: Client, options?: OperationsListOptionalParams): StreamableMethod;
|
|
7
|
+
export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_OperationListResult>;
|
|
8
|
+
/** List the operations for the provider */
|
|
9
|
+
export declare function list(context: Client, options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
10
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../src/api/operations/operations.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,4BAA4B,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EACL,oBAAoB,EAEpB,SAAS,EAEV,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,yBAAyB,CAAC;AAEjC,wBAAgB,SAAS,CACvB,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,4BAAqD,GAC7D,gBAAgB,CAiBlB;AAED,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,oBAAoB,CAAC,CAS/B;AAED,2CAA2C;AAC3C,wBAAgB,IAAI,CAClB,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,4BAAqD,GAC7D,0BAA0B,CAAC,SAAS,CAAC,CAQvC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { _operationListResultDeserializer, errorResponseDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
6
|
+
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
7
|
+
export function _listSend(context, options = { requestOptions: {} }) {
|
|
8
|
+
var _a, _b;
|
|
9
|
+
const path = expandUrlTemplate("/providers/Microsoft.StandbyPool/operations{?api%2Dversion}", {
|
|
10
|
+
"api%2Dversion": context.apiVersion,
|
|
11
|
+
}, {
|
|
12
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
13
|
+
});
|
|
14
|
+
return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
|
|
15
|
+
}
|
|
16
|
+
export async function _listDeserialize(result) {
|
|
17
|
+
const expectedStatuses = ["200"];
|
|
18
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
19
|
+
const error = createRestError(result);
|
|
20
|
+
error.details = errorResponseDeserializer(result.body);
|
|
21
|
+
throw error;
|
|
22
|
+
}
|
|
23
|
+
return _operationListResultDeserializer(result.body);
|
|
24
|
+
}
|
|
25
|
+
/** List the operations for the provider */
|
|
26
|
+
export function list(context, options = { requestOptions: {} }) {
|
|
27
|
+
return buildPagedAsyncIterator(context, () => _listSend(context, options), _listDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/operations/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAEL,gCAAgC,EAEhC,yBAAyB,GAC1B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,SAAS,CACvB,OAAe,EACf,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;;IAE9D,MAAM,IAAI,GAAG,iBAAiB,CAC5B,6DAA6D,EAC7D;QACE,eAAe,EAAE,OAAO,CAAC,UAAU;KACpC,EACD;QACE,aAAa,EAAE,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,0CAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,iCACxB,mCAAmC,CAAC,OAAO,CAAC,KAC/C,OAAO,kBACL,MAAM,EAAE,kBAAkB,IACvB,MAAA,OAAO,CAAC,cAAc,0CAAE,OAAO,KAEpC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,gBAAgB,CACpC,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,gCAAgC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACvD,CAAC;AAED,2CAA2C;AAC3C,MAAM,UAAU,IAAI,CAClB,OAAe,EACf,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9D,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,EACjC,gBAAgB,EAChB,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { StandbyPoolManagementContext as Client } from \"../index.js\";\nimport {\n _OperationListResult,\n _operationListResultDeserializer,\n Operation,\n errorResponseDeserializer,\n} from \"../../models/models.js\";\nimport { OperationsListOptionalParams } from \"./options.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _listSend(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.StandbyPool/operations{?api%2Dversion}\",\n {\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listDeserialize(\n result: PathUncheckedResponse,\n): Promise<_OperationListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _operationListResultDeserializer(result.body);\n}\n\n/** List the operations for the provider */\nexport function list(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Operation> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, options),\n _listDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/api/operations/options.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,2BAA2B;AAC3B,MAAM,WAAW,4BAA6B,SAAQ,gBAAgB;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/operations/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams extends OperationOptions {}\n"]}
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
4
|
-
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
-
import { StandbyContainerGroupPoolRuntimeViewsGetOptionalParams, StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams } from "../../models/options.js";
|
|
6
|
-
export declare function _standbyContainerGroupPoolRuntimeViewsGetSend(context: Client, subscriptionId: string, resourceGroupName: string, standbyContainerGroupPoolName: string, runtimeView: string, options?: StandbyContainerGroupPoolRuntimeViewsGetOptionalParams): StreamableMethod;
|
|
7
|
-
export declare function _standbyContainerGroupPoolRuntimeViewsGetDeserialize(result: PathUncheckedResponse): Promise<StandbyContainerGroupPoolRuntimeViewResource>;
|
|
8
|
-
/** Get a StandbyContainerGroupPoolRuntimeViewResource */
|
|
9
|
-
export declare function standbyContainerGroupPoolRuntimeViewsGet(context: Client, subscriptionId: string, resourceGroupName: string, standbyContainerGroupPoolName: string, runtimeView: string, options?: StandbyContainerGroupPoolRuntimeViewsGetOptionalParams): Promise<StandbyContainerGroupPoolRuntimeViewResource>;
|
|
10
|
-
export declare function _standbyContainerGroupPoolRuntimeViewsListByStandbyPoolSend(context: Client, subscriptionId: string, resourceGroupName: string, standbyContainerGroupPoolName: string, options?: StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams): StreamableMethod;
|
|
11
|
-
export declare function _standbyContainerGroupPoolRuntimeViewsListByStandbyPoolDeserialize(result: PathUncheckedResponse): Promise<_StandbyContainerGroupPoolRuntimeViewResourceListResult>;
|
|
12
|
-
/** List StandbyContainerGroupPoolRuntimeViewResource resources by StandbyContainerGroupPoolResource */
|
|
13
|
-
export declare function standbyContainerGroupPoolRuntimeViewsListByStandbyPool(context: Client, subscriptionId: string, resourceGroupName: string, standbyContainerGroupPoolName: string, options?: StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams): PagedAsyncIterableIterator<StandbyContainerGroupPoolRuntimeViewResource>;
|
|
1
|
+
export { listByStandbyPool, get } from "./operations.js";
|
|
2
|
+
export { StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams, StandbyContainerGroupPoolRuntimeViewsGetOptionalParams, } from "./options.js";
|
|
14
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPoolRuntimeViews/index.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPoolRuntimeViews/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EACL,oEAAoE,EACpE,sDAAsD,GACvD,MAAM,cAAc,CAAC"}
|
|
@@ -1,113 +1,4 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
|
|
4
|
-
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
-
export function _standbyContainerGroupPoolRuntimeViewsGetSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, runtimeView, options = {
|
|
6
|
-
requestOptions: {},
|
|
7
|
-
}) {
|
|
8
|
-
return context
|
|
9
|
-
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}/runtimeViews/{runtimeView}", subscriptionId, resourceGroupName, standbyContainerGroupPoolName, runtimeView)
|
|
10
|
-
.get(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
11
|
-
}
|
|
12
|
-
export async function _standbyContainerGroupPoolRuntimeViewsGetDeserialize(result) {
|
|
13
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
14
|
-
const expectedStatuses = ["200"];
|
|
15
|
-
if (!expectedStatuses.includes(result.status)) {
|
|
16
|
-
throw createRestError(result);
|
|
17
|
-
}
|
|
18
|
-
return {
|
|
19
|
-
id: result.body["id"],
|
|
20
|
-
name: result.body["name"],
|
|
21
|
-
type: result.body["type"],
|
|
22
|
-
systemData: !result.body.systemData
|
|
23
|
-
? undefined
|
|
24
|
-
: {
|
|
25
|
-
createdBy: (_a = result.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
|
|
26
|
-
createdByType: (_b = result.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
|
|
27
|
-
createdAt: ((_c = result.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
|
|
28
|
-
? new Date((_d = result.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
|
|
29
|
-
: undefined,
|
|
30
|
-
lastModifiedBy: (_e = result.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
|
|
31
|
-
lastModifiedByType: (_f = result.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
|
|
32
|
-
lastModifiedAt: ((_g = result.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
|
|
33
|
-
? new Date((_h = result.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
|
|
34
|
-
: undefined,
|
|
35
|
-
},
|
|
36
|
-
properties: !result.body.properties
|
|
37
|
-
? undefined
|
|
38
|
-
: {
|
|
39
|
-
instanceCountSummary: (_j = result.body.properties) === null || _j === void 0 ? void 0 : _j["instanceCountSummary"].map((p) => {
|
|
40
|
-
return {
|
|
41
|
-
instanceCountsByState: p["instanceCountsByState"].map((p) => {
|
|
42
|
-
return { state: p["state"], count: p["count"] };
|
|
43
|
-
}),
|
|
44
|
-
};
|
|
45
|
-
}),
|
|
46
|
-
provisioningState: (_k = result.body.properties) === null || _k === void 0 ? void 0 : _k["provisioningState"],
|
|
47
|
-
},
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
/** Get a StandbyContainerGroupPoolRuntimeViewResource */
|
|
51
|
-
export async function standbyContainerGroupPoolRuntimeViewsGet(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, runtimeView, options = {
|
|
52
|
-
requestOptions: {},
|
|
53
|
-
}) {
|
|
54
|
-
const result = await _standbyContainerGroupPoolRuntimeViewsGetSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, runtimeView, options);
|
|
55
|
-
return _standbyContainerGroupPoolRuntimeViewsGetDeserialize(result);
|
|
56
|
-
}
|
|
57
|
-
export function _standbyContainerGroupPoolRuntimeViewsListByStandbyPoolSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, options = {
|
|
58
|
-
requestOptions: {},
|
|
59
|
-
}) {
|
|
60
|
-
return context
|
|
61
|
-
.path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}/runtimeViews", subscriptionId, resourceGroupName, standbyContainerGroupPoolName)
|
|
62
|
-
.get(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
63
|
-
}
|
|
64
|
-
export async function _standbyContainerGroupPoolRuntimeViewsListByStandbyPoolDeserialize(result) {
|
|
65
|
-
const expectedStatuses = ["200"];
|
|
66
|
-
if (!expectedStatuses.includes(result.status)) {
|
|
67
|
-
throw createRestError(result);
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
value: result.body["value"].map((p) => {
|
|
71
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
72
|
-
return {
|
|
73
|
-
id: p["id"],
|
|
74
|
-
name: p["name"],
|
|
75
|
-
type: p["type"],
|
|
76
|
-
systemData: !p.systemData
|
|
77
|
-
? undefined
|
|
78
|
-
: {
|
|
79
|
-
createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
|
|
80
|
-
createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
|
|
81
|
-
createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
|
|
82
|
-
? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
|
|
83
|
-
: undefined,
|
|
84
|
-
lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
|
|
85
|
-
lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
|
|
86
|
-
lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
|
|
87
|
-
? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
|
|
88
|
-
: undefined,
|
|
89
|
-
},
|
|
90
|
-
properties: !p.properties
|
|
91
|
-
? undefined
|
|
92
|
-
: {
|
|
93
|
-
instanceCountSummary: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["instanceCountSummary"].map((p) => {
|
|
94
|
-
return {
|
|
95
|
-
instanceCountsByState: p["instanceCountsByState"].map((p) => {
|
|
96
|
-
return { state: p["state"], count: p["count"] };
|
|
97
|
-
}),
|
|
98
|
-
};
|
|
99
|
-
}),
|
|
100
|
-
provisioningState: (_k = p.properties) === null || _k === void 0 ? void 0 : _k["provisioningState"],
|
|
101
|
-
},
|
|
102
|
-
};
|
|
103
|
-
}),
|
|
104
|
-
nextLink: result.body["nextLink"],
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
/** List StandbyContainerGroupPoolRuntimeViewResource resources by StandbyContainerGroupPoolResource */
|
|
108
|
-
export function standbyContainerGroupPoolRuntimeViewsListByStandbyPool(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, options = {
|
|
109
|
-
requestOptions: {},
|
|
110
|
-
}) {
|
|
111
|
-
return buildPagedAsyncIterator(context, () => _standbyContainerGroupPoolRuntimeViewsListByStandbyPoolSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, options), _standbyContainerGroupPoolRuntimeViewsListByStandbyPoolDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
112
|
-
}
|
|
3
|
+
export { listByStandbyPool, get } from "./operations.js";
|
|
113
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPoolRuntimeViews/index.ts"],"names":[],"mappings":"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","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n StandbyContainerGroupPoolRuntimeViewResource,\n _StandbyContainerGroupPoolRuntimeViewResourceListResult,\n} from \"../../models/models.js\";\nimport { StandbyPoolContext as Client } from \"../index.js\";\nimport {\n StreamableMethod,\n operationOptionsToRequestParameters,\n PathUncheckedResponse,\n createRestError,\n} from \"@azure-rest/core-client\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport {\n StandbyContainerGroupPoolRuntimeViewsGetOptionalParams,\n StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams,\n} from \"../../models/options.js\";\n\nexport function _standbyContainerGroupPoolRuntimeViewsGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n runtimeView: string,\n options: StandbyContainerGroupPoolRuntimeViewsGetOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}/runtimeViews/{runtimeView}\",\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n runtimeView,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _standbyContainerGroupPoolRuntimeViewsGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyContainerGroupPoolRuntimeViewResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return {\n id: result.body[\"id\"],\n name: result.body[\"name\"],\n type: result.body[\"type\"],\n systemData: !result.body.systemData\n ? undefined\n : {\n createdBy: result.body.systemData?.[\"createdBy\"],\n createdByType: result.body.systemData?.[\"createdByType\"],\n createdAt:\n result.body.systemData?.[\"createdAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: result.body.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: result.body.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n result.body.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !result.body.properties\n ? undefined\n : {\n instanceCountSummary: result.body.properties?.[\"instanceCountSummary\"].map((p: any) => {\n return {\n instanceCountsByState: p[\"instanceCountsByState\"].map((p: any) => {\n return { state: p[\"state\"], count: p[\"count\"] };\n }),\n };\n }),\n provisioningState: result.body.properties?.[\"provisioningState\"],\n },\n };\n}\n\n/** Get a StandbyContainerGroupPoolRuntimeViewResource */\nexport async function standbyContainerGroupPoolRuntimeViewsGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n runtimeView: string,\n options: StandbyContainerGroupPoolRuntimeViewsGetOptionalParams = {\n requestOptions: {},\n },\n): Promise<StandbyContainerGroupPoolRuntimeViewResource> {\n const result = await _standbyContainerGroupPoolRuntimeViewsGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n runtimeView,\n options,\n );\n return _standbyContainerGroupPoolRuntimeViewsGetDeserialize(result);\n}\n\nexport function _standbyContainerGroupPoolRuntimeViewsListByStandbyPoolSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}/runtimeViews\",\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _standbyContainerGroupPoolRuntimeViewsListByStandbyPoolDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StandbyContainerGroupPoolRuntimeViewResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return {\n value: result.body[\"value\"].map((p: any) => {\n return {\n id: p[\"id\"],\n name: p[\"name\"],\n type: p[\"type\"],\n systemData: !p.systemData\n ? undefined\n : {\n createdBy: p.systemData?.[\"createdBy\"],\n createdByType: p.systemData?.[\"createdByType\"],\n createdAt:\n p.systemData?.[\"createdAt\"] !== undefined\n ? new Date(p.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: p.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: p.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n p.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(p.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !p.properties\n ? undefined\n : {\n instanceCountSummary: p.properties?.[\"instanceCountSummary\"].map((p: any) => {\n return {\n instanceCountsByState: p[\"instanceCountsByState\"].map((p: any) => {\n return { state: p[\"state\"], count: p[\"count\"] };\n }),\n };\n }),\n provisioningState: p.properties?.[\"provisioningState\"],\n },\n };\n }),\n nextLink: result.body[\"nextLink\"],\n };\n}\n\n/** List StandbyContainerGroupPoolRuntimeViewResource resources by StandbyContainerGroupPoolResource */\nexport function standbyContainerGroupPoolRuntimeViewsListByStandbyPool(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<StandbyContainerGroupPoolRuntimeViewResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _standbyContainerGroupPoolRuntimeViewsListByStandbyPoolSend(\n context,\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n options,\n ),\n _standbyContainerGroupPoolRuntimeViewsListByStandbyPoolDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPoolRuntimeViews/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { listByStandbyPool, get } from \"./operations.js\";\nexport {\n StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams,\n StandbyContainerGroupPoolRuntimeViewsGetOptionalParams,\n} from \"./options.js\";\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { StandbyPoolManagementContext as Client } from "../index.js";
|
|
2
|
+
import { StandbyContainerGroupPoolRuntimeViewResource, _StandbyContainerGroupPoolRuntimeViewResourceListResult } from "../../models/models.js";
|
|
3
|
+
import { StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams, StandbyContainerGroupPoolRuntimeViewsGetOptionalParams } from "./options.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
export declare function _listByStandbyPoolSend(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, options?: StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams): StreamableMethod;
|
|
7
|
+
export declare function _listByStandbyPoolDeserialize(result: PathUncheckedResponse): Promise<_StandbyContainerGroupPoolRuntimeViewResourceListResult>;
|
|
8
|
+
/** List StandbyContainerGroupPoolRuntimeViewResource resources by StandbyContainerGroupPoolResource */
|
|
9
|
+
export declare function listByStandbyPool(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, options?: StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams): PagedAsyncIterableIterator<StandbyContainerGroupPoolRuntimeViewResource>;
|
|
10
|
+
export declare function _getSend(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, runtimeView: string, options?: StandbyContainerGroupPoolRuntimeViewsGetOptionalParams): StreamableMethod;
|
|
11
|
+
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<StandbyContainerGroupPoolRuntimeViewResource>;
|
|
12
|
+
/** Get a StandbyContainerGroupPoolRuntimeViewResource */
|
|
13
|
+
export declare function get(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, runtimeView: string, options?: StandbyContainerGroupPoolRuntimeViewsGetOptionalParams): Promise<StandbyContainerGroupPoolRuntimeViewResource>;
|
|
14
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPoolRuntimeViews/operations.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,4BAA4B,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EAEL,4CAA4C,EAE5C,uDAAuD,EAExD,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,oEAAoE,EACpE,sDAAsD,EACvD,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,yBAAyB,CAAC;AAEjC,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,GAAE,oEAER,GACA,gBAAgB,CAoBlB;AAED,wBAAsB,6BAA6B,CACjD,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,uDAAuD,CAAC,CASlE;AAED,uGAAuG;AACvG,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,GAAE,oEAER,GACA,0BAA0B,CAAC,4CAA4C,CAAC,CAS1E;AAED,wBAAgB,QAAQ,CACtB,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,sDAER,GACA,gBAAgB,CAqBlB;AAED,wBAAsB,eAAe,CACnC,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,4CAA4C,CAAC,CASvD;AAED,yDAAyD;AACzD,wBAAsB,GAAG,CACvB,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,sDAER,GACA,OAAO,CAAC,4CAA4C,CAAC,CASvD"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { errorResponseDeserializer, standbyContainerGroupPoolRuntimeViewResourceDeserializer, _standbyContainerGroupPoolRuntimeViewResourceListResultDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
6
|
+
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
7
|
+
export function _listByStandbyPoolSend(context, resourceGroupName, standbyContainerGroupPoolName, options = {
|
|
8
|
+
requestOptions: {},
|
|
9
|
+
}) {
|
|
10
|
+
var _a, _b;
|
|
11
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}/runtimeViews{?api%2Dversion}", {
|
|
12
|
+
subscriptionId: context.subscriptionId,
|
|
13
|
+
resourceGroupName: resourceGroupName,
|
|
14
|
+
standbyContainerGroupPoolName: standbyContainerGroupPoolName,
|
|
15
|
+
"api%2Dversion": context.apiVersion,
|
|
16
|
+
}, {
|
|
17
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
18
|
+
});
|
|
19
|
+
return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
|
|
20
|
+
}
|
|
21
|
+
export async function _listByStandbyPoolDeserialize(result) {
|
|
22
|
+
const expectedStatuses = ["200"];
|
|
23
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
24
|
+
const error = createRestError(result);
|
|
25
|
+
error.details = errorResponseDeserializer(result.body);
|
|
26
|
+
throw error;
|
|
27
|
+
}
|
|
28
|
+
return _standbyContainerGroupPoolRuntimeViewResourceListResultDeserializer(result.body);
|
|
29
|
+
}
|
|
30
|
+
/** List StandbyContainerGroupPoolRuntimeViewResource resources by StandbyContainerGroupPoolResource */
|
|
31
|
+
export function listByStandbyPool(context, resourceGroupName, standbyContainerGroupPoolName, options = {
|
|
32
|
+
requestOptions: {},
|
|
33
|
+
}) {
|
|
34
|
+
return buildPagedAsyncIterator(context, () => _listByStandbyPoolSend(context, resourceGroupName, standbyContainerGroupPoolName, options), _listByStandbyPoolDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
35
|
+
}
|
|
36
|
+
export function _getSend(context, resourceGroupName, standbyContainerGroupPoolName, runtimeView, options = {
|
|
37
|
+
requestOptions: {},
|
|
38
|
+
}) {
|
|
39
|
+
var _a, _b;
|
|
40
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}/runtimeViews/{runtimeView}{?api%2Dversion}", {
|
|
41
|
+
subscriptionId: context.subscriptionId,
|
|
42
|
+
resourceGroupName: resourceGroupName,
|
|
43
|
+
standbyContainerGroupPoolName: standbyContainerGroupPoolName,
|
|
44
|
+
runtimeView: runtimeView,
|
|
45
|
+
"api%2Dversion": context.apiVersion,
|
|
46
|
+
}, {
|
|
47
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
48
|
+
});
|
|
49
|
+
return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
|
|
50
|
+
}
|
|
51
|
+
export async function _getDeserialize(result) {
|
|
52
|
+
const expectedStatuses = ["200"];
|
|
53
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
54
|
+
const error = createRestError(result);
|
|
55
|
+
error.details = errorResponseDeserializer(result.body);
|
|
56
|
+
throw error;
|
|
57
|
+
}
|
|
58
|
+
return standbyContainerGroupPoolRuntimeViewResourceDeserializer(result.body);
|
|
59
|
+
}
|
|
60
|
+
/** Get a StandbyContainerGroupPoolRuntimeViewResource */
|
|
61
|
+
export async function get(context, resourceGroupName, standbyContainerGroupPoolName, runtimeView, options = {
|
|
62
|
+
requestOptions: {},
|
|
63
|
+
}) {
|
|
64
|
+
const result = await _getSend(context, resourceGroupName, standbyContainerGroupPoolName, runtimeView, options);
|
|
65
|
+
return _getDeserialize(result);
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPoolRuntimeViews/operations.ts"],"names":[],"mappings":"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","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { StandbyPoolManagementContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n StandbyContainerGroupPoolRuntimeViewResource,\n standbyContainerGroupPoolRuntimeViewResourceDeserializer,\n _StandbyContainerGroupPoolRuntimeViewResourceListResult,\n _standbyContainerGroupPoolRuntimeViewResourceListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams,\n StandbyContainerGroupPoolRuntimeViewsGetOptionalParams,\n} from \"./options.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _listByStandbyPoolSend(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}/runtimeViews{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n standbyContainerGroupPoolName: standbyContainerGroupPoolName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listByStandbyPoolDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StandbyContainerGroupPoolRuntimeViewResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _standbyContainerGroupPoolRuntimeViewResourceListResultDeserializer(result.body);\n}\n\n/** List StandbyContainerGroupPoolRuntimeViewResource resources by StandbyContainerGroupPoolResource */\nexport function listByStandbyPool(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<StandbyContainerGroupPoolRuntimeViewResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _listByStandbyPoolSend(context, resourceGroupName, standbyContainerGroupPoolName, options),\n _listByStandbyPoolDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n runtimeView: string,\n options: StandbyContainerGroupPoolRuntimeViewsGetOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}/runtimeViews/{runtimeView}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n standbyContainerGroupPoolName: standbyContainerGroupPoolName,\n runtimeView: runtimeView,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyContainerGroupPoolRuntimeViewResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return standbyContainerGroupPoolRuntimeViewResourceDeserializer(result.body);\n}\n\n/** Get a StandbyContainerGroupPoolRuntimeViewResource */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n runtimeView: string,\n options: StandbyContainerGroupPoolRuntimeViewsGetOptionalParams = {\n requestOptions: {},\n },\n): Promise<StandbyContainerGroupPoolRuntimeViewResource> {\n const result = await _getSend(\n context,\n resourceGroupName,\n standbyContainerGroupPoolName,\n runtimeView,\n options,\n );\n return _getDeserialize(result);\n}\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OperationOptions } from "@azure-rest/core-client";
|
|
2
|
+
/** Optional parameters. */
|
|
3
|
+
export interface StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams extends OperationOptions {
|
|
4
|
+
}
|
|
5
|
+
/** Optional parameters. */
|
|
6
|
+
export interface StandbyContainerGroupPoolRuntimeViewsGetOptionalParams extends OperationOptions {
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPoolRuntimeViews/options.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,2BAA2B;AAC3B,MAAM,WAAW,oEACf,SAAQ,gBAAgB;CAAG;AAE7B,2BAA2B;AAC3B,MAAM,WAAW,sDAAuD,SAAQ,gBAAgB;CAAG"}
|