@azure/arm-containerinstance 9.2.0-beta.1 → 10.0.0-beta.1
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/LICENSE +3 -3
- package/README.md +30 -24
- package/dist/browser/api/cgProfile/index.d.ts +3 -0
- package/dist/browser/api/cgProfile/index.js +4 -0
- package/dist/browser/api/cgProfile/index.js.map +1 -0
- package/dist/browser/api/cgProfile/operations.d.ts +30 -0
- package/dist/browser/api/cgProfile/operations.js +192 -0
- package/dist/browser/api/cgProfile/operations.js.map +1 -0
- package/dist/browser/api/cgProfile/options.d.ts +20 -0
- package/dist/browser/api/cgProfile/options.js +4 -0
- package/dist/browser/api/cgProfile/options.js.map +1 -0
- package/dist/browser/api/cgProfiles/index.d.ts +3 -0
- package/dist/browser/api/cgProfiles/index.js +4 -0
- package/dist/browser/api/cgProfiles/index.js.map +1 -0
- package/dist/browser/api/cgProfiles/operations.d.ts +14 -0
- package/dist/browser/api/cgProfiles/operations.js +70 -0
- package/dist/browser/api/cgProfiles/operations.js.map +1 -0
- package/dist/browser/api/cgProfiles/options.d.ts +8 -0
- package/dist/browser/api/cgProfiles/options.js +4 -0
- package/dist/browser/api/cgProfiles/options.js.map +1 -0
- package/dist/browser/api/containerGroups/index.d.ts +3 -0
- package/dist/browser/api/containerGroups/index.js +4 -0
- package/dist/browser/api/containerGroups/index.js.map +1 -0
- package/dist/browser/api/containerGroups/operations.d.ts +47 -0
- package/dist/browser/api/containerGroups/operations.js +334 -0
- package/dist/browser/api/containerGroups/operations.js.map +1 -0
- package/dist/browser/api/containerGroups/options.d.ts +40 -0
- package/dist/browser/api/containerGroups/options.js +4 -0
- package/dist/browser/api/containerGroups/options.js.map +1 -0
- package/dist/browser/api/containerInstanceManagementContext.d.ts +22 -0
- package/dist/browser/api/containerInstanceManagementContext.js +26 -0
- package/dist/browser/api/containerInstanceManagementContext.js.map +1 -0
- package/dist/browser/api/containers/index.d.ts +3 -0
- package/dist/browser/api/containers/index.js +4 -0
- package/dist/browser/api/containers/index.js.map +1 -0
- package/dist/browser/api/containers/operations.d.ts +17 -0
- package/dist/browser/api/containers/operations.js +103 -0
- package/dist/browser/api/containers/operations.js.map +1 -0
- package/dist/browser/api/containers/options.d.ts +15 -0
- package/dist/browser/api/containers/options.js +4 -0
- package/dist/browser/api/containers/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +3 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/location/index.d.ts +3 -0
- package/dist/browser/api/location/index.js +4 -0
- package/dist/browser/api/location/index.js.map +1 -0
- package/dist/browser/api/location/operations.d.ts +18 -0
- package/dist/browser/api/location/operations.js +103 -0
- package/dist/browser/api/location/operations.js.map +1 -0
- package/dist/browser/api/location/options.d.ts +11 -0
- package/dist/browser/api/location/options.js +4 -0
- package/dist/browser/api/location/options.js.map +1 -0
- package/dist/browser/api/nGroups/index.d.ts +3 -0
- package/dist/browser/api/nGroups/index.js +4 -0
- package/dist/browser/api/nGroups/index.js.map +1 -0
- package/dist/browser/api/nGroups/operations.d.ts +43 -0
- package/dist/browser/api/nGroups/operations.js +298 -0
- package/dist/browser/api/nGroups/operations.js.map +1 -0
- package/dist/browser/api/nGroups/options.d.ts +39 -0
- package/dist/browser/api/nGroups/options.js +4 -0
- package/dist/browser/api/nGroups/options.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +3 -0
- package/dist/browser/api/operations/index.js +4 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/operations/operations.d.ts +10 -0
- package/dist/browser/api/operations/operations.js +37 -0
- package/dist/browser/api/operations/operations.js.map +1 -0
- package/dist/browser/api/operations/options.d.ts +5 -0
- package/dist/browser/api/operations/options.js +4 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/api/sandboxGroups/index.d.ts +3 -0
- package/dist/browser/api/sandboxGroups/index.js +4 -0
- package/dist/browser/api/sandboxGroups/index.js.map +1 -0
- package/dist/browser/api/sandboxGroups/operations.d.ts +35 -0
- package/dist/browser/api/sandboxGroups/operations.js +237 -0
- package/dist/browser/api/sandboxGroups/operations.js.map +1 -0
- package/dist/browser/api/sandboxGroups/options.d.ts +29 -0
- package/dist/browser/api/sandboxGroups/options.js +4 -0
- package/dist/browser/api/sandboxGroups/options.js.map +1 -0
- package/dist/browser/api/subnetServiceAssociationLink/index.d.ts +3 -0
- package/dist/browser/api/subnetServiceAssociationLink/index.js +4 -0
- package/dist/browser/api/subnetServiceAssociationLink/index.js.map +1 -0
- package/dist/browser/api/subnetServiceAssociationLink/operations.d.ts +9 -0
- package/dist/browser/api/subnetServiceAssociationLink/operations.js +40 -0
- package/dist/browser/api/subnetServiceAssociationLink/operations.js.map +1 -0
- package/dist/browser/api/subnetServiceAssociationLink/options.d.ts +7 -0
- package/dist/browser/api/subnetServiceAssociationLink/options.js +4 -0
- package/dist/browser/api/subnetServiceAssociationLink/options.js.map +1 -0
- package/dist/browser/classic/cgProfile/index.d.ts +21 -0
- package/dist/browser/classic/cgProfile/index.js +19 -0
- package/dist/browser/classic/cgProfile/index.js.map +1 -0
- package/dist/browser/classic/cgProfiles/index.d.ts +13 -0
- package/dist/browser/classic/cgProfiles/index.js +15 -0
- package/dist/browser/classic/cgProfiles/index.js.map +1 -0
- package/dist/browser/classic/containerGroups/index.d.ts +47 -0
- package/dist/browser/classic/containerGroups/index.js +56 -0
- package/dist/browser/classic/containerGroups/index.js.map +1 -0
- package/dist/browser/classic/containers/index.d.ts +14 -0
- package/dist/browser/classic/containers/index.js +16 -0
- package/dist/browser/classic/containers/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +10 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/location/index.d.ts +15 -0
- package/dist/browser/classic/location/index.js +16 -0
- package/dist/browser/classic/location/index.js.map +1 -0
- package/dist/browser/classic/nGroups/index.d.ts +49 -0
- package/dist/browser/classic/nGroups/index.js +63 -0
- package/dist/browser/classic/nGroups/index.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +11 -0
- package/dist/browser/classic/operations/index.js +14 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/classic/sandboxGroups/index.d.ts +37 -0
- package/dist/browser/classic/sandboxGroups/index.js +45 -0
- package/dist/browser/classic/sandboxGroups/index.js.map +1 -0
- package/dist/browser/classic/subnetServiceAssociationLink/index.d.ts +15 -0
- package/dist/browser/classic/subnetServiceAssociationLink/index.js +23 -0
- package/dist/browser/classic/subnetServiceAssociationLink/index.js.map +1 -0
- package/dist/browser/containerInstanceManagementClient.d.ts +39 -0
- package/dist/browser/containerInstanceManagementClient.js +65 -0
- package/dist/browser/containerInstanceManagementClient.js.map +1 -0
- package/dist/browser/index.d.ts +25 -0
- package/dist/browser/index.js +9 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +3 -0
- package/dist/browser/models/index.js +4 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/models.d.ts +1906 -0
- package/dist/browser/models/models.js +2594 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.js +118 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/browser/static-helpers/pagingHelpers.js +143 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/browser/static-helpers/pollingHelpers.js +95 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
- package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +200 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/cgProfile/index.d.ts +3 -0
- package/dist/commonjs/api/cgProfile/index.js +38 -0
- package/dist/commonjs/api/cgProfile/index.js.map +7 -0
- package/dist/commonjs/api/cgProfile/operations.d.ts +30 -0
- package/dist/commonjs/api/cgProfile/operations.js +292 -0
- package/dist/commonjs/api/cgProfile/operations.js.map +7 -0
- package/dist/commonjs/api/cgProfile/options.d.ts +20 -0
- package/dist/commonjs/api/cgProfile/options.js +16 -0
- package/dist/commonjs/api/cgProfile/options.js.map +7 -0
- package/dist/commonjs/api/cgProfiles/index.d.ts +3 -0
- package/dist/commonjs/api/cgProfiles/index.js +30 -0
- package/dist/commonjs/api/cgProfiles/index.js.map +7 -0
- package/dist/commonjs/api/cgProfiles/operations.d.ts +14 -0
- package/dist/commonjs/api/cgProfiles/operations.js +122 -0
- package/dist/commonjs/api/cgProfiles/operations.js.map +7 -0
- package/dist/commonjs/api/cgProfiles/options.d.ts +8 -0
- package/dist/commonjs/api/cgProfiles/options.js +16 -0
- package/dist/commonjs/api/cgProfiles/options.js.map +7 -0
- package/dist/commonjs/api/containerGroups/index.d.ts +3 -0
- package/dist/commonjs/api/containerGroups/index.js +46 -0
- package/dist/commonjs/api/containerGroups/index.js.map +7 -0
- package/dist/commonjs/api/containerGroups/operations.d.ts +47 -0
- package/dist/commonjs/api/containerGroups/operations.js +469 -0
- package/dist/commonjs/api/containerGroups/operations.js.map +7 -0
- package/dist/commonjs/api/containerGroups/options.d.ts +40 -0
- package/dist/commonjs/api/containerGroups/options.js +16 -0
- package/dist/commonjs/api/containerGroups/options.js.map +7 -0
- package/dist/commonjs/api/containerInstanceManagementContext.d.ts +22 -0
- package/dist/commonjs/api/containerInstanceManagementContext.js +47 -0
- package/dist/commonjs/api/containerInstanceManagementContext.js.map +7 -0
- package/dist/commonjs/api/containers/index.d.ts +3 -0
- package/dist/commonjs/api/containers/index.js +32 -0
- package/dist/commonjs/api/containers/index.js.map +7 -0
- package/dist/commonjs/api/containers/operations.d.ts +17 -0
- package/dist/commonjs/api/containers/operations.js +171 -0
- package/dist/commonjs/api/containers/operations.js.map +7 -0
- package/dist/commonjs/api/containers/options.d.ts +15 -0
- package/dist/commonjs/api/containers/options.js +16 -0
- package/dist/commonjs/api/containers/options.js.map +7 -0
- package/dist/commonjs/api/index.d.ts +3 -0
- package/dist/commonjs/api/index.js +28 -0
- package/dist/commonjs/api/index.js.map +7 -0
- package/dist/commonjs/api/location/index.d.ts +3 -0
- package/dist/commonjs/api/location/index.js +32 -0
- package/dist/commonjs/api/location/index.js.map +7 -0
- package/dist/commonjs/api/location/operations.d.ts +18 -0
- package/dist/commonjs/api/location/operations.js +170 -0
- package/dist/commonjs/api/location/operations.js.map +7 -0
- package/dist/commonjs/api/location/options.d.ts +11 -0
- package/dist/commonjs/api/location/options.js +16 -0
- package/dist/commonjs/api/location/options.js.map +7 -0
- package/dist/commonjs/api/nGroups/index.d.ts +3 -0
- package/dist/commonjs/api/nGroups/index.js +44 -0
- package/dist/commonjs/api/nGroups/index.js.map +7 -0
- package/dist/commonjs/api/nGroups/operations.d.ts +43 -0
- package/dist/commonjs/api/nGroups/operations.js +413 -0
- package/dist/commonjs/api/nGroups/operations.js.map +7 -0
- package/dist/commonjs/api/nGroups/options.d.ts +39 -0
- package/dist/commonjs/api/nGroups/options.js +16 -0
- package/dist/commonjs/api/nGroups/options.js.map +7 -0
- package/dist/commonjs/api/operations/index.d.ts +3 -0
- package/dist/commonjs/api/operations/index.js +28 -0
- package/dist/commonjs/api/operations/index.js.map +7 -0
- package/dist/commonjs/api/operations/operations.d.ts +10 -0
- package/dist/commonjs/api/operations/operations.js +74 -0
- package/dist/commonjs/api/operations/operations.js.map +7 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/api/operations/options.js +16 -0
- package/dist/commonjs/api/operations/options.js.map +7 -0
- package/dist/commonjs/api/sandboxGroups/index.d.ts +3 -0
- package/dist/commonjs/api/sandboxGroups/index.js +40 -0
- package/dist/commonjs/api/sandboxGroups/index.js.map +7 -0
- package/dist/commonjs/api/sandboxGroups/operations.d.ts +35 -0
- package/dist/commonjs/api/sandboxGroups/operations.js +334 -0
- package/dist/commonjs/api/sandboxGroups/operations.js.map +7 -0
- package/dist/commonjs/api/sandboxGroups/options.d.ts +29 -0
- package/dist/commonjs/api/sandboxGroups/options.js +16 -0
- package/dist/commonjs/api/sandboxGroups/options.js.map +7 -0
- package/dist/commonjs/api/subnetServiceAssociationLink/index.d.ts +3 -0
- package/dist/commonjs/api/subnetServiceAssociationLink/index.js +28 -0
- package/dist/commonjs/api/subnetServiceAssociationLink/index.js.map +7 -0
- package/dist/commonjs/api/subnetServiceAssociationLink/operations.d.ts +9 -0
- package/dist/commonjs/api/subnetServiceAssociationLink/operations.js +71 -0
- package/dist/commonjs/api/subnetServiceAssociationLink/operations.js.map +7 -0
- package/dist/commonjs/api/subnetServiceAssociationLink/options.d.ts +7 -0
- package/dist/commonjs/api/subnetServiceAssociationLink/options.js +16 -0
- package/dist/commonjs/api/subnetServiceAssociationLink/options.js.map +7 -0
- package/dist/commonjs/classic/cgProfile/index.d.ts +21 -0
- package/dist/commonjs/classic/cgProfile/index.js +55 -0
- package/dist/commonjs/classic/cgProfile/index.js.map +7 -0
- package/dist/commonjs/classic/cgProfiles/index.d.ts +13 -0
- package/dist/commonjs/classic/cgProfiles/index.js +39 -0
- package/dist/commonjs/classic/cgProfiles/index.js.map +7 -0
- package/dist/commonjs/classic/containerGroups/index.d.ts +47 -0
- package/dist/commonjs/classic/containerGroups/index.js +97 -0
- package/dist/commonjs/classic/containerGroups/index.js.map +7 -0
- package/dist/commonjs/classic/containers/index.d.ts +14 -0
- package/dist/commonjs/classic/containers/index.js +47 -0
- package/dist/commonjs/classic/containers/index.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +10 -0
- package/dist/commonjs/classic/index.js +16 -0
- package/dist/commonjs/classic/index.js.map +7 -0
- package/dist/commonjs/classic/location/index.d.ts +15 -0
- package/dist/commonjs/classic/location/index.js +40 -0
- package/dist/commonjs/classic/location/index.js.map +7 -0
- package/dist/commonjs/classic/nGroups/index.d.ts +49 -0
- package/dist/commonjs/classic/nGroups/index.js +87 -0
- package/dist/commonjs/classic/nGroups/index.js.map +7 -0
- package/dist/commonjs/classic/operations/index.d.ts +11 -0
- package/dist/commonjs/classic/operations/index.js +38 -0
- package/dist/commonjs/classic/operations/index.js.map +7 -0
- package/dist/commonjs/classic/sandboxGroups/index.d.ts +37 -0
- package/dist/commonjs/classic/sandboxGroups/index.js +75 -0
- package/dist/commonjs/classic/sandboxGroups/index.js.map +7 -0
- package/dist/commonjs/classic/subnetServiceAssociationLink/index.d.ts +15 -0
- package/dist/commonjs/classic/subnetServiceAssociationLink/index.js +47 -0
- package/dist/commonjs/classic/subnetServiceAssociationLink/index.js.map +7 -0
- package/dist/commonjs/containerInstanceManagementClient.d.ts +39 -0
- package/dist/commonjs/containerInstanceManagementClient.js +86 -0
- package/dist/commonjs/containerInstanceManagementClient.js.map +7 -0
- package/dist/commonjs/index.d.ts +25 -0
- package/dist/commonjs/index.js +78 -0
- package/dist/commonjs/index.js.map +7 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.js +29 -0
- package/dist/commonjs/logger.js.map +7 -0
- package/dist/commonjs/models/index.d.ts +3 -0
- package/dist/commonjs/models/index.js +64 -0
- package/dist/commonjs/models/index.js.map +7 -0
- package/dist/commonjs/models/models.d.ts +1906 -0
- package/dist/commonjs/models/models.js +2571 -0
- package/dist/commonjs/models/models.js.map +7 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.js +131 -0
- package/dist/commonjs/restorePollerHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +35 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/api/cgProfile/index.d.ts +3 -0
- package/dist/esm/api/cgProfile/index.js +4 -0
- package/dist/esm/api/cgProfile/index.js.map +1 -0
- package/dist/esm/api/cgProfile/operations.d.ts +30 -0
- package/dist/esm/api/cgProfile/operations.js +192 -0
- package/dist/esm/api/cgProfile/operations.js.map +1 -0
- package/dist/esm/api/cgProfile/options.d.ts +20 -0
- package/dist/esm/api/cgProfile/options.js +4 -0
- package/dist/esm/api/cgProfile/options.js.map +1 -0
- package/dist/esm/api/cgProfiles/index.d.ts +3 -0
- package/dist/esm/api/cgProfiles/index.js +4 -0
- package/dist/esm/api/cgProfiles/index.js.map +1 -0
- package/dist/esm/api/cgProfiles/operations.d.ts +14 -0
- package/dist/esm/api/cgProfiles/operations.js +70 -0
- package/dist/esm/api/cgProfiles/operations.js.map +1 -0
- package/dist/esm/api/cgProfiles/options.d.ts +8 -0
- package/dist/esm/api/cgProfiles/options.js +4 -0
- package/dist/esm/api/cgProfiles/options.js.map +1 -0
- package/dist/esm/api/containerGroups/index.d.ts +3 -0
- package/dist/esm/api/containerGroups/index.js +4 -0
- package/dist/esm/api/containerGroups/index.js.map +1 -0
- package/dist/esm/api/containerGroups/operations.d.ts +47 -0
- package/dist/esm/api/containerGroups/operations.js +334 -0
- package/dist/esm/api/containerGroups/operations.js.map +1 -0
- package/dist/esm/api/containerGroups/options.d.ts +40 -0
- package/dist/esm/api/containerGroups/options.js +4 -0
- package/dist/esm/api/containerGroups/options.js.map +1 -0
- package/dist/esm/api/containerInstanceManagementContext.d.ts +22 -0
- package/dist/esm/api/containerInstanceManagementContext.js +26 -0
- package/dist/esm/api/containerInstanceManagementContext.js.map +1 -0
- package/dist/esm/api/containers/index.d.ts +3 -0
- package/dist/esm/api/containers/index.js +4 -0
- package/dist/esm/api/containers/index.js.map +1 -0
- package/dist/esm/api/containers/operations.d.ts +17 -0
- package/dist/esm/api/containers/operations.js +103 -0
- package/dist/esm/api/containers/operations.js.map +1 -0
- package/dist/esm/api/containers/options.d.ts +15 -0
- package/dist/esm/api/containers/options.js +4 -0
- package/dist/esm/api/containers/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +3 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/location/index.d.ts +3 -0
- package/dist/esm/api/location/index.js +4 -0
- package/dist/esm/api/location/index.js.map +1 -0
- package/dist/esm/api/location/operations.d.ts +18 -0
- package/dist/esm/api/location/operations.js +103 -0
- package/dist/esm/api/location/operations.js.map +1 -0
- package/dist/esm/api/location/options.d.ts +11 -0
- package/dist/esm/api/location/options.js +4 -0
- package/dist/esm/api/location/options.js.map +1 -0
- package/dist/esm/api/nGroups/index.d.ts +3 -0
- package/dist/esm/api/nGroups/index.js +4 -0
- package/dist/esm/api/nGroups/index.js.map +1 -0
- package/dist/esm/api/nGroups/operations.d.ts +43 -0
- package/dist/esm/api/nGroups/operations.js +298 -0
- package/dist/esm/api/nGroups/operations.js.map +1 -0
- package/dist/esm/api/nGroups/options.d.ts +39 -0
- package/dist/esm/api/nGroups/options.js +4 -0
- package/dist/esm/api/nGroups/options.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +3 -0
- package/dist/esm/api/operations/index.js +4 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/operations/operations.d.ts +10 -0
- package/dist/esm/api/operations/operations.js +37 -0
- package/dist/esm/api/operations/operations.js.map +1 -0
- package/dist/esm/api/operations/options.d.ts +5 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/api/sandboxGroups/index.d.ts +3 -0
- package/dist/esm/api/sandboxGroups/index.js +4 -0
- package/dist/esm/api/sandboxGroups/index.js.map +1 -0
- package/dist/esm/api/sandboxGroups/operations.d.ts +35 -0
- package/dist/esm/api/sandboxGroups/operations.js +237 -0
- package/dist/esm/api/sandboxGroups/operations.js.map +1 -0
- package/dist/esm/api/sandboxGroups/options.d.ts +29 -0
- package/dist/esm/api/sandboxGroups/options.js +4 -0
- package/dist/esm/api/sandboxGroups/options.js.map +1 -0
- package/dist/esm/api/subnetServiceAssociationLink/index.d.ts +3 -0
- package/dist/esm/api/subnetServiceAssociationLink/index.js +4 -0
- package/dist/esm/api/subnetServiceAssociationLink/index.js.map +1 -0
- package/dist/esm/api/subnetServiceAssociationLink/operations.d.ts +9 -0
- package/dist/esm/api/subnetServiceAssociationLink/operations.js +40 -0
- package/dist/esm/api/subnetServiceAssociationLink/operations.js.map +1 -0
- package/dist/esm/api/subnetServiceAssociationLink/options.d.ts +7 -0
- package/dist/esm/api/subnetServiceAssociationLink/options.js +4 -0
- package/dist/esm/api/subnetServiceAssociationLink/options.js.map +1 -0
- package/dist/esm/classic/cgProfile/index.d.ts +21 -0
- package/dist/esm/classic/cgProfile/index.js +19 -0
- package/dist/esm/classic/cgProfile/index.js.map +1 -0
- package/dist/esm/classic/cgProfiles/index.d.ts +13 -0
- package/dist/esm/classic/cgProfiles/index.js +15 -0
- package/dist/esm/classic/cgProfiles/index.js.map +1 -0
- package/dist/esm/classic/containerGroups/index.d.ts +47 -0
- package/dist/esm/classic/containerGroups/index.js +56 -0
- package/dist/esm/classic/containerGroups/index.js.map +1 -0
- package/dist/esm/classic/containers/index.d.ts +14 -0
- package/dist/esm/classic/containers/index.js +16 -0
- package/dist/esm/classic/containers/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +10 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/location/index.d.ts +15 -0
- package/dist/esm/classic/location/index.js +16 -0
- package/dist/esm/classic/location/index.js.map +1 -0
- package/dist/esm/classic/nGroups/index.d.ts +49 -0
- package/dist/esm/classic/nGroups/index.js +63 -0
- package/dist/esm/classic/nGroups/index.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +11 -0
- package/dist/esm/classic/operations/index.js +14 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/classic/sandboxGroups/index.d.ts +37 -0
- package/dist/esm/classic/sandboxGroups/index.js +45 -0
- package/dist/esm/classic/sandboxGroups/index.js.map +1 -0
- package/dist/esm/classic/subnetServiceAssociationLink/index.d.ts +15 -0
- package/dist/esm/classic/subnetServiceAssociationLink/index.js +23 -0
- package/dist/esm/classic/subnetServiceAssociationLink/index.js.map +1 -0
- package/dist/esm/containerInstanceManagementClient.d.ts +39 -0
- package/dist/esm/containerInstanceManagementClient.js +65 -0
- package/dist/esm/containerInstanceManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +25 -0
- package/dist/esm/index.js +9 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/models.d.ts +1906 -0
- package/dist/esm/models/models.js +2594 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.js +118 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/esm/static-helpers/pagingHelpers.js +143 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/esm/static-helpers/pollingHelpers.js +95 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
- package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +200 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +249 -83
- package/CHANGELOG.md +0 -123
- 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 +0 -26
- package/dist-esm/src/containerInstanceManagementClient.d.ts.map +0 -1
- package/dist-esm/src/containerInstanceManagementClient.js +0 -107
- package/dist-esm/src/containerInstanceManagementClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js +0 -13
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.d.ts +0 -11
- package/dist-esm/src/lroImpl.d.ts.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.d.ts +0 -1242
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js +0 -116
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.d.ts +0 -66
- package/dist-esm/src/models/mappers.d.ts.map +0 -1
- package/dist-esm/src/models/mappers.js +0 -2236
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.d.ts +0 -23
- package/dist-esm/src/models/parameters.d.ts.map +0 -1
- package/dist-esm/src/models/parameters.js +0 -204
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/containerGroupProfileOperations.d.ts +0 -55
- package/dist-esm/src/operations/containerGroupProfileOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/containerGroupProfileOperations.js +0 -191
- package/dist-esm/src/operations/containerGroupProfileOperations.js.map +0 -1
- package/dist-esm/src/operations/containerGroupProfiles.d.ts +0 -95
- package/dist-esm/src/operations/containerGroupProfiles.d.ts.map +0 -1
- package/dist-esm/src/operations/containerGroupProfiles.js +0 -401
- package/dist-esm/src/operations/containerGroupProfiles.js.map +0 -1
- package/dist-esm/src/operations/containerGroups.d.ts +0 -159
- package/dist-esm/src/operations/containerGroups.d.ts.map +0 -1
- package/dist-esm/src/operations/containerGroups.js +0 -727
- package/dist-esm/src/operations/containerGroups.js.map +0 -1
- package/dist-esm/src/operations/containers.d.ts +0 -40
- package/dist-esm/src/operations/containers.d.ts.map +0 -1
- package/dist-esm/src/operations/containers.js +0 -134
- 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 +0 -70
- package/dist-esm/src/operations/location.d.ts.map +0 -1
- package/dist-esm/src/operations/location.js +0 -341
- package/dist-esm/src/operations/location.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts +0 -32
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js +0 -133
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/subnetServiceAssociationLink.d.ts +0 -32
- 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 +0 -27
- package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.js +0 -9
- package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/containerGroupProfiles.d.ts +0 -55
- package/dist-esm/src/operationsInterfaces/containerGroupProfiles.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/containerGroupProfiles.js +0 -9
- package/dist-esm/src/operationsInterfaces/containerGroupProfiles.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/containerGroups.d.ts +0 -119
- package/dist-esm/src/operationsInterfaces/containerGroups.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/containerGroups.js +0 -9
- package/dist-esm/src/operationsInterfaces/containerGroups.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/containers.d.ts +0 -32
- package/dist-esm/src/operationsInterfaces/containers.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/containers.js +0 -9
- 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 +0 -24
- package/dist-esm/src/operationsInterfaces/location.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/location.js +0 -9
- package/dist-esm/src/operationsInterfaces/location.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js +0 -9
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/subnetServiceAssociationLink.d.ts +0 -24
- package/dist-esm/src/operationsInterfaces/subnetServiceAssociationLink.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/subnetServiceAssociationLink.js +0 -9
- package/dist-esm/src/operationsInterfaces/subnetServiceAssociationLink.js.map +0 -1
- package/dist-esm/src/pagingHelper.d.ts +0 -13
- package/dist-esm/src/pagingHelper.d.ts.map +0 -1
- package/dist-esm/src/pagingHelper.js +0 -32
- 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/review/arm-containerinstance.api.md +0 -963
- package/src/containerInstanceManagementClient.ts +0 -172
- package/src/index.ts +0 -13
- 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/types/arm-containerinstance.d.ts +0 -1711
|
@@ -0,0 +1,2594 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { areAllPropsUndefined } from "../static-helpers/serialization/check-prop-undefined.js";
|
|
4
|
+
export function _operationListResultDeserializer(item) {
|
|
5
|
+
return {
|
|
6
|
+
value: operationArrayDeserializer(item["value"]),
|
|
7
|
+
nextLink: item["nextLink"],
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export function operationArrayDeserializer(result) {
|
|
11
|
+
return result.map((item) => {
|
|
12
|
+
return operationDeserializer(item);
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
export function operationDeserializer(item) {
|
|
16
|
+
return {
|
|
17
|
+
name: item["name"],
|
|
18
|
+
display: operationDisplayDeserializer(item["display"]),
|
|
19
|
+
properties: item["properties"],
|
|
20
|
+
origin: item["origin"],
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export function operationDisplayDeserializer(item) {
|
|
24
|
+
return {
|
|
25
|
+
provider: item["provider"],
|
|
26
|
+
resource: item["resource"],
|
|
27
|
+
operation: item["operation"],
|
|
28
|
+
description: item["description"],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
/** The intended executor of the operation. */
|
|
32
|
+
export var KnownContainerInstanceOperationsOrigin;
|
|
33
|
+
(function (KnownContainerInstanceOperationsOrigin) {
|
|
34
|
+
/** User */
|
|
35
|
+
KnownContainerInstanceOperationsOrigin["User"] = "User";
|
|
36
|
+
/** System */
|
|
37
|
+
KnownContainerInstanceOperationsOrigin["System"] = "System";
|
|
38
|
+
})(KnownContainerInstanceOperationsOrigin || (KnownContainerInstanceOperationsOrigin = {}));
|
|
39
|
+
export function cloudErrorDeserializer(item) {
|
|
40
|
+
return {
|
|
41
|
+
error: !item["error"] ? item["error"] : cloudErrorBodyDeserializer(item["error"]),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export function cloudErrorBodyDeserializer(item) {
|
|
45
|
+
return {
|
|
46
|
+
code: item["code"],
|
|
47
|
+
message: item["message"],
|
|
48
|
+
target: item["target"],
|
|
49
|
+
details: !item["details"] ? item["details"] : cloudErrorBodyArrayDeserializer(item["details"]),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export function cloudErrorBodyArrayDeserializer(result) {
|
|
53
|
+
return result.map((item) => {
|
|
54
|
+
return cloudErrorBodyDeserializer(item);
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
export function containerGroupSerializer(item) {
|
|
58
|
+
return {
|
|
59
|
+
location: item["location"],
|
|
60
|
+
tags: item["tags"],
|
|
61
|
+
zones: !item["zones"]
|
|
62
|
+
? item["zones"]
|
|
63
|
+
: item["zones"].map((p) => {
|
|
64
|
+
return p;
|
|
65
|
+
}),
|
|
66
|
+
identity: !item["identity"]
|
|
67
|
+
? item["identity"]
|
|
68
|
+
: containerGroupIdentitySerializer(item["identity"]),
|
|
69
|
+
properties: _containerGroupPropertiesSerializer(item),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
export function containerGroupDeserializer(item) {
|
|
73
|
+
return {
|
|
74
|
+
id: item["id"],
|
|
75
|
+
name: item["name"],
|
|
76
|
+
type: item["type"],
|
|
77
|
+
systemData: !item["systemData"]
|
|
78
|
+
? item["systemData"]
|
|
79
|
+
: systemDataDeserializer(item["systemData"]),
|
|
80
|
+
location: item["location"],
|
|
81
|
+
tags: !item["tags"]
|
|
82
|
+
? item["tags"]
|
|
83
|
+
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
84
|
+
zones: !item["zones"]
|
|
85
|
+
? item["zones"]
|
|
86
|
+
: item["zones"].map((p) => {
|
|
87
|
+
return p;
|
|
88
|
+
}),
|
|
89
|
+
identity: !item["identity"]
|
|
90
|
+
? item["identity"]
|
|
91
|
+
: containerGroupIdentityDeserializer(item["identity"]),
|
|
92
|
+
..._containerGroupPropertiesDeserializer(item["properties"]),
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
export function containerGroupIdentitySerializer(item) {
|
|
96
|
+
return {
|
|
97
|
+
type: item["type"],
|
|
98
|
+
userAssignedIdentities: !item["userAssignedIdentities"]
|
|
99
|
+
? item["userAssignedIdentities"]
|
|
100
|
+
: userAssignedIdentitiesRecordSerializer(item["userAssignedIdentities"]),
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
export function containerGroupIdentityDeserializer(item) {
|
|
104
|
+
return {
|
|
105
|
+
principalId: item["principalId"],
|
|
106
|
+
tenantId: item["tenantId"],
|
|
107
|
+
type: item["type"],
|
|
108
|
+
userAssignedIdentities: !item["userAssignedIdentities"]
|
|
109
|
+
? item["userAssignedIdentities"]
|
|
110
|
+
: userAssignedIdentitiesRecordDeserializer(item["userAssignedIdentities"]),
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
export function userAssignedIdentitiesRecordSerializer(item) {
|
|
114
|
+
const result = {};
|
|
115
|
+
Object.keys(item).map((key) => {
|
|
116
|
+
result[key] = !item[key] ? item[key] : userAssignedIdentitiesSerializer(item[key]);
|
|
117
|
+
});
|
|
118
|
+
return result;
|
|
119
|
+
}
|
|
120
|
+
export function userAssignedIdentitiesRecordDeserializer(item) {
|
|
121
|
+
const result = {};
|
|
122
|
+
Object.keys(item).map((key) => {
|
|
123
|
+
result[key] = !item[key] ? item[key] : userAssignedIdentitiesDeserializer(item[key]);
|
|
124
|
+
});
|
|
125
|
+
return result;
|
|
126
|
+
}
|
|
127
|
+
export function userAssignedIdentitiesSerializer(_item) {
|
|
128
|
+
return {};
|
|
129
|
+
}
|
|
130
|
+
export function userAssignedIdentitiesDeserializer(item) {
|
|
131
|
+
return {
|
|
132
|
+
principalId: item["principalId"],
|
|
133
|
+
clientId: item["clientId"],
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
export function containerGroupPropertiesSerializer(item) {
|
|
137
|
+
return {
|
|
138
|
+
secretReferences: !item["secretReferences"]
|
|
139
|
+
? item["secretReferences"]
|
|
140
|
+
: secretReferenceArraySerializer(item["secretReferences"]),
|
|
141
|
+
containers: containerArraySerializer(item["containers"]),
|
|
142
|
+
imageRegistryCredentials: !item["imageRegistryCredentials"]
|
|
143
|
+
? item["imageRegistryCredentials"]
|
|
144
|
+
: imageRegistryCredentialArraySerializer(item["imageRegistryCredentials"]),
|
|
145
|
+
restartPolicy: item["restartPolicy"],
|
|
146
|
+
ipAddress: !item["ipAddress"] ? item["ipAddress"] : ipAddressSerializer(item["ipAddress"]),
|
|
147
|
+
osType: item["osType"],
|
|
148
|
+
volumes: !item["volumes"] ? item["volumes"] : volumeArraySerializer(item["volumes"]),
|
|
149
|
+
diagnostics: !item["diagnostics"]
|
|
150
|
+
? item["diagnostics"]
|
|
151
|
+
: containerGroupDiagnosticsSerializer(item["diagnostics"]),
|
|
152
|
+
subnetIds: !item["subnetIds"]
|
|
153
|
+
? item["subnetIds"]
|
|
154
|
+
: containerGroupSubnetIdArraySerializer(item["subnetIds"]),
|
|
155
|
+
dnsConfig: !item["dnsConfig"]
|
|
156
|
+
? item["dnsConfig"]
|
|
157
|
+
: dnsConfigurationSerializer(item["dnsConfig"]),
|
|
158
|
+
sku: item["sku"],
|
|
159
|
+
encryptionProperties: !item["encryptionProperties"]
|
|
160
|
+
? item["encryptionProperties"]
|
|
161
|
+
: encryptionPropertiesSerializer(item["encryptionProperties"]),
|
|
162
|
+
initContainers: !item["initContainers"]
|
|
163
|
+
? item["initContainers"]
|
|
164
|
+
: initContainerDefinitionArraySerializer(item["initContainers"]),
|
|
165
|
+
extensions: !item["extensions"]
|
|
166
|
+
? item["extensions"]
|
|
167
|
+
: deploymentExtensionSpecArraySerializer(item["extensions"]),
|
|
168
|
+
confidentialComputeProperties: !item["confidentialComputeProperties"]
|
|
169
|
+
? item["confidentialComputeProperties"]
|
|
170
|
+
: confidentialComputePropertiesSerializer(item["confidentialComputeProperties"]),
|
|
171
|
+
priority: item["priority"],
|
|
172
|
+
identityAcls: !item["identityAcls"]
|
|
173
|
+
? item["identityAcls"]
|
|
174
|
+
: identityAclsSerializer(item["identityAcls"]),
|
|
175
|
+
containerGroupProfile: !item["containerGroupProfile"]
|
|
176
|
+
? item["containerGroupProfile"]
|
|
177
|
+
: containerGroupProfileReferenceDefinitionSerializer(item["containerGroupProfile"]),
|
|
178
|
+
standbyPoolProfile: !item["standbyPoolProfile"]
|
|
179
|
+
? item["standbyPoolProfile"]
|
|
180
|
+
: standbyPoolProfileDefinitionSerializer(item["standbyPoolProfile"]),
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
export function containerGroupPropertiesDeserializer(item) {
|
|
184
|
+
return {
|
|
185
|
+
provisioningState: item["provisioningState"],
|
|
186
|
+
secretReferences: !item["secretReferences"]
|
|
187
|
+
? item["secretReferences"]
|
|
188
|
+
: secretReferenceArrayDeserializer(item["secretReferences"]),
|
|
189
|
+
containers: containerArrayDeserializer(item["containers"]),
|
|
190
|
+
imageRegistryCredentials: !item["imageRegistryCredentials"]
|
|
191
|
+
? item["imageRegistryCredentials"]
|
|
192
|
+
: imageRegistryCredentialArrayDeserializer(item["imageRegistryCredentials"]),
|
|
193
|
+
restartPolicy: item["restartPolicy"],
|
|
194
|
+
ipAddress: !item["ipAddress"] ? item["ipAddress"] : ipAddressDeserializer(item["ipAddress"]),
|
|
195
|
+
osType: item["osType"],
|
|
196
|
+
volumes: !item["volumes"] ? item["volumes"] : volumeArrayDeserializer(item["volumes"]),
|
|
197
|
+
instanceView: !item["instanceView"]
|
|
198
|
+
? item["instanceView"]
|
|
199
|
+
: containerGroupPropertiesInstanceViewDeserializer(item["instanceView"]),
|
|
200
|
+
diagnostics: !item["diagnostics"]
|
|
201
|
+
? item["diagnostics"]
|
|
202
|
+
: containerGroupDiagnosticsDeserializer(item["diagnostics"]),
|
|
203
|
+
subnetIds: !item["subnetIds"]
|
|
204
|
+
? item["subnetIds"]
|
|
205
|
+
: containerGroupSubnetIdArrayDeserializer(item["subnetIds"]),
|
|
206
|
+
dnsConfig: !item["dnsConfig"]
|
|
207
|
+
? item["dnsConfig"]
|
|
208
|
+
: dnsConfigurationDeserializer(item["dnsConfig"]),
|
|
209
|
+
sku: item["sku"],
|
|
210
|
+
encryptionProperties: !item["encryptionProperties"]
|
|
211
|
+
? item["encryptionProperties"]
|
|
212
|
+
: encryptionPropertiesDeserializer(item["encryptionProperties"]),
|
|
213
|
+
initContainers: !item["initContainers"]
|
|
214
|
+
? item["initContainers"]
|
|
215
|
+
: initContainerDefinitionArrayDeserializer(item["initContainers"]),
|
|
216
|
+
extensions: !item["extensions"]
|
|
217
|
+
? item["extensions"]
|
|
218
|
+
: deploymentExtensionSpecArrayDeserializer(item["extensions"]),
|
|
219
|
+
confidentialComputeProperties: !item["confidentialComputeProperties"]
|
|
220
|
+
? item["confidentialComputeProperties"]
|
|
221
|
+
: confidentialComputePropertiesDeserializer(item["confidentialComputeProperties"]),
|
|
222
|
+
priority: item["priority"],
|
|
223
|
+
identityAcls: !item["identityAcls"]
|
|
224
|
+
? item["identityAcls"]
|
|
225
|
+
: identityAclsDeserializer(item["identityAcls"]),
|
|
226
|
+
containerGroupProfile: !item["containerGroupProfile"]
|
|
227
|
+
? item["containerGroupProfile"]
|
|
228
|
+
: containerGroupProfileReferenceDefinitionDeserializer(item["containerGroupProfile"]),
|
|
229
|
+
standbyPoolProfile: !item["standbyPoolProfile"]
|
|
230
|
+
? item["standbyPoolProfile"]
|
|
231
|
+
: standbyPoolProfileDefinitionDeserializer(item["standbyPoolProfile"]),
|
|
232
|
+
isCreatedFromStandbyPool: item["isCreatedFromStandbyPool"],
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
export function secretReferenceArraySerializer(result) {
|
|
236
|
+
return result.map((item) => {
|
|
237
|
+
return secretReferenceSerializer(item);
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
export function secretReferenceArrayDeserializer(result) {
|
|
241
|
+
return result.map((item) => {
|
|
242
|
+
return secretReferenceDeserializer(item);
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
export function secretReferenceSerializer(item) {
|
|
246
|
+
return {
|
|
247
|
+
name: item["name"],
|
|
248
|
+
identity: item["identity"],
|
|
249
|
+
secretReferenceUri: item["secretReferenceUri"],
|
|
250
|
+
};
|
|
251
|
+
}
|
|
252
|
+
export function secretReferenceDeserializer(item) {
|
|
253
|
+
return {
|
|
254
|
+
name: item["name"],
|
|
255
|
+
identity: item["identity"],
|
|
256
|
+
secretReferenceUri: item["secretReferenceUri"],
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
export function containerArraySerializer(result) {
|
|
260
|
+
return result.map((item) => {
|
|
261
|
+
return containerSerializer(item);
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
export function containerArrayDeserializer(result) {
|
|
265
|
+
return result.map((item) => {
|
|
266
|
+
return containerDeserializer(item);
|
|
267
|
+
});
|
|
268
|
+
}
|
|
269
|
+
export function containerSerializer(item) {
|
|
270
|
+
return { name: item["name"], properties: _containerPropertiesSerializer(item) };
|
|
271
|
+
}
|
|
272
|
+
export function containerDeserializer(item) {
|
|
273
|
+
return {
|
|
274
|
+
name: item["name"],
|
|
275
|
+
..._containerPropertiesDeserializer(item["properties"]),
|
|
276
|
+
};
|
|
277
|
+
}
|
|
278
|
+
export function containerPropertiesSerializer(item) {
|
|
279
|
+
return {
|
|
280
|
+
image: item["image"],
|
|
281
|
+
command: !item["command"]
|
|
282
|
+
? item["command"]
|
|
283
|
+
: item["command"].map((p) => {
|
|
284
|
+
return p;
|
|
285
|
+
}),
|
|
286
|
+
ports: !item["ports"] ? item["ports"] : containerPortArraySerializer(item["ports"]),
|
|
287
|
+
environmentVariables: !item["environmentVariables"]
|
|
288
|
+
? item["environmentVariables"]
|
|
289
|
+
: environmentVariableArraySerializer(item["environmentVariables"]),
|
|
290
|
+
resources: !item["resources"]
|
|
291
|
+
? item["resources"]
|
|
292
|
+
: resourceRequirementsSerializer(item["resources"]),
|
|
293
|
+
volumeMounts: !item["volumeMounts"]
|
|
294
|
+
? item["volumeMounts"]
|
|
295
|
+
: volumeMountArraySerializer(item["volumeMounts"]),
|
|
296
|
+
livenessProbe: !item["livenessProbe"]
|
|
297
|
+
? item["livenessProbe"]
|
|
298
|
+
: containerProbeSerializer(item["livenessProbe"]),
|
|
299
|
+
readinessProbe: !item["readinessProbe"]
|
|
300
|
+
? item["readinessProbe"]
|
|
301
|
+
: containerProbeSerializer(item["readinessProbe"]),
|
|
302
|
+
securityContext: !item["securityContext"]
|
|
303
|
+
? item["securityContext"]
|
|
304
|
+
: securityContextDefinitionSerializer(item["securityContext"]),
|
|
305
|
+
configMap: !item["configMap"] ? item["configMap"] : configMapSerializer(item["configMap"]),
|
|
306
|
+
};
|
|
307
|
+
}
|
|
308
|
+
export function containerPropertiesDeserializer(item) {
|
|
309
|
+
return {
|
|
310
|
+
image: item["image"],
|
|
311
|
+
command: !item["command"]
|
|
312
|
+
? item["command"]
|
|
313
|
+
: item["command"].map((p) => {
|
|
314
|
+
return p;
|
|
315
|
+
}),
|
|
316
|
+
ports: !item["ports"] ? item["ports"] : containerPortArrayDeserializer(item["ports"]),
|
|
317
|
+
environmentVariables: !item["environmentVariables"]
|
|
318
|
+
? item["environmentVariables"]
|
|
319
|
+
: environmentVariableArrayDeserializer(item["environmentVariables"]),
|
|
320
|
+
instanceView: !item["instanceView"]
|
|
321
|
+
? item["instanceView"]
|
|
322
|
+
: containerPropertiesInstanceViewDeserializer(item["instanceView"]),
|
|
323
|
+
resources: !item["resources"]
|
|
324
|
+
? item["resources"]
|
|
325
|
+
: resourceRequirementsDeserializer(item["resources"]),
|
|
326
|
+
volumeMounts: !item["volumeMounts"]
|
|
327
|
+
? item["volumeMounts"]
|
|
328
|
+
: volumeMountArrayDeserializer(item["volumeMounts"]),
|
|
329
|
+
livenessProbe: !item["livenessProbe"]
|
|
330
|
+
? item["livenessProbe"]
|
|
331
|
+
: containerProbeDeserializer(item["livenessProbe"]),
|
|
332
|
+
readinessProbe: !item["readinessProbe"]
|
|
333
|
+
? item["readinessProbe"]
|
|
334
|
+
: containerProbeDeserializer(item["readinessProbe"]),
|
|
335
|
+
securityContext: !item["securityContext"]
|
|
336
|
+
? item["securityContext"]
|
|
337
|
+
: securityContextDefinitionDeserializer(item["securityContext"]),
|
|
338
|
+
configMap: !item["configMap"] ? item["configMap"] : configMapDeserializer(item["configMap"]),
|
|
339
|
+
};
|
|
340
|
+
}
|
|
341
|
+
export function containerPortArraySerializer(result) {
|
|
342
|
+
return result.map((item) => {
|
|
343
|
+
return containerPortSerializer(item);
|
|
344
|
+
});
|
|
345
|
+
}
|
|
346
|
+
export function containerPortArrayDeserializer(result) {
|
|
347
|
+
return result.map((item) => {
|
|
348
|
+
return containerPortDeserializer(item);
|
|
349
|
+
});
|
|
350
|
+
}
|
|
351
|
+
export function containerPortSerializer(item) {
|
|
352
|
+
return { protocol: item["protocol"], port: item["port"] };
|
|
353
|
+
}
|
|
354
|
+
export function containerPortDeserializer(item) {
|
|
355
|
+
return {
|
|
356
|
+
protocol: item["protocol"],
|
|
357
|
+
port: item["port"],
|
|
358
|
+
};
|
|
359
|
+
}
|
|
360
|
+
/** The protocol associated with the port. */
|
|
361
|
+
export var KnownContainerNetworkProtocol;
|
|
362
|
+
(function (KnownContainerNetworkProtocol) {
|
|
363
|
+
/** TCP */
|
|
364
|
+
KnownContainerNetworkProtocol["TCP"] = "TCP";
|
|
365
|
+
/** UDP */
|
|
366
|
+
KnownContainerNetworkProtocol["UDP"] = "UDP";
|
|
367
|
+
})(KnownContainerNetworkProtocol || (KnownContainerNetworkProtocol = {}));
|
|
368
|
+
export function environmentVariableArraySerializer(result) {
|
|
369
|
+
return result.map((item) => {
|
|
370
|
+
return environmentVariableSerializer(item);
|
|
371
|
+
});
|
|
372
|
+
}
|
|
373
|
+
export function environmentVariableArrayDeserializer(result) {
|
|
374
|
+
return result.map((item) => {
|
|
375
|
+
return environmentVariableDeserializer(item);
|
|
376
|
+
});
|
|
377
|
+
}
|
|
378
|
+
export function environmentVariableSerializer(item) {
|
|
379
|
+
return {
|
|
380
|
+
name: item["name"],
|
|
381
|
+
value: item["value"],
|
|
382
|
+
secureValue: item["secureValue"],
|
|
383
|
+
secureValueReference: item["secureValueReference"],
|
|
384
|
+
};
|
|
385
|
+
}
|
|
386
|
+
export function environmentVariableDeserializer(item) {
|
|
387
|
+
return {
|
|
388
|
+
name: item["name"],
|
|
389
|
+
value: item["value"],
|
|
390
|
+
secureValue: item["secureValue"],
|
|
391
|
+
secureValueReference: item["secureValueReference"],
|
|
392
|
+
};
|
|
393
|
+
}
|
|
394
|
+
export function containerPropertiesInstanceViewDeserializer(item) {
|
|
395
|
+
return {
|
|
396
|
+
restartCount: item["restartCount"],
|
|
397
|
+
currentState: !item["currentState"]
|
|
398
|
+
? item["currentState"]
|
|
399
|
+
: containerStateDeserializer(item["currentState"]),
|
|
400
|
+
previousState: !item["previousState"]
|
|
401
|
+
? item["previousState"]
|
|
402
|
+
: containerStateDeserializer(item["previousState"]),
|
|
403
|
+
events: !item["events"] ? item["events"] : eventArrayDeserializer(item["events"]),
|
|
404
|
+
};
|
|
405
|
+
}
|
|
406
|
+
export function containerStateDeserializer(item) {
|
|
407
|
+
return {
|
|
408
|
+
state: item["state"],
|
|
409
|
+
startTime: !item["startTime"] ? item["startTime"] : new Date(item["startTime"]),
|
|
410
|
+
exitCode: item["exitCode"],
|
|
411
|
+
finishTime: !item["finishTime"] ? item["finishTime"] : new Date(item["finishTime"]),
|
|
412
|
+
detailStatus: item["detailStatus"],
|
|
413
|
+
};
|
|
414
|
+
}
|
|
415
|
+
export function eventArrayDeserializer(result) {
|
|
416
|
+
return result.map((item) => {
|
|
417
|
+
return eventDeserializer(item);
|
|
418
|
+
});
|
|
419
|
+
}
|
|
420
|
+
export function eventDeserializer(item) {
|
|
421
|
+
return {
|
|
422
|
+
count: item["count"],
|
|
423
|
+
firstTimestamp: !item["firstTimestamp"]
|
|
424
|
+
? item["firstTimestamp"]
|
|
425
|
+
: new Date(item["firstTimestamp"]),
|
|
426
|
+
lastTimestamp: !item["lastTimestamp"] ? item["lastTimestamp"] : new Date(item["lastTimestamp"]),
|
|
427
|
+
name: item["name"],
|
|
428
|
+
message: item["message"],
|
|
429
|
+
type: item["type"],
|
|
430
|
+
};
|
|
431
|
+
}
|
|
432
|
+
export function resourceRequirementsSerializer(item) {
|
|
433
|
+
return {
|
|
434
|
+
requests: resourceRequestsSerializer(item["requests"]),
|
|
435
|
+
limits: !item["limits"] ? item["limits"] : resourceLimitsSerializer(item["limits"]),
|
|
436
|
+
};
|
|
437
|
+
}
|
|
438
|
+
export function resourceRequirementsDeserializer(item) {
|
|
439
|
+
return {
|
|
440
|
+
requests: resourceRequestsDeserializer(item["requests"]),
|
|
441
|
+
limits: !item["limits"] ? item["limits"] : resourceLimitsDeserializer(item["limits"]),
|
|
442
|
+
};
|
|
443
|
+
}
|
|
444
|
+
export function resourceRequestsSerializer(item) {
|
|
445
|
+
return {
|
|
446
|
+
memoryInGB: item["memoryInGB"],
|
|
447
|
+
cpu: item["cpu"],
|
|
448
|
+
gpu: !item["gpu"] ? item["gpu"] : gpuResourceSerializer(item["gpu"]),
|
|
449
|
+
};
|
|
450
|
+
}
|
|
451
|
+
export function resourceRequestsDeserializer(item) {
|
|
452
|
+
return {
|
|
453
|
+
memoryInGB: item["memoryInGB"],
|
|
454
|
+
cpu: item["cpu"],
|
|
455
|
+
gpu: !item["gpu"] ? item["gpu"] : gpuResourceDeserializer(item["gpu"]),
|
|
456
|
+
};
|
|
457
|
+
}
|
|
458
|
+
export function gpuResourceSerializer(item) {
|
|
459
|
+
return { count: item["count"], sku: item["sku"] };
|
|
460
|
+
}
|
|
461
|
+
export function gpuResourceDeserializer(item) {
|
|
462
|
+
return {
|
|
463
|
+
count: item["count"],
|
|
464
|
+
sku: item["sku"],
|
|
465
|
+
};
|
|
466
|
+
}
|
|
467
|
+
/** The SKU of the GPU resource. */
|
|
468
|
+
export var KnownGpuSku;
|
|
469
|
+
(function (KnownGpuSku) {
|
|
470
|
+
/** K80 */
|
|
471
|
+
KnownGpuSku["K80"] = "K80";
|
|
472
|
+
/** P100 */
|
|
473
|
+
KnownGpuSku["P100"] = "P100";
|
|
474
|
+
/** V100 */
|
|
475
|
+
KnownGpuSku["V100"] = "V100";
|
|
476
|
+
})(KnownGpuSku || (KnownGpuSku = {}));
|
|
477
|
+
export function resourceLimitsSerializer(item) {
|
|
478
|
+
return {
|
|
479
|
+
memoryInGB: item["memoryInGB"],
|
|
480
|
+
cpu: item["cpu"],
|
|
481
|
+
gpu: !item["gpu"] ? item["gpu"] : gpuResourceSerializer(item["gpu"]),
|
|
482
|
+
};
|
|
483
|
+
}
|
|
484
|
+
export function resourceLimitsDeserializer(item) {
|
|
485
|
+
return {
|
|
486
|
+
memoryInGB: item["memoryInGB"],
|
|
487
|
+
cpu: item["cpu"],
|
|
488
|
+
gpu: !item["gpu"] ? item["gpu"] : gpuResourceDeserializer(item["gpu"]),
|
|
489
|
+
};
|
|
490
|
+
}
|
|
491
|
+
export function volumeMountArraySerializer(result) {
|
|
492
|
+
return result.map((item) => {
|
|
493
|
+
return volumeMountSerializer(item);
|
|
494
|
+
});
|
|
495
|
+
}
|
|
496
|
+
export function volumeMountArrayDeserializer(result) {
|
|
497
|
+
return result.map((item) => {
|
|
498
|
+
return volumeMountDeserializer(item);
|
|
499
|
+
});
|
|
500
|
+
}
|
|
501
|
+
export function volumeMountSerializer(item) {
|
|
502
|
+
return { name: item["name"], mountPath: item["mountPath"], readOnly: item["readOnly"] };
|
|
503
|
+
}
|
|
504
|
+
export function volumeMountDeserializer(item) {
|
|
505
|
+
return {
|
|
506
|
+
name: item["name"],
|
|
507
|
+
mountPath: item["mountPath"],
|
|
508
|
+
readOnly: item["readOnly"],
|
|
509
|
+
};
|
|
510
|
+
}
|
|
511
|
+
export function containerProbeSerializer(item) {
|
|
512
|
+
return {
|
|
513
|
+
exec: !item["exec"] ? item["exec"] : containerExecSerializer(item["exec"]),
|
|
514
|
+
httpGet: !item["httpGet"] ? item["httpGet"] : containerHttpGetSerializer(item["httpGet"]),
|
|
515
|
+
initialDelaySeconds: item["initialDelaySeconds"],
|
|
516
|
+
periodSeconds: item["periodSeconds"],
|
|
517
|
+
failureThreshold: item["failureThreshold"],
|
|
518
|
+
successThreshold: item["successThreshold"],
|
|
519
|
+
timeoutSeconds: item["timeoutSeconds"],
|
|
520
|
+
};
|
|
521
|
+
}
|
|
522
|
+
export function containerProbeDeserializer(item) {
|
|
523
|
+
return {
|
|
524
|
+
exec: !item["exec"] ? item["exec"] : containerExecDeserializer(item["exec"]),
|
|
525
|
+
httpGet: !item["httpGet"] ? item["httpGet"] : containerHttpGetDeserializer(item["httpGet"]),
|
|
526
|
+
initialDelaySeconds: item["initialDelaySeconds"],
|
|
527
|
+
periodSeconds: item["periodSeconds"],
|
|
528
|
+
failureThreshold: item["failureThreshold"],
|
|
529
|
+
successThreshold: item["successThreshold"],
|
|
530
|
+
timeoutSeconds: item["timeoutSeconds"],
|
|
531
|
+
};
|
|
532
|
+
}
|
|
533
|
+
export function containerExecSerializer(item) {
|
|
534
|
+
return {
|
|
535
|
+
command: !item["command"]
|
|
536
|
+
? item["command"]
|
|
537
|
+
: item["command"].map((p) => {
|
|
538
|
+
return p;
|
|
539
|
+
}),
|
|
540
|
+
};
|
|
541
|
+
}
|
|
542
|
+
export function containerExecDeserializer(item) {
|
|
543
|
+
return {
|
|
544
|
+
command: !item["command"]
|
|
545
|
+
? item["command"]
|
|
546
|
+
: item["command"].map((p) => {
|
|
547
|
+
return p;
|
|
548
|
+
}),
|
|
549
|
+
};
|
|
550
|
+
}
|
|
551
|
+
export function containerHttpGetSerializer(item) {
|
|
552
|
+
return {
|
|
553
|
+
path: item["path"],
|
|
554
|
+
port: item["port"],
|
|
555
|
+
scheme: item["scheme"],
|
|
556
|
+
httpHeaders: !item["httpHeaders"]
|
|
557
|
+
? item["httpHeaders"]
|
|
558
|
+
: httpHeaderArraySerializer(item["httpHeaders"]),
|
|
559
|
+
};
|
|
560
|
+
}
|
|
561
|
+
export function containerHttpGetDeserializer(item) {
|
|
562
|
+
return {
|
|
563
|
+
path: item["path"],
|
|
564
|
+
port: item["port"],
|
|
565
|
+
scheme: item["scheme"],
|
|
566
|
+
httpHeaders: !item["httpHeaders"]
|
|
567
|
+
? item["httpHeaders"]
|
|
568
|
+
: httpHeaderArrayDeserializer(item["httpHeaders"]),
|
|
569
|
+
};
|
|
570
|
+
}
|
|
571
|
+
/** The scheme. */
|
|
572
|
+
export var KnownScheme;
|
|
573
|
+
(function (KnownScheme) {
|
|
574
|
+
/** http */
|
|
575
|
+
KnownScheme["Http"] = "http";
|
|
576
|
+
/** https */
|
|
577
|
+
KnownScheme["Https"] = "https";
|
|
578
|
+
})(KnownScheme || (KnownScheme = {}));
|
|
579
|
+
export function httpHeaderArraySerializer(result) {
|
|
580
|
+
return result.map((item) => {
|
|
581
|
+
return httpHeaderSerializer(item);
|
|
582
|
+
});
|
|
583
|
+
}
|
|
584
|
+
export function httpHeaderArrayDeserializer(result) {
|
|
585
|
+
return result.map((item) => {
|
|
586
|
+
return httpHeaderDeserializer(item);
|
|
587
|
+
});
|
|
588
|
+
}
|
|
589
|
+
export function httpHeaderSerializer(item) {
|
|
590
|
+
return { name: item["name"], value: item["value"] };
|
|
591
|
+
}
|
|
592
|
+
export function httpHeaderDeserializer(item) {
|
|
593
|
+
return {
|
|
594
|
+
name: item["name"],
|
|
595
|
+
value: item["value"],
|
|
596
|
+
};
|
|
597
|
+
}
|
|
598
|
+
export function securityContextDefinitionSerializer(item) {
|
|
599
|
+
return {
|
|
600
|
+
privileged: item["privileged"],
|
|
601
|
+
allowPrivilegeEscalation: item["allowPrivilegeEscalation"],
|
|
602
|
+
capabilities: !item["capabilities"]
|
|
603
|
+
? item["capabilities"]
|
|
604
|
+
: securityContextCapabilitiesDefinitionSerializer(item["capabilities"]),
|
|
605
|
+
runAsGroup: item["runAsGroup"],
|
|
606
|
+
runAsUser: item["runAsUser"],
|
|
607
|
+
seccompProfile: item["seccompProfile"],
|
|
608
|
+
};
|
|
609
|
+
}
|
|
610
|
+
export function securityContextDefinitionDeserializer(item) {
|
|
611
|
+
return {
|
|
612
|
+
privileged: item["privileged"],
|
|
613
|
+
allowPrivilegeEscalation: item["allowPrivilegeEscalation"],
|
|
614
|
+
capabilities: !item["capabilities"]
|
|
615
|
+
? item["capabilities"]
|
|
616
|
+
: securityContextCapabilitiesDefinitionDeserializer(item["capabilities"]),
|
|
617
|
+
runAsGroup: item["runAsGroup"],
|
|
618
|
+
runAsUser: item["runAsUser"],
|
|
619
|
+
seccompProfile: item["seccompProfile"],
|
|
620
|
+
};
|
|
621
|
+
}
|
|
622
|
+
export function securityContextCapabilitiesDefinitionSerializer(item) {
|
|
623
|
+
return {
|
|
624
|
+
add: !item["add"]
|
|
625
|
+
? item["add"]
|
|
626
|
+
: item["add"].map((p) => {
|
|
627
|
+
return p;
|
|
628
|
+
}),
|
|
629
|
+
drop: !item["drop"]
|
|
630
|
+
? item["drop"]
|
|
631
|
+
: item["drop"].map((p) => {
|
|
632
|
+
return p;
|
|
633
|
+
}),
|
|
634
|
+
};
|
|
635
|
+
}
|
|
636
|
+
export function securityContextCapabilitiesDefinitionDeserializer(item) {
|
|
637
|
+
return {
|
|
638
|
+
add: !item["add"]
|
|
639
|
+
? item["add"]
|
|
640
|
+
: item["add"].map((p) => {
|
|
641
|
+
return p;
|
|
642
|
+
}),
|
|
643
|
+
drop: !item["drop"]
|
|
644
|
+
? item["drop"]
|
|
645
|
+
: item["drop"].map((p) => {
|
|
646
|
+
return p;
|
|
647
|
+
}),
|
|
648
|
+
};
|
|
649
|
+
}
|
|
650
|
+
export function configMapSerializer(item) {
|
|
651
|
+
return { keyValuePairs: item["keyValuePairs"] };
|
|
652
|
+
}
|
|
653
|
+
export function configMapDeserializer(item) {
|
|
654
|
+
return {
|
|
655
|
+
keyValuePairs: !item["keyValuePairs"]
|
|
656
|
+
? item["keyValuePairs"]
|
|
657
|
+
: Object.fromEntries(Object.entries(item["keyValuePairs"]).map(([k, p]) => [k, p])),
|
|
658
|
+
};
|
|
659
|
+
}
|
|
660
|
+
export function imageRegistryCredentialArraySerializer(result) {
|
|
661
|
+
return result.map((item) => {
|
|
662
|
+
return imageRegistryCredentialSerializer(item);
|
|
663
|
+
});
|
|
664
|
+
}
|
|
665
|
+
export function imageRegistryCredentialArrayDeserializer(result) {
|
|
666
|
+
return result.map((item) => {
|
|
667
|
+
return imageRegistryCredentialDeserializer(item);
|
|
668
|
+
});
|
|
669
|
+
}
|
|
670
|
+
export function imageRegistryCredentialSerializer(item) {
|
|
671
|
+
return {
|
|
672
|
+
server: item["server"],
|
|
673
|
+
username: item["username"],
|
|
674
|
+
password: item["password"],
|
|
675
|
+
passwordReference: item["passwordReference"],
|
|
676
|
+
identity: item["identity"],
|
|
677
|
+
identityUrl: item["identityUrl"],
|
|
678
|
+
};
|
|
679
|
+
}
|
|
680
|
+
export function imageRegistryCredentialDeserializer(item) {
|
|
681
|
+
return {
|
|
682
|
+
server: item["server"],
|
|
683
|
+
username: item["username"],
|
|
684
|
+
password: item["password"],
|
|
685
|
+
passwordReference: item["passwordReference"],
|
|
686
|
+
identity: item["identity"],
|
|
687
|
+
identityUrl: item["identityUrl"],
|
|
688
|
+
};
|
|
689
|
+
}
|
|
690
|
+
/**
|
|
691
|
+
* Restart policy for all containers within the container group.
|
|
692
|
+
* - `Always` Always restart
|
|
693
|
+
* - `OnFailure` Restart on failure
|
|
694
|
+
* - `Never` Never restart
|
|
695
|
+
*/
|
|
696
|
+
export var KnownContainerGroupRestartPolicy;
|
|
697
|
+
(function (KnownContainerGroupRestartPolicy) {
|
|
698
|
+
/** Always */
|
|
699
|
+
KnownContainerGroupRestartPolicy["Always"] = "Always";
|
|
700
|
+
/** OnFailure */
|
|
701
|
+
KnownContainerGroupRestartPolicy["OnFailure"] = "OnFailure";
|
|
702
|
+
/** Never */
|
|
703
|
+
KnownContainerGroupRestartPolicy["Never"] = "Never";
|
|
704
|
+
})(KnownContainerGroupRestartPolicy || (KnownContainerGroupRestartPolicy = {}));
|
|
705
|
+
export function ipAddressSerializer(item) {
|
|
706
|
+
return {
|
|
707
|
+
ports: portArraySerializer(item["ports"]),
|
|
708
|
+
type: item["type"],
|
|
709
|
+
ip: item["ip"],
|
|
710
|
+
dnsNameLabel: item["dnsNameLabel"],
|
|
711
|
+
autoGeneratedDomainNameLabelScope: item["autoGeneratedDomainNameLabelScope"],
|
|
712
|
+
};
|
|
713
|
+
}
|
|
714
|
+
export function ipAddressDeserializer(item) {
|
|
715
|
+
return {
|
|
716
|
+
ports: portArrayDeserializer(item["ports"]),
|
|
717
|
+
type: item["type"],
|
|
718
|
+
ip: item["ip"],
|
|
719
|
+
dnsNameLabel: item["dnsNameLabel"],
|
|
720
|
+
autoGeneratedDomainNameLabelScope: item["autoGeneratedDomainNameLabelScope"],
|
|
721
|
+
fqdn: item["fqdn"],
|
|
722
|
+
};
|
|
723
|
+
}
|
|
724
|
+
export function portArraySerializer(result) {
|
|
725
|
+
return result.map((item) => {
|
|
726
|
+
return portSerializer(item);
|
|
727
|
+
});
|
|
728
|
+
}
|
|
729
|
+
export function portArrayDeserializer(result) {
|
|
730
|
+
return result.map((item) => {
|
|
731
|
+
return portDeserializer(item);
|
|
732
|
+
});
|
|
733
|
+
}
|
|
734
|
+
export function portSerializer(item) {
|
|
735
|
+
return { protocol: item["protocol"], port: item["port"] };
|
|
736
|
+
}
|
|
737
|
+
export function portDeserializer(item) {
|
|
738
|
+
return {
|
|
739
|
+
protocol: item["protocol"],
|
|
740
|
+
port: item["port"],
|
|
741
|
+
};
|
|
742
|
+
}
|
|
743
|
+
/** The protocol associated with the port. */
|
|
744
|
+
export var KnownContainerGroupNetworkProtocol;
|
|
745
|
+
(function (KnownContainerGroupNetworkProtocol) {
|
|
746
|
+
/** TCP */
|
|
747
|
+
KnownContainerGroupNetworkProtocol["TCP"] = "TCP";
|
|
748
|
+
/** UDP */
|
|
749
|
+
KnownContainerGroupNetworkProtocol["UDP"] = "UDP";
|
|
750
|
+
})(KnownContainerGroupNetworkProtocol || (KnownContainerGroupNetworkProtocol = {}));
|
|
751
|
+
/** Specifies if the IP is exposed to the public internet or private VNET. */
|
|
752
|
+
export var KnownContainerGroupIpAddressType;
|
|
753
|
+
(function (KnownContainerGroupIpAddressType) {
|
|
754
|
+
/** Public */
|
|
755
|
+
KnownContainerGroupIpAddressType["Public"] = "Public";
|
|
756
|
+
/** Private */
|
|
757
|
+
KnownContainerGroupIpAddressType["Private"] = "Private";
|
|
758
|
+
})(KnownContainerGroupIpAddressType || (KnownContainerGroupIpAddressType = {}));
|
|
759
|
+
/** The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant. */
|
|
760
|
+
export var KnownDnsNameLabelReusePolicy;
|
|
761
|
+
(function (KnownDnsNameLabelReusePolicy) {
|
|
762
|
+
/** Unsecure */
|
|
763
|
+
KnownDnsNameLabelReusePolicy["Unsecure"] = "Unsecure";
|
|
764
|
+
/** TenantReuse */
|
|
765
|
+
KnownDnsNameLabelReusePolicy["TenantReuse"] = "TenantReuse";
|
|
766
|
+
/** SubscriptionReuse */
|
|
767
|
+
KnownDnsNameLabelReusePolicy["SubscriptionReuse"] = "SubscriptionReuse";
|
|
768
|
+
/** ResourceGroupReuse */
|
|
769
|
+
KnownDnsNameLabelReusePolicy["ResourceGroupReuse"] = "ResourceGroupReuse";
|
|
770
|
+
/** Noreuse */
|
|
771
|
+
KnownDnsNameLabelReusePolicy["Noreuse"] = "Noreuse";
|
|
772
|
+
})(KnownDnsNameLabelReusePolicy || (KnownDnsNameLabelReusePolicy = {}));
|
|
773
|
+
/** The operating system type required by the containers in the container group. */
|
|
774
|
+
export var KnownOperatingSystemTypes;
|
|
775
|
+
(function (KnownOperatingSystemTypes) {
|
|
776
|
+
/** Windows */
|
|
777
|
+
KnownOperatingSystemTypes["Windows"] = "Windows";
|
|
778
|
+
/** Linux */
|
|
779
|
+
KnownOperatingSystemTypes["Linux"] = "Linux";
|
|
780
|
+
})(KnownOperatingSystemTypes || (KnownOperatingSystemTypes = {}));
|
|
781
|
+
export function volumeArraySerializer(result) {
|
|
782
|
+
return result.map((item) => {
|
|
783
|
+
return volumeSerializer(item);
|
|
784
|
+
});
|
|
785
|
+
}
|
|
786
|
+
export function volumeArrayDeserializer(result) {
|
|
787
|
+
return result.map((item) => {
|
|
788
|
+
return volumeDeserializer(item);
|
|
789
|
+
});
|
|
790
|
+
}
|
|
791
|
+
export function volumeSerializer(item) {
|
|
792
|
+
return {
|
|
793
|
+
name: item["name"],
|
|
794
|
+
azureFile: !item["azureFile"]
|
|
795
|
+
? item["azureFile"]
|
|
796
|
+
: azureFileVolumeSerializer(item["azureFile"]),
|
|
797
|
+
emptyDir: item["emptyDir"],
|
|
798
|
+
secret: item["secret"],
|
|
799
|
+
secretReference: item["secretReference"],
|
|
800
|
+
gitRepo: !item["gitRepo"] ? item["gitRepo"] : gitRepoVolumeSerializer(item["gitRepo"]),
|
|
801
|
+
};
|
|
802
|
+
}
|
|
803
|
+
export function volumeDeserializer(item) {
|
|
804
|
+
return {
|
|
805
|
+
name: item["name"],
|
|
806
|
+
azureFile: !item["azureFile"]
|
|
807
|
+
? item["azureFile"]
|
|
808
|
+
: azureFileVolumeDeserializer(item["azureFile"]),
|
|
809
|
+
emptyDir: item["emptyDir"],
|
|
810
|
+
secret: !item["secret"]
|
|
811
|
+
? item["secret"]
|
|
812
|
+
: Object.fromEntries(Object.entries(item["secret"]).map(([k, p]) => [k, p])),
|
|
813
|
+
secretReference: !item["secretReference"]
|
|
814
|
+
? item["secretReference"]
|
|
815
|
+
: Object.fromEntries(Object.entries(item["secretReference"]).map(([k, p]) => [k, p])),
|
|
816
|
+
gitRepo: !item["gitRepo"] ? item["gitRepo"] : gitRepoVolumeDeserializer(item["gitRepo"]),
|
|
817
|
+
};
|
|
818
|
+
}
|
|
819
|
+
export function azureFileVolumeSerializer(item) {
|
|
820
|
+
return {
|
|
821
|
+
shareName: item["shareName"],
|
|
822
|
+
readOnly: item["readOnly"],
|
|
823
|
+
storageAccountName: item["storageAccountName"],
|
|
824
|
+
storageAccountKey: item["storageAccountKey"],
|
|
825
|
+
storageAccountKeyReference: item["storageAccountKeyReference"],
|
|
826
|
+
};
|
|
827
|
+
}
|
|
828
|
+
export function azureFileVolumeDeserializer(item) {
|
|
829
|
+
return {
|
|
830
|
+
shareName: item["shareName"],
|
|
831
|
+
readOnly: item["readOnly"],
|
|
832
|
+
storageAccountName: item["storageAccountName"],
|
|
833
|
+
storageAccountKey: item["storageAccountKey"],
|
|
834
|
+
storageAccountKeyReference: item["storageAccountKeyReference"],
|
|
835
|
+
};
|
|
836
|
+
}
|
|
837
|
+
export function gitRepoVolumeSerializer(item) {
|
|
838
|
+
return {
|
|
839
|
+
directory: item["directory"],
|
|
840
|
+
repository: item["repository"],
|
|
841
|
+
revision: item["revision"],
|
|
842
|
+
};
|
|
843
|
+
}
|
|
844
|
+
export function gitRepoVolumeDeserializer(item) {
|
|
845
|
+
return {
|
|
846
|
+
directory: item["directory"],
|
|
847
|
+
repository: item["repository"],
|
|
848
|
+
revision: item["revision"],
|
|
849
|
+
};
|
|
850
|
+
}
|
|
851
|
+
export function containerGroupPropertiesInstanceViewDeserializer(item) {
|
|
852
|
+
return {
|
|
853
|
+
events: !item["events"] ? item["events"] : eventArrayDeserializer(item["events"]),
|
|
854
|
+
state: item["state"],
|
|
855
|
+
};
|
|
856
|
+
}
|
|
857
|
+
export function containerGroupDiagnosticsSerializer(item) {
|
|
858
|
+
return {
|
|
859
|
+
logAnalytics: !item["logAnalytics"]
|
|
860
|
+
? item["logAnalytics"]
|
|
861
|
+
: logAnalyticsSerializer(item["logAnalytics"]),
|
|
862
|
+
};
|
|
863
|
+
}
|
|
864
|
+
export function containerGroupDiagnosticsDeserializer(item) {
|
|
865
|
+
return {
|
|
866
|
+
logAnalytics: !item["logAnalytics"]
|
|
867
|
+
? item["logAnalytics"]
|
|
868
|
+
: logAnalyticsDeserializer(item["logAnalytics"]),
|
|
869
|
+
};
|
|
870
|
+
}
|
|
871
|
+
export function logAnalyticsSerializer(item) {
|
|
872
|
+
return {
|
|
873
|
+
workspaceId: item["workspaceId"],
|
|
874
|
+
workspaceKey: item["workspaceKey"],
|
|
875
|
+
logType: item["logType"],
|
|
876
|
+
metadata: item["metadata"],
|
|
877
|
+
workspaceResourceId: item["workspaceResourceId"],
|
|
878
|
+
};
|
|
879
|
+
}
|
|
880
|
+
export function logAnalyticsDeserializer(item) {
|
|
881
|
+
return {
|
|
882
|
+
workspaceId: item["workspaceId"],
|
|
883
|
+
workspaceKey: item["workspaceKey"],
|
|
884
|
+
logType: item["logType"],
|
|
885
|
+
metadata: !item["metadata"]
|
|
886
|
+
? item["metadata"]
|
|
887
|
+
: Object.fromEntries(Object.entries(item["metadata"]).map(([k, p]) => [k, p])),
|
|
888
|
+
workspaceResourceId: item["workspaceResourceId"],
|
|
889
|
+
};
|
|
890
|
+
}
|
|
891
|
+
/** The log type to be used. */
|
|
892
|
+
export var KnownLogAnalyticsLogType;
|
|
893
|
+
(function (KnownLogAnalyticsLogType) {
|
|
894
|
+
/** ContainerInsights */
|
|
895
|
+
KnownLogAnalyticsLogType["ContainerInsights"] = "ContainerInsights";
|
|
896
|
+
/** ContainerInstanceLogs */
|
|
897
|
+
KnownLogAnalyticsLogType["ContainerInstanceLogs"] = "ContainerInstanceLogs";
|
|
898
|
+
})(KnownLogAnalyticsLogType || (KnownLogAnalyticsLogType = {}));
|
|
899
|
+
export function containerGroupSubnetIdArraySerializer(result) {
|
|
900
|
+
return result.map((item) => {
|
|
901
|
+
return containerGroupSubnetIdSerializer(item);
|
|
902
|
+
});
|
|
903
|
+
}
|
|
904
|
+
export function containerGroupSubnetIdArrayDeserializer(result) {
|
|
905
|
+
return result.map((item) => {
|
|
906
|
+
return containerGroupSubnetIdDeserializer(item);
|
|
907
|
+
});
|
|
908
|
+
}
|
|
909
|
+
export function containerGroupSubnetIdSerializer(item) {
|
|
910
|
+
return { id: item["id"], name: item["name"] };
|
|
911
|
+
}
|
|
912
|
+
export function containerGroupSubnetIdDeserializer(item) {
|
|
913
|
+
return {
|
|
914
|
+
id: item["id"],
|
|
915
|
+
name: item["name"],
|
|
916
|
+
};
|
|
917
|
+
}
|
|
918
|
+
export function dnsConfigurationSerializer(item) {
|
|
919
|
+
return {
|
|
920
|
+
nameServers: item["nameServers"].map((p) => {
|
|
921
|
+
return p;
|
|
922
|
+
}),
|
|
923
|
+
searchDomains: item["searchDomains"],
|
|
924
|
+
options: item["options"],
|
|
925
|
+
};
|
|
926
|
+
}
|
|
927
|
+
export function dnsConfigurationDeserializer(item) {
|
|
928
|
+
return {
|
|
929
|
+
nameServers: item["nameServers"].map((p) => {
|
|
930
|
+
return p;
|
|
931
|
+
}),
|
|
932
|
+
searchDomains: item["searchDomains"],
|
|
933
|
+
options: item["options"],
|
|
934
|
+
};
|
|
935
|
+
}
|
|
936
|
+
/** The container group SKU. */
|
|
937
|
+
export var KnownContainerGroupSku;
|
|
938
|
+
(function (KnownContainerGroupSku) {
|
|
939
|
+
/** NotSpecified */
|
|
940
|
+
KnownContainerGroupSku["NotSpecified"] = "NotSpecified";
|
|
941
|
+
/** Standard */
|
|
942
|
+
KnownContainerGroupSku["Standard"] = "Standard";
|
|
943
|
+
/** Dedicated */
|
|
944
|
+
KnownContainerGroupSku["Dedicated"] = "Dedicated";
|
|
945
|
+
/** Confidential */
|
|
946
|
+
KnownContainerGroupSku["Confidential"] = "Confidential";
|
|
947
|
+
})(KnownContainerGroupSku || (KnownContainerGroupSku = {}));
|
|
948
|
+
export function encryptionPropertiesSerializer(item) {
|
|
949
|
+
return {
|
|
950
|
+
vaultBaseUrl: item["vaultBaseUrl"],
|
|
951
|
+
keyName: item["keyName"],
|
|
952
|
+
keyVersion: item["keyVersion"],
|
|
953
|
+
identity: item["identity"],
|
|
954
|
+
};
|
|
955
|
+
}
|
|
956
|
+
export function encryptionPropertiesDeserializer(item) {
|
|
957
|
+
return {
|
|
958
|
+
vaultBaseUrl: item["vaultBaseUrl"],
|
|
959
|
+
keyName: item["keyName"],
|
|
960
|
+
keyVersion: item["keyVersion"],
|
|
961
|
+
identity: item["identity"],
|
|
962
|
+
};
|
|
963
|
+
}
|
|
964
|
+
export function initContainerDefinitionArraySerializer(result) {
|
|
965
|
+
return result.map((item) => {
|
|
966
|
+
return initContainerDefinitionSerializer(item);
|
|
967
|
+
});
|
|
968
|
+
}
|
|
969
|
+
export function initContainerDefinitionArrayDeserializer(result) {
|
|
970
|
+
return result.map((item) => {
|
|
971
|
+
return initContainerDefinitionDeserializer(item);
|
|
972
|
+
});
|
|
973
|
+
}
|
|
974
|
+
export function initContainerDefinitionSerializer(item) {
|
|
975
|
+
return { name: item["name"], properties: _initContainerDefinitionPropertiesSerializer(item) };
|
|
976
|
+
}
|
|
977
|
+
export function initContainerDefinitionDeserializer(item) {
|
|
978
|
+
return {
|
|
979
|
+
name: item["name"],
|
|
980
|
+
..._initContainerDefinitionPropertiesDeserializer(item["properties"]),
|
|
981
|
+
};
|
|
982
|
+
}
|
|
983
|
+
export function initContainerPropertiesDefinitionSerializer(item) {
|
|
984
|
+
return {
|
|
985
|
+
image: item["image"],
|
|
986
|
+
command: !item["command"]
|
|
987
|
+
? item["command"]
|
|
988
|
+
: item["command"].map((p) => {
|
|
989
|
+
return p;
|
|
990
|
+
}),
|
|
991
|
+
environmentVariables: !item["environmentVariables"]
|
|
992
|
+
? item["environmentVariables"]
|
|
993
|
+
: environmentVariableArraySerializer(item["environmentVariables"]),
|
|
994
|
+
volumeMounts: !item["volumeMounts"]
|
|
995
|
+
? item["volumeMounts"]
|
|
996
|
+
: volumeMountArraySerializer(item["volumeMounts"]),
|
|
997
|
+
securityContext: !item["securityContext"]
|
|
998
|
+
? item["securityContext"]
|
|
999
|
+
: securityContextDefinitionSerializer(item["securityContext"]),
|
|
1000
|
+
};
|
|
1001
|
+
}
|
|
1002
|
+
export function initContainerPropertiesDefinitionDeserializer(item) {
|
|
1003
|
+
return {
|
|
1004
|
+
image: item["image"],
|
|
1005
|
+
command: !item["command"]
|
|
1006
|
+
? item["command"]
|
|
1007
|
+
: item["command"].map((p) => {
|
|
1008
|
+
return p;
|
|
1009
|
+
}),
|
|
1010
|
+
environmentVariables: !item["environmentVariables"]
|
|
1011
|
+
? item["environmentVariables"]
|
|
1012
|
+
: environmentVariableArrayDeserializer(item["environmentVariables"]),
|
|
1013
|
+
instanceView: !item["instanceView"]
|
|
1014
|
+
? item["instanceView"]
|
|
1015
|
+
: initContainerPropertiesDefinitionInstanceViewDeserializer(item["instanceView"]),
|
|
1016
|
+
volumeMounts: !item["volumeMounts"]
|
|
1017
|
+
? item["volumeMounts"]
|
|
1018
|
+
: volumeMountArrayDeserializer(item["volumeMounts"]),
|
|
1019
|
+
securityContext: !item["securityContext"]
|
|
1020
|
+
? item["securityContext"]
|
|
1021
|
+
: securityContextDefinitionDeserializer(item["securityContext"]),
|
|
1022
|
+
};
|
|
1023
|
+
}
|
|
1024
|
+
export function initContainerPropertiesDefinitionInstanceViewDeserializer(item) {
|
|
1025
|
+
return {
|
|
1026
|
+
restartCount: item["restartCount"],
|
|
1027
|
+
currentState: !item["currentState"]
|
|
1028
|
+
? item["currentState"]
|
|
1029
|
+
: containerStateDeserializer(item["currentState"]),
|
|
1030
|
+
previousState: !item["previousState"]
|
|
1031
|
+
? item["previousState"]
|
|
1032
|
+
: containerStateDeserializer(item["previousState"]),
|
|
1033
|
+
events: !item["events"] ? item["events"] : eventArrayDeserializer(item["events"]),
|
|
1034
|
+
};
|
|
1035
|
+
}
|
|
1036
|
+
export function deploymentExtensionSpecArraySerializer(result) {
|
|
1037
|
+
return result.map((item) => {
|
|
1038
|
+
return deploymentExtensionSpecSerializer(item);
|
|
1039
|
+
});
|
|
1040
|
+
}
|
|
1041
|
+
export function deploymentExtensionSpecArrayDeserializer(result) {
|
|
1042
|
+
return result.map((item) => {
|
|
1043
|
+
return deploymentExtensionSpecDeserializer(item);
|
|
1044
|
+
});
|
|
1045
|
+
}
|
|
1046
|
+
export function deploymentExtensionSpecSerializer(item) {
|
|
1047
|
+
return {
|
|
1048
|
+
name: item["name"],
|
|
1049
|
+
properties: areAllPropsUndefined(item, [
|
|
1050
|
+
"extensionType",
|
|
1051
|
+
"version",
|
|
1052
|
+
"settings",
|
|
1053
|
+
"protectedSettings",
|
|
1054
|
+
])
|
|
1055
|
+
? undefined
|
|
1056
|
+
: _deploymentExtensionSpecPropertiesSerializer(item),
|
|
1057
|
+
};
|
|
1058
|
+
}
|
|
1059
|
+
export function deploymentExtensionSpecDeserializer(item) {
|
|
1060
|
+
return {
|
|
1061
|
+
name: item["name"],
|
|
1062
|
+
...(!item["properties"]
|
|
1063
|
+
? item["properties"]
|
|
1064
|
+
: _deploymentExtensionSpecPropertiesDeserializer(item["properties"])),
|
|
1065
|
+
};
|
|
1066
|
+
}
|
|
1067
|
+
export function deploymentExtensionSpecPropertiesSerializer(item) {
|
|
1068
|
+
return {
|
|
1069
|
+
extensionType: item["extensionType"],
|
|
1070
|
+
version: item["version"],
|
|
1071
|
+
settings: item["settings"],
|
|
1072
|
+
protectedSettings: item["protectedSettings"],
|
|
1073
|
+
};
|
|
1074
|
+
}
|
|
1075
|
+
export function deploymentExtensionSpecPropertiesDeserializer(item) {
|
|
1076
|
+
return {
|
|
1077
|
+
extensionType: item["extensionType"],
|
|
1078
|
+
version: item["version"],
|
|
1079
|
+
settings: item["settings"],
|
|
1080
|
+
protectedSettings: item["protectedSettings"],
|
|
1081
|
+
};
|
|
1082
|
+
}
|
|
1083
|
+
export function confidentialComputePropertiesSerializer(item) {
|
|
1084
|
+
return { ccePolicy: item["ccePolicy"] };
|
|
1085
|
+
}
|
|
1086
|
+
export function confidentialComputePropertiesDeserializer(item) {
|
|
1087
|
+
return {
|
|
1088
|
+
ccePolicy: item["ccePolicy"],
|
|
1089
|
+
};
|
|
1090
|
+
}
|
|
1091
|
+
/** The priority of the container group. */
|
|
1092
|
+
export var KnownContainerGroupPriority;
|
|
1093
|
+
(function (KnownContainerGroupPriority) {
|
|
1094
|
+
/** Regular */
|
|
1095
|
+
KnownContainerGroupPriority["Regular"] = "Regular";
|
|
1096
|
+
/** Spot */
|
|
1097
|
+
KnownContainerGroupPriority["Spot"] = "Spot";
|
|
1098
|
+
})(KnownContainerGroupPriority || (KnownContainerGroupPriority = {}));
|
|
1099
|
+
export function identityAclsSerializer(item) {
|
|
1100
|
+
return {
|
|
1101
|
+
defaultAccess: item["defaultAccess"],
|
|
1102
|
+
acls: !item["acls"] ? item["acls"] : identityAccessControlArraySerializer(item["acls"]),
|
|
1103
|
+
};
|
|
1104
|
+
}
|
|
1105
|
+
export function identityAclsDeserializer(item) {
|
|
1106
|
+
return {
|
|
1107
|
+
defaultAccess: item["defaultAccess"],
|
|
1108
|
+
acls: !item["acls"] ? item["acls"] : identityAccessControlArrayDeserializer(item["acls"]),
|
|
1109
|
+
};
|
|
1110
|
+
}
|
|
1111
|
+
/** The access level of an identity. */
|
|
1112
|
+
export var KnownIdentityAccessLevel;
|
|
1113
|
+
(function (KnownIdentityAccessLevel) {
|
|
1114
|
+
/** All */
|
|
1115
|
+
KnownIdentityAccessLevel["All"] = "All";
|
|
1116
|
+
/** System */
|
|
1117
|
+
KnownIdentityAccessLevel["System"] = "System";
|
|
1118
|
+
/** User */
|
|
1119
|
+
KnownIdentityAccessLevel["User"] = "User";
|
|
1120
|
+
})(KnownIdentityAccessLevel || (KnownIdentityAccessLevel = {}));
|
|
1121
|
+
export function identityAccessControlArraySerializer(result) {
|
|
1122
|
+
return result.map((item) => {
|
|
1123
|
+
return identityAccessControlSerializer(item);
|
|
1124
|
+
});
|
|
1125
|
+
}
|
|
1126
|
+
export function identityAccessControlArrayDeserializer(result) {
|
|
1127
|
+
return result.map((item) => {
|
|
1128
|
+
return identityAccessControlDeserializer(item);
|
|
1129
|
+
});
|
|
1130
|
+
}
|
|
1131
|
+
export function identityAccessControlSerializer(item) {
|
|
1132
|
+
return { access: item["access"], identity: item["identity"] };
|
|
1133
|
+
}
|
|
1134
|
+
export function identityAccessControlDeserializer(item) {
|
|
1135
|
+
return {
|
|
1136
|
+
access: item["access"],
|
|
1137
|
+
identity: item["identity"],
|
|
1138
|
+
};
|
|
1139
|
+
}
|
|
1140
|
+
export function containerGroupProfileReferenceDefinitionSerializer(item) {
|
|
1141
|
+
return { id: item["id"], revision: item["revision"] };
|
|
1142
|
+
}
|
|
1143
|
+
export function containerGroupProfileReferenceDefinitionDeserializer(item) {
|
|
1144
|
+
return {
|
|
1145
|
+
id: item["id"],
|
|
1146
|
+
revision: item["revision"],
|
|
1147
|
+
};
|
|
1148
|
+
}
|
|
1149
|
+
export function standbyPoolProfileDefinitionSerializer(item) {
|
|
1150
|
+
return {
|
|
1151
|
+
id: item["id"],
|
|
1152
|
+
failContainerGroupCreateOnReuseFailure: item["failContainerGroupCreateOnReuseFailure"],
|
|
1153
|
+
};
|
|
1154
|
+
}
|
|
1155
|
+
export function standbyPoolProfileDefinitionDeserializer(item) {
|
|
1156
|
+
return {
|
|
1157
|
+
id: item["id"],
|
|
1158
|
+
failContainerGroupCreateOnReuseFailure: item["failContainerGroupCreateOnReuseFailure"],
|
|
1159
|
+
};
|
|
1160
|
+
}
|
|
1161
|
+
export function proxyResourceSerializer(_item) {
|
|
1162
|
+
return {};
|
|
1163
|
+
}
|
|
1164
|
+
export function proxyResourceDeserializer(item) {
|
|
1165
|
+
return {
|
|
1166
|
+
id: item["id"],
|
|
1167
|
+
name: item["name"],
|
|
1168
|
+
type: item["type"],
|
|
1169
|
+
systemData: !item["systemData"]
|
|
1170
|
+
? item["systemData"]
|
|
1171
|
+
: systemDataDeserializer(item["systemData"]),
|
|
1172
|
+
};
|
|
1173
|
+
}
|
|
1174
|
+
export function armResourceSerializer(_item) {
|
|
1175
|
+
return {};
|
|
1176
|
+
}
|
|
1177
|
+
export function armResourceDeserializer(item) {
|
|
1178
|
+
return {
|
|
1179
|
+
id: item["id"],
|
|
1180
|
+
name: item["name"],
|
|
1181
|
+
type: item["type"],
|
|
1182
|
+
systemData: !item["systemData"]
|
|
1183
|
+
? item["systemData"]
|
|
1184
|
+
: systemDataDeserializer(item["systemData"]),
|
|
1185
|
+
};
|
|
1186
|
+
}
|
|
1187
|
+
export function systemDataDeserializer(item) {
|
|
1188
|
+
return {
|
|
1189
|
+
createdBy: item["createdBy"],
|
|
1190
|
+
createdByType: item["createdByType"],
|
|
1191
|
+
createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
|
|
1192
|
+
lastModifiedBy: item["lastModifiedBy"],
|
|
1193
|
+
lastModifiedByType: item["lastModifiedByType"],
|
|
1194
|
+
lastModifiedAt: !item["lastModifiedAt"]
|
|
1195
|
+
? item["lastModifiedAt"]
|
|
1196
|
+
: new Date(item["lastModifiedAt"]),
|
|
1197
|
+
};
|
|
1198
|
+
}
|
|
1199
|
+
/** The kind of entity that created the resource. */
|
|
1200
|
+
export var KnownCreatedByType;
|
|
1201
|
+
(function (KnownCreatedByType) {
|
|
1202
|
+
/** The entity was created by a user. */
|
|
1203
|
+
KnownCreatedByType["User"] = "User";
|
|
1204
|
+
/** The entity was created by an application. */
|
|
1205
|
+
KnownCreatedByType["Application"] = "Application";
|
|
1206
|
+
/** The entity was created by a managed identity. */
|
|
1207
|
+
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
1208
|
+
/** The entity was created by a key. */
|
|
1209
|
+
KnownCreatedByType["Key"] = "Key";
|
|
1210
|
+
})(KnownCreatedByType || (KnownCreatedByType = {}));
|
|
1211
|
+
export function errorDetailDeserializer(item) {
|
|
1212
|
+
return {
|
|
1213
|
+
code: item["code"],
|
|
1214
|
+
message: item["message"],
|
|
1215
|
+
target: item["target"],
|
|
1216
|
+
details: !item["details"] ? item["details"] : errorDetailArrayDeserializer(item["details"]),
|
|
1217
|
+
additionalInfo: !item["additionalInfo"]
|
|
1218
|
+
? item["additionalInfo"]
|
|
1219
|
+
: errorAdditionalInfoArrayDeserializer(item["additionalInfo"]),
|
|
1220
|
+
};
|
|
1221
|
+
}
|
|
1222
|
+
export function errorDetailArrayDeserializer(result) {
|
|
1223
|
+
return result.map((item) => {
|
|
1224
|
+
return errorDetailDeserializer(item);
|
|
1225
|
+
});
|
|
1226
|
+
}
|
|
1227
|
+
export function errorAdditionalInfoArrayDeserializer(result) {
|
|
1228
|
+
return result.map((item) => {
|
|
1229
|
+
return errorAdditionalInfoDeserializer(item);
|
|
1230
|
+
});
|
|
1231
|
+
}
|
|
1232
|
+
export function errorAdditionalInfoDeserializer(item) {
|
|
1233
|
+
return {
|
|
1234
|
+
type: item["type"],
|
|
1235
|
+
info: item["info"],
|
|
1236
|
+
};
|
|
1237
|
+
}
|
|
1238
|
+
export function resourceSerializer(item) {
|
|
1239
|
+
return {
|
|
1240
|
+
location: item["location"],
|
|
1241
|
+
tags: item["tags"],
|
|
1242
|
+
zones: !item["zones"]
|
|
1243
|
+
? item["zones"]
|
|
1244
|
+
: item["zones"].map((p) => {
|
|
1245
|
+
return p;
|
|
1246
|
+
}),
|
|
1247
|
+
};
|
|
1248
|
+
}
|
|
1249
|
+
export function _containerGroupListResultDeserializer(item) {
|
|
1250
|
+
return {
|
|
1251
|
+
value: containerGroupArrayDeserializer(item["value"]),
|
|
1252
|
+
nextLink: item["nextLink"],
|
|
1253
|
+
};
|
|
1254
|
+
}
|
|
1255
|
+
export function containerGroupArraySerializer(result) {
|
|
1256
|
+
return result.map((item) => {
|
|
1257
|
+
return containerGroupSerializer(item);
|
|
1258
|
+
});
|
|
1259
|
+
}
|
|
1260
|
+
export function containerGroupArrayDeserializer(result) {
|
|
1261
|
+
return result.map((item) => {
|
|
1262
|
+
return containerGroupDeserializer(item);
|
|
1263
|
+
});
|
|
1264
|
+
}
|
|
1265
|
+
export function nGroupSerializer(item) {
|
|
1266
|
+
return {
|
|
1267
|
+
properties: areAllPropsUndefined(item, [
|
|
1268
|
+
"elasticProfile",
|
|
1269
|
+
"placementProfile",
|
|
1270
|
+
"containerGroupProfiles",
|
|
1271
|
+
"updateProfile",
|
|
1272
|
+
])
|
|
1273
|
+
? undefined
|
|
1274
|
+
: _nGroupPropertiesSerializer(item),
|
|
1275
|
+
tags: item["tags"],
|
|
1276
|
+
location: item["location"],
|
|
1277
|
+
zones: !item["zones"]
|
|
1278
|
+
? item["zones"]
|
|
1279
|
+
: item["zones"].map((p) => {
|
|
1280
|
+
return p;
|
|
1281
|
+
}),
|
|
1282
|
+
identity: !item["identity"] ? item["identity"] : nGroupIdentitySerializer(item["identity"]),
|
|
1283
|
+
};
|
|
1284
|
+
}
|
|
1285
|
+
export function nGroupDeserializer(item) {
|
|
1286
|
+
return {
|
|
1287
|
+
id: item["id"],
|
|
1288
|
+
name: item["name"],
|
|
1289
|
+
type: item["type"],
|
|
1290
|
+
systemData: !item["systemData"]
|
|
1291
|
+
? item["systemData"]
|
|
1292
|
+
: systemDataDeserializer(item["systemData"]),
|
|
1293
|
+
...(!item["properties"]
|
|
1294
|
+
? item["properties"]
|
|
1295
|
+
: _nGroupPropertiesDeserializer(item["properties"])),
|
|
1296
|
+
tags: !item["tags"]
|
|
1297
|
+
? item["tags"]
|
|
1298
|
+
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
1299
|
+
location: item["location"],
|
|
1300
|
+
zones: !item["zones"]
|
|
1301
|
+
? item["zones"]
|
|
1302
|
+
: item["zones"].map((p) => {
|
|
1303
|
+
return p;
|
|
1304
|
+
}),
|
|
1305
|
+
identity: !item["identity"] ? item["identity"] : nGroupIdentityDeserializer(item["identity"]),
|
|
1306
|
+
};
|
|
1307
|
+
}
|
|
1308
|
+
export function nGroupPropertiesSerializer(item) {
|
|
1309
|
+
return {
|
|
1310
|
+
elasticProfile: !item["elasticProfile"]
|
|
1311
|
+
? item["elasticProfile"]
|
|
1312
|
+
: elasticProfileSerializer(item["elasticProfile"]),
|
|
1313
|
+
placementProfile: !item["placementProfile"]
|
|
1314
|
+
? item["placementProfile"]
|
|
1315
|
+
: placementProfileSerializer(item["placementProfile"]),
|
|
1316
|
+
containerGroupProfiles: !item["containerGroupProfiles"]
|
|
1317
|
+
? item["containerGroupProfiles"]
|
|
1318
|
+
: containerGroupProfileStubArraySerializer(item["containerGroupProfiles"]),
|
|
1319
|
+
updateProfile: !item["updateProfile"]
|
|
1320
|
+
? item["updateProfile"]
|
|
1321
|
+
: updateProfileSerializer(item["updateProfile"]),
|
|
1322
|
+
};
|
|
1323
|
+
}
|
|
1324
|
+
export function nGroupPropertiesDeserializer(item) {
|
|
1325
|
+
return {
|
|
1326
|
+
elasticProfile: !item["elasticProfile"]
|
|
1327
|
+
? item["elasticProfile"]
|
|
1328
|
+
: elasticProfileDeserializer(item["elasticProfile"]),
|
|
1329
|
+
placementProfile: !item["placementProfile"]
|
|
1330
|
+
? item["placementProfile"]
|
|
1331
|
+
: placementProfileDeserializer(item["placementProfile"]),
|
|
1332
|
+
containerGroupProfiles: !item["containerGroupProfiles"]
|
|
1333
|
+
? item["containerGroupProfiles"]
|
|
1334
|
+
: containerGroupProfileStubArrayDeserializer(item["containerGroupProfiles"]),
|
|
1335
|
+
provisioningState: item["provisioningState"],
|
|
1336
|
+
updateProfile: !item["updateProfile"]
|
|
1337
|
+
? item["updateProfile"]
|
|
1338
|
+
: updateProfileDeserializer(item["updateProfile"]),
|
|
1339
|
+
};
|
|
1340
|
+
}
|
|
1341
|
+
export function elasticProfileSerializer(item) {
|
|
1342
|
+
return {
|
|
1343
|
+
desiredCount: item["desiredCount"],
|
|
1344
|
+
maintainDesiredCount: item["maintainDesiredCount"],
|
|
1345
|
+
containerGroupNamingPolicy: !item["containerGroupNamingPolicy"]
|
|
1346
|
+
? item["containerGroupNamingPolicy"]
|
|
1347
|
+
: elasticProfileContainerGroupNamingPolicySerializer(item["containerGroupNamingPolicy"]),
|
|
1348
|
+
};
|
|
1349
|
+
}
|
|
1350
|
+
export function elasticProfileDeserializer(item) {
|
|
1351
|
+
return {
|
|
1352
|
+
desiredCount: item["desiredCount"],
|
|
1353
|
+
maintainDesiredCount: item["maintainDesiredCount"],
|
|
1354
|
+
containerGroupNamingPolicy: !item["containerGroupNamingPolicy"]
|
|
1355
|
+
? item["containerGroupNamingPolicy"]
|
|
1356
|
+
: elasticProfileContainerGroupNamingPolicyDeserializer(item["containerGroupNamingPolicy"]),
|
|
1357
|
+
};
|
|
1358
|
+
}
|
|
1359
|
+
export function elasticProfileContainerGroupNamingPolicySerializer(item) {
|
|
1360
|
+
return {
|
|
1361
|
+
guidNamingPolicy: !item["guidNamingPolicy"]
|
|
1362
|
+
? item["guidNamingPolicy"]
|
|
1363
|
+
: elasticProfileContainerGroupNamingPolicyGuidNamingPolicySerializer(item["guidNamingPolicy"]),
|
|
1364
|
+
};
|
|
1365
|
+
}
|
|
1366
|
+
export function elasticProfileContainerGroupNamingPolicyDeserializer(item) {
|
|
1367
|
+
return {
|
|
1368
|
+
guidNamingPolicy: !item["guidNamingPolicy"]
|
|
1369
|
+
? item["guidNamingPolicy"]
|
|
1370
|
+
: elasticProfileContainerGroupNamingPolicyGuidNamingPolicyDeserializer(item["guidNamingPolicy"]),
|
|
1371
|
+
};
|
|
1372
|
+
}
|
|
1373
|
+
export function elasticProfileContainerGroupNamingPolicyGuidNamingPolicySerializer(item) {
|
|
1374
|
+
return { prefix: item["prefix"] };
|
|
1375
|
+
}
|
|
1376
|
+
export function elasticProfileContainerGroupNamingPolicyGuidNamingPolicyDeserializer(item) {
|
|
1377
|
+
return {
|
|
1378
|
+
prefix: item["prefix"],
|
|
1379
|
+
};
|
|
1380
|
+
}
|
|
1381
|
+
export function placementProfileSerializer(item) {
|
|
1382
|
+
return { faultDomainCount: item["faultDomainCount"] };
|
|
1383
|
+
}
|
|
1384
|
+
export function placementProfileDeserializer(item) {
|
|
1385
|
+
return {
|
|
1386
|
+
faultDomainCount: item["faultDomainCount"],
|
|
1387
|
+
};
|
|
1388
|
+
}
|
|
1389
|
+
export function containerGroupProfileStubArraySerializer(result) {
|
|
1390
|
+
return result.map((item) => {
|
|
1391
|
+
return containerGroupProfileStubSerializer(item);
|
|
1392
|
+
});
|
|
1393
|
+
}
|
|
1394
|
+
export function containerGroupProfileStubArrayDeserializer(result) {
|
|
1395
|
+
return result.map((item) => {
|
|
1396
|
+
return containerGroupProfileStubDeserializer(item);
|
|
1397
|
+
});
|
|
1398
|
+
}
|
|
1399
|
+
export function containerGroupProfileStubSerializer(item) {
|
|
1400
|
+
return {
|
|
1401
|
+
resource: !item["resource"] ? item["resource"] : apiEntityReferenceSerializer(item["resource"]),
|
|
1402
|
+
revision: item["revision"],
|
|
1403
|
+
networkProfile: !item["networkProfile"]
|
|
1404
|
+
? item["networkProfile"]
|
|
1405
|
+
: networkProfileSerializer(item["networkProfile"]),
|
|
1406
|
+
storageProfile: !item["storageProfile"]
|
|
1407
|
+
? item["storageProfile"]
|
|
1408
|
+
: storageProfileSerializer(item["storageProfile"]),
|
|
1409
|
+
containerGroupProperties: !item["containerGroupProperties"]
|
|
1410
|
+
? item["containerGroupProperties"]
|
|
1411
|
+
: nGroupContainerGroupPropertiesSerializer(item["containerGroupProperties"]),
|
|
1412
|
+
};
|
|
1413
|
+
}
|
|
1414
|
+
export function containerGroupProfileStubDeserializer(item) {
|
|
1415
|
+
return {
|
|
1416
|
+
resource: !item["resource"]
|
|
1417
|
+
? item["resource"]
|
|
1418
|
+
: apiEntityReferenceDeserializer(item["resource"]),
|
|
1419
|
+
revision: item["revision"],
|
|
1420
|
+
networkProfile: !item["networkProfile"]
|
|
1421
|
+
? item["networkProfile"]
|
|
1422
|
+
: networkProfileDeserializer(item["networkProfile"]),
|
|
1423
|
+
storageProfile: !item["storageProfile"]
|
|
1424
|
+
? item["storageProfile"]
|
|
1425
|
+
: storageProfileDeserializer(item["storageProfile"]),
|
|
1426
|
+
containerGroupProperties: !item["containerGroupProperties"]
|
|
1427
|
+
? item["containerGroupProperties"]
|
|
1428
|
+
: nGroupContainerGroupPropertiesDeserializer(item["containerGroupProperties"]),
|
|
1429
|
+
};
|
|
1430
|
+
}
|
|
1431
|
+
export function apiEntityReferenceSerializer(item) {
|
|
1432
|
+
return { id: item["id"] };
|
|
1433
|
+
}
|
|
1434
|
+
export function apiEntityReferenceDeserializer(item) {
|
|
1435
|
+
return {
|
|
1436
|
+
id: item["id"],
|
|
1437
|
+
};
|
|
1438
|
+
}
|
|
1439
|
+
export function networkProfileSerializer(item) {
|
|
1440
|
+
return {
|
|
1441
|
+
loadBalancer: !item["loadBalancer"]
|
|
1442
|
+
? item["loadBalancer"]
|
|
1443
|
+
: loadBalancerSerializer(item["loadBalancer"]),
|
|
1444
|
+
applicationGateway: !item["applicationGateway"]
|
|
1445
|
+
? item["applicationGateway"]
|
|
1446
|
+
: applicationGatewaySerializer(item["applicationGateway"]),
|
|
1447
|
+
};
|
|
1448
|
+
}
|
|
1449
|
+
export function networkProfileDeserializer(item) {
|
|
1450
|
+
return {
|
|
1451
|
+
loadBalancer: !item["loadBalancer"]
|
|
1452
|
+
? item["loadBalancer"]
|
|
1453
|
+
: loadBalancerDeserializer(item["loadBalancer"]),
|
|
1454
|
+
applicationGateway: !item["applicationGateway"]
|
|
1455
|
+
? item["applicationGateway"]
|
|
1456
|
+
: applicationGatewayDeserializer(item["applicationGateway"]),
|
|
1457
|
+
};
|
|
1458
|
+
}
|
|
1459
|
+
export function loadBalancerSerializer(item) {
|
|
1460
|
+
return {
|
|
1461
|
+
backendAddressPools: !item["backendAddressPools"]
|
|
1462
|
+
? item["backendAddressPools"]
|
|
1463
|
+
: loadBalancerBackendAddressPoolArraySerializer(item["backendAddressPools"]),
|
|
1464
|
+
};
|
|
1465
|
+
}
|
|
1466
|
+
export function loadBalancerDeserializer(item) {
|
|
1467
|
+
return {
|
|
1468
|
+
backendAddressPools: !item["backendAddressPools"]
|
|
1469
|
+
? item["backendAddressPools"]
|
|
1470
|
+
: loadBalancerBackendAddressPoolArrayDeserializer(item["backendAddressPools"]),
|
|
1471
|
+
};
|
|
1472
|
+
}
|
|
1473
|
+
export function loadBalancerBackendAddressPoolArraySerializer(result) {
|
|
1474
|
+
return result.map((item) => {
|
|
1475
|
+
return loadBalancerBackendAddressPoolSerializer(item);
|
|
1476
|
+
});
|
|
1477
|
+
}
|
|
1478
|
+
export function loadBalancerBackendAddressPoolArrayDeserializer(result) {
|
|
1479
|
+
return result.map((item) => {
|
|
1480
|
+
return loadBalancerBackendAddressPoolDeserializer(item);
|
|
1481
|
+
});
|
|
1482
|
+
}
|
|
1483
|
+
export function loadBalancerBackendAddressPoolSerializer(item) {
|
|
1484
|
+
return { resource: item["resource"] };
|
|
1485
|
+
}
|
|
1486
|
+
export function loadBalancerBackendAddressPoolDeserializer(item) {
|
|
1487
|
+
return {
|
|
1488
|
+
resource: item["resource"],
|
|
1489
|
+
};
|
|
1490
|
+
}
|
|
1491
|
+
export function applicationGatewaySerializer(item) {
|
|
1492
|
+
return {
|
|
1493
|
+
resource: item["resource"],
|
|
1494
|
+
backendAddressPools: !item["backendAddressPools"]
|
|
1495
|
+
? item["backendAddressPools"]
|
|
1496
|
+
: applicationGatewayBackendAddressPoolArraySerializer(item["backendAddressPools"]),
|
|
1497
|
+
};
|
|
1498
|
+
}
|
|
1499
|
+
export function applicationGatewayDeserializer(item) {
|
|
1500
|
+
return {
|
|
1501
|
+
resource: item["resource"],
|
|
1502
|
+
backendAddressPools: !item["backendAddressPools"]
|
|
1503
|
+
? item["backendAddressPools"]
|
|
1504
|
+
: applicationGatewayBackendAddressPoolArrayDeserializer(item["backendAddressPools"]),
|
|
1505
|
+
};
|
|
1506
|
+
}
|
|
1507
|
+
export function applicationGatewayBackendAddressPoolArraySerializer(result) {
|
|
1508
|
+
return result.map((item) => {
|
|
1509
|
+
return applicationGatewayBackendAddressPoolSerializer(item);
|
|
1510
|
+
});
|
|
1511
|
+
}
|
|
1512
|
+
export function applicationGatewayBackendAddressPoolArrayDeserializer(result) {
|
|
1513
|
+
return result.map((item) => {
|
|
1514
|
+
return applicationGatewayBackendAddressPoolDeserializer(item);
|
|
1515
|
+
});
|
|
1516
|
+
}
|
|
1517
|
+
export function applicationGatewayBackendAddressPoolSerializer(item) {
|
|
1518
|
+
return { resource: item["resource"] };
|
|
1519
|
+
}
|
|
1520
|
+
export function applicationGatewayBackendAddressPoolDeserializer(item) {
|
|
1521
|
+
return {
|
|
1522
|
+
resource: item["resource"],
|
|
1523
|
+
};
|
|
1524
|
+
}
|
|
1525
|
+
export function storageProfileSerializer(item) {
|
|
1526
|
+
return {
|
|
1527
|
+
fileShares: !item["fileShares"]
|
|
1528
|
+
? item["fileShares"]
|
|
1529
|
+
: fileShareArraySerializer(item["fileShares"]),
|
|
1530
|
+
};
|
|
1531
|
+
}
|
|
1532
|
+
export function storageProfileDeserializer(item) {
|
|
1533
|
+
return {
|
|
1534
|
+
fileShares: !item["fileShares"]
|
|
1535
|
+
? item["fileShares"]
|
|
1536
|
+
: fileShareArrayDeserializer(item["fileShares"]),
|
|
1537
|
+
};
|
|
1538
|
+
}
|
|
1539
|
+
export function fileShareArraySerializer(result) {
|
|
1540
|
+
return result.map((item) => {
|
|
1541
|
+
return fileShareSerializer(item);
|
|
1542
|
+
});
|
|
1543
|
+
}
|
|
1544
|
+
export function fileShareArrayDeserializer(result) {
|
|
1545
|
+
return result.map((item) => {
|
|
1546
|
+
return fileShareDeserializer(item);
|
|
1547
|
+
});
|
|
1548
|
+
}
|
|
1549
|
+
export function fileShareSerializer(item) {
|
|
1550
|
+
return {
|
|
1551
|
+
name: item["name"],
|
|
1552
|
+
resourceGroupName: item["resourceGroupName"],
|
|
1553
|
+
storageAccountName: item["storageAccountName"],
|
|
1554
|
+
properties: !item["properties"]
|
|
1555
|
+
? item["properties"]
|
|
1556
|
+
: fileSharePropertiesSerializer(item["properties"]),
|
|
1557
|
+
};
|
|
1558
|
+
}
|
|
1559
|
+
export function fileShareDeserializer(item) {
|
|
1560
|
+
return {
|
|
1561
|
+
name: item["name"],
|
|
1562
|
+
resourceGroupName: item["resourceGroupName"],
|
|
1563
|
+
storageAccountName: item["storageAccountName"],
|
|
1564
|
+
properties: !item["properties"]
|
|
1565
|
+
? item["properties"]
|
|
1566
|
+
: fileSharePropertiesDeserializer(item["properties"]),
|
|
1567
|
+
};
|
|
1568
|
+
}
|
|
1569
|
+
export function fileSharePropertiesSerializer(item) {
|
|
1570
|
+
return { shareAccessType: item["shareAccessType"], shareAccessTier: item["shareAccessTier"] };
|
|
1571
|
+
}
|
|
1572
|
+
export function fileSharePropertiesDeserializer(item) {
|
|
1573
|
+
return {
|
|
1574
|
+
shareAccessType: item["shareAccessType"],
|
|
1575
|
+
shareAccessTier: item["shareAccessTier"],
|
|
1576
|
+
};
|
|
1577
|
+
}
|
|
1578
|
+
export function nGroupContainerGroupPropertiesSerializer(item) {
|
|
1579
|
+
return {
|
|
1580
|
+
subnetIds: !item["subnetIds"]
|
|
1581
|
+
? item["subnetIds"]
|
|
1582
|
+
: containerGroupSubnetIdArraySerializer(item["subnetIds"]),
|
|
1583
|
+
volumes: !item["volumes"]
|
|
1584
|
+
? item["volumes"]
|
|
1585
|
+
: nGroupCGPropertyVolumeArraySerializer(item["volumes"]),
|
|
1586
|
+
containers: !item["containers"]
|
|
1587
|
+
? item["containers"]
|
|
1588
|
+
: nGroupCGPropertyContainerArraySerializer(item["containers"]),
|
|
1589
|
+
};
|
|
1590
|
+
}
|
|
1591
|
+
export function nGroupContainerGroupPropertiesDeserializer(item) {
|
|
1592
|
+
return {
|
|
1593
|
+
subnetIds: !item["subnetIds"]
|
|
1594
|
+
? item["subnetIds"]
|
|
1595
|
+
: containerGroupSubnetIdArrayDeserializer(item["subnetIds"]),
|
|
1596
|
+
volumes: !item["volumes"]
|
|
1597
|
+
? item["volumes"]
|
|
1598
|
+
: nGroupCGPropertyVolumeArrayDeserializer(item["volumes"]),
|
|
1599
|
+
containers: !item["containers"]
|
|
1600
|
+
? item["containers"]
|
|
1601
|
+
: nGroupCGPropertyContainerArrayDeserializer(item["containers"]),
|
|
1602
|
+
};
|
|
1603
|
+
}
|
|
1604
|
+
export function nGroupCGPropertyVolumeArraySerializer(result) {
|
|
1605
|
+
return result.map((item) => {
|
|
1606
|
+
return nGroupCGPropertyVolumeSerializer(item);
|
|
1607
|
+
});
|
|
1608
|
+
}
|
|
1609
|
+
export function nGroupCGPropertyVolumeArrayDeserializer(result) {
|
|
1610
|
+
return result.map((item) => {
|
|
1611
|
+
return nGroupCGPropertyVolumeDeserializer(item);
|
|
1612
|
+
});
|
|
1613
|
+
}
|
|
1614
|
+
export function nGroupCGPropertyVolumeSerializer(item) {
|
|
1615
|
+
return {
|
|
1616
|
+
name: item["name"],
|
|
1617
|
+
azureFile: !item["azureFile"]
|
|
1618
|
+
? item["azureFile"]
|
|
1619
|
+
: azureFileVolumeSerializer(item["azureFile"]),
|
|
1620
|
+
};
|
|
1621
|
+
}
|
|
1622
|
+
export function nGroupCGPropertyVolumeDeserializer(item) {
|
|
1623
|
+
return {
|
|
1624
|
+
name: item["name"],
|
|
1625
|
+
azureFile: !item["azureFile"]
|
|
1626
|
+
? item["azureFile"]
|
|
1627
|
+
: azureFileVolumeDeserializer(item["azureFile"]),
|
|
1628
|
+
};
|
|
1629
|
+
}
|
|
1630
|
+
export function nGroupCGPropertyContainerArraySerializer(result) {
|
|
1631
|
+
return result.map((item) => {
|
|
1632
|
+
return nGroupCGPropertyContainerSerializer(item);
|
|
1633
|
+
});
|
|
1634
|
+
}
|
|
1635
|
+
export function nGroupCGPropertyContainerArrayDeserializer(result) {
|
|
1636
|
+
return result.map((item) => {
|
|
1637
|
+
return nGroupCGPropertyContainerDeserializer(item);
|
|
1638
|
+
});
|
|
1639
|
+
}
|
|
1640
|
+
export function nGroupCGPropertyContainerSerializer(item) {
|
|
1641
|
+
return {
|
|
1642
|
+
name: item["name"],
|
|
1643
|
+
properties: !item["properties"]
|
|
1644
|
+
? item["properties"]
|
|
1645
|
+
: nGroupCGPropertyContainerPropertiesSerializer(item["properties"]),
|
|
1646
|
+
};
|
|
1647
|
+
}
|
|
1648
|
+
export function nGroupCGPropertyContainerDeserializer(item) {
|
|
1649
|
+
return {
|
|
1650
|
+
name: item["name"],
|
|
1651
|
+
properties: !item["properties"]
|
|
1652
|
+
? item["properties"]
|
|
1653
|
+
: nGroupCGPropertyContainerPropertiesDeserializer(item["properties"]),
|
|
1654
|
+
};
|
|
1655
|
+
}
|
|
1656
|
+
export function nGroupCGPropertyContainerPropertiesSerializer(item) {
|
|
1657
|
+
return {
|
|
1658
|
+
volumeMounts: !item["volumeMounts"]
|
|
1659
|
+
? item["volumeMounts"]
|
|
1660
|
+
: volumeMountArraySerializer(item["volumeMounts"]),
|
|
1661
|
+
};
|
|
1662
|
+
}
|
|
1663
|
+
export function nGroupCGPropertyContainerPropertiesDeserializer(item) {
|
|
1664
|
+
return {
|
|
1665
|
+
volumeMounts: !item["volumeMounts"]
|
|
1666
|
+
? item["volumeMounts"]
|
|
1667
|
+
: volumeMountArrayDeserializer(item["volumeMounts"]),
|
|
1668
|
+
};
|
|
1669
|
+
}
|
|
1670
|
+
/** The provisioning state, which only appears in the response. */
|
|
1671
|
+
export var KnownNGroupProvisioningState;
|
|
1672
|
+
(function (KnownNGroupProvisioningState) {
|
|
1673
|
+
/** Creating */
|
|
1674
|
+
KnownNGroupProvisioningState["Creating"] = "Creating";
|
|
1675
|
+
/** Updating */
|
|
1676
|
+
KnownNGroupProvisioningState["Updating"] = "Updating";
|
|
1677
|
+
/** Failed */
|
|
1678
|
+
KnownNGroupProvisioningState["Failed"] = "Failed";
|
|
1679
|
+
/** Succeeded */
|
|
1680
|
+
KnownNGroupProvisioningState["Succeeded"] = "Succeeded";
|
|
1681
|
+
/** Canceled */
|
|
1682
|
+
KnownNGroupProvisioningState["Canceled"] = "Canceled";
|
|
1683
|
+
/** Deleting */
|
|
1684
|
+
KnownNGroupProvisioningState["Deleting"] = "Deleting";
|
|
1685
|
+
/** Migrating */
|
|
1686
|
+
KnownNGroupProvisioningState["Migrating"] = "Migrating";
|
|
1687
|
+
})(KnownNGroupProvisioningState || (KnownNGroupProvisioningState = {}));
|
|
1688
|
+
export function updateProfileSerializer(item) {
|
|
1689
|
+
return {
|
|
1690
|
+
updateMode: item["updateMode"],
|
|
1691
|
+
rollingUpdateProfile: !item["rollingUpdateProfile"]
|
|
1692
|
+
? item["rollingUpdateProfile"]
|
|
1693
|
+
: updateProfileRollingUpdateProfileSerializer(item["rollingUpdateProfile"]),
|
|
1694
|
+
};
|
|
1695
|
+
}
|
|
1696
|
+
export function updateProfileDeserializer(item) {
|
|
1697
|
+
return {
|
|
1698
|
+
updateMode: item["updateMode"],
|
|
1699
|
+
rollingUpdateProfile: !item["rollingUpdateProfile"]
|
|
1700
|
+
? item["rollingUpdateProfile"]
|
|
1701
|
+
: updateProfileRollingUpdateProfileDeserializer(item["rollingUpdateProfile"]),
|
|
1702
|
+
};
|
|
1703
|
+
}
|
|
1704
|
+
/** Known values of {@link NGroupUpdateMode} that the service accepts. */
|
|
1705
|
+
export var KnownNGroupUpdateMode;
|
|
1706
|
+
(function (KnownNGroupUpdateMode) {
|
|
1707
|
+
/** Manual */
|
|
1708
|
+
KnownNGroupUpdateMode["Manual"] = "Manual";
|
|
1709
|
+
/** Rolling */
|
|
1710
|
+
KnownNGroupUpdateMode["Rolling"] = "Rolling";
|
|
1711
|
+
})(KnownNGroupUpdateMode || (KnownNGroupUpdateMode = {}));
|
|
1712
|
+
export function updateProfileRollingUpdateProfileSerializer(item) {
|
|
1713
|
+
return {
|
|
1714
|
+
maxBatchPercent: item["maxBatchPercent"],
|
|
1715
|
+
maxUnhealthyPercent: item["maxUnhealthyPercent"],
|
|
1716
|
+
pauseTimeBetweenBatches: item["pauseTimeBetweenBatches"],
|
|
1717
|
+
inPlaceUpdate: item["inPlaceUpdate"],
|
|
1718
|
+
};
|
|
1719
|
+
}
|
|
1720
|
+
export function updateProfileRollingUpdateProfileDeserializer(item) {
|
|
1721
|
+
return {
|
|
1722
|
+
maxBatchPercent: item["maxBatchPercent"],
|
|
1723
|
+
maxUnhealthyPercent: item["maxUnhealthyPercent"],
|
|
1724
|
+
pauseTimeBetweenBatches: item["pauseTimeBetweenBatches"],
|
|
1725
|
+
inPlaceUpdate: item["inPlaceUpdate"],
|
|
1726
|
+
};
|
|
1727
|
+
}
|
|
1728
|
+
export function nGroupIdentitySerializer(item) {
|
|
1729
|
+
return {
|
|
1730
|
+
type: item["type"],
|
|
1731
|
+
userAssignedIdentities: !item["userAssignedIdentities"]
|
|
1732
|
+
? item["userAssignedIdentities"]
|
|
1733
|
+
: userAssignedIdentitiesRecordSerializer(item["userAssignedIdentities"]),
|
|
1734
|
+
};
|
|
1735
|
+
}
|
|
1736
|
+
export function nGroupIdentityDeserializer(item) {
|
|
1737
|
+
return {
|
|
1738
|
+
principalId: item["principalId"],
|
|
1739
|
+
tenantId: item["tenantId"],
|
|
1740
|
+
type: item["type"],
|
|
1741
|
+
userAssignedIdentities: !item["userAssignedIdentities"]
|
|
1742
|
+
? item["userAssignedIdentities"]
|
|
1743
|
+
: userAssignedIdentitiesRecordDeserializer(item["userAssignedIdentities"]),
|
|
1744
|
+
};
|
|
1745
|
+
}
|
|
1746
|
+
export function errorResponseDeserializer(item) {
|
|
1747
|
+
return {
|
|
1748
|
+
error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
|
|
1749
|
+
};
|
|
1750
|
+
}
|
|
1751
|
+
export function nGroupPatchSerializer(item) {
|
|
1752
|
+
return {
|
|
1753
|
+
properties: areAllPropsUndefined(item, [
|
|
1754
|
+
"elasticProfile",
|
|
1755
|
+
"placementProfile",
|
|
1756
|
+
"containerGroupProfiles",
|
|
1757
|
+
"updateProfile",
|
|
1758
|
+
])
|
|
1759
|
+
? undefined
|
|
1760
|
+
: _nGroupPatchPropertiesSerializer(item),
|
|
1761
|
+
identity: !item["identity"] ? item["identity"] : nGroupIdentitySerializer(item["identity"]),
|
|
1762
|
+
tags: item["tags"],
|
|
1763
|
+
zones: !item["zones"]
|
|
1764
|
+
? item["zones"]
|
|
1765
|
+
: item["zones"].map((p) => {
|
|
1766
|
+
return p;
|
|
1767
|
+
}),
|
|
1768
|
+
};
|
|
1769
|
+
}
|
|
1770
|
+
export function _nGroupsListResultDeserializer(item) {
|
|
1771
|
+
return {
|
|
1772
|
+
value: nGroupArrayDeserializer(item["value"]),
|
|
1773
|
+
nextLink: item["nextLink"],
|
|
1774
|
+
};
|
|
1775
|
+
}
|
|
1776
|
+
export function nGroupArraySerializer(result) {
|
|
1777
|
+
return result.map((item) => {
|
|
1778
|
+
return nGroupSerializer(item);
|
|
1779
|
+
});
|
|
1780
|
+
}
|
|
1781
|
+
export function nGroupArrayDeserializer(result) {
|
|
1782
|
+
return result.map((item) => {
|
|
1783
|
+
return nGroupDeserializer(item);
|
|
1784
|
+
});
|
|
1785
|
+
}
|
|
1786
|
+
export function containerGroupProfileSerializer(item) {
|
|
1787
|
+
return {
|
|
1788
|
+
properties: areAllPropsUndefined(item, [
|
|
1789
|
+
"sku",
|
|
1790
|
+
"encryptionProperties",
|
|
1791
|
+
"containers",
|
|
1792
|
+
"initContainers",
|
|
1793
|
+
"extensions",
|
|
1794
|
+
"imageRegistryCredentials",
|
|
1795
|
+
"restartPolicy",
|
|
1796
|
+
"shutdownGracePeriod",
|
|
1797
|
+
"ipAddress",
|
|
1798
|
+
"timeToLive",
|
|
1799
|
+
"osType",
|
|
1800
|
+
"volumes",
|
|
1801
|
+
"diagnostics",
|
|
1802
|
+
"priority",
|
|
1803
|
+
"confidentialComputeProperties",
|
|
1804
|
+
"securityContext",
|
|
1805
|
+
"useKrypton",
|
|
1806
|
+
])
|
|
1807
|
+
? undefined
|
|
1808
|
+
: _containerGroupProfilePropertiesSerializer(item),
|
|
1809
|
+
tags: item["tags"],
|
|
1810
|
+
location: item["location"],
|
|
1811
|
+
zones: !item["zones"]
|
|
1812
|
+
? item["zones"]
|
|
1813
|
+
: item["zones"].map((p) => {
|
|
1814
|
+
return p;
|
|
1815
|
+
}),
|
|
1816
|
+
};
|
|
1817
|
+
}
|
|
1818
|
+
export function containerGroupProfileDeserializer(item) {
|
|
1819
|
+
return {
|
|
1820
|
+
id: item["id"],
|
|
1821
|
+
name: item["name"],
|
|
1822
|
+
type: item["type"],
|
|
1823
|
+
systemData: !item["systemData"]
|
|
1824
|
+
? item["systemData"]
|
|
1825
|
+
: systemDataDeserializer(item["systemData"]),
|
|
1826
|
+
...(!item["properties"]
|
|
1827
|
+
? item["properties"]
|
|
1828
|
+
: _containerGroupProfilePropertiesDeserializer(item["properties"])),
|
|
1829
|
+
tags: !item["tags"]
|
|
1830
|
+
? item["tags"]
|
|
1831
|
+
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
1832
|
+
location: item["location"],
|
|
1833
|
+
zones: !item["zones"]
|
|
1834
|
+
? item["zones"]
|
|
1835
|
+
: item["zones"].map((p) => {
|
|
1836
|
+
return p;
|
|
1837
|
+
}),
|
|
1838
|
+
};
|
|
1839
|
+
}
|
|
1840
|
+
export function containerGroupProfilePropertiesSerializer(item) {
|
|
1841
|
+
return {
|
|
1842
|
+
sku: item["sku"],
|
|
1843
|
+
encryptionProperties: !item["encryptionProperties"]
|
|
1844
|
+
? item["encryptionProperties"]
|
|
1845
|
+
: encryptionPropertiesSerializer(item["encryptionProperties"]),
|
|
1846
|
+
containers: containerArraySerializer(item["containers"]),
|
|
1847
|
+
initContainers: !item["initContainers"]
|
|
1848
|
+
? item["initContainers"]
|
|
1849
|
+
: initContainerDefinitionArraySerializer(item["initContainers"]),
|
|
1850
|
+
extensions: !item["extensions"]
|
|
1851
|
+
? item["extensions"]
|
|
1852
|
+
: deploymentExtensionSpecArraySerializer(item["extensions"]),
|
|
1853
|
+
imageRegistryCredentials: !item["imageRegistryCredentials"]
|
|
1854
|
+
? item["imageRegistryCredentials"]
|
|
1855
|
+
: imageRegistryCredentialArraySerializer(item["imageRegistryCredentials"]),
|
|
1856
|
+
restartPolicy: item["restartPolicy"],
|
|
1857
|
+
shutdownGracePeriod: !item["shutdownGracePeriod"]
|
|
1858
|
+
? item["shutdownGracePeriod"]
|
|
1859
|
+
: item["shutdownGracePeriod"].toISOString(),
|
|
1860
|
+
ipAddress: !item["ipAddress"] ? item["ipAddress"] : ipAddressSerializer(item["ipAddress"]),
|
|
1861
|
+
timeToLive: !item["timeToLive"] ? item["timeToLive"] : item["timeToLive"].toISOString(),
|
|
1862
|
+
osType: item["osType"],
|
|
1863
|
+
volumes: !item["volumes"] ? item["volumes"] : volumeArraySerializer(item["volumes"]),
|
|
1864
|
+
diagnostics: !item["diagnostics"]
|
|
1865
|
+
? item["diagnostics"]
|
|
1866
|
+
: containerGroupDiagnosticsSerializer(item["diagnostics"]),
|
|
1867
|
+
priority: item["priority"],
|
|
1868
|
+
confidentialComputeProperties: !item["confidentialComputeProperties"]
|
|
1869
|
+
? item["confidentialComputeProperties"]
|
|
1870
|
+
: confidentialComputePropertiesSerializer(item["confidentialComputeProperties"]),
|
|
1871
|
+
securityContext: !item["securityContext"]
|
|
1872
|
+
? item["securityContext"]
|
|
1873
|
+
: securityContextDefinitionSerializer(item["securityContext"]),
|
|
1874
|
+
useKrypton: item["useKrypton"],
|
|
1875
|
+
};
|
|
1876
|
+
}
|
|
1877
|
+
export function containerGroupProfilePropertiesDeserializer(item) {
|
|
1878
|
+
return {
|
|
1879
|
+
sku: item["sku"],
|
|
1880
|
+
encryptionProperties: !item["encryptionProperties"]
|
|
1881
|
+
? item["encryptionProperties"]
|
|
1882
|
+
: encryptionPropertiesDeserializer(item["encryptionProperties"]),
|
|
1883
|
+
containers: containerArrayDeserializer(item["containers"]),
|
|
1884
|
+
initContainers: !item["initContainers"]
|
|
1885
|
+
? item["initContainers"]
|
|
1886
|
+
: initContainerDefinitionArrayDeserializer(item["initContainers"]),
|
|
1887
|
+
extensions: !item["extensions"]
|
|
1888
|
+
? item["extensions"]
|
|
1889
|
+
: deploymentExtensionSpecArrayDeserializer(item["extensions"]),
|
|
1890
|
+
imageRegistryCredentials: !item["imageRegistryCredentials"]
|
|
1891
|
+
? item["imageRegistryCredentials"]
|
|
1892
|
+
: imageRegistryCredentialArrayDeserializer(item["imageRegistryCredentials"]),
|
|
1893
|
+
restartPolicy: item["restartPolicy"],
|
|
1894
|
+
shutdownGracePeriod: !item["shutdownGracePeriod"]
|
|
1895
|
+
? item["shutdownGracePeriod"]
|
|
1896
|
+
: new Date(item["shutdownGracePeriod"]),
|
|
1897
|
+
ipAddress: !item["ipAddress"] ? item["ipAddress"] : ipAddressDeserializer(item["ipAddress"]),
|
|
1898
|
+
timeToLive: !item["timeToLive"] ? item["timeToLive"] : new Date(item["timeToLive"]),
|
|
1899
|
+
osType: item["osType"],
|
|
1900
|
+
volumes: !item["volumes"] ? item["volumes"] : volumeArrayDeserializer(item["volumes"]),
|
|
1901
|
+
diagnostics: !item["diagnostics"]
|
|
1902
|
+
? item["diagnostics"]
|
|
1903
|
+
: containerGroupDiagnosticsDeserializer(item["diagnostics"]),
|
|
1904
|
+
priority: item["priority"],
|
|
1905
|
+
confidentialComputeProperties: !item["confidentialComputeProperties"]
|
|
1906
|
+
? item["confidentialComputeProperties"]
|
|
1907
|
+
: confidentialComputePropertiesDeserializer(item["confidentialComputeProperties"]),
|
|
1908
|
+
securityContext: !item["securityContext"]
|
|
1909
|
+
? item["securityContext"]
|
|
1910
|
+
: securityContextDefinitionDeserializer(item["securityContext"]),
|
|
1911
|
+
revision: item["revision"],
|
|
1912
|
+
registeredRevisions: !item["registeredRevisions"]
|
|
1913
|
+
? item["registeredRevisions"]
|
|
1914
|
+
: item["registeredRevisions"].map((p) => {
|
|
1915
|
+
return p;
|
|
1916
|
+
}),
|
|
1917
|
+
useKrypton: item["useKrypton"],
|
|
1918
|
+
};
|
|
1919
|
+
}
|
|
1920
|
+
export function _containerGroupProfileListResultDeserializer(item) {
|
|
1921
|
+
return {
|
|
1922
|
+
value: containerGroupProfileArrayDeserializer(item["value"]),
|
|
1923
|
+
nextLink: item["nextLink"],
|
|
1924
|
+
};
|
|
1925
|
+
}
|
|
1926
|
+
export function containerGroupProfileArraySerializer(result) {
|
|
1927
|
+
return result.map((item) => {
|
|
1928
|
+
return containerGroupProfileSerializer(item);
|
|
1929
|
+
});
|
|
1930
|
+
}
|
|
1931
|
+
export function containerGroupProfileArrayDeserializer(result) {
|
|
1932
|
+
return result.map((item) => {
|
|
1933
|
+
return containerGroupProfileDeserializer(item);
|
|
1934
|
+
});
|
|
1935
|
+
}
|
|
1936
|
+
export function containerGroupProfilePatchSerializer(item) {
|
|
1937
|
+
return { tags: item["tags"] };
|
|
1938
|
+
}
|
|
1939
|
+
export function _sandboxGroupListResultDeserializer(item) {
|
|
1940
|
+
return {
|
|
1941
|
+
value: sandboxGroupArrayDeserializer(item["value"]),
|
|
1942
|
+
nextLink: item["nextLink"],
|
|
1943
|
+
};
|
|
1944
|
+
}
|
|
1945
|
+
export function sandboxGroupArraySerializer(result) {
|
|
1946
|
+
return result.map((item) => {
|
|
1947
|
+
return sandboxGroupSerializer(item);
|
|
1948
|
+
});
|
|
1949
|
+
}
|
|
1950
|
+
export function sandboxGroupArrayDeserializer(result) {
|
|
1951
|
+
return result.map((item) => {
|
|
1952
|
+
return sandboxGroupDeserializer(item);
|
|
1953
|
+
});
|
|
1954
|
+
}
|
|
1955
|
+
export function sandboxGroupSerializer(item) {
|
|
1956
|
+
return {
|
|
1957
|
+
tags: item["tags"],
|
|
1958
|
+
location: item["location"],
|
|
1959
|
+
properties: !item["properties"]
|
|
1960
|
+
? item["properties"]
|
|
1961
|
+
: sandboxGroupPropertiesSerializer(item["properties"]),
|
|
1962
|
+
identity: !item["identity"]
|
|
1963
|
+
? item["identity"]
|
|
1964
|
+
: managedServiceIdentitySerializer(item["identity"]),
|
|
1965
|
+
};
|
|
1966
|
+
}
|
|
1967
|
+
export function sandboxGroupDeserializer(item) {
|
|
1968
|
+
return {
|
|
1969
|
+
tags: !item["tags"]
|
|
1970
|
+
? item["tags"]
|
|
1971
|
+
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
1972
|
+
location: item["location"],
|
|
1973
|
+
id: item["id"],
|
|
1974
|
+
name: item["name"],
|
|
1975
|
+
type: item["type"],
|
|
1976
|
+
systemData: !item["systemData"]
|
|
1977
|
+
? item["systemData"]
|
|
1978
|
+
: systemDataDeserializer(item["systemData"]),
|
|
1979
|
+
properties: !item["properties"]
|
|
1980
|
+
? item["properties"]
|
|
1981
|
+
: sandboxGroupPropertiesDeserializer(item["properties"]),
|
|
1982
|
+
identity: !item["identity"]
|
|
1983
|
+
? item["identity"]
|
|
1984
|
+
: managedServiceIdentityDeserializer(item["identity"]),
|
|
1985
|
+
};
|
|
1986
|
+
}
|
|
1987
|
+
export function sandboxGroupPropertiesSerializer(item) {
|
|
1988
|
+
return {
|
|
1989
|
+
networkProfile: !item["networkProfile"]
|
|
1990
|
+
? item["networkProfile"]
|
|
1991
|
+
: sandboxGroupNetworkProfileSerializer(item["networkProfile"]),
|
|
1992
|
+
};
|
|
1993
|
+
}
|
|
1994
|
+
export function sandboxGroupPropertiesDeserializer(item) {
|
|
1995
|
+
return {
|
|
1996
|
+
provisioningState: item["provisioningState"],
|
|
1997
|
+
networkProfile: !item["networkProfile"]
|
|
1998
|
+
? item["networkProfile"]
|
|
1999
|
+
: sandboxGroupNetworkProfileDeserializer(item["networkProfile"]),
|
|
2000
|
+
managementResourceGroupId: item["managementResourceGroupId"],
|
|
2001
|
+
};
|
|
2002
|
+
}
|
|
2003
|
+
/** The provisioning state of a SandboxGroup resource. */
|
|
2004
|
+
export var KnownSandboxGroupProvisioningState;
|
|
2005
|
+
(function (KnownSandboxGroupProvisioningState) {
|
|
2006
|
+
/** Resource has been created. */
|
|
2007
|
+
KnownSandboxGroupProvisioningState["Succeeded"] = "Succeeded";
|
|
2008
|
+
/** Resource creation failed. */
|
|
2009
|
+
KnownSandboxGroupProvisioningState["Failed"] = "Failed";
|
|
2010
|
+
/** Resource creation was canceled. */
|
|
2011
|
+
KnownSandboxGroupProvisioningState["Canceled"] = "Canceled";
|
|
2012
|
+
/** The resource is being updated. */
|
|
2013
|
+
KnownSandboxGroupProvisioningState["Updating"] = "Updating";
|
|
2014
|
+
/** The resource is being deleted. */
|
|
2015
|
+
KnownSandboxGroupProvisioningState["Deleting"] = "Deleting";
|
|
2016
|
+
/** The resource provisioning request was accepted but not yet started. */
|
|
2017
|
+
KnownSandboxGroupProvisioningState["Accepted"] = "Accepted";
|
|
2018
|
+
})(KnownSandboxGroupProvisioningState || (KnownSandboxGroupProvisioningState = {}));
|
|
2019
|
+
export function sandboxGroupNetworkProfileSerializer(item) {
|
|
2020
|
+
return {
|
|
2021
|
+
subnets: !item["subnets"] ? item["subnets"] : subnetReferenceArraySerializer(item["subnets"]),
|
|
2022
|
+
};
|
|
2023
|
+
}
|
|
2024
|
+
export function sandboxGroupNetworkProfileDeserializer(item) {
|
|
2025
|
+
return {
|
|
2026
|
+
subnets: !item["subnets"] ? item["subnets"] : subnetReferenceArrayDeserializer(item["subnets"]),
|
|
2027
|
+
};
|
|
2028
|
+
}
|
|
2029
|
+
export function subnetReferenceArraySerializer(result) {
|
|
2030
|
+
return result.map((item) => {
|
|
2031
|
+
return subnetReferenceSerializer(item);
|
|
2032
|
+
});
|
|
2033
|
+
}
|
|
2034
|
+
export function subnetReferenceArrayDeserializer(result) {
|
|
2035
|
+
return result.map((item) => {
|
|
2036
|
+
return subnetReferenceDeserializer(item);
|
|
2037
|
+
});
|
|
2038
|
+
}
|
|
2039
|
+
export function subnetReferenceSerializer(item) {
|
|
2040
|
+
return { id: item["id"] };
|
|
2041
|
+
}
|
|
2042
|
+
export function subnetReferenceDeserializer(item) {
|
|
2043
|
+
return {
|
|
2044
|
+
id: item["id"],
|
|
2045
|
+
};
|
|
2046
|
+
}
|
|
2047
|
+
export function managedServiceIdentitySerializer(item) {
|
|
2048
|
+
return { type: item["type"], userAssignedIdentities: item["userAssignedIdentities"] };
|
|
2049
|
+
}
|
|
2050
|
+
export function managedServiceIdentityDeserializer(item) {
|
|
2051
|
+
return {
|
|
2052
|
+
principalId: item["principalId"],
|
|
2053
|
+
tenantId: item["tenantId"],
|
|
2054
|
+
type: item["type"],
|
|
2055
|
+
userAssignedIdentities: !item["userAssignedIdentities"]
|
|
2056
|
+
? item["userAssignedIdentities"]
|
|
2057
|
+
: Object.fromEntries(Object.entries(item["userAssignedIdentities"]).map(([k, p]) => [
|
|
2058
|
+
k,
|
|
2059
|
+
!p ? p : userAssignedIdentityDeserializer(p),
|
|
2060
|
+
])),
|
|
2061
|
+
};
|
|
2062
|
+
}
|
|
2063
|
+
/** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
|
|
2064
|
+
export var KnownManagedServiceIdentityType;
|
|
2065
|
+
(function (KnownManagedServiceIdentityType) {
|
|
2066
|
+
/** No managed identity. */
|
|
2067
|
+
KnownManagedServiceIdentityType["None"] = "None";
|
|
2068
|
+
/** System assigned managed identity. */
|
|
2069
|
+
KnownManagedServiceIdentityType["SystemAssigned"] = "SystemAssigned";
|
|
2070
|
+
/** User assigned managed identity. */
|
|
2071
|
+
KnownManagedServiceIdentityType["UserAssigned"] = "UserAssigned";
|
|
2072
|
+
/** System and user assigned managed identity. */
|
|
2073
|
+
KnownManagedServiceIdentityType["SystemAssignedUserAssigned"] = "SystemAssigned,UserAssigned";
|
|
2074
|
+
})(KnownManagedServiceIdentityType || (KnownManagedServiceIdentityType = {}));
|
|
2075
|
+
export function userAssignedIdentitySerializer(_item) {
|
|
2076
|
+
return {};
|
|
2077
|
+
}
|
|
2078
|
+
export function userAssignedIdentityDeserializer(item) {
|
|
2079
|
+
return {
|
|
2080
|
+
principalId: item["principalId"],
|
|
2081
|
+
clientId: item["clientId"],
|
|
2082
|
+
};
|
|
2083
|
+
}
|
|
2084
|
+
export function trackedResourceSerializer(item) {
|
|
2085
|
+
return { tags: item["tags"], location: item["location"] };
|
|
2086
|
+
}
|
|
2087
|
+
export function trackedResourceDeserializer(item) {
|
|
2088
|
+
return {
|
|
2089
|
+
id: item["id"],
|
|
2090
|
+
name: item["name"],
|
|
2091
|
+
type: item["type"],
|
|
2092
|
+
systemData: !item["systemData"]
|
|
2093
|
+
? item["systemData"]
|
|
2094
|
+
: systemDataDeserializer(item["systemData"]),
|
|
2095
|
+
tags: !item["tags"]
|
|
2096
|
+
? item["tags"]
|
|
2097
|
+
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
2098
|
+
location: item["location"],
|
|
2099
|
+
};
|
|
2100
|
+
}
|
|
2101
|
+
export function sandboxGroupTagsUpdateSerializer(item) {
|
|
2102
|
+
return {
|
|
2103
|
+
tags: item["tags"],
|
|
2104
|
+
identity: !item["identity"]
|
|
2105
|
+
? item["identity"]
|
|
2106
|
+
: managedServiceIdentitySerializer(item["identity"]),
|
|
2107
|
+
};
|
|
2108
|
+
}
|
|
2109
|
+
export function sandboxGroupAccessTokenDeserializer(item) {
|
|
2110
|
+
return {
|
|
2111
|
+
endpoint: item["endpoint"],
|
|
2112
|
+
accessToken: item["accessToken"],
|
|
2113
|
+
notAfter: new Date(item["notAfter"]),
|
|
2114
|
+
};
|
|
2115
|
+
}
|
|
2116
|
+
export function logsDeserializer(item) {
|
|
2117
|
+
return {
|
|
2118
|
+
content: item["content"],
|
|
2119
|
+
};
|
|
2120
|
+
}
|
|
2121
|
+
export function containerExecRequestSerializer(item) {
|
|
2122
|
+
return {
|
|
2123
|
+
command: item["command"],
|
|
2124
|
+
terminalSize: !item["terminalSize"]
|
|
2125
|
+
? item["terminalSize"]
|
|
2126
|
+
: containerExecRequestTerminalSizeSerializer(item["terminalSize"]),
|
|
2127
|
+
};
|
|
2128
|
+
}
|
|
2129
|
+
export function containerExecRequestTerminalSizeSerializer(item) {
|
|
2130
|
+
return { rows: item["rows"], cols: item["cols"] };
|
|
2131
|
+
}
|
|
2132
|
+
export function containerExecResponseDeserializer(item) {
|
|
2133
|
+
return {
|
|
2134
|
+
webSocketUri: item["webSocketUri"],
|
|
2135
|
+
password: item["password"],
|
|
2136
|
+
};
|
|
2137
|
+
}
|
|
2138
|
+
export function containerAttachResponseDeserializer(item) {
|
|
2139
|
+
return {
|
|
2140
|
+
webSocketUri: item["webSocketUri"],
|
|
2141
|
+
password: item["password"],
|
|
2142
|
+
};
|
|
2143
|
+
}
|
|
2144
|
+
export function _usageListResultDeserializer(item) {
|
|
2145
|
+
return {
|
|
2146
|
+
value: !item["value"] ? item["value"] : usageArrayDeserializer(item["value"]),
|
|
2147
|
+
nextLink: item["nextLink"],
|
|
2148
|
+
};
|
|
2149
|
+
}
|
|
2150
|
+
export function usageArrayDeserializer(result) {
|
|
2151
|
+
return result.map((item) => {
|
|
2152
|
+
return usageDeserializer(item);
|
|
2153
|
+
});
|
|
2154
|
+
}
|
|
2155
|
+
export function usageDeserializer(item) {
|
|
2156
|
+
return {
|
|
2157
|
+
id: item["id"],
|
|
2158
|
+
unit: item["unit"],
|
|
2159
|
+
currentValue: item["currentValue"],
|
|
2160
|
+
limit: item["limit"],
|
|
2161
|
+
name: !item["name"] ? item["name"] : usageNameDeserializer(item["name"]),
|
|
2162
|
+
};
|
|
2163
|
+
}
|
|
2164
|
+
export function usageNameDeserializer(item) {
|
|
2165
|
+
return {
|
|
2166
|
+
value: item["value"],
|
|
2167
|
+
localizedValue: item["localizedValue"],
|
|
2168
|
+
};
|
|
2169
|
+
}
|
|
2170
|
+
export function _cachedImagesListResultDeserializer(item) {
|
|
2171
|
+
return {
|
|
2172
|
+
value: !item["value"] ? item["value"] : cachedImagesArrayDeserializer(item["value"]),
|
|
2173
|
+
nextLink: item["nextLink"],
|
|
2174
|
+
};
|
|
2175
|
+
}
|
|
2176
|
+
export function cachedImagesArrayDeserializer(result) {
|
|
2177
|
+
return result.map((item) => {
|
|
2178
|
+
return cachedImagesDeserializer(item);
|
|
2179
|
+
});
|
|
2180
|
+
}
|
|
2181
|
+
export function cachedImagesDeserializer(item) {
|
|
2182
|
+
return {
|
|
2183
|
+
osType: item["osType"],
|
|
2184
|
+
image: item["image"],
|
|
2185
|
+
};
|
|
2186
|
+
}
|
|
2187
|
+
export function _capabilitiesListResultDeserializer(item) {
|
|
2188
|
+
return {
|
|
2189
|
+
value: !item["value"] ? item["value"] : capabilitiesArrayDeserializer(item["value"]),
|
|
2190
|
+
nextLink: item["nextLink"],
|
|
2191
|
+
};
|
|
2192
|
+
}
|
|
2193
|
+
export function capabilitiesArrayDeserializer(result) {
|
|
2194
|
+
return result.map((item) => {
|
|
2195
|
+
return capabilitiesDeserializer(item);
|
|
2196
|
+
});
|
|
2197
|
+
}
|
|
2198
|
+
export function capabilitiesDeserializer(item) {
|
|
2199
|
+
return {
|
|
2200
|
+
resourceType: item["resourceType"],
|
|
2201
|
+
osType: item["osType"],
|
|
2202
|
+
location: item["location"],
|
|
2203
|
+
ipAddressType: item["ipAddressType"],
|
|
2204
|
+
gpu: item["gpu"],
|
|
2205
|
+
capabilities: !item["capabilities"]
|
|
2206
|
+
? item["capabilities"]
|
|
2207
|
+
: capabilitiesCapabilitiesDeserializer(item["capabilities"]),
|
|
2208
|
+
};
|
|
2209
|
+
}
|
|
2210
|
+
export function capabilitiesCapabilitiesDeserializer(item) {
|
|
2211
|
+
return {
|
|
2212
|
+
maxMemoryInGB: item["maxMemoryInGB"],
|
|
2213
|
+
maxCpu: item["maxCpu"],
|
|
2214
|
+
maxGpuCount: item["maxGpuCount"],
|
|
2215
|
+
};
|
|
2216
|
+
}
|
|
2217
|
+
/** The available API versions. */
|
|
2218
|
+
export var KnownVersions;
|
|
2219
|
+
(function (KnownVersions) {
|
|
2220
|
+
/** The 2025-09-01 API version. */
|
|
2221
|
+
KnownVersions["V20250901"] = "2025-09-01";
|
|
2222
|
+
/** The 2026-06-01-preview API version. */
|
|
2223
|
+
KnownVersions["V20260601Preview"] = "2026-06-01-preview";
|
|
2224
|
+
})(KnownVersions || (KnownVersions = {}));
|
|
2225
|
+
export function _containerPropertiesSerializer(item) {
|
|
2226
|
+
return {
|
|
2227
|
+
image: item["image"],
|
|
2228
|
+
command: !item["command"]
|
|
2229
|
+
? item["command"]
|
|
2230
|
+
: item["command"].map((p) => {
|
|
2231
|
+
return p;
|
|
2232
|
+
}),
|
|
2233
|
+
ports: !item["ports"] ? item["ports"] : containerPortArraySerializer(item["ports"]),
|
|
2234
|
+
environmentVariables: !item["environmentVariables"]
|
|
2235
|
+
? item["environmentVariables"]
|
|
2236
|
+
: environmentVariableArraySerializer(item["environmentVariables"]),
|
|
2237
|
+
resources: !item["resources"]
|
|
2238
|
+
? item["resources"]
|
|
2239
|
+
: resourceRequirementsSerializer(item["resources"]),
|
|
2240
|
+
volumeMounts: !item["volumeMounts"]
|
|
2241
|
+
? item["volumeMounts"]
|
|
2242
|
+
: volumeMountArraySerializer(item["volumeMounts"]),
|
|
2243
|
+
livenessProbe: !item["livenessProbe"]
|
|
2244
|
+
? item["livenessProbe"]
|
|
2245
|
+
: containerProbeSerializer(item["livenessProbe"]),
|
|
2246
|
+
readinessProbe: !item["readinessProbe"]
|
|
2247
|
+
? item["readinessProbe"]
|
|
2248
|
+
: containerProbeSerializer(item["readinessProbe"]),
|
|
2249
|
+
securityContext: !item["securityContext"]
|
|
2250
|
+
? item["securityContext"]
|
|
2251
|
+
: securityContextDefinitionSerializer(item["securityContext"]),
|
|
2252
|
+
configMap: !item["configMap"] ? item["configMap"] : configMapSerializer(item["configMap"]),
|
|
2253
|
+
};
|
|
2254
|
+
}
|
|
2255
|
+
export function _containerPropertiesDeserializer(item) {
|
|
2256
|
+
return {
|
|
2257
|
+
image: item["image"],
|
|
2258
|
+
command: !item["command"]
|
|
2259
|
+
? item["command"]
|
|
2260
|
+
: item["command"].map((p) => {
|
|
2261
|
+
return p;
|
|
2262
|
+
}),
|
|
2263
|
+
ports: !item["ports"] ? item["ports"] : containerPortArrayDeserializer(item["ports"]),
|
|
2264
|
+
environmentVariables: !item["environmentVariables"]
|
|
2265
|
+
? item["environmentVariables"]
|
|
2266
|
+
: environmentVariableArrayDeserializer(item["environmentVariables"]),
|
|
2267
|
+
instanceView: !item["instanceView"]
|
|
2268
|
+
? item["instanceView"]
|
|
2269
|
+
: containerPropertiesInstanceViewDeserializer(item["instanceView"]),
|
|
2270
|
+
resources: !item["resources"]
|
|
2271
|
+
? item["resources"]
|
|
2272
|
+
: resourceRequirementsDeserializer(item["resources"]),
|
|
2273
|
+
volumeMounts: !item["volumeMounts"]
|
|
2274
|
+
? item["volumeMounts"]
|
|
2275
|
+
: volumeMountArrayDeserializer(item["volumeMounts"]),
|
|
2276
|
+
livenessProbe: !item["livenessProbe"]
|
|
2277
|
+
? item["livenessProbe"]
|
|
2278
|
+
: containerProbeDeserializer(item["livenessProbe"]),
|
|
2279
|
+
readinessProbe: !item["readinessProbe"]
|
|
2280
|
+
? item["readinessProbe"]
|
|
2281
|
+
: containerProbeDeserializer(item["readinessProbe"]),
|
|
2282
|
+
securityContext: !item["securityContext"]
|
|
2283
|
+
? item["securityContext"]
|
|
2284
|
+
: securityContextDefinitionDeserializer(item["securityContext"]),
|
|
2285
|
+
configMap: !item["configMap"] ? item["configMap"] : configMapDeserializer(item["configMap"]),
|
|
2286
|
+
};
|
|
2287
|
+
}
|
|
2288
|
+
export function _initContainerDefinitionPropertiesSerializer(item) {
|
|
2289
|
+
return {
|
|
2290
|
+
image: item["image"],
|
|
2291
|
+
command: !item["command"]
|
|
2292
|
+
? item["command"]
|
|
2293
|
+
: item["command"].map((p) => {
|
|
2294
|
+
return p;
|
|
2295
|
+
}),
|
|
2296
|
+
environmentVariables: !item["environmentVariables"]
|
|
2297
|
+
? item["environmentVariables"]
|
|
2298
|
+
: environmentVariableArraySerializer(item["environmentVariables"]),
|
|
2299
|
+
volumeMounts: !item["volumeMounts"]
|
|
2300
|
+
? item["volumeMounts"]
|
|
2301
|
+
: volumeMountArraySerializer(item["volumeMounts"]),
|
|
2302
|
+
securityContext: !item["securityContext"]
|
|
2303
|
+
? item["securityContext"]
|
|
2304
|
+
: securityContextDefinitionSerializer(item["securityContext"]),
|
|
2305
|
+
};
|
|
2306
|
+
}
|
|
2307
|
+
export function _initContainerDefinitionPropertiesDeserializer(item) {
|
|
2308
|
+
return {
|
|
2309
|
+
image: item["image"],
|
|
2310
|
+
command: !item["command"]
|
|
2311
|
+
? item["command"]
|
|
2312
|
+
: item["command"].map((p) => {
|
|
2313
|
+
return p;
|
|
2314
|
+
}),
|
|
2315
|
+
environmentVariables: !item["environmentVariables"]
|
|
2316
|
+
? item["environmentVariables"]
|
|
2317
|
+
: environmentVariableArrayDeserializer(item["environmentVariables"]),
|
|
2318
|
+
instanceView: !item["instanceView"]
|
|
2319
|
+
? item["instanceView"]
|
|
2320
|
+
: initContainerPropertiesDefinitionInstanceViewDeserializer(item["instanceView"]),
|
|
2321
|
+
volumeMounts: !item["volumeMounts"]
|
|
2322
|
+
? item["volumeMounts"]
|
|
2323
|
+
: volumeMountArrayDeserializer(item["volumeMounts"]),
|
|
2324
|
+
securityContext: !item["securityContext"]
|
|
2325
|
+
? item["securityContext"]
|
|
2326
|
+
: securityContextDefinitionDeserializer(item["securityContext"]),
|
|
2327
|
+
};
|
|
2328
|
+
}
|
|
2329
|
+
export function _deploymentExtensionSpecPropertiesSerializer(item) {
|
|
2330
|
+
return {
|
|
2331
|
+
extensionType: item["extensionType"],
|
|
2332
|
+
version: item["version"],
|
|
2333
|
+
settings: item["settings"],
|
|
2334
|
+
protectedSettings: item["protectedSettings"],
|
|
2335
|
+
};
|
|
2336
|
+
}
|
|
2337
|
+
export function _deploymentExtensionSpecPropertiesDeserializer(item) {
|
|
2338
|
+
return {
|
|
2339
|
+
extensionType: item["extensionType"],
|
|
2340
|
+
version: item["version"],
|
|
2341
|
+
settings: item["settings"],
|
|
2342
|
+
protectedSettings: item["protectedSettings"],
|
|
2343
|
+
};
|
|
2344
|
+
}
|
|
2345
|
+
export function _containerGroupPropertiesSerializer(item) {
|
|
2346
|
+
return {
|
|
2347
|
+
secretReferences: !item["secretReferences"]
|
|
2348
|
+
? item["secretReferences"]
|
|
2349
|
+
: secretReferenceArraySerializer(item["secretReferences"]),
|
|
2350
|
+
containers: containerArraySerializer(item["containers"]),
|
|
2351
|
+
imageRegistryCredentials: !item["imageRegistryCredentials"]
|
|
2352
|
+
? item["imageRegistryCredentials"]
|
|
2353
|
+
: imageRegistryCredentialArraySerializer(item["imageRegistryCredentials"]),
|
|
2354
|
+
restartPolicy: item["restartPolicy"],
|
|
2355
|
+
ipAddress: !item["ipAddress"] ? item["ipAddress"] : ipAddressSerializer(item["ipAddress"]),
|
|
2356
|
+
osType: item["osType"],
|
|
2357
|
+
volumes: !item["volumes"] ? item["volumes"] : volumeArraySerializer(item["volumes"]),
|
|
2358
|
+
diagnostics: !item["diagnostics"]
|
|
2359
|
+
? item["diagnostics"]
|
|
2360
|
+
: containerGroupDiagnosticsSerializer(item["diagnostics"]),
|
|
2361
|
+
subnetIds: !item["subnetIds"]
|
|
2362
|
+
? item["subnetIds"]
|
|
2363
|
+
: containerGroupSubnetIdArraySerializer(item["subnetIds"]),
|
|
2364
|
+
dnsConfig: !item["dnsConfig"]
|
|
2365
|
+
? item["dnsConfig"]
|
|
2366
|
+
: dnsConfigurationSerializer(item["dnsConfig"]),
|
|
2367
|
+
sku: item["sku"],
|
|
2368
|
+
encryptionProperties: !item["encryptionProperties"]
|
|
2369
|
+
? item["encryptionProperties"]
|
|
2370
|
+
: encryptionPropertiesSerializer(item["encryptionProperties"]),
|
|
2371
|
+
initContainers: !item["initContainers"]
|
|
2372
|
+
? item["initContainers"]
|
|
2373
|
+
: initContainerDefinitionArraySerializer(item["initContainers"]),
|
|
2374
|
+
extensions: !item["extensions"]
|
|
2375
|
+
? item["extensions"]
|
|
2376
|
+
: deploymentExtensionSpecArraySerializer(item["extensions"]),
|
|
2377
|
+
confidentialComputeProperties: !item["confidentialComputeProperties"]
|
|
2378
|
+
? item["confidentialComputeProperties"]
|
|
2379
|
+
: confidentialComputePropertiesSerializer(item["confidentialComputeProperties"]),
|
|
2380
|
+
priority: item["priority"],
|
|
2381
|
+
identityAcls: !item["identityAcls"]
|
|
2382
|
+
? item["identityAcls"]
|
|
2383
|
+
: identityAclsSerializer(item["identityAcls"]),
|
|
2384
|
+
containerGroupProfile: !item["containerGroupProfile"]
|
|
2385
|
+
? item["containerGroupProfile"]
|
|
2386
|
+
: containerGroupProfileReferenceDefinitionSerializer(item["containerGroupProfile"]),
|
|
2387
|
+
standbyPoolProfile: !item["standbyPoolProfile"]
|
|
2388
|
+
? item["standbyPoolProfile"]
|
|
2389
|
+
: standbyPoolProfileDefinitionSerializer(item["standbyPoolProfile"]),
|
|
2390
|
+
};
|
|
2391
|
+
}
|
|
2392
|
+
export function _containerGroupPropertiesDeserializer(item) {
|
|
2393
|
+
return {
|
|
2394
|
+
provisioningState: item["provisioningState"],
|
|
2395
|
+
secretReferences: !item["secretReferences"]
|
|
2396
|
+
? item["secretReferences"]
|
|
2397
|
+
: secretReferenceArrayDeserializer(item["secretReferences"]),
|
|
2398
|
+
containers: containerArrayDeserializer(item["containers"]),
|
|
2399
|
+
imageRegistryCredentials: !item["imageRegistryCredentials"]
|
|
2400
|
+
? item["imageRegistryCredentials"]
|
|
2401
|
+
: imageRegistryCredentialArrayDeserializer(item["imageRegistryCredentials"]),
|
|
2402
|
+
restartPolicy: item["restartPolicy"],
|
|
2403
|
+
ipAddress: !item["ipAddress"] ? item["ipAddress"] : ipAddressDeserializer(item["ipAddress"]),
|
|
2404
|
+
osType: item["osType"],
|
|
2405
|
+
volumes: !item["volumes"] ? item["volumes"] : volumeArrayDeserializer(item["volumes"]),
|
|
2406
|
+
instanceView: !item["instanceView"]
|
|
2407
|
+
? item["instanceView"]
|
|
2408
|
+
: containerGroupPropertiesInstanceViewDeserializer(item["instanceView"]),
|
|
2409
|
+
diagnostics: !item["diagnostics"]
|
|
2410
|
+
? item["diagnostics"]
|
|
2411
|
+
: containerGroupDiagnosticsDeserializer(item["diagnostics"]),
|
|
2412
|
+
subnetIds: !item["subnetIds"]
|
|
2413
|
+
? item["subnetIds"]
|
|
2414
|
+
: containerGroupSubnetIdArrayDeserializer(item["subnetIds"]),
|
|
2415
|
+
dnsConfig: !item["dnsConfig"]
|
|
2416
|
+
? item["dnsConfig"]
|
|
2417
|
+
: dnsConfigurationDeserializer(item["dnsConfig"]),
|
|
2418
|
+
sku: item["sku"],
|
|
2419
|
+
encryptionProperties: !item["encryptionProperties"]
|
|
2420
|
+
? item["encryptionProperties"]
|
|
2421
|
+
: encryptionPropertiesDeserializer(item["encryptionProperties"]),
|
|
2422
|
+
initContainers: !item["initContainers"]
|
|
2423
|
+
? item["initContainers"]
|
|
2424
|
+
: initContainerDefinitionArrayDeserializer(item["initContainers"]),
|
|
2425
|
+
extensions: !item["extensions"]
|
|
2426
|
+
? item["extensions"]
|
|
2427
|
+
: deploymentExtensionSpecArrayDeserializer(item["extensions"]),
|
|
2428
|
+
confidentialComputeProperties: !item["confidentialComputeProperties"]
|
|
2429
|
+
? item["confidentialComputeProperties"]
|
|
2430
|
+
: confidentialComputePropertiesDeserializer(item["confidentialComputeProperties"]),
|
|
2431
|
+
priority: item["priority"],
|
|
2432
|
+
identityAcls: !item["identityAcls"]
|
|
2433
|
+
? item["identityAcls"]
|
|
2434
|
+
: identityAclsDeserializer(item["identityAcls"]),
|
|
2435
|
+
containerGroupProfile: !item["containerGroupProfile"]
|
|
2436
|
+
? item["containerGroupProfile"]
|
|
2437
|
+
: containerGroupProfileReferenceDefinitionDeserializer(item["containerGroupProfile"]),
|
|
2438
|
+
standbyPoolProfile: !item["standbyPoolProfile"]
|
|
2439
|
+
? item["standbyPoolProfile"]
|
|
2440
|
+
: standbyPoolProfileDefinitionDeserializer(item["standbyPoolProfile"]),
|
|
2441
|
+
isCreatedFromStandbyPool: item["isCreatedFromStandbyPool"],
|
|
2442
|
+
};
|
|
2443
|
+
}
|
|
2444
|
+
export function _nGroupPropertiesSerializer(item) {
|
|
2445
|
+
return {
|
|
2446
|
+
elasticProfile: !item["elasticProfile"]
|
|
2447
|
+
? item["elasticProfile"]
|
|
2448
|
+
: elasticProfileSerializer(item["elasticProfile"]),
|
|
2449
|
+
placementProfile: !item["placementProfile"]
|
|
2450
|
+
? item["placementProfile"]
|
|
2451
|
+
: placementProfileSerializer(item["placementProfile"]),
|
|
2452
|
+
containerGroupProfiles: !item["containerGroupProfiles"]
|
|
2453
|
+
? item["containerGroupProfiles"]
|
|
2454
|
+
: containerGroupProfileStubArraySerializer(item["containerGroupProfiles"]),
|
|
2455
|
+
updateProfile: !item["updateProfile"]
|
|
2456
|
+
? item["updateProfile"]
|
|
2457
|
+
: updateProfileSerializer(item["updateProfile"]),
|
|
2458
|
+
};
|
|
2459
|
+
}
|
|
2460
|
+
export function _nGroupPropertiesDeserializer(item) {
|
|
2461
|
+
return {
|
|
2462
|
+
elasticProfile: !item["elasticProfile"]
|
|
2463
|
+
? item["elasticProfile"]
|
|
2464
|
+
: elasticProfileDeserializer(item["elasticProfile"]),
|
|
2465
|
+
placementProfile: !item["placementProfile"]
|
|
2466
|
+
? item["placementProfile"]
|
|
2467
|
+
: placementProfileDeserializer(item["placementProfile"]),
|
|
2468
|
+
containerGroupProfiles: !item["containerGroupProfiles"]
|
|
2469
|
+
? item["containerGroupProfiles"]
|
|
2470
|
+
: containerGroupProfileStubArrayDeserializer(item["containerGroupProfiles"]),
|
|
2471
|
+
provisioningState: item["provisioningState"],
|
|
2472
|
+
updateProfile: !item["updateProfile"]
|
|
2473
|
+
? item["updateProfile"]
|
|
2474
|
+
: updateProfileDeserializer(item["updateProfile"]),
|
|
2475
|
+
};
|
|
2476
|
+
}
|
|
2477
|
+
export function _nGroupPatchPropertiesSerializer(item) {
|
|
2478
|
+
return {
|
|
2479
|
+
elasticProfile: !item["elasticProfile"]
|
|
2480
|
+
? item["elasticProfile"]
|
|
2481
|
+
: elasticProfileSerializer(item["elasticProfile"]),
|
|
2482
|
+
placementProfile: !item["placementProfile"]
|
|
2483
|
+
? item["placementProfile"]
|
|
2484
|
+
: placementProfileSerializer(item["placementProfile"]),
|
|
2485
|
+
containerGroupProfiles: !item["containerGroupProfiles"]
|
|
2486
|
+
? item["containerGroupProfiles"]
|
|
2487
|
+
: containerGroupProfileStubArraySerializer(item["containerGroupProfiles"]),
|
|
2488
|
+
updateProfile: !item["updateProfile"]
|
|
2489
|
+
? item["updateProfile"]
|
|
2490
|
+
: updateProfileSerializer(item["updateProfile"]),
|
|
2491
|
+
};
|
|
2492
|
+
}
|
|
2493
|
+
export function _nGroupPatchPropertiesDeserializer(item) {
|
|
2494
|
+
return {
|
|
2495
|
+
elasticProfile: !item["elasticProfile"]
|
|
2496
|
+
? item["elasticProfile"]
|
|
2497
|
+
: elasticProfileDeserializer(item["elasticProfile"]),
|
|
2498
|
+
placementProfile: !item["placementProfile"]
|
|
2499
|
+
? item["placementProfile"]
|
|
2500
|
+
: placementProfileDeserializer(item["placementProfile"]),
|
|
2501
|
+
containerGroupProfiles: !item["containerGroupProfiles"]
|
|
2502
|
+
? item["containerGroupProfiles"]
|
|
2503
|
+
: containerGroupProfileStubArrayDeserializer(item["containerGroupProfiles"]),
|
|
2504
|
+
provisioningState: item["provisioningState"],
|
|
2505
|
+
updateProfile: !item["updateProfile"]
|
|
2506
|
+
? item["updateProfile"]
|
|
2507
|
+
: updateProfileDeserializer(item["updateProfile"]),
|
|
2508
|
+
};
|
|
2509
|
+
}
|
|
2510
|
+
export function _containerGroupProfilePropertiesSerializer(item) {
|
|
2511
|
+
return {
|
|
2512
|
+
sku: item["sku"],
|
|
2513
|
+
encryptionProperties: !item["encryptionProperties"]
|
|
2514
|
+
? item["encryptionProperties"]
|
|
2515
|
+
: encryptionPropertiesSerializer(item["encryptionProperties"]),
|
|
2516
|
+
containers: !item["containers"]
|
|
2517
|
+
? item["containers"]
|
|
2518
|
+
: containerArraySerializer(item["containers"]),
|
|
2519
|
+
initContainers: !item["initContainers"]
|
|
2520
|
+
? item["initContainers"]
|
|
2521
|
+
: initContainerDefinitionArraySerializer(item["initContainers"]),
|
|
2522
|
+
extensions: !item["extensions"]
|
|
2523
|
+
? item["extensions"]
|
|
2524
|
+
: deploymentExtensionSpecArraySerializer(item["extensions"]),
|
|
2525
|
+
imageRegistryCredentials: !item["imageRegistryCredentials"]
|
|
2526
|
+
? item["imageRegistryCredentials"]
|
|
2527
|
+
: imageRegistryCredentialArraySerializer(item["imageRegistryCredentials"]),
|
|
2528
|
+
restartPolicy: item["restartPolicy"],
|
|
2529
|
+
shutdownGracePeriod: !item["shutdownGracePeriod"]
|
|
2530
|
+
? item["shutdownGracePeriod"]
|
|
2531
|
+
: item["shutdownGracePeriod"].toISOString(),
|
|
2532
|
+
ipAddress: !item["ipAddress"] ? item["ipAddress"] : ipAddressSerializer(item["ipAddress"]),
|
|
2533
|
+
timeToLive: !item["timeToLive"] ? item["timeToLive"] : item["timeToLive"].toISOString(),
|
|
2534
|
+
osType: item["osType"],
|
|
2535
|
+
volumes: !item["volumes"] ? item["volumes"] : volumeArraySerializer(item["volumes"]),
|
|
2536
|
+
diagnostics: !item["diagnostics"]
|
|
2537
|
+
? item["diagnostics"]
|
|
2538
|
+
: containerGroupDiagnosticsSerializer(item["diagnostics"]),
|
|
2539
|
+
priority: item["priority"],
|
|
2540
|
+
confidentialComputeProperties: !item["confidentialComputeProperties"]
|
|
2541
|
+
? item["confidentialComputeProperties"]
|
|
2542
|
+
: confidentialComputePropertiesSerializer(item["confidentialComputeProperties"]),
|
|
2543
|
+
securityContext: !item["securityContext"]
|
|
2544
|
+
? item["securityContext"]
|
|
2545
|
+
: securityContextDefinitionSerializer(item["securityContext"]),
|
|
2546
|
+
useKrypton: item["useKrypton"],
|
|
2547
|
+
};
|
|
2548
|
+
}
|
|
2549
|
+
export function _containerGroupProfilePropertiesDeserializer(item) {
|
|
2550
|
+
return {
|
|
2551
|
+
sku: item["sku"],
|
|
2552
|
+
encryptionProperties: !item["encryptionProperties"]
|
|
2553
|
+
? item["encryptionProperties"]
|
|
2554
|
+
: encryptionPropertiesDeserializer(item["encryptionProperties"]),
|
|
2555
|
+
containers: !item["containers"]
|
|
2556
|
+
? item["containers"]
|
|
2557
|
+
: containerArrayDeserializer(item["containers"]),
|
|
2558
|
+
initContainers: !item["initContainers"]
|
|
2559
|
+
? item["initContainers"]
|
|
2560
|
+
: initContainerDefinitionArrayDeserializer(item["initContainers"]),
|
|
2561
|
+
extensions: !item["extensions"]
|
|
2562
|
+
? item["extensions"]
|
|
2563
|
+
: deploymentExtensionSpecArrayDeserializer(item["extensions"]),
|
|
2564
|
+
imageRegistryCredentials: !item["imageRegistryCredentials"]
|
|
2565
|
+
? item["imageRegistryCredentials"]
|
|
2566
|
+
: imageRegistryCredentialArrayDeserializer(item["imageRegistryCredentials"]),
|
|
2567
|
+
restartPolicy: item["restartPolicy"],
|
|
2568
|
+
shutdownGracePeriod: !item["shutdownGracePeriod"]
|
|
2569
|
+
? item["shutdownGracePeriod"]
|
|
2570
|
+
: new Date(item["shutdownGracePeriod"]),
|
|
2571
|
+
ipAddress: !item["ipAddress"] ? item["ipAddress"] : ipAddressDeserializer(item["ipAddress"]),
|
|
2572
|
+
timeToLive: !item["timeToLive"] ? item["timeToLive"] : new Date(item["timeToLive"]),
|
|
2573
|
+
osType: item["osType"],
|
|
2574
|
+
volumes: !item["volumes"] ? item["volumes"] : volumeArrayDeserializer(item["volumes"]),
|
|
2575
|
+
diagnostics: !item["diagnostics"]
|
|
2576
|
+
? item["diagnostics"]
|
|
2577
|
+
: containerGroupDiagnosticsDeserializer(item["diagnostics"]),
|
|
2578
|
+
priority: item["priority"],
|
|
2579
|
+
confidentialComputeProperties: !item["confidentialComputeProperties"]
|
|
2580
|
+
? item["confidentialComputeProperties"]
|
|
2581
|
+
: confidentialComputePropertiesDeserializer(item["confidentialComputeProperties"]),
|
|
2582
|
+
securityContext: !item["securityContext"]
|
|
2583
|
+
? item["securityContext"]
|
|
2584
|
+
: securityContextDefinitionDeserializer(item["securityContext"]),
|
|
2585
|
+
revision: item["revision"],
|
|
2586
|
+
registeredRevisions: !item["registeredRevisions"]
|
|
2587
|
+
? item["registeredRevisions"]
|
|
2588
|
+
: item["registeredRevisions"].map((p) => {
|
|
2589
|
+
return p;
|
|
2590
|
+
}),
|
|
2591
|
+
useKrypton: item["useKrypton"],
|
|
2592
|
+
};
|
|
2593
|
+
}
|
|
2594
|
+
//# sourceMappingURL=models.js.map
|