@azure/arm-containerinstance 9.2.0-beta.1 → 9.2.0-beta.2
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 +11 -1
- package/LICENSE +4 -4
- package/README.md +26 -19
- package/{dist-esm/src → dist/browser}/containerInstanceManagementClient.d.ts +2 -2
- package/dist/browser/containerInstanceManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/containerInstanceManagementClient.js +36 -24
- package/dist/browser/containerInstanceManagementClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +18 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +8 -2
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/containerGroupProfileOperations.d.ts +3 -3
- package/dist/browser/operations/containerGroupProfileOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/containerGroupProfileOperations.js +26 -43
- package/dist/browser/operations/containerGroupProfileOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/containerGroupProfiles.d.ts +3 -3
- package/dist/browser/operations/containerGroupProfiles.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/containerGroupProfiles.js +48 -82
- package/dist/browser/operations/containerGroupProfiles.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/containerGroups.d.ts +3 -3
- package/dist/browser/operations/containerGroups.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/containerGroups.js +213 -243
- package/dist/browser/operations/containerGroups.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/containers.d.ts +3 -3
- package/dist/browser/operations/containers.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/containers.js +3 -2
- package/dist/browser/operations/containers.js.map +1 -0
- package/dist/browser/operations/index.d.ts +8 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +15 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/location.d.ts +3 -3
- package/dist/browser/operations/location.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/location.js +57 -108
- package/dist/browser/operations/location.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +26 -43
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/subnetServiceAssociationLink.d.ts +3 -3
- package/dist/browser/operations/subnetServiceAssociationLink.d.ts.map +1 -0
- package/dist/browser/operations/subnetServiceAssociationLink.js +109 -0
- package/dist/browser/operations/subnetServiceAssociationLink.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/containerGroupProfileOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/containerGroupProfileOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/containerGroupProfileOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/containerGroupProfiles.d.ts +1 -1
- package/dist/browser/operationsInterfaces/containerGroupProfiles.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/containerGroupProfiles.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/containerGroups.d.ts +1 -1
- package/dist/browser/operationsInterfaces/containerGroups.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/containerGroups.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/containers.d.ts +1 -1
- package/dist/browser/operationsInterfaces/containers.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/containers.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +8 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +15 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/location.d.ts +1 -1
- package/dist/browser/operationsInterfaces/location.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/location.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/subnetServiceAssociationLink.d.ts +1 -1
- package/dist/browser/operationsInterfaces/subnetServiceAssociationLink.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/subnetServiceAssociationLink.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/containerInstanceManagementClient.d.ts +26 -0
- package/dist/commonjs/containerInstanceManagementClient.d.ts.map +1 -0
- package/dist/commonjs/containerInstanceManagementClient.js +124 -0
- package/dist/commonjs/containerInstanceManagementClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +21 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-containerinstance.d.ts → dist/commonjs/models/index.d.ts} +1242 -1711
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +119 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +66 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +2246 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +23 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +207 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/containerGroupProfileOperations.d.ts +55 -0
- package/dist/commonjs/operations/containerGroupProfileOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/containerGroupProfileOperations.js +179 -0
- package/dist/commonjs/operations/containerGroupProfileOperations.js.map +1 -0
- package/dist/commonjs/operations/containerGroupProfiles.d.ts +95 -0
- package/dist/commonjs/operations/containerGroupProfiles.d.ts.map +1 -0
- package/dist/commonjs/operations/containerGroupProfiles.js +372 -0
- package/dist/commonjs/operations/containerGroupProfiles.js.map +1 -0
- package/dist/commonjs/operations/containerGroups.d.ts +159 -0
- package/dist/commonjs/operations/containerGroups.d.ts.map +1 -0
- package/dist/commonjs/operations/containerGroups.js +702 -0
- package/dist/commonjs/operations/containerGroups.js.map +1 -0
- package/dist/commonjs/operations/containers.d.ts +40 -0
- package/dist/commonjs/operations/containers.d.ts.map +1 -0
- package/dist/commonjs/operations/containers.js +140 -0
- package/dist/commonjs/operations/containers.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +8 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +18 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/location.d.ts +70 -0
- package/dist/commonjs/operations/location.d.ts.map +1 -0
- package/dist/commonjs/operations/location.js +295 -0
- package/dist/commonjs/operations/location.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +121 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/subnetServiceAssociationLink.d.ts +32 -0
- package/dist/commonjs/operations/subnetServiceAssociationLink.d.ts.map +1 -0
- package/dist/commonjs/operations/subnetServiceAssociationLink.js +114 -0
- package/dist/commonjs/operations/subnetServiceAssociationLink.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/containerGroupProfileOperations.d.ts +27 -0
- package/dist/commonjs/operationsInterfaces/containerGroupProfileOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/containerGroupProfileOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/containerGroupProfileOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/containerGroupProfiles.d.ts +55 -0
- package/dist/commonjs/operationsInterfaces/containerGroupProfiles.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/containerGroupProfiles.js +10 -0
- package/dist/commonjs/operationsInterfaces/containerGroupProfiles.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/containerGroups.d.ts +119 -0
- package/dist/commonjs/operationsInterfaces/containerGroups.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/containerGroups.js +10 -0
- package/dist/commonjs/operationsInterfaces/containerGroups.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/containers.d.ts +32 -0
- package/dist/commonjs/operationsInterfaces/containers.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/containers.js +10 -0
- package/dist/commonjs/operationsInterfaces/containers.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +8 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +18 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/location.d.ts +24 -0
- package/dist/commonjs/operationsInterfaces/location.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/location.js +10 -0
- package/dist/commonjs/operationsInterfaces/location.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/subnetServiceAssociationLink.d.ts +24 -0
- package/dist/commonjs/operationsInterfaces/subnetServiceAssociationLink.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/subnetServiceAssociationLink.js +10 -0
- package/dist/commonjs/operationsInterfaces/subnetServiceAssociationLink.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/containerInstanceManagementClient.d.ts +26 -0
- package/dist/esm/containerInstanceManagementClient.d.ts.map +1 -0
- package/dist/esm/containerInstanceManagementClient.js +119 -0
- package/dist/esm/containerInstanceManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +18 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1242 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +116 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +66 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +2242 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +23 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +204 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/containerGroupProfileOperations.d.ts +55 -0
- package/dist/esm/operations/containerGroupProfileOperations.d.ts.map +1 -0
- package/dist/esm/operations/containerGroupProfileOperations.js +174 -0
- package/dist/esm/operations/containerGroupProfileOperations.js.map +1 -0
- package/dist/esm/operations/containerGroupProfiles.d.ts +95 -0
- package/dist/esm/operations/containerGroupProfiles.d.ts.map +1 -0
- package/dist/esm/operations/containerGroupProfiles.js +367 -0
- package/dist/esm/operations/containerGroupProfiles.js.map +1 -0
- package/dist/esm/operations/containerGroups.d.ts +159 -0
- package/dist/esm/operations/containerGroups.d.ts.map +1 -0
- package/dist/esm/operations/containerGroups.js +697 -0
- package/dist/esm/operations/containerGroups.js.map +1 -0
- package/dist/esm/operations/containers.d.ts +40 -0
- package/dist/esm/operations/containers.d.ts.map +1 -0
- package/dist/esm/operations/containers.js +135 -0
- package/dist/esm/operations/containers.js.map +1 -0
- package/dist/esm/operations/index.d.ts +8 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +15 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/location.d.ts +70 -0
- package/dist/esm/operations/location.d.ts.map +1 -0
- package/dist/esm/operations/location.js +290 -0
- package/dist/esm/operations/location.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +116 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/subnetServiceAssociationLink.d.ts +32 -0
- package/dist/esm/operations/subnetServiceAssociationLink.d.ts.map +1 -0
- package/dist/esm/operations/subnetServiceAssociationLink.js +109 -0
- package/dist/esm/operations/subnetServiceAssociationLink.js.map +1 -0
- package/dist/esm/operationsInterfaces/containerGroupProfileOperations.d.ts +27 -0
- package/dist/esm/operationsInterfaces/containerGroupProfileOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/containerGroupProfileOperations.js +9 -0
- package/dist/esm/operationsInterfaces/containerGroupProfileOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/containerGroupProfiles.d.ts +55 -0
- package/dist/esm/operationsInterfaces/containerGroupProfiles.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/containerGroupProfiles.js +9 -0
- package/dist/esm/operationsInterfaces/containerGroupProfiles.js.map +1 -0
- package/dist/esm/operationsInterfaces/containerGroups.d.ts +119 -0
- package/dist/esm/operationsInterfaces/containerGroups.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/containerGroups.js +9 -0
- package/dist/esm/operationsInterfaces/containerGroups.js.map +1 -0
- package/dist/esm/operationsInterfaces/containers.d.ts +32 -0
- package/dist/esm/operationsInterfaces/containers.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/containers.js +9 -0
- package/dist/esm/operationsInterfaces/containers.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +8 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +15 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/location.d.ts +24 -0
- package/dist/esm/operationsInterfaces/location.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/location.js +9 -0
- package/dist/esm/operationsInterfaces/location.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/subnetServiceAssociationLink.d.ts +24 -0
- package/dist/esm/operationsInterfaces/subnetServiceAssociationLink.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/subnetServiceAssociationLink.js +9 -0
- package/dist/esm/operationsInterfaces/subnetServiceAssociationLink.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/containerInstanceManagementClient.d.ts +26 -0
- package/dist/react-native/containerInstanceManagementClient.d.ts.map +1 -0
- package/dist/react-native/containerInstanceManagementClient.js +119 -0
- package/dist/react-native/containerInstanceManagementClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +18 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1242 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +116 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +66 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +2242 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +23 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +204 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/containerGroupProfileOperations.d.ts +55 -0
- package/dist/react-native/operations/containerGroupProfileOperations.d.ts.map +1 -0
- package/dist/react-native/operations/containerGroupProfileOperations.js +174 -0
- package/dist/react-native/operations/containerGroupProfileOperations.js.map +1 -0
- package/dist/react-native/operations/containerGroupProfiles.d.ts +95 -0
- package/dist/react-native/operations/containerGroupProfiles.d.ts.map +1 -0
- package/dist/react-native/operations/containerGroupProfiles.js +367 -0
- package/dist/react-native/operations/containerGroupProfiles.js.map +1 -0
- package/dist/react-native/operations/containerGroups.d.ts +159 -0
- package/dist/react-native/operations/containerGroups.d.ts.map +1 -0
- package/dist/react-native/operations/containerGroups.js +697 -0
- package/dist/react-native/operations/containerGroups.js.map +1 -0
- package/dist/react-native/operations/containers.d.ts +40 -0
- package/dist/react-native/operations/containers.d.ts.map +1 -0
- package/dist/react-native/operations/containers.js +135 -0
- package/dist/react-native/operations/containers.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +8 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +15 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/location.d.ts +70 -0
- package/dist/react-native/operations/location.d.ts.map +1 -0
- package/dist/react-native/operations/location.js +290 -0
- package/dist/react-native/operations/location.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +116 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/subnetServiceAssociationLink.d.ts +32 -0
- package/dist/react-native/operations/subnetServiceAssociationLink.d.ts.map +1 -0
- package/dist/react-native/operations/subnetServiceAssociationLink.js +109 -0
- package/dist/react-native/operations/subnetServiceAssociationLink.js.map +1 -0
- package/dist/react-native/operationsInterfaces/containerGroupProfileOperations.d.ts +27 -0
- package/dist/react-native/operationsInterfaces/containerGroupProfileOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/containerGroupProfileOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/containerGroupProfileOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/containerGroupProfiles.d.ts +55 -0
- package/dist/react-native/operationsInterfaces/containerGroupProfiles.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/containerGroupProfiles.js +9 -0
- package/dist/react-native/operationsInterfaces/containerGroupProfiles.js.map +1 -0
- package/dist/react-native/operationsInterfaces/containerGroups.d.ts +119 -0
- package/dist/react-native/operationsInterfaces/containerGroups.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/containerGroups.js +9 -0
- package/dist/react-native/operationsInterfaces/containerGroups.js.map +1 -0
- package/dist/react-native/operationsInterfaces/containers.d.ts +32 -0
- package/dist/react-native/operationsInterfaces/containers.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/containers.js +9 -0
- package/dist/react-native/operationsInterfaces/containers.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +8 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +15 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/location.d.ts +24 -0
- package/dist/react-native/operationsInterfaces/location.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/location.js +9 -0
- package/dist/react-native/operationsInterfaces/location.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/subnetServiceAssociationLink.d.ts +24 -0
- package/dist/react-native/operationsInterfaces/subnetServiceAssociationLink.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/subnetServiceAssociationLink.js +9 -0
- package/dist/react-native/operationsInterfaces/subnetServiceAssociationLink.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +86 -69
- package/review/{arm-containerinstance.api.md → arm-containerinstance-node.api.md} +2 -3
- package/dist/index.js +0 -4809
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.d.ts +0 -2
- package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.js +0 -40
- package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.js.map +0 -1
- package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.d.ts +0 -2
- package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.js +0 -55
- package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.js.map +0 -1
- package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.js +0 -260
- package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.js +0 -39
- package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/containerGroupProfilesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/containerGroupProfilesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/containerGroupProfilesGetSample.js +0 -58
- package/dist-esm/samples-dev/containerGroupProfilesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.js +0 -54
- package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/containerGroupProfilesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/containerGroupProfilesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/containerGroupProfilesListSample.js +0 -53
- package/dist-esm/samples-dev/containerGroupProfilesListSample.js.map +0 -1
- package/dist-esm/samples-dev/containerGroupProfilesPatchSample.d.ts +0 -2
- package/dist-esm/samples-dev/containerGroupProfilesPatchSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/containerGroupProfilesPatchSample.js +0 -42
- package/dist-esm/samples-dev/containerGroupProfilesPatchSample.js.map +0 -1
- package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.js +0 -320
- package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/containerGroupsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/containerGroupsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/containerGroupsDeleteSample.js +0 -39
- package/dist-esm/samples-dev/containerGroupsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/containerGroupsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/containerGroupsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/containerGroupsGetSample.js +0 -77
- package/dist-esm/samples-dev/containerGroupsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.js +0 -54
- package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/containerGroupsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/containerGroupsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/containerGroupsListSample.js +0 -53
- package/dist-esm/samples-dev/containerGroupsListSample.js.map +0 -1
- package/dist-esm/samples-dev/containerGroupsRestartSample.d.ts +0 -2
- package/dist-esm/samples-dev/containerGroupsRestartSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/containerGroupsRestartSample.js +0 -39
- package/dist-esm/samples-dev/containerGroupsRestartSample.js.map +0 -1
- package/dist-esm/samples-dev/containerGroupsStartSample.d.ts +0 -2
- package/dist-esm/samples-dev/containerGroupsStartSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/containerGroupsStartSample.js +0 -39
- package/dist-esm/samples-dev/containerGroupsStartSample.js.map +0 -1
- package/dist-esm/samples-dev/containerGroupsStopSample.d.ts +0 -2
- package/dist-esm/samples-dev/containerGroupsStopSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/containerGroupsStopSample.js +0 -39
- package/dist-esm/samples-dev/containerGroupsStopSample.js.map +0 -1
- package/dist-esm/samples-dev/containerGroupsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/containerGroupsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/containerGroupsUpdateSample.js +0 -42
- package/dist-esm/samples-dev/containerGroupsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/containersAttachSample.d.ts +0 -2
- package/dist-esm/samples-dev/containersAttachSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/containersAttachSample.js +0 -40
- package/dist-esm/samples-dev/containersAttachSample.js.map +0 -1
- package/dist-esm/samples-dev/containersExecuteCommandSample.d.ts +0 -2
- package/dist-esm/samples-dev/containersExecuteCommandSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/containersExecuteCommandSample.js +0 -44
- package/dist-esm/samples-dev/containersExecuteCommandSample.js.map +0 -1
- package/dist-esm/samples-dev/containersListLogsSample.d.ts +0 -2
- package/dist-esm/samples-dev/containersListLogsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/containersListLogsSample.js +0 -42
- package/dist-esm/samples-dev/containersListLogsSample.js.map +0 -1
- package/dist-esm/samples-dev/locationListCachedImagesSample.d.ts +0 -2
- package/dist-esm/samples-dev/locationListCachedImagesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/locationListCachedImagesSample.js +0 -54
- package/dist-esm/samples-dev/locationListCachedImagesSample.js.map +0 -1
- package/dist-esm/samples-dev/locationListCapabilitiesSample.d.ts +0 -2
- package/dist-esm/samples-dev/locationListCapabilitiesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/locationListCapabilitiesSample.js +0 -54
- package/dist-esm/samples-dev/locationListCapabilitiesSample.js.map +0 -1
- package/dist-esm/samples-dev/locationListUsageSample.d.ts +0 -2
- package/dist-esm/samples-dev/locationListUsageSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/locationListUsageSample.js +0 -54
- package/dist-esm/samples-dev/locationListUsageSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -53
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.js +0 -40
- package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.js.map +0 -1
- package/dist-esm/src/containerInstanceManagementClient.d.ts.map +0 -1
- package/dist-esm/src/containerInstanceManagementClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -21
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/containerGroupProfileOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/containerGroupProfileOperations.js.map +0 -1
- package/dist-esm/src/operations/containerGroupProfiles.d.ts.map +0 -1
- package/dist-esm/src/operations/containerGroupProfiles.js.map +0 -1
- package/dist-esm/src/operations/containerGroups.d.ts.map +0 -1
- package/dist-esm/src/operations/containerGroups.js.map +0 -1
- package/dist-esm/src/operations/containers.d.ts.map +0 -1
- package/dist-esm/src/operations/containers.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -8
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -15
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/location.d.ts.map +0 -1
- package/dist-esm/src/operations/location.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/subnetServiceAssociationLink.d.ts.map +0 -1
- package/dist-esm/src/operations/subnetServiceAssociationLink.js +0 -108
- package/dist-esm/src/operations/subnetServiceAssociationLink.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/containerGroupProfiles.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/containerGroupProfiles.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/containerGroups.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/containerGroups.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/containers.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/containers.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -8
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -15
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/location.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/location.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/subnetServiceAssociationLink.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/subnetServiceAssociationLink.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/containerinstance_examples.d.ts +0 -4
- package/dist-esm/test/containerinstance_examples.d.ts.map +0 -1
- package/dist-esm/test/containerinstance_examples.js +0 -159
- package/dist-esm/test/containerinstance_examples.js.map +0 -1
- package/src/containerInstanceManagementClient.ts +0 -172
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -1410
- package/src/models/mappers.ts +0 -2311
- package/src/models/parameters.ts +0 -236
- package/src/operations/containerGroupProfileOperations.ts +0 -255
- package/src/operations/containerGroupProfiles.ts +0 -485
- package/src/operations/containerGroups.ts +0 -944
- package/src/operations/containers.ts +0 -177
- package/src/operations/index.ts +0 -15
- package/src/operations/location.ts +0 -401
- package/src/operations/operations.ts +0 -149
- package/src/operations/subnetServiceAssociationLink.ts +0 -149
- package/src/operationsInterfaces/containerGroupProfileOperations.ts +0 -50
- package/src/operationsInterfaces/containerGroupProfiles.ts +0 -99
- package/src/operationsInterfaces/containerGroups.ts +0 -212
- package/src/operationsInterfaces/containers.ts +0 -64
- package/src/operationsInterfaces/index.ts +0 -15
- package/src/operationsInterfaces/location.ts +0 -49
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/subnetServiceAssociationLink.ts +0 -42
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/containerGroupProfileOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/containerGroupProfiles.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/containerGroups.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/containers.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/location.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/subnetServiceAssociationLink.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
|
@@ -0,0 +1,697 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
|
+
import { createHttpPoller, } from "@azure/core-lro";
|
|
13
|
+
import { createLroSpec } from "../lroImpl.js";
|
|
14
|
+
/// <reference lib="esnext.asynciterable" />
|
|
15
|
+
/** Class containing ContainerGroups operations. */
|
|
16
|
+
export class ContainerGroupsImpl {
|
|
17
|
+
client;
|
|
18
|
+
/**
|
|
19
|
+
* Initialize a new instance of the class ContainerGroups class.
|
|
20
|
+
* @param client Reference to the service client
|
|
21
|
+
*/
|
|
22
|
+
constructor(client) {
|
|
23
|
+
this.client = client;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Get a list of container groups in the specified subscription. This operation returns properties of
|
|
27
|
+
* each container group including containers, image registry credentials, restart policy, IP address
|
|
28
|
+
* type, OS type, state, and volumes.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
list(options) {
|
|
32
|
+
const iter = this.listPagingAll(options);
|
|
33
|
+
return {
|
|
34
|
+
next() {
|
|
35
|
+
return iter.next();
|
|
36
|
+
},
|
|
37
|
+
[Symbol.asyncIterator]() {
|
|
38
|
+
return this;
|
|
39
|
+
},
|
|
40
|
+
byPage: (settings) => {
|
|
41
|
+
if (settings?.maxPageSize) {
|
|
42
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
43
|
+
}
|
|
44
|
+
return this.listPagingPage(options, settings);
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
async *listPagingPage(options, settings) {
|
|
49
|
+
let result;
|
|
50
|
+
let continuationToken = settings?.continuationToken;
|
|
51
|
+
if (!continuationToken) {
|
|
52
|
+
result = await this._list(options);
|
|
53
|
+
let page = result.value || [];
|
|
54
|
+
continuationToken = result.nextLink;
|
|
55
|
+
setContinuationToken(page, continuationToken);
|
|
56
|
+
yield page;
|
|
57
|
+
}
|
|
58
|
+
while (continuationToken) {
|
|
59
|
+
result = await this._listNext(continuationToken, options);
|
|
60
|
+
continuationToken = result.nextLink;
|
|
61
|
+
let page = result.value || [];
|
|
62
|
+
setContinuationToken(page, continuationToken);
|
|
63
|
+
yield page;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
async *listPagingAll(options) {
|
|
67
|
+
for await (const page of this.listPagingPage(options)) {
|
|
68
|
+
yield* page;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Get a list of container groups in a specified subscription and resource group. This operation
|
|
73
|
+
* returns properties of each container group including containers, image registry credentials, restart
|
|
74
|
+
* policy, IP address type, OS type, state, and volumes.
|
|
75
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
79
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
80
|
+
return {
|
|
81
|
+
next() {
|
|
82
|
+
return iter.next();
|
|
83
|
+
},
|
|
84
|
+
[Symbol.asyncIterator]() {
|
|
85
|
+
return this;
|
|
86
|
+
},
|
|
87
|
+
byPage: (settings) => {
|
|
88
|
+
if (settings?.maxPageSize) {
|
|
89
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
90
|
+
}
|
|
91
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
92
|
+
},
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
96
|
+
let result;
|
|
97
|
+
let continuationToken = settings?.continuationToken;
|
|
98
|
+
if (!continuationToken) {
|
|
99
|
+
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
100
|
+
let page = result.value || [];
|
|
101
|
+
continuationToken = result.nextLink;
|
|
102
|
+
setContinuationToken(page, continuationToken);
|
|
103
|
+
yield page;
|
|
104
|
+
}
|
|
105
|
+
while (continuationToken) {
|
|
106
|
+
result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
|
|
107
|
+
continuationToken = result.nextLink;
|
|
108
|
+
let page = result.value || [];
|
|
109
|
+
setContinuationToken(page, continuationToken);
|
|
110
|
+
yield page;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
async *listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
114
|
+
for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
|
|
115
|
+
yield* page;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Get a list of container groups in the specified subscription. This operation returns properties of
|
|
120
|
+
* each container group including containers, image registry credentials, restart policy, IP address
|
|
121
|
+
* type, OS type, state, and volumes.
|
|
122
|
+
* @param options The options parameters.
|
|
123
|
+
*/
|
|
124
|
+
_list(options) {
|
|
125
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Get a list of container groups in a specified subscription and resource group. This operation
|
|
129
|
+
* returns properties of each container group including containers, image registry credentials, restart
|
|
130
|
+
* policy, IP address type, OS type, state, and volumes.
|
|
131
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
132
|
+
* @param options The options parameters.
|
|
133
|
+
*/
|
|
134
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
135
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Gets the properties of the specified container group in the specified subscription and resource
|
|
139
|
+
* group. The operation returns the properties of each container group including containers, image
|
|
140
|
+
* registry credentials, restart policy, IP address type, OS type, state, and volumes.
|
|
141
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
142
|
+
* @param containerGroupName The name of the container group.
|
|
143
|
+
* @param options The options parameters.
|
|
144
|
+
*/
|
|
145
|
+
get(resourceGroupName, containerGroupName, options) {
|
|
146
|
+
return this.client.sendOperationRequest({ resourceGroupName, containerGroupName, options }, getOperationSpec);
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Create or update container groups with specified configurations.
|
|
150
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
151
|
+
* @param containerGroupName The name of the container group.
|
|
152
|
+
* @param containerGroup The properties of the container group to be created or updated.
|
|
153
|
+
* @param options The options parameters.
|
|
154
|
+
*/
|
|
155
|
+
async beginCreateOrUpdate(resourceGroupName, containerGroupName, containerGroup, options) {
|
|
156
|
+
const directSendOperation = async (args, spec) => {
|
|
157
|
+
return this.client.sendOperationRequest(args, spec);
|
|
158
|
+
};
|
|
159
|
+
const sendOperationFn = async (args, spec) => {
|
|
160
|
+
let currentRawResponse = undefined;
|
|
161
|
+
const providedCallback = args.options?.onResponse;
|
|
162
|
+
const callback = (rawResponse, flatResponse) => {
|
|
163
|
+
currentRawResponse = rawResponse;
|
|
164
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
165
|
+
};
|
|
166
|
+
const updatedArgs = {
|
|
167
|
+
...args,
|
|
168
|
+
options: {
|
|
169
|
+
...args.options,
|
|
170
|
+
onResponse: callback,
|
|
171
|
+
},
|
|
172
|
+
};
|
|
173
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
174
|
+
return {
|
|
175
|
+
flatResponse,
|
|
176
|
+
rawResponse: {
|
|
177
|
+
statusCode: currentRawResponse.status,
|
|
178
|
+
body: currentRawResponse.parsedBody,
|
|
179
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
180
|
+
},
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
const lro = createLroSpec({
|
|
184
|
+
sendOperationFn,
|
|
185
|
+
args: { resourceGroupName, containerGroupName, containerGroup, options },
|
|
186
|
+
spec: createOrUpdateOperationSpec,
|
|
187
|
+
});
|
|
188
|
+
const poller = await createHttpPoller(lro, {
|
|
189
|
+
restoreFrom: options?.resumeFrom,
|
|
190
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
191
|
+
});
|
|
192
|
+
await poller.poll();
|
|
193
|
+
return poller;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Create or update container groups with specified configurations.
|
|
197
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
198
|
+
* @param containerGroupName The name of the container group.
|
|
199
|
+
* @param containerGroup The properties of the container group to be created or updated.
|
|
200
|
+
* @param options The options parameters.
|
|
201
|
+
*/
|
|
202
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, containerGroupName, containerGroup, options) {
|
|
203
|
+
const poller = await this.beginCreateOrUpdate(resourceGroupName, containerGroupName, containerGroup, options);
|
|
204
|
+
return poller.pollUntilDone();
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Updates container group tags with specified values.
|
|
208
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
209
|
+
* @param containerGroupName The name of the container group.
|
|
210
|
+
* @param resource The container group resource with just the tags to be updated.
|
|
211
|
+
* @param options The options parameters.
|
|
212
|
+
*/
|
|
213
|
+
update(resourceGroupName, containerGroupName, resource, options) {
|
|
214
|
+
return this.client.sendOperationRequest({ resourceGroupName, containerGroupName, resource, options }, updateOperationSpec);
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Delete the specified container group in the specified subscription and resource group. The operation
|
|
218
|
+
* does not delete other resources provided by the user, such as volumes.
|
|
219
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
220
|
+
* @param containerGroupName The name of the container group.
|
|
221
|
+
* @param options The options parameters.
|
|
222
|
+
*/
|
|
223
|
+
async beginDelete(resourceGroupName, containerGroupName, options) {
|
|
224
|
+
const directSendOperation = async (args, spec) => {
|
|
225
|
+
return this.client.sendOperationRequest(args, spec);
|
|
226
|
+
};
|
|
227
|
+
const sendOperationFn = async (args, spec) => {
|
|
228
|
+
let currentRawResponse = undefined;
|
|
229
|
+
const providedCallback = args.options?.onResponse;
|
|
230
|
+
const callback = (rawResponse, flatResponse) => {
|
|
231
|
+
currentRawResponse = rawResponse;
|
|
232
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
233
|
+
};
|
|
234
|
+
const updatedArgs = {
|
|
235
|
+
...args,
|
|
236
|
+
options: {
|
|
237
|
+
...args.options,
|
|
238
|
+
onResponse: callback,
|
|
239
|
+
},
|
|
240
|
+
};
|
|
241
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
242
|
+
return {
|
|
243
|
+
flatResponse,
|
|
244
|
+
rawResponse: {
|
|
245
|
+
statusCode: currentRawResponse.status,
|
|
246
|
+
body: currentRawResponse.parsedBody,
|
|
247
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
248
|
+
},
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
const lro = createLroSpec({
|
|
252
|
+
sendOperationFn,
|
|
253
|
+
args: { resourceGroupName, containerGroupName, options },
|
|
254
|
+
spec: deleteOperationSpec,
|
|
255
|
+
});
|
|
256
|
+
const poller = await createHttpPoller(lro, {
|
|
257
|
+
restoreFrom: options?.resumeFrom,
|
|
258
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
259
|
+
});
|
|
260
|
+
await poller.poll();
|
|
261
|
+
return poller;
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Delete the specified container group in the specified subscription and resource group. The operation
|
|
265
|
+
* does not delete other resources provided by the user, such as volumes.
|
|
266
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
267
|
+
* @param containerGroupName The name of the container group.
|
|
268
|
+
* @param options The options parameters.
|
|
269
|
+
*/
|
|
270
|
+
async beginDeleteAndWait(resourceGroupName, containerGroupName, options) {
|
|
271
|
+
const poller = await this.beginDelete(resourceGroupName, containerGroupName, options);
|
|
272
|
+
return poller.pollUntilDone();
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* Restarts all containers in a container group in place. If container image has updates, new image
|
|
276
|
+
* will be downloaded.
|
|
277
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
278
|
+
* @param containerGroupName The name of the container group.
|
|
279
|
+
* @param options The options parameters.
|
|
280
|
+
*/
|
|
281
|
+
async beginRestart(resourceGroupName, containerGroupName, options) {
|
|
282
|
+
const directSendOperation = async (args, spec) => {
|
|
283
|
+
return this.client.sendOperationRequest(args, spec);
|
|
284
|
+
};
|
|
285
|
+
const sendOperationFn = async (args, spec) => {
|
|
286
|
+
let currentRawResponse = undefined;
|
|
287
|
+
const providedCallback = args.options?.onResponse;
|
|
288
|
+
const callback = (rawResponse, flatResponse) => {
|
|
289
|
+
currentRawResponse = rawResponse;
|
|
290
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
291
|
+
};
|
|
292
|
+
const updatedArgs = {
|
|
293
|
+
...args,
|
|
294
|
+
options: {
|
|
295
|
+
...args.options,
|
|
296
|
+
onResponse: callback,
|
|
297
|
+
},
|
|
298
|
+
};
|
|
299
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
300
|
+
return {
|
|
301
|
+
flatResponse,
|
|
302
|
+
rawResponse: {
|
|
303
|
+
statusCode: currentRawResponse.status,
|
|
304
|
+
body: currentRawResponse.parsedBody,
|
|
305
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
306
|
+
},
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
const lro = createLroSpec({
|
|
310
|
+
sendOperationFn,
|
|
311
|
+
args: { resourceGroupName, containerGroupName, options },
|
|
312
|
+
spec: restartOperationSpec,
|
|
313
|
+
});
|
|
314
|
+
const poller = await createHttpPoller(lro, {
|
|
315
|
+
restoreFrom: options?.resumeFrom,
|
|
316
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
317
|
+
});
|
|
318
|
+
await poller.poll();
|
|
319
|
+
return poller;
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Restarts all containers in a container group in place. If container image has updates, new image
|
|
323
|
+
* will be downloaded.
|
|
324
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
325
|
+
* @param containerGroupName The name of the container group.
|
|
326
|
+
* @param options The options parameters.
|
|
327
|
+
*/
|
|
328
|
+
async beginRestartAndWait(resourceGroupName, containerGroupName, options) {
|
|
329
|
+
const poller = await this.beginRestart(resourceGroupName, containerGroupName, options);
|
|
330
|
+
return poller.pollUntilDone();
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* Stops all containers in a container group. Compute resources will be deallocated and billing will
|
|
334
|
+
* stop.
|
|
335
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
336
|
+
* @param containerGroupName The name of the container group.
|
|
337
|
+
* @param options The options parameters.
|
|
338
|
+
*/
|
|
339
|
+
stop(resourceGroupName, containerGroupName, options) {
|
|
340
|
+
return this.client.sendOperationRequest({ resourceGroupName, containerGroupName, options }, stopOperationSpec);
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* Starts all containers in a container group. Compute resources will be allocated and billing will
|
|
344
|
+
* start.
|
|
345
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
346
|
+
* @param containerGroupName The name of the container group.
|
|
347
|
+
* @param options The options parameters.
|
|
348
|
+
*/
|
|
349
|
+
async beginStart(resourceGroupName, containerGroupName, options) {
|
|
350
|
+
const directSendOperation = async (args, spec) => {
|
|
351
|
+
return this.client.sendOperationRequest(args, spec);
|
|
352
|
+
};
|
|
353
|
+
const sendOperationFn = async (args, spec) => {
|
|
354
|
+
let currentRawResponse = undefined;
|
|
355
|
+
const providedCallback = args.options?.onResponse;
|
|
356
|
+
const callback = (rawResponse, flatResponse) => {
|
|
357
|
+
currentRawResponse = rawResponse;
|
|
358
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
359
|
+
};
|
|
360
|
+
const updatedArgs = {
|
|
361
|
+
...args,
|
|
362
|
+
options: {
|
|
363
|
+
...args.options,
|
|
364
|
+
onResponse: callback,
|
|
365
|
+
},
|
|
366
|
+
};
|
|
367
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
368
|
+
return {
|
|
369
|
+
flatResponse,
|
|
370
|
+
rawResponse: {
|
|
371
|
+
statusCode: currentRawResponse.status,
|
|
372
|
+
body: currentRawResponse.parsedBody,
|
|
373
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
374
|
+
},
|
|
375
|
+
};
|
|
376
|
+
};
|
|
377
|
+
const lro = createLroSpec({
|
|
378
|
+
sendOperationFn,
|
|
379
|
+
args: { resourceGroupName, containerGroupName, options },
|
|
380
|
+
spec: startOperationSpec,
|
|
381
|
+
});
|
|
382
|
+
const poller = await createHttpPoller(lro, {
|
|
383
|
+
restoreFrom: options?.resumeFrom,
|
|
384
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
385
|
+
});
|
|
386
|
+
await poller.poll();
|
|
387
|
+
return poller;
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* Starts all containers in a container group. Compute resources will be allocated and billing will
|
|
391
|
+
* start.
|
|
392
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
393
|
+
* @param containerGroupName The name of the container group.
|
|
394
|
+
* @param options The options parameters.
|
|
395
|
+
*/
|
|
396
|
+
async beginStartAndWait(resourceGroupName, containerGroupName, options) {
|
|
397
|
+
const poller = await this.beginStart(resourceGroupName, containerGroupName, options);
|
|
398
|
+
return poller.pollUntilDone();
|
|
399
|
+
}
|
|
400
|
+
/**
|
|
401
|
+
* Gets all the network dependencies for this container group to allow complete control of network
|
|
402
|
+
* setting and configuration. For container groups, this will always be an empty list.
|
|
403
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
404
|
+
* @param containerGroupName The name of the container group.
|
|
405
|
+
* @param options The options parameters.
|
|
406
|
+
*/
|
|
407
|
+
getOutboundNetworkDependenciesEndpoints(resourceGroupName, containerGroupName, options) {
|
|
408
|
+
return this.client.sendOperationRequest({ resourceGroupName, containerGroupName, options }, getOutboundNetworkDependenciesEndpointsOperationSpec);
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
411
|
+
* ListNext
|
|
412
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
413
|
+
* @param options The options parameters.
|
|
414
|
+
*/
|
|
415
|
+
_listNext(nextLink, options) {
|
|
416
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* ListByResourceGroupNext
|
|
420
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
421
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
422
|
+
* @param options The options parameters.
|
|
423
|
+
*/
|
|
424
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
425
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
// Operation Specifications
|
|
429
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
430
|
+
const listOperationSpec = {
|
|
431
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/containerGroups",
|
|
432
|
+
httpMethod: "GET",
|
|
433
|
+
responses: {
|
|
434
|
+
200: {
|
|
435
|
+
bodyMapper: Mappers.ContainerGroupListResult,
|
|
436
|
+
},
|
|
437
|
+
default: {
|
|
438
|
+
bodyMapper: Mappers.CloudError,
|
|
439
|
+
},
|
|
440
|
+
},
|
|
441
|
+
queryParameters: [Parameters.apiVersion],
|
|
442
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
443
|
+
headerParameters: [Parameters.accept],
|
|
444
|
+
serializer,
|
|
445
|
+
};
|
|
446
|
+
const listByResourceGroupOperationSpec = {
|
|
447
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups",
|
|
448
|
+
httpMethod: "GET",
|
|
449
|
+
responses: {
|
|
450
|
+
200: {
|
|
451
|
+
bodyMapper: Mappers.ContainerGroupListResult,
|
|
452
|
+
},
|
|
453
|
+
default: {
|
|
454
|
+
bodyMapper: Mappers.CloudError,
|
|
455
|
+
},
|
|
456
|
+
},
|
|
457
|
+
queryParameters: [Parameters.apiVersion],
|
|
458
|
+
urlParameters: [
|
|
459
|
+
Parameters.$host,
|
|
460
|
+
Parameters.subscriptionId,
|
|
461
|
+
Parameters.resourceGroupName,
|
|
462
|
+
],
|
|
463
|
+
headerParameters: [Parameters.accept],
|
|
464
|
+
serializer,
|
|
465
|
+
};
|
|
466
|
+
const getOperationSpec = {
|
|
467
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}",
|
|
468
|
+
httpMethod: "GET",
|
|
469
|
+
responses: {
|
|
470
|
+
200: {
|
|
471
|
+
bodyMapper: Mappers.ContainerGroup,
|
|
472
|
+
},
|
|
473
|
+
default: {
|
|
474
|
+
bodyMapper: Mappers.CloudError,
|
|
475
|
+
},
|
|
476
|
+
},
|
|
477
|
+
queryParameters: [Parameters.apiVersion],
|
|
478
|
+
urlParameters: [
|
|
479
|
+
Parameters.$host,
|
|
480
|
+
Parameters.subscriptionId,
|
|
481
|
+
Parameters.resourceGroupName,
|
|
482
|
+
Parameters.containerGroupName,
|
|
483
|
+
],
|
|
484
|
+
headerParameters: [Parameters.accept],
|
|
485
|
+
serializer,
|
|
486
|
+
};
|
|
487
|
+
const createOrUpdateOperationSpec = {
|
|
488
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}",
|
|
489
|
+
httpMethod: "PUT",
|
|
490
|
+
responses: {
|
|
491
|
+
200: {
|
|
492
|
+
bodyMapper: Mappers.ContainerGroup,
|
|
493
|
+
},
|
|
494
|
+
201: {
|
|
495
|
+
bodyMapper: Mappers.ContainerGroup,
|
|
496
|
+
},
|
|
497
|
+
202: {
|
|
498
|
+
bodyMapper: Mappers.ContainerGroup,
|
|
499
|
+
},
|
|
500
|
+
204: {
|
|
501
|
+
bodyMapper: Mappers.ContainerGroup,
|
|
502
|
+
},
|
|
503
|
+
default: {
|
|
504
|
+
bodyMapper: Mappers.CloudError,
|
|
505
|
+
},
|
|
506
|
+
},
|
|
507
|
+
requestBody: Parameters.containerGroup,
|
|
508
|
+
queryParameters: [Parameters.apiVersion],
|
|
509
|
+
urlParameters: [
|
|
510
|
+
Parameters.$host,
|
|
511
|
+
Parameters.subscriptionId,
|
|
512
|
+
Parameters.resourceGroupName,
|
|
513
|
+
Parameters.containerGroupName,
|
|
514
|
+
],
|
|
515
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
516
|
+
mediaType: "json",
|
|
517
|
+
serializer,
|
|
518
|
+
};
|
|
519
|
+
const updateOperationSpec = {
|
|
520
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}",
|
|
521
|
+
httpMethod: "PATCH",
|
|
522
|
+
responses: {
|
|
523
|
+
200: {
|
|
524
|
+
bodyMapper: Mappers.ContainerGroup,
|
|
525
|
+
},
|
|
526
|
+
default: {
|
|
527
|
+
bodyMapper: Mappers.CloudError,
|
|
528
|
+
},
|
|
529
|
+
},
|
|
530
|
+
requestBody: Parameters.resource,
|
|
531
|
+
queryParameters: [Parameters.apiVersion],
|
|
532
|
+
urlParameters: [
|
|
533
|
+
Parameters.$host,
|
|
534
|
+
Parameters.subscriptionId,
|
|
535
|
+
Parameters.resourceGroupName,
|
|
536
|
+
Parameters.containerGroupName,
|
|
537
|
+
],
|
|
538
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
539
|
+
mediaType: "json",
|
|
540
|
+
serializer,
|
|
541
|
+
};
|
|
542
|
+
const deleteOperationSpec = {
|
|
543
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}",
|
|
544
|
+
httpMethod: "DELETE",
|
|
545
|
+
responses: {
|
|
546
|
+
200: {
|
|
547
|
+
bodyMapper: Mappers.ContainerGroup,
|
|
548
|
+
},
|
|
549
|
+
201: {
|
|
550
|
+
bodyMapper: Mappers.ContainerGroup,
|
|
551
|
+
},
|
|
552
|
+
202: {
|
|
553
|
+
bodyMapper: Mappers.ContainerGroup,
|
|
554
|
+
},
|
|
555
|
+
204: {
|
|
556
|
+
bodyMapper: Mappers.ContainerGroup,
|
|
557
|
+
},
|
|
558
|
+
default: {
|
|
559
|
+
bodyMapper: Mappers.CloudError,
|
|
560
|
+
},
|
|
561
|
+
},
|
|
562
|
+
queryParameters: [Parameters.apiVersion],
|
|
563
|
+
urlParameters: [
|
|
564
|
+
Parameters.$host,
|
|
565
|
+
Parameters.subscriptionId,
|
|
566
|
+
Parameters.resourceGroupName,
|
|
567
|
+
Parameters.containerGroupName,
|
|
568
|
+
],
|
|
569
|
+
headerParameters: [Parameters.accept],
|
|
570
|
+
serializer,
|
|
571
|
+
};
|
|
572
|
+
const restartOperationSpec = {
|
|
573
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/restart",
|
|
574
|
+
httpMethod: "POST",
|
|
575
|
+
responses: {
|
|
576
|
+
200: {},
|
|
577
|
+
201: {},
|
|
578
|
+
202: {},
|
|
579
|
+
204: {},
|
|
580
|
+
default: {
|
|
581
|
+
bodyMapper: Mappers.CloudError,
|
|
582
|
+
},
|
|
583
|
+
},
|
|
584
|
+
queryParameters: [Parameters.apiVersion],
|
|
585
|
+
urlParameters: [
|
|
586
|
+
Parameters.$host,
|
|
587
|
+
Parameters.subscriptionId,
|
|
588
|
+
Parameters.resourceGroupName,
|
|
589
|
+
Parameters.containerGroupName,
|
|
590
|
+
],
|
|
591
|
+
headerParameters: [Parameters.accept],
|
|
592
|
+
serializer,
|
|
593
|
+
};
|
|
594
|
+
const stopOperationSpec = {
|
|
595
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/stop",
|
|
596
|
+
httpMethod: "POST",
|
|
597
|
+
responses: {
|
|
598
|
+
204: {},
|
|
599
|
+
default: {
|
|
600
|
+
bodyMapper: Mappers.CloudError,
|
|
601
|
+
},
|
|
602
|
+
},
|
|
603
|
+
queryParameters: [Parameters.apiVersion],
|
|
604
|
+
urlParameters: [
|
|
605
|
+
Parameters.$host,
|
|
606
|
+
Parameters.subscriptionId,
|
|
607
|
+
Parameters.resourceGroupName,
|
|
608
|
+
Parameters.containerGroupName,
|
|
609
|
+
],
|
|
610
|
+
headerParameters: [Parameters.accept],
|
|
611
|
+
serializer,
|
|
612
|
+
};
|
|
613
|
+
const startOperationSpec = {
|
|
614
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/start",
|
|
615
|
+
httpMethod: "POST",
|
|
616
|
+
responses: {
|
|
617
|
+
200: {},
|
|
618
|
+
201: {},
|
|
619
|
+
202: {},
|
|
620
|
+
204: {},
|
|
621
|
+
default: {
|
|
622
|
+
bodyMapper: Mappers.CloudError,
|
|
623
|
+
},
|
|
624
|
+
},
|
|
625
|
+
queryParameters: [Parameters.apiVersion],
|
|
626
|
+
urlParameters: [
|
|
627
|
+
Parameters.$host,
|
|
628
|
+
Parameters.subscriptionId,
|
|
629
|
+
Parameters.resourceGroupName,
|
|
630
|
+
Parameters.containerGroupName,
|
|
631
|
+
],
|
|
632
|
+
headerParameters: [Parameters.accept],
|
|
633
|
+
serializer,
|
|
634
|
+
};
|
|
635
|
+
const getOutboundNetworkDependenciesEndpointsOperationSpec = {
|
|
636
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/outboundNetworkDependenciesEndpoints",
|
|
637
|
+
httpMethod: "GET",
|
|
638
|
+
responses: {
|
|
639
|
+
200: {
|
|
640
|
+
bodyMapper: {
|
|
641
|
+
type: { name: "Sequence", element: { type: { name: "String" } } },
|
|
642
|
+
},
|
|
643
|
+
},
|
|
644
|
+
default: {
|
|
645
|
+
bodyMapper: Mappers.CloudError,
|
|
646
|
+
},
|
|
647
|
+
},
|
|
648
|
+
queryParameters: [Parameters.apiVersion],
|
|
649
|
+
urlParameters: [
|
|
650
|
+
Parameters.$host,
|
|
651
|
+
Parameters.subscriptionId,
|
|
652
|
+
Parameters.resourceGroupName,
|
|
653
|
+
Parameters.containerGroupName,
|
|
654
|
+
],
|
|
655
|
+
headerParameters: [Parameters.accept],
|
|
656
|
+
serializer,
|
|
657
|
+
};
|
|
658
|
+
const listNextOperationSpec = {
|
|
659
|
+
path: "{nextLink}",
|
|
660
|
+
httpMethod: "GET",
|
|
661
|
+
responses: {
|
|
662
|
+
200: {
|
|
663
|
+
bodyMapper: Mappers.ContainerGroupListResult,
|
|
664
|
+
},
|
|
665
|
+
default: {
|
|
666
|
+
bodyMapper: Mappers.CloudError,
|
|
667
|
+
},
|
|
668
|
+
},
|
|
669
|
+
urlParameters: [
|
|
670
|
+
Parameters.$host,
|
|
671
|
+
Parameters.subscriptionId,
|
|
672
|
+
Parameters.nextLink,
|
|
673
|
+
],
|
|
674
|
+
headerParameters: [Parameters.accept],
|
|
675
|
+
serializer,
|
|
676
|
+
};
|
|
677
|
+
const listByResourceGroupNextOperationSpec = {
|
|
678
|
+
path: "{nextLink}",
|
|
679
|
+
httpMethod: "GET",
|
|
680
|
+
responses: {
|
|
681
|
+
200: {
|
|
682
|
+
bodyMapper: Mappers.ContainerGroupListResult,
|
|
683
|
+
},
|
|
684
|
+
default: {
|
|
685
|
+
bodyMapper: Mappers.CloudError,
|
|
686
|
+
},
|
|
687
|
+
},
|
|
688
|
+
urlParameters: [
|
|
689
|
+
Parameters.$host,
|
|
690
|
+
Parameters.subscriptionId,
|
|
691
|
+
Parameters.resourceGroupName,
|
|
692
|
+
Parameters.nextLink,
|
|
693
|
+
],
|
|
694
|
+
headerParameters: [Parameters.accept],
|
|
695
|
+
serializer,
|
|
696
|
+
};
|
|
697
|
+
//# sourceMappingURL=containerGroups.js.map
|