@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
package/dist/index.js
DELETED
|
@@ -1,4809 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var tslib = require('tslib');
|
|
6
|
-
var coreClient = require('@azure/core-client');
|
|
7
|
-
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
8
|
-
var coreLro = require('@azure/core-lro');
|
|
9
|
-
|
|
10
|
-
function _interopNamespaceDefault(e) {
|
|
11
|
-
var n = Object.create(null);
|
|
12
|
-
if (e) {
|
|
13
|
-
Object.keys(e).forEach(function (k) {
|
|
14
|
-
if (k !== 'default') {
|
|
15
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return e[k]; }
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
n.default = e;
|
|
24
|
-
return Object.freeze(n);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
|
|
28
|
-
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
|
|
29
|
-
|
|
30
|
-
/*
|
|
31
|
-
* Copyright (c) Microsoft Corporation.
|
|
32
|
-
* Licensed under the MIT License.
|
|
33
|
-
*
|
|
34
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
35
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
36
|
-
*/
|
|
37
|
-
const pageMap = new WeakMap();
|
|
38
|
-
/**
|
|
39
|
-
* Given the last `.value` produced by the `byPage` iterator,
|
|
40
|
-
* returns a continuation token that can be used to begin paging from
|
|
41
|
-
* that point later.
|
|
42
|
-
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
43
|
-
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
44
|
-
*/
|
|
45
|
-
function getContinuationToken(page) {
|
|
46
|
-
var _a;
|
|
47
|
-
if (typeof page !== "object" || page === null) {
|
|
48
|
-
return undefined;
|
|
49
|
-
}
|
|
50
|
-
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
51
|
-
}
|
|
52
|
-
function setContinuationToken(page, continuationToken) {
|
|
53
|
-
var _a;
|
|
54
|
-
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
|
58
|
-
pageInfo.continuationToken = continuationToken;
|
|
59
|
-
pageMap.set(page, pageInfo);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/*
|
|
63
|
-
* Copyright (c) Microsoft Corporation.
|
|
64
|
-
* Licensed under the MIT License.
|
|
65
|
-
*
|
|
66
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
67
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
68
|
-
*/
|
|
69
|
-
/** Known values of {@link ContainerNetworkProtocol} that the service accepts. */
|
|
70
|
-
exports.KnownContainerNetworkProtocol = void 0;
|
|
71
|
-
(function (KnownContainerNetworkProtocol) {
|
|
72
|
-
/** TCP */
|
|
73
|
-
KnownContainerNetworkProtocol["TCP"] = "TCP";
|
|
74
|
-
/** UDP */
|
|
75
|
-
KnownContainerNetworkProtocol["UDP"] = "UDP";
|
|
76
|
-
})(exports.KnownContainerNetworkProtocol || (exports.KnownContainerNetworkProtocol = {}));
|
|
77
|
-
/** Known values of {@link GpuSku} that the service accepts. */
|
|
78
|
-
exports.KnownGpuSku = void 0;
|
|
79
|
-
(function (KnownGpuSku) {
|
|
80
|
-
/** K80 */
|
|
81
|
-
KnownGpuSku["K80"] = "K80";
|
|
82
|
-
/** P100 */
|
|
83
|
-
KnownGpuSku["P100"] = "P100";
|
|
84
|
-
/** V100 */
|
|
85
|
-
KnownGpuSku["V100"] = "V100";
|
|
86
|
-
})(exports.KnownGpuSku || (exports.KnownGpuSku = {}));
|
|
87
|
-
/** Known values of {@link Scheme} that the service accepts. */
|
|
88
|
-
exports.KnownScheme = void 0;
|
|
89
|
-
(function (KnownScheme) {
|
|
90
|
-
/** Http */
|
|
91
|
-
KnownScheme["Http"] = "http";
|
|
92
|
-
/** Https */
|
|
93
|
-
KnownScheme["Https"] = "https";
|
|
94
|
-
})(exports.KnownScheme || (exports.KnownScheme = {}));
|
|
95
|
-
/** Known values of {@link ContainerGroupRestartPolicy} that the service accepts. */
|
|
96
|
-
exports.KnownContainerGroupRestartPolicy = void 0;
|
|
97
|
-
(function (KnownContainerGroupRestartPolicy) {
|
|
98
|
-
/** Always */
|
|
99
|
-
KnownContainerGroupRestartPolicy["Always"] = "Always";
|
|
100
|
-
/** OnFailure */
|
|
101
|
-
KnownContainerGroupRestartPolicy["OnFailure"] = "OnFailure";
|
|
102
|
-
/** Never */
|
|
103
|
-
KnownContainerGroupRestartPolicy["Never"] = "Never";
|
|
104
|
-
})(exports.KnownContainerGroupRestartPolicy || (exports.KnownContainerGroupRestartPolicy = {}));
|
|
105
|
-
/** Known values of {@link ContainerGroupNetworkProtocol} that the service accepts. */
|
|
106
|
-
exports.KnownContainerGroupNetworkProtocol = void 0;
|
|
107
|
-
(function (KnownContainerGroupNetworkProtocol) {
|
|
108
|
-
/** TCP */
|
|
109
|
-
KnownContainerGroupNetworkProtocol["TCP"] = "TCP";
|
|
110
|
-
/** UDP */
|
|
111
|
-
KnownContainerGroupNetworkProtocol["UDP"] = "UDP";
|
|
112
|
-
})(exports.KnownContainerGroupNetworkProtocol || (exports.KnownContainerGroupNetworkProtocol = {}));
|
|
113
|
-
/** Known values of {@link ContainerGroupIpAddressType} that the service accepts. */
|
|
114
|
-
exports.KnownContainerGroupIpAddressType = void 0;
|
|
115
|
-
(function (KnownContainerGroupIpAddressType) {
|
|
116
|
-
/** Public */
|
|
117
|
-
KnownContainerGroupIpAddressType["Public"] = "Public";
|
|
118
|
-
/** Private */
|
|
119
|
-
KnownContainerGroupIpAddressType["Private"] = "Private";
|
|
120
|
-
})(exports.KnownContainerGroupIpAddressType || (exports.KnownContainerGroupIpAddressType = {}));
|
|
121
|
-
/** Known values of {@link DnsNameLabelReusePolicy} that the service accepts. */
|
|
122
|
-
exports.KnownDnsNameLabelReusePolicy = void 0;
|
|
123
|
-
(function (KnownDnsNameLabelReusePolicy) {
|
|
124
|
-
/** Unsecure */
|
|
125
|
-
KnownDnsNameLabelReusePolicy["Unsecure"] = "Unsecure";
|
|
126
|
-
/** TenantReuse */
|
|
127
|
-
KnownDnsNameLabelReusePolicy["TenantReuse"] = "TenantReuse";
|
|
128
|
-
/** SubscriptionReuse */
|
|
129
|
-
KnownDnsNameLabelReusePolicy["SubscriptionReuse"] = "SubscriptionReuse";
|
|
130
|
-
/** ResourceGroupReuse */
|
|
131
|
-
KnownDnsNameLabelReusePolicy["ResourceGroupReuse"] = "ResourceGroupReuse";
|
|
132
|
-
/** Noreuse */
|
|
133
|
-
KnownDnsNameLabelReusePolicy["Noreuse"] = "Noreuse";
|
|
134
|
-
})(exports.KnownDnsNameLabelReusePolicy || (exports.KnownDnsNameLabelReusePolicy = {}));
|
|
135
|
-
/** Known values of {@link OperatingSystemTypes} that the service accepts. */
|
|
136
|
-
exports.KnownOperatingSystemTypes = void 0;
|
|
137
|
-
(function (KnownOperatingSystemTypes) {
|
|
138
|
-
/** Windows */
|
|
139
|
-
KnownOperatingSystemTypes["Windows"] = "Windows";
|
|
140
|
-
/** Linux */
|
|
141
|
-
KnownOperatingSystemTypes["Linux"] = "Linux";
|
|
142
|
-
})(exports.KnownOperatingSystemTypes || (exports.KnownOperatingSystemTypes = {}));
|
|
143
|
-
/** Known values of {@link LogAnalyticsLogType} that the service accepts. */
|
|
144
|
-
exports.KnownLogAnalyticsLogType = void 0;
|
|
145
|
-
(function (KnownLogAnalyticsLogType) {
|
|
146
|
-
/** ContainerInsights */
|
|
147
|
-
KnownLogAnalyticsLogType["ContainerInsights"] = "ContainerInsights";
|
|
148
|
-
/** ContainerInstanceLogs */
|
|
149
|
-
KnownLogAnalyticsLogType["ContainerInstanceLogs"] = "ContainerInstanceLogs";
|
|
150
|
-
})(exports.KnownLogAnalyticsLogType || (exports.KnownLogAnalyticsLogType = {}));
|
|
151
|
-
/** Known values of {@link ContainerGroupSku} that the service accepts. */
|
|
152
|
-
exports.KnownContainerGroupSku = void 0;
|
|
153
|
-
(function (KnownContainerGroupSku) {
|
|
154
|
-
/** Standard */
|
|
155
|
-
KnownContainerGroupSku["Standard"] = "Standard";
|
|
156
|
-
/** Dedicated */
|
|
157
|
-
KnownContainerGroupSku["Dedicated"] = "Dedicated";
|
|
158
|
-
/** Confidential */
|
|
159
|
-
KnownContainerGroupSku["Confidential"] = "Confidential";
|
|
160
|
-
})(exports.KnownContainerGroupSku || (exports.KnownContainerGroupSku = {}));
|
|
161
|
-
/** Known values of {@link ContainerGroupPriority} that the service accepts. */
|
|
162
|
-
exports.KnownContainerGroupPriority = void 0;
|
|
163
|
-
(function (KnownContainerGroupPriority) {
|
|
164
|
-
/** Regular */
|
|
165
|
-
KnownContainerGroupPriority["Regular"] = "Regular";
|
|
166
|
-
/** Spot */
|
|
167
|
-
KnownContainerGroupPriority["Spot"] = "Spot";
|
|
168
|
-
})(exports.KnownContainerGroupPriority || (exports.KnownContainerGroupPriority = {}));
|
|
169
|
-
/** Known values of {@link ContainerInstanceOperationsOrigin} that the service accepts. */
|
|
170
|
-
exports.KnownContainerInstanceOperationsOrigin = void 0;
|
|
171
|
-
(function (KnownContainerInstanceOperationsOrigin) {
|
|
172
|
-
/** User */
|
|
173
|
-
KnownContainerInstanceOperationsOrigin["User"] = "User";
|
|
174
|
-
/** System */
|
|
175
|
-
KnownContainerInstanceOperationsOrigin["System"] = "System";
|
|
176
|
-
})(exports.KnownContainerInstanceOperationsOrigin || (exports.KnownContainerInstanceOperationsOrigin = {}));
|
|
177
|
-
|
|
178
|
-
/*
|
|
179
|
-
* Copyright (c) Microsoft Corporation.
|
|
180
|
-
* Licensed under the MIT License.
|
|
181
|
-
*
|
|
182
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
183
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
184
|
-
*/
|
|
185
|
-
const ContainerGroupListResult = {
|
|
186
|
-
type: {
|
|
187
|
-
name: "Composite",
|
|
188
|
-
className: "ContainerGroupListResult",
|
|
189
|
-
modelProperties: {
|
|
190
|
-
value: {
|
|
191
|
-
serializedName: "value",
|
|
192
|
-
type: {
|
|
193
|
-
name: "Sequence",
|
|
194
|
-
element: {
|
|
195
|
-
type: {
|
|
196
|
-
name: "Composite",
|
|
197
|
-
className: "ContainerGroup",
|
|
198
|
-
},
|
|
199
|
-
},
|
|
200
|
-
},
|
|
201
|
-
},
|
|
202
|
-
nextLink: {
|
|
203
|
-
serializedName: "nextLink",
|
|
204
|
-
type: {
|
|
205
|
-
name: "String",
|
|
206
|
-
},
|
|
207
|
-
},
|
|
208
|
-
},
|
|
209
|
-
},
|
|
210
|
-
};
|
|
211
|
-
const Resource = {
|
|
212
|
-
type: {
|
|
213
|
-
name: "Composite",
|
|
214
|
-
className: "Resource",
|
|
215
|
-
modelProperties: {
|
|
216
|
-
id: {
|
|
217
|
-
serializedName: "id",
|
|
218
|
-
readOnly: true,
|
|
219
|
-
type: {
|
|
220
|
-
name: "String",
|
|
221
|
-
},
|
|
222
|
-
},
|
|
223
|
-
name: {
|
|
224
|
-
serializedName: "name",
|
|
225
|
-
readOnly: true,
|
|
226
|
-
type: {
|
|
227
|
-
name: "String",
|
|
228
|
-
},
|
|
229
|
-
},
|
|
230
|
-
type: {
|
|
231
|
-
serializedName: "type",
|
|
232
|
-
readOnly: true,
|
|
233
|
-
type: {
|
|
234
|
-
name: "String",
|
|
235
|
-
},
|
|
236
|
-
},
|
|
237
|
-
location: {
|
|
238
|
-
serializedName: "location",
|
|
239
|
-
type: {
|
|
240
|
-
name: "String",
|
|
241
|
-
},
|
|
242
|
-
},
|
|
243
|
-
tags: {
|
|
244
|
-
serializedName: "tags",
|
|
245
|
-
type: {
|
|
246
|
-
name: "Dictionary",
|
|
247
|
-
value: { type: { name: "String" } },
|
|
248
|
-
},
|
|
249
|
-
},
|
|
250
|
-
zones: {
|
|
251
|
-
serializedName: "zones",
|
|
252
|
-
type: {
|
|
253
|
-
name: "Sequence",
|
|
254
|
-
element: {
|
|
255
|
-
type: {
|
|
256
|
-
name: "String",
|
|
257
|
-
},
|
|
258
|
-
},
|
|
259
|
-
},
|
|
260
|
-
},
|
|
261
|
-
},
|
|
262
|
-
},
|
|
263
|
-
};
|
|
264
|
-
const ContainerGroupProperties = {
|
|
265
|
-
type: {
|
|
266
|
-
name: "Composite",
|
|
267
|
-
className: "ContainerGroupProperties",
|
|
268
|
-
modelProperties: {
|
|
269
|
-
identity: {
|
|
270
|
-
serializedName: "identity",
|
|
271
|
-
type: {
|
|
272
|
-
name: "Composite",
|
|
273
|
-
className: "ContainerGroupIdentity",
|
|
274
|
-
},
|
|
275
|
-
},
|
|
276
|
-
provisioningState: {
|
|
277
|
-
serializedName: "properties.provisioningState",
|
|
278
|
-
readOnly: true,
|
|
279
|
-
type: {
|
|
280
|
-
name: "String",
|
|
281
|
-
},
|
|
282
|
-
},
|
|
283
|
-
containers: {
|
|
284
|
-
serializedName: "properties.containers",
|
|
285
|
-
required: true,
|
|
286
|
-
type: {
|
|
287
|
-
name: "Sequence",
|
|
288
|
-
element: {
|
|
289
|
-
type: {
|
|
290
|
-
name: "Composite",
|
|
291
|
-
className: "Container",
|
|
292
|
-
},
|
|
293
|
-
},
|
|
294
|
-
},
|
|
295
|
-
},
|
|
296
|
-
imageRegistryCredentials: {
|
|
297
|
-
serializedName: "properties.imageRegistryCredentials",
|
|
298
|
-
type: {
|
|
299
|
-
name: "Sequence",
|
|
300
|
-
element: {
|
|
301
|
-
type: {
|
|
302
|
-
name: "Composite",
|
|
303
|
-
className: "ImageRegistryCredential",
|
|
304
|
-
},
|
|
305
|
-
},
|
|
306
|
-
},
|
|
307
|
-
},
|
|
308
|
-
restartPolicy: {
|
|
309
|
-
serializedName: "properties.restartPolicy",
|
|
310
|
-
type: {
|
|
311
|
-
name: "String",
|
|
312
|
-
},
|
|
313
|
-
},
|
|
314
|
-
ipAddress: {
|
|
315
|
-
serializedName: "properties.ipAddress",
|
|
316
|
-
type: {
|
|
317
|
-
name: "Composite",
|
|
318
|
-
className: "IpAddress",
|
|
319
|
-
},
|
|
320
|
-
},
|
|
321
|
-
osType: {
|
|
322
|
-
serializedName: "properties.osType",
|
|
323
|
-
type: {
|
|
324
|
-
name: "String",
|
|
325
|
-
},
|
|
326
|
-
},
|
|
327
|
-
volumes: {
|
|
328
|
-
serializedName: "properties.volumes",
|
|
329
|
-
type: {
|
|
330
|
-
name: "Sequence",
|
|
331
|
-
element: {
|
|
332
|
-
type: {
|
|
333
|
-
name: "Composite",
|
|
334
|
-
className: "Volume",
|
|
335
|
-
},
|
|
336
|
-
},
|
|
337
|
-
},
|
|
338
|
-
},
|
|
339
|
-
instanceView: {
|
|
340
|
-
serializedName: "properties.instanceView",
|
|
341
|
-
type: {
|
|
342
|
-
name: "Composite",
|
|
343
|
-
className: "ContainerGroupPropertiesInstanceView",
|
|
344
|
-
},
|
|
345
|
-
},
|
|
346
|
-
diagnostics: {
|
|
347
|
-
serializedName: "properties.diagnostics",
|
|
348
|
-
type: {
|
|
349
|
-
name: "Composite",
|
|
350
|
-
className: "ContainerGroupDiagnostics",
|
|
351
|
-
},
|
|
352
|
-
},
|
|
353
|
-
subnetIds: {
|
|
354
|
-
serializedName: "properties.subnetIds",
|
|
355
|
-
type: {
|
|
356
|
-
name: "Sequence",
|
|
357
|
-
element: {
|
|
358
|
-
type: {
|
|
359
|
-
name: "Composite",
|
|
360
|
-
className: "ContainerGroupSubnetId",
|
|
361
|
-
},
|
|
362
|
-
},
|
|
363
|
-
},
|
|
364
|
-
},
|
|
365
|
-
dnsConfig: {
|
|
366
|
-
serializedName: "properties.dnsConfig",
|
|
367
|
-
type: {
|
|
368
|
-
name: "Composite",
|
|
369
|
-
className: "DnsConfiguration",
|
|
370
|
-
},
|
|
371
|
-
},
|
|
372
|
-
sku: {
|
|
373
|
-
serializedName: "properties.sku",
|
|
374
|
-
type: {
|
|
375
|
-
name: "String",
|
|
376
|
-
},
|
|
377
|
-
},
|
|
378
|
-
encryptionProperties: {
|
|
379
|
-
serializedName: "properties.encryptionProperties",
|
|
380
|
-
type: {
|
|
381
|
-
name: "Composite",
|
|
382
|
-
className: "EncryptionProperties",
|
|
383
|
-
},
|
|
384
|
-
},
|
|
385
|
-
initContainers: {
|
|
386
|
-
serializedName: "properties.initContainers",
|
|
387
|
-
type: {
|
|
388
|
-
name: "Sequence",
|
|
389
|
-
element: {
|
|
390
|
-
type: {
|
|
391
|
-
name: "Composite",
|
|
392
|
-
className: "InitContainerDefinition",
|
|
393
|
-
},
|
|
394
|
-
},
|
|
395
|
-
},
|
|
396
|
-
},
|
|
397
|
-
extensions: {
|
|
398
|
-
serializedName: "properties.extensions",
|
|
399
|
-
type: {
|
|
400
|
-
name: "Sequence",
|
|
401
|
-
element: {
|
|
402
|
-
type: {
|
|
403
|
-
name: "Composite",
|
|
404
|
-
className: "DeploymentExtensionSpec",
|
|
405
|
-
},
|
|
406
|
-
},
|
|
407
|
-
},
|
|
408
|
-
},
|
|
409
|
-
confidentialComputeProperties: {
|
|
410
|
-
serializedName: "properties.confidentialComputeProperties",
|
|
411
|
-
type: {
|
|
412
|
-
name: "Composite",
|
|
413
|
-
className: "ConfidentialComputeProperties",
|
|
414
|
-
},
|
|
415
|
-
},
|
|
416
|
-
priority: {
|
|
417
|
-
serializedName: "properties.priority",
|
|
418
|
-
type: {
|
|
419
|
-
name: "String",
|
|
420
|
-
},
|
|
421
|
-
},
|
|
422
|
-
containerGroupProfile: {
|
|
423
|
-
serializedName: "properties.containerGroupProfile",
|
|
424
|
-
type: {
|
|
425
|
-
name: "Composite",
|
|
426
|
-
className: "ContainerGroupProfileReferenceDefinition",
|
|
427
|
-
},
|
|
428
|
-
},
|
|
429
|
-
standbyPoolProfile: {
|
|
430
|
-
serializedName: "properties.standbyPoolProfile",
|
|
431
|
-
type: {
|
|
432
|
-
name: "Composite",
|
|
433
|
-
className: "StandbyPoolProfileDefinition",
|
|
434
|
-
},
|
|
435
|
-
},
|
|
436
|
-
isCreatedFromStandbyPool: {
|
|
437
|
-
serializedName: "properties.isCreatedFromStandbyPool",
|
|
438
|
-
readOnly: true,
|
|
439
|
-
type: {
|
|
440
|
-
name: "Boolean",
|
|
441
|
-
},
|
|
442
|
-
},
|
|
443
|
-
},
|
|
444
|
-
},
|
|
445
|
-
};
|
|
446
|
-
const ContainerGroupIdentity = {
|
|
447
|
-
type: {
|
|
448
|
-
name: "Composite",
|
|
449
|
-
className: "ContainerGroupIdentity",
|
|
450
|
-
modelProperties: {
|
|
451
|
-
principalId: {
|
|
452
|
-
serializedName: "principalId",
|
|
453
|
-
readOnly: true,
|
|
454
|
-
type: {
|
|
455
|
-
name: "String",
|
|
456
|
-
},
|
|
457
|
-
},
|
|
458
|
-
tenantId: {
|
|
459
|
-
serializedName: "tenantId",
|
|
460
|
-
readOnly: true,
|
|
461
|
-
type: {
|
|
462
|
-
name: "String",
|
|
463
|
-
},
|
|
464
|
-
},
|
|
465
|
-
type: {
|
|
466
|
-
serializedName: "type",
|
|
467
|
-
type: {
|
|
468
|
-
name: "Enum",
|
|
469
|
-
allowedValues: [
|
|
470
|
-
"SystemAssigned",
|
|
471
|
-
"UserAssigned",
|
|
472
|
-
"SystemAssigned, UserAssigned",
|
|
473
|
-
"None",
|
|
474
|
-
],
|
|
475
|
-
},
|
|
476
|
-
},
|
|
477
|
-
userAssignedIdentities: {
|
|
478
|
-
serializedName: "userAssignedIdentities",
|
|
479
|
-
type: {
|
|
480
|
-
name: "Dictionary",
|
|
481
|
-
value: {
|
|
482
|
-
type: { name: "Composite", className: "UserAssignedIdentities" },
|
|
483
|
-
},
|
|
484
|
-
},
|
|
485
|
-
},
|
|
486
|
-
},
|
|
487
|
-
},
|
|
488
|
-
};
|
|
489
|
-
const UserAssignedIdentities = {
|
|
490
|
-
type: {
|
|
491
|
-
name: "Composite",
|
|
492
|
-
className: "UserAssignedIdentities",
|
|
493
|
-
modelProperties: {
|
|
494
|
-
principalId: {
|
|
495
|
-
serializedName: "principalId",
|
|
496
|
-
readOnly: true,
|
|
497
|
-
type: {
|
|
498
|
-
name: "String",
|
|
499
|
-
},
|
|
500
|
-
},
|
|
501
|
-
clientId: {
|
|
502
|
-
serializedName: "clientId",
|
|
503
|
-
readOnly: true,
|
|
504
|
-
type: {
|
|
505
|
-
name: "String",
|
|
506
|
-
},
|
|
507
|
-
},
|
|
508
|
-
},
|
|
509
|
-
},
|
|
510
|
-
};
|
|
511
|
-
const Container = {
|
|
512
|
-
type: {
|
|
513
|
-
name: "Composite",
|
|
514
|
-
className: "Container",
|
|
515
|
-
modelProperties: {
|
|
516
|
-
name: {
|
|
517
|
-
serializedName: "name",
|
|
518
|
-
required: true,
|
|
519
|
-
type: {
|
|
520
|
-
name: "String",
|
|
521
|
-
},
|
|
522
|
-
},
|
|
523
|
-
image: {
|
|
524
|
-
serializedName: "properties.image",
|
|
525
|
-
type: {
|
|
526
|
-
name: "String",
|
|
527
|
-
},
|
|
528
|
-
},
|
|
529
|
-
command: {
|
|
530
|
-
serializedName: "properties.command",
|
|
531
|
-
type: {
|
|
532
|
-
name: "Sequence",
|
|
533
|
-
element: {
|
|
534
|
-
type: {
|
|
535
|
-
name: "String",
|
|
536
|
-
},
|
|
537
|
-
},
|
|
538
|
-
},
|
|
539
|
-
},
|
|
540
|
-
ports: {
|
|
541
|
-
serializedName: "properties.ports",
|
|
542
|
-
type: {
|
|
543
|
-
name: "Sequence",
|
|
544
|
-
element: {
|
|
545
|
-
type: {
|
|
546
|
-
name: "Composite",
|
|
547
|
-
className: "ContainerPort",
|
|
548
|
-
},
|
|
549
|
-
},
|
|
550
|
-
},
|
|
551
|
-
},
|
|
552
|
-
environmentVariables: {
|
|
553
|
-
serializedName: "properties.environmentVariables",
|
|
554
|
-
type: {
|
|
555
|
-
name: "Sequence",
|
|
556
|
-
element: {
|
|
557
|
-
type: {
|
|
558
|
-
name: "Composite",
|
|
559
|
-
className: "EnvironmentVariable",
|
|
560
|
-
},
|
|
561
|
-
},
|
|
562
|
-
},
|
|
563
|
-
},
|
|
564
|
-
instanceView: {
|
|
565
|
-
serializedName: "properties.instanceView",
|
|
566
|
-
type: {
|
|
567
|
-
name: "Composite",
|
|
568
|
-
className: "ContainerPropertiesInstanceView",
|
|
569
|
-
},
|
|
570
|
-
},
|
|
571
|
-
resources: {
|
|
572
|
-
serializedName: "properties.resources",
|
|
573
|
-
type: {
|
|
574
|
-
name: "Composite",
|
|
575
|
-
className: "ResourceRequirements",
|
|
576
|
-
},
|
|
577
|
-
},
|
|
578
|
-
volumeMounts: {
|
|
579
|
-
serializedName: "properties.volumeMounts",
|
|
580
|
-
type: {
|
|
581
|
-
name: "Sequence",
|
|
582
|
-
element: {
|
|
583
|
-
type: {
|
|
584
|
-
name: "Composite",
|
|
585
|
-
className: "VolumeMount",
|
|
586
|
-
},
|
|
587
|
-
},
|
|
588
|
-
},
|
|
589
|
-
},
|
|
590
|
-
livenessProbe: {
|
|
591
|
-
serializedName: "properties.livenessProbe",
|
|
592
|
-
type: {
|
|
593
|
-
name: "Composite",
|
|
594
|
-
className: "ContainerProbe",
|
|
595
|
-
},
|
|
596
|
-
},
|
|
597
|
-
readinessProbe: {
|
|
598
|
-
serializedName: "properties.readinessProbe",
|
|
599
|
-
type: {
|
|
600
|
-
name: "Composite",
|
|
601
|
-
className: "ContainerProbe",
|
|
602
|
-
},
|
|
603
|
-
},
|
|
604
|
-
securityContext: {
|
|
605
|
-
serializedName: "properties.securityContext",
|
|
606
|
-
type: {
|
|
607
|
-
name: "Composite",
|
|
608
|
-
className: "SecurityContextDefinition",
|
|
609
|
-
},
|
|
610
|
-
},
|
|
611
|
-
configMap: {
|
|
612
|
-
serializedName: "properties.configMap",
|
|
613
|
-
type: {
|
|
614
|
-
name: "Composite",
|
|
615
|
-
className: "ConfigMap",
|
|
616
|
-
},
|
|
617
|
-
},
|
|
618
|
-
},
|
|
619
|
-
},
|
|
620
|
-
};
|
|
621
|
-
const ContainerPort = {
|
|
622
|
-
type: {
|
|
623
|
-
name: "Composite",
|
|
624
|
-
className: "ContainerPort",
|
|
625
|
-
modelProperties: {
|
|
626
|
-
protocol: {
|
|
627
|
-
serializedName: "protocol",
|
|
628
|
-
type: {
|
|
629
|
-
name: "String",
|
|
630
|
-
},
|
|
631
|
-
},
|
|
632
|
-
port: {
|
|
633
|
-
serializedName: "port",
|
|
634
|
-
required: true,
|
|
635
|
-
type: {
|
|
636
|
-
name: "Number",
|
|
637
|
-
},
|
|
638
|
-
},
|
|
639
|
-
},
|
|
640
|
-
},
|
|
641
|
-
};
|
|
642
|
-
const EnvironmentVariable = {
|
|
643
|
-
type: {
|
|
644
|
-
name: "Composite",
|
|
645
|
-
className: "EnvironmentVariable",
|
|
646
|
-
modelProperties: {
|
|
647
|
-
name: {
|
|
648
|
-
serializedName: "name",
|
|
649
|
-
required: true,
|
|
650
|
-
type: {
|
|
651
|
-
name: "String",
|
|
652
|
-
},
|
|
653
|
-
},
|
|
654
|
-
value: {
|
|
655
|
-
serializedName: "value",
|
|
656
|
-
type: {
|
|
657
|
-
name: "String",
|
|
658
|
-
},
|
|
659
|
-
},
|
|
660
|
-
secureValue: {
|
|
661
|
-
serializedName: "secureValue",
|
|
662
|
-
type: {
|
|
663
|
-
name: "String",
|
|
664
|
-
},
|
|
665
|
-
},
|
|
666
|
-
},
|
|
667
|
-
},
|
|
668
|
-
};
|
|
669
|
-
const ContainerPropertiesInstanceView = {
|
|
670
|
-
type: {
|
|
671
|
-
name: "Composite",
|
|
672
|
-
className: "ContainerPropertiesInstanceView",
|
|
673
|
-
modelProperties: {
|
|
674
|
-
restartCount: {
|
|
675
|
-
serializedName: "restartCount",
|
|
676
|
-
readOnly: true,
|
|
677
|
-
type: {
|
|
678
|
-
name: "Number",
|
|
679
|
-
},
|
|
680
|
-
},
|
|
681
|
-
currentState: {
|
|
682
|
-
serializedName: "currentState",
|
|
683
|
-
type: {
|
|
684
|
-
name: "Composite",
|
|
685
|
-
className: "ContainerState",
|
|
686
|
-
},
|
|
687
|
-
},
|
|
688
|
-
previousState: {
|
|
689
|
-
serializedName: "previousState",
|
|
690
|
-
type: {
|
|
691
|
-
name: "Composite",
|
|
692
|
-
className: "ContainerState",
|
|
693
|
-
},
|
|
694
|
-
},
|
|
695
|
-
events: {
|
|
696
|
-
serializedName: "events",
|
|
697
|
-
readOnly: true,
|
|
698
|
-
type: {
|
|
699
|
-
name: "Sequence",
|
|
700
|
-
element: {
|
|
701
|
-
type: {
|
|
702
|
-
name: "Composite",
|
|
703
|
-
className: "Event",
|
|
704
|
-
},
|
|
705
|
-
},
|
|
706
|
-
},
|
|
707
|
-
},
|
|
708
|
-
},
|
|
709
|
-
},
|
|
710
|
-
};
|
|
711
|
-
const ContainerState = {
|
|
712
|
-
type: {
|
|
713
|
-
name: "Composite",
|
|
714
|
-
className: "ContainerState",
|
|
715
|
-
modelProperties: {
|
|
716
|
-
state: {
|
|
717
|
-
serializedName: "state",
|
|
718
|
-
readOnly: true,
|
|
719
|
-
type: {
|
|
720
|
-
name: "String",
|
|
721
|
-
},
|
|
722
|
-
},
|
|
723
|
-
startTime: {
|
|
724
|
-
serializedName: "startTime",
|
|
725
|
-
readOnly: true,
|
|
726
|
-
type: {
|
|
727
|
-
name: "DateTime",
|
|
728
|
-
},
|
|
729
|
-
},
|
|
730
|
-
exitCode: {
|
|
731
|
-
serializedName: "exitCode",
|
|
732
|
-
readOnly: true,
|
|
733
|
-
type: {
|
|
734
|
-
name: "Number",
|
|
735
|
-
},
|
|
736
|
-
},
|
|
737
|
-
finishTime: {
|
|
738
|
-
serializedName: "finishTime",
|
|
739
|
-
readOnly: true,
|
|
740
|
-
type: {
|
|
741
|
-
name: "DateTime",
|
|
742
|
-
},
|
|
743
|
-
},
|
|
744
|
-
detailStatus: {
|
|
745
|
-
serializedName: "detailStatus",
|
|
746
|
-
readOnly: true,
|
|
747
|
-
type: {
|
|
748
|
-
name: "String",
|
|
749
|
-
},
|
|
750
|
-
},
|
|
751
|
-
},
|
|
752
|
-
},
|
|
753
|
-
};
|
|
754
|
-
const Event = {
|
|
755
|
-
type: {
|
|
756
|
-
name: "Composite",
|
|
757
|
-
className: "Event",
|
|
758
|
-
modelProperties: {
|
|
759
|
-
count: {
|
|
760
|
-
serializedName: "count",
|
|
761
|
-
readOnly: true,
|
|
762
|
-
type: {
|
|
763
|
-
name: "Number",
|
|
764
|
-
},
|
|
765
|
-
},
|
|
766
|
-
firstTimestamp: {
|
|
767
|
-
serializedName: "firstTimestamp",
|
|
768
|
-
readOnly: true,
|
|
769
|
-
type: {
|
|
770
|
-
name: "DateTime",
|
|
771
|
-
},
|
|
772
|
-
},
|
|
773
|
-
lastTimestamp: {
|
|
774
|
-
serializedName: "lastTimestamp",
|
|
775
|
-
readOnly: true,
|
|
776
|
-
type: {
|
|
777
|
-
name: "DateTime",
|
|
778
|
-
},
|
|
779
|
-
},
|
|
780
|
-
name: {
|
|
781
|
-
serializedName: "name",
|
|
782
|
-
readOnly: true,
|
|
783
|
-
type: {
|
|
784
|
-
name: "String",
|
|
785
|
-
},
|
|
786
|
-
},
|
|
787
|
-
message: {
|
|
788
|
-
serializedName: "message",
|
|
789
|
-
readOnly: true,
|
|
790
|
-
type: {
|
|
791
|
-
name: "String",
|
|
792
|
-
},
|
|
793
|
-
},
|
|
794
|
-
type: {
|
|
795
|
-
serializedName: "type",
|
|
796
|
-
readOnly: true,
|
|
797
|
-
type: {
|
|
798
|
-
name: "String",
|
|
799
|
-
},
|
|
800
|
-
},
|
|
801
|
-
},
|
|
802
|
-
},
|
|
803
|
-
};
|
|
804
|
-
const ResourceRequirements = {
|
|
805
|
-
type: {
|
|
806
|
-
name: "Composite",
|
|
807
|
-
className: "ResourceRequirements",
|
|
808
|
-
modelProperties: {
|
|
809
|
-
requests: {
|
|
810
|
-
serializedName: "requests",
|
|
811
|
-
type: {
|
|
812
|
-
name: "Composite",
|
|
813
|
-
className: "ResourceRequests",
|
|
814
|
-
},
|
|
815
|
-
},
|
|
816
|
-
limits: {
|
|
817
|
-
serializedName: "limits",
|
|
818
|
-
type: {
|
|
819
|
-
name: "Composite",
|
|
820
|
-
className: "ResourceLimits",
|
|
821
|
-
},
|
|
822
|
-
},
|
|
823
|
-
},
|
|
824
|
-
},
|
|
825
|
-
};
|
|
826
|
-
const ResourceRequests = {
|
|
827
|
-
type: {
|
|
828
|
-
name: "Composite",
|
|
829
|
-
className: "ResourceRequests",
|
|
830
|
-
modelProperties: {
|
|
831
|
-
memoryInGB: {
|
|
832
|
-
serializedName: "memoryInGB",
|
|
833
|
-
required: true,
|
|
834
|
-
type: {
|
|
835
|
-
name: "Number",
|
|
836
|
-
},
|
|
837
|
-
},
|
|
838
|
-
cpu: {
|
|
839
|
-
serializedName: "cpu",
|
|
840
|
-
required: true,
|
|
841
|
-
type: {
|
|
842
|
-
name: "Number",
|
|
843
|
-
},
|
|
844
|
-
},
|
|
845
|
-
gpu: {
|
|
846
|
-
serializedName: "gpu",
|
|
847
|
-
type: {
|
|
848
|
-
name: "Composite",
|
|
849
|
-
className: "GpuResource",
|
|
850
|
-
},
|
|
851
|
-
},
|
|
852
|
-
},
|
|
853
|
-
},
|
|
854
|
-
};
|
|
855
|
-
const GpuResource = {
|
|
856
|
-
type: {
|
|
857
|
-
name: "Composite",
|
|
858
|
-
className: "GpuResource",
|
|
859
|
-
modelProperties: {
|
|
860
|
-
count: {
|
|
861
|
-
serializedName: "count",
|
|
862
|
-
required: true,
|
|
863
|
-
type: {
|
|
864
|
-
name: "Number",
|
|
865
|
-
},
|
|
866
|
-
},
|
|
867
|
-
sku: {
|
|
868
|
-
serializedName: "sku",
|
|
869
|
-
required: true,
|
|
870
|
-
type: {
|
|
871
|
-
name: "String",
|
|
872
|
-
},
|
|
873
|
-
},
|
|
874
|
-
},
|
|
875
|
-
},
|
|
876
|
-
};
|
|
877
|
-
const ResourceLimits = {
|
|
878
|
-
type: {
|
|
879
|
-
name: "Composite",
|
|
880
|
-
className: "ResourceLimits",
|
|
881
|
-
modelProperties: {
|
|
882
|
-
memoryInGB: {
|
|
883
|
-
serializedName: "memoryInGB",
|
|
884
|
-
type: {
|
|
885
|
-
name: "Number",
|
|
886
|
-
},
|
|
887
|
-
},
|
|
888
|
-
cpu: {
|
|
889
|
-
serializedName: "cpu",
|
|
890
|
-
type: {
|
|
891
|
-
name: "Number",
|
|
892
|
-
},
|
|
893
|
-
},
|
|
894
|
-
gpu: {
|
|
895
|
-
serializedName: "gpu",
|
|
896
|
-
type: {
|
|
897
|
-
name: "Composite",
|
|
898
|
-
className: "GpuResource",
|
|
899
|
-
},
|
|
900
|
-
},
|
|
901
|
-
},
|
|
902
|
-
},
|
|
903
|
-
};
|
|
904
|
-
const VolumeMount = {
|
|
905
|
-
type: {
|
|
906
|
-
name: "Composite",
|
|
907
|
-
className: "VolumeMount",
|
|
908
|
-
modelProperties: {
|
|
909
|
-
name: {
|
|
910
|
-
serializedName: "name",
|
|
911
|
-
required: true,
|
|
912
|
-
type: {
|
|
913
|
-
name: "String",
|
|
914
|
-
},
|
|
915
|
-
},
|
|
916
|
-
mountPath: {
|
|
917
|
-
serializedName: "mountPath",
|
|
918
|
-
required: true,
|
|
919
|
-
type: {
|
|
920
|
-
name: "String",
|
|
921
|
-
},
|
|
922
|
-
},
|
|
923
|
-
readOnly: {
|
|
924
|
-
serializedName: "readOnly",
|
|
925
|
-
type: {
|
|
926
|
-
name: "Boolean",
|
|
927
|
-
},
|
|
928
|
-
},
|
|
929
|
-
},
|
|
930
|
-
},
|
|
931
|
-
};
|
|
932
|
-
const ContainerProbe = {
|
|
933
|
-
type: {
|
|
934
|
-
name: "Composite",
|
|
935
|
-
className: "ContainerProbe",
|
|
936
|
-
modelProperties: {
|
|
937
|
-
exec: {
|
|
938
|
-
serializedName: "exec",
|
|
939
|
-
type: {
|
|
940
|
-
name: "Composite",
|
|
941
|
-
className: "ContainerExec",
|
|
942
|
-
},
|
|
943
|
-
},
|
|
944
|
-
httpGet: {
|
|
945
|
-
serializedName: "httpGet",
|
|
946
|
-
type: {
|
|
947
|
-
name: "Composite",
|
|
948
|
-
className: "ContainerHttpGet",
|
|
949
|
-
},
|
|
950
|
-
},
|
|
951
|
-
initialDelaySeconds: {
|
|
952
|
-
serializedName: "initialDelaySeconds",
|
|
953
|
-
type: {
|
|
954
|
-
name: "Number",
|
|
955
|
-
},
|
|
956
|
-
},
|
|
957
|
-
periodSeconds: {
|
|
958
|
-
serializedName: "periodSeconds",
|
|
959
|
-
type: {
|
|
960
|
-
name: "Number",
|
|
961
|
-
},
|
|
962
|
-
},
|
|
963
|
-
failureThreshold: {
|
|
964
|
-
serializedName: "failureThreshold",
|
|
965
|
-
type: {
|
|
966
|
-
name: "Number",
|
|
967
|
-
},
|
|
968
|
-
},
|
|
969
|
-
successThreshold: {
|
|
970
|
-
serializedName: "successThreshold",
|
|
971
|
-
type: {
|
|
972
|
-
name: "Number",
|
|
973
|
-
},
|
|
974
|
-
},
|
|
975
|
-
timeoutSeconds: {
|
|
976
|
-
serializedName: "timeoutSeconds",
|
|
977
|
-
type: {
|
|
978
|
-
name: "Number",
|
|
979
|
-
},
|
|
980
|
-
},
|
|
981
|
-
},
|
|
982
|
-
},
|
|
983
|
-
};
|
|
984
|
-
const ContainerExec = {
|
|
985
|
-
type: {
|
|
986
|
-
name: "Composite",
|
|
987
|
-
className: "ContainerExec",
|
|
988
|
-
modelProperties: {
|
|
989
|
-
command: {
|
|
990
|
-
serializedName: "command",
|
|
991
|
-
type: {
|
|
992
|
-
name: "Sequence",
|
|
993
|
-
element: {
|
|
994
|
-
type: {
|
|
995
|
-
name: "String",
|
|
996
|
-
},
|
|
997
|
-
},
|
|
998
|
-
},
|
|
999
|
-
},
|
|
1000
|
-
},
|
|
1001
|
-
},
|
|
1002
|
-
};
|
|
1003
|
-
const ContainerHttpGet = {
|
|
1004
|
-
type: {
|
|
1005
|
-
name: "Composite",
|
|
1006
|
-
className: "ContainerHttpGet",
|
|
1007
|
-
modelProperties: {
|
|
1008
|
-
path: {
|
|
1009
|
-
serializedName: "path",
|
|
1010
|
-
type: {
|
|
1011
|
-
name: "String",
|
|
1012
|
-
},
|
|
1013
|
-
},
|
|
1014
|
-
port: {
|
|
1015
|
-
serializedName: "port",
|
|
1016
|
-
required: true,
|
|
1017
|
-
type: {
|
|
1018
|
-
name: "Number",
|
|
1019
|
-
},
|
|
1020
|
-
},
|
|
1021
|
-
scheme: {
|
|
1022
|
-
serializedName: "scheme",
|
|
1023
|
-
type: {
|
|
1024
|
-
name: "String",
|
|
1025
|
-
},
|
|
1026
|
-
},
|
|
1027
|
-
httpHeaders: {
|
|
1028
|
-
serializedName: "httpHeaders",
|
|
1029
|
-
type: {
|
|
1030
|
-
name: "Sequence",
|
|
1031
|
-
element: {
|
|
1032
|
-
type: {
|
|
1033
|
-
name: "Composite",
|
|
1034
|
-
className: "HttpHeader",
|
|
1035
|
-
},
|
|
1036
|
-
},
|
|
1037
|
-
},
|
|
1038
|
-
},
|
|
1039
|
-
},
|
|
1040
|
-
},
|
|
1041
|
-
};
|
|
1042
|
-
const HttpHeader = {
|
|
1043
|
-
type: {
|
|
1044
|
-
name: "Composite",
|
|
1045
|
-
className: "HttpHeader",
|
|
1046
|
-
modelProperties: {
|
|
1047
|
-
name: {
|
|
1048
|
-
serializedName: "name",
|
|
1049
|
-
type: {
|
|
1050
|
-
name: "String",
|
|
1051
|
-
},
|
|
1052
|
-
},
|
|
1053
|
-
value: {
|
|
1054
|
-
serializedName: "value",
|
|
1055
|
-
type: {
|
|
1056
|
-
name: "String",
|
|
1057
|
-
},
|
|
1058
|
-
},
|
|
1059
|
-
},
|
|
1060
|
-
},
|
|
1061
|
-
};
|
|
1062
|
-
const SecurityContextDefinition = {
|
|
1063
|
-
type: {
|
|
1064
|
-
name: "Composite",
|
|
1065
|
-
className: "SecurityContextDefinition",
|
|
1066
|
-
modelProperties: {
|
|
1067
|
-
privileged: {
|
|
1068
|
-
serializedName: "privileged",
|
|
1069
|
-
type: {
|
|
1070
|
-
name: "Boolean",
|
|
1071
|
-
},
|
|
1072
|
-
},
|
|
1073
|
-
allowPrivilegeEscalation: {
|
|
1074
|
-
serializedName: "allowPrivilegeEscalation",
|
|
1075
|
-
type: {
|
|
1076
|
-
name: "Boolean",
|
|
1077
|
-
},
|
|
1078
|
-
},
|
|
1079
|
-
capabilities: {
|
|
1080
|
-
serializedName: "capabilities",
|
|
1081
|
-
type: {
|
|
1082
|
-
name: "Composite",
|
|
1083
|
-
className: "SecurityContextCapabilitiesDefinition",
|
|
1084
|
-
},
|
|
1085
|
-
},
|
|
1086
|
-
runAsGroup: {
|
|
1087
|
-
serializedName: "runAsGroup",
|
|
1088
|
-
type: {
|
|
1089
|
-
name: "Number",
|
|
1090
|
-
},
|
|
1091
|
-
},
|
|
1092
|
-
runAsUser: {
|
|
1093
|
-
serializedName: "runAsUser",
|
|
1094
|
-
type: {
|
|
1095
|
-
name: "Number",
|
|
1096
|
-
},
|
|
1097
|
-
},
|
|
1098
|
-
seccompProfile: {
|
|
1099
|
-
serializedName: "seccompProfile",
|
|
1100
|
-
type: {
|
|
1101
|
-
name: "String",
|
|
1102
|
-
},
|
|
1103
|
-
},
|
|
1104
|
-
},
|
|
1105
|
-
},
|
|
1106
|
-
};
|
|
1107
|
-
const SecurityContextCapabilitiesDefinition = {
|
|
1108
|
-
type: {
|
|
1109
|
-
name: "Composite",
|
|
1110
|
-
className: "SecurityContextCapabilitiesDefinition",
|
|
1111
|
-
modelProperties: {
|
|
1112
|
-
add: {
|
|
1113
|
-
serializedName: "add",
|
|
1114
|
-
type: {
|
|
1115
|
-
name: "Sequence",
|
|
1116
|
-
element: {
|
|
1117
|
-
type: {
|
|
1118
|
-
name: "String",
|
|
1119
|
-
},
|
|
1120
|
-
},
|
|
1121
|
-
},
|
|
1122
|
-
},
|
|
1123
|
-
drop: {
|
|
1124
|
-
serializedName: "drop",
|
|
1125
|
-
type: {
|
|
1126
|
-
name: "Sequence",
|
|
1127
|
-
element: {
|
|
1128
|
-
type: {
|
|
1129
|
-
name: "String",
|
|
1130
|
-
},
|
|
1131
|
-
},
|
|
1132
|
-
},
|
|
1133
|
-
},
|
|
1134
|
-
},
|
|
1135
|
-
},
|
|
1136
|
-
};
|
|
1137
|
-
const ConfigMap = {
|
|
1138
|
-
type: {
|
|
1139
|
-
name: "Composite",
|
|
1140
|
-
className: "ConfigMap",
|
|
1141
|
-
modelProperties: {
|
|
1142
|
-
keyValuePairs: {
|
|
1143
|
-
serializedName: "keyValuePairs",
|
|
1144
|
-
type: {
|
|
1145
|
-
name: "Dictionary",
|
|
1146
|
-
value: { type: { name: "String" } },
|
|
1147
|
-
},
|
|
1148
|
-
},
|
|
1149
|
-
},
|
|
1150
|
-
},
|
|
1151
|
-
};
|
|
1152
|
-
const ImageRegistryCredential = {
|
|
1153
|
-
type: {
|
|
1154
|
-
name: "Composite",
|
|
1155
|
-
className: "ImageRegistryCredential",
|
|
1156
|
-
modelProperties: {
|
|
1157
|
-
server: {
|
|
1158
|
-
serializedName: "server",
|
|
1159
|
-
required: true,
|
|
1160
|
-
type: {
|
|
1161
|
-
name: "String",
|
|
1162
|
-
},
|
|
1163
|
-
},
|
|
1164
|
-
username: {
|
|
1165
|
-
serializedName: "username",
|
|
1166
|
-
type: {
|
|
1167
|
-
name: "String",
|
|
1168
|
-
},
|
|
1169
|
-
},
|
|
1170
|
-
password: {
|
|
1171
|
-
serializedName: "password",
|
|
1172
|
-
type: {
|
|
1173
|
-
name: "String",
|
|
1174
|
-
},
|
|
1175
|
-
},
|
|
1176
|
-
identity: {
|
|
1177
|
-
serializedName: "identity",
|
|
1178
|
-
type: {
|
|
1179
|
-
name: "String",
|
|
1180
|
-
},
|
|
1181
|
-
},
|
|
1182
|
-
identityUrl: {
|
|
1183
|
-
serializedName: "identityUrl",
|
|
1184
|
-
type: {
|
|
1185
|
-
name: "String",
|
|
1186
|
-
},
|
|
1187
|
-
},
|
|
1188
|
-
},
|
|
1189
|
-
},
|
|
1190
|
-
};
|
|
1191
|
-
const IpAddress = {
|
|
1192
|
-
type: {
|
|
1193
|
-
name: "Composite",
|
|
1194
|
-
className: "IpAddress",
|
|
1195
|
-
modelProperties: {
|
|
1196
|
-
ports: {
|
|
1197
|
-
serializedName: "ports",
|
|
1198
|
-
required: true,
|
|
1199
|
-
type: {
|
|
1200
|
-
name: "Sequence",
|
|
1201
|
-
element: {
|
|
1202
|
-
type: {
|
|
1203
|
-
name: "Composite",
|
|
1204
|
-
className: "Port",
|
|
1205
|
-
},
|
|
1206
|
-
},
|
|
1207
|
-
},
|
|
1208
|
-
},
|
|
1209
|
-
type: {
|
|
1210
|
-
serializedName: "type",
|
|
1211
|
-
required: true,
|
|
1212
|
-
type: {
|
|
1213
|
-
name: "String",
|
|
1214
|
-
},
|
|
1215
|
-
},
|
|
1216
|
-
ip: {
|
|
1217
|
-
serializedName: "ip",
|
|
1218
|
-
type: {
|
|
1219
|
-
name: "String",
|
|
1220
|
-
},
|
|
1221
|
-
},
|
|
1222
|
-
dnsNameLabel: {
|
|
1223
|
-
serializedName: "dnsNameLabel",
|
|
1224
|
-
type: {
|
|
1225
|
-
name: "String",
|
|
1226
|
-
},
|
|
1227
|
-
},
|
|
1228
|
-
autoGeneratedDomainNameLabelScope: {
|
|
1229
|
-
defaultValue: "Unsecure",
|
|
1230
|
-
serializedName: "autoGeneratedDomainNameLabelScope",
|
|
1231
|
-
type: {
|
|
1232
|
-
name: "String",
|
|
1233
|
-
},
|
|
1234
|
-
},
|
|
1235
|
-
fqdn: {
|
|
1236
|
-
serializedName: "fqdn",
|
|
1237
|
-
readOnly: true,
|
|
1238
|
-
type: {
|
|
1239
|
-
name: "String",
|
|
1240
|
-
},
|
|
1241
|
-
},
|
|
1242
|
-
},
|
|
1243
|
-
},
|
|
1244
|
-
};
|
|
1245
|
-
const Port = {
|
|
1246
|
-
type: {
|
|
1247
|
-
name: "Composite",
|
|
1248
|
-
className: "Port",
|
|
1249
|
-
modelProperties: {
|
|
1250
|
-
protocol: {
|
|
1251
|
-
serializedName: "protocol",
|
|
1252
|
-
type: {
|
|
1253
|
-
name: "String",
|
|
1254
|
-
},
|
|
1255
|
-
},
|
|
1256
|
-
port: {
|
|
1257
|
-
serializedName: "port",
|
|
1258
|
-
required: true,
|
|
1259
|
-
type: {
|
|
1260
|
-
name: "Number",
|
|
1261
|
-
},
|
|
1262
|
-
},
|
|
1263
|
-
},
|
|
1264
|
-
},
|
|
1265
|
-
};
|
|
1266
|
-
const Volume = {
|
|
1267
|
-
type: {
|
|
1268
|
-
name: "Composite",
|
|
1269
|
-
className: "Volume",
|
|
1270
|
-
modelProperties: {
|
|
1271
|
-
name: {
|
|
1272
|
-
serializedName: "name",
|
|
1273
|
-
required: true,
|
|
1274
|
-
type: {
|
|
1275
|
-
name: "String",
|
|
1276
|
-
},
|
|
1277
|
-
},
|
|
1278
|
-
azureFile: {
|
|
1279
|
-
serializedName: "azureFile",
|
|
1280
|
-
type: {
|
|
1281
|
-
name: "Composite",
|
|
1282
|
-
className: "AzureFileVolume",
|
|
1283
|
-
},
|
|
1284
|
-
},
|
|
1285
|
-
emptyDir: {
|
|
1286
|
-
serializedName: "emptyDir",
|
|
1287
|
-
type: {
|
|
1288
|
-
name: "Dictionary",
|
|
1289
|
-
value: { type: { name: "any" } },
|
|
1290
|
-
},
|
|
1291
|
-
},
|
|
1292
|
-
secret: {
|
|
1293
|
-
serializedName: "secret",
|
|
1294
|
-
type: {
|
|
1295
|
-
name: "Dictionary",
|
|
1296
|
-
value: { type: { name: "String" } },
|
|
1297
|
-
},
|
|
1298
|
-
},
|
|
1299
|
-
gitRepo: {
|
|
1300
|
-
serializedName: "gitRepo",
|
|
1301
|
-
type: {
|
|
1302
|
-
name: "Composite",
|
|
1303
|
-
className: "GitRepoVolume",
|
|
1304
|
-
},
|
|
1305
|
-
},
|
|
1306
|
-
},
|
|
1307
|
-
},
|
|
1308
|
-
};
|
|
1309
|
-
const AzureFileVolume = {
|
|
1310
|
-
type: {
|
|
1311
|
-
name: "Composite",
|
|
1312
|
-
className: "AzureFileVolume",
|
|
1313
|
-
modelProperties: {
|
|
1314
|
-
shareName: {
|
|
1315
|
-
serializedName: "shareName",
|
|
1316
|
-
required: true,
|
|
1317
|
-
type: {
|
|
1318
|
-
name: "String",
|
|
1319
|
-
},
|
|
1320
|
-
},
|
|
1321
|
-
readOnly: {
|
|
1322
|
-
serializedName: "readOnly",
|
|
1323
|
-
type: {
|
|
1324
|
-
name: "Boolean",
|
|
1325
|
-
},
|
|
1326
|
-
},
|
|
1327
|
-
storageAccountName: {
|
|
1328
|
-
serializedName: "storageAccountName",
|
|
1329
|
-
required: true,
|
|
1330
|
-
type: {
|
|
1331
|
-
name: "String",
|
|
1332
|
-
},
|
|
1333
|
-
},
|
|
1334
|
-
storageAccountKey: {
|
|
1335
|
-
serializedName: "storageAccountKey",
|
|
1336
|
-
type: {
|
|
1337
|
-
name: "String",
|
|
1338
|
-
},
|
|
1339
|
-
},
|
|
1340
|
-
},
|
|
1341
|
-
},
|
|
1342
|
-
};
|
|
1343
|
-
const GitRepoVolume = {
|
|
1344
|
-
type: {
|
|
1345
|
-
name: "Composite",
|
|
1346
|
-
className: "GitRepoVolume",
|
|
1347
|
-
modelProperties: {
|
|
1348
|
-
directory: {
|
|
1349
|
-
serializedName: "directory",
|
|
1350
|
-
type: {
|
|
1351
|
-
name: "String",
|
|
1352
|
-
},
|
|
1353
|
-
},
|
|
1354
|
-
repository: {
|
|
1355
|
-
serializedName: "repository",
|
|
1356
|
-
required: true,
|
|
1357
|
-
type: {
|
|
1358
|
-
name: "String",
|
|
1359
|
-
},
|
|
1360
|
-
},
|
|
1361
|
-
revision: {
|
|
1362
|
-
serializedName: "revision",
|
|
1363
|
-
type: {
|
|
1364
|
-
name: "String",
|
|
1365
|
-
},
|
|
1366
|
-
},
|
|
1367
|
-
},
|
|
1368
|
-
},
|
|
1369
|
-
};
|
|
1370
|
-
const ContainerGroupPropertiesInstanceView = {
|
|
1371
|
-
type: {
|
|
1372
|
-
name: "Composite",
|
|
1373
|
-
className: "ContainerGroupPropertiesInstanceView",
|
|
1374
|
-
modelProperties: {
|
|
1375
|
-
events: {
|
|
1376
|
-
serializedName: "events",
|
|
1377
|
-
readOnly: true,
|
|
1378
|
-
type: {
|
|
1379
|
-
name: "Sequence",
|
|
1380
|
-
element: {
|
|
1381
|
-
type: {
|
|
1382
|
-
name: "Composite",
|
|
1383
|
-
className: "Event",
|
|
1384
|
-
},
|
|
1385
|
-
},
|
|
1386
|
-
},
|
|
1387
|
-
},
|
|
1388
|
-
state: {
|
|
1389
|
-
serializedName: "state",
|
|
1390
|
-
readOnly: true,
|
|
1391
|
-
type: {
|
|
1392
|
-
name: "String",
|
|
1393
|
-
},
|
|
1394
|
-
},
|
|
1395
|
-
},
|
|
1396
|
-
},
|
|
1397
|
-
};
|
|
1398
|
-
const ContainerGroupDiagnostics = {
|
|
1399
|
-
type: {
|
|
1400
|
-
name: "Composite",
|
|
1401
|
-
className: "ContainerGroupDiagnostics",
|
|
1402
|
-
modelProperties: {
|
|
1403
|
-
logAnalytics: {
|
|
1404
|
-
serializedName: "logAnalytics",
|
|
1405
|
-
type: {
|
|
1406
|
-
name: "Composite",
|
|
1407
|
-
className: "LogAnalytics",
|
|
1408
|
-
},
|
|
1409
|
-
},
|
|
1410
|
-
},
|
|
1411
|
-
},
|
|
1412
|
-
};
|
|
1413
|
-
const LogAnalytics = {
|
|
1414
|
-
type: {
|
|
1415
|
-
name: "Composite",
|
|
1416
|
-
className: "LogAnalytics",
|
|
1417
|
-
modelProperties: {
|
|
1418
|
-
workspaceId: {
|
|
1419
|
-
serializedName: "workspaceId",
|
|
1420
|
-
required: true,
|
|
1421
|
-
type: {
|
|
1422
|
-
name: "String",
|
|
1423
|
-
},
|
|
1424
|
-
},
|
|
1425
|
-
workspaceKey: {
|
|
1426
|
-
serializedName: "workspaceKey",
|
|
1427
|
-
required: true,
|
|
1428
|
-
type: {
|
|
1429
|
-
name: "String",
|
|
1430
|
-
},
|
|
1431
|
-
},
|
|
1432
|
-
logType: {
|
|
1433
|
-
serializedName: "logType",
|
|
1434
|
-
type: {
|
|
1435
|
-
name: "String",
|
|
1436
|
-
},
|
|
1437
|
-
},
|
|
1438
|
-
metadata: {
|
|
1439
|
-
serializedName: "metadata",
|
|
1440
|
-
type: {
|
|
1441
|
-
name: "Dictionary",
|
|
1442
|
-
value: { type: { name: "String" } },
|
|
1443
|
-
},
|
|
1444
|
-
},
|
|
1445
|
-
workspaceResourceId: {
|
|
1446
|
-
serializedName: "workspaceResourceId",
|
|
1447
|
-
type: {
|
|
1448
|
-
name: "String",
|
|
1449
|
-
},
|
|
1450
|
-
},
|
|
1451
|
-
},
|
|
1452
|
-
},
|
|
1453
|
-
};
|
|
1454
|
-
const ContainerGroupSubnetId = {
|
|
1455
|
-
type: {
|
|
1456
|
-
name: "Composite",
|
|
1457
|
-
className: "ContainerGroupSubnetId",
|
|
1458
|
-
modelProperties: {
|
|
1459
|
-
id: {
|
|
1460
|
-
serializedName: "id",
|
|
1461
|
-
required: true,
|
|
1462
|
-
type: {
|
|
1463
|
-
name: "String",
|
|
1464
|
-
},
|
|
1465
|
-
},
|
|
1466
|
-
name: {
|
|
1467
|
-
serializedName: "name",
|
|
1468
|
-
type: {
|
|
1469
|
-
name: "String",
|
|
1470
|
-
},
|
|
1471
|
-
},
|
|
1472
|
-
},
|
|
1473
|
-
},
|
|
1474
|
-
};
|
|
1475
|
-
const DnsConfiguration = {
|
|
1476
|
-
type: {
|
|
1477
|
-
name: "Composite",
|
|
1478
|
-
className: "DnsConfiguration",
|
|
1479
|
-
modelProperties: {
|
|
1480
|
-
nameServers: {
|
|
1481
|
-
serializedName: "nameServers",
|
|
1482
|
-
required: true,
|
|
1483
|
-
type: {
|
|
1484
|
-
name: "Sequence",
|
|
1485
|
-
element: {
|
|
1486
|
-
type: {
|
|
1487
|
-
name: "String",
|
|
1488
|
-
},
|
|
1489
|
-
},
|
|
1490
|
-
},
|
|
1491
|
-
},
|
|
1492
|
-
searchDomains: {
|
|
1493
|
-
serializedName: "searchDomains",
|
|
1494
|
-
type: {
|
|
1495
|
-
name: "String",
|
|
1496
|
-
},
|
|
1497
|
-
},
|
|
1498
|
-
options: {
|
|
1499
|
-
serializedName: "options",
|
|
1500
|
-
type: {
|
|
1501
|
-
name: "String",
|
|
1502
|
-
},
|
|
1503
|
-
},
|
|
1504
|
-
},
|
|
1505
|
-
},
|
|
1506
|
-
};
|
|
1507
|
-
const EncryptionProperties = {
|
|
1508
|
-
type: {
|
|
1509
|
-
name: "Composite",
|
|
1510
|
-
className: "EncryptionProperties",
|
|
1511
|
-
modelProperties: {
|
|
1512
|
-
vaultBaseUrl: {
|
|
1513
|
-
serializedName: "vaultBaseUrl",
|
|
1514
|
-
required: true,
|
|
1515
|
-
type: {
|
|
1516
|
-
name: "String",
|
|
1517
|
-
},
|
|
1518
|
-
},
|
|
1519
|
-
keyName: {
|
|
1520
|
-
serializedName: "keyName",
|
|
1521
|
-
required: true,
|
|
1522
|
-
type: {
|
|
1523
|
-
name: "String",
|
|
1524
|
-
},
|
|
1525
|
-
},
|
|
1526
|
-
keyVersion: {
|
|
1527
|
-
serializedName: "keyVersion",
|
|
1528
|
-
required: true,
|
|
1529
|
-
type: {
|
|
1530
|
-
name: "String",
|
|
1531
|
-
},
|
|
1532
|
-
},
|
|
1533
|
-
identity: {
|
|
1534
|
-
serializedName: "identity",
|
|
1535
|
-
type: {
|
|
1536
|
-
name: "String",
|
|
1537
|
-
},
|
|
1538
|
-
},
|
|
1539
|
-
},
|
|
1540
|
-
},
|
|
1541
|
-
};
|
|
1542
|
-
const InitContainerDefinition = {
|
|
1543
|
-
type: {
|
|
1544
|
-
name: "Composite",
|
|
1545
|
-
className: "InitContainerDefinition",
|
|
1546
|
-
modelProperties: {
|
|
1547
|
-
name: {
|
|
1548
|
-
serializedName: "name",
|
|
1549
|
-
required: true,
|
|
1550
|
-
type: {
|
|
1551
|
-
name: "String",
|
|
1552
|
-
},
|
|
1553
|
-
},
|
|
1554
|
-
image: {
|
|
1555
|
-
serializedName: "properties.image",
|
|
1556
|
-
type: {
|
|
1557
|
-
name: "String",
|
|
1558
|
-
},
|
|
1559
|
-
},
|
|
1560
|
-
command: {
|
|
1561
|
-
serializedName: "properties.command",
|
|
1562
|
-
type: {
|
|
1563
|
-
name: "Sequence",
|
|
1564
|
-
element: {
|
|
1565
|
-
type: {
|
|
1566
|
-
name: "String",
|
|
1567
|
-
},
|
|
1568
|
-
},
|
|
1569
|
-
},
|
|
1570
|
-
},
|
|
1571
|
-
environmentVariables: {
|
|
1572
|
-
serializedName: "properties.environmentVariables",
|
|
1573
|
-
type: {
|
|
1574
|
-
name: "Sequence",
|
|
1575
|
-
element: {
|
|
1576
|
-
type: {
|
|
1577
|
-
name: "Composite",
|
|
1578
|
-
className: "EnvironmentVariable",
|
|
1579
|
-
},
|
|
1580
|
-
},
|
|
1581
|
-
},
|
|
1582
|
-
},
|
|
1583
|
-
instanceView: {
|
|
1584
|
-
serializedName: "properties.instanceView",
|
|
1585
|
-
type: {
|
|
1586
|
-
name: "Composite",
|
|
1587
|
-
className: "InitContainerPropertiesDefinitionInstanceView",
|
|
1588
|
-
},
|
|
1589
|
-
},
|
|
1590
|
-
volumeMounts: {
|
|
1591
|
-
serializedName: "properties.volumeMounts",
|
|
1592
|
-
type: {
|
|
1593
|
-
name: "Sequence",
|
|
1594
|
-
element: {
|
|
1595
|
-
type: {
|
|
1596
|
-
name: "Composite",
|
|
1597
|
-
className: "VolumeMount",
|
|
1598
|
-
},
|
|
1599
|
-
},
|
|
1600
|
-
},
|
|
1601
|
-
},
|
|
1602
|
-
securityContext: {
|
|
1603
|
-
serializedName: "properties.securityContext",
|
|
1604
|
-
type: {
|
|
1605
|
-
name: "Composite",
|
|
1606
|
-
className: "SecurityContextDefinition",
|
|
1607
|
-
},
|
|
1608
|
-
},
|
|
1609
|
-
},
|
|
1610
|
-
},
|
|
1611
|
-
};
|
|
1612
|
-
const InitContainerPropertiesDefinitionInstanceView = {
|
|
1613
|
-
type: {
|
|
1614
|
-
name: "Composite",
|
|
1615
|
-
className: "InitContainerPropertiesDefinitionInstanceView",
|
|
1616
|
-
modelProperties: {
|
|
1617
|
-
restartCount: {
|
|
1618
|
-
serializedName: "restartCount",
|
|
1619
|
-
readOnly: true,
|
|
1620
|
-
type: {
|
|
1621
|
-
name: "Number",
|
|
1622
|
-
},
|
|
1623
|
-
},
|
|
1624
|
-
currentState: {
|
|
1625
|
-
serializedName: "currentState",
|
|
1626
|
-
type: {
|
|
1627
|
-
name: "Composite",
|
|
1628
|
-
className: "ContainerState",
|
|
1629
|
-
},
|
|
1630
|
-
},
|
|
1631
|
-
previousState: {
|
|
1632
|
-
serializedName: "previousState",
|
|
1633
|
-
type: {
|
|
1634
|
-
name: "Composite",
|
|
1635
|
-
className: "ContainerState",
|
|
1636
|
-
},
|
|
1637
|
-
},
|
|
1638
|
-
events: {
|
|
1639
|
-
serializedName: "events",
|
|
1640
|
-
readOnly: true,
|
|
1641
|
-
type: {
|
|
1642
|
-
name: "Sequence",
|
|
1643
|
-
element: {
|
|
1644
|
-
type: {
|
|
1645
|
-
name: "Composite",
|
|
1646
|
-
className: "Event",
|
|
1647
|
-
},
|
|
1648
|
-
},
|
|
1649
|
-
},
|
|
1650
|
-
},
|
|
1651
|
-
},
|
|
1652
|
-
},
|
|
1653
|
-
};
|
|
1654
|
-
const DeploymentExtensionSpec = {
|
|
1655
|
-
type: {
|
|
1656
|
-
name: "Composite",
|
|
1657
|
-
className: "DeploymentExtensionSpec",
|
|
1658
|
-
modelProperties: {
|
|
1659
|
-
name: {
|
|
1660
|
-
serializedName: "name",
|
|
1661
|
-
required: true,
|
|
1662
|
-
type: {
|
|
1663
|
-
name: "String",
|
|
1664
|
-
},
|
|
1665
|
-
},
|
|
1666
|
-
extensionType: {
|
|
1667
|
-
serializedName: "properties.extensionType",
|
|
1668
|
-
type: {
|
|
1669
|
-
name: "String",
|
|
1670
|
-
},
|
|
1671
|
-
},
|
|
1672
|
-
version: {
|
|
1673
|
-
serializedName: "properties.version",
|
|
1674
|
-
type: {
|
|
1675
|
-
name: "String",
|
|
1676
|
-
},
|
|
1677
|
-
},
|
|
1678
|
-
settings: {
|
|
1679
|
-
serializedName: "properties.settings",
|
|
1680
|
-
type: {
|
|
1681
|
-
name: "Dictionary",
|
|
1682
|
-
value: { type: { name: "any" } },
|
|
1683
|
-
},
|
|
1684
|
-
},
|
|
1685
|
-
protectedSettings: {
|
|
1686
|
-
serializedName: "properties.protectedSettings",
|
|
1687
|
-
type: {
|
|
1688
|
-
name: "Dictionary",
|
|
1689
|
-
value: { type: { name: "any" } },
|
|
1690
|
-
},
|
|
1691
|
-
},
|
|
1692
|
-
},
|
|
1693
|
-
},
|
|
1694
|
-
};
|
|
1695
|
-
const ConfidentialComputeProperties = {
|
|
1696
|
-
type: {
|
|
1697
|
-
name: "Composite",
|
|
1698
|
-
className: "ConfidentialComputeProperties",
|
|
1699
|
-
modelProperties: {
|
|
1700
|
-
ccePolicy: {
|
|
1701
|
-
serializedName: "ccePolicy",
|
|
1702
|
-
type: {
|
|
1703
|
-
name: "String",
|
|
1704
|
-
},
|
|
1705
|
-
},
|
|
1706
|
-
},
|
|
1707
|
-
},
|
|
1708
|
-
};
|
|
1709
|
-
const ContainerGroupProfileReferenceDefinition = {
|
|
1710
|
-
type: {
|
|
1711
|
-
name: "Composite",
|
|
1712
|
-
className: "ContainerGroupProfileReferenceDefinition",
|
|
1713
|
-
modelProperties: {
|
|
1714
|
-
id: {
|
|
1715
|
-
serializedName: "id",
|
|
1716
|
-
type: {
|
|
1717
|
-
name: "String",
|
|
1718
|
-
},
|
|
1719
|
-
},
|
|
1720
|
-
revision: {
|
|
1721
|
-
serializedName: "revision",
|
|
1722
|
-
type: {
|
|
1723
|
-
name: "Number",
|
|
1724
|
-
},
|
|
1725
|
-
},
|
|
1726
|
-
},
|
|
1727
|
-
},
|
|
1728
|
-
};
|
|
1729
|
-
const StandbyPoolProfileDefinition = {
|
|
1730
|
-
type: {
|
|
1731
|
-
name: "Composite",
|
|
1732
|
-
className: "StandbyPoolProfileDefinition",
|
|
1733
|
-
modelProperties: {
|
|
1734
|
-
id: {
|
|
1735
|
-
serializedName: "id",
|
|
1736
|
-
type: {
|
|
1737
|
-
name: "String",
|
|
1738
|
-
},
|
|
1739
|
-
},
|
|
1740
|
-
failContainerGroupCreateOnReuseFailure: {
|
|
1741
|
-
serializedName: "failContainerGroupCreateOnReuseFailure",
|
|
1742
|
-
type: {
|
|
1743
|
-
name: "Boolean",
|
|
1744
|
-
},
|
|
1745
|
-
},
|
|
1746
|
-
},
|
|
1747
|
-
},
|
|
1748
|
-
};
|
|
1749
|
-
const CloudError = {
|
|
1750
|
-
type: {
|
|
1751
|
-
name: "Composite",
|
|
1752
|
-
className: "CloudError",
|
|
1753
|
-
modelProperties: {
|
|
1754
|
-
error: {
|
|
1755
|
-
serializedName: "error",
|
|
1756
|
-
type: {
|
|
1757
|
-
name: "Composite",
|
|
1758
|
-
className: "CloudErrorBody",
|
|
1759
|
-
},
|
|
1760
|
-
},
|
|
1761
|
-
},
|
|
1762
|
-
},
|
|
1763
|
-
};
|
|
1764
|
-
const CloudErrorBody = {
|
|
1765
|
-
type: {
|
|
1766
|
-
name: "Composite",
|
|
1767
|
-
className: "CloudErrorBody",
|
|
1768
|
-
modelProperties: {
|
|
1769
|
-
code: {
|
|
1770
|
-
serializedName: "code",
|
|
1771
|
-
type: {
|
|
1772
|
-
name: "String",
|
|
1773
|
-
},
|
|
1774
|
-
},
|
|
1775
|
-
message: {
|
|
1776
|
-
serializedName: "message",
|
|
1777
|
-
type: {
|
|
1778
|
-
name: "String",
|
|
1779
|
-
},
|
|
1780
|
-
},
|
|
1781
|
-
target: {
|
|
1782
|
-
serializedName: "target",
|
|
1783
|
-
type: {
|
|
1784
|
-
name: "String",
|
|
1785
|
-
},
|
|
1786
|
-
},
|
|
1787
|
-
details: {
|
|
1788
|
-
serializedName: "details",
|
|
1789
|
-
type: {
|
|
1790
|
-
name: "Sequence",
|
|
1791
|
-
element: {
|
|
1792
|
-
type: {
|
|
1793
|
-
name: "Composite",
|
|
1794
|
-
className: "CloudErrorBody",
|
|
1795
|
-
},
|
|
1796
|
-
},
|
|
1797
|
-
},
|
|
1798
|
-
},
|
|
1799
|
-
},
|
|
1800
|
-
},
|
|
1801
|
-
};
|
|
1802
|
-
const OperationListResult = {
|
|
1803
|
-
type: {
|
|
1804
|
-
name: "Composite",
|
|
1805
|
-
className: "OperationListResult",
|
|
1806
|
-
modelProperties: {
|
|
1807
|
-
value: {
|
|
1808
|
-
serializedName: "value",
|
|
1809
|
-
type: {
|
|
1810
|
-
name: "Sequence",
|
|
1811
|
-
element: {
|
|
1812
|
-
type: {
|
|
1813
|
-
name: "Composite",
|
|
1814
|
-
className: "Operation",
|
|
1815
|
-
},
|
|
1816
|
-
},
|
|
1817
|
-
},
|
|
1818
|
-
},
|
|
1819
|
-
nextLink: {
|
|
1820
|
-
serializedName: "nextLink",
|
|
1821
|
-
type: {
|
|
1822
|
-
name: "String",
|
|
1823
|
-
},
|
|
1824
|
-
},
|
|
1825
|
-
},
|
|
1826
|
-
},
|
|
1827
|
-
};
|
|
1828
|
-
const Operation = {
|
|
1829
|
-
type: {
|
|
1830
|
-
name: "Composite",
|
|
1831
|
-
className: "Operation",
|
|
1832
|
-
modelProperties: {
|
|
1833
|
-
name: {
|
|
1834
|
-
serializedName: "name",
|
|
1835
|
-
required: true,
|
|
1836
|
-
type: {
|
|
1837
|
-
name: "String",
|
|
1838
|
-
},
|
|
1839
|
-
},
|
|
1840
|
-
display: {
|
|
1841
|
-
serializedName: "display",
|
|
1842
|
-
type: {
|
|
1843
|
-
name: "Composite",
|
|
1844
|
-
className: "OperationDisplay",
|
|
1845
|
-
},
|
|
1846
|
-
},
|
|
1847
|
-
properties: {
|
|
1848
|
-
serializedName: "properties",
|
|
1849
|
-
type: {
|
|
1850
|
-
name: "Dictionary",
|
|
1851
|
-
value: { type: { name: "any" } },
|
|
1852
|
-
},
|
|
1853
|
-
},
|
|
1854
|
-
origin: {
|
|
1855
|
-
serializedName: "origin",
|
|
1856
|
-
type: {
|
|
1857
|
-
name: "String",
|
|
1858
|
-
},
|
|
1859
|
-
},
|
|
1860
|
-
},
|
|
1861
|
-
},
|
|
1862
|
-
};
|
|
1863
|
-
const OperationDisplay = {
|
|
1864
|
-
type: {
|
|
1865
|
-
name: "Composite",
|
|
1866
|
-
className: "OperationDisplay",
|
|
1867
|
-
modelProperties: {
|
|
1868
|
-
provider: {
|
|
1869
|
-
serializedName: "provider",
|
|
1870
|
-
type: {
|
|
1871
|
-
name: "String",
|
|
1872
|
-
},
|
|
1873
|
-
},
|
|
1874
|
-
resource: {
|
|
1875
|
-
serializedName: "resource",
|
|
1876
|
-
type: {
|
|
1877
|
-
name: "String",
|
|
1878
|
-
},
|
|
1879
|
-
},
|
|
1880
|
-
operation: {
|
|
1881
|
-
serializedName: "operation",
|
|
1882
|
-
type: {
|
|
1883
|
-
name: "String",
|
|
1884
|
-
},
|
|
1885
|
-
},
|
|
1886
|
-
description: {
|
|
1887
|
-
serializedName: "description",
|
|
1888
|
-
type: {
|
|
1889
|
-
name: "String",
|
|
1890
|
-
},
|
|
1891
|
-
},
|
|
1892
|
-
},
|
|
1893
|
-
},
|
|
1894
|
-
};
|
|
1895
|
-
const UsageListResult = {
|
|
1896
|
-
type: {
|
|
1897
|
-
name: "Composite",
|
|
1898
|
-
className: "UsageListResult",
|
|
1899
|
-
modelProperties: {
|
|
1900
|
-
value: {
|
|
1901
|
-
serializedName: "value",
|
|
1902
|
-
readOnly: true,
|
|
1903
|
-
type: {
|
|
1904
|
-
name: "Sequence",
|
|
1905
|
-
element: {
|
|
1906
|
-
type: {
|
|
1907
|
-
name: "Composite",
|
|
1908
|
-
className: "Usage",
|
|
1909
|
-
},
|
|
1910
|
-
},
|
|
1911
|
-
},
|
|
1912
|
-
},
|
|
1913
|
-
},
|
|
1914
|
-
},
|
|
1915
|
-
};
|
|
1916
|
-
const Usage = {
|
|
1917
|
-
type: {
|
|
1918
|
-
name: "Composite",
|
|
1919
|
-
className: "Usage",
|
|
1920
|
-
modelProperties: {
|
|
1921
|
-
id: {
|
|
1922
|
-
serializedName: "id",
|
|
1923
|
-
readOnly: true,
|
|
1924
|
-
type: {
|
|
1925
|
-
name: "String",
|
|
1926
|
-
},
|
|
1927
|
-
},
|
|
1928
|
-
unit: {
|
|
1929
|
-
serializedName: "unit",
|
|
1930
|
-
readOnly: true,
|
|
1931
|
-
type: {
|
|
1932
|
-
name: "String",
|
|
1933
|
-
},
|
|
1934
|
-
},
|
|
1935
|
-
currentValue: {
|
|
1936
|
-
serializedName: "currentValue",
|
|
1937
|
-
readOnly: true,
|
|
1938
|
-
type: {
|
|
1939
|
-
name: "Number",
|
|
1940
|
-
},
|
|
1941
|
-
},
|
|
1942
|
-
limit: {
|
|
1943
|
-
serializedName: "limit",
|
|
1944
|
-
readOnly: true,
|
|
1945
|
-
type: {
|
|
1946
|
-
name: "Number",
|
|
1947
|
-
},
|
|
1948
|
-
},
|
|
1949
|
-
name: {
|
|
1950
|
-
serializedName: "name",
|
|
1951
|
-
type: {
|
|
1952
|
-
name: "Composite",
|
|
1953
|
-
className: "UsageName",
|
|
1954
|
-
},
|
|
1955
|
-
},
|
|
1956
|
-
},
|
|
1957
|
-
},
|
|
1958
|
-
};
|
|
1959
|
-
const UsageName = {
|
|
1960
|
-
type: {
|
|
1961
|
-
name: "Composite",
|
|
1962
|
-
className: "UsageName",
|
|
1963
|
-
modelProperties: {
|
|
1964
|
-
value: {
|
|
1965
|
-
serializedName: "value",
|
|
1966
|
-
readOnly: true,
|
|
1967
|
-
type: {
|
|
1968
|
-
name: "String",
|
|
1969
|
-
},
|
|
1970
|
-
},
|
|
1971
|
-
localizedValue: {
|
|
1972
|
-
serializedName: "localizedValue",
|
|
1973
|
-
readOnly: true,
|
|
1974
|
-
type: {
|
|
1975
|
-
name: "String",
|
|
1976
|
-
},
|
|
1977
|
-
},
|
|
1978
|
-
},
|
|
1979
|
-
},
|
|
1980
|
-
};
|
|
1981
|
-
const Logs = {
|
|
1982
|
-
type: {
|
|
1983
|
-
name: "Composite",
|
|
1984
|
-
className: "Logs",
|
|
1985
|
-
modelProperties: {
|
|
1986
|
-
content: {
|
|
1987
|
-
serializedName: "content",
|
|
1988
|
-
type: {
|
|
1989
|
-
name: "String",
|
|
1990
|
-
},
|
|
1991
|
-
},
|
|
1992
|
-
},
|
|
1993
|
-
},
|
|
1994
|
-
};
|
|
1995
|
-
const ContainerExecRequest = {
|
|
1996
|
-
type: {
|
|
1997
|
-
name: "Composite",
|
|
1998
|
-
className: "ContainerExecRequest",
|
|
1999
|
-
modelProperties: {
|
|
2000
|
-
command: {
|
|
2001
|
-
serializedName: "command",
|
|
2002
|
-
type: {
|
|
2003
|
-
name: "String",
|
|
2004
|
-
},
|
|
2005
|
-
},
|
|
2006
|
-
terminalSize: {
|
|
2007
|
-
serializedName: "terminalSize",
|
|
2008
|
-
type: {
|
|
2009
|
-
name: "Composite",
|
|
2010
|
-
className: "ContainerExecRequestTerminalSize",
|
|
2011
|
-
},
|
|
2012
|
-
},
|
|
2013
|
-
},
|
|
2014
|
-
},
|
|
2015
|
-
};
|
|
2016
|
-
const ContainerExecRequestTerminalSize = {
|
|
2017
|
-
type: {
|
|
2018
|
-
name: "Composite",
|
|
2019
|
-
className: "ContainerExecRequestTerminalSize",
|
|
2020
|
-
modelProperties: {
|
|
2021
|
-
rows: {
|
|
2022
|
-
serializedName: "rows",
|
|
2023
|
-
type: {
|
|
2024
|
-
name: "Number",
|
|
2025
|
-
},
|
|
2026
|
-
},
|
|
2027
|
-
cols: {
|
|
2028
|
-
serializedName: "cols",
|
|
2029
|
-
type: {
|
|
2030
|
-
name: "Number",
|
|
2031
|
-
},
|
|
2032
|
-
},
|
|
2033
|
-
},
|
|
2034
|
-
},
|
|
2035
|
-
};
|
|
2036
|
-
const ContainerExecResponse = {
|
|
2037
|
-
type: {
|
|
2038
|
-
name: "Composite",
|
|
2039
|
-
className: "ContainerExecResponse",
|
|
2040
|
-
modelProperties: {
|
|
2041
|
-
webSocketUri: {
|
|
2042
|
-
serializedName: "webSocketUri",
|
|
2043
|
-
type: {
|
|
2044
|
-
name: "String",
|
|
2045
|
-
},
|
|
2046
|
-
},
|
|
2047
|
-
password: {
|
|
2048
|
-
serializedName: "password",
|
|
2049
|
-
type: {
|
|
2050
|
-
name: "String",
|
|
2051
|
-
},
|
|
2052
|
-
},
|
|
2053
|
-
},
|
|
2054
|
-
},
|
|
2055
|
-
};
|
|
2056
|
-
const ContainerAttachResponse = {
|
|
2057
|
-
type: {
|
|
2058
|
-
name: "Composite",
|
|
2059
|
-
className: "ContainerAttachResponse",
|
|
2060
|
-
modelProperties: {
|
|
2061
|
-
webSocketUri: {
|
|
2062
|
-
serializedName: "webSocketUri",
|
|
2063
|
-
type: {
|
|
2064
|
-
name: "String",
|
|
2065
|
-
},
|
|
2066
|
-
},
|
|
2067
|
-
password: {
|
|
2068
|
-
serializedName: "password",
|
|
2069
|
-
type: {
|
|
2070
|
-
name: "String",
|
|
2071
|
-
},
|
|
2072
|
-
},
|
|
2073
|
-
},
|
|
2074
|
-
},
|
|
2075
|
-
};
|
|
2076
|
-
const CachedImagesListResult = {
|
|
2077
|
-
type: {
|
|
2078
|
-
name: "Composite",
|
|
2079
|
-
className: "CachedImagesListResult",
|
|
2080
|
-
modelProperties: {
|
|
2081
|
-
value: {
|
|
2082
|
-
serializedName: "value",
|
|
2083
|
-
type: {
|
|
2084
|
-
name: "Sequence",
|
|
2085
|
-
element: {
|
|
2086
|
-
type: {
|
|
2087
|
-
name: "Composite",
|
|
2088
|
-
className: "CachedImages",
|
|
2089
|
-
},
|
|
2090
|
-
},
|
|
2091
|
-
},
|
|
2092
|
-
},
|
|
2093
|
-
nextLink: {
|
|
2094
|
-
serializedName: "nextLink",
|
|
2095
|
-
type: {
|
|
2096
|
-
name: "String",
|
|
2097
|
-
},
|
|
2098
|
-
},
|
|
2099
|
-
},
|
|
2100
|
-
},
|
|
2101
|
-
};
|
|
2102
|
-
const CachedImages = {
|
|
2103
|
-
type: {
|
|
2104
|
-
name: "Composite",
|
|
2105
|
-
className: "CachedImages",
|
|
2106
|
-
modelProperties: {
|
|
2107
|
-
osType: {
|
|
2108
|
-
serializedName: "osType",
|
|
2109
|
-
required: true,
|
|
2110
|
-
type: {
|
|
2111
|
-
name: "String",
|
|
2112
|
-
},
|
|
2113
|
-
},
|
|
2114
|
-
image: {
|
|
2115
|
-
serializedName: "image",
|
|
2116
|
-
required: true,
|
|
2117
|
-
type: {
|
|
2118
|
-
name: "String",
|
|
2119
|
-
},
|
|
2120
|
-
},
|
|
2121
|
-
},
|
|
2122
|
-
},
|
|
2123
|
-
};
|
|
2124
|
-
const CapabilitiesListResult = {
|
|
2125
|
-
type: {
|
|
2126
|
-
name: "Composite",
|
|
2127
|
-
className: "CapabilitiesListResult",
|
|
2128
|
-
modelProperties: {
|
|
2129
|
-
value: {
|
|
2130
|
-
serializedName: "value",
|
|
2131
|
-
type: {
|
|
2132
|
-
name: "Sequence",
|
|
2133
|
-
element: {
|
|
2134
|
-
type: {
|
|
2135
|
-
name: "Composite",
|
|
2136
|
-
className: "Capabilities",
|
|
2137
|
-
},
|
|
2138
|
-
},
|
|
2139
|
-
},
|
|
2140
|
-
},
|
|
2141
|
-
nextLink: {
|
|
2142
|
-
serializedName: "nextLink",
|
|
2143
|
-
type: {
|
|
2144
|
-
name: "String",
|
|
2145
|
-
},
|
|
2146
|
-
},
|
|
2147
|
-
},
|
|
2148
|
-
},
|
|
2149
|
-
};
|
|
2150
|
-
const Capabilities = {
|
|
2151
|
-
type: {
|
|
2152
|
-
name: "Composite",
|
|
2153
|
-
className: "Capabilities",
|
|
2154
|
-
modelProperties: {
|
|
2155
|
-
resourceType: {
|
|
2156
|
-
serializedName: "resourceType",
|
|
2157
|
-
readOnly: true,
|
|
2158
|
-
type: {
|
|
2159
|
-
name: "String",
|
|
2160
|
-
},
|
|
2161
|
-
},
|
|
2162
|
-
osType: {
|
|
2163
|
-
serializedName: "osType",
|
|
2164
|
-
readOnly: true,
|
|
2165
|
-
type: {
|
|
2166
|
-
name: "String",
|
|
2167
|
-
},
|
|
2168
|
-
},
|
|
2169
|
-
location: {
|
|
2170
|
-
serializedName: "location",
|
|
2171
|
-
readOnly: true,
|
|
2172
|
-
type: {
|
|
2173
|
-
name: "String",
|
|
2174
|
-
},
|
|
2175
|
-
},
|
|
2176
|
-
ipAddressType: {
|
|
2177
|
-
serializedName: "ipAddressType",
|
|
2178
|
-
readOnly: true,
|
|
2179
|
-
type: {
|
|
2180
|
-
name: "String",
|
|
2181
|
-
},
|
|
2182
|
-
},
|
|
2183
|
-
gpu: {
|
|
2184
|
-
serializedName: "gpu",
|
|
2185
|
-
readOnly: true,
|
|
2186
|
-
type: {
|
|
2187
|
-
name: "String",
|
|
2188
|
-
},
|
|
2189
|
-
},
|
|
2190
|
-
capabilities: {
|
|
2191
|
-
serializedName: "capabilities",
|
|
2192
|
-
type: {
|
|
2193
|
-
name: "Composite",
|
|
2194
|
-
className: "CapabilitiesCapabilities",
|
|
2195
|
-
},
|
|
2196
|
-
},
|
|
2197
|
-
},
|
|
2198
|
-
},
|
|
2199
|
-
};
|
|
2200
|
-
const CapabilitiesCapabilities = {
|
|
2201
|
-
type: {
|
|
2202
|
-
name: "Composite",
|
|
2203
|
-
className: "CapabilitiesCapabilities",
|
|
2204
|
-
modelProperties: {
|
|
2205
|
-
maxMemoryInGB: {
|
|
2206
|
-
serializedName: "maxMemoryInGB",
|
|
2207
|
-
readOnly: true,
|
|
2208
|
-
type: {
|
|
2209
|
-
name: "Number",
|
|
2210
|
-
},
|
|
2211
|
-
},
|
|
2212
|
-
maxCpu: {
|
|
2213
|
-
serializedName: "maxCpu",
|
|
2214
|
-
readOnly: true,
|
|
2215
|
-
type: {
|
|
2216
|
-
name: "Number",
|
|
2217
|
-
},
|
|
2218
|
-
},
|
|
2219
|
-
maxGpuCount: {
|
|
2220
|
-
serializedName: "maxGpuCount",
|
|
2221
|
-
readOnly: true,
|
|
2222
|
-
type: {
|
|
2223
|
-
name: "Number",
|
|
2224
|
-
},
|
|
2225
|
-
},
|
|
2226
|
-
},
|
|
2227
|
-
},
|
|
2228
|
-
};
|
|
2229
|
-
const ContainerGroupProfileListResult = {
|
|
2230
|
-
type: {
|
|
2231
|
-
name: "Composite",
|
|
2232
|
-
className: "ContainerGroupProfileListResult",
|
|
2233
|
-
modelProperties: {
|
|
2234
|
-
value: {
|
|
2235
|
-
serializedName: "value",
|
|
2236
|
-
type: {
|
|
2237
|
-
name: "Sequence",
|
|
2238
|
-
element: {
|
|
2239
|
-
type: {
|
|
2240
|
-
name: "Composite",
|
|
2241
|
-
className: "ContainerGroupProfile",
|
|
2242
|
-
},
|
|
2243
|
-
},
|
|
2244
|
-
},
|
|
2245
|
-
},
|
|
2246
|
-
nextLink: {
|
|
2247
|
-
serializedName: "nextLink",
|
|
2248
|
-
type: {
|
|
2249
|
-
name: "String",
|
|
2250
|
-
},
|
|
2251
|
-
},
|
|
2252
|
-
},
|
|
2253
|
-
},
|
|
2254
|
-
};
|
|
2255
|
-
const ContainerGroupProfileProperties = {
|
|
2256
|
-
type: {
|
|
2257
|
-
name: "Composite",
|
|
2258
|
-
className: "ContainerGroupProfileProperties",
|
|
2259
|
-
modelProperties: {
|
|
2260
|
-
containers: {
|
|
2261
|
-
serializedName: "properties.containers",
|
|
2262
|
-
required: true,
|
|
2263
|
-
type: {
|
|
2264
|
-
name: "Sequence",
|
|
2265
|
-
element: {
|
|
2266
|
-
type: {
|
|
2267
|
-
name: "Composite",
|
|
2268
|
-
className: "Container",
|
|
2269
|
-
},
|
|
2270
|
-
},
|
|
2271
|
-
},
|
|
2272
|
-
},
|
|
2273
|
-
imageRegistryCredentials: {
|
|
2274
|
-
serializedName: "properties.imageRegistryCredentials",
|
|
2275
|
-
type: {
|
|
2276
|
-
name: "Sequence",
|
|
2277
|
-
element: {
|
|
2278
|
-
type: {
|
|
2279
|
-
name: "Composite",
|
|
2280
|
-
className: "ImageRegistryCredential",
|
|
2281
|
-
},
|
|
2282
|
-
},
|
|
2283
|
-
},
|
|
2284
|
-
},
|
|
2285
|
-
restartPolicy: {
|
|
2286
|
-
serializedName: "properties.restartPolicy",
|
|
2287
|
-
type: {
|
|
2288
|
-
name: "String",
|
|
2289
|
-
},
|
|
2290
|
-
},
|
|
2291
|
-
ipAddress: {
|
|
2292
|
-
serializedName: "properties.ipAddress",
|
|
2293
|
-
type: {
|
|
2294
|
-
name: "Composite",
|
|
2295
|
-
className: "IpAddress",
|
|
2296
|
-
},
|
|
2297
|
-
},
|
|
2298
|
-
osType: {
|
|
2299
|
-
serializedName: "properties.osType",
|
|
2300
|
-
required: true,
|
|
2301
|
-
type: {
|
|
2302
|
-
name: "String",
|
|
2303
|
-
},
|
|
2304
|
-
},
|
|
2305
|
-
volumes: {
|
|
2306
|
-
serializedName: "properties.volumes",
|
|
2307
|
-
type: {
|
|
2308
|
-
name: "Sequence",
|
|
2309
|
-
element: {
|
|
2310
|
-
type: {
|
|
2311
|
-
name: "Composite",
|
|
2312
|
-
className: "Volume",
|
|
2313
|
-
},
|
|
2314
|
-
},
|
|
2315
|
-
},
|
|
2316
|
-
},
|
|
2317
|
-
diagnostics: {
|
|
2318
|
-
serializedName: "properties.diagnostics",
|
|
2319
|
-
type: {
|
|
2320
|
-
name: "Composite",
|
|
2321
|
-
className: "ContainerGroupDiagnostics",
|
|
2322
|
-
},
|
|
2323
|
-
},
|
|
2324
|
-
sku: {
|
|
2325
|
-
serializedName: "properties.sku",
|
|
2326
|
-
type: {
|
|
2327
|
-
name: "String",
|
|
2328
|
-
},
|
|
2329
|
-
},
|
|
2330
|
-
encryptionProperties: {
|
|
2331
|
-
serializedName: "properties.encryptionProperties",
|
|
2332
|
-
type: {
|
|
2333
|
-
name: "Composite",
|
|
2334
|
-
className: "EncryptionProperties",
|
|
2335
|
-
},
|
|
2336
|
-
},
|
|
2337
|
-
initContainers: {
|
|
2338
|
-
serializedName: "properties.initContainers",
|
|
2339
|
-
type: {
|
|
2340
|
-
name: "Sequence",
|
|
2341
|
-
element: {
|
|
2342
|
-
type: {
|
|
2343
|
-
name: "Composite",
|
|
2344
|
-
className: "InitContainerDefinition",
|
|
2345
|
-
},
|
|
2346
|
-
},
|
|
2347
|
-
},
|
|
2348
|
-
},
|
|
2349
|
-
extensions: {
|
|
2350
|
-
serializedName: "properties.extensions",
|
|
2351
|
-
type: {
|
|
2352
|
-
name: "Sequence",
|
|
2353
|
-
element: {
|
|
2354
|
-
type: {
|
|
2355
|
-
name: "Composite",
|
|
2356
|
-
className: "DeploymentExtensionSpec",
|
|
2357
|
-
},
|
|
2358
|
-
},
|
|
2359
|
-
},
|
|
2360
|
-
},
|
|
2361
|
-
confidentialComputeProperties: {
|
|
2362
|
-
serializedName: "properties.confidentialComputeProperties",
|
|
2363
|
-
type: {
|
|
2364
|
-
name: "Composite",
|
|
2365
|
-
className: "ConfidentialComputeProperties",
|
|
2366
|
-
},
|
|
2367
|
-
},
|
|
2368
|
-
priority: {
|
|
2369
|
-
serializedName: "properties.priority",
|
|
2370
|
-
type: {
|
|
2371
|
-
name: "String",
|
|
2372
|
-
},
|
|
2373
|
-
},
|
|
2374
|
-
revision: {
|
|
2375
|
-
serializedName: "properties.revision",
|
|
2376
|
-
readOnly: true,
|
|
2377
|
-
type: {
|
|
2378
|
-
name: "Number",
|
|
2379
|
-
},
|
|
2380
|
-
},
|
|
2381
|
-
},
|
|
2382
|
-
},
|
|
2383
|
-
};
|
|
2384
|
-
const ContainerGroupProfilePatch = {
|
|
2385
|
-
type: {
|
|
2386
|
-
name: "Composite",
|
|
2387
|
-
className: "ContainerGroupProfilePatch",
|
|
2388
|
-
modelProperties: {
|
|
2389
|
-
tags: {
|
|
2390
|
-
serializedName: "tags",
|
|
2391
|
-
type: {
|
|
2392
|
-
name: "Dictionary",
|
|
2393
|
-
value: { type: { name: "String" } },
|
|
2394
|
-
},
|
|
2395
|
-
},
|
|
2396
|
-
},
|
|
2397
|
-
},
|
|
2398
|
-
};
|
|
2399
|
-
const ContainerGroup = {
|
|
2400
|
-
type: {
|
|
2401
|
-
name: "Composite",
|
|
2402
|
-
className: "ContainerGroup",
|
|
2403
|
-
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), ContainerGroupProperties.type.modelProperties),
|
|
2404
|
-
},
|
|
2405
|
-
};
|
|
2406
|
-
const ContainerGroupProfile = {
|
|
2407
|
-
type: {
|
|
2408
|
-
name: "Composite",
|
|
2409
|
-
className: "ContainerGroupProfile",
|
|
2410
|
-
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), ContainerGroupProfileProperties.type.modelProperties),
|
|
2411
|
-
},
|
|
2412
|
-
};
|
|
2413
|
-
|
|
2414
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
2415
|
-
__proto__: null,
|
|
2416
|
-
AzureFileVolume: AzureFileVolume,
|
|
2417
|
-
CachedImages: CachedImages,
|
|
2418
|
-
CachedImagesListResult: CachedImagesListResult,
|
|
2419
|
-
Capabilities: Capabilities,
|
|
2420
|
-
CapabilitiesCapabilities: CapabilitiesCapabilities,
|
|
2421
|
-
CapabilitiesListResult: CapabilitiesListResult,
|
|
2422
|
-
CloudError: CloudError,
|
|
2423
|
-
CloudErrorBody: CloudErrorBody,
|
|
2424
|
-
ConfidentialComputeProperties: ConfidentialComputeProperties,
|
|
2425
|
-
ConfigMap: ConfigMap,
|
|
2426
|
-
Container: Container,
|
|
2427
|
-
ContainerAttachResponse: ContainerAttachResponse,
|
|
2428
|
-
ContainerExec: ContainerExec,
|
|
2429
|
-
ContainerExecRequest: ContainerExecRequest,
|
|
2430
|
-
ContainerExecRequestTerminalSize: ContainerExecRequestTerminalSize,
|
|
2431
|
-
ContainerExecResponse: ContainerExecResponse,
|
|
2432
|
-
ContainerGroup: ContainerGroup,
|
|
2433
|
-
ContainerGroupDiagnostics: ContainerGroupDiagnostics,
|
|
2434
|
-
ContainerGroupIdentity: ContainerGroupIdentity,
|
|
2435
|
-
ContainerGroupListResult: ContainerGroupListResult,
|
|
2436
|
-
ContainerGroupProfile: ContainerGroupProfile,
|
|
2437
|
-
ContainerGroupProfileListResult: ContainerGroupProfileListResult,
|
|
2438
|
-
ContainerGroupProfilePatch: ContainerGroupProfilePatch,
|
|
2439
|
-
ContainerGroupProfileProperties: ContainerGroupProfileProperties,
|
|
2440
|
-
ContainerGroupProfileReferenceDefinition: ContainerGroupProfileReferenceDefinition,
|
|
2441
|
-
ContainerGroupProperties: ContainerGroupProperties,
|
|
2442
|
-
ContainerGroupPropertiesInstanceView: ContainerGroupPropertiesInstanceView,
|
|
2443
|
-
ContainerGroupSubnetId: ContainerGroupSubnetId,
|
|
2444
|
-
ContainerHttpGet: ContainerHttpGet,
|
|
2445
|
-
ContainerPort: ContainerPort,
|
|
2446
|
-
ContainerProbe: ContainerProbe,
|
|
2447
|
-
ContainerPropertiesInstanceView: ContainerPropertiesInstanceView,
|
|
2448
|
-
ContainerState: ContainerState,
|
|
2449
|
-
DeploymentExtensionSpec: DeploymentExtensionSpec,
|
|
2450
|
-
DnsConfiguration: DnsConfiguration,
|
|
2451
|
-
EncryptionProperties: EncryptionProperties,
|
|
2452
|
-
EnvironmentVariable: EnvironmentVariable,
|
|
2453
|
-
Event: Event,
|
|
2454
|
-
GitRepoVolume: GitRepoVolume,
|
|
2455
|
-
GpuResource: GpuResource,
|
|
2456
|
-
HttpHeader: HttpHeader,
|
|
2457
|
-
ImageRegistryCredential: ImageRegistryCredential,
|
|
2458
|
-
InitContainerDefinition: InitContainerDefinition,
|
|
2459
|
-
InitContainerPropertiesDefinitionInstanceView: InitContainerPropertiesDefinitionInstanceView,
|
|
2460
|
-
IpAddress: IpAddress,
|
|
2461
|
-
LogAnalytics: LogAnalytics,
|
|
2462
|
-
Logs: Logs,
|
|
2463
|
-
Operation: Operation,
|
|
2464
|
-
OperationDisplay: OperationDisplay,
|
|
2465
|
-
OperationListResult: OperationListResult,
|
|
2466
|
-
Port: Port,
|
|
2467
|
-
Resource: Resource,
|
|
2468
|
-
ResourceLimits: ResourceLimits,
|
|
2469
|
-
ResourceRequests: ResourceRequests,
|
|
2470
|
-
ResourceRequirements: ResourceRequirements,
|
|
2471
|
-
SecurityContextCapabilitiesDefinition: SecurityContextCapabilitiesDefinition,
|
|
2472
|
-
SecurityContextDefinition: SecurityContextDefinition,
|
|
2473
|
-
StandbyPoolProfileDefinition: StandbyPoolProfileDefinition,
|
|
2474
|
-
Usage: Usage,
|
|
2475
|
-
UsageListResult: UsageListResult,
|
|
2476
|
-
UsageName: UsageName,
|
|
2477
|
-
UserAssignedIdentities: UserAssignedIdentities,
|
|
2478
|
-
Volume: Volume,
|
|
2479
|
-
VolumeMount: VolumeMount
|
|
2480
|
-
});
|
|
2481
|
-
|
|
2482
|
-
/*
|
|
2483
|
-
* Copyright (c) Microsoft Corporation.
|
|
2484
|
-
* Licensed under the MIT License.
|
|
2485
|
-
*
|
|
2486
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2487
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2488
|
-
*/
|
|
2489
|
-
const accept = {
|
|
2490
|
-
parameterPath: "accept",
|
|
2491
|
-
mapper: {
|
|
2492
|
-
defaultValue: "application/json",
|
|
2493
|
-
isConstant: true,
|
|
2494
|
-
serializedName: "Accept",
|
|
2495
|
-
type: {
|
|
2496
|
-
name: "String",
|
|
2497
|
-
},
|
|
2498
|
-
},
|
|
2499
|
-
};
|
|
2500
|
-
const $host = {
|
|
2501
|
-
parameterPath: "$host",
|
|
2502
|
-
mapper: {
|
|
2503
|
-
serializedName: "$host",
|
|
2504
|
-
required: true,
|
|
2505
|
-
type: {
|
|
2506
|
-
name: "String",
|
|
2507
|
-
},
|
|
2508
|
-
},
|
|
2509
|
-
skipEncoding: true,
|
|
2510
|
-
};
|
|
2511
|
-
const subscriptionId = {
|
|
2512
|
-
parameterPath: "subscriptionId",
|
|
2513
|
-
mapper: {
|
|
2514
|
-
serializedName: "subscriptionId",
|
|
2515
|
-
required: true,
|
|
2516
|
-
type: {
|
|
2517
|
-
name: "Uuid",
|
|
2518
|
-
},
|
|
2519
|
-
},
|
|
2520
|
-
};
|
|
2521
|
-
const apiVersion = {
|
|
2522
|
-
parameterPath: "apiVersion",
|
|
2523
|
-
mapper: {
|
|
2524
|
-
defaultValue: "2024-05-01-preview",
|
|
2525
|
-
isConstant: true,
|
|
2526
|
-
serializedName: "api-version",
|
|
2527
|
-
type: {
|
|
2528
|
-
name: "String",
|
|
2529
|
-
},
|
|
2530
|
-
},
|
|
2531
|
-
};
|
|
2532
|
-
const resourceGroupName = {
|
|
2533
|
-
parameterPath: "resourceGroupName",
|
|
2534
|
-
mapper: {
|
|
2535
|
-
constraints: {
|
|
2536
|
-
MaxLength: 90,
|
|
2537
|
-
MinLength: 1,
|
|
2538
|
-
},
|
|
2539
|
-
serializedName: "resourceGroupName",
|
|
2540
|
-
required: true,
|
|
2541
|
-
type: {
|
|
2542
|
-
name: "String",
|
|
2543
|
-
},
|
|
2544
|
-
},
|
|
2545
|
-
};
|
|
2546
|
-
const containerGroupName = {
|
|
2547
|
-
parameterPath: "containerGroupName",
|
|
2548
|
-
mapper: {
|
|
2549
|
-
serializedName: "containerGroupName",
|
|
2550
|
-
required: true,
|
|
2551
|
-
type: {
|
|
2552
|
-
name: "String",
|
|
2553
|
-
},
|
|
2554
|
-
},
|
|
2555
|
-
};
|
|
2556
|
-
const contentType = {
|
|
2557
|
-
parameterPath: ["options", "contentType"],
|
|
2558
|
-
mapper: {
|
|
2559
|
-
defaultValue: "application/json",
|
|
2560
|
-
isConstant: true,
|
|
2561
|
-
serializedName: "Content-Type",
|
|
2562
|
-
type: {
|
|
2563
|
-
name: "String",
|
|
2564
|
-
},
|
|
2565
|
-
},
|
|
2566
|
-
};
|
|
2567
|
-
const containerGroup = {
|
|
2568
|
-
parameterPath: "containerGroup",
|
|
2569
|
-
mapper: ContainerGroup,
|
|
2570
|
-
};
|
|
2571
|
-
const resource = {
|
|
2572
|
-
parameterPath: "resource",
|
|
2573
|
-
mapper: Resource,
|
|
2574
|
-
};
|
|
2575
|
-
const nextLink = {
|
|
2576
|
-
parameterPath: "nextLink",
|
|
2577
|
-
mapper: {
|
|
2578
|
-
serializedName: "nextLink",
|
|
2579
|
-
required: true,
|
|
2580
|
-
type: {
|
|
2581
|
-
name: "String",
|
|
2582
|
-
},
|
|
2583
|
-
},
|
|
2584
|
-
skipEncoding: true,
|
|
2585
|
-
};
|
|
2586
|
-
const location = {
|
|
2587
|
-
parameterPath: "location",
|
|
2588
|
-
mapper: {
|
|
2589
|
-
constraints: {
|
|
2590
|
-
MinLength: 1,
|
|
2591
|
-
},
|
|
2592
|
-
serializedName: "location",
|
|
2593
|
-
required: true,
|
|
2594
|
-
type: {
|
|
2595
|
-
name: "String",
|
|
2596
|
-
},
|
|
2597
|
-
},
|
|
2598
|
-
};
|
|
2599
|
-
const containerName = {
|
|
2600
|
-
parameterPath: "containerName",
|
|
2601
|
-
mapper: {
|
|
2602
|
-
serializedName: "containerName",
|
|
2603
|
-
required: true,
|
|
2604
|
-
type: {
|
|
2605
|
-
name: "String",
|
|
2606
|
-
},
|
|
2607
|
-
},
|
|
2608
|
-
};
|
|
2609
|
-
const tail = {
|
|
2610
|
-
parameterPath: ["options", "tail"],
|
|
2611
|
-
mapper: {
|
|
2612
|
-
serializedName: "tail",
|
|
2613
|
-
type: {
|
|
2614
|
-
name: "Number",
|
|
2615
|
-
},
|
|
2616
|
-
},
|
|
2617
|
-
};
|
|
2618
|
-
const timestamps = {
|
|
2619
|
-
parameterPath: ["options", "timestamps"],
|
|
2620
|
-
mapper: {
|
|
2621
|
-
serializedName: "timestamps",
|
|
2622
|
-
type: {
|
|
2623
|
-
name: "Boolean",
|
|
2624
|
-
},
|
|
2625
|
-
},
|
|
2626
|
-
};
|
|
2627
|
-
const containerExecRequest = {
|
|
2628
|
-
parameterPath: "containerExecRequest",
|
|
2629
|
-
mapper: ContainerExecRequest,
|
|
2630
|
-
};
|
|
2631
|
-
const virtualNetworkName = {
|
|
2632
|
-
parameterPath: "virtualNetworkName",
|
|
2633
|
-
mapper: {
|
|
2634
|
-
serializedName: "virtualNetworkName",
|
|
2635
|
-
required: true,
|
|
2636
|
-
type: {
|
|
2637
|
-
name: "String",
|
|
2638
|
-
},
|
|
2639
|
-
},
|
|
2640
|
-
};
|
|
2641
|
-
const subnetName = {
|
|
2642
|
-
parameterPath: "subnetName",
|
|
2643
|
-
mapper: {
|
|
2644
|
-
serializedName: "subnetName",
|
|
2645
|
-
required: true,
|
|
2646
|
-
type: {
|
|
2647
|
-
name: "String",
|
|
2648
|
-
},
|
|
2649
|
-
},
|
|
2650
|
-
};
|
|
2651
|
-
const containerGroupProfileName = {
|
|
2652
|
-
parameterPath: "containerGroupProfileName",
|
|
2653
|
-
mapper: {
|
|
2654
|
-
constraints: {
|
|
2655
|
-
Pattern: new RegExp("^(?!.*--)[a-z0-9]([-a-z0-9]*[a-z0-9])?$"),
|
|
2656
|
-
MaxLength: 63,
|
|
2657
|
-
MinLength: 1,
|
|
2658
|
-
},
|
|
2659
|
-
serializedName: "containerGroupProfileName",
|
|
2660
|
-
required: true,
|
|
2661
|
-
type: {
|
|
2662
|
-
name: "String",
|
|
2663
|
-
},
|
|
2664
|
-
},
|
|
2665
|
-
};
|
|
2666
|
-
const containerGroupProfile = {
|
|
2667
|
-
parameterPath: "containerGroupProfile",
|
|
2668
|
-
mapper: ContainerGroupProfile,
|
|
2669
|
-
};
|
|
2670
|
-
const properties = {
|
|
2671
|
-
parameterPath: "properties",
|
|
2672
|
-
mapper: ContainerGroupProfilePatch,
|
|
2673
|
-
};
|
|
2674
|
-
const revisionNumber = {
|
|
2675
|
-
parameterPath: "revisionNumber",
|
|
2676
|
-
mapper: {
|
|
2677
|
-
serializedName: "revisionNumber",
|
|
2678
|
-
required: true,
|
|
2679
|
-
type: {
|
|
2680
|
-
name: "String",
|
|
2681
|
-
},
|
|
2682
|
-
},
|
|
2683
|
-
};
|
|
2684
|
-
|
|
2685
|
-
/*
|
|
2686
|
-
* Copyright (c) Microsoft Corporation.
|
|
2687
|
-
* Licensed under the MIT License.
|
|
2688
|
-
*
|
|
2689
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2690
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2691
|
-
*/
|
|
2692
|
-
function createLroSpec(inputs) {
|
|
2693
|
-
const { args, spec, sendOperationFn } = inputs;
|
|
2694
|
-
return {
|
|
2695
|
-
requestMethod: spec.httpMethod,
|
|
2696
|
-
requestPath: spec.path,
|
|
2697
|
-
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
2698
|
-
sendPollRequest: (path, options) => {
|
|
2699
|
-
const restSpec = tslib.__rest(spec, ["requestBody"]);
|
|
2700
|
-
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
2701
|
-
},
|
|
2702
|
-
};
|
|
2703
|
-
}
|
|
2704
|
-
|
|
2705
|
-
/*
|
|
2706
|
-
* Copyright (c) Microsoft Corporation.
|
|
2707
|
-
* Licensed under the MIT License.
|
|
2708
|
-
*
|
|
2709
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2710
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2711
|
-
*/
|
|
2712
|
-
/// <reference lib="esnext.asynciterable" />
|
|
2713
|
-
/** Class containing ContainerGroups operations. */
|
|
2714
|
-
class ContainerGroupsImpl {
|
|
2715
|
-
/**
|
|
2716
|
-
* Initialize a new instance of the class ContainerGroups class.
|
|
2717
|
-
* @param client Reference to the service client
|
|
2718
|
-
*/
|
|
2719
|
-
constructor(client) {
|
|
2720
|
-
this.client = client;
|
|
2721
|
-
}
|
|
2722
|
-
/**
|
|
2723
|
-
* Get a list of container groups in the specified subscription. This operation returns properties of
|
|
2724
|
-
* each container group including containers, image registry credentials, restart policy, IP address
|
|
2725
|
-
* type, OS type, state, and volumes.
|
|
2726
|
-
* @param options The options parameters.
|
|
2727
|
-
*/
|
|
2728
|
-
list(options) {
|
|
2729
|
-
const iter = this.listPagingAll(options);
|
|
2730
|
-
return {
|
|
2731
|
-
next() {
|
|
2732
|
-
return iter.next();
|
|
2733
|
-
},
|
|
2734
|
-
[Symbol.asyncIterator]() {
|
|
2735
|
-
return this;
|
|
2736
|
-
},
|
|
2737
|
-
byPage: (settings) => {
|
|
2738
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
2739
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
2740
|
-
}
|
|
2741
|
-
return this.listPagingPage(options, settings);
|
|
2742
|
-
},
|
|
2743
|
-
};
|
|
2744
|
-
}
|
|
2745
|
-
listPagingPage(options, settings) {
|
|
2746
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
2747
|
-
let result;
|
|
2748
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
2749
|
-
if (!continuationToken) {
|
|
2750
|
-
result = yield tslib.__await(this._list(options));
|
|
2751
|
-
let page = result.value || [];
|
|
2752
|
-
continuationToken = result.nextLink;
|
|
2753
|
-
setContinuationToken(page, continuationToken);
|
|
2754
|
-
yield yield tslib.__await(page);
|
|
2755
|
-
}
|
|
2756
|
-
while (continuationToken) {
|
|
2757
|
-
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
2758
|
-
continuationToken = result.nextLink;
|
|
2759
|
-
let page = result.value || [];
|
|
2760
|
-
setContinuationToken(page, continuationToken);
|
|
2761
|
-
yield yield tslib.__await(page);
|
|
2762
|
-
}
|
|
2763
|
-
});
|
|
2764
|
-
}
|
|
2765
|
-
listPagingAll(options) {
|
|
2766
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
2767
|
-
var _a, e_1, _b, _c;
|
|
2768
|
-
try {
|
|
2769
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2770
|
-
_c = _f.value;
|
|
2771
|
-
_d = false;
|
|
2772
|
-
const page = _c;
|
|
2773
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2774
|
-
}
|
|
2775
|
-
}
|
|
2776
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
2777
|
-
finally {
|
|
2778
|
-
try {
|
|
2779
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
2780
|
-
}
|
|
2781
|
-
finally { if (e_1) throw e_1.error; }
|
|
2782
|
-
}
|
|
2783
|
-
});
|
|
2784
|
-
}
|
|
2785
|
-
/**
|
|
2786
|
-
* Get a list of container groups in a specified subscription and resource group. This operation
|
|
2787
|
-
* returns properties of each container group including containers, image registry credentials, restart
|
|
2788
|
-
* policy, IP address type, OS type, state, and volumes.
|
|
2789
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2790
|
-
* @param options The options parameters.
|
|
2791
|
-
*/
|
|
2792
|
-
listByResourceGroup(resourceGroupName, options) {
|
|
2793
|
-
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
2794
|
-
return {
|
|
2795
|
-
next() {
|
|
2796
|
-
return iter.next();
|
|
2797
|
-
},
|
|
2798
|
-
[Symbol.asyncIterator]() {
|
|
2799
|
-
return this;
|
|
2800
|
-
},
|
|
2801
|
-
byPage: (settings) => {
|
|
2802
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
2803
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
2804
|
-
}
|
|
2805
|
-
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
2806
|
-
},
|
|
2807
|
-
};
|
|
2808
|
-
}
|
|
2809
|
-
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
2810
|
-
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
2811
|
-
let result;
|
|
2812
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
2813
|
-
if (!continuationToken) {
|
|
2814
|
-
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
2815
|
-
let page = result.value || [];
|
|
2816
|
-
continuationToken = result.nextLink;
|
|
2817
|
-
setContinuationToken(page, continuationToken);
|
|
2818
|
-
yield yield tslib.__await(page);
|
|
2819
|
-
}
|
|
2820
|
-
while (continuationToken) {
|
|
2821
|
-
result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
2822
|
-
continuationToken = result.nextLink;
|
|
2823
|
-
let page = result.value || [];
|
|
2824
|
-
setContinuationToken(page, continuationToken);
|
|
2825
|
-
yield yield tslib.__await(page);
|
|
2826
|
-
}
|
|
2827
|
-
});
|
|
2828
|
-
}
|
|
2829
|
-
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
2830
|
-
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
2831
|
-
var _a, e_2, _b, _c;
|
|
2832
|
-
try {
|
|
2833
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2834
|
-
_c = _f.value;
|
|
2835
|
-
_d = false;
|
|
2836
|
-
const page = _c;
|
|
2837
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2838
|
-
}
|
|
2839
|
-
}
|
|
2840
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
2841
|
-
finally {
|
|
2842
|
-
try {
|
|
2843
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
2844
|
-
}
|
|
2845
|
-
finally { if (e_2) throw e_2.error; }
|
|
2846
|
-
}
|
|
2847
|
-
});
|
|
2848
|
-
}
|
|
2849
|
-
/**
|
|
2850
|
-
* Get a list of container groups in the specified subscription. This operation returns properties of
|
|
2851
|
-
* each container group including containers, image registry credentials, restart policy, IP address
|
|
2852
|
-
* type, OS type, state, and volumes.
|
|
2853
|
-
* @param options The options parameters.
|
|
2854
|
-
*/
|
|
2855
|
-
_list(options) {
|
|
2856
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$2);
|
|
2857
|
-
}
|
|
2858
|
-
/**
|
|
2859
|
-
* Get a list of container groups in a specified subscription and resource group. This operation
|
|
2860
|
-
* returns properties of each container group including containers, image registry credentials, restart
|
|
2861
|
-
* policy, IP address type, OS type, state, and volumes.
|
|
2862
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2863
|
-
* @param options The options parameters.
|
|
2864
|
-
*/
|
|
2865
|
-
_listByResourceGroup(resourceGroupName, options) {
|
|
2866
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$1);
|
|
2867
|
-
}
|
|
2868
|
-
/**
|
|
2869
|
-
* Gets the properties of the specified container group in the specified subscription and resource
|
|
2870
|
-
* group. The operation returns the properties of each container group including containers, image
|
|
2871
|
-
* registry credentials, restart policy, IP address type, OS type, state, and volumes.
|
|
2872
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2873
|
-
* @param containerGroupName The name of the container group.
|
|
2874
|
-
* @param options The options parameters.
|
|
2875
|
-
*/
|
|
2876
|
-
get(resourceGroupName, containerGroupName, options) {
|
|
2877
|
-
return this.client.sendOperationRequest({ resourceGroupName, containerGroupName, options }, getOperationSpec$1);
|
|
2878
|
-
}
|
|
2879
|
-
/**
|
|
2880
|
-
* Create or update container groups with specified configurations.
|
|
2881
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2882
|
-
* @param containerGroupName The name of the container group.
|
|
2883
|
-
* @param containerGroup The properties of the container group to be created or updated.
|
|
2884
|
-
* @param options The options parameters.
|
|
2885
|
-
*/
|
|
2886
|
-
beginCreateOrUpdate(resourceGroupName, containerGroupName, containerGroup, options) {
|
|
2887
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2888
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2889
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2890
|
-
});
|
|
2891
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2892
|
-
var _a;
|
|
2893
|
-
let currentRawResponse = undefined;
|
|
2894
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
2895
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2896
|
-
currentRawResponse = rawResponse;
|
|
2897
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
2898
|
-
};
|
|
2899
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2900
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2901
|
-
return {
|
|
2902
|
-
flatResponse,
|
|
2903
|
-
rawResponse: {
|
|
2904
|
-
statusCode: currentRawResponse.status,
|
|
2905
|
-
body: currentRawResponse.parsedBody,
|
|
2906
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
2907
|
-
},
|
|
2908
|
-
};
|
|
2909
|
-
});
|
|
2910
|
-
const lro = createLroSpec({
|
|
2911
|
-
sendOperationFn,
|
|
2912
|
-
args: { resourceGroupName, containerGroupName, containerGroup, options },
|
|
2913
|
-
spec: createOrUpdateOperationSpec$1,
|
|
2914
|
-
});
|
|
2915
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2916
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2917
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2918
|
-
});
|
|
2919
|
-
yield poller.poll();
|
|
2920
|
-
return poller;
|
|
2921
|
-
});
|
|
2922
|
-
}
|
|
2923
|
-
/**
|
|
2924
|
-
* Create or update container groups with specified configurations.
|
|
2925
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2926
|
-
* @param containerGroupName The name of the container group.
|
|
2927
|
-
* @param containerGroup The properties of the container group to be created or updated.
|
|
2928
|
-
* @param options The options parameters.
|
|
2929
|
-
*/
|
|
2930
|
-
beginCreateOrUpdateAndWait(resourceGroupName, containerGroupName, containerGroup, options) {
|
|
2931
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2932
|
-
const poller = yield this.beginCreateOrUpdate(resourceGroupName, containerGroupName, containerGroup, options);
|
|
2933
|
-
return poller.pollUntilDone();
|
|
2934
|
-
});
|
|
2935
|
-
}
|
|
2936
|
-
/**
|
|
2937
|
-
* Updates container group tags with specified values.
|
|
2938
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2939
|
-
* @param containerGroupName The name of the container group.
|
|
2940
|
-
* @param resource The container group resource with just the tags to be updated.
|
|
2941
|
-
* @param options The options parameters.
|
|
2942
|
-
*/
|
|
2943
|
-
update(resourceGroupName, containerGroupName, resource, options) {
|
|
2944
|
-
return this.client.sendOperationRequest({ resourceGroupName, containerGroupName, resource, options }, updateOperationSpec);
|
|
2945
|
-
}
|
|
2946
|
-
/**
|
|
2947
|
-
* Delete the specified container group in the specified subscription and resource group. The operation
|
|
2948
|
-
* does not delete other resources provided by the user, such as volumes.
|
|
2949
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2950
|
-
* @param containerGroupName The name of the container group.
|
|
2951
|
-
* @param options The options parameters.
|
|
2952
|
-
*/
|
|
2953
|
-
beginDelete(resourceGroupName, containerGroupName, options) {
|
|
2954
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2955
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2956
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2957
|
-
});
|
|
2958
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2959
|
-
var _a;
|
|
2960
|
-
let currentRawResponse = undefined;
|
|
2961
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
2962
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2963
|
-
currentRawResponse = rawResponse;
|
|
2964
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
2965
|
-
};
|
|
2966
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2967
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2968
|
-
return {
|
|
2969
|
-
flatResponse,
|
|
2970
|
-
rawResponse: {
|
|
2971
|
-
statusCode: currentRawResponse.status,
|
|
2972
|
-
body: currentRawResponse.parsedBody,
|
|
2973
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
2974
|
-
},
|
|
2975
|
-
};
|
|
2976
|
-
});
|
|
2977
|
-
const lro = createLroSpec({
|
|
2978
|
-
sendOperationFn,
|
|
2979
|
-
args: { resourceGroupName, containerGroupName, options },
|
|
2980
|
-
spec: deleteOperationSpec$2,
|
|
2981
|
-
});
|
|
2982
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2983
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2984
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2985
|
-
});
|
|
2986
|
-
yield poller.poll();
|
|
2987
|
-
return poller;
|
|
2988
|
-
});
|
|
2989
|
-
}
|
|
2990
|
-
/**
|
|
2991
|
-
* Delete the specified container group in the specified subscription and resource group. The operation
|
|
2992
|
-
* does not delete other resources provided by the user, such as volumes.
|
|
2993
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
2994
|
-
* @param containerGroupName The name of the container group.
|
|
2995
|
-
* @param options The options parameters.
|
|
2996
|
-
*/
|
|
2997
|
-
beginDeleteAndWait(resourceGroupName, containerGroupName, options) {
|
|
2998
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2999
|
-
const poller = yield this.beginDelete(resourceGroupName, containerGroupName, options);
|
|
3000
|
-
return poller.pollUntilDone();
|
|
3001
|
-
});
|
|
3002
|
-
}
|
|
3003
|
-
/**
|
|
3004
|
-
* Restarts all containers in a container group in place. If container image has updates, new image
|
|
3005
|
-
* will be downloaded.
|
|
3006
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3007
|
-
* @param containerGroupName The name of the container group.
|
|
3008
|
-
* @param options The options parameters.
|
|
3009
|
-
*/
|
|
3010
|
-
beginRestart(resourceGroupName, containerGroupName, options) {
|
|
3011
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3012
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3013
|
-
return this.client.sendOperationRequest(args, spec);
|
|
3014
|
-
});
|
|
3015
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3016
|
-
var _a;
|
|
3017
|
-
let currentRawResponse = undefined;
|
|
3018
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3019
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3020
|
-
currentRawResponse = rawResponse;
|
|
3021
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3022
|
-
};
|
|
3023
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3024
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3025
|
-
return {
|
|
3026
|
-
flatResponse,
|
|
3027
|
-
rawResponse: {
|
|
3028
|
-
statusCode: currentRawResponse.status,
|
|
3029
|
-
body: currentRawResponse.parsedBody,
|
|
3030
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
3031
|
-
},
|
|
3032
|
-
};
|
|
3033
|
-
});
|
|
3034
|
-
const lro = createLroSpec({
|
|
3035
|
-
sendOperationFn,
|
|
3036
|
-
args: { resourceGroupName, containerGroupName, options },
|
|
3037
|
-
spec: restartOperationSpec,
|
|
3038
|
-
});
|
|
3039
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3040
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3041
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3042
|
-
});
|
|
3043
|
-
yield poller.poll();
|
|
3044
|
-
return poller;
|
|
3045
|
-
});
|
|
3046
|
-
}
|
|
3047
|
-
/**
|
|
3048
|
-
* Restarts all containers in a container group in place. If container image has updates, new image
|
|
3049
|
-
* will be downloaded.
|
|
3050
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3051
|
-
* @param containerGroupName The name of the container group.
|
|
3052
|
-
* @param options The options parameters.
|
|
3053
|
-
*/
|
|
3054
|
-
beginRestartAndWait(resourceGroupName, containerGroupName, options) {
|
|
3055
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3056
|
-
const poller = yield this.beginRestart(resourceGroupName, containerGroupName, options);
|
|
3057
|
-
return poller.pollUntilDone();
|
|
3058
|
-
});
|
|
3059
|
-
}
|
|
3060
|
-
/**
|
|
3061
|
-
* Stops all containers in a container group. Compute resources will be deallocated and billing will
|
|
3062
|
-
* stop.
|
|
3063
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3064
|
-
* @param containerGroupName The name of the container group.
|
|
3065
|
-
* @param options The options parameters.
|
|
3066
|
-
*/
|
|
3067
|
-
stop(resourceGroupName, containerGroupName, options) {
|
|
3068
|
-
return this.client.sendOperationRequest({ resourceGroupName, containerGroupName, options }, stopOperationSpec);
|
|
3069
|
-
}
|
|
3070
|
-
/**
|
|
3071
|
-
* Starts all containers in a container group. Compute resources will be allocated and billing will
|
|
3072
|
-
* start.
|
|
3073
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3074
|
-
* @param containerGroupName The name of the container group.
|
|
3075
|
-
* @param options The options parameters.
|
|
3076
|
-
*/
|
|
3077
|
-
beginStart(resourceGroupName, containerGroupName, options) {
|
|
3078
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3079
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3080
|
-
return this.client.sendOperationRequest(args, spec);
|
|
3081
|
-
});
|
|
3082
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3083
|
-
var _a;
|
|
3084
|
-
let currentRawResponse = undefined;
|
|
3085
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3086
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3087
|
-
currentRawResponse = rawResponse;
|
|
3088
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3089
|
-
};
|
|
3090
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3091
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3092
|
-
return {
|
|
3093
|
-
flatResponse,
|
|
3094
|
-
rawResponse: {
|
|
3095
|
-
statusCode: currentRawResponse.status,
|
|
3096
|
-
body: currentRawResponse.parsedBody,
|
|
3097
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
3098
|
-
},
|
|
3099
|
-
};
|
|
3100
|
-
});
|
|
3101
|
-
const lro = createLroSpec({
|
|
3102
|
-
sendOperationFn,
|
|
3103
|
-
args: { resourceGroupName, containerGroupName, options },
|
|
3104
|
-
spec: startOperationSpec,
|
|
3105
|
-
});
|
|
3106
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3107
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3108
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3109
|
-
});
|
|
3110
|
-
yield poller.poll();
|
|
3111
|
-
return poller;
|
|
3112
|
-
});
|
|
3113
|
-
}
|
|
3114
|
-
/**
|
|
3115
|
-
* Starts all containers in a container group. Compute resources will be allocated and billing will
|
|
3116
|
-
* start.
|
|
3117
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3118
|
-
* @param containerGroupName The name of the container group.
|
|
3119
|
-
* @param options The options parameters.
|
|
3120
|
-
*/
|
|
3121
|
-
beginStartAndWait(resourceGroupName, containerGroupName, options) {
|
|
3122
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3123
|
-
const poller = yield this.beginStart(resourceGroupName, containerGroupName, options);
|
|
3124
|
-
return poller.pollUntilDone();
|
|
3125
|
-
});
|
|
3126
|
-
}
|
|
3127
|
-
/**
|
|
3128
|
-
* Gets all the network dependencies for this container group to allow complete control of network
|
|
3129
|
-
* setting and configuration. For container groups, this will always be an empty list.
|
|
3130
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3131
|
-
* @param containerGroupName The name of the container group.
|
|
3132
|
-
* @param options The options parameters.
|
|
3133
|
-
*/
|
|
3134
|
-
getOutboundNetworkDependenciesEndpoints(resourceGroupName, containerGroupName, options) {
|
|
3135
|
-
return this.client.sendOperationRequest({ resourceGroupName, containerGroupName, options }, getOutboundNetworkDependenciesEndpointsOperationSpec);
|
|
3136
|
-
}
|
|
3137
|
-
/**
|
|
3138
|
-
* ListNext
|
|
3139
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
3140
|
-
* @param options The options parameters.
|
|
3141
|
-
*/
|
|
3142
|
-
_listNext(nextLink, options) {
|
|
3143
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$2);
|
|
3144
|
-
}
|
|
3145
|
-
/**
|
|
3146
|
-
* ListByResourceGroupNext
|
|
3147
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3148
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
3149
|
-
* @param options The options parameters.
|
|
3150
|
-
*/
|
|
3151
|
-
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
3152
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec$1);
|
|
3153
|
-
}
|
|
3154
|
-
}
|
|
3155
|
-
// Operation Specifications
|
|
3156
|
-
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3157
|
-
const listOperationSpec$2 = {
|
|
3158
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/containerGroups",
|
|
3159
|
-
httpMethod: "GET",
|
|
3160
|
-
responses: {
|
|
3161
|
-
200: {
|
|
3162
|
-
bodyMapper: ContainerGroupListResult,
|
|
3163
|
-
},
|
|
3164
|
-
default: {
|
|
3165
|
-
bodyMapper: CloudError,
|
|
3166
|
-
},
|
|
3167
|
-
},
|
|
3168
|
-
queryParameters: [apiVersion],
|
|
3169
|
-
urlParameters: [$host, subscriptionId],
|
|
3170
|
-
headerParameters: [accept],
|
|
3171
|
-
serializer: serializer$6,
|
|
3172
|
-
};
|
|
3173
|
-
const listByResourceGroupOperationSpec$1 = {
|
|
3174
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups",
|
|
3175
|
-
httpMethod: "GET",
|
|
3176
|
-
responses: {
|
|
3177
|
-
200: {
|
|
3178
|
-
bodyMapper: ContainerGroupListResult,
|
|
3179
|
-
},
|
|
3180
|
-
default: {
|
|
3181
|
-
bodyMapper: CloudError,
|
|
3182
|
-
},
|
|
3183
|
-
},
|
|
3184
|
-
queryParameters: [apiVersion],
|
|
3185
|
-
urlParameters: [
|
|
3186
|
-
$host,
|
|
3187
|
-
subscriptionId,
|
|
3188
|
-
resourceGroupName,
|
|
3189
|
-
],
|
|
3190
|
-
headerParameters: [accept],
|
|
3191
|
-
serializer: serializer$6,
|
|
3192
|
-
};
|
|
3193
|
-
const getOperationSpec$1 = {
|
|
3194
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}",
|
|
3195
|
-
httpMethod: "GET",
|
|
3196
|
-
responses: {
|
|
3197
|
-
200: {
|
|
3198
|
-
bodyMapper: ContainerGroup,
|
|
3199
|
-
},
|
|
3200
|
-
default: {
|
|
3201
|
-
bodyMapper: CloudError,
|
|
3202
|
-
},
|
|
3203
|
-
},
|
|
3204
|
-
queryParameters: [apiVersion],
|
|
3205
|
-
urlParameters: [
|
|
3206
|
-
$host,
|
|
3207
|
-
subscriptionId,
|
|
3208
|
-
resourceGroupName,
|
|
3209
|
-
containerGroupName,
|
|
3210
|
-
],
|
|
3211
|
-
headerParameters: [accept],
|
|
3212
|
-
serializer: serializer$6,
|
|
3213
|
-
};
|
|
3214
|
-
const createOrUpdateOperationSpec$1 = {
|
|
3215
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}",
|
|
3216
|
-
httpMethod: "PUT",
|
|
3217
|
-
responses: {
|
|
3218
|
-
200: {
|
|
3219
|
-
bodyMapper: ContainerGroup,
|
|
3220
|
-
},
|
|
3221
|
-
201: {
|
|
3222
|
-
bodyMapper: ContainerGroup,
|
|
3223
|
-
},
|
|
3224
|
-
202: {
|
|
3225
|
-
bodyMapper: ContainerGroup,
|
|
3226
|
-
},
|
|
3227
|
-
204: {
|
|
3228
|
-
bodyMapper: ContainerGroup,
|
|
3229
|
-
},
|
|
3230
|
-
default: {
|
|
3231
|
-
bodyMapper: CloudError,
|
|
3232
|
-
},
|
|
3233
|
-
},
|
|
3234
|
-
requestBody: containerGroup,
|
|
3235
|
-
queryParameters: [apiVersion],
|
|
3236
|
-
urlParameters: [
|
|
3237
|
-
$host,
|
|
3238
|
-
subscriptionId,
|
|
3239
|
-
resourceGroupName,
|
|
3240
|
-
containerGroupName,
|
|
3241
|
-
],
|
|
3242
|
-
headerParameters: [accept, contentType],
|
|
3243
|
-
mediaType: "json",
|
|
3244
|
-
serializer: serializer$6,
|
|
3245
|
-
};
|
|
3246
|
-
const updateOperationSpec = {
|
|
3247
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}",
|
|
3248
|
-
httpMethod: "PATCH",
|
|
3249
|
-
responses: {
|
|
3250
|
-
200: {
|
|
3251
|
-
bodyMapper: ContainerGroup,
|
|
3252
|
-
},
|
|
3253
|
-
default: {
|
|
3254
|
-
bodyMapper: CloudError,
|
|
3255
|
-
},
|
|
3256
|
-
},
|
|
3257
|
-
requestBody: resource,
|
|
3258
|
-
queryParameters: [apiVersion],
|
|
3259
|
-
urlParameters: [
|
|
3260
|
-
$host,
|
|
3261
|
-
subscriptionId,
|
|
3262
|
-
resourceGroupName,
|
|
3263
|
-
containerGroupName,
|
|
3264
|
-
],
|
|
3265
|
-
headerParameters: [accept, contentType],
|
|
3266
|
-
mediaType: "json",
|
|
3267
|
-
serializer: serializer$6,
|
|
3268
|
-
};
|
|
3269
|
-
const deleteOperationSpec$2 = {
|
|
3270
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}",
|
|
3271
|
-
httpMethod: "DELETE",
|
|
3272
|
-
responses: {
|
|
3273
|
-
200: {
|
|
3274
|
-
bodyMapper: ContainerGroup,
|
|
3275
|
-
},
|
|
3276
|
-
201: {
|
|
3277
|
-
bodyMapper: ContainerGroup,
|
|
3278
|
-
},
|
|
3279
|
-
202: {
|
|
3280
|
-
bodyMapper: ContainerGroup,
|
|
3281
|
-
},
|
|
3282
|
-
204: {
|
|
3283
|
-
bodyMapper: ContainerGroup,
|
|
3284
|
-
},
|
|
3285
|
-
default: {
|
|
3286
|
-
bodyMapper: CloudError,
|
|
3287
|
-
},
|
|
3288
|
-
},
|
|
3289
|
-
queryParameters: [apiVersion],
|
|
3290
|
-
urlParameters: [
|
|
3291
|
-
$host,
|
|
3292
|
-
subscriptionId,
|
|
3293
|
-
resourceGroupName,
|
|
3294
|
-
containerGroupName,
|
|
3295
|
-
],
|
|
3296
|
-
headerParameters: [accept],
|
|
3297
|
-
serializer: serializer$6,
|
|
3298
|
-
};
|
|
3299
|
-
const restartOperationSpec = {
|
|
3300
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/restart",
|
|
3301
|
-
httpMethod: "POST",
|
|
3302
|
-
responses: {
|
|
3303
|
-
200: {},
|
|
3304
|
-
201: {},
|
|
3305
|
-
202: {},
|
|
3306
|
-
204: {},
|
|
3307
|
-
default: {
|
|
3308
|
-
bodyMapper: CloudError,
|
|
3309
|
-
},
|
|
3310
|
-
},
|
|
3311
|
-
queryParameters: [apiVersion],
|
|
3312
|
-
urlParameters: [
|
|
3313
|
-
$host,
|
|
3314
|
-
subscriptionId,
|
|
3315
|
-
resourceGroupName,
|
|
3316
|
-
containerGroupName,
|
|
3317
|
-
],
|
|
3318
|
-
headerParameters: [accept],
|
|
3319
|
-
serializer: serializer$6,
|
|
3320
|
-
};
|
|
3321
|
-
const stopOperationSpec = {
|
|
3322
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/stop",
|
|
3323
|
-
httpMethod: "POST",
|
|
3324
|
-
responses: {
|
|
3325
|
-
204: {},
|
|
3326
|
-
default: {
|
|
3327
|
-
bodyMapper: CloudError,
|
|
3328
|
-
},
|
|
3329
|
-
},
|
|
3330
|
-
queryParameters: [apiVersion],
|
|
3331
|
-
urlParameters: [
|
|
3332
|
-
$host,
|
|
3333
|
-
subscriptionId,
|
|
3334
|
-
resourceGroupName,
|
|
3335
|
-
containerGroupName,
|
|
3336
|
-
],
|
|
3337
|
-
headerParameters: [accept],
|
|
3338
|
-
serializer: serializer$6,
|
|
3339
|
-
};
|
|
3340
|
-
const startOperationSpec = {
|
|
3341
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/start",
|
|
3342
|
-
httpMethod: "POST",
|
|
3343
|
-
responses: {
|
|
3344
|
-
200: {},
|
|
3345
|
-
201: {},
|
|
3346
|
-
202: {},
|
|
3347
|
-
204: {},
|
|
3348
|
-
default: {
|
|
3349
|
-
bodyMapper: CloudError,
|
|
3350
|
-
},
|
|
3351
|
-
},
|
|
3352
|
-
queryParameters: [apiVersion],
|
|
3353
|
-
urlParameters: [
|
|
3354
|
-
$host,
|
|
3355
|
-
subscriptionId,
|
|
3356
|
-
resourceGroupName,
|
|
3357
|
-
containerGroupName,
|
|
3358
|
-
],
|
|
3359
|
-
headerParameters: [accept],
|
|
3360
|
-
serializer: serializer$6,
|
|
3361
|
-
};
|
|
3362
|
-
const getOutboundNetworkDependenciesEndpointsOperationSpec = {
|
|
3363
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/outboundNetworkDependenciesEndpoints",
|
|
3364
|
-
httpMethod: "GET",
|
|
3365
|
-
responses: {
|
|
3366
|
-
200: {
|
|
3367
|
-
bodyMapper: {
|
|
3368
|
-
type: { name: "Sequence", element: { type: { name: "String" } } },
|
|
3369
|
-
},
|
|
3370
|
-
},
|
|
3371
|
-
default: {
|
|
3372
|
-
bodyMapper: CloudError,
|
|
3373
|
-
},
|
|
3374
|
-
},
|
|
3375
|
-
queryParameters: [apiVersion],
|
|
3376
|
-
urlParameters: [
|
|
3377
|
-
$host,
|
|
3378
|
-
subscriptionId,
|
|
3379
|
-
resourceGroupName,
|
|
3380
|
-
containerGroupName,
|
|
3381
|
-
],
|
|
3382
|
-
headerParameters: [accept],
|
|
3383
|
-
serializer: serializer$6,
|
|
3384
|
-
};
|
|
3385
|
-
const listNextOperationSpec$2 = {
|
|
3386
|
-
path: "{nextLink}",
|
|
3387
|
-
httpMethod: "GET",
|
|
3388
|
-
responses: {
|
|
3389
|
-
200: {
|
|
3390
|
-
bodyMapper: ContainerGroupListResult,
|
|
3391
|
-
},
|
|
3392
|
-
default: {
|
|
3393
|
-
bodyMapper: CloudError,
|
|
3394
|
-
},
|
|
3395
|
-
},
|
|
3396
|
-
urlParameters: [
|
|
3397
|
-
$host,
|
|
3398
|
-
subscriptionId,
|
|
3399
|
-
nextLink,
|
|
3400
|
-
],
|
|
3401
|
-
headerParameters: [accept],
|
|
3402
|
-
serializer: serializer$6,
|
|
3403
|
-
};
|
|
3404
|
-
const listByResourceGroupNextOperationSpec$1 = {
|
|
3405
|
-
path: "{nextLink}",
|
|
3406
|
-
httpMethod: "GET",
|
|
3407
|
-
responses: {
|
|
3408
|
-
200: {
|
|
3409
|
-
bodyMapper: ContainerGroupListResult,
|
|
3410
|
-
},
|
|
3411
|
-
default: {
|
|
3412
|
-
bodyMapper: CloudError,
|
|
3413
|
-
},
|
|
3414
|
-
},
|
|
3415
|
-
urlParameters: [
|
|
3416
|
-
$host,
|
|
3417
|
-
subscriptionId,
|
|
3418
|
-
resourceGroupName,
|
|
3419
|
-
nextLink,
|
|
3420
|
-
],
|
|
3421
|
-
headerParameters: [accept],
|
|
3422
|
-
serializer: serializer$6,
|
|
3423
|
-
};
|
|
3424
|
-
|
|
3425
|
-
/*
|
|
3426
|
-
* Copyright (c) Microsoft Corporation.
|
|
3427
|
-
* Licensed under the MIT License.
|
|
3428
|
-
*
|
|
3429
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3430
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3431
|
-
*/
|
|
3432
|
-
/// <reference lib="esnext.asynciterable" />
|
|
3433
|
-
/** Class containing Operations operations. */
|
|
3434
|
-
class OperationsImpl {
|
|
3435
|
-
/**
|
|
3436
|
-
* Initialize a new instance of the class Operations class.
|
|
3437
|
-
* @param client Reference to the service client
|
|
3438
|
-
*/
|
|
3439
|
-
constructor(client) {
|
|
3440
|
-
this.client = client;
|
|
3441
|
-
}
|
|
3442
|
-
/**
|
|
3443
|
-
* List the operations for Azure Container Instance service.
|
|
3444
|
-
* @param options The options parameters.
|
|
3445
|
-
*/
|
|
3446
|
-
list(options) {
|
|
3447
|
-
const iter = this.listPagingAll(options);
|
|
3448
|
-
return {
|
|
3449
|
-
next() {
|
|
3450
|
-
return iter.next();
|
|
3451
|
-
},
|
|
3452
|
-
[Symbol.asyncIterator]() {
|
|
3453
|
-
return this;
|
|
3454
|
-
},
|
|
3455
|
-
byPage: (settings) => {
|
|
3456
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
3457
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
3458
|
-
}
|
|
3459
|
-
return this.listPagingPage(options, settings);
|
|
3460
|
-
},
|
|
3461
|
-
};
|
|
3462
|
-
}
|
|
3463
|
-
listPagingPage(options, settings) {
|
|
3464
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
3465
|
-
let result;
|
|
3466
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
3467
|
-
if (!continuationToken) {
|
|
3468
|
-
result = yield tslib.__await(this._list(options));
|
|
3469
|
-
let page = result.value || [];
|
|
3470
|
-
continuationToken = result.nextLink;
|
|
3471
|
-
setContinuationToken(page, continuationToken);
|
|
3472
|
-
yield yield tslib.__await(page);
|
|
3473
|
-
}
|
|
3474
|
-
while (continuationToken) {
|
|
3475
|
-
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
3476
|
-
continuationToken = result.nextLink;
|
|
3477
|
-
let page = result.value || [];
|
|
3478
|
-
setContinuationToken(page, continuationToken);
|
|
3479
|
-
yield yield tslib.__await(page);
|
|
3480
|
-
}
|
|
3481
|
-
});
|
|
3482
|
-
}
|
|
3483
|
-
listPagingAll(options) {
|
|
3484
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
3485
|
-
var _a, e_1, _b, _c;
|
|
3486
|
-
try {
|
|
3487
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
3488
|
-
_c = _f.value;
|
|
3489
|
-
_d = false;
|
|
3490
|
-
const page = _c;
|
|
3491
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3492
|
-
}
|
|
3493
|
-
}
|
|
3494
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3495
|
-
finally {
|
|
3496
|
-
try {
|
|
3497
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3498
|
-
}
|
|
3499
|
-
finally { if (e_1) throw e_1.error; }
|
|
3500
|
-
}
|
|
3501
|
-
});
|
|
3502
|
-
}
|
|
3503
|
-
/**
|
|
3504
|
-
* List the operations for Azure Container Instance service.
|
|
3505
|
-
* @param options The options parameters.
|
|
3506
|
-
*/
|
|
3507
|
-
_list(options) {
|
|
3508
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$1);
|
|
3509
|
-
}
|
|
3510
|
-
/**
|
|
3511
|
-
* ListNext
|
|
3512
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
3513
|
-
* @param options The options parameters.
|
|
3514
|
-
*/
|
|
3515
|
-
_listNext(nextLink, options) {
|
|
3516
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$1);
|
|
3517
|
-
}
|
|
3518
|
-
}
|
|
3519
|
-
// Operation Specifications
|
|
3520
|
-
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3521
|
-
const listOperationSpec$1 = {
|
|
3522
|
-
path: "/providers/Microsoft.ContainerInstance/operations",
|
|
3523
|
-
httpMethod: "GET",
|
|
3524
|
-
responses: {
|
|
3525
|
-
200: {
|
|
3526
|
-
bodyMapper: OperationListResult,
|
|
3527
|
-
},
|
|
3528
|
-
default: {
|
|
3529
|
-
bodyMapper: CloudError,
|
|
3530
|
-
},
|
|
3531
|
-
},
|
|
3532
|
-
queryParameters: [apiVersion],
|
|
3533
|
-
urlParameters: [$host],
|
|
3534
|
-
headerParameters: [accept],
|
|
3535
|
-
serializer: serializer$5,
|
|
3536
|
-
};
|
|
3537
|
-
const listNextOperationSpec$1 = {
|
|
3538
|
-
path: "{nextLink}",
|
|
3539
|
-
httpMethod: "GET",
|
|
3540
|
-
responses: {
|
|
3541
|
-
200: {
|
|
3542
|
-
bodyMapper: OperationListResult,
|
|
3543
|
-
},
|
|
3544
|
-
default: {
|
|
3545
|
-
bodyMapper: CloudError,
|
|
3546
|
-
},
|
|
3547
|
-
},
|
|
3548
|
-
urlParameters: [$host, nextLink],
|
|
3549
|
-
headerParameters: [accept],
|
|
3550
|
-
serializer: serializer$5,
|
|
3551
|
-
};
|
|
3552
|
-
|
|
3553
|
-
/*
|
|
3554
|
-
* Copyright (c) Microsoft Corporation.
|
|
3555
|
-
* Licensed under the MIT License.
|
|
3556
|
-
*
|
|
3557
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3558
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3559
|
-
*/
|
|
3560
|
-
/// <reference lib="esnext.asynciterable" />
|
|
3561
|
-
/** Class containing Location operations. */
|
|
3562
|
-
class LocationImpl {
|
|
3563
|
-
/**
|
|
3564
|
-
* Initialize a new instance of the class Location class.
|
|
3565
|
-
* @param client Reference to the service client
|
|
3566
|
-
*/
|
|
3567
|
-
constructor(client) {
|
|
3568
|
-
this.client = client;
|
|
3569
|
-
}
|
|
3570
|
-
/**
|
|
3571
|
-
* Get the usage for a subscription
|
|
3572
|
-
* @param location The name of the Azure region.
|
|
3573
|
-
* @param options The options parameters.
|
|
3574
|
-
*/
|
|
3575
|
-
listUsage(location, options) {
|
|
3576
|
-
const iter = this.listUsagePagingAll(location, options);
|
|
3577
|
-
return {
|
|
3578
|
-
next() {
|
|
3579
|
-
return iter.next();
|
|
3580
|
-
},
|
|
3581
|
-
[Symbol.asyncIterator]() {
|
|
3582
|
-
return this;
|
|
3583
|
-
},
|
|
3584
|
-
byPage: (settings) => {
|
|
3585
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
3586
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
3587
|
-
}
|
|
3588
|
-
return this.listUsagePagingPage(location, options, settings);
|
|
3589
|
-
},
|
|
3590
|
-
};
|
|
3591
|
-
}
|
|
3592
|
-
listUsagePagingPage(location, options, _settings) {
|
|
3593
|
-
return tslib.__asyncGenerator(this, arguments, function* listUsagePagingPage_1() {
|
|
3594
|
-
let result;
|
|
3595
|
-
result = yield tslib.__await(this._listUsage(location, options));
|
|
3596
|
-
yield yield tslib.__await(result.value || []);
|
|
3597
|
-
});
|
|
3598
|
-
}
|
|
3599
|
-
listUsagePagingAll(location, options) {
|
|
3600
|
-
return tslib.__asyncGenerator(this, arguments, function* listUsagePagingAll_1() {
|
|
3601
|
-
var _a, e_1, _b, _c;
|
|
3602
|
-
try {
|
|
3603
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listUsagePagingPage(location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
3604
|
-
_c = _f.value;
|
|
3605
|
-
_d = false;
|
|
3606
|
-
const page = _c;
|
|
3607
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3608
|
-
}
|
|
3609
|
-
}
|
|
3610
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3611
|
-
finally {
|
|
3612
|
-
try {
|
|
3613
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3614
|
-
}
|
|
3615
|
-
finally { if (e_1) throw e_1.error; }
|
|
3616
|
-
}
|
|
3617
|
-
});
|
|
3618
|
-
}
|
|
3619
|
-
/**
|
|
3620
|
-
* Get the list of cached images on specific OS type for a subscription in a region.
|
|
3621
|
-
* @param location The name of the Azure region.
|
|
3622
|
-
* @param options The options parameters.
|
|
3623
|
-
*/
|
|
3624
|
-
listCachedImages(location, options) {
|
|
3625
|
-
const iter = this.listCachedImagesPagingAll(location, options);
|
|
3626
|
-
return {
|
|
3627
|
-
next() {
|
|
3628
|
-
return iter.next();
|
|
3629
|
-
},
|
|
3630
|
-
[Symbol.asyncIterator]() {
|
|
3631
|
-
return this;
|
|
3632
|
-
},
|
|
3633
|
-
byPage: (settings) => {
|
|
3634
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
3635
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
3636
|
-
}
|
|
3637
|
-
return this.listCachedImagesPagingPage(location, options, settings);
|
|
3638
|
-
},
|
|
3639
|
-
};
|
|
3640
|
-
}
|
|
3641
|
-
listCachedImagesPagingPage(location, options, settings) {
|
|
3642
|
-
return tslib.__asyncGenerator(this, arguments, function* listCachedImagesPagingPage_1() {
|
|
3643
|
-
let result;
|
|
3644
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
3645
|
-
if (!continuationToken) {
|
|
3646
|
-
result = yield tslib.__await(this._listCachedImages(location, options));
|
|
3647
|
-
let page = result.value || [];
|
|
3648
|
-
continuationToken = result.nextLink;
|
|
3649
|
-
setContinuationToken(page, continuationToken);
|
|
3650
|
-
yield yield tslib.__await(page);
|
|
3651
|
-
}
|
|
3652
|
-
while (continuationToken) {
|
|
3653
|
-
result = yield tslib.__await(this._listCachedImagesNext(location, continuationToken, options));
|
|
3654
|
-
continuationToken = result.nextLink;
|
|
3655
|
-
let page = result.value || [];
|
|
3656
|
-
setContinuationToken(page, continuationToken);
|
|
3657
|
-
yield yield tslib.__await(page);
|
|
3658
|
-
}
|
|
3659
|
-
});
|
|
3660
|
-
}
|
|
3661
|
-
listCachedImagesPagingAll(location, options) {
|
|
3662
|
-
return tslib.__asyncGenerator(this, arguments, function* listCachedImagesPagingAll_1() {
|
|
3663
|
-
var _a, e_2, _b, _c;
|
|
3664
|
-
try {
|
|
3665
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listCachedImagesPagingPage(location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
3666
|
-
_c = _f.value;
|
|
3667
|
-
_d = false;
|
|
3668
|
-
const page = _c;
|
|
3669
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3670
|
-
}
|
|
3671
|
-
}
|
|
3672
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
3673
|
-
finally {
|
|
3674
|
-
try {
|
|
3675
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3676
|
-
}
|
|
3677
|
-
finally { if (e_2) throw e_2.error; }
|
|
3678
|
-
}
|
|
3679
|
-
});
|
|
3680
|
-
}
|
|
3681
|
-
/**
|
|
3682
|
-
* Get the list of CPU/memory/GPU capabilities of a region.
|
|
3683
|
-
* @param location The name of the Azure region.
|
|
3684
|
-
* @param options The options parameters.
|
|
3685
|
-
*/
|
|
3686
|
-
listCapabilities(location, options) {
|
|
3687
|
-
const iter = this.listCapabilitiesPagingAll(location, options);
|
|
3688
|
-
return {
|
|
3689
|
-
next() {
|
|
3690
|
-
return iter.next();
|
|
3691
|
-
},
|
|
3692
|
-
[Symbol.asyncIterator]() {
|
|
3693
|
-
return this;
|
|
3694
|
-
},
|
|
3695
|
-
byPage: (settings) => {
|
|
3696
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
3697
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
3698
|
-
}
|
|
3699
|
-
return this.listCapabilitiesPagingPage(location, options, settings);
|
|
3700
|
-
},
|
|
3701
|
-
};
|
|
3702
|
-
}
|
|
3703
|
-
listCapabilitiesPagingPage(location, options, settings) {
|
|
3704
|
-
return tslib.__asyncGenerator(this, arguments, function* listCapabilitiesPagingPage_1() {
|
|
3705
|
-
let result;
|
|
3706
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
3707
|
-
if (!continuationToken) {
|
|
3708
|
-
result = yield tslib.__await(this._listCapabilities(location, options));
|
|
3709
|
-
let page = result.value || [];
|
|
3710
|
-
continuationToken = result.nextLink;
|
|
3711
|
-
setContinuationToken(page, continuationToken);
|
|
3712
|
-
yield yield tslib.__await(page);
|
|
3713
|
-
}
|
|
3714
|
-
while (continuationToken) {
|
|
3715
|
-
result = yield tslib.__await(this._listCapabilitiesNext(location, continuationToken, options));
|
|
3716
|
-
continuationToken = result.nextLink;
|
|
3717
|
-
let page = result.value || [];
|
|
3718
|
-
setContinuationToken(page, continuationToken);
|
|
3719
|
-
yield yield tslib.__await(page);
|
|
3720
|
-
}
|
|
3721
|
-
});
|
|
3722
|
-
}
|
|
3723
|
-
listCapabilitiesPagingAll(location, options) {
|
|
3724
|
-
return tslib.__asyncGenerator(this, arguments, function* listCapabilitiesPagingAll_1() {
|
|
3725
|
-
var _a, e_3, _b, _c;
|
|
3726
|
-
try {
|
|
3727
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listCapabilitiesPagingPage(location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
3728
|
-
_c = _f.value;
|
|
3729
|
-
_d = false;
|
|
3730
|
-
const page = _c;
|
|
3731
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3732
|
-
}
|
|
3733
|
-
}
|
|
3734
|
-
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
3735
|
-
finally {
|
|
3736
|
-
try {
|
|
3737
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3738
|
-
}
|
|
3739
|
-
finally { if (e_3) throw e_3.error; }
|
|
3740
|
-
}
|
|
3741
|
-
});
|
|
3742
|
-
}
|
|
3743
|
-
/**
|
|
3744
|
-
* Get the usage for a subscription
|
|
3745
|
-
* @param location The name of the Azure region.
|
|
3746
|
-
* @param options The options parameters.
|
|
3747
|
-
*/
|
|
3748
|
-
_listUsage(location, options) {
|
|
3749
|
-
return this.client.sendOperationRequest({ location, options }, listUsageOperationSpec);
|
|
3750
|
-
}
|
|
3751
|
-
/**
|
|
3752
|
-
* Get the list of cached images on specific OS type for a subscription in a region.
|
|
3753
|
-
* @param location The name of the Azure region.
|
|
3754
|
-
* @param options The options parameters.
|
|
3755
|
-
*/
|
|
3756
|
-
_listCachedImages(location, options) {
|
|
3757
|
-
return this.client.sendOperationRequest({ location, options }, listCachedImagesOperationSpec);
|
|
3758
|
-
}
|
|
3759
|
-
/**
|
|
3760
|
-
* Get the list of CPU/memory/GPU capabilities of a region.
|
|
3761
|
-
* @param location The name of the Azure region.
|
|
3762
|
-
* @param options The options parameters.
|
|
3763
|
-
*/
|
|
3764
|
-
_listCapabilities(location, options) {
|
|
3765
|
-
return this.client.sendOperationRequest({ location, options }, listCapabilitiesOperationSpec);
|
|
3766
|
-
}
|
|
3767
|
-
/**
|
|
3768
|
-
* ListCachedImagesNext
|
|
3769
|
-
* @param location The name of the Azure region.
|
|
3770
|
-
* @param nextLink The nextLink from the previous successful call to the ListCachedImages method.
|
|
3771
|
-
* @param options The options parameters.
|
|
3772
|
-
*/
|
|
3773
|
-
_listCachedImagesNext(location, nextLink, options) {
|
|
3774
|
-
return this.client.sendOperationRequest({ location, nextLink, options }, listCachedImagesNextOperationSpec);
|
|
3775
|
-
}
|
|
3776
|
-
/**
|
|
3777
|
-
* ListCapabilitiesNext
|
|
3778
|
-
* @param location The name of the Azure region.
|
|
3779
|
-
* @param nextLink The nextLink from the previous successful call to the ListCapabilities method.
|
|
3780
|
-
* @param options The options parameters.
|
|
3781
|
-
*/
|
|
3782
|
-
_listCapabilitiesNext(location, nextLink, options) {
|
|
3783
|
-
return this.client.sendOperationRequest({ location, nextLink, options }, listCapabilitiesNextOperationSpec);
|
|
3784
|
-
}
|
|
3785
|
-
}
|
|
3786
|
-
// Operation Specifications
|
|
3787
|
-
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3788
|
-
const listUsageOperationSpec = {
|
|
3789
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/locations/{location}/usages",
|
|
3790
|
-
httpMethod: "GET",
|
|
3791
|
-
responses: {
|
|
3792
|
-
200: {
|
|
3793
|
-
bodyMapper: UsageListResult,
|
|
3794
|
-
},
|
|
3795
|
-
default: {
|
|
3796
|
-
bodyMapper: CloudError,
|
|
3797
|
-
},
|
|
3798
|
-
},
|
|
3799
|
-
queryParameters: [apiVersion],
|
|
3800
|
-
urlParameters: [
|
|
3801
|
-
$host,
|
|
3802
|
-
subscriptionId,
|
|
3803
|
-
location,
|
|
3804
|
-
],
|
|
3805
|
-
headerParameters: [accept],
|
|
3806
|
-
serializer: serializer$4,
|
|
3807
|
-
};
|
|
3808
|
-
const listCachedImagesOperationSpec = {
|
|
3809
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/locations/{location}/cachedImages",
|
|
3810
|
-
httpMethod: "GET",
|
|
3811
|
-
responses: {
|
|
3812
|
-
200: {
|
|
3813
|
-
bodyMapper: CachedImagesListResult,
|
|
3814
|
-
},
|
|
3815
|
-
default: {
|
|
3816
|
-
bodyMapper: CloudError,
|
|
3817
|
-
},
|
|
3818
|
-
},
|
|
3819
|
-
queryParameters: [apiVersion],
|
|
3820
|
-
urlParameters: [
|
|
3821
|
-
$host,
|
|
3822
|
-
subscriptionId,
|
|
3823
|
-
location,
|
|
3824
|
-
],
|
|
3825
|
-
headerParameters: [accept],
|
|
3826
|
-
serializer: serializer$4,
|
|
3827
|
-
};
|
|
3828
|
-
const listCapabilitiesOperationSpec = {
|
|
3829
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/locations/{location}/capabilities",
|
|
3830
|
-
httpMethod: "GET",
|
|
3831
|
-
responses: {
|
|
3832
|
-
200: {
|
|
3833
|
-
bodyMapper: CapabilitiesListResult,
|
|
3834
|
-
},
|
|
3835
|
-
default: {
|
|
3836
|
-
bodyMapper: CloudError,
|
|
3837
|
-
},
|
|
3838
|
-
},
|
|
3839
|
-
queryParameters: [apiVersion],
|
|
3840
|
-
urlParameters: [
|
|
3841
|
-
$host,
|
|
3842
|
-
subscriptionId,
|
|
3843
|
-
location,
|
|
3844
|
-
],
|
|
3845
|
-
headerParameters: [accept],
|
|
3846
|
-
serializer: serializer$4,
|
|
3847
|
-
};
|
|
3848
|
-
const listCachedImagesNextOperationSpec = {
|
|
3849
|
-
path: "{nextLink}",
|
|
3850
|
-
httpMethod: "GET",
|
|
3851
|
-
responses: {
|
|
3852
|
-
200: {
|
|
3853
|
-
bodyMapper: CachedImagesListResult,
|
|
3854
|
-
},
|
|
3855
|
-
default: {
|
|
3856
|
-
bodyMapper: CloudError,
|
|
3857
|
-
},
|
|
3858
|
-
},
|
|
3859
|
-
urlParameters: [
|
|
3860
|
-
$host,
|
|
3861
|
-
subscriptionId,
|
|
3862
|
-
nextLink,
|
|
3863
|
-
location,
|
|
3864
|
-
],
|
|
3865
|
-
headerParameters: [accept],
|
|
3866
|
-
serializer: serializer$4,
|
|
3867
|
-
};
|
|
3868
|
-
const listCapabilitiesNextOperationSpec = {
|
|
3869
|
-
path: "{nextLink}",
|
|
3870
|
-
httpMethod: "GET",
|
|
3871
|
-
responses: {
|
|
3872
|
-
200: {
|
|
3873
|
-
bodyMapper: CapabilitiesListResult,
|
|
3874
|
-
},
|
|
3875
|
-
default: {
|
|
3876
|
-
bodyMapper: CloudError,
|
|
3877
|
-
},
|
|
3878
|
-
},
|
|
3879
|
-
urlParameters: [
|
|
3880
|
-
$host,
|
|
3881
|
-
subscriptionId,
|
|
3882
|
-
nextLink,
|
|
3883
|
-
location,
|
|
3884
|
-
],
|
|
3885
|
-
headerParameters: [accept],
|
|
3886
|
-
serializer: serializer$4,
|
|
3887
|
-
};
|
|
3888
|
-
|
|
3889
|
-
/*
|
|
3890
|
-
* Copyright (c) Microsoft Corporation.
|
|
3891
|
-
* Licensed under the MIT License.
|
|
3892
|
-
*
|
|
3893
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3894
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3895
|
-
*/
|
|
3896
|
-
/** Class containing Containers operations. */
|
|
3897
|
-
class ContainersImpl {
|
|
3898
|
-
/**
|
|
3899
|
-
* Initialize a new instance of the class Containers class.
|
|
3900
|
-
* @param client Reference to the service client
|
|
3901
|
-
*/
|
|
3902
|
-
constructor(client) {
|
|
3903
|
-
this.client = client;
|
|
3904
|
-
}
|
|
3905
|
-
/**
|
|
3906
|
-
* Get the logs for a specified container instance in a specified resource group and container group.
|
|
3907
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3908
|
-
* @param containerGroupName The name of the container group.
|
|
3909
|
-
* @param containerName The name of the container instance.
|
|
3910
|
-
* @param options The options parameters.
|
|
3911
|
-
*/
|
|
3912
|
-
listLogs(resourceGroupName, containerGroupName, containerName, options) {
|
|
3913
|
-
return this.client.sendOperationRequest({ resourceGroupName, containerGroupName, containerName, options }, listLogsOperationSpec);
|
|
3914
|
-
}
|
|
3915
|
-
/**
|
|
3916
|
-
* Executes a command for a specific container instance in a specified resource group and container
|
|
3917
|
-
* group.
|
|
3918
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3919
|
-
* @param containerGroupName The name of the container group.
|
|
3920
|
-
* @param containerName The name of the container instance.
|
|
3921
|
-
* @param containerExecRequest The request for the exec command.
|
|
3922
|
-
* @param options The options parameters.
|
|
3923
|
-
*/
|
|
3924
|
-
executeCommand(resourceGroupName, containerGroupName, containerName, containerExecRequest, options) {
|
|
3925
|
-
return this.client.sendOperationRequest({
|
|
3926
|
-
resourceGroupName,
|
|
3927
|
-
containerGroupName,
|
|
3928
|
-
containerName,
|
|
3929
|
-
containerExecRequest,
|
|
3930
|
-
options,
|
|
3931
|
-
}, executeCommandOperationSpec);
|
|
3932
|
-
}
|
|
3933
|
-
/**
|
|
3934
|
-
* Attach to the output stream of a specific container instance in a specified resource group and
|
|
3935
|
-
* container group.
|
|
3936
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
3937
|
-
* @param containerGroupName The name of the container group.
|
|
3938
|
-
* @param containerName The name of the container instance.
|
|
3939
|
-
* @param options The options parameters.
|
|
3940
|
-
*/
|
|
3941
|
-
attach(resourceGroupName, containerGroupName, containerName, options) {
|
|
3942
|
-
return this.client.sendOperationRequest({ resourceGroupName, containerGroupName, containerName, options }, attachOperationSpec);
|
|
3943
|
-
}
|
|
3944
|
-
}
|
|
3945
|
-
// Operation Specifications
|
|
3946
|
-
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3947
|
-
const listLogsOperationSpec = {
|
|
3948
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/logs",
|
|
3949
|
-
httpMethod: "GET",
|
|
3950
|
-
responses: {
|
|
3951
|
-
200: {
|
|
3952
|
-
bodyMapper: Logs,
|
|
3953
|
-
},
|
|
3954
|
-
default: {
|
|
3955
|
-
bodyMapper: CloudError,
|
|
3956
|
-
},
|
|
3957
|
-
},
|
|
3958
|
-
queryParameters: [
|
|
3959
|
-
apiVersion,
|
|
3960
|
-
tail,
|
|
3961
|
-
timestamps,
|
|
3962
|
-
],
|
|
3963
|
-
urlParameters: [
|
|
3964
|
-
$host,
|
|
3965
|
-
subscriptionId,
|
|
3966
|
-
resourceGroupName,
|
|
3967
|
-
containerGroupName,
|
|
3968
|
-
containerName,
|
|
3969
|
-
],
|
|
3970
|
-
headerParameters: [accept],
|
|
3971
|
-
serializer: serializer$3,
|
|
3972
|
-
};
|
|
3973
|
-
const executeCommandOperationSpec = {
|
|
3974
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/exec",
|
|
3975
|
-
httpMethod: "POST",
|
|
3976
|
-
responses: {
|
|
3977
|
-
200: {
|
|
3978
|
-
bodyMapper: ContainerExecResponse,
|
|
3979
|
-
},
|
|
3980
|
-
default: {
|
|
3981
|
-
bodyMapper: CloudError,
|
|
3982
|
-
},
|
|
3983
|
-
},
|
|
3984
|
-
requestBody: containerExecRequest,
|
|
3985
|
-
queryParameters: [apiVersion],
|
|
3986
|
-
urlParameters: [
|
|
3987
|
-
$host,
|
|
3988
|
-
subscriptionId,
|
|
3989
|
-
resourceGroupName,
|
|
3990
|
-
containerGroupName,
|
|
3991
|
-
containerName,
|
|
3992
|
-
],
|
|
3993
|
-
headerParameters: [accept, contentType],
|
|
3994
|
-
mediaType: "json",
|
|
3995
|
-
serializer: serializer$3,
|
|
3996
|
-
};
|
|
3997
|
-
const attachOperationSpec = {
|
|
3998
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/attach",
|
|
3999
|
-
httpMethod: "POST",
|
|
4000
|
-
responses: {
|
|
4001
|
-
200: {
|
|
4002
|
-
bodyMapper: ContainerAttachResponse,
|
|
4003
|
-
},
|
|
4004
|
-
default: {
|
|
4005
|
-
bodyMapper: CloudError,
|
|
4006
|
-
},
|
|
4007
|
-
},
|
|
4008
|
-
queryParameters: [apiVersion],
|
|
4009
|
-
urlParameters: [
|
|
4010
|
-
$host,
|
|
4011
|
-
subscriptionId,
|
|
4012
|
-
resourceGroupName,
|
|
4013
|
-
containerGroupName,
|
|
4014
|
-
containerName,
|
|
4015
|
-
],
|
|
4016
|
-
headerParameters: [accept],
|
|
4017
|
-
serializer: serializer$3,
|
|
4018
|
-
};
|
|
4019
|
-
|
|
4020
|
-
/*
|
|
4021
|
-
* Copyright (c) Microsoft Corporation.
|
|
4022
|
-
* Licensed under the MIT License.
|
|
4023
|
-
*
|
|
4024
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4025
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4026
|
-
*/
|
|
4027
|
-
/** Class containing SubnetServiceAssociationLink operations. */
|
|
4028
|
-
class SubnetServiceAssociationLinkImpl {
|
|
4029
|
-
/**
|
|
4030
|
-
* Initialize a new instance of the class SubnetServiceAssociationLink class.
|
|
4031
|
-
* @param client Reference to the service client
|
|
4032
|
-
*/
|
|
4033
|
-
constructor(client) {
|
|
4034
|
-
this.client = client;
|
|
4035
|
-
}
|
|
4036
|
-
/**
|
|
4037
|
-
* Delete container group virtual network association links. The operation does not delete other
|
|
4038
|
-
* resources provided by the user.
|
|
4039
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4040
|
-
* @param virtualNetworkName The name of the virtual network.
|
|
4041
|
-
* @param subnetName The name of the subnet.
|
|
4042
|
-
* @param options The options parameters.
|
|
4043
|
-
*/
|
|
4044
|
-
beginDelete(resourceGroupName, virtualNetworkName, subnetName, options) {
|
|
4045
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4046
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4047
|
-
return this.client.sendOperationRequest(args, spec);
|
|
4048
|
-
});
|
|
4049
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4050
|
-
var _a;
|
|
4051
|
-
let currentRawResponse = undefined;
|
|
4052
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
4053
|
-
const callback = (rawResponse, flatResponse) => {
|
|
4054
|
-
currentRawResponse = rawResponse;
|
|
4055
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
4056
|
-
};
|
|
4057
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
4058
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
4059
|
-
return {
|
|
4060
|
-
flatResponse,
|
|
4061
|
-
rawResponse: {
|
|
4062
|
-
statusCode: currentRawResponse.status,
|
|
4063
|
-
body: currentRawResponse.parsedBody,
|
|
4064
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
4065
|
-
},
|
|
4066
|
-
};
|
|
4067
|
-
});
|
|
4068
|
-
const lro = createLroSpec({
|
|
4069
|
-
sendOperationFn,
|
|
4070
|
-
args: { resourceGroupName, virtualNetworkName, subnetName, options },
|
|
4071
|
-
spec: deleteOperationSpec$1,
|
|
4072
|
-
});
|
|
4073
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
4074
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4075
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
4076
|
-
});
|
|
4077
|
-
yield poller.poll();
|
|
4078
|
-
return poller;
|
|
4079
|
-
});
|
|
4080
|
-
}
|
|
4081
|
-
/**
|
|
4082
|
-
* Delete container group virtual network association links. The operation does not delete other
|
|
4083
|
-
* resources provided by the user.
|
|
4084
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4085
|
-
* @param virtualNetworkName The name of the virtual network.
|
|
4086
|
-
* @param subnetName The name of the subnet.
|
|
4087
|
-
* @param options The options parameters.
|
|
4088
|
-
*/
|
|
4089
|
-
beginDeleteAndWait(resourceGroupName, virtualNetworkName, subnetName, options) {
|
|
4090
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4091
|
-
const poller = yield this.beginDelete(resourceGroupName, virtualNetworkName, subnetName, options);
|
|
4092
|
-
return poller.pollUntilDone();
|
|
4093
|
-
});
|
|
4094
|
-
}
|
|
4095
|
-
}
|
|
4096
|
-
// Operation Specifications
|
|
4097
|
-
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4098
|
-
const deleteOperationSpec$1 = {
|
|
4099
|
-
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/providers/Microsoft.ContainerInstance/serviceAssociationLinks/default",
|
|
4100
|
-
httpMethod: "DELETE",
|
|
4101
|
-
responses: {
|
|
4102
|
-
200: {},
|
|
4103
|
-
201: {},
|
|
4104
|
-
202: {},
|
|
4105
|
-
204: {},
|
|
4106
|
-
default: {
|
|
4107
|
-
bodyMapper: CloudError,
|
|
4108
|
-
},
|
|
4109
|
-
},
|
|
4110
|
-
queryParameters: [apiVersion],
|
|
4111
|
-
urlParameters: [
|
|
4112
|
-
$host,
|
|
4113
|
-
subscriptionId,
|
|
4114
|
-
resourceGroupName,
|
|
4115
|
-
virtualNetworkName,
|
|
4116
|
-
subnetName,
|
|
4117
|
-
],
|
|
4118
|
-
headerParameters: [accept],
|
|
4119
|
-
serializer: serializer$2,
|
|
4120
|
-
};
|
|
4121
|
-
|
|
4122
|
-
/*
|
|
4123
|
-
* Copyright (c) Microsoft Corporation.
|
|
4124
|
-
* Licensed under the MIT License.
|
|
4125
|
-
*
|
|
4126
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4127
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4128
|
-
*/
|
|
4129
|
-
/// <reference lib="esnext.asynciterable" />
|
|
4130
|
-
/** Class containing ContainerGroupProfiles operations. */
|
|
4131
|
-
class ContainerGroupProfilesImpl {
|
|
4132
|
-
/**
|
|
4133
|
-
* Initialize a new instance of the class ContainerGroupProfiles class.
|
|
4134
|
-
* @param client Reference to the service client
|
|
4135
|
-
*/
|
|
4136
|
-
constructor(client) {
|
|
4137
|
-
this.client = client;
|
|
4138
|
-
}
|
|
4139
|
-
/**
|
|
4140
|
-
* Get a list of container group profiles in the specified subscription. This operation returns
|
|
4141
|
-
* properties of each container group profile including containers, image registry credentials, restart
|
|
4142
|
-
* policy, IP address type, OS type,volumes,current revision number, etc.
|
|
4143
|
-
* @param options The options parameters.
|
|
4144
|
-
*/
|
|
4145
|
-
list(options) {
|
|
4146
|
-
const iter = this.listPagingAll(options);
|
|
4147
|
-
return {
|
|
4148
|
-
next() {
|
|
4149
|
-
return iter.next();
|
|
4150
|
-
},
|
|
4151
|
-
[Symbol.asyncIterator]() {
|
|
4152
|
-
return this;
|
|
4153
|
-
},
|
|
4154
|
-
byPage: (settings) => {
|
|
4155
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4156
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
4157
|
-
}
|
|
4158
|
-
return this.listPagingPage(options, settings);
|
|
4159
|
-
},
|
|
4160
|
-
};
|
|
4161
|
-
}
|
|
4162
|
-
listPagingPage(options, settings) {
|
|
4163
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
4164
|
-
let result;
|
|
4165
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4166
|
-
if (!continuationToken) {
|
|
4167
|
-
result = yield tslib.__await(this._list(options));
|
|
4168
|
-
let page = result.value || [];
|
|
4169
|
-
continuationToken = result.nextLink;
|
|
4170
|
-
setContinuationToken(page, continuationToken);
|
|
4171
|
-
yield yield tslib.__await(page);
|
|
4172
|
-
}
|
|
4173
|
-
while (continuationToken) {
|
|
4174
|
-
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
4175
|
-
continuationToken = result.nextLink;
|
|
4176
|
-
let page = result.value || [];
|
|
4177
|
-
setContinuationToken(page, continuationToken);
|
|
4178
|
-
yield yield tslib.__await(page);
|
|
4179
|
-
}
|
|
4180
|
-
});
|
|
4181
|
-
}
|
|
4182
|
-
listPagingAll(options) {
|
|
4183
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
4184
|
-
var _a, e_1, _b, _c;
|
|
4185
|
-
try {
|
|
4186
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
4187
|
-
_c = _f.value;
|
|
4188
|
-
_d = false;
|
|
4189
|
-
const page = _c;
|
|
4190
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4191
|
-
}
|
|
4192
|
-
}
|
|
4193
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
4194
|
-
finally {
|
|
4195
|
-
try {
|
|
4196
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
4197
|
-
}
|
|
4198
|
-
finally { if (e_1) throw e_1.error; }
|
|
4199
|
-
}
|
|
4200
|
-
});
|
|
4201
|
-
}
|
|
4202
|
-
/**
|
|
4203
|
-
* Get a list of container group profiles in a specified subscription and resource group. This
|
|
4204
|
-
* operation returns properties of each container group profile including containers, image registry
|
|
4205
|
-
* credentials, restart policy, IP address type, OS type volumes, current revision number, etc.
|
|
4206
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4207
|
-
* @param options The options parameters.
|
|
4208
|
-
*/
|
|
4209
|
-
listByResourceGroup(resourceGroupName, options) {
|
|
4210
|
-
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
4211
|
-
return {
|
|
4212
|
-
next() {
|
|
4213
|
-
return iter.next();
|
|
4214
|
-
},
|
|
4215
|
-
[Symbol.asyncIterator]() {
|
|
4216
|
-
return this;
|
|
4217
|
-
},
|
|
4218
|
-
byPage: (settings) => {
|
|
4219
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4220
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
4221
|
-
}
|
|
4222
|
-
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
4223
|
-
},
|
|
4224
|
-
};
|
|
4225
|
-
}
|
|
4226
|
-
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
4227
|
-
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
4228
|
-
let result;
|
|
4229
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4230
|
-
if (!continuationToken) {
|
|
4231
|
-
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
4232
|
-
let page = result.value || [];
|
|
4233
|
-
continuationToken = result.nextLink;
|
|
4234
|
-
setContinuationToken(page, continuationToken);
|
|
4235
|
-
yield yield tslib.__await(page);
|
|
4236
|
-
}
|
|
4237
|
-
while (continuationToken) {
|
|
4238
|
-
result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
4239
|
-
continuationToken = result.nextLink;
|
|
4240
|
-
let page = result.value || [];
|
|
4241
|
-
setContinuationToken(page, continuationToken);
|
|
4242
|
-
yield yield tslib.__await(page);
|
|
4243
|
-
}
|
|
4244
|
-
});
|
|
4245
|
-
}
|
|
4246
|
-
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
4247
|
-
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
4248
|
-
var _a, e_2, _b, _c;
|
|
4249
|
-
try {
|
|
4250
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
4251
|
-
_c = _f.value;
|
|
4252
|
-
_d = false;
|
|
4253
|
-
const page = _c;
|
|
4254
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4255
|
-
}
|
|
4256
|
-
}
|
|
4257
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
4258
|
-
finally {
|
|
4259
|
-
try {
|
|
4260
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
4261
|
-
}
|
|
4262
|
-
finally { if (e_2) throw e_2.error; }
|
|
4263
|
-
}
|
|
4264
|
-
});
|
|
4265
|
-
}
|
|
4266
|
-
/**
|
|
4267
|
-
* Get a list of container group profiles in the specified subscription. This operation returns
|
|
4268
|
-
* properties of each container group profile including containers, image registry credentials, restart
|
|
4269
|
-
* policy, IP address type, OS type,volumes,current revision number, etc.
|
|
4270
|
-
* @param options The options parameters.
|
|
4271
|
-
*/
|
|
4272
|
-
_list(options) {
|
|
4273
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
4274
|
-
}
|
|
4275
|
-
/**
|
|
4276
|
-
* Get a list of container group profiles in a specified subscription and resource group. This
|
|
4277
|
-
* operation returns properties of each container group profile including containers, image registry
|
|
4278
|
-
* credentials, restart policy, IP address type, OS type volumes, current revision number, etc.
|
|
4279
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4280
|
-
* @param options The options parameters.
|
|
4281
|
-
*/
|
|
4282
|
-
_listByResourceGroup(resourceGroupName, options) {
|
|
4283
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
4284
|
-
}
|
|
4285
|
-
/**
|
|
4286
|
-
* Gets the properties of the specified container group profile in the specified subscription and
|
|
4287
|
-
* resource group. The operation returns the properties of container group profile including
|
|
4288
|
-
* containers, image registry credentials, restart policy, IP address type, OS type, volumes, current
|
|
4289
|
-
* revision number, etc.
|
|
4290
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4291
|
-
* @param containerGroupProfileName The name of the container group profile.
|
|
4292
|
-
* @param options The options parameters.
|
|
4293
|
-
*/
|
|
4294
|
-
get(resourceGroupName, containerGroupProfileName, options) {
|
|
4295
|
-
return this.client.sendOperationRequest({ resourceGroupName, containerGroupProfileName, options }, getOperationSpec);
|
|
4296
|
-
}
|
|
4297
|
-
/**
|
|
4298
|
-
* Create or update container group profiles with specified configurations.
|
|
4299
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4300
|
-
* @param containerGroupProfileName The name of the container group profile.
|
|
4301
|
-
* @param containerGroupProfile The properties of the container group profile to be created or updated.
|
|
4302
|
-
* @param options The options parameters.
|
|
4303
|
-
*/
|
|
4304
|
-
createOrUpdate(resourceGroupName, containerGroupProfileName, containerGroupProfile, options) {
|
|
4305
|
-
return this.client.sendOperationRequest({
|
|
4306
|
-
resourceGroupName,
|
|
4307
|
-
containerGroupProfileName,
|
|
4308
|
-
containerGroupProfile,
|
|
4309
|
-
options,
|
|
4310
|
-
}, createOrUpdateOperationSpec);
|
|
4311
|
-
}
|
|
4312
|
-
/**
|
|
4313
|
-
* Patches container group profile with specified properties.
|
|
4314
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4315
|
-
* @param containerGroupProfileName The name of the container group profile.
|
|
4316
|
-
* @param properties The container group profile properties that need to be updated.
|
|
4317
|
-
* @param options The options parameters.
|
|
4318
|
-
*/
|
|
4319
|
-
patch(resourceGroupName, containerGroupProfileName, properties, options) {
|
|
4320
|
-
return this.client.sendOperationRequest({ resourceGroupName, containerGroupProfileName, properties, options }, patchOperationSpec);
|
|
4321
|
-
}
|
|
4322
|
-
/**
|
|
4323
|
-
* Delete the specified container group profile in the specified subscription and resource group. The
|
|
4324
|
-
* operation does not delete other resources provided by the user, such as volumes.
|
|
4325
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4326
|
-
* @param containerGroupProfileName The name of the container group profile.
|
|
4327
|
-
* @param options The options parameters.
|
|
4328
|
-
*/
|
|
4329
|
-
delete(resourceGroupName, containerGroupProfileName, options) {
|
|
4330
|
-
return this.client.sendOperationRequest({ resourceGroupName, containerGroupProfileName, options }, deleteOperationSpec);
|
|
4331
|
-
}
|
|
4332
|
-
/**
|
|
4333
|
-
* ListNext
|
|
4334
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
4335
|
-
* @param options The options parameters.
|
|
4336
|
-
*/
|
|
4337
|
-
_listNext(nextLink, options) {
|
|
4338
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
4339
|
-
}
|
|
4340
|
-
/**
|
|
4341
|
-
* ListByResourceGroupNext
|
|
4342
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4343
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
4344
|
-
* @param options The options parameters.
|
|
4345
|
-
*/
|
|
4346
|
-
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
4347
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
4348
|
-
}
|
|
4349
|
-
}
|
|
4350
|
-
// Operation Specifications
|
|
4351
|
-
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4352
|
-
const listOperationSpec = {
|
|
4353
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/containerGroupProfiles",
|
|
4354
|
-
httpMethod: "GET",
|
|
4355
|
-
responses: {
|
|
4356
|
-
200: {
|
|
4357
|
-
bodyMapper: ContainerGroupProfileListResult,
|
|
4358
|
-
},
|
|
4359
|
-
default: {
|
|
4360
|
-
bodyMapper: CloudError,
|
|
4361
|
-
},
|
|
4362
|
-
},
|
|
4363
|
-
queryParameters: [apiVersion],
|
|
4364
|
-
urlParameters: [$host, subscriptionId],
|
|
4365
|
-
headerParameters: [accept],
|
|
4366
|
-
serializer: serializer$1,
|
|
4367
|
-
};
|
|
4368
|
-
const listByResourceGroupOperationSpec = {
|
|
4369
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles",
|
|
4370
|
-
httpMethod: "GET",
|
|
4371
|
-
responses: {
|
|
4372
|
-
200: {
|
|
4373
|
-
bodyMapper: ContainerGroupProfileListResult,
|
|
4374
|
-
},
|
|
4375
|
-
default: {
|
|
4376
|
-
bodyMapper: CloudError,
|
|
4377
|
-
},
|
|
4378
|
-
},
|
|
4379
|
-
queryParameters: [apiVersion],
|
|
4380
|
-
urlParameters: [
|
|
4381
|
-
$host,
|
|
4382
|
-
subscriptionId,
|
|
4383
|
-
resourceGroupName,
|
|
4384
|
-
],
|
|
4385
|
-
headerParameters: [accept],
|
|
4386
|
-
serializer: serializer$1,
|
|
4387
|
-
};
|
|
4388
|
-
const getOperationSpec = {
|
|
4389
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}",
|
|
4390
|
-
httpMethod: "GET",
|
|
4391
|
-
responses: {
|
|
4392
|
-
200: {
|
|
4393
|
-
bodyMapper: ContainerGroupProfile,
|
|
4394
|
-
},
|
|
4395
|
-
default: {
|
|
4396
|
-
bodyMapper: CloudError,
|
|
4397
|
-
},
|
|
4398
|
-
},
|
|
4399
|
-
queryParameters: [apiVersion],
|
|
4400
|
-
urlParameters: [
|
|
4401
|
-
$host,
|
|
4402
|
-
subscriptionId,
|
|
4403
|
-
resourceGroupName,
|
|
4404
|
-
containerGroupProfileName,
|
|
4405
|
-
],
|
|
4406
|
-
headerParameters: [accept],
|
|
4407
|
-
serializer: serializer$1,
|
|
4408
|
-
};
|
|
4409
|
-
const createOrUpdateOperationSpec = {
|
|
4410
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}",
|
|
4411
|
-
httpMethod: "PUT",
|
|
4412
|
-
responses: {
|
|
4413
|
-
200: {
|
|
4414
|
-
bodyMapper: ContainerGroupProfile,
|
|
4415
|
-
},
|
|
4416
|
-
201: {
|
|
4417
|
-
bodyMapper: ContainerGroupProfile,
|
|
4418
|
-
},
|
|
4419
|
-
default: {
|
|
4420
|
-
bodyMapper: CloudError,
|
|
4421
|
-
},
|
|
4422
|
-
},
|
|
4423
|
-
requestBody: containerGroupProfile,
|
|
4424
|
-
queryParameters: [apiVersion],
|
|
4425
|
-
urlParameters: [
|
|
4426
|
-
$host,
|
|
4427
|
-
subscriptionId,
|
|
4428
|
-
resourceGroupName,
|
|
4429
|
-
containerGroupProfileName,
|
|
4430
|
-
],
|
|
4431
|
-
headerParameters: [accept, contentType],
|
|
4432
|
-
mediaType: "json",
|
|
4433
|
-
serializer: serializer$1,
|
|
4434
|
-
};
|
|
4435
|
-
const patchOperationSpec = {
|
|
4436
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}",
|
|
4437
|
-
httpMethod: "PATCH",
|
|
4438
|
-
responses: {
|
|
4439
|
-
200: {
|
|
4440
|
-
bodyMapper: ContainerGroupProfile,
|
|
4441
|
-
},
|
|
4442
|
-
default: {
|
|
4443
|
-
bodyMapper: CloudError,
|
|
4444
|
-
},
|
|
4445
|
-
},
|
|
4446
|
-
requestBody: properties,
|
|
4447
|
-
queryParameters: [apiVersion],
|
|
4448
|
-
urlParameters: [
|
|
4449
|
-
$host,
|
|
4450
|
-
subscriptionId,
|
|
4451
|
-
resourceGroupName,
|
|
4452
|
-
containerGroupProfileName,
|
|
4453
|
-
],
|
|
4454
|
-
headerParameters: [accept, contentType],
|
|
4455
|
-
mediaType: "json",
|
|
4456
|
-
serializer: serializer$1,
|
|
4457
|
-
};
|
|
4458
|
-
const deleteOperationSpec = {
|
|
4459
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}",
|
|
4460
|
-
httpMethod: "DELETE",
|
|
4461
|
-
responses: {
|
|
4462
|
-
200: {},
|
|
4463
|
-
204: {},
|
|
4464
|
-
default: {
|
|
4465
|
-
bodyMapper: CloudError,
|
|
4466
|
-
},
|
|
4467
|
-
},
|
|
4468
|
-
queryParameters: [apiVersion],
|
|
4469
|
-
urlParameters: [
|
|
4470
|
-
$host,
|
|
4471
|
-
subscriptionId,
|
|
4472
|
-
resourceGroupName,
|
|
4473
|
-
containerGroupProfileName,
|
|
4474
|
-
],
|
|
4475
|
-
headerParameters: [accept],
|
|
4476
|
-
serializer: serializer$1,
|
|
4477
|
-
};
|
|
4478
|
-
const listNextOperationSpec = {
|
|
4479
|
-
path: "{nextLink}",
|
|
4480
|
-
httpMethod: "GET",
|
|
4481
|
-
responses: {
|
|
4482
|
-
200: {
|
|
4483
|
-
bodyMapper: ContainerGroupProfileListResult,
|
|
4484
|
-
},
|
|
4485
|
-
default: {
|
|
4486
|
-
bodyMapper: CloudError,
|
|
4487
|
-
},
|
|
4488
|
-
},
|
|
4489
|
-
urlParameters: [
|
|
4490
|
-
$host,
|
|
4491
|
-
subscriptionId,
|
|
4492
|
-
nextLink,
|
|
4493
|
-
],
|
|
4494
|
-
headerParameters: [accept],
|
|
4495
|
-
serializer: serializer$1,
|
|
4496
|
-
};
|
|
4497
|
-
const listByResourceGroupNextOperationSpec = {
|
|
4498
|
-
path: "{nextLink}",
|
|
4499
|
-
httpMethod: "GET",
|
|
4500
|
-
responses: {
|
|
4501
|
-
200: {
|
|
4502
|
-
bodyMapper: ContainerGroupProfileListResult,
|
|
4503
|
-
},
|
|
4504
|
-
default: {
|
|
4505
|
-
bodyMapper: CloudError,
|
|
4506
|
-
},
|
|
4507
|
-
},
|
|
4508
|
-
urlParameters: [
|
|
4509
|
-
$host,
|
|
4510
|
-
subscriptionId,
|
|
4511
|
-
resourceGroupName,
|
|
4512
|
-
nextLink,
|
|
4513
|
-
],
|
|
4514
|
-
headerParameters: [accept],
|
|
4515
|
-
serializer: serializer$1,
|
|
4516
|
-
};
|
|
4517
|
-
|
|
4518
|
-
/*
|
|
4519
|
-
* Copyright (c) Microsoft Corporation.
|
|
4520
|
-
* Licensed under the MIT License.
|
|
4521
|
-
*
|
|
4522
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4523
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4524
|
-
*/
|
|
4525
|
-
/// <reference lib="esnext.asynciterable" />
|
|
4526
|
-
/** Class containing ContainerGroupProfileOperations operations. */
|
|
4527
|
-
class ContainerGroupProfileOperationsImpl {
|
|
4528
|
-
/**
|
|
4529
|
-
* Initialize a new instance of the class ContainerGroupProfileOperations class.
|
|
4530
|
-
* @param client Reference to the service client
|
|
4531
|
-
*/
|
|
4532
|
-
constructor(client) {
|
|
4533
|
-
this.client = client;
|
|
4534
|
-
}
|
|
4535
|
-
/**
|
|
4536
|
-
* Get a list of all the revisions of the specified container group profile in the given subscription
|
|
4537
|
-
* and resource group. This operation returns properties of each revision of the specified container
|
|
4538
|
-
* group profile including containers, image registry credentials, restart policy, IP address type, OS
|
|
4539
|
-
* type volumes, revision number, etc.
|
|
4540
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4541
|
-
* @param containerGroupProfileName The name of the container group profile.
|
|
4542
|
-
* @param options The options parameters.
|
|
4543
|
-
*/
|
|
4544
|
-
listAllRevisions(resourceGroupName, containerGroupProfileName, options) {
|
|
4545
|
-
const iter = this.listAllRevisionsPagingAll(resourceGroupName, containerGroupProfileName, options);
|
|
4546
|
-
return {
|
|
4547
|
-
next() {
|
|
4548
|
-
return iter.next();
|
|
4549
|
-
},
|
|
4550
|
-
[Symbol.asyncIterator]() {
|
|
4551
|
-
return this;
|
|
4552
|
-
},
|
|
4553
|
-
byPage: (settings) => {
|
|
4554
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4555
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
4556
|
-
}
|
|
4557
|
-
return this.listAllRevisionsPagingPage(resourceGroupName, containerGroupProfileName, options, settings);
|
|
4558
|
-
},
|
|
4559
|
-
};
|
|
4560
|
-
}
|
|
4561
|
-
listAllRevisionsPagingPage(resourceGroupName, containerGroupProfileName, options, settings) {
|
|
4562
|
-
return tslib.__asyncGenerator(this, arguments, function* listAllRevisionsPagingPage_1() {
|
|
4563
|
-
let result;
|
|
4564
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4565
|
-
if (!continuationToken) {
|
|
4566
|
-
result = yield tslib.__await(this._listAllRevisions(resourceGroupName, containerGroupProfileName, options));
|
|
4567
|
-
let page = result.value || [];
|
|
4568
|
-
continuationToken = result.nextLink;
|
|
4569
|
-
setContinuationToken(page, continuationToken);
|
|
4570
|
-
yield yield tslib.__await(page);
|
|
4571
|
-
}
|
|
4572
|
-
while (continuationToken) {
|
|
4573
|
-
result = yield tslib.__await(this._listAllRevisionsNext(resourceGroupName, containerGroupProfileName, continuationToken, options));
|
|
4574
|
-
continuationToken = result.nextLink;
|
|
4575
|
-
let page = result.value || [];
|
|
4576
|
-
setContinuationToken(page, continuationToken);
|
|
4577
|
-
yield yield tslib.__await(page);
|
|
4578
|
-
}
|
|
4579
|
-
});
|
|
4580
|
-
}
|
|
4581
|
-
listAllRevisionsPagingAll(resourceGroupName, containerGroupProfileName, options) {
|
|
4582
|
-
return tslib.__asyncGenerator(this, arguments, function* listAllRevisionsPagingAll_1() {
|
|
4583
|
-
var _a, e_1, _b, _c;
|
|
4584
|
-
try {
|
|
4585
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listAllRevisionsPagingPage(resourceGroupName, containerGroupProfileName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
4586
|
-
_c = _f.value;
|
|
4587
|
-
_d = false;
|
|
4588
|
-
const page = _c;
|
|
4589
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4590
|
-
}
|
|
4591
|
-
}
|
|
4592
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
4593
|
-
finally {
|
|
4594
|
-
try {
|
|
4595
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
4596
|
-
}
|
|
4597
|
-
finally { if (e_1) throw e_1.error; }
|
|
4598
|
-
}
|
|
4599
|
-
});
|
|
4600
|
-
}
|
|
4601
|
-
/**
|
|
4602
|
-
* Get a list of all the revisions of the specified container group profile in the given subscription
|
|
4603
|
-
* and resource group. This operation returns properties of each revision of the specified container
|
|
4604
|
-
* group profile including containers, image registry credentials, restart policy, IP address type, OS
|
|
4605
|
-
* type volumes, revision number, etc.
|
|
4606
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4607
|
-
* @param containerGroupProfileName The name of the container group profile.
|
|
4608
|
-
* @param options The options parameters.
|
|
4609
|
-
*/
|
|
4610
|
-
_listAllRevisions(resourceGroupName, containerGroupProfileName, options) {
|
|
4611
|
-
return this.client.sendOperationRequest({ resourceGroupName, containerGroupProfileName, options }, listAllRevisionsOperationSpec);
|
|
4612
|
-
}
|
|
4613
|
-
/**
|
|
4614
|
-
* Gets the properties of the specified revision of the container group profile in the given
|
|
4615
|
-
* subscription and resource group. The operation returns the properties of container group profile
|
|
4616
|
-
* including containers, image registry credentials, restart policy, IP address type, OS type, volumes,
|
|
4617
|
-
* current revision number, etc.
|
|
4618
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4619
|
-
* @param containerGroupProfileName The name of the container group profile.
|
|
4620
|
-
* @param revisionNumber The revision number of the container group profile.
|
|
4621
|
-
* @param options The options parameters.
|
|
4622
|
-
*/
|
|
4623
|
-
getByRevisionNumber(resourceGroupName, containerGroupProfileName, revisionNumber, options) {
|
|
4624
|
-
return this.client.sendOperationRequest({ resourceGroupName, containerGroupProfileName, revisionNumber, options }, getByRevisionNumberOperationSpec);
|
|
4625
|
-
}
|
|
4626
|
-
/**
|
|
4627
|
-
* ListAllRevisionsNext
|
|
4628
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
4629
|
-
* @param containerGroupProfileName The name of the container group profile.
|
|
4630
|
-
* @param nextLink The nextLink from the previous successful call to the ListAllRevisions method.
|
|
4631
|
-
* @param options The options parameters.
|
|
4632
|
-
*/
|
|
4633
|
-
_listAllRevisionsNext(resourceGroupName, containerGroupProfileName, nextLink, options) {
|
|
4634
|
-
return this.client.sendOperationRequest({ resourceGroupName, containerGroupProfileName, nextLink, options }, listAllRevisionsNextOperationSpec);
|
|
4635
|
-
}
|
|
4636
|
-
}
|
|
4637
|
-
// Operation Specifications
|
|
4638
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4639
|
-
const listAllRevisionsOperationSpec = {
|
|
4640
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions",
|
|
4641
|
-
httpMethod: "GET",
|
|
4642
|
-
responses: {
|
|
4643
|
-
200: {
|
|
4644
|
-
bodyMapper: ContainerGroupProfileListResult,
|
|
4645
|
-
},
|
|
4646
|
-
default: {
|
|
4647
|
-
bodyMapper: CloudError,
|
|
4648
|
-
},
|
|
4649
|
-
},
|
|
4650
|
-
queryParameters: [apiVersion],
|
|
4651
|
-
urlParameters: [
|
|
4652
|
-
$host,
|
|
4653
|
-
subscriptionId,
|
|
4654
|
-
resourceGroupName,
|
|
4655
|
-
containerGroupProfileName,
|
|
4656
|
-
],
|
|
4657
|
-
headerParameters: [accept],
|
|
4658
|
-
serializer,
|
|
4659
|
-
};
|
|
4660
|
-
const getByRevisionNumberOperationSpec = {
|
|
4661
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions/{revisionNumber}",
|
|
4662
|
-
httpMethod: "GET",
|
|
4663
|
-
responses: {
|
|
4664
|
-
200: {
|
|
4665
|
-
bodyMapper: ContainerGroupProfile,
|
|
4666
|
-
},
|
|
4667
|
-
default: {
|
|
4668
|
-
bodyMapper: CloudError,
|
|
4669
|
-
},
|
|
4670
|
-
},
|
|
4671
|
-
queryParameters: [apiVersion],
|
|
4672
|
-
urlParameters: [
|
|
4673
|
-
$host,
|
|
4674
|
-
subscriptionId,
|
|
4675
|
-
resourceGroupName,
|
|
4676
|
-
containerGroupProfileName,
|
|
4677
|
-
revisionNumber,
|
|
4678
|
-
],
|
|
4679
|
-
headerParameters: [accept],
|
|
4680
|
-
serializer,
|
|
4681
|
-
};
|
|
4682
|
-
const listAllRevisionsNextOperationSpec = {
|
|
4683
|
-
path: "{nextLink}",
|
|
4684
|
-
httpMethod: "GET",
|
|
4685
|
-
responses: {
|
|
4686
|
-
200: {
|
|
4687
|
-
bodyMapper: ContainerGroupProfileListResult,
|
|
4688
|
-
},
|
|
4689
|
-
default: {
|
|
4690
|
-
bodyMapper: CloudError,
|
|
4691
|
-
},
|
|
4692
|
-
},
|
|
4693
|
-
urlParameters: [
|
|
4694
|
-
$host,
|
|
4695
|
-
subscriptionId,
|
|
4696
|
-
resourceGroupName,
|
|
4697
|
-
nextLink,
|
|
4698
|
-
containerGroupProfileName,
|
|
4699
|
-
],
|
|
4700
|
-
headerParameters: [accept],
|
|
4701
|
-
serializer,
|
|
4702
|
-
};
|
|
4703
|
-
|
|
4704
|
-
/*
|
|
4705
|
-
* Copyright (c) Microsoft Corporation.
|
|
4706
|
-
* Licensed under the MIT License.
|
|
4707
|
-
*
|
|
4708
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4709
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4710
|
-
*/
|
|
4711
|
-
class ContainerInstanceManagementClient extends coreClient__namespace.ServiceClient {
|
|
4712
|
-
/**
|
|
4713
|
-
* Initializes a new instance of the ContainerInstanceManagementClient class.
|
|
4714
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
4715
|
-
* @param subscriptionId The ID of the target subscription. The value must be an UUID.
|
|
4716
|
-
* @param options The parameter options
|
|
4717
|
-
*/
|
|
4718
|
-
constructor(credentials, subscriptionId, options) {
|
|
4719
|
-
var _a, _b, _c;
|
|
4720
|
-
if (credentials === undefined) {
|
|
4721
|
-
throw new Error("'credentials' cannot be null");
|
|
4722
|
-
}
|
|
4723
|
-
if (subscriptionId === undefined) {
|
|
4724
|
-
throw new Error("'subscriptionId' cannot be null");
|
|
4725
|
-
}
|
|
4726
|
-
// Initializing default values for options
|
|
4727
|
-
if (!options) {
|
|
4728
|
-
options = {};
|
|
4729
|
-
}
|
|
4730
|
-
const defaults = {
|
|
4731
|
-
requestContentType: "application/json; charset=utf-8",
|
|
4732
|
-
credential: credentials,
|
|
4733
|
-
};
|
|
4734
|
-
const packageDetails = `azsdk-js-arm-containerinstance/9.2.0-beta.1`;
|
|
4735
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
4736
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
4737
|
-
: `${packageDetails}`;
|
|
4738
|
-
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
4739
|
-
userAgentPrefix,
|
|
4740
|
-
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
4741
|
-
super(optionsWithDefaults);
|
|
4742
|
-
let bearerTokenAuthenticationPolicyFound = false;
|
|
4743
|
-
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
4744
|
-
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
4745
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
4746
|
-
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
4747
|
-
}
|
|
4748
|
-
if (!options ||
|
|
4749
|
-
!options.pipeline ||
|
|
4750
|
-
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
4751
|
-
!bearerTokenAuthenticationPolicyFound) {
|
|
4752
|
-
this.pipeline.removePolicy({
|
|
4753
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName,
|
|
4754
|
-
});
|
|
4755
|
-
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
4756
|
-
credential: credentials,
|
|
4757
|
-
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
4758
|
-
challengeCallbacks: {
|
|
4759
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge,
|
|
4760
|
-
},
|
|
4761
|
-
}));
|
|
4762
|
-
}
|
|
4763
|
-
// Parameter assignments
|
|
4764
|
-
this.subscriptionId = subscriptionId;
|
|
4765
|
-
// Assigning values to Constant parameters
|
|
4766
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
4767
|
-
this.apiVersion = options.apiVersion || "2024-05-01-preview";
|
|
4768
|
-
this.containerGroups = new ContainerGroupsImpl(this);
|
|
4769
|
-
this.operations = new OperationsImpl(this);
|
|
4770
|
-
this.location = new LocationImpl(this);
|
|
4771
|
-
this.containers = new ContainersImpl(this);
|
|
4772
|
-
this.subnetServiceAssociationLink = new SubnetServiceAssociationLinkImpl(this);
|
|
4773
|
-
this.containerGroupProfiles = new ContainerGroupProfilesImpl(this);
|
|
4774
|
-
this.containerGroupProfileOperations =
|
|
4775
|
-
new ContainerGroupProfileOperationsImpl(this);
|
|
4776
|
-
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
4777
|
-
}
|
|
4778
|
-
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
4779
|
-
addCustomApiVersionPolicy(apiVersion) {
|
|
4780
|
-
if (!apiVersion) {
|
|
4781
|
-
return;
|
|
4782
|
-
}
|
|
4783
|
-
const apiVersionPolicy = {
|
|
4784
|
-
name: "CustomApiVersionPolicy",
|
|
4785
|
-
sendRequest(request, next) {
|
|
4786
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4787
|
-
const param = request.url.split("?");
|
|
4788
|
-
if (param.length > 1) {
|
|
4789
|
-
const newParams = param[1].split("&").map((item) => {
|
|
4790
|
-
if (item.indexOf("api-version") > -1) {
|
|
4791
|
-
return "api-version=" + apiVersion;
|
|
4792
|
-
}
|
|
4793
|
-
else {
|
|
4794
|
-
return item;
|
|
4795
|
-
}
|
|
4796
|
-
});
|
|
4797
|
-
request.url = param[0] + "?" + newParams.join("&");
|
|
4798
|
-
}
|
|
4799
|
-
return next(request);
|
|
4800
|
-
});
|
|
4801
|
-
},
|
|
4802
|
-
};
|
|
4803
|
-
this.pipeline.addPolicy(apiVersionPolicy);
|
|
4804
|
-
}
|
|
4805
|
-
}
|
|
4806
|
-
|
|
4807
|
-
exports.ContainerInstanceManagementClient = ContainerInstanceManagementClient;
|
|
4808
|
-
exports.getContinuationToken = getContinuationToken;
|
|
4809
|
-
//# sourceMappingURL=index.js.map
|