@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
|
@@ -1 +1 @@
|
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AAsE;IACpE,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,iDAAiD,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC,EACzF,wDAAwD,EACxD,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 {\n standbyContainerGroupPoolResourcePropertiesSerializer,\n standbyContainerGroupPoolResourceUpdatePropertiesSerializer,\n StandbyContainerGroupPoolResource,\n StandbyContainerGroupPoolResourceUpdate,\n _StandbyContainerGroupPoolResourceListResult,\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 { serializeRecord } from \"../../helpers/serializerHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n StandbyContainerGroupPoolsGetOptionalParams,\n StandbyContainerGroupPoolsCreateOrUpdateOptionalParams,\n StandbyContainerGroupPoolsDeleteOptionalParams,\n StandbyContainerGroupPoolsUpdateOptionalParams,\n StandbyContainerGroupPoolsListByResourceGroupOptionalParams,\n StandbyContainerGroupPoolsListBySubscriptionOptionalParams,\n} from \"../../models/options.js\";\n\nexport function _standbyContainerGroupPoolsGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}\",\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _standbyContainerGroupPoolsGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyContainerGroupPoolResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return {\n tags: result.body[\"tags\"],\n location: result.body[\"location\"],\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 elasticityProfile: {\n maxReadyCapacity: result.body.properties?.elasticityProfile[\"maxReadyCapacity\"],\n refillPolicy: result.body.properties?.elasticityProfile[\"refillPolicy\"],\n },\n containerGroupProperties: {\n containerGroupProfile: {\n id: result.body.properties?.containerGroupProperties.containerGroupProfile[\"id\"],\n revision:\n result.body.properties?.containerGroupProperties.containerGroupProfile[\"revision\"],\n },\n subnetIds:\n result.body.properties?.containerGroupProperties[\"subnetIds\"] === undefined\n ? result.body.properties?.containerGroupProperties[\"subnetIds\"]\n : result.body.properties?.containerGroupProperties[\"subnetIds\"].map((p: any) => {\n return { id: p[\"id\"] };\n }),\n },\n provisioningState: result.body.properties?.[\"provisioningState\"],\n },\n };\n}\n\n/** Get a StandbyContainerGroupPoolResource */\nexport async function standbyContainerGroupPoolsGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolsGetOptionalParams = { requestOptions: {} },\n): Promise<StandbyContainerGroupPoolResource> {\n const result = await _standbyContainerGroupPoolsGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n options,\n );\n return _standbyContainerGroupPoolsGetDeserialize(result);\n}\n\nexport function _standbyContainerGroupPoolsCreateOrUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n resource: StandbyContainerGroupPoolResource,\n options: StandbyContainerGroupPoolsCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}\",\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: {\n tags: !resource.tags ? resource.tags : (serializeRecord(resource.tags as any) as any),\n location: resource[\"location\"],\n properties: !resource.properties\n ? resource.properties\n : standbyContainerGroupPoolResourcePropertiesSerializer(resource.properties),\n },\n });\n}\n\nexport async function _standbyContainerGroupPoolsCreateOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyContainerGroupPoolResource> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return {\n tags: result.body[\"tags\"],\n location: result.body[\"location\"],\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 elasticityProfile: {\n maxReadyCapacity: result.body.properties?.elasticityProfile[\"maxReadyCapacity\"],\n refillPolicy: result.body.properties?.elasticityProfile[\"refillPolicy\"],\n },\n containerGroupProperties: {\n containerGroupProfile: {\n id: result.body.properties?.containerGroupProperties.containerGroupProfile[\"id\"],\n revision:\n result.body.properties?.containerGroupProperties.containerGroupProfile[\"revision\"],\n },\n subnetIds:\n result.body.properties?.containerGroupProperties[\"subnetIds\"] === undefined\n ? result.body.properties?.containerGroupProperties[\"subnetIds\"]\n : result.body.properties?.containerGroupProperties[\"subnetIds\"].map((p: any) => {\n return { id: p[\"id\"] };\n }),\n },\n provisioningState: result.body.properties?.[\"provisioningState\"],\n },\n };\n}\n\n/** Create a StandbyContainerGroupPoolResource */\nexport function standbyContainerGroupPoolsCreateOrUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n resource: StandbyContainerGroupPoolResource,\n options: StandbyContainerGroupPoolsCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<\n OperationState<StandbyContainerGroupPoolResource>,\n StandbyContainerGroupPoolResource\n> {\n return getLongRunningPoller(\n context,\n _standbyContainerGroupPoolsCreateOrUpdateDeserialize,\n [\"200\", \"201\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _standbyContainerGroupPoolsCreateOrUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n },\n ) as PollerLike<\n OperationState<StandbyContainerGroupPoolResource>,\n StandbyContainerGroupPoolResource\n >;\n}\n\nexport function _standbyContainerGroupPoolsDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolsDeleteOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}\",\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _standbyContainerGroupPoolsDeleteDeserialize(\n result: PathUncheckedResponse,\n): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** Delete a StandbyContainerGroupPoolResource */\nexport function standbyContainerGroupPoolsDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolsDeleteOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(\n context,\n _standbyContainerGroupPoolsDeleteDeserialize,\n [\"202\", \"204\", \"200\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _standbyContainerGroupPoolsDeleteSend(\n context,\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n options,\n ),\n resourceLocationConfig: \"location\",\n },\n ) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _standbyContainerGroupPoolsUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n properties: StandbyContainerGroupPoolResourceUpdate,\n options: StandbyContainerGroupPoolsUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}\",\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n )\n .patch({\n ...operationOptionsToRequestParameters(options),\n body: {\n tags: !properties.tags ? properties.tags : (serializeRecord(properties.tags as any) as any),\n properties: !properties.properties\n ? properties.properties\n : standbyContainerGroupPoolResourceUpdatePropertiesSerializer(properties.properties),\n },\n });\n}\n\nexport async function _standbyContainerGroupPoolsUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyContainerGroupPoolResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return {\n tags: result.body[\"tags\"],\n location: result.body[\"location\"],\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 elasticityProfile: {\n maxReadyCapacity: result.body.properties?.elasticityProfile[\"maxReadyCapacity\"],\n refillPolicy: result.body.properties?.elasticityProfile[\"refillPolicy\"],\n },\n containerGroupProperties: {\n containerGroupProfile: {\n id: result.body.properties?.containerGroupProperties.containerGroupProfile[\"id\"],\n revision:\n result.body.properties?.containerGroupProperties.containerGroupProfile[\"revision\"],\n },\n subnetIds:\n result.body.properties?.containerGroupProperties[\"subnetIds\"] === undefined\n ? result.body.properties?.containerGroupProperties[\"subnetIds\"]\n : result.body.properties?.containerGroupProperties[\"subnetIds\"].map((p: any) => {\n return { id: p[\"id\"] };\n }),\n },\n provisioningState: result.body.properties?.[\"provisioningState\"],\n },\n };\n}\n\n/** Update a StandbyContainerGroupPoolResource */\nexport async function standbyContainerGroupPoolsUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n properties: StandbyContainerGroupPoolResourceUpdate,\n options: StandbyContainerGroupPoolsUpdateOptionalParams = {\n requestOptions: {},\n },\n): Promise<StandbyContainerGroupPoolResource> {\n const result = await _standbyContainerGroupPoolsUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n properties,\n options,\n );\n return _standbyContainerGroupPoolsUpdateDeserialize(result);\n}\n\nexport function _standbyContainerGroupPoolsListByResourceGroupSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n options: StandbyContainerGroupPoolsListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools\",\n subscriptionId,\n resourceGroupName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _standbyContainerGroupPoolsListByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StandbyContainerGroupPoolResourceListResult> {\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 tags: p[\"tags\"],\n location: p[\"location\"],\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 elasticityProfile: {\n maxReadyCapacity: p.properties?.elasticityProfile[\"maxReadyCapacity\"],\n refillPolicy: p.properties?.elasticityProfile[\"refillPolicy\"],\n },\n containerGroupProperties: {\n containerGroupProfile: {\n id: p.properties?.containerGroupProperties.containerGroupProfile[\"id\"],\n revision:\n p.properties?.containerGroupProperties.containerGroupProfile[\"revision\"],\n },\n subnetIds:\n p.properties?.containerGroupProperties[\"subnetIds\"] === undefined\n ? p.properties?.containerGroupProperties[\"subnetIds\"]\n : p.properties?.containerGroupProperties[\"subnetIds\"].map((p: any) => {\n return { id: p[\"id\"] };\n }),\n },\n provisioningState: p.properties?.[\"provisioningState\"],\n },\n };\n }),\n nextLink: result.body[\"nextLink\"],\n };\n}\n\n/** List StandbyContainerGroupPoolResource resources by resource group */\nexport function standbyContainerGroupPoolsListByResourceGroup(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n options: StandbyContainerGroupPoolsListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<StandbyContainerGroupPoolResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _standbyContainerGroupPoolsListByResourceGroupSend(\n context,\n subscriptionId,\n resourceGroupName,\n options,\n ),\n _standbyContainerGroupPoolsListByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _standbyContainerGroupPoolsListBySubscriptionSend(\n context: Client,\n subscriptionId: string,\n options: StandbyContainerGroupPoolsListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyContainerGroupPools\",\n subscriptionId,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _standbyContainerGroupPoolsListBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StandbyContainerGroupPoolResourceListResult> {\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 tags: p[\"tags\"],\n location: p[\"location\"],\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 elasticityProfile: {\n maxReadyCapacity: p.properties?.elasticityProfile[\"maxReadyCapacity\"],\n refillPolicy: p.properties?.elasticityProfile[\"refillPolicy\"],\n },\n containerGroupProperties: {\n containerGroupProfile: {\n id: p.properties?.containerGroupProperties.containerGroupProfile[\"id\"],\n revision:\n p.properties?.containerGroupProperties.containerGroupProfile[\"revision\"],\n },\n subnetIds:\n p.properties?.containerGroupProperties[\"subnetIds\"] === undefined\n ? p.properties?.containerGroupProperties[\"subnetIds\"]\n : p.properties?.containerGroupProperties[\"subnetIds\"].map((p: any) => {\n return { id: p[\"id\"] };\n }),\n },\n provisioningState: p.properties?.[\"provisioningState\"],\n },\n };\n }),\n nextLink: result.body[\"nextLink\"],\n };\n}\n\n/** List StandbyContainerGroupPoolResource resources by subscription ID */\nexport function standbyContainerGroupPoolsListBySubscription(\n context: Client,\n subscriptionId: string,\n options: StandbyContainerGroupPoolsListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<StandbyContainerGroupPoolResource> {\n return buildPagedAsyncIterator(\n context,\n () => _standbyContainerGroupPoolsListBySubscriptionSend(context, subscriptionId, options),\n _standbyContainerGroupPoolsListBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPools/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,MAAM,EACN,OAAO,EACP,cAAc,EACd,GAAG,GACJ,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n listBySubscription,\n listByResourceGroup,\n update,\n $delete,\n createOrUpdate,\n get,\n} from \"./operations.js\";\nexport {\n StandbyContainerGroupPoolsListBySubscriptionOptionalParams,\n StandbyContainerGroupPoolsListByResourceGroupOptionalParams,\n StandbyContainerGroupPoolsUpdateOptionalParams,\n StandbyContainerGroupPoolsDeleteOptionalParams,\n StandbyContainerGroupPoolsCreateOrUpdateOptionalParams,\n StandbyContainerGroupPoolsGetOptionalParams,\n} from \"./options.js\";\n"]}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { StandbyPoolManagementContext as Client } from "../index.js";
|
|
2
|
+
import { StandbyContainerGroupPoolResource, StandbyContainerGroupPoolResourceUpdate, _StandbyContainerGroupPoolResourceListResult } from "../../models/models.js";
|
|
3
|
+
import { StandbyContainerGroupPoolsListBySubscriptionOptionalParams, StandbyContainerGroupPoolsListByResourceGroupOptionalParams, StandbyContainerGroupPoolsUpdateOptionalParams, StandbyContainerGroupPoolsDeleteOptionalParams, StandbyContainerGroupPoolsCreateOrUpdateOptionalParams, StandbyContainerGroupPoolsGetOptionalParams } from "./options.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
7
|
+
export declare function _listBySubscriptionSend(context: Client, options?: StandbyContainerGroupPoolsListBySubscriptionOptionalParams): StreamableMethod;
|
|
8
|
+
export declare function _listBySubscriptionDeserialize(result: PathUncheckedResponse): Promise<_StandbyContainerGroupPoolResourceListResult>;
|
|
9
|
+
/** List StandbyContainerGroupPoolResource resources by subscription ID */
|
|
10
|
+
export declare function listBySubscription(context: Client, options?: StandbyContainerGroupPoolsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<StandbyContainerGroupPoolResource>;
|
|
11
|
+
export declare function _listByResourceGroupSend(context: Client, resourceGroupName: string, options?: StandbyContainerGroupPoolsListByResourceGroupOptionalParams): StreamableMethod;
|
|
12
|
+
export declare function _listByResourceGroupDeserialize(result: PathUncheckedResponse): Promise<_StandbyContainerGroupPoolResourceListResult>;
|
|
13
|
+
/** List StandbyContainerGroupPoolResource resources by resource group */
|
|
14
|
+
export declare function listByResourceGroup(context: Client, resourceGroupName: string, options?: StandbyContainerGroupPoolsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<StandbyContainerGroupPoolResource>;
|
|
15
|
+
export declare function _updateSend(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, properties: StandbyContainerGroupPoolResourceUpdate, options?: StandbyContainerGroupPoolsUpdateOptionalParams): StreamableMethod;
|
|
16
|
+
export declare function _updateDeserialize(result: PathUncheckedResponse): Promise<StandbyContainerGroupPoolResource>;
|
|
17
|
+
/** Update a StandbyContainerGroupPoolResource */
|
|
18
|
+
export declare function update(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, properties: StandbyContainerGroupPoolResourceUpdate, options?: StandbyContainerGroupPoolsUpdateOptionalParams): Promise<StandbyContainerGroupPoolResource>;
|
|
19
|
+
export declare function _$deleteSend(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, options?: StandbyContainerGroupPoolsDeleteOptionalParams): StreamableMethod;
|
|
20
|
+
export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
21
|
+
/** Delete a StandbyContainerGroupPoolResource */
|
|
22
|
+
/**
|
|
23
|
+
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
24
|
+
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
25
|
+
* to the operation to override the generated name.
|
|
26
|
+
*/
|
|
27
|
+
export declare function $delete(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, options?: StandbyContainerGroupPoolsDeleteOptionalParams): PollerLike<OperationState<void>, void>;
|
|
28
|
+
export declare function _createOrUpdateSend(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, resource: StandbyContainerGroupPoolResource, options?: StandbyContainerGroupPoolsCreateOrUpdateOptionalParams): StreamableMethod;
|
|
29
|
+
export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<StandbyContainerGroupPoolResource>;
|
|
30
|
+
/** Create a StandbyContainerGroupPoolResource */
|
|
31
|
+
export declare function createOrUpdate(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, resource: StandbyContainerGroupPoolResource, options?: StandbyContainerGroupPoolsCreateOrUpdateOptionalParams): PollerLike<OperationState<StandbyContainerGroupPoolResource>, StandbyContainerGroupPoolResource>;
|
|
32
|
+
export declare function _getSend(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, options?: StandbyContainerGroupPoolsGetOptionalParams): StreamableMethod;
|
|
33
|
+
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<StandbyContainerGroupPoolResource>;
|
|
34
|
+
/** Get a StandbyContainerGroupPoolResource */
|
|
35
|
+
export declare function get(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, options?: StandbyContainerGroupPoolsGetOptionalParams): Promise<StandbyContainerGroupPoolResource>;
|
|
36
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPools/operations.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,4BAA4B,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EAEL,iCAAiC,EAGjC,uCAAuC,EAEvC,4CAA4C,EAE7C,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,0DAA0D,EAC1D,2DAA2D,EAC3D,8CAA8C,EAC9C,8CAA8C,EAC9C,sDAAsD,EACtD,2CAA2C,EAC5C,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAG/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAE7D,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,0DAER,GACA,gBAAgB,CAkBlB;AAED,wBAAsB,8BAA8B,CAClD,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,4CAA4C,CAAC,CASvD;AAED,0EAA0E;AAC1E,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,0DAER,GACA,0BAA0B,CAAC,iCAAiC,CAAC,CAQ/D;AAED,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,MAAM,EACzB,OAAO,GAAE,2DAER,GACA,gBAAgB,CAmBlB;AAED,wBAAsB,+BAA+B,CACnD,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,4CAA4C,CAAC,CASvD;AAED,yEAAyE;AACzE,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,MAAM,EACzB,OAAO,GAAE,2DAER,GACA,0BAA0B,CAAC,iCAAiC,CAAC,CAQ/D;AAED,wBAAgB,WAAW,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AA6B,EAAE,MAAM,EACrC,QAAQ,EAAE,iCAAiC,EAC3C,OAAO,GAAE,sDAER,GACA,UAAU,CACX,cAAc,CAAC,iCAAiC,CAAC,EACjD,iCAAiC,CAClC,CAiBA;AAED,wBAAgB,QAAQ,CACtB,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,GAAE,2CAAoE,GAC5E,gBAAgB,CAoBlB;AAED,wBAAsB,eAAe,CACnC,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,iCAAiC,CAAC,CAS5C;AAED,8CAA8C;AAC9C,wBAAsB,GAAG,CACvB,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,GAAE,2CAAoE,GAC5E,OAAO,CAAC,iCAAiC,CAAC,CAG5C"}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { errorResponseDeserializer, standbyContainerGroupPoolResourceSerializer, standbyContainerGroupPoolResourceDeserializer, standbyContainerGroupPoolResourceUpdateSerializer, _standbyContainerGroupPoolResourceListResultDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
6
|
+
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
7
|
+
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
8
|
+
export function _listBySubscriptionSend(context, options = {
|
|
9
|
+
requestOptions: {},
|
|
10
|
+
}) {
|
|
11
|
+
var _a, _b;
|
|
12
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyContainerGroupPools{?api%2Dversion}", {
|
|
13
|
+
subscriptionId: context.subscriptionId,
|
|
14
|
+
"api%2Dversion": context.apiVersion,
|
|
15
|
+
}, {
|
|
16
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
17
|
+
});
|
|
18
|
+
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) }));
|
|
19
|
+
}
|
|
20
|
+
export async function _listBySubscriptionDeserialize(result) {
|
|
21
|
+
const expectedStatuses = ["200"];
|
|
22
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
23
|
+
const error = createRestError(result);
|
|
24
|
+
error.details = errorResponseDeserializer(result.body);
|
|
25
|
+
throw error;
|
|
26
|
+
}
|
|
27
|
+
return _standbyContainerGroupPoolResourceListResultDeserializer(result.body);
|
|
28
|
+
}
|
|
29
|
+
/** List StandbyContainerGroupPoolResource resources by subscription ID */
|
|
30
|
+
export function listBySubscription(context, options = {
|
|
31
|
+
requestOptions: {},
|
|
32
|
+
}) {
|
|
33
|
+
return buildPagedAsyncIterator(context, () => _listBySubscriptionSend(context, options), _listBySubscriptionDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
34
|
+
}
|
|
35
|
+
export function _listByResourceGroupSend(context, resourceGroupName, options = {
|
|
36
|
+
requestOptions: {},
|
|
37
|
+
}) {
|
|
38
|
+
var _a, _b;
|
|
39
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools{?api%2Dversion}", {
|
|
40
|
+
subscriptionId: context.subscriptionId,
|
|
41
|
+
resourceGroupName: resourceGroupName,
|
|
42
|
+
"api%2Dversion": context.apiVersion,
|
|
43
|
+
}, {
|
|
44
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
45
|
+
});
|
|
46
|
+
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) }));
|
|
47
|
+
}
|
|
48
|
+
export async function _listByResourceGroupDeserialize(result) {
|
|
49
|
+
const expectedStatuses = ["200"];
|
|
50
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
51
|
+
const error = createRestError(result);
|
|
52
|
+
error.details = errorResponseDeserializer(result.body);
|
|
53
|
+
throw error;
|
|
54
|
+
}
|
|
55
|
+
return _standbyContainerGroupPoolResourceListResultDeserializer(result.body);
|
|
56
|
+
}
|
|
57
|
+
/** List StandbyContainerGroupPoolResource resources by resource group */
|
|
58
|
+
export function listByResourceGroup(context, resourceGroupName, options = {
|
|
59
|
+
requestOptions: {},
|
|
60
|
+
}) {
|
|
61
|
+
return buildPagedAsyncIterator(context, () => _listByResourceGroupSend(context, resourceGroupName, options), _listByResourceGroupDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
|
|
62
|
+
}
|
|
63
|
+
export function _updateSend(context, resourceGroupName, standbyContainerGroupPoolName, properties, options = {
|
|
64
|
+
requestOptions: {},
|
|
65
|
+
}) {
|
|
66
|
+
var _a, _b;
|
|
67
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}{?api%2Dversion}", {
|
|
68
|
+
subscriptionId: context.subscriptionId,
|
|
69
|
+
resourceGroupName: resourceGroupName,
|
|
70
|
+
standbyContainerGroupPoolName: standbyContainerGroupPoolName,
|
|
71
|
+
"api%2Dversion": context.apiVersion,
|
|
72
|
+
}, {
|
|
73
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
74
|
+
});
|
|
75
|
+
return context.path(path).patch(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { contentType: "application/json", headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers), body: standbyContainerGroupPoolResourceUpdateSerializer(properties) }));
|
|
76
|
+
}
|
|
77
|
+
export async function _updateDeserialize(result) {
|
|
78
|
+
const expectedStatuses = ["200"];
|
|
79
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
80
|
+
const error = createRestError(result);
|
|
81
|
+
error.details = errorResponseDeserializer(result.body);
|
|
82
|
+
throw error;
|
|
83
|
+
}
|
|
84
|
+
return standbyContainerGroupPoolResourceDeserializer(result.body);
|
|
85
|
+
}
|
|
86
|
+
/** Update a StandbyContainerGroupPoolResource */
|
|
87
|
+
export async function update(context, resourceGroupName, standbyContainerGroupPoolName, properties, options = {
|
|
88
|
+
requestOptions: {},
|
|
89
|
+
}) {
|
|
90
|
+
const result = await _updateSend(context, resourceGroupName, standbyContainerGroupPoolName, properties, options);
|
|
91
|
+
return _updateDeserialize(result);
|
|
92
|
+
}
|
|
93
|
+
export function _$deleteSend(context, resourceGroupName, standbyContainerGroupPoolName, options = {
|
|
94
|
+
requestOptions: {},
|
|
95
|
+
}) {
|
|
96
|
+
var _a, _b;
|
|
97
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}{?api%2Dversion}", {
|
|
98
|
+
subscriptionId: context.subscriptionId,
|
|
99
|
+
resourceGroupName: resourceGroupName,
|
|
100
|
+
standbyContainerGroupPoolName: standbyContainerGroupPoolName,
|
|
101
|
+
"api%2Dversion": context.apiVersion,
|
|
102
|
+
}, {
|
|
103
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
104
|
+
});
|
|
105
|
+
return context.path(path).delete(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
|
|
106
|
+
}
|
|
107
|
+
export async function _$deleteDeserialize(result) {
|
|
108
|
+
const expectedStatuses = ["202", "204", "200"];
|
|
109
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
110
|
+
const error = createRestError(result);
|
|
111
|
+
error.details = errorResponseDeserializer(result.body);
|
|
112
|
+
throw error;
|
|
113
|
+
}
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
/** Delete a StandbyContainerGroupPoolResource */
|
|
117
|
+
/**
|
|
118
|
+
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
119
|
+
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
120
|
+
* to the operation to override the generated name.
|
|
121
|
+
*/
|
|
122
|
+
export function $delete(context, resourceGroupName, standbyContainerGroupPoolName, options = {
|
|
123
|
+
requestOptions: {},
|
|
124
|
+
}) {
|
|
125
|
+
return getLongRunningPoller(context, _$deleteDeserialize, ["202", "204", "200"], {
|
|
126
|
+
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
127
|
+
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
128
|
+
getInitialResponse: () => _$deleteSend(context, resourceGroupName, standbyContainerGroupPoolName, options),
|
|
129
|
+
resourceLocationConfig: "location",
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
export function _createOrUpdateSend(context, resourceGroupName, standbyContainerGroupPoolName, resource, options = {
|
|
133
|
+
requestOptions: {},
|
|
134
|
+
}) {
|
|
135
|
+
var _a, _b;
|
|
136
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}{?api%2Dversion}", {
|
|
137
|
+
subscriptionId: context.subscriptionId,
|
|
138
|
+
resourceGroupName: resourceGroupName,
|
|
139
|
+
standbyContainerGroupPoolName: standbyContainerGroupPoolName,
|
|
140
|
+
"api%2Dversion": context.apiVersion,
|
|
141
|
+
}, {
|
|
142
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
143
|
+
});
|
|
144
|
+
return context.path(path).put(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { contentType: "application/json", headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers), body: standbyContainerGroupPoolResourceSerializer(resource) }));
|
|
145
|
+
}
|
|
146
|
+
export async function _createOrUpdateDeserialize(result) {
|
|
147
|
+
const expectedStatuses = ["200", "201"];
|
|
148
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
149
|
+
const error = createRestError(result);
|
|
150
|
+
error.details = errorResponseDeserializer(result.body);
|
|
151
|
+
throw error;
|
|
152
|
+
}
|
|
153
|
+
return standbyContainerGroupPoolResourceDeserializer(result.body);
|
|
154
|
+
}
|
|
155
|
+
/** Create a StandbyContainerGroupPoolResource */
|
|
156
|
+
export function createOrUpdate(context, resourceGroupName, standbyContainerGroupPoolName, resource, options = {
|
|
157
|
+
requestOptions: {},
|
|
158
|
+
}) {
|
|
159
|
+
return getLongRunningPoller(context, _createOrUpdateDeserialize, ["200", "201"], {
|
|
160
|
+
updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
161
|
+
abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
|
|
162
|
+
getInitialResponse: () => _createOrUpdateSend(context, resourceGroupName, standbyContainerGroupPoolName, resource, options),
|
|
163
|
+
resourceLocationConfig: "azure-async-operation",
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
export function _getSend(context, resourceGroupName, standbyContainerGroupPoolName, options = { requestOptions: {} }) {
|
|
167
|
+
var _a, _b;
|
|
168
|
+
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}{?api%2Dversion}", {
|
|
169
|
+
subscriptionId: context.subscriptionId,
|
|
170
|
+
resourceGroupName: resourceGroupName,
|
|
171
|
+
standbyContainerGroupPoolName: standbyContainerGroupPoolName,
|
|
172
|
+
"api%2Dversion": context.apiVersion,
|
|
173
|
+
}, {
|
|
174
|
+
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
175
|
+
});
|
|
176
|
+
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) }));
|
|
177
|
+
}
|
|
178
|
+
export async function _getDeserialize(result) {
|
|
179
|
+
const expectedStatuses = ["200"];
|
|
180
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
181
|
+
const error = createRestError(result);
|
|
182
|
+
error.details = errorResponseDeserializer(result.body);
|
|
183
|
+
throw error;
|
|
184
|
+
}
|
|
185
|
+
return standbyContainerGroupPoolResourceDeserializer(result.body);
|
|
186
|
+
}
|
|
187
|
+
/** Get a StandbyContainerGroupPoolResource */
|
|
188
|
+
export async function get(context, resourceGroupName, standbyContainerGroupPoolName, options = { requestOptions: {} }) {
|
|
189
|
+
const result = await _getSend(context, resourceGroupName, standbyContainerGroupPoolName, options);
|
|
190
|
+
return _getDeserialize(result);
|
|
191
|
+
}
|
|
192
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPools/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,yBAAyB,EAEzB,2CAA2C,EAC3C,6CAA6C,EAE7C,iDAAiD,EAEjD,wDAAwD,GACzD,MAAM,wBAAwB,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AC;IAClG,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { StandbyPoolManagementContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n StandbyContainerGroupPoolResource,\n standbyContainerGroupPoolResourceSerializer,\n standbyContainerGroupPoolResourceDeserializer,\n StandbyContainerGroupPoolResourceUpdate,\n standbyContainerGroupPoolResourceUpdateSerializer,\n _StandbyContainerGroupPoolResourceListResult,\n _standbyContainerGroupPoolResourceListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n StandbyContainerGroupPoolsListBySubscriptionOptionalParams,\n StandbyContainerGroupPoolsListByResourceGroupOptionalParams,\n StandbyContainerGroupPoolsUpdateOptionalParams,\n StandbyContainerGroupPoolsDeleteOptionalParams,\n StandbyContainerGroupPoolsCreateOrUpdateOptionalParams,\n StandbyContainerGroupPoolsGetOptionalParams,\n} from \"./options.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _listBySubscriptionSend(\n context: Client,\n options: StandbyContainerGroupPoolsListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyContainerGroupPools{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\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 _listBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StandbyContainerGroupPoolResourceListResult> {\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 _standbyContainerGroupPoolResourceListResultDeserializer(result.body);\n}\n\n/** List StandbyContainerGroupPoolResource resources by subscription ID */\nexport function listBySubscription(\n context: Client,\n options: StandbyContainerGroupPoolsListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<StandbyContainerGroupPoolResource> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionSend(context, options),\n _listBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _listByResourceGroupSend(\n context: Client,\n resourceGroupName: string,\n options: StandbyContainerGroupPoolsListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\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 _listByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StandbyContainerGroupPoolResourceListResult> {\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 _standbyContainerGroupPoolResourceListResultDeserializer(result.body);\n}\n\n/** List StandbyContainerGroupPoolResource resources by resource group */\nexport function listByResourceGroup(\n context: Client,\n resourceGroupName: string,\n options: StandbyContainerGroupPoolsListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<StandbyContainerGroupPoolResource> {\n return buildPagedAsyncIterator(\n context,\n () => _listByResourceGroupSend(context, resourceGroupName, options),\n _listByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n properties: StandbyContainerGroupPoolResourceUpdate,\n options: StandbyContainerGroupPoolsUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}{?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).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: standbyContainerGroupPoolResourceUpdateSerializer(properties),\n });\n}\n\nexport async function _updateDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyContainerGroupPoolResource> {\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 standbyContainerGroupPoolResourceDeserializer(result.body);\n}\n\n/** Update a StandbyContainerGroupPoolResource */\nexport async function update(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n properties: StandbyContainerGroupPoolResourceUpdate,\n options: StandbyContainerGroupPoolsUpdateOptionalParams = {\n requestOptions: {},\n },\n): Promise<StandbyContainerGroupPoolResource> {\n const result = await _updateSend(\n context,\n resourceGroupName,\n standbyContainerGroupPoolName,\n properties,\n options,\n );\n return _updateDeserialize(result);\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolsDeleteOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}{?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).delete({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"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;\n}\n\n/** Delete a StandbyContainerGroupPoolResource */\n/**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolsDeleteOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _$deleteSend(context, resourceGroupName, standbyContainerGroupPoolName, options),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n resource: StandbyContainerGroupPoolResource,\n options: StandbyContainerGroupPoolsCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}{?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).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: standbyContainerGroupPoolResourceSerializer(resource),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyContainerGroupPoolResource> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return standbyContainerGroupPoolResourceDeserializer(result.body);\n}\n\n/** Create a StandbyContainerGroupPoolResource */\nexport function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n resource: StandbyContainerGroupPoolResource,\n options: StandbyContainerGroupPoolsCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<\n OperationState<StandbyContainerGroupPoolResource>,\n StandbyContainerGroupPoolResource\n> {\n return getLongRunningPoller(context, _createOrUpdateDeserialize, [\"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createOrUpdateSend(\n context,\n resourceGroupName,\n standbyContainerGroupPoolName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n }) as PollerLike<\n OperationState<StandbyContainerGroupPoolResource>,\n StandbyContainerGroupPoolResource\n >;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}{?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 _getDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyContainerGroupPoolResource> {\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 standbyContainerGroupPoolResourceDeserializer(result.body);\n}\n\n/** Get a StandbyContainerGroupPoolResource */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolsGetOptionalParams = { requestOptions: {} },\n): Promise<StandbyContainerGroupPoolResource> {\n const result = await _getSend(context, resourceGroupName, standbyContainerGroupPoolName, options);\n return _getDeserialize(result);\n}\n"]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OperationOptions } from "@azure-rest/core-client";
|
|
2
|
+
/** Optional parameters. */
|
|
3
|
+
export interface StandbyContainerGroupPoolsListBySubscriptionOptionalParams extends OperationOptions {
|
|
4
|
+
}
|
|
5
|
+
/** Optional parameters. */
|
|
6
|
+
export interface StandbyContainerGroupPoolsListByResourceGroupOptionalParams extends OperationOptions {
|
|
7
|
+
}
|
|
8
|
+
/** Optional parameters. */
|
|
9
|
+
export interface StandbyContainerGroupPoolsUpdateOptionalParams extends OperationOptions {
|
|
10
|
+
}
|
|
11
|
+
/** Optional parameters. */
|
|
12
|
+
export interface StandbyContainerGroupPoolsDeleteOptionalParams extends OperationOptions {
|
|
13
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
14
|
+
updateIntervalInMs?: number;
|
|
15
|
+
}
|
|
16
|
+
/** Optional parameters. */
|
|
17
|
+
export interface StandbyContainerGroupPoolsCreateOrUpdateOptionalParams extends OperationOptions {
|
|
18
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
19
|
+
updateIntervalInMs?: number;
|
|
20
|
+
}
|
|
21
|
+
/** Optional parameters. */
|
|
22
|
+
export interface StandbyContainerGroupPoolsGetOptionalParams extends OperationOptions {
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPools/options.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,2BAA2B;AAC3B,MAAM,WAAW,0DACf,SAAQ,gBAAgB;CAAG;AAE7B,2BAA2B;AAC3B,MAAM,WAAW,2DACf,SAAQ,gBAAgB;CAAG;AAE7B,2BAA2B;AAC3B,MAAM,WAAW,8CAA+C,SAAQ,gBAAgB;CAAG;AAE3F,2BAA2B;AAC3B,MAAM,WAAW,8CAA+C,SAAQ,gBAAgB;IACtF,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,2BAA2B;AAC3B,MAAM,WAAW,sDAAuD,SAAQ,gBAAgB;IAC9F,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,2BAA2B;AAC3B,MAAM,WAAW,2CAA4C,SAAQ,gBAAgB;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPools/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 StandbyContainerGroupPoolsListBySubscriptionOptionalParams\n extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface StandbyContainerGroupPoolsListByResourceGroupOptionalParams\n extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface StandbyContainerGroupPoolsUpdateOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface StandbyContainerGroupPoolsDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface StandbyContainerGroupPoolsCreateOrUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface StandbyContainerGroupPoolsGetOptionalParams extends OperationOptions {}\n"]}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
+
import { Client, ClientOptions } from "@azure-rest/core-client";
|
|
1
2
|
import { TokenCredential } from "@azure/core-auth";
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
export interface StandbyPoolManagementContext extends Client {
|
|
4
|
+
/** The API version to use for this operation. */
|
|
5
|
+
/** Known values of {@link KnownVersions} that the service accepts. */
|
|
6
|
+
apiVersion: string;
|
|
7
|
+
/** The ID of the target subscription. The value must be an UUID. */
|
|
8
|
+
subscriptionId: string;
|
|
4
9
|
}
|
|
5
10
|
/** Optional parameters for the client. */
|
|
6
11
|
export interface StandbyPoolManagementClientOptionalParams extends ClientOptions {
|
|
7
12
|
/** The API version to use for this operation. */
|
|
13
|
+
/** Known values of {@link KnownVersions} that the service accepts. */
|
|
8
14
|
apiVersion?: string;
|
|
9
15
|
}
|
|
10
|
-
export declare function createStandbyPoolManagement(credential: TokenCredential, options?: StandbyPoolManagementClientOptionalParams):
|
|
16
|
+
export declare function createStandbyPoolManagement(credential: TokenCredential, subscriptionId: string, options?: StandbyPoolManagementClientOptionalParams): StandbyPoolManagementContext;
|
|
11
17
|
//# sourceMappingURL=standbyPoolManagementContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"standbyPoolManagementContext.d.ts","sourceRoot":"","sources":["../../../src/api/standbyPoolManagementContext.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"standbyPoolManagementContext.d.ts","sourceRoot":"","sources":["../../../src/api/standbyPoolManagementContext.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAa,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD,MAAM,WAAW,4BAA6B,SAAQ,MAAM;IAC1D,iDAAiD;IACjD,sEAAsE;IACtE,UAAU,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,0CAA0C;AAC1C,MAAM,WAAW,yCAA0C,SAAQ,aAAa;IAC9E,iDAAiD;IACjD,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,eAAe,EAC3B,cAAc,EAAE,MAAM,EACtB,OAAO,GAAE,yCAA8C,GACtD,4BAA4B,CAsC9B"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
3
|
import { __rest } from "tslib";
|
|
4
|
-
import { getClient } from "@azure-rest/core-client";
|
|
5
4
|
import { logger } from "../logger.js";
|
|
6
|
-
|
|
5
|
+
import { getClient } from "@azure-rest/core-client";
|
|
6
|
+
export function createStandbyPoolManagement(credential, subscriptionId, options = {}) {
|
|
7
7
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
8
|
-
const endpointUrl = (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUrl) !== null && _b !== void 0 ? _b :
|
|
8
|
+
const endpointUrl = (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUrl) !== null && _b !== void 0 ? _b : "https://management.azure.com";
|
|
9
9
|
const prefixFromOptions = (_c = options === null || options === void 0 ? void 0 : options.userAgentOptions) === null || _c === void 0 ? void 0 : _c.userAgentPrefix;
|
|
10
|
-
const userAgentInfo = `azsdk-js-arm-standbypool/
|
|
10
|
+
const userAgentInfo = `azsdk-js-arm-standbypool/2.0.0`;
|
|
11
11
|
const userAgentPrefix = prefixFromOptions
|
|
12
12
|
? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`
|
|
13
13
|
: `azsdk-js-api ${userAgentInfo}`;
|
|
@@ -16,7 +16,7 @@ export function createStandbyPoolManagement(credential, options = {}) {
|
|
|
16
16
|
} }), { apiVersion: _ } = _j, updatedOptions = __rest(_j, ["apiVersion"]);
|
|
17
17
|
const clientContext = getClient(endpointUrl, credential, updatedOptions);
|
|
18
18
|
clientContext.pipeline.removePolicy({ name: "ApiVersionPolicy" });
|
|
19
|
-
const apiVersion = (_h = options.apiVersion) !== null && _h !== void 0 ? _h : "
|
|
19
|
+
const apiVersion = (_h = options.apiVersion) !== null && _h !== void 0 ? _h : "2025-03-01";
|
|
20
20
|
clientContext.pipeline.addPolicy({
|
|
21
21
|
name: "ClientApiVersionPolicy",
|
|
22
22
|
sendRequest: (req, next) => {
|
|
@@ -29,6 +29,7 @@ export function createStandbyPoolManagement(credential, options = {}) {
|
|
|
29
29
|
return next(req);
|
|
30
30
|
},
|
|
31
31
|
});
|
|
32
|
-
return clientContext
|
|
32
|
+
return Object.assign(Object.assign({}, clientContext), { apiVersion,
|
|
33
|
+
subscriptionId });
|
|
33
34
|
}
|
|
34
35
|
//# sourceMappingURL=standbyPoolManagementContext.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"standbyPoolManagementContext.js","sourceRoot":"","sources":["../../../src/api/standbyPoolManagementContext.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;
|
|
1
|
+
{"version":3,"file":"standbyPoolManagementContext.js","sourceRoot":"","sources":["../../../src/api/standbyPoolManagementContext.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;AAElC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,OAAO,EAAyB,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAkB3E,MAAM,UAAU,2BAA2B,CACzC,UAA2B,EAC3B,cAAsB,EACtB,UAAqD,EAAE;;IAEvD,MAAM,WAAW,GAAG,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,8BAA8B,CAAC;IAC1F,MAAM,iBAAiB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,gBAAgB,0CAAE,eAAe,CAAC;IACrE,MAAM,aAAa,GAAG,gCAAgC,CAAC;IACvD,MAAM,eAAe,GAAG,iBAAiB;QACvC,CAAC,CAAC,GAAG,iBAAiB,iBAAiB,aAAa,EAAE;QACtD,CAAC,CAAC,gBAAgB,aAAa,EAAE,CAAC;IACpC,MAAM,qCACD,OAAO,KACV,gBAAgB,EAAE,EAAE,eAAe,EAAE,EACrC,cAAc,EAAE,EAAE,MAAM,EAAE,MAAA,MAAA,OAAO,CAAC,cAAc,0CAAE,MAAM,mCAAI,MAAM,CAAC,IAAI,EAAE,EACzE,WAAW,EAAE;YACX,MAAM,EAAE,MAAA,MAAA,OAAO,CAAC,WAAW,0CAAE,MAAM,mCAAI,CAAC,GAAG,WAAW,WAAW,CAAC;SACnE,GACF,EAPK,EAAE,UAAU,EAAE,CAAC,OAOpB,EAPyB,cAAc,cAAlC,cAAoC,CAOzC,CAAC;IACF,MAAM,aAAa,GAAG,SAAS,CAAC,WAAW,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC;IACzE,aAAa,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAClE,MAAM,UAAU,GAAG,MAAA,OAAO,CAAC,UAAU,mCAAI,YAAY,CAAC;IACtD,aAAa,CAAC,QAAQ,CAAC,SAAS,CAAC;QAC/B,IAAI,EAAE,wBAAwB;QAC9B,WAAW,EAAE,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;YACzB,qDAAqD;YACrD,yEAAyE;YACzE,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC7B,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,CAAC;gBACzC,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,GAAG,GAClB,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GACzD,eAAe,UAAU,EAAE,CAAC;YAC9B,CAAC;YAED,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC,CAAC;IACH,OAAO,gCACF,aAAa,KAChB,UAAU;QACV,cAAc,GACiB,CAAC;AACpC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { logger } from \"../logger.js\";\nimport { KnownVersions } from \"../models/models.js\";\nimport { Client, ClientOptions, getClient } from \"@azure-rest/core-client\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\nexport interface StandbyPoolManagementContext extends Client {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion: string;\n /** The ID of the target subscription. The value must be an UUID. */\n subscriptionId: string;\n}\n\n/** Optional parameters for the client. */\nexport interface StandbyPoolManagementClientOptionalParams extends ClientOptions {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n}\n\nexport function createStandbyPoolManagement(\n credential: TokenCredential,\n subscriptionId: string,\n options: StandbyPoolManagementClientOptionalParams = {},\n): StandbyPoolManagementContext {\n const endpointUrl = options.endpoint ?? options.baseUrl ?? \"https://management.azure.com\";\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-arm-standbypool/2.0.0`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: {\n scopes: options.credentials?.scopes ?? [`${endpointUrl}/.default`],\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n clientContext.pipeline.removePolicy({ name: \"ApiVersionPolicy\" });\n const apiVersion = options.apiVersion ?? \"2025-03-01\";\n clientContext.pipeline.addPolicy({\n name: \"ClientApiVersionPolicy\",\n sendRequest: (req, next) => {\n // Use the apiVersion defined in request url directly\n // Append one if there is no apiVersion and we have one at client options\n const url = new URL(req.url);\n if (!url.searchParams.get(\"api-version\")) {\n req.url = `${req.url}${\n Array.from(url.searchParams.keys()).length > 0 ? \"&\" : \"?\"\n }api-version=${apiVersion}`;\n }\n\n return next(req);\n },\n });\n return {\n ...clientContext,\n apiVersion,\n subscriptionId,\n } as StandbyPoolManagementContext;\n}\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 { StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams, StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams } from "../../models/options.js";
|
|
6
|
-
export declare function _standbyVirtualMachinePoolRuntimeViewsGetSend(context: Client, subscriptionId: string, resourceGroupName: string, standbyVirtualMachinePoolName: string, runtimeView: string, options?: StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams): StreamableMethod;
|
|
7
|
-
export declare function _standbyVirtualMachinePoolRuntimeViewsGetDeserialize(result: PathUncheckedResponse): Promise<StandbyVirtualMachinePoolRuntimeViewResource>;
|
|
8
|
-
/** Get a StandbyVirtualMachinePoolRuntimeViewResource */
|
|
9
|
-
export declare function standbyVirtualMachinePoolRuntimeViewsGet(context: Client, subscriptionId: string, resourceGroupName: string, standbyVirtualMachinePoolName: string, runtimeView: string, options?: StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams): Promise<StandbyVirtualMachinePoolRuntimeViewResource>;
|
|
10
|
-
export declare function _standbyVirtualMachinePoolRuntimeViewsListByStandbyPoolSend(context: Client, subscriptionId: string, resourceGroupName: string, standbyVirtualMachinePoolName: string, options?: StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams): StreamableMethod;
|
|
11
|
-
export declare function _standbyVirtualMachinePoolRuntimeViewsListByStandbyPoolDeserialize(result: PathUncheckedResponse): Promise<_StandbyVirtualMachinePoolRuntimeViewResourceListResult>;
|
|
12
|
-
/** List StandbyVirtualMachinePoolRuntimeViewResource resources by StandbyVirtualMachinePoolResource */
|
|
13
|
-
export declare function standbyVirtualMachinePoolRuntimeViewsListByStandbyPool(context: Client, subscriptionId: string, resourceGroupName: string, standbyVirtualMachinePoolName: string, options?: StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams): PagedAsyncIterableIterator<StandbyVirtualMachinePoolRuntimeViewResource>;
|
|
1
|
+
export { listByStandbyPool, get } from "./operations.js";
|
|
2
|
+
export { StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams, StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams, } from "./options.js";
|
|
14
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/standbyVirtualMachinePoolRuntimeViews/index.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/standbyVirtualMachinePoolRuntimeViews/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EACL,oEAAoE,EACpE,sDAAsD,GACvD,MAAM,cAAc,CAAC"}
|