@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
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { ContainerInstanceManagementClient } from "@azure/arm-containerinstance";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to Get a list of container group profiles in the specified subscription. This operation returns properties of each container group profile including containers, image registry credentials, restart policy, IP address type, OS type,volumes,current revision number, etc.
|
|
17
|
-
*
|
|
18
|
-
* @summary Get a list of container group profiles in the specified subscription. This operation returns properties of each container group profile including containers, image registry credentials, restart policy, IP address type, OS type,volumes,current revision number, etc.
|
|
19
|
-
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfilesList.json
|
|
20
|
-
*/
|
|
21
|
-
function containerGroupProfilesList() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
var _a, e_1, _b, _c;
|
|
24
|
-
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
25
|
-
"00000000-0000-0000-0000-000000000000";
|
|
26
|
-
const credential = new DefaultAzureCredential();
|
|
27
|
-
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
28
|
-
const resArray = new Array();
|
|
29
|
-
try {
|
|
30
|
-
for (var _d = true, _e = __asyncValues(client.containerGroupProfiles.list()), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
31
|
-
_c = _f.value;
|
|
32
|
-
_d = false;
|
|
33
|
-
let item = _c;
|
|
34
|
-
resArray.push(item);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
38
|
-
finally {
|
|
39
|
-
try {
|
|
40
|
-
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
41
|
-
}
|
|
42
|
-
finally { if (e_1) throw e_1.error; }
|
|
43
|
-
}
|
|
44
|
-
console.log(resArray);
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
function main() {
|
|
48
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
49
|
-
containerGroupProfilesList();
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
main().catch(console.error);
|
|
53
|
-
//# sourceMappingURL=containerGroupProfilesListSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"containerGroupProfilesListSample.js","sourceRoot":"","sources":["../../samples-dev/containerGroupProfilesListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,0BAA0B;;;QACvC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,sBAAsB,CAAC,IAAI,EAAE,CAAA,IAAA,sDAAE,CAAC;gBAAvC,cAAoC;gBAApC,WAAoC;gBAAhD,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACtB,CAAC;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"containerGroupProfilesPatchSample.d.ts","sourceRoot":"","sources":["../../samples-dev/containerGroupProfilesPatchSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { ContainerInstanceManagementClient, } from "@azure/arm-containerinstance";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to Patches container group profile with specified properties.
|
|
17
|
-
*
|
|
18
|
-
* @summary Patches container group profile with specified properties.
|
|
19
|
-
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupProfilesPatch.json
|
|
20
|
-
*/
|
|
21
|
-
function containerGroupProfilesPatch() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"00000000-0000-0000-0000-000000000000";
|
|
25
|
-
const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demoResource";
|
|
26
|
-
const containerGroupProfileName = "demo1";
|
|
27
|
-
const properties = {
|
|
28
|
-
tags: { tag1key: "tag1Value", tag2key: "tag2Value" },
|
|
29
|
-
};
|
|
30
|
-
const credential = new DefaultAzureCredential();
|
|
31
|
-
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
32
|
-
const result = yield client.containerGroupProfiles.patch(resourceGroupName, containerGroupProfileName, properties);
|
|
33
|
-
console.log(result);
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
function main() {
|
|
37
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
38
|
-
containerGroupProfilesPatch();
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
main().catch(console.error);
|
|
42
|
-
//# sourceMappingURL=containerGroupProfilesPatchSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"containerGroupProfilesPatchSample.js","sourceRoot":"","sources":["../../samples-dev/containerGroupProfilesPatchSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,iCAAiC,GAClC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,2BAA2B;;QACxC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,cAAc,CAAC;QACpE,MAAM,yBAAyB,GAAG,OAAO,CAAC;QAC1C,MAAM,UAAU,GAA+B;YAC7C,IAAI,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,WAAW,EAAE;SACrD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,KAAK,CACtD,iBAAiB,EACjB,yBAAyB,EACzB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,2BAA2B,EAAE,CAAC;IAChC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"containerGroupsCreateOrUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/containerGroupsCreateOrUpdateSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,320 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { ContainerInstanceManagementClient, } from "@azure/arm-containerinstance";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to Create or update container groups with specified configurations.
|
|
17
|
-
*
|
|
18
|
-
* @summary Create or update container groups with specified configurations.
|
|
19
|
-
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupCreateConfidential.json
|
|
20
|
-
*/
|
|
21
|
-
function confidentialContainerGroup() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"00000000-0000-0000-0000-000000000000";
|
|
25
|
-
const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
|
|
26
|
-
const containerGroupName = "demo1";
|
|
27
|
-
const containerGroup = {
|
|
28
|
-
confidentialComputeProperties: {
|
|
29
|
-
ccePolicy: "eyJhbGxvd19hbGwiOiB0cnVlLCAiY29udGFpbmVycyI6IHsibGVuZ3RoIjogMCwgImVsZW1lbnRzIjogbnVsbH19",
|
|
30
|
-
},
|
|
31
|
-
containers: [
|
|
32
|
-
{
|
|
33
|
-
name: "accdemo",
|
|
34
|
-
command: [],
|
|
35
|
-
environmentVariables: [],
|
|
36
|
-
image: "confiimage",
|
|
37
|
-
ports: [{ port: 8000 }],
|
|
38
|
-
resources: { requests: { cpu: 1, memoryInGB: 1.5 } },
|
|
39
|
-
securityContext: {
|
|
40
|
-
capabilities: { add: ["CAP_NET_ADMIN"] },
|
|
41
|
-
privileged: false,
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
|
-
imageRegistryCredentials: [],
|
|
46
|
-
ipAddress: { type: "Public", ports: [{ port: 8000, protocol: "TCP" }] },
|
|
47
|
-
location: "westeurope",
|
|
48
|
-
osType: "Linux",
|
|
49
|
-
sku: "Confidential",
|
|
50
|
-
};
|
|
51
|
-
const credential = new DefaultAzureCredential();
|
|
52
|
-
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
53
|
-
const result = yield client.containerGroups.beginCreateOrUpdateAndWait(resourceGroupName, containerGroupName, containerGroup);
|
|
54
|
-
console.log(result);
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* This sample demonstrates how to Create or update container groups with specified configurations.
|
|
59
|
-
*
|
|
60
|
-
* @summary Create or update container groups with specified configurations.
|
|
61
|
-
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupCreateOrUpdateStandbyPool.json
|
|
62
|
-
*/
|
|
63
|
-
function containerGroupCreateOrUpdateWithStandbyPool() {
|
|
64
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
65
|
-
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
66
|
-
"00000000-0000-0000-0000-000000000000";
|
|
67
|
-
const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
|
|
68
|
-
const containerGroupName = "demo1";
|
|
69
|
-
const containerGroup = {
|
|
70
|
-
containerGroupProfile: {
|
|
71
|
-
id: "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.ContainerInstance/containerGroupProfiles/democgp",
|
|
72
|
-
revision: 1,
|
|
73
|
-
},
|
|
74
|
-
containers: [
|
|
75
|
-
{ name: "demo1", configMap: { keyValuePairs: { newkey: "value" } } },
|
|
76
|
-
],
|
|
77
|
-
location: "west us",
|
|
78
|
-
standbyPoolProfile: {
|
|
79
|
-
id: "/subscriptions/subid/resourceGroups/demo/providers/Microsoft.StandbyPool/standbyContainerGroupPools/demopool",
|
|
80
|
-
},
|
|
81
|
-
};
|
|
82
|
-
const credential = new DefaultAzureCredential();
|
|
83
|
-
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
84
|
-
const result = yield client.containerGroups.beginCreateOrUpdateAndWait(resourceGroupName, containerGroupName, containerGroup);
|
|
85
|
-
console.log(result);
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* This sample demonstrates how to Create or update container groups with specified configurations.
|
|
90
|
-
*
|
|
91
|
-
* @summary Create or update container groups with specified configurations.
|
|
92
|
-
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupExtensions.json
|
|
93
|
-
*/
|
|
94
|
-
function containerGroupCreateWithExtensions() {
|
|
95
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
96
|
-
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
97
|
-
"00000000-0000-0000-0000-000000000000";
|
|
98
|
-
const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
|
|
99
|
-
const containerGroupName = "demo1";
|
|
100
|
-
const containerGroup = {
|
|
101
|
-
containers: [
|
|
102
|
-
{
|
|
103
|
-
name: "demo1",
|
|
104
|
-
command: [],
|
|
105
|
-
environmentVariables: [],
|
|
106
|
-
image: "nginx",
|
|
107
|
-
ports: [{ port: 80 }],
|
|
108
|
-
resources: { requests: { cpu: 1, memoryInGB: 1.5 } },
|
|
109
|
-
},
|
|
110
|
-
],
|
|
111
|
-
imageRegistryCredentials: [],
|
|
112
|
-
ipAddress: { type: "Private", ports: [{ port: 80, protocol: "TCP" }] },
|
|
113
|
-
location: "eastus2",
|
|
114
|
-
osType: "Linux",
|
|
115
|
-
subnetIds: [
|
|
116
|
-
{
|
|
117
|
-
id: "/subscriptions/00000000-0000-0000-0000-00000000/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-rg-vnet/subnets/test-subnet",
|
|
118
|
-
},
|
|
119
|
-
],
|
|
120
|
-
extensions: [
|
|
121
|
-
{
|
|
122
|
-
name: "kube-proxy",
|
|
123
|
-
extensionType: "kube-proxy",
|
|
124
|
-
protectedSettings: { kubeConfig: "<kubeconfig encoded string>" },
|
|
125
|
-
settings: { clusterCidr: "10.240.0.0/16", kubeVersion: "v1.9.10" },
|
|
126
|
-
version: "1.0",
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
name: "vk-realtime-metrics",
|
|
130
|
-
extensionType: "realtime-metrics",
|
|
131
|
-
version: "1.0",
|
|
132
|
-
},
|
|
133
|
-
],
|
|
134
|
-
};
|
|
135
|
-
const credential = new DefaultAzureCredential();
|
|
136
|
-
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
137
|
-
const result = yield client.containerGroups.beginCreateOrUpdateAndWait(resourceGroupName, containerGroupName, containerGroup);
|
|
138
|
-
console.log(result);
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
/**
|
|
142
|
-
* This sample demonstrates how to Create or update container groups with specified configurations.
|
|
143
|
-
*
|
|
144
|
-
* @summary Create or update container groups with specified configurations.
|
|
145
|
-
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupEncryptionProperties.json
|
|
146
|
-
*/
|
|
147
|
-
function containerGroupWithEncryptionProperties() {
|
|
148
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
149
|
-
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
150
|
-
"00000000-0000-0000-0000-000000000000";
|
|
151
|
-
const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
|
|
152
|
-
const containerGroupName = "demo1";
|
|
153
|
-
const containerGroup = {
|
|
154
|
-
containers: [
|
|
155
|
-
{
|
|
156
|
-
name: "demo1",
|
|
157
|
-
command: [],
|
|
158
|
-
environmentVariables: [],
|
|
159
|
-
image: "nginx",
|
|
160
|
-
ports: [{ port: 80 }],
|
|
161
|
-
resources: { requests: { cpu: 1, memoryInGB: 1.5 } },
|
|
162
|
-
},
|
|
163
|
-
],
|
|
164
|
-
encryptionProperties: {
|
|
165
|
-
identity: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/container-group-identity",
|
|
166
|
-
keyName: "test-key",
|
|
167
|
-
keyVersion: "<key version>",
|
|
168
|
-
vaultBaseUrl: "https://testkeyvault.vault.azure.net",
|
|
169
|
-
},
|
|
170
|
-
identity: {
|
|
171
|
-
type: "UserAssigned",
|
|
172
|
-
userAssignedIdentities: {
|
|
173
|
-
"/subscriptions/00000000000000000000000000000000/resourcegroups/testRg/providers/MicrosoftManagedIdentity/userAssignedIdentities/containerGroupIdentity": {},
|
|
174
|
-
},
|
|
175
|
-
},
|
|
176
|
-
imageRegistryCredentials: [],
|
|
177
|
-
ipAddress: { type: "Public", ports: [{ port: 80, protocol: "TCP" }] },
|
|
178
|
-
location: "eastus2",
|
|
179
|
-
osType: "Linux",
|
|
180
|
-
};
|
|
181
|
-
const credential = new DefaultAzureCredential();
|
|
182
|
-
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
183
|
-
const result = yield client.containerGroups.beginCreateOrUpdateAndWait(resourceGroupName, containerGroupName, containerGroup);
|
|
184
|
-
console.log(result);
|
|
185
|
-
});
|
|
186
|
-
}
|
|
187
|
-
/**
|
|
188
|
-
* This sample demonstrates how to Create or update container groups with specified configurations.
|
|
189
|
-
*
|
|
190
|
-
* @summary Create or update container groups with specified configurations.
|
|
191
|
-
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsCreateOrUpdate.json
|
|
192
|
-
*/
|
|
193
|
-
function containerGroupsCreateOrUpdate() {
|
|
194
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
195
|
-
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
196
|
-
"00000000-0000-0000-0000-000000000000";
|
|
197
|
-
const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
|
|
198
|
-
const containerGroupName = "demo1";
|
|
199
|
-
const containerGroup = {
|
|
200
|
-
containers: [
|
|
201
|
-
{
|
|
202
|
-
name: "demo1",
|
|
203
|
-
command: [],
|
|
204
|
-
environmentVariables: [],
|
|
205
|
-
image: "nginx",
|
|
206
|
-
ports: [{ port: 80 }],
|
|
207
|
-
resources: {
|
|
208
|
-
requests: { cpu: 1, gpu: { count: 1, sku: "K80" }, memoryInGB: 1.5 },
|
|
209
|
-
},
|
|
210
|
-
volumeMounts: [
|
|
211
|
-
{ name: "volume1", mountPath: "/mnt/volume1", readOnly: false },
|
|
212
|
-
{ name: "volume2", mountPath: "/mnt/volume2", readOnly: false },
|
|
213
|
-
{ name: "volume3", mountPath: "/mnt/volume3", readOnly: true },
|
|
214
|
-
],
|
|
215
|
-
},
|
|
216
|
-
],
|
|
217
|
-
diagnostics: {
|
|
218
|
-
logAnalytics: {
|
|
219
|
-
logType: "ContainerInsights",
|
|
220
|
-
metadata: { testKey: "test-metadata-value" },
|
|
221
|
-
workspaceId: "workspaceid",
|
|
222
|
-
workspaceKey: "workspaceKey",
|
|
223
|
-
workspaceResourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg/providers/microsoft.operationalinsights/workspaces/workspace",
|
|
224
|
-
},
|
|
225
|
-
},
|
|
226
|
-
dnsConfig: {
|
|
227
|
-
nameServers: ["1.1.1.1"],
|
|
228
|
-
options: "ndots:2",
|
|
229
|
-
searchDomains: "cluster.local svc.cluster.local",
|
|
230
|
-
},
|
|
231
|
-
identity: {
|
|
232
|
-
type: "SystemAssigned, UserAssigned",
|
|
233
|
-
userAssignedIdentities: {
|
|
234
|
-
"/subscriptions/00000000000000000000000000000000/resourceGroups/myResourceGroup/providers/MicrosoftManagedIdentity/userAssignedIdentities/identityName": {},
|
|
235
|
-
},
|
|
236
|
-
},
|
|
237
|
-
imageRegistryCredentials: [],
|
|
238
|
-
ipAddress: {
|
|
239
|
-
type: "Public",
|
|
240
|
-
autoGeneratedDomainNameLabelScope: "Unsecure",
|
|
241
|
-
dnsNameLabel: "dnsnamelabel1",
|
|
242
|
-
ports: [{ port: 80, protocol: "TCP" }],
|
|
243
|
-
},
|
|
244
|
-
location: "west us",
|
|
245
|
-
osType: "Linux",
|
|
246
|
-
subnetIds: [
|
|
247
|
-
{
|
|
248
|
-
id: "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('vnetName'), parameters('subnetName'))]",
|
|
249
|
-
},
|
|
250
|
-
],
|
|
251
|
-
volumes: [
|
|
252
|
-
{
|
|
253
|
-
name: "volume1",
|
|
254
|
-
azureFile: {
|
|
255
|
-
shareName: "shareName",
|
|
256
|
-
storageAccountKey: "accountKey",
|
|
257
|
-
storageAccountName: "accountName",
|
|
258
|
-
},
|
|
259
|
-
},
|
|
260
|
-
{ name: "volume2", emptyDir: {} },
|
|
261
|
-
{
|
|
262
|
-
name: "volume3",
|
|
263
|
-
secret: {
|
|
264
|
-
secretKey1: "SecretValue1InBase64",
|
|
265
|
-
secretKey2: "SecretValue2InBase64",
|
|
266
|
-
},
|
|
267
|
-
},
|
|
268
|
-
],
|
|
269
|
-
};
|
|
270
|
-
const credential = new DefaultAzureCredential();
|
|
271
|
-
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
272
|
-
const result = yield client.containerGroups.beginCreateOrUpdateAndWait(resourceGroupName, containerGroupName, containerGroup);
|
|
273
|
-
console.log(result);
|
|
274
|
-
});
|
|
275
|
-
}
|
|
276
|
-
/**
|
|
277
|
-
* This sample demonstrates how to Create or update container groups with specified configurations.
|
|
278
|
-
*
|
|
279
|
-
* @summary Create or update container groups with specified configurations.
|
|
280
|
-
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsCreatePriority.json
|
|
281
|
-
*/
|
|
282
|
-
function containerGroupsCreateWithPriority() {
|
|
283
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
284
|
-
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
285
|
-
"00000000-0000-0000-0000-000000000000";
|
|
286
|
-
const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
|
|
287
|
-
const containerGroupName = "demo1";
|
|
288
|
-
const containerGroup = {
|
|
289
|
-
containers: [
|
|
290
|
-
{
|
|
291
|
-
name: "test-container-001",
|
|
292
|
-
command: ["/bin/sh", "-c", "sleep 10"],
|
|
293
|
-
image: "alpine:latest",
|
|
294
|
-
resources: { requests: { cpu: 1, memoryInGB: 1 } },
|
|
295
|
-
},
|
|
296
|
-
],
|
|
297
|
-
location: "eastus",
|
|
298
|
-
osType: "Linux",
|
|
299
|
-
priority: "Spot",
|
|
300
|
-
restartPolicy: "Never",
|
|
301
|
-
sku: "Standard",
|
|
302
|
-
};
|
|
303
|
-
const credential = new DefaultAzureCredential();
|
|
304
|
-
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
305
|
-
const result = yield client.containerGroups.beginCreateOrUpdateAndWait(resourceGroupName, containerGroupName, containerGroup);
|
|
306
|
-
console.log(result);
|
|
307
|
-
});
|
|
308
|
-
}
|
|
309
|
-
function main() {
|
|
310
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
311
|
-
confidentialContainerGroup();
|
|
312
|
-
containerGroupCreateOrUpdateWithStandbyPool();
|
|
313
|
-
containerGroupCreateWithExtensions();
|
|
314
|
-
containerGroupWithEncryptionProperties();
|
|
315
|
-
containerGroupsCreateOrUpdate();
|
|
316
|
-
containerGroupsCreateWithPriority();
|
|
317
|
-
});
|
|
318
|
-
}
|
|
319
|
-
main().catch(console.error);
|
|
320
|
-
//# sourceMappingURL=containerGroupsCreateOrUpdateSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"containerGroupsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/containerGroupsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,iCAAiC,GAClC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,0BAA0B;;QACvC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,MAAM,CAAC;QAC5D,MAAM,kBAAkB,GAAG,OAAO,CAAC;QACnC,MAAM,cAAc,GAAmB;YACrC,6BAA6B,EAAE;gBAC7B,SAAS,EACP,0FAA0F;aAC7F;YACD,UAAU,EAAE;gBACV;oBACE,IAAI,EAAE,SAAS;oBACf,OAAO,EAAE,EAAE;oBACX,oBAAoB,EAAE,EAAE;oBACxB,KAAK,EAAE,YAAY;oBACnB,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;oBACvB,SAAS,EAAE,EAAE,QAAQ,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,UAAU,EAAE,GAAG,EAAE,EAAE;oBACpD,eAAe,EAAE;wBACf,YAAY,EAAE,EAAE,GAAG,EAAE,CAA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MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,0BAA0B,CACpE,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,CACf,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0BAA0B,EAAE,CAAC;QAC7B,2CAA2C,EAAE,CAAC;QAC9C,kCAAkC,EAAE,CAAC;QACrC,sCAAsC,EAAE,CAAC;QACzC,6BAA6B,EAAE,CAAC;QAChC,iCAAiC,EAAE,CAAC;IACtC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"containerGroupsDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/containerGroupsDeleteSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { ContainerInstanceManagementClient } from "@azure/arm-containerinstance";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to Delete the specified container group in the specified subscription and resource group. The operation does not delete other resources provided by the user, such as volumes.
|
|
17
|
-
*
|
|
18
|
-
* @summary Delete the specified container group in the specified subscription and resource group. The operation does not delete other resources provided by the user, such as volumes.
|
|
19
|
-
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsDelete.json
|
|
20
|
-
*/
|
|
21
|
-
function containerGroupsDelete() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"00000000-0000-0000-0000-000000000000";
|
|
25
|
-
const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
|
|
26
|
-
const containerGroupName = "demo1";
|
|
27
|
-
const credential = new DefaultAzureCredential();
|
|
28
|
-
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
29
|
-
const result = yield client.containerGroups.beginDeleteAndWait(resourceGroupName, containerGroupName);
|
|
30
|
-
console.log(result);
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
function main() {
|
|
34
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
-
containerGroupsDelete();
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
main().catch(console.error);
|
|
39
|
-
//# sourceMappingURL=containerGroupsDeleteSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"containerGroupsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/containerGroupsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,qBAAqB;;QAClC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,MAAM,CAAC;QAC5D,MAAM,kBAAkB,GAAG,OAAO,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,kBAAkB,CAC5D,iBAAiB,EACjB,kBAAkB,CACnB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,qBAAqB,EAAE,CAAC;IAC1B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"containerGroupsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/containerGroupsGetSample.ts"],"names":[],"mappings":""}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
|
10
|
-
// Licensed under the MIT License.
|
|
11
|
-
import { ContainerInstanceManagementClient } from "@azure/arm-containerinstance";
|
|
12
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
-
import * as dotenv from "dotenv";
|
|
14
|
-
dotenv.config();
|
|
15
|
-
/**
|
|
16
|
-
* This sample demonstrates how to Gets the properties of the specified container group in the specified subscription and resource group. The operation returns the properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.
|
|
17
|
-
*
|
|
18
|
-
* @summary Gets the properties of the specified container group in the specified subscription and resource group. The operation returns the properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.
|
|
19
|
-
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsGetPriority.json
|
|
20
|
-
*/
|
|
21
|
-
function containerGroupsGetWithPriority() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"00000000-0000-0000-0000-000000000000";
|
|
25
|
-
const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
|
|
26
|
-
const containerGroupName = "demo1";
|
|
27
|
-
const credential = new DefaultAzureCredential();
|
|
28
|
-
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
29
|
-
const result = yield client.containerGroups.get(resourceGroupName, containerGroupName);
|
|
30
|
-
console.log(result);
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* This sample demonstrates how to Gets the properties of the specified container group in the specified subscription and resource group. The operation returns the properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.
|
|
35
|
-
*
|
|
36
|
-
* @summary Gets the properties of the specified container group in the specified subscription and resource group. The operation returns the properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.
|
|
37
|
-
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsGet_Failed.json
|
|
38
|
-
*/
|
|
39
|
-
function containerGroupsGetFailed() {
|
|
40
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
41
|
-
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
42
|
-
"00000000-0000-0000-0000-000000000000";
|
|
43
|
-
const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
|
|
44
|
-
const containerGroupName = "demo1";
|
|
45
|
-
const credential = new DefaultAzureCredential();
|
|
46
|
-
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
47
|
-
const result = yield client.containerGroups.get(resourceGroupName, containerGroupName);
|
|
48
|
-
console.log(result);
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* This sample demonstrates how to Gets the properties of the specified container group in the specified subscription and resource group. The operation returns the properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.
|
|
53
|
-
*
|
|
54
|
-
* @summary Gets the properties of the specified container group in the specified subscription and resource group. The operation returns the properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes.
|
|
55
|
-
* x-ms-original-file: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2024-05-01-preview/examples/ContainerGroupsGet_Succeeded.json
|
|
56
|
-
*/
|
|
57
|
-
function containerGroupsGetSucceeded() {
|
|
58
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
-
const subscriptionId = process.env["CONTAINERINSTANCE_SUBSCRIPTION_ID"] ||
|
|
60
|
-
"00000000-0000-0000-0000-000000000000";
|
|
61
|
-
const resourceGroupName = process.env["CONTAINERINSTANCE_RESOURCE_GROUP"] || "demo";
|
|
62
|
-
const containerGroupName = "demo1";
|
|
63
|
-
const credential = new DefaultAzureCredential();
|
|
64
|
-
const client = new ContainerInstanceManagementClient(credential, subscriptionId);
|
|
65
|
-
const result = yield client.containerGroups.get(resourceGroupName, containerGroupName);
|
|
66
|
-
console.log(result);
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
function main() {
|
|
70
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
71
|
-
containerGroupsGetWithPriority();
|
|
72
|
-
containerGroupsGetFailed();
|
|
73
|
-
containerGroupsGetSucceeded();
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
main().catch(console.error);
|
|
77
|
-
//# sourceMappingURL=containerGroupsGetSample.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"containerGroupsGetSample.js","sourceRoot":"","sources":["../../samples-dev/containerGroupsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,8BAA8B;;QAC3C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,MAAM,CAAC;QAC5D,MAAM,kBAAkB,GAAG,OAAO,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,GAAG,CAC7C,iBAAiB,EACjB,kBAAkB,CACnB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED;;;;;GAKG;AACH,SAAe,wBAAwB;;QACrC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,MAAM,CAAC;QAC5D,MAAM,kBAAkB,GAAG,OAAO,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,GAAG,CAC7C,iBAAiB,EACjB,kBAAkB,CACnB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED;;;;;GAKG;AACH,SAAe,2BAA2B;;QACxC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,mCAAmC,CAAC;YAChD,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,IAAI,MAAM,CAAC;QAC5D,MAAM,kBAAkB,GAAG,OAAO,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,iCAAiC,CAClD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,GAAG,CAC7C,iBAAiB,EACjB,kBAAkB,CACnB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,8BAA8B,EAAE,CAAC;QACjC,wBAAwB,EAAE,CAAC;QAC3B,2BAA2B,EAAE,CAAC;IAChC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"containerGroupsListByResourceGroupSample.d.ts","sourceRoot":"","sources":["../../samples-dev/containerGroupsListByResourceGroupSample.ts"],"names":[],"mappings":""}
|