@azure/arm-azurestackhci 4.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/api/arcSettings/operations.d.ts +0 -5
- package/dist/browser/api/arcSettings/operations.js +15 -20
- package/dist/browser/api/arcSettings/operations.js.map +1 -1
- package/dist/browser/api/azureStackHCIContext.js +4 -2
- package/dist/browser/api/azureStackHCIContext.js.map +1 -1
- package/dist/browser/api/clusters/operations.d.ts +0 -5
- package/dist/browser/api/clusters/operations.js +29 -34
- package/dist/browser/api/clusters/operations.js.map +1 -1
- package/dist/browser/api/deploymentSettings/operations.d.ts +0 -5
- package/dist/browser/api/deploymentSettings/operations.js +7 -12
- package/dist/browser/api/deploymentSettings/operations.js.map +1 -1
- package/dist/browser/api/edgeDeviceJobs/operations.d.ts +0 -5
- package/dist/browser/api/edgeDeviceJobs/operations.js +7 -12
- package/dist/browser/api/edgeDeviceJobs/operations.js.map +1 -1
- package/dist/browser/api/edgeDevices/operations.d.ts +0 -5
- package/dist/browser/api/edgeDevices/operations.js +11 -16
- package/dist/browser/api/edgeDevices/operations.js.map +1 -1
- package/dist/browser/api/extensions/operations.d.ts +0 -5
- package/dist/browser/api/extensions/operations.js +11 -16
- package/dist/browser/api/extensions/operations.js.map +1 -1
- package/dist/browser/api/offers/operations.js +5 -5
- package/dist/browser/api/offers/operations.js.map +1 -1
- package/dist/browser/api/operations/operations.js +2 -2
- package/dist/browser/api/operations/operations.js.map +1 -1
- package/dist/browser/api/securitySettings/operations.d.ts +0 -5
- package/dist/browser/api/securitySettings/operations.js +7 -12
- package/dist/browser/api/securitySettings/operations.js.map +1 -1
- package/dist/browser/api/skus/operations.js +3 -3
- package/dist/browser/api/skus/operations.js.map +1 -1
- package/dist/browser/api/updateRuns/operations.d.ts +0 -5
- package/dist/browser/api/updateRuns/operations.js +6 -11
- package/dist/browser/api/updateRuns/operations.js.map +1 -1
- package/dist/browser/api/updateSummaries/operations.d.ts +0 -5
- package/dist/browser/api/updateSummaries/operations.js +6 -11
- package/dist/browser/api/updateSummaries/operations.js.map +1 -1
- package/dist/browser/api/updateSummariesOperationGroup/index.d.ts +3 -0
- package/dist/browser/api/updateSummariesOperationGroup/index.js +4 -0
- package/dist/browser/api/updateSummariesOperationGroup/index.js.map +1 -0
- package/dist/browser/api/updateSummariesOperationGroup/operations.d.ts +14 -0
- package/dist/browser/api/updateSummariesOperationGroup/operations.js +71 -0
- package/dist/browser/api/updateSummariesOperationGroup/operations.js.map +1 -0
- package/dist/browser/api/updateSummariesOperationGroup/options.d.ts +12 -0
- package/dist/browser/api/updateSummariesOperationGroup/options.js.map +1 -0
- package/dist/browser/api/updates/index.d.ts +2 -2
- package/dist/browser/api/updates/index.js +1 -1
- package/dist/browser/api/updates/index.js.map +1 -1
- package/dist/browser/api/updates/operations.d.ts +5 -6
- package/dist/browser/api/updates/operations.js +39 -13
- package/dist/browser/api/updates/operations.js.map +1 -1
- package/dist/browser/api/updates/options.d.ts +5 -0
- package/dist/browser/api/updates/options.js.map +1 -1
- package/dist/browser/api/validatedSolutionRecipes/operations.js +3 -3
- package/dist/browser/api/validatedSolutionRecipes/operations.js.map +1 -1
- package/dist/browser/azureStackHCIClient.d.ts +3 -0
- package/dist/browser/azureStackHCIClient.js +4 -0
- package/dist/browser/azureStackHCIClient.js.map +1 -1
- package/dist/browser/classic/arcSettings/index.d.ts +0 -5
- package/dist/browser/classic/arcSettings/index.js.map +1 -1
- package/dist/browser/classic/clusters/index.d.ts +0 -5
- package/dist/browser/classic/clusters/index.js.map +1 -1
- package/dist/browser/classic/deploymentSettings/index.d.ts +0 -5
- package/dist/browser/classic/deploymentSettings/index.js.map +1 -1
- package/dist/browser/classic/edgeDeviceJobs/index.d.ts +0 -5
- package/dist/browser/classic/edgeDeviceJobs/index.js.map +1 -1
- package/dist/browser/classic/edgeDevices/index.d.ts +0 -5
- package/dist/browser/classic/edgeDevices/index.js.map +1 -1
- package/dist/browser/classic/extensions/index.d.ts +0 -5
- package/dist/browser/classic/extensions/index.js.map +1 -1
- package/dist/browser/classic/index.d.ts +1 -0
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/classic/securitySettings/index.d.ts +0 -5
- package/dist/browser/classic/securitySettings/index.js.map +1 -1
- package/dist/browser/classic/updateRuns/index.d.ts +0 -5
- package/dist/browser/classic/updateRuns/index.js.map +1 -1
- package/dist/browser/classic/updateSummaries/index.d.ts +0 -5
- package/dist/browser/classic/updateSummaries/index.js.map +1 -1
- package/dist/browser/classic/updateSummariesOperationGroup/index.d.ts +22 -0
- package/dist/browser/classic/updateSummariesOperationGroup/index.js +32 -0
- package/dist/browser/classic/updateSummariesOperationGroup/index.js.map +1 -0
- package/dist/browser/classic/updates/index.d.ts +7 -6
- package/dist/browser/classic/updates/index.js +10 -1
- package/dist/browser/classic/updates/index.js.map +1 -1
- package/dist/browser/index.d.ts +6 -4
- package/dist/browser/index.js +2 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +2 -2
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +226 -10
- package/dist/browser/models/models.js +226 -15
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.js +10 -6
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/commonjs/api/arcSettings/index.js +1 -0
- package/dist/commonjs/api/arcSettings/index.js.map +1 -1
- package/dist/commonjs/api/arcSettings/operations.d.ts +0 -5
- package/dist/commonjs/api/arcSettings/operations.js +16 -15
- package/dist/commonjs/api/arcSettings/operations.js.map +3 -3
- package/dist/commonjs/api/arcSettings/options.js +1 -0
- package/dist/commonjs/api/arcSettings/options.js.map +1 -1
- package/dist/commonjs/api/azureStackHCIContext.js +5 -2
- package/dist/commonjs/api/azureStackHCIContext.js.map +3 -3
- package/dist/commonjs/api/clusters/index.js +1 -0
- package/dist/commonjs/api/clusters/index.js.map +1 -1
- package/dist/commonjs/api/clusters/operations.d.ts +0 -5
- package/dist/commonjs/api/clusters/operations.js +30 -29
- package/dist/commonjs/api/clusters/operations.js.map +3 -3
- package/dist/commonjs/api/clusters/options.js +1 -0
- package/dist/commonjs/api/clusters/options.js.map +1 -1
- package/dist/commonjs/api/deploymentSettings/index.js +1 -0
- package/dist/commonjs/api/deploymentSettings/index.js.map +1 -1
- package/dist/commonjs/api/deploymentSettings/operations.d.ts +0 -5
- package/dist/commonjs/api/deploymentSettings/operations.js +8 -7
- package/dist/commonjs/api/deploymentSettings/operations.js.map +3 -3
- package/dist/commonjs/api/deploymentSettings/options.js +1 -0
- package/dist/commonjs/api/deploymentSettings/options.js.map +1 -1
- package/dist/commonjs/api/edgeDeviceJobs/index.js +1 -0
- package/dist/commonjs/api/edgeDeviceJobs/index.js.map +1 -1
- package/dist/commonjs/api/edgeDeviceJobs/operations.d.ts +0 -5
- package/dist/commonjs/api/edgeDeviceJobs/operations.js +8 -7
- package/dist/commonjs/api/edgeDeviceJobs/operations.js.map +3 -3
- package/dist/commonjs/api/edgeDeviceJobs/options.js +1 -0
- package/dist/commonjs/api/edgeDeviceJobs/options.js.map +1 -1
- package/dist/commonjs/api/edgeDevices/index.js +1 -0
- package/dist/commonjs/api/edgeDevices/index.js.map +1 -1
- package/dist/commonjs/api/edgeDevices/operations.d.ts +0 -5
- package/dist/commonjs/api/edgeDevices/operations.js +12 -11
- package/dist/commonjs/api/edgeDevices/operations.js.map +3 -3
- package/dist/commonjs/api/edgeDevices/options.js +1 -0
- package/dist/commonjs/api/edgeDevices/options.js.map +1 -1
- package/dist/commonjs/api/extensions/index.js +1 -0
- package/dist/commonjs/api/extensions/index.js.map +1 -1
- package/dist/commonjs/api/extensions/operations.d.ts +0 -5
- package/dist/commonjs/api/extensions/operations.js +12 -11
- package/dist/commonjs/api/extensions/operations.js.map +3 -3
- package/dist/commonjs/api/extensions/options.js +1 -0
- package/dist/commonjs/api/extensions/options.js.map +1 -1
- package/dist/commonjs/api/index.js +1 -0
- package/dist/commonjs/api/index.js.map +1 -1
- package/dist/commonjs/api/offers/index.js +1 -0
- package/dist/commonjs/api/offers/index.js.map +1 -1
- package/dist/commonjs/api/offers/operations.js +6 -5
- package/dist/commonjs/api/offers/operations.js.map +2 -2
- package/dist/commonjs/api/offers/options.js +1 -0
- package/dist/commonjs/api/offers/options.js.map +1 -1
- package/dist/commonjs/api/operations/index.js +1 -0
- package/dist/commonjs/api/operations/index.js.map +1 -1
- package/dist/commonjs/api/operations/operations.js +3 -2
- package/dist/commonjs/api/operations/operations.js.map +2 -2
- package/dist/commonjs/api/operations/options.js +1 -0
- package/dist/commonjs/api/operations/options.js.map +1 -1
- package/dist/commonjs/api/securitySettings/index.js +1 -0
- package/dist/commonjs/api/securitySettings/index.js.map +1 -1
- package/dist/commonjs/api/securitySettings/operations.d.ts +0 -5
- package/dist/commonjs/api/securitySettings/operations.js +8 -7
- package/dist/commonjs/api/securitySettings/operations.js.map +3 -3
- package/dist/commonjs/api/securitySettings/options.js +1 -0
- package/dist/commonjs/api/securitySettings/options.js.map +1 -1
- package/dist/commonjs/api/skus/index.js +1 -0
- package/dist/commonjs/api/skus/index.js.map +1 -1
- package/dist/commonjs/api/skus/operations.js +4 -3
- package/dist/commonjs/api/skus/operations.js.map +2 -2
- package/dist/commonjs/api/skus/options.js +1 -0
- package/dist/commonjs/api/skus/options.js.map +1 -1
- package/dist/commonjs/api/updateRuns/index.js +1 -0
- package/dist/commonjs/api/updateRuns/index.js.map +1 -1
- package/dist/commonjs/api/updateRuns/operations.d.ts +0 -5
- package/dist/commonjs/api/updateRuns/operations.js +7 -6
- package/dist/commonjs/api/updateRuns/operations.js.map +3 -3
- package/dist/commonjs/api/updateRuns/options.js +1 -0
- package/dist/commonjs/api/updateRuns/options.js.map +1 -1
- package/dist/commonjs/api/updateSummaries/index.js +1 -0
- package/dist/commonjs/api/updateSummaries/index.js.map +1 -1
- package/dist/commonjs/api/updateSummaries/operations.d.ts +0 -5
- package/dist/commonjs/api/updateSummaries/operations.js +7 -6
- package/dist/commonjs/api/updateSummaries/operations.js.map +3 -3
- package/dist/commonjs/api/updateSummaries/options.js +1 -0
- package/dist/commonjs/api/updateSummaries/options.js.map +1 -1
- package/dist/commonjs/api/updateSummariesOperationGroup/index.d.ts +3 -0
- package/dist/commonjs/api/updateSummariesOperationGroup/index.js +30 -0
- package/dist/commonjs/api/updateSummariesOperationGroup/index.js.map +7 -0
- package/dist/commonjs/api/updateSummariesOperationGroup/operations.d.ts +14 -0
- package/dist/commonjs/api/updateSummariesOperationGroup/operations.js +111 -0
- package/dist/commonjs/api/updateSummariesOperationGroup/operations.js.map +7 -0
- package/dist/commonjs/api/updateSummariesOperationGroup/options.d.ts +12 -0
- package/dist/commonjs/api/updateSummariesOperationGroup/options.js +16 -0
- package/dist/commonjs/api/updateSummariesOperationGroup/options.js.map +7 -0
- package/dist/commonjs/api/updates/index.d.ts +2 -2
- package/dist/commonjs/api/updates/index.js +3 -0
- package/dist/commonjs/api/updates/index.js.map +3 -3
- package/dist/commonjs/api/updates/operations.d.ts +5 -6
- package/dist/commonjs/api/updates/operations.js +49 -8
- package/dist/commonjs/api/updates/operations.js.map +3 -3
- package/dist/commonjs/api/updates/options.d.ts +5 -0
- package/dist/commonjs/api/updates/options.js +1 -0
- package/dist/commonjs/api/updates/options.js.map +2 -2
- package/dist/commonjs/api/validatedSolutionRecipes/index.js +1 -0
- package/dist/commonjs/api/validatedSolutionRecipes/index.js.map +1 -1
- package/dist/commonjs/api/validatedSolutionRecipes/operations.js +4 -3
- package/dist/commonjs/api/validatedSolutionRecipes/operations.js.map +2 -2
- package/dist/commonjs/api/validatedSolutionRecipes/options.js +1 -0
- package/dist/commonjs/api/validatedSolutionRecipes/options.js.map +1 -1
- package/dist/commonjs/azureStackHCIClient.d.ts +3 -0
- package/dist/commonjs/azureStackHCIClient.js +5 -0
- package/dist/commonjs/azureStackHCIClient.js.map +3 -3
- package/dist/commonjs/classic/arcSettings/index.d.ts +0 -5
- package/dist/commonjs/classic/arcSettings/index.js +1 -0
- package/dist/commonjs/classic/arcSettings/index.js.map +3 -3
- package/dist/commonjs/classic/clusters/index.d.ts +0 -5
- package/dist/commonjs/classic/clusters/index.js +1 -0
- package/dist/commonjs/classic/clusters/index.js.map +3 -3
- package/dist/commonjs/classic/deploymentSettings/index.d.ts +0 -5
- package/dist/commonjs/classic/deploymentSettings/index.js +1 -0
- package/dist/commonjs/classic/deploymentSettings/index.js.map +3 -3
- package/dist/commonjs/classic/edgeDeviceJobs/index.d.ts +0 -5
- package/dist/commonjs/classic/edgeDeviceJobs/index.js +1 -0
- package/dist/commonjs/classic/edgeDeviceJobs/index.js.map +3 -3
- package/dist/commonjs/classic/edgeDevices/index.d.ts +0 -5
- package/dist/commonjs/classic/edgeDevices/index.js +1 -0
- package/dist/commonjs/classic/edgeDevices/index.js.map +3 -3
- package/dist/commonjs/classic/extensions/index.d.ts +0 -5
- package/dist/commonjs/classic/extensions/index.js +1 -0
- package/dist/commonjs/classic/extensions/index.js.map +3 -3
- package/dist/commonjs/classic/index.d.ts +1 -0
- package/dist/commonjs/classic/index.js +1 -0
- package/dist/commonjs/classic/index.js.map +2 -2
- package/dist/commonjs/classic/offers/index.js +1 -0
- package/dist/commonjs/classic/offers/index.js.map +1 -1
- package/dist/commonjs/classic/operations/index.js +1 -0
- package/dist/commonjs/classic/operations/index.js.map +1 -1
- package/dist/commonjs/classic/securitySettings/index.d.ts +0 -5
- package/dist/commonjs/classic/securitySettings/index.js +1 -0
- package/dist/commonjs/classic/securitySettings/index.js.map +3 -3
- package/dist/commonjs/classic/skus/index.js +1 -0
- package/dist/commonjs/classic/skus/index.js.map +1 -1
- package/dist/commonjs/classic/updateRuns/index.d.ts +0 -5
- package/dist/commonjs/classic/updateRuns/index.js +1 -0
- package/dist/commonjs/classic/updateRuns/index.js.map +3 -3
- package/dist/commonjs/classic/updateSummaries/index.d.ts +0 -5
- package/dist/commonjs/classic/updateSummaries/index.js +1 -0
- package/dist/commonjs/classic/updateSummaries/index.js.map +3 -3
- package/dist/commonjs/classic/updateSummariesOperationGroup/index.d.ts +22 -0
- package/dist/commonjs/classic/updateSummariesOperationGroup/index.js +56 -0
- package/dist/commonjs/classic/updateSummariesOperationGroup/index.js.map +7 -0
- package/dist/commonjs/classic/updates/index.d.ts +7 -6
- package/dist/commonjs/classic/updates/index.js +10 -0
- package/dist/commonjs/classic/updates/index.js.map +3 -3
- package/dist/commonjs/classic/validatedSolutionRecipes/index.js +1 -0
- package/dist/commonjs/classic/validatedSolutionRecipes/index.js.map +1 -1
- package/dist/commonjs/index.d.ts +6 -4
- package/dist/commonjs/index.js +14 -0
- package/dist/commonjs/index.js.map +3 -3
- package/dist/commonjs/logger.js +1 -0
- package/dist/commonjs/logger.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +2 -2
- package/dist/commonjs/models/index.js +9 -0
- package/dist/commonjs/models/index.js.map +3 -3
- package/dist/commonjs/models/models.d.ts +226 -10
- package/dist/commonjs/models/models.js +234 -24
- package/dist/commonjs/models/models.js.map +4 -4
- package/dist/commonjs/restorePollerHelpers.js +43 -38
- package/dist/commonjs/restorePollerHelpers.js.map +3 -3
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +1 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js +2 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +3 -3
- package/dist/commonjs/static-helpers/pollingHelpers.js +2 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +3 -3
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +1 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +1 -1
- package/dist/commonjs/static-helpers/simplePollerHelpers.js +1 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/urlTemplate.js +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/arcSettings/index.js +4 -24
- package/dist/esm/api/arcSettings/index.js.map +1 -7
- package/dist/esm/api/arcSettings/operations.d.ts +0 -5
- package/dist/esm/api/arcSettings/operations.js +273 -391
- package/dist/esm/api/arcSettings/operations.js.map +1 -7
- package/dist/esm/api/arcSettings/options.js +4 -0
- package/dist/esm/api/arcSettings/options.js.map +1 -7
- package/dist/esm/api/azureStackHCIContext.js +22 -17
- package/dist/esm/api/azureStackHCIContext.js.map +1 -7
- package/dist/esm/api/clusters/index.js +4 -28
- package/dist/esm/api/clusters/index.js.map +1 -7
- package/dist/esm/api/clusters/operations.d.ts +0 -5
- package/dist/esm/api/clusters/operations.js +368 -492
- package/dist/esm/api/clusters/operations.js.map +1 -7
- package/dist/esm/api/clusters/options.js +4 -0
- package/dist/esm/api/clusters/options.js.map +1 -7
- package/dist/esm/api/deploymentSettings/index.js +4 -7
- package/dist/esm/api/deploymentSettings/index.js.map +1 -7
- package/dist/esm/api/deploymentSettings/operations.d.ts +0 -5
- package/dist/esm/api/deploymentSettings/operations.js +112 -159
- package/dist/esm/api/deploymentSettings/operations.js.map +1 -7
- package/dist/esm/api/deploymentSettings/options.js +4 -0
- package/dist/esm/api/deploymentSettings/options.js.map +1 -7
- package/dist/esm/api/edgeDeviceJobs/index.js +4 -7
- package/dist/esm/api/edgeDeviceJobs/index.js.map +1 -7
- package/dist/esm/api/edgeDeviceJobs/operations.d.ts +0 -5
- package/dist/esm/api/edgeDeviceJobs/operations.js +108 -142
- package/dist/esm/api/edgeDeviceJobs/operations.js.map +1 -7
- package/dist/esm/api/edgeDeviceJobs/options.js +4 -0
- package/dist/esm/api/edgeDeviceJobs/options.js.map +1 -7
- package/dist/esm/api/edgeDevices/index.js +4 -8
- package/dist/esm/api/edgeDevices/index.js.map +1 -7
- package/dist/esm/api/edgeDevices/operations.d.ts +0 -5
- package/dist/esm/api/edgeDevices/operations.js +134 -176
- package/dist/esm/api/edgeDevices/operations.js.map +1 -7
- package/dist/esm/api/edgeDevices/options.js +4 -0
- package/dist/esm/api/edgeDevices/options.js.map +1 -7
- package/dist/esm/api/extensions/index.js +4 -9
- package/dist/esm/api/extensions/index.js.map +1 -7
- package/dist/esm/api/extensions/operations.d.ts +0 -5
- package/dist/esm/api/extensions/operations.js +196 -275
- package/dist/esm/api/extensions/operations.js.map +1 -7
- package/dist/esm/api/extensions/options.js +4 -0
- package/dist/esm/api/extensions/options.js.map +1 -7
- package/dist/esm/api/index.js +4 -4
- package/dist/esm/api/index.js.map +1 -7
- package/dist/esm/api/offers/index.js +4 -6
- package/dist/esm/api/offers/index.js.map +1 -7
- package/dist/esm/api/offers/operations.js +81 -121
- package/dist/esm/api/offers/operations.js.map +1 -7
- package/dist/esm/api/offers/options.js +4 -0
- package/dist/esm/api/offers/options.js.map +1 -7
- package/dist/esm/api/operations/index.js +4 -4
- package/dist/esm/api/operations/index.js.map +1 -7
- package/dist/esm/api/operations/operations.js +25 -39
- package/dist/esm/api/operations/operations.js.map +1 -7
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -7
- package/dist/esm/api/securitySettings/index.js +4 -7
- package/dist/esm/api/securitySettings/index.js.map +1 -7
- package/dist/esm/api/securitySettings/operations.d.ts +0 -5
- package/dist/esm/api/securitySettings/operations.js +112 -159
- package/dist/esm/api/securitySettings/operations.js.map +1 -7
- package/dist/esm/api/securitySettings/options.js +4 -0
- package/dist/esm/api/securitySettings/options.js.map +1 -7
- package/dist/esm/api/skus/index.js +4 -5
- package/dist/esm/api/skus/index.js.map +1 -7
- package/dist/esm/api/skus/operations.js +59 -88
- package/dist/esm/api/skus/operations.js.map +1 -7
- package/dist/esm/api/skus/options.js +4 -0
- package/dist/esm/api/skus/options.js.map +1 -7
- package/dist/esm/api/updateRuns/index.js +4 -7
- package/dist/esm/api/updateRuns/index.js.map +1 -7
- package/dist/esm/api/updateRuns/operations.d.ts +0 -5
- package/dist/esm/api/updateRuns/operations.js +111 -160
- package/dist/esm/api/updateRuns/operations.js.map +1 -7
- package/dist/esm/api/updateRuns/options.js +4 -0
- package/dist/esm/api/updateRuns/options.js.map +1 -7
- package/dist/esm/api/updateSummaries/index.js +4 -7
- package/dist/esm/api/updateSummaries/index.js.map +1 -7
- package/dist/esm/api/updateSummaries/operations.d.ts +0 -5
- package/dist/esm/api/updateSummaries/operations.js +104 -144
- package/dist/esm/api/updateSummaries/operations.js.map +1 -7
- package/dist/esm/api/updateSummaries/options.js +4 -0
- package/dist/esm/api/updateSummaries/options.js.map +1 -7
- package/dist/esm/api/updateSummariesOperationGroup/index.d.ts +3 -0
- package/dist/esm/api/updateSummariesOperationGroup/index.js +4 -0
- package/dist/esm/api/updateSummariesOperationGroup/index.js.map +1 -0
- package/dist/esm/api/updateSummariesOperationGroup/operations.d.ts +14 -0
- package/dist/esm/api/updateSummariesOperationGroup/operations.js +71 -0
- package/dist/esm/api/updateSummariesOperationGroup/operations.js.map +1 -0
- package/dist/esm/api/updateSummariesOperationGroup/options.d.ts +12 -0
- package/dist/esm/api/updateSummariesOperationGroup/options.js.map +1 -0
- package/dist/esm/api/updates/index.d.ts +2 -2
- package/dist/esm/api/updates/index.js +4 -8
- package/dist/esm/api/updates/index.js.map +1 -7
- package/dist/esm/api/updates/operations.d.ts +5 -6
- package/dist/esm/api/updates/operations.js +179 -195
- package/dist/esm/api/updates/operations.js.map +1 -7
- package/dist/esm/api/updates/options.d.ts +5 -0
- package/dist/esm/api/updates/options.js +4 -0
- package/dist/esm/api/updates/options.js.map +1 -7
- package/dist/esm/api/validatedSolutionRecipes/index.js +4 -5
- package/dist/esm/api/validatedSolutionRecipes/index.js.map +1 -7
- package/dist/esm/api/validatedSolutionRecipes/operations.js +54 -75
- package/dist/esm/api/validatedSolutionRecipes/operations.js.map +1 -7
- package/dist/esm/api/validatedSolutionRecipes/options.js +4 -0
- package/dist/esm/api/validatedSolutionRecipes/options.js.map +1 -7
- package/dist/esm/azureStackHCIClient.d.ts +3 -0
- package/dist/esm/azureStackHCIClient.js +72 -65
- package/dist/esm/azureStackHCIClient.js.map +1 -7
- package/dist/esm/classic/arcSettings/index.d.ts +0 -5
- package/dist/esm/classic/arcSettings/index.js +52 -108
- package/dist/esm/classic/arcSettings/index.js.map +1 -7
- package/dist/esm/classic/clusters/index.d.ts +0 -5
- package/dist/esm/classic/clusters/index.js +78 -151
- package/dist/esm/classic/clusters/index.js.map +1 -7
- package/dist/esm/classic/deploymentSettings/index.d.ts +0 -5
- package/dist/esm/classic/deploymentSettings/index.js +30 -68
- package/dist/esm/classic/deploymentSettings/index.js.map +1 -7
- package/dist/esm/classic/edgeDeviceJobs/index.d.ts +0 -5
- package/dist/esm/classic/edgeDeviceJobs/index.js +30 -49
- package/dist/esm/classic/edgeDeviceJobs/index.js.map +1 -7
- package/dist/esm/classic/edgeDevices/index.d.ts +0 -5
- package/dist/esm/classic/edgeDevices/index.js +38 -38
- package/dist/esm/classic/edgeDevices/index.js.map +1 -7
- package/dist/esm/classic/extensions/index.d.ts +0 -5
- package/dist/esm/classic/extensions/index.js +48 -141
- package/dist/esm/classic/extensions/index.js.map +1 -7
- package/dist/esm/classic/index.d.ts +1 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -7
- package/dist/esm/classic/offers/index.js +12 -12
- package/dist/esm/classic/offers/index.js.map +1 -7
- package/dist/esm/classic/operations/index.js +10 -10
- package/dist/esm/classic/operations/index.js.map +1 -7
- package/dist/esm/classic/securitySettings/index.d.ts +0 -5
- package/dist/esm/classic/securitySettings/index.js +30 -62
- package/dist/esm/classic/securitySettings/index.js.map +1 -7
- package/dist/esm/classic/skus/index.js +11 -11
- package/dist/esm/classic/skus/index.js.map +1 -7
- package/dist/esm/classic/updateRuns/index.d.ts +0 -5
- package/dist/esm/classic/updateRuns/index.js +21 -43
- package/dist/esm/classic/updateRuns/index.js.map +1 -7
- package/dist/esm/classic/updateSummaries/index.d.ts +0 -5
- package/dist/esm/classic/updateSummaries/index.js +21 -21
- package/dist/esm/classic/updateSummaries/index.js.map +1 -7
- package/dist/esm/classic/updateSummariesOperationGroup/index.d.ts +22 -0
- package/dist/esm/classic/updateSummariesOperationGroup/index.js +32 -0
- package/dist/esm/classic/updateSummariesOperationGroup/index.js.map +1 -0
- package/dist/esm/classic/updates/index.d.ts +7 -6
- package/dist/esm/classic/updates/index.js +40 -31
- package/dist/esm/classic/updates/index.js.map +1 -7
- package/dist/esm/classic/validatedSolutionRecipes/index.js +12 -15
- package/dist/esm/classic/validatedSolutionRecipes/index.js.map +1 -7
- package/dist/esm/index.d.ts +6 -4
- package/dist/esm/index.js +8 -113
- package/dist/esm/index.js.map +1 -7
- package/dist/esm/logger.js +4 -4
- package/dist/esm/logger.js.map +1 -7
- package/dist/esm/models/index.d.ts +2 -2
- package/dist/esm/models/index.js +4 -108
- package/dist/esm/models/index.js.map +1 -7
- package/dist/esm/models/models.d.ts +226 -10
- package/dist/esm/models/models.js +4498 -3830
- package/dist/esm/models/models.js.map +1 -7
- package/dist/esm/restorePollerHelpers.js +142 -161
- package/dist/esm/restorePollerHelpers.js.map +1 -7
- package/dist/esm/static-helpers/cloudSettingHelpers.js +37 -26
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -7
- package/dist/esm/static-helpers/pagingHelpers.js +122 -98
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -7
- package/dist/esm/static-helpers/pollingHelpers.js +86 -68
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -7
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js +15 -9
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -7
- package/dist/esm/static-helpers/simplePollerHelpers.js +43 -42
- package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -7
- package/dist/esm/static-helpers/urlTemplate.js +169 -142
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -7
- package/package.json +40 -86
- package/dist/react-native/api/arcSettings/index.d.ts +0 -3
- package/dist/react-native/api/arcSettings/index.js +0 -4
- package/dist/react-native/api/arcSettings/index.js.map +0 -1
- package/dist/react-native/api/arcSettings/operations.d.ts +0 -52
- package/dist/react-native/api/arcSettings/operations.js +0 -321
- package/dist/react-native/api/arcSettings/operations.js.map +0 -1
- package/dist/react-native/api/arcSettings/options.d.ts +0 -40
- package/dist/react-native/api/arcSettings/options.js.map +0 -1
- package/dist/react-native/api/azureStackHCIContext.d.ts +0 -22
- package/dist/react-native/api/azureStackHCIContext.js +0 -24
- package/dist/react-native/api/azureStackHCIContext.js.map +0 -1
- package/dist/react-native/api/clusters/index.d.ts +0 -3
- package/dist/react-native/api/clusters/index.js +0 -4
- package/dist/react-native/api/clusters/index.js.map +0 -1
- package/dist/react-native/api/clusters/operations.d.ts +0 -60
- package/dist/react-native/api/clusters/operations.js +0 -389
- package/dist/react-native/api/clusters/operations.js.map +0 -1
- package/dist/react-native/api/clusters/options.d.ts +0 -52
- package/dist/react-native/api/clusters/options.js.map +0 -1
- package/dist/react-native/api/deploymentSettings/index.d.ts +0 -3
- package/dist/react-native/api/deploymentSettings/index.js +0 -4
- package/dist/react-native/api/deploymentSettings/index.js.map +0 -1
- package/dist/react-native/api/deploymentSettings/operations.d.ts +0 -28
- package/dist/react-native/api/deploymentSettings/operations.js +0 -136
- package/dist/react-native/api/deploymentSettings/operations.js.map +0 -1
- package/dist/react-native/api/deploymentSettings/options.d.ts +0 -18
- package/dist/react-native/api/deploymentSettings/options.js +0 -4
- package/dist/react-native/api/deploymentSettings/options.js.map +0 -1
- package/dist/react-native/api/edgeDeviceJobs/index.d.ts +0 -3
- package/dist/react-native/api/edgeDeviceJobs/index.js +0 -4
- package/dist/react-native/api/edgeDeviceJobs/index.js.map +0 -1
- package/dist/react-native/api/edgeDeviceJobs/operations.d.ts +0 -28
- package/dist/react-native/api/edgeDeviceJobs/operations.js +0 -132
- package/dist/react-native/api/edgeDeviceJobs/operations.js.map +0 -1
- package/dist/react-native/api/edgeDeviceJobs/options.d.ts +0 -18
- package/dist/react-native/api/edgeDeviceJobs/options.js +0 -4
- package/dist/react-native/api/edgeDeviceJobs/options.js.map +0 -1
- package/dist/react-native/api/edgeDevices/index.d.ts +0 -3
- package/dist/react-native/api/edgeDevices/index.js +0 -4
- package/dist/react-native/api/edgeDevices/index.js.map +0 -1
- package/dist/react-native/api/edgeDevices/operations.d.ts +0 -32
- package/dist/react-native/api/edgeDevices/operations.js +0 -162
- package/dist/react-native/api/edgeDevices/operations.js.map +0 -1
- package/dist/react-native/api/edgeDevices/options.d.ts +0 -23
- package/dist/react-native/api/edgeDevices/options.js +0 -4
- package/dist/react-native/api/edgeDevices/options.js.map +0 -1
- package/dist/react-native/api/extensions/index.d.ts +0 -3
- package/dist/react-native/api/extensions/index.js +0 -4
- package/dist/react-native/api/extensions/index.js.map +0 -1
- package/dist/react-native/api/extensions/operations.d.ts +0 -36
- package/dist/react-native/api/extensions/operations.js +0 -213
- package/dist/react-native/api/extensions/operations.js.map +0 -1
- package/dist/react-native/api/extensions/options.d.ts +0 -28
- package/dist/react-native/api/extensions/options.js +0 -4
- package/dist/react-native/api/extensions/options.js.map +0 -1
- package/dist/react-native/api/index.d.ts +0 -3
- package/dist/react-native/api/index.js +0 -4
- package/dist/react-native/api/index.js.map +0 -1
- package/dist/react-native/api/offers/index.d.ts +0 -3
- package/dist/react-native/api/offers/index.js +0 -4
- package/dist/react-native/api/offers/index.js.map +0 -1
- package/dist/react-native/api/offers/operations.d.ts +0 -18
- package/dist/react-native/api/offers/operations.js +0 -95
- package/dist/react-native/api/offers/operations.js.map +0 -1
- package/dist/react-native/api/offers/options.d.ts +0 -17
- package/dist/react-native/api/offers/options.js +0 -4
- package/dist/react-native/api/offers/options.js.map +0 -1
- package/dist/react-native/api/operations/index.d.ts +0 -3
- package/dist/react-native/api/operations/index.js +0 -4
- package/dist/react-native/api/operations/index.js.map +0 -1
- package/dist/react-native/api/operations/operations.d.ts +0 -10
- package/dist/react-native/api/operations/operations.js +0 -31
- package/dist/react-native/api/operations/operations.js.map +0 -1
- package/dist/react-native/api/operations/options.d.ts +0 -5
- package/dist/react-native/api/operations/options.js +0 -4
- package/dist/react-native/api/operations/options.js.map +0 -1
- package/dist/react-native/api/securitySettings/index.d.ts +0 -3
- package/dist/react-native/api/securitySettings/index.js +0 -4
- package/dist/react-native/api/securitySettings/index.js.map +0 -1
- package/dist/react-native/api/securitySettings/operations.d.ts +0 -28
- package/dist/react-native/api/securitySettings/operations.js +0 -136
- package/dist/react-native/api/securitySettings/operations.js.map +0 -1
- package/dist/react-native/api/securitySettings/options.d.ts +0 -18
- package/dist/react-native/api/securitySettings/options.js +0 -4
- package/dist/react-native/api/securitySettings/options.js.map +0 -1
- package/dist/react-native/api/skus/index.d.ts +0 -3
- package/dist/react-native/api/skus/index.js +0 -4
- package/dist/react-native/api/skus/index.js.map +0 -1
- package/dist/react-native/api/skus/operations.d.ts +0 -14
- package/dist/react-native/api/skus/operations.js +0 -69
- package/dist/react-native/api/skus/operations.js.map +0 -1
- package/dist/react-native/api/skus/options.d.ts +0 -12
- package/dist/react-native/api/skus/options.js +0 -4
- package/dist/react-native/api/skus/options.js.map +0 -1
- package/dist/react-native/api/updateRuns/index.d.ts +0 -3
- package/dist/react-native/api/updateRuns/index.js +0 -4
- package/dist/react-native/api/updateRuns/index.js.map +0 -1
- package/dist/react-native/api/updateRuns/operations.d.ts +0 -28
- package/dist/react-native/api/updateRuns/operations.js +0 -135
- package/dist/react-native/api/updateRuns/operations.js.map +0 -1
- package/dist/react-native/api/updateRuns/options.d.ts +0 -16
- package/dist/react-native/api/updateRuns/options.js +0 -4
- package/dist/react-native/api/updateRuns/options.js.map +0 -1
- package/dist/react-native/api/updateSummaries/index.d.ts +0 -3
- package/dist/react-native/api/updateSummaries/index.js +0 -4
- package/dist/react-native/api/updateSummaries/index.js.map +0 -1
- package/dist/react-native/api/updateSummaries/operations.d.ts +0 -28
- package/dist/react-native/api/updateSummaries/operations.js +0 -128
- package/dist/react-native/api/updateSummaries/operations.js.map +0 -1
- package/dist/react-native/api/updateSummaries/options.d.ts +0 -16
- package/dist/react-native/api/updateSummaries/options.js +0 -4
- package/dist/react-native/api/updateSummaries/options.js.map +0 -1
- package/dist/react-native/api/updates/index.d.ts +0 -3
- package/dist/react-native/api/updates/index.js +0 -4
- package/dist/react-native/api/updates/index.js.map +0 -1
- package/dist/react-native/api/updates/operations.d.ts +0 -32
- package/dist/react-native/api/updates/operations.js +0 -162
- package/dist/react-native/api/updates/operations.js.map +0 -1
- package/dist/react-native/api/updates/options.d.ts +0 -21
- package/dist/react-native/api/updates/options.js +0 -4
- package/dist/react-native/api/updates/options.js.map +0 -1
- package/dist/react-native/api/validatedSolutionRecipes/index.d.ts +0 -3
- package/dist/react-native/api/validatedSolutionRecipes/index.js +0 -4
- package/dist/react-native/api/validatedSolutionRecipes/index.js.map +0 -1
- package/dist/react-native/api/validatedSolutionRecipes/operations.d.ts +0 -14
- package/dist/react-native/api/validatedSolutionRecipes/operations.js +0 -65
- package/dist/react-native/api/validatedSolutionRecipes/operations.js.map +0 -1
- package/dist/react-native/api/validatedSolutionRecipes/options.d.ts +0 -8
- package/dist/react-native/api/validatedSolutionRecipes/options.js +0 -4
- package/dist/react-native/api/validatedSolutionRecipes/options.js.map +0 -1
- package/dist/react-native/azureStackHCIClient.d.ts +0 -54
- package/dist/react-native/azureStackHCIClient.js +0 -85
- package/dist/react-native/azureStackHCIClient.js.map +0 -1
- package/dist/react-native/classic/arcSettings/index.d.ts +0 -52
- package/dist/react-native/classic/arcSettings/index.js +0 -56
- package/dist/react-native/classic/arcSettings/index.js.map +0 -1
- package/dist/react-native/classic/clusters/index.d.ts +0 -68
- package/dist/react-native/classic/clusters/index.js +0 -82
- package/dist/react-native/classic/clusters/index.js.map +0 -1
- package/dist/react-native/classic/deploymentSettings/index.d.ts +0 -32
- package/dist/react-native/classic/deploymentSettings/index.js +0 -34
- package/dist/react-native/classic/deploymentSettings/index.js.map +0 -1
- package/dist/react-native/classic/edgeDeviceJobs/index.d.ts +0 -32
- package/dist/react-native/classic/edgeDeviceJobs/index.js +0 -34
- package/dist/react-native/classic/edgeDeviceJobs/index.js.map +0 -1
- package/dist/react-native/classic/edgeDevices/index.d.ts +0 -38
- package/dist/react-native/classic/edgeDevices/index.js +0 -43
- package/dist/react-native/classic/edgeDevices/index.js.map +0 -1
- package/dist/react-native/classic/extensions/index.d.ts +0 -44
- package/dist/react-native/classic/extensions/index.js +0 -52
- package/dist/react-native/classic/extensions/index.js.map +0 -1
- package/dist/react-native/classic/index.d.ts +0 -15
- package/dist/react-native/classic/index.js +0 -4
- package/dist/react-native/classic/index.js.map +0 -1
- package/dist/react-native/classic/offers/index.d.ts +0 -15
- package/dist/react-native/classic/offers/index.js +0 -16
- package/dist/react-native/classic/offers/index.js.map +0 -1
- package/dist/react-native/classic/operations/index.d.ts +0 -11
- package/dist/react-native/classic/operations/index.js +0 -14
- package/dist/react-native/classic/operations/index.js.map +0 -1
- package/dist/react-native/classic/securitySettings/index.d.ts +0 -32
- package/dist/react-native/classic/securitySettings/index.js +0 -34
- package/dist/react-native/classic/securitySettings/index.js.map +0 -1
- package/dist/react-native/classic/skus/index.d.ts +0 -13
- package/dist/react-native/classic/skus/index.js +0 -15
- package/dist/react-native/classic/skus/index.js.map +0 -1
- package/dist/react-native/classic/updateRuns/index.d.ts +0 -28
- package/dist/react-native/classic/updateRuns/index.js +0 -26
- package/dist/react-native/classic/updateRuns/index.js.map +0 -1
- package/dist/react-native/classic/updateSummaries/index.d.ts +0 -28
- package/dist/react-native/classic/updateSummaries/index.js +0 -26
- package/dist/react-native/classic/updateSummaries/index.js.map +0 -1
- package/dist/react-native/classic/updates/index.d.ts +0 -34
- package/dist/react-native/classic/updates/index.js +0 -35
- package/dist/react-native/classic/updates/index.js.map +0 -1
- package/dist/react-native/classic/validatedSolutionRecipes/index.d.ts +0 -13
- package/dist/react-native/classic/validatedSolutionRecipes/index.js +0 -15
- package/dist/react-native/classic/validatedSolutionRecipes/index.js.map +0 -1
- package/dist/react-native/index.d.ts +0 -29
- package/dist/react-native/index.js +0 -8
- package/dist/react-native/index.js.map +0 -1
- package/dist/react-native/logger.d.ts +0 -2
- package/dist/react-native/logger.js +0 -5
- package/dist/react-native/logger.js.map +0 -1
- package/dist/react-native/models/index.d.ts +0 -3
- package/dist/react-native/models/index.js +0 -4
- package/dist/react-native/models/index.js.map +0 -1
- package/dist/react-native/models/models.d.ts +0 -3951
- package/dist/react-native/models/models.js +0 -4288
- package/dist/react-native/models/models.js.map +0 -1
- package/dist/react-native/package.json +0 -3
- package/dist/react-native/restorePollerHelpers.d.ts +0 -21
- package/dist/react-native/restorePollerHelpers.js +0 -154
- package/dist/react-native/restorePollerHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +0 -22
- package/dist/react-native/static-helpers/cloudSettingHelpers.js +0 -38
- package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +0 -74
- package/dist/react-native/static-helpers/pagingHelpers.js +0 -143
- package/dist/react-native/static-helpers/pagingHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +0 -34
- package/dist/react-native/static-helpers/pollingHelpers.js +0 -95
- package/dist/react-native/static-helpers/pollingHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/serialization/check-prop-undefined.d.ts +0 -8
- package/dist/react-native/static-helpers/serialization/check-prop-undefined.js +0 -17
- package/dist/react-native/static-helpers/serialization/check-prop-undefined.js.map +0 -1
- package/dist/react-native/static-helpers/simplePollerHelpers.d.ts +0 -73
- package/dist/react-native/static-helpers/simplePollerHelpers.js +0 -44
- package/dist/react-native/static-helpers/simplePollerHelpers.js.map +0 -1
- package/dist/react-native/static-helpers/urlTemplate.d.ts +0 -5
- package/dist/react-native/static-helpers/urlTemplate.js +0 -200
- package/dist/react-native/static-helpers/urlTemplate.js.map +0 -1
- /package/dist/{react-native/api/arcSettings → browser/api/updateSummariesOperationGroup}/options.js +0 -0
- /package/dist/{react-native/api/clusters → esm/api/updateSummariesOperationGroup}/options.js +0 -0
|
@@ -1,4288 +0,0 @@
|
|
|
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
|
-
isDataAction: item["isDataAction"],
|
|
19
|
-
display: !item["display"] ? item["display"] : operationDisplayDeserializer(item["display"]),
|
|
20
|
-
origin: item["origin"],
|
|
21
|
-
actionType: item["actionType"],
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
export function operationDisplayDeserializer(item) {
|
|
25
|
-
return {
|
|
26
|
-
provider: item["provider"],
|
|
27
|
-
resource: item["resource"],
|
|
28
|
-
operation: item["operation"],
|
|
29
|
-
description: item["description"],
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
|
|
33
|
-
export var KnownOrigin;
|
|
34
|
-
(function (KnownOrigin) {
|
|
35
|
-
/** Indicates the operation is initiated by a user. */
|
|
36
|
-
KnownOrigin["User"] = "user";
|
|
37
|
-
/** Indicates the operation is initiated by a system. */
|
|
38
|
-
KnownOrigin["System"] = "system";
|
|
39
|
-
/** Indicates the operation is initiated by a user or system. */
|
|
40
|
-
KnownOrigin["UserSystem"] = "user,system";
|
|
41
|
-
})(KnownOrigin || (KnownOrigin = {}));
|
|
42
|
-
/** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
|
|
43
|
-
export var KnownActionType;
|
|
44
|
-
(function (KnownActionType) {
|
|
45
|
-
/** Actions are for internal-only APIs. */
|
|
46
|
-
KnownActionType["Internal"] = "Internal";
|
|
47
|
-
})(KnownActionType || (KnownActionType = {}));
|
|
48
|
-
export function errorResponseDeserializer(item) {
|
|
49
|
-
return {
|
|
50
|
-
error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
export function errorDetailDeserializer(item) {
|
|
54
|
-
return {
|
|
55
|
-
code: item["code"],
|
|
56
|
-
message: item["message"],
|
|
57
|
-
target: item["target"],
|
|
58
|
-
details: !item["details"] ? item["details"] : errorDetailArrayDeserializer(item["details"]),
|
|
59
|
-
additionalInfo: !item["additionalInfo"]
|
|
60
|
-
? item["additionalInfo"]
|
|
61
|
-
: errorAdditionalInfoArrayDeserializer(item["additionalInfo"]),
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
export function errorDetailArrayDeserializer(result) {
|
|
65
|
-
return result.map((item) => {
|
|
66
|
-
return errorDetailDeserializer(item);
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
export function errorAdditionalInfoArrayDeserializer(result) {
|
|
70
|
-
return result.map((item) => {
|
|
71
|
-
return errorAdditionalInfoDeserializer(item);
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
export function errorAdditionalInfoDeserializer(item) {
|
|
75
|
-
return {
|
|
76
|
-
type: item["type"],
|
|
77
|
-
info: item["info"],
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
export function arcSettingSerializer(item) {
|
|
81
|
-
return {
|
|
82
|
-
properties: areAllPropsUndefined(item, [
|
|
83
|
-
"arcInstanceResourceGroup",
|
|
84
|
-
"arcApplicationClientId",
|
|
85
|
-
"arcApplicationTenantId",
|
|
86
|
-
"arcServicePrincipalObjectId",
|
|
87
|
-
"arcApplicationObjectId",
|
|
88
|
-
"connectivityProperties",
|
|
89
|
-
])
|
|
90
|
-
? undefined
|
|
91
|
-
: _arcSettingPropertiesSerializer(item),
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
export function arcSettingDeserializer(item) {
|
|
95
|
-
return {
|
|
96
|
-
id: item["id"],
|
|
97
|
-
name: item["name"],
|
|
98
|
-
type: item["type"],
|
|
99
|
-
systemData: !item["systemData"]
|
|
100
|
-
? item["systemData"]
|
|
101
|
-
: systemDataDeserializer(item["systemData"]),
|
|
102
|
-
...(!item["properties"]
|
|
103
|
-
? item["properties"]
|
|
104
|
-
: _arcSettingPropertiesDeserializer(item["properties"])),
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
export function arcSettingPropertiesSerializer(item) {
|
|
108
|
-
return {
|
|
109
|
-
arcInstanceResourceGroup: item["arcInstanceResourceGroup"],
|
|
110
|
-
arcApplicationClientId: item["arcApplicationClientId"],
|
|
111
|
-
arcApplicationTenantId: item["arcApplicationTenantId"],
|
|
112
|
-
arcServicePrincipalObjectId: item["arcServicePrincipalObjectId"],
|
|
113
|
-
arcApplicationObjectId: item["arcApplicationObjectId"],
|
|
114
|
-
connectivityProperties: !item["connectivityProperties"]
|
|
115
|
-
? item["connectivityProperties"]
|
|
116
|
-
: arcConnectivityPropertiesSerializer(item["connectivityProperties"]),
|
|
117
|
-
};
|
|
118
|
-
}
|
|
119
|
-
export function arcSettingPropertiesDeserializer(item) {
|
|
120
|
-
return {
|
|
121
|
-
provisioningState: item["provisioningState"],
|
|
122
|
-
arcInstanceResourceGroup: item["arcInstanceResourceGroup"],
|
|
123
|
-
arcApplicationClientId: item["arcApplicationClientId"],
|
|
124
|
-
arcApplicationTenantId: item["arcApplicationTenantId"],
|
|
125
|
-
arcServicePrincipalObjectId: item["arcServicePrincipalObjectId"],
|
|
126
|
-
arcApplicationObjectId: item["arcApplicationObjectId"],
|
|
127
|
-
aggregateState: item["aggregateState"],
|
|
128
|
-
perNodeDetails: !item["perNodeDetails"]
|
|
129
|
-
? item["perNodeDetails"]
|
|
130
|
-
: perNodeStateArrayDeserializer(item["perNodeDetails"]),
|
|
131
|
-
connectivityProperties: !item["connectivityProperties"]
|
|
132
|
-
? item["connectivityProperties"]
|
|
133
|
-
: arcConnectivityPropertiesDeserializer(item["connectivityProperties"]),
|
|
134
|
-
defaultExtensions: !item["defaultExtensions"]
|
|
135
|
-
? item["defaultExtensions"]
|
|
136
|
-
: defaultExtensionDetailsArrayDeserializer(item["defaultExtensions"]),
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
/** Provisioning state of the ArcSetting proxy resource. */
|
|
140
|
-
export var KnownProvisioningState;
|
|
141
|
-
(function (KnownProvisioningState) {
|
|
142
|
-
/** The provisioning state is not specified. */
|
|
143
|
-
KnownProvisioningState["NotSpecified"] = "NotSpecified";
|
|
144
|
-
/** An error occurred during provisioning. */
|
|
145
|
-
KnownProvisioningState["Error"] = "Error";
|
|
146
|
-
/** Provisioning completed successfully. */
|
|
147
|
-
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
148
|
-
/** Provisioning failed. */
|
|
149
|
-
KnownProvisioningState["Failed"] = "Failed";
|
|
150
|
-
/** Provisioning was canceled. */
|
|
151
|
-
KnownProvisioningState["Canceled"] = "Canceled";
|
|
152
|
-
/** The resource is connected. */
|
|
153
|
-
KnownProvisioningState["Connected"] = "Connected";
|
|
154
|
-
/** The resource is disconnected. */
|
|
155
|
-
KnownProvisioningState["Disconnected"] = "Disconnected";
|
|
156
|
-
/** The resource has been deleted. */
|
|
157
|
-
KnownProvisioningState["Deleted"] = "Deleted";
|
|
158
|
-
/** The resource is being created. */
|
|
159
|
-
KnownProvisioningState["Creating"] = "Creating";
|
|
160
|
-
/** The resource is being updated. */
|
|
161
|
-
KnownProvisioningState["Updating"] = "Updating";
|
|
162
|
-
/** The resource is being deleted. */
|
|
163
|
-
KnownProvisioningState["Deleting"] = "Deleting";
|
|
164
|
-
/** The resource is being moved. */
|
|
165
|
-
KnownProvisioningState["Moving"] = "Moving";
|
|
166
|
-
/** Provisioning partially succeeded. */
|
|
167
|
-
KnownProvisioningState["PartiallySucceeded"] = "PartiallySucceeded";
|
|
168
|
-
/** The resource is partially connected. */
|
|
169
|
-
KnownProvisioningState["PartiallyConnected"] = "PartiallyConnected";
|
|
170
|
-
/** Provisioning is in progress. */
|
|
171
|
-
KnownProvisioningState["InProgress"] = "InProgress";
|
|
172
|
-
/** Provisioning request has been accepted. */
|
|
173
|
-
KnownProvisioningState["Accepted"] = "Accepted";
|
|
174
|
-
/** The resource is currently provisioning. */
|
|
175
|
-
KnownProvisioningState["Provisioning"] = "Provisioning";
|
|
176
|
-
/** The resource is being disabled. */
|
|
177
|
-
KnownProvisioningState["DisableInProgress"] = "DisableInProgress";
|
|
178
|
-
})(KnownProvisioningState || (KnownProvisioningState = {}));
|
|
179
|
-
/** Aggregate state of Arc agent across the nodes in this HCI cluster. */
|
|
180
|
-
export var KnownArcSettingAggregateState;
|
|
181
|
-
(function (KnownArcSettingAggregateState) {
|
|
182
|
-
/** The aggregate state is not specified. */
|
|
183
|
-
KnownArcSettingAggregateState["NotSpecified"] = "NotSpecified";
|
|
184
|
-
/** An error occurred in the aggregate state. */
|
|
185
|
-
KnownArcSettingAggregateState["Error"] = "Error";
|
|
186
|
-
/** The operation successfully completed across all nodes. */
|
|
187
|
-
KnownArcSettingAggregateState["Succeeded"] = "Succeeded";
|
|
188
|
-
/** The operation was canceled across the nodes. */
|
|
189
|
-
KnownArcSettingAggregateState["Canceled"] = "Canceled";
|
|
190
|
-
/** The operation failed on all or most nodes. */
|
|
191
|
-
KnownArcSettingAggregateState["Failed"] = "Failed";
|
|
192
|
-
/** All nodes are connected. */
|
|
193
|
-
KnownArcSettingAggregateState["Connected"] = "Connected";
|
|
194
|
-
/** All nodes are disconnected. */
|
|
195
|
-
KnownArcSettingAggregateState["Disconnected"] = "Disconnected";
|
|
196
|
-
/** The Arc agent has been deleted from all nodes. */
|
|
197
|
-
KnownArcSettingAggregateState["Deleted"] = "Deleted";
|
|
198
|
-
/** The Arc agent is being created across the nodes. */
|
|
199
|
-
KnownArcSettingAggregateState["Creating"] = "Creating";
|
|
200
|
-
/** The Arc agent is being updated across the nodes. */
|
|
201
|
-
KnownArcSettingAggregateState["Updating"] = "Updating";
|
|
202
|
-
/** The Arc agent is being deleted across the nodes. */
|
|
203
|
-
KnownArcSettingAggregateState["Deleting"] = "Deleting";
|
|
204
|
-
/** The Arc agent is being moved across the nodes. */
|
|
205
|
-
KnownArcSettingAggregateState["Moving"] = "Moving";
|
|
206
|
-
/** The operation succeeded on some nodes. */
|
|
207
|
-
KnownArcSettingAggregateState["PartiallySucceeded"] = "PartiallySucceeded";
|
|
208
|
-
/** Some nodes are connected, others are not. */
|
|
209
|
-
KnownArcSettingAggregateState["PartiallyConnected"] = "PartiallyConnected";
|
|
210
|
-
/** The operation is currently in progress across the nodes. */
|
|
211
|
-
KnownArcSettingAggregateState["InProgress"] = "InProgress";
|
|
212
|
-
/** The operation has been accepted and is pending execution. */
|
|
213
|
-
KnownArcSettingAggregateState["Accepted"] = "Accepted";
|
|
214
|
-
/** The Arc agent is being provisioned across the nodes. */
|
|
215
|
-
KnownArcSettingAggregateState["Provisioning"] = "Provisioning";
|
|
216
|
-
/** The Arc agent is being disabled across the nodes. */
|
|
217
|
-
KnownArcSettingAggregateState["DisableInProgress"] = "DisableInProgress";
|
|
218
|
-
})(KnownArcSettingAggregateState || (KnownArcSettingAggregateState = {}));
|
|
219
|
-
export function perNodeStateArrayDeserializer(result) {
|
|
220
|
-
return result.map((item) => {
|
|
221
|
-
return perNodeStateDeserializer(item);
|
|
222
|
-
});
|
|
223
|
-
}
|
|
224
|
-
export function perNodeStateDeserializer(item) {
|
|
225
|
-
return {
|
|
226
|
-
name: item["name"],
|
|
227
|
-
arcInstance: item["arcInstance"],
|
|
228
|
-
arcNodeServicePrincipalObjectId: item["arcNodeServicePrincipalObjectId"],
|
|
229
|
-
state: item["state"],
|
|
230
|
-
};
|
|
231
|
-
}
|
|
232
|
-
/** State of the Arc agent in this node. Indicates the current lifecycle status of the agent, such as whether it's being provisioned, connected, updated, or has encountered an error. */
|
|
233
|
-
export var KnownNodeArcState;
|
|
234
|
-
(function (KnownNodeArcState) {
|
|
235
|
-
/** The state is not specified. */
|
|
236
|
-
KnownNodeArcState["NotSpecified"] = "NotSpecified";
|
|
237
|
-
/** An error occurred during the agent's lifecycle. */
|
|
238
|
-
KnownNodeArcState["Error"] = "Error";
|
|
239
|
-
/** The operation completed successfully. */
|
|
240
|
-
KnownNodeArcState["Succeeded"] = "Succeeded";
|
|
241
|
-
/** The operation was canceled before completion. */
|
|
242
|
-
KnownNodeArcState["Canceled"] = "Canceled";
|
|
243
|
-
/** The operation failed. */
|
|
244
|
-
KnownNodeArcState["Failed"] = "Failed";
|
|
245
|
-
/** The Arc agent is connected on this node. */
|
|
246
|
-
KnownNodeArcState["Connected"] = "Connected";
|
|
247
|
-
/** The Arc agent is disconnected on this node. */
|
|
248
|
-
KnownNodeArcState["Disconnected"] = "Disconnected";
|
|
249
|
-
/** The Arc agent has been deleted from this node. */
|
|
250
|
-
KnownNodeArcState["Deleted"] = "Deleted";
|
|
251
|
-
/** The Arc agent is being created on this node. */
|
|
252
|
-
KnownNodeArcState["Creating"] = "Creating";
|
|
253
|
-
/** The Arc agent is being updated on this node. */
|
|
254
|
-
KnownNodeArcState["Updating"] = "Updating";
|
|
255
|
-
/** The Arc agent is being deleted from this node. */
|
|
256
|
-
KnownNodeArcState["Deleting"] = "Deleting";
|
|
257
|
-
/** The Arc agent is being moved on this node. */
|
|
258
|
-
KnownNodeArcState["Moving"] = "Moving";
|
|
259
|
-
/** The operation partially succeeded. */
|
|
260
|
-
KnownNodeArcState["PartiallySucceeded"] = "PartiallySucceeded";
|
|
261
|
-
/** The Arc agent is partially connected on this node. */
|
|
262
|
-
KnownNodeArcState["PartiallyConnected"] = "PartiallyConnected";
|
|
263
|
-
/** The operation is currently in progress. */
|
|
264
|
-
KnownNodeArcState["InProgress"] = "InProgress";
|
|
265
|
-
/** The operation has been accepted and is pending execution. */
|
|
266
|
-
KnownNodeArcState["Accepted"] = "Accepted";
|
|
267
|
-
/** The Arc agent is currently being provisioned on this node. */
|
|
268
|
-
KnownNodeArcState["Provisioning"] = "Provisioning";
|
|
269
|
-
/** The Arc agent is in the process of being disabled on this node. */
|
|
270
|
-
KnownNodeArcState["DisableInProgress"] = "DisableInProgress";
|
|
271
|
-
})(KnownNodeArcState || (KnownNodeArcState = {}));
|
|
272
|
-
export function arcConnectivityPropertiesSerializer(item) {
|
|
273
|
-
return {
|
|
274
|
-
enabled: item["enabled"],
|
|
275
|
-
serviceConfigurations: !item["serviceConfigurations"]
|
|
276
|
-
? item["serviceConfigurations"]
|
|
277
|
-
: serviceConfigurationArraySerializer(item["serviceConfigurations"]),
|
|
278
|
-
};
|
|
279
|
-
}
|
|
280
|
-
export function arcConnectivityPropertiesDeserializer(item) {
|
|
281
|
-
return {
|
|
282
|
-
enabled: item["enabled"],
|
|
283
|
-
serviceConfigurations: !item["serviceConfigurations"]
|
|
284
|
-
? item["serviceConfigurations"]
|
|
285
|
-
: serviceConfigurationArrayDeserializer(item["serviceConfigurations"]),
|
|
286
|
-
};
|
|
287
|
-
}
|
|
288
|
-
export function serviceConfigurationArraySerializer(result) {
|
|
289
|
-
return result.map((item) => {
|
|
290
|
-
return serviceConfigurationSerializer(item);
|
|
291
|
-
});
|
|
292
|
-
}
|
|
293
|
-
export function serviceConfigurationArrayDeserializer(result) {
|
|
294
|
-
return result.map((item) => {
|
|
295
|
-
return serviceConfigurationDeserializer(item);
|
|
296
|
-
});
|
|
297
|
-
}
|
|
298
|
-
export function serviceConfigurationSerializer(item) {
|
|
299
|
-
return { serviceName: item["serviceName"], port: item["port"] };
|
|
300
|
-
}
|
|
301
|
-
export function serviceConfigurationDeserializer(item) {
|
|
302
|
-
return {
|
|
303
|
-
serviceName: item["serviceName"],
|
|
304
|
-
port: item["port"],
|
|
305
|
-
};
|
|
306
|
-
}
|
|
307
|
-
/** Specifies the name of the service associated with the update or operation. This helps identify which system component or tool is involved. */
|
|
308
|
-
export var KnownServiceName;
|
|
309
|
-
(function (KnownServiceName) {
|
|
310
|
-
/** Windows Admin Center (WAC) is the service associated with this operation. */
|
|
311
|
-
KnownServiceName["WAC"] = "WAC";
|
|
312
|
-
})(KnownServiceName || (KnownServiceName = {}));
|
|
313
|
-
export function defaultExtensionDetailsArrayDeserializer(result) {
|
|
314
|
-
return result.map((item) => {
|
|
315
|
-
return defaultExtensionDetailsDeserializer(item);
|
|
316
|
-
});
|
|
317
|
-
}
|
|
318
|
-
export function defaultExtensionDetailsDeserializer(item) {
|
|
319
|
-
return {
|
|
320
|
-
category: item["category"],
|
|
321
|
-
consentTime: !item["consentTime"] ? item["consentTime"] : new Date(item["consentTime"]),
|
|
322
|
-
};
|
|
323
|
-
}
|
|
324
|
-
export function proxyResourceSerializer(item) {
|
|
325
|
-
return item;
|
|
326
|
-
}
|
|
327
|
-
export function proxyResourceDeserializer(item) {
|
|
328
|
-
return {
|
|
329
|
-
id: item["id"],
|
|
330
|
-
name: item["name"],
|
|
331
|
-
type: item["type"],
|
|
332
|
-
systemData: !item["systemData"]
|
|
333
|
-
? item["systemData"]
|
|
334
|
-
: systemDataDeserializer(item["systemData"]),
|
|
335
|
-
};
|
|
336
|
-
}
|
|
337
|
-
export function resourceSerializer(item) {
|
|
338
|
-
return item;
|
|
339
|
-
}
|
|
340
|
-
export function resourceDeserializer(item) {
|
|
341
|
-
return {
|
|
342
|
-
id: item["id"],
|
|
343
|
-
name: item["name"],
|
|
344
|
-
type: item["type"],
|
|
345
|
-
systemData: !item["systemData"]
|
|
346
|
-
? item["systemData"]
|
|
347
|
-
: systemDataDeserializer(item["systemData"]),
|
|
348
|
-
};
|
|
349
|
-
}
|
|
350
|
-
export function systemDataDeserializer(item) {
|
|
351
|
-
return {
|
|
352
|
-
createdBy: item["createdBy"],
|
|
353
|
-
createdByType: item["createdByType"],
|
|
354
|
-
createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
|
|
355
|
-
lastModifiedBy: item["lastModifiedBy"],
|
|
356
|
-
lastModifiedByType: item["lastModifiedByType"],
|
|
357
|
-
lastModifiedAt: !item["lastModifiedAt"]
|
|
358
|
-
? item["lastModifiedAt"]
|
|
359
|
-
: new Date(item["lastModifiedAt"]),
|
|
360
|
-
};
|
|
361
|
-
}
|
|
362
|
-
/** The kind of entity that created the resource. */
|
|
363
|
-
export var KnownCreatedByType;
|
|
364
|
-
(function (KnownCreatedByType) {
|
|
365
|
-
/** The entity was created by a user. */
|
|
366
|
-
KnownCreatedByType["User"] = "User";
|
|
367
|
-
/** The entity was created by an application. */
|
|
368
|
-
KnownCreatedByType["Application"] = "Application";
|
|
369
|
-
/** The entity was created by a managed identity. */
|
|
370
|
-
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
371
|
-
/** The entity was created by a key. */
|
|
372
|
-
KnownCreatedByType["Key"] = "Key";
|
|
373
|
-
})(KnownCreatedByType || (KnownCreatedByType = {}));
|
|
374
|
-
export function arcSettingsPatchSerializer(item) {
|
|
375
|
-
return {
|
|
376
|
-
tags: item["tags"],
|
|
377
|
-
properties: areAllPropsUndefined(item, ["connectivityProperties"])
|
|
378
|
-
? undefined
|
|
379
|
-
: _arcSettingsPatchPropertiesSerializer(item),
|
|
380
|
-
};
|
|
381
|
-
}
|
|
382
|
-
export function arcSettingsPatchPropertiesSerializer(item) {
|
|
383
|
-
return {
|
|
384
|
-
connectivityProperties: !item["connectivityProperties"]
|
|
385
|
-
? item["connectivityProperties"]
|
|
386
|
-
: arcConnectivityPropertiesSerializer(item["connectivityProperties"]),
|
|
387
|
-
};
|
|
388
|
-
}
|
|
389
|
-
export function _arcSettingListDeserializer(item) {
|
|
390
|
-
return {
|
|
391
|
-
value: arcSettingArrayDeserializer(item["value"]),
|
|
392
|
-
nextLink: item["nextLink"],
|
|
393
|
-
};
|
|
394
|
-
}
|
|
395
|
-
export function arcSettingArraySerializer(result) {
|
|
396
|
-
return result.map((item) => {
|
|
397
|
-
return arcSettingSerializer(item);
|
|
398
|
-
});
|
|
399
|
-
}
|
|
400
|
-
export function arcSettingArrayDeserializer(result) {
|
|
401
|
-
return result.map((item) => {
|
|
402
|
-
return arcSettingDeserializer(item);
|
|
403
|
-
});
|
|
404
|
-
}
|
|
405
|
-
export function passwordCredentialDeserializer(item) {
|
|
406
|
-
return {
|
|
407
|
-
secretText: item["secretText"],
|
|
408
|
-
keyId: item["keyId"],
|
|
409
|
-
startDateTime: !item["startDateTime"] ? item["startDateTime"] : new Date(item["startDateTime"]),
|
|
410
|
-
endDateTime: !item["endDateTime"] ? item["endDateTime"] : new Date(item["endDateTime"]),
|
|
411
|
-
};
|
|
412
|
-
}
|
|
413
|
-
export function arcIdentityResponseDeserializer(item) {
|
|
414
|
-
return {
|
|
415
|
-
...(!item["properties"]
|
|
416
|
-
? item["properties"]
|
|
417
|
-
: _arcIdentityResponsePropertiesDeserializer(item["properties"])),
|
|
418
|
-
};
|
|
419
|
-
}
|
|
420
|
-
export function arcIdentityResponsePropertiesDeserializer(item) {
|
|
421
|
-
return {
|
|
422
|
-
arcApplicationClientId: item["arcApplicationClientId"],
|
|
423
|
-
arcApplicationTenantId: item["arcApplicationTenantId"],
|
|
424
|
-
arcServicePrincipalObjectId: item["arcServicePrincipalObjectId"],
|
|
425
|
-
arcApplicationObjectId: item["arcApplicationObjectId"],
|
|
426
|
-
};
|
|
427
|
-
}
|
|
428
|
-
export function reconcileArcSettingsRequestSerializer(item) {
|
|
429
|
-
return {
|
|
430
|
-
properties: !item["properties"]
|
|
431
|
-
? item["properties"]
|
|
432
|
-
: reconcileArcSettingsRequestPropertiesSerializer(item["properties"]),
|
|
433
|
-
};
|
|
434
|
-
}
|
|
435
|
-
export function reconcileArcSettingsRequestPropertiesSerializer(item) {
|
|
436
|
-
return {
|
|
437
|
-
clusterNodes: !item["clusterNodes"]
|
|
438
|
-
? item["clusterNodes"]
|
|
439
|
-
: item["clusterNodes"].map((p) => {
|
|
440
|
-
return p;
|
|
441
|
-
}),
|
|
442
|
-
};
|
|
443
|
-
}
|
|
444
|
-
export function offerDeserializer(item) {
|
|
445
|
-
return {
|
|
446
|
-
id: item["id"],
|
|
447
|
-
name: item["name"],
|
|
448
|
-
type: item["type"],
|
|
449
|
-
systemData: !item["systemData"]
|
|
450
|
-
? item["systemData"]
|
|
451
|
-
: systemDataDeserializer(item["systemData"]),
|
|
452
|
-
...(!item["properties"]
|
|
453
|
-
? item["properties"]
|
|
454
|
-
: _offerPropertiesDeserializer(item["properties"])),
|
|
455
|
-
};
|
|
456
|
-
}
|
|
457
|
-
export function offerPropertiesDeserializer(item) {
|
|
458
|
-
return {
|
|
459
|
-
provisioningState: item["provisioningState"],
|
|
460
|
-
publisherId: item["publisherId"],
|
|
461
|
-
content: item["content"],
|
|
462
|
-
contentVersion: item["contentVersion"],
|
|
463
|
-
skuMappings: !item["skuMappings"]
|
|
464
|
-
? item["skuMappings"]
|
|
465
|
-
: skuMappingsArrayDeserializer(item["skuMappings"]),
|
|
466
|
-
};
|
|
467
|
-
}
|
|
468
|
-
export function skuMappingsArrayDeserializer(result) {
|
|
469
|
-
return result.map((item) => {
|
|
470
|
-
return skuMappingsDeserializer(item);
|
|
471
|
-
});
|
|
472
|
-
}
|
|
473
|
-
export function skuMappingsDeserializer(item) {
|
|
474
|
-
return {
|
|
475
|
-
catalogPlanId: item["catalogPlanId"],
|
|
476
|
-
marketplaceSkuId: item["marketplaceSkuId"],
|
|
477
|
-
marketplaceSkuVersions: !item["marketplaceSkuVersions"]
|
|
478
|
-
? item["marketplaceSkuVersions"]
|
|
479
|
-
: item["marketplaceSkuVersions"].map((p) => {
|
|
480
|
-
return p;
|
|
481
|
-
}),
|
|
482
|
-
};
|
|
483
|
-
}
|
|
484
|
-
export function _offerListDeserializer(item) {
|
|
485
|
-
return {
|
|
486
|
-
value: offerArrayDeserializer(item["value"]),
|
|
487
|
-
nextLink: item["nextLink"],
|
|
488
|
-
};
|
|
489
|
-
}
|
|
490
|
-
export function offerArrayDeserializer(result) {
|
|
491
|
-
return result.map((item) => {
|
|
492
|
-
return offerDeserializer(item);
|
|
493
|
-
});
|
|
494
|
-
}
|
|
495
|
-
export function clusterSerializer(item) {
|
|
496
|
-
return {
|
|
497
|
-
tags: item["tags"],
|
|
498
|
-
location: item["location"],
|
|
499
|
-
properties: areAllPropsUndefined(item, [
|
|
500
|
-
"cloudManagementEndpoint",
|
|
501
|
-
"aadClientId",
|
|
502
|
-
"aadTenantId",
|
|
503
|
-
"aadApplicationObjectId",
|
|
504
|
-
"aadServicePrincipalObjectId",
|
|
505
|
-
"softwareAssuranceProperties",
|
|
506
|
-
"logCollectionProperties",
|
|
507
|
-
"remoteSupportProperties",
|
|
508
|
-
"desiredProperties",
|
|
509
|
-
"secretsLocations",
|
|
510
|
-
"localAvailabilityZones",
|
|
511
|
-
])
|
|
512
|
-
? undefined
|
|
513
|
-
: _clusterPropertiesSerializer(item),
|
|
514
|
-
identity: areAllPropsUndefined(item, ["type", "userAssignedIdentities"])
|
|
515
|
-
? undefined
|
|
516
|
-
: _clusterIdentitySerializer(item),
|
|
517
|
-
};
|
|
518
|
-
}
|
|
519
|
-
export function clusterDeserializer(item) {
|
|
520
|
-
return {
|
|
521
|
-
tags: !item["tags"]
|
|
522
|
-
? item["tags"]
|
|
523
|
-
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
524
|
-
location: item["location"],
|
|
525
|
-
id: item["id"],
|
|
526
|
-
name: item["name"],
|
|
527
|
-
type: item["type"],
|
|
528
|
-
systemData: !item["systemData"]
|
|
529
|
-
? item["systemData"]
|
|
530
|
-
: systemDataDeserializer(item["systemData"]),
|
|
531
|
-
...(!item["properties"]
|
|
532
|
-
? item["properties"]
|
|
533
|
-
: _clusterPropertiesDeserializer(item["properties"])),
|
|
534
|
-
...(!item["identity"] ? item["identity"] : _clusterIdentityDeserializer(item["identity"])),
|
|
535
|
-
};
|
|
536
|
-
}
|
|
537
|
-
export function clusterPropertiesSerializer(item) {
|
|
538
|
-
return {
|
|
539
|
-
cloudManagementEndpoint: item["cloudManagementEndpoint"],
|
|
540
|
-
aadClientId: item["aadClientId"],
|
|
541
|
-
aadTenantId: item["aadTenantId"],
|
|
542
|
-
aadApplicationObjectId: item["aadApplicationObjectId"],
|
|
543
|
-
aadServicePrincipalObjectId: item["aadServicePrincipalObjectId"],
|
|
544
|
-
softwareAssuranceProperties: !item["softwareAssuranceProperties"]
|
|
545
|
-
? item["softwareAssuranceProperties"]
|
|
546
|
-
: softwareAssurancePropertiesSerializer(item["softwareAssuranceProperties"]),
|
|
547
|
-
logCollectionProperties: !item["logCollectionProperties"]
|
|
548
|
-
? item["logCollectionProperties"]
|
|
549
|
-
: logCollectionPropertiesSerializer(item["logCollectionProperties"]),
|
|
550
|
-
remoteSupportProperties: !item["remoteSupportProperties"]
|
|
551
|
-
? item["remoteSupportProperties"]
|
|
552
|
-
: remoteSupportPropertiesSerializer(item["remoteSupportProperties"]),
|
|
553
|
-
desiredProperties: !item["desiredProperties"]
|
|
554
|
-
? item["desiredProperties"]
|
|
555
|
-
: clusterDesiredPropertiesSerializer(item["desiredProperties"]),
|
|
556
|
-
secretsLocations: !item["secretsLocations"]
|
|
557
|
-
? item["secretsLocations"]
|
|
558
|
-
: secretsLocationDetailsArraySerializer(item["secretsLocations"]),
|
|
559
|
-
localAvailabilityZones: !item["localAvailabilityZones"]
|
|
560
|
-
? item["localAvailabilityZones"]
|
|
561
|
-
: localAvailabilityZonesArraySerializer(item["localAvailabilityZones"]),
|
|
562
|
-
};
|
|
563
|
-
}
|
|
564
|
-
export function clusterPropertiesDeserializer(item) {
|
|
565
|
-
return {
|
|
566
|
-
provisioningState: item["provisioningState"],
|
|
567
|
-
status: item["status"],
|
|
568
|
-
connectivityStatus: item["connectivityStatus"],
|
|
569
|
-
cloudId: item["cloudId"],
|
|
570
|
-
cloudManagementEndpoint: item["cloudManagementEndpoint"],
|
|
571
|
-
aadClientId: item["aadClientId"],
|
|
572
|
-
aadTenantId: item["aadTenantId"],
|
|
573
|
-
aadApplicationObjectId: item["aadApplicationObjectId"],
|
|
574
|
-
aadServicePrincipalObjectId: item["aadServicePrincipalObjectId"],
|
|
575
|
-
softwareAssuranceProperties: !item["softwareAssuranceProperties"]
|
|
576
|
-
? item["softwareAssuranceProperties"]
|
|
577
|
-
: softwareAssurancePropertiesDeserializer(item["softwareAssuranceProperties"]),
|
|
578
|
-
isManagementCluster: item["isManagementCluster"],
|
|
579
|
-
logCollectionProperties: !item["logCollectionProperties"]
|
|
580
|
-
? item["logCollectionProperties"]
|
|
581
|
-
: logCollectionPropertiesDeserializer(item["logCollectionProperties"]),
|
|
582
|
-
remoteSupportProperties: !item["remoteSupportProperties"]
|
|
583
|
-
? item["remoteSupportProperties"]
|
|
584
|
-
: remoteSupportPropertiesDeserializer(item["remoteSupportProperties"]),
|
|
585
|
-
desiredProperties: !item["desiredProperties"]
|
|
586
|
-
? item["desiredProperties"]
|
|
587
|
-
: clusterDesiredPropertiesDeserializer(item["desiredProperties"]),
|
|
588
|
-
reportedProperties: !item["reportedProperties"]
|
|
589
|
-
? item["reportedProperties"]
|
|
590
|
-
: clusterReportedPropertiesDeserializer(item["reportedProperties"]),
|
|
591
|
-
isolatedVmAttestationConfiguration: !item["isolatedVmAttestationConfiguration"]
|
|
592
|
-
? item["isolatedVmAttestationConfiguration"]
|
|
593
|
-
: isolatedVmAttestationConfigurationDeserializer(item["isolatedVmAttestationConfiguration"]),
|
|
594
|
-
trialDaysRemaining: item["trialDaysRemaining"],
|
|
595
|
-
billingModel: item["billingModel"],
|
|
596
|
-
registrationTimestamp: !item["registrationTimestamp"]
|
|
597
|
-
? item["registrationTimestamp"]
|
|
598
|
-
: new Date(item["registrationTimestamp"]),
|
|
599
|
-
lastSyncTimestamp: !item["lastSyncTimestamp"]
|
|
600
|
-
? item["lastSyncTimestamp"]
|
|
601
|
-
: new Date(item["lastSyncTimestamp"]),
|
|
602
|
-
lastBillingTimestamp: !item["lastBillingTimestamp"]
|
|
603
|
-
? item["lastBillingTimestamp"]
|
|
604
|
-
: new Date(item["lastBillingTimestamp"]),
|
|
605
|
-
serviceEndpoint: item["serviceEndpoint"],
|
|
606
|
-
resourceProviderObjectId: item["resourceProviderObjectId"],
|
|
607
|
-
secretsLocations: !item["secretsLocations"]
|
|
608
|
-
? item["secretsLocations"]
|
|
609
|
-
: secretsLocationDetailsArrayDeserializer(item["secretsLocations"]),
|
|
610
|
-
clusterPattern: item["clusterPattern"],
|
|
611
|
-
localAvailabilityZones: !item["localAvailabilityZones"]
|
|
612
|
-
? item["localAvailabilityZones"]
|
|
613
|
-
: localAvailabilityZonesArrayDeserializer(item["localAvailabilityZones"]),
|
|
614
|
-
identityProvider: item["identityProvider"],
|
|
615
|
-
};
|
|
616
|
-
}
|
|
617
|
-
/** Status of the cluster agent. Indicates the current connectivity, validation, and deployment state of the agent within the cluster. */
|
|
618
|
-
export var KnownStatus;
|
|
619
|
-
(function (KnownStatus) {
|
|
620
|
-
/** The cluster agent has not yet registered with Azure. */
|
|
621
|
-
KnownStatus["NotYetRegistered"] = "NotYetRegistered";
|
|
622
|
-
/** The cluster agent has connected to Azure recently. */
|
|
623
|
-
KnownStatus["ConnectedRecently"] = "ConnectedRecently";
|
|
624
|
-
/** The cluster agent has not connected to Azure recently. */
|
|
625
|
-
KnownStatus["NotConnectedRecently"] = "NotConnectedRecently";
|
|
626
|
-
/** The cluster agent is currently disconnected from Azure. */
|
|
627
|
-
KnownStatus["Disconnected"] = "Disconnected";
|
|
628
|
-
/** An error occurred in the cluster agent's operation. */
|
|
629
|
-
KnownStatus["Error"] = "Error";
|
|
630
|
-
/** The status of the cluster agent is not specified. */
|
|
631
|
-
KnownStatus["NotSpecified"] = "NotSpecified";
|
|
632
|
-
/** Validation of the cluster agent is currently in progress. */
|
|
633
|
-
KnownStatus["ValidationInProgress"] = "ValidationInProgress";
|
|
634
|
-
/** Validation of the cluster agent completed successfully. */
|
|
635
|
-
KnownStatus["ValidationSuccess"] = "ValidationSuccess";
|
|
636
|
-
/** Validation of the cluster agent failed. */
|
|
637
|
-
KnownStatus["ValidationFailed"] = "ValidationFailed";
|
|
638
|
-
/** Deployment of the cluster agent is currently in progress. */
|
|
639
|
-
KnownStatus["DeploymentInProgress"] = "DeploymentInProgress";
|
|
640
|
-
/** Deployment of the cluster agent failed. */
|
|
641
|
-
KnownStatus["DeploymentFailed"] = "DeploymentFailed";
|
|
642
|
-
/** Deployment of the cluster agent completed successfully. */
|
|
643
|
-
KnownStatus["DeploymentSuccess"] = "DeploymentSuccess";
|
|
644
|
-
})(KnownStatus || (KnownStatus = {}));
|
|
645
|
-
/** Overall connectivity status for the cluster resource. Indicates whether the cluster is connected to Azure, partially connected, or has not recently communicated. */
|
|
646
|
-
export var KnownConnectivityStatus;
|
|
647
|
-
(function (KnownConnectivityStatus) {
|
|
648
|
-
/** The cluster has not yet registered with Azure. */
|
|
649
|
-
KnownConnectivityStatus["NotYetRegistered"] = "NotYetRegistered";
|
|
650
|
-
/** The cluster is fully connected to Azure. */
|
|
651
|
-
KnownConnectivityStatus["Connected"] = "Connected";
|
|
652
|
-
/** The cluster has not connected to Azure recently. */
|
|
653
|
-
KnownConnectivityStatus["NotConnectedRecently"] = "NotConnectedRecently";
|
|
654
|
-
/** Some components of the cluster are connected, while others are not. */
|
|
655
|
-
KnownConnectivityStatus["PartiallyConnected"] = "PartiallyConnected";
|
|
656
|
-
/** The cluster is not connected to Azure. */
|
|
657
|
-
KnownConnectivityStatus["Disconnected"] = "Disconnected";
|
|
658
|
-
/** The connectivity status is not specified. */
|
|
659
|
-
KnownConnectivityStatus["NotSpecified"] = "NotSpecified";
|
|
660
|
-
})(KnownConnectivityStatus || (KnownConnectivityStatus = {}));
|
|
661
|
-
export function softwareAssurancePropertiesSerializer(item) {
|
|
662
|
-
return { softwareAssuranceIntent: item["softwareAssuranceIntent"] };
|
|
663
|
-
}
|
|
664
|
-
export function softwareAssurancePropertiesDeserializer(item) {
|
|
665
|
-
return {
|
|
666
|
-
softwareAssuranceStatus: item["softwareAssuranceStatus"],
|
|
667
|
-
softwareAssuranceIntent: item["softwareAssuranceIntent"],
|
|
668
|
-
lastUpdated: !item["lastUpdated"] ? item["lastUpdated"] : new Date(item["lastUpdated"]),
|
|
669
|
-
};
|
|
670
|
-
}
|
|
671
|
-
/** Status of the Software Assurance for the cluster. */
|
|
672
|
-
export var KnownSoftwareAssuranceStatus;
|
|
673
|
-
(function (KnownSoftwareAssuranceStatus) {
|
|
674
|
-
/** Software Assurance is enabled for the cluster. */
|
|
675
|
-
KnownSoftwareAssuranceStatus["Enabled"] = "Enabled";
|
|
676
|
-
/** Software Assurance is disabled for the cluster. */
|
|
677
|
-
KnownSoftwareAssuranceStatus["Disabled"] = "Disabled";
|
|
678
|
-
})(KnownSoftwareAssuranceStatus || (KnownSoftwareAssuranceStatus = {}));
|
|
679
|
-
/** Customer Intent for Software Assurance Benefit. */
|
|
680
|
-
export var KnownSoftwareAssuranceIntent;
|
|
681
|
-
(function (KnownSoftwareAssuranceIntent) {
|
|
682
|
-
/** Customer intends to enable the Software Assurance benefit. */
|
|
683
|
-
KnownSoftwareAssuranceIntent["Enable"] = "Enable";
|
|
684
|
-
/** Customer intends to disable the Software Assurance benefit. */
|
|
685
|
-
KnownSoftwareAssuranceIntent["Disable"] = "Disable";
|
|
686
|
-
})(KnownSoftwareAssuranceIntent || (KnownSoftwareAssuranceIntent = {}));
|
|
687
|
-
export function logCollectionPropertiesSerializer(item) {
|
|
688
|
-
return item;
|
|
689
|
-
}
|
|
690
|
-
export function logCollectionPropertiesDeserializer(item) {
|
|
691
|
-
return {
|
|
692
|
-
fromDate: !item["fromDate"] ? item["fromDate"] : new Date(item["fromDate"]),
|
|
693
|
-
toDate: !item["toDate"] ? item["toDate"] : new Date(item["toDate"]),
|
|
694
|
-
lastLogGenerated: !item["lastLogGenerated"]
|
|
695
|
-
? item["lastLogGenerated"]
|
|
696
|
-
: new Date(item["lastLogGenerated"]),
|
|
697
|
-
logCollectionSessionDetails: !item["logCollectionSessionDetails"]
|
|
698
|
-
? item["logCollectionSessionDetails"]
|
|
699
|
-
: logCollectionSessionArrayDeserializer(item["logCollectionSessionDetails"]),
|
|
700
|
-
};
|
|
701
|
-
}
|
|
702
|
-
export function logCollectionSessionArrayDeserializer(result) {
|
|
703
|
-
return result.map((item) => {
|
|
704
|
-
return logCollectionSessionDeserializer(item);
|
|
705
|
-
});
|
|
706
|
-
}
|
|
707
|
-
export function logCollectionSessionDeserializer(item) {
|
|
708
|
-
return {
|
|
709
|
-
logStartTime: !item["logStartTime"] ? item["logStartTime"] : new Date(item["logStartTime"]),
|
|
710
|
-
logEndTime: !item["logEndTime"] ? item["logEndTime"] : new Date(item["logEndTime"]),
|
|
711
|
-
timeCollected: !item["timeCollected"] ? item["timeCollected"] : new Date(item["timeCollected"]),
|
|
712
|
-
logSize: item["logSize"],
|
|
713
|
-
logCollectionStatus: item["logCollectionStatus"],
|
|
714
|
-
correlationId: item["correlationId"],
|
|
715
|
-
logCollectionJobType: item["logCollectionJobType"],
|
|
716
|
-
endTimeCollected: !item["endTimeCollected"]
|
|
717
|
-
? item["endTimeCollected"]
|
|
718
|
-
: new Date(item["endTimeCollected"]),
|
|
719
|
-
logCollectionError: !item["logCollectionError"]
|
|
720
|
-
? item["logCollectionError"]
|
|
721
|
-
: logCollectionErrorDeserializer(item["logCollectionError"]),
|
|
722
|
-
};
|
|
723
|
-
}
|
|
724
|
-
/** LogCollection status */
|
|
725
|
-
export var KnownLogCollectionStatus;
|
|
726
|
-
(function (KnownLogCollectionStatus) {
|
|
727
|
-
/** No log collection has been initiated. */
|
|
728
|
-
KnownLogCollectionStatus["None"] = "None";
|
|
729
|
-
/** Log collection is currently in progress. */
|
|
730
|
-
KnownLogCollectionStatus["InProgress"] = "InProgress";
|
|
731
|
-
/** Log collection has failed. */
|
|
732
|
-
KnownLogCollectionStatus["Failed"] = "Failed";
|
|
733
|
-
/** Log collection completed successfully. */
|
|
734
|
-
KnownLogCollectionStatus["Succeeded"] = "Succeeded";
|
|
735
|
-
})(KnownLogCollectionStatus || (KnownLogCollectionStatus = {}));
|
|
736
|
-
/** Specifies the type of log collection job. Determines whether the logs are collected immediately on demand or as part of a scheduled operation. */
|
|
737
|
-
export var KnownLogCollectionJobType;
|
|
738
|
-
(function (KnownLogCollectionJobType) {
|
|
739
|
-
/** Log collection is triggered manually and executed immediately. */
|
|
740
|
-
KnownLogCollectionJobType["OnDemand"] = "OnDemand";
|
|
741
|
-
/** Log collection is scheduled to run at a predefined time or interval. */
|
|
742
|
-
KnownLogCollectionJobType["Scheduled"] = "Scheduled";
|
|
743
|
-
})(KnownLogCollectionJobType || (KnownLogCollectionJobType = {}));
|
|
744
|
-
export function logCollectionErrorDeserializer(item) {
|
|
745
|
-
return {
|
|
746
|
-
errorCode: item["errorCode"],
|
|
747
|
-
errorMessage: item["errorMessage"],
|
|
748
|
-
};
|
|
749
|
-
}
|
|
750
|
-
export function remoteSupportPropertiesSerializer(item) {
|
|
751
|
-
return item;
|
|
752
|
-
}
|
|
753
|
-
export function remoteSupportPropertiesDeserializer(item) {
|
|
754
|
-
return {
|
|
755
|
-
accessLevel: item["accessLevel"],
|
|
756
|
-
expirationTimeStamp: !item["expirationTimeStamp"]
|
|
757
|
-
? item["expirationTimeStamp"]
|
|
758
|
-
: new Date(item["expirationTimeStamp"]),
|
|
759
|
-
remoteSupportType: item["remoteSupportType"],
|
|
760
|
-
remoteSupportNodeSettings: !item["remoteSupportNodeSettings"]
|
|
761
|
-
? item["remoteSupportNodeSettings"]
|
|
762
|
-
: remoteSupportNodeSettingsArrayDeserializer(item["remoteSupportNodeSettings"]),
|
|
763
|
-
remoteSupportSessionDetails: !item["remoteSupportSessionDetails"]
|
|
764
|
-
? item["remoteSupportSessionDetails"]
|
|
765
|
-
: perNodeRemoteSupportSessionArrayDeserializer(item["remoteSupportSessionDetails"]),
|
|
766
|
-
};
|
|
767
|
-
}
|
|
768
|
-
/** Remote Support Access Level */
|
|
769
|
-
export var KnownAccessLevel;
|
|
770
|
-
(function (KnownAccessLevel) {
|
|
771
|
-
/** Allows remote diagnostics operations only. */
|
|
772
|
-
KnownAccessLevel["Diagnostics"] = "Diagnostics";
|
|
773
|
-
/** Allows both remote diagnostics and repair operations. */
|
|
774
|
-
KnownAccessLevel["DiagnosticsAndRepair"] = "DiagnosticsAndRepair";
|
|
775
|
-
})(KnownAccessLevel || (KnownAccessLevel = {}));
|
|
776
|
-
/** Remote Support Type for cluster */
|
|
777
|
-
export var KnownRemoteSupportType;
|
|
778
|
-
(function (KnownRemoteSupportType) {
|
|
779
|
-
/** Enable remote support for the cluster. */
|
|
780
|
-
KnownRemoteSupportType["Enable"] = "Enable";
|
|
781
|
-
/** Revoke previously enabled remote support for the cluster. */
|
|
782
|
-
KnownRemoteSupportType["Revoke"] = "Revoke";
|
|
783
|
-
})(KnownRemoteSupportType || (KnownRemoteSupportType = {}));
|
|
784
|
-
export function remoteSupportNodeSettingsArrayDeserializer(result) {
|
|
785
|
-
return result.map((item) => {
|
|
786
|
-
return remoteSupportNodeSettingsDeserializer(item);
|
|
787
|
-
});
|
|
788
|
-
}
|
|
789
|
-
export function remoteSupportNodeSettingsDeserializer(item) {
|
|
790
|
-
return {
|
|
791
|
-
arcResourceId: item["arcResourceId"],
|
|
792
|
-
state: item["state"],
|
|
793
|
-
createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
|
|
794
|
-
updatedAt: !item["updatedAt"] ? item["updatedAt"] : new Date(item["updatedAt"]),
|
|
795
|
-
connectionStatus: item["connectionStatus"],
|
|
796
|
-
connectionErrorMessage: item["connectionErrorMessage"],
|
|
797
|
-
transcriptLocation: item["transcriptLocation"],
|
|
798
|
-
};
|
|
799
|
-
}
|
|
800
|
-
export function perNodeRemoteSupportSessionArrayDeserializer(result) {
|
|
801
|
-
return result.map((item) => {
|
|
802
|
-
return perNodeRemoteSupportSessionDeserializer(item);
|
|
803
|
-
});
|
|
804
|
-
}
|
|
805
|
-
export function perNodeRemoteSupportSessionDeserializer(item) {
|
|
806
|
-
return {
|
|
807
|
-
sessionStartTime: !item["sessionStartTime"]
|
|
808
|
-
? item["sessionStartTime"]
|
|
809
|
-
: new Date(item["sessionStartTime"]),
|
|
810
|
-
sessionEndTime: !item["sessionEndTime"]
|
|
811
|
-
? item["sessionEndTime"]
|
|
812
|
-
: new Date(item["sessionEndTime"]),
|
|
813
|
-
nodeName: item["nodeName"],
|
|
814
|
-
duration: item["duration"],
|
|
815
|
-
accessLevel: item["accessLevel"],
|
|
816
|
-
};
|
|
817
|
-
}
|
|
818
|
-
export function clusterDesiredPropertiesSerializer(item) {
|
|
819
|
-
return {
|
|
820
|
-
windowsServerSubscription: item["windowsServerSubscription"],
|
|
821
|
-
diagnosticLevel: item["diagnosticLevel"],
|
|
822
|
-
};
|
|
823
|
-
}
|
|
824
|
-
export function clusterDesiredPropertiesDeserializer(item) {
|
|
825
|
-
return {
|
|
826
|
-
windowsServerSubscription: item["windowsServerSubscription"],
|
|
827
|
-
diagnosticLevel: item["diagnosticLevel"],
|
|
828
|
-
};
|
|
829
|
-
}
|
|
830
|
-
/** Desired state of Windows Server Subscription. */
|
|
831
|
-
export var KnownWindowsServerSubscription;
|
|
832
|
-
(function (KnownWindowsServerSubscription) {
|
|
833
|
-
/** Windows Server Subscription is disabled. */
|
|
834
|
-
KnownWindowsServerSubscription["Disabled"] = "Disabled";
|
|
835
|
-
/** Windows Server Subscription is enabled. */
|
|
836
|
-
KnownWindowsServerSubscription["Enabled"] = "Enabled";
|
|
837
|
-
})(KnownWindowsServerSubscription || (KnownWindowsServerSubscription = {}));
|
|
838
|
-
/** Desired level of diagnostic data emitted by the cluster. */
|
|
839
|
-
export var KnownDiagnosticLevel;
|
|
840
|
-
(function (KnownDiagnosticLevel) {
|
|
841
|
-
/** No diagnostic data will be emitted. */
|
|
842
|
-
KnownDiagnosticLevel["Off"] = "Off";
|
|
843
|
-
/** Basic diagnostic data will be emitted, including essential health metrics. */
|
|
844
|
-
KnownDiagnosticLevel["Basic"] = "Basic";
|
|
845
|
-
/** Enhanced diagnostic data will be emitted, including detailed performance and usage metrics. */
|
|
846
|
-
KnownDiagnosticLevel["Enhanced"] = "Enhanced";
|
|
847
|
-
})(KnownDiagnosticLevel || (KnownDiagnosticLevel = {}));
|
|
848
|
-
export function clusterReportedPropertiesDeserializer(item) {
|
|
849
|
-
return {
|
|
850
|
-
clusterName: item["clusterName"],
|
|
851
|
-
clusterId: item["clusterId"],
|
|
852
|
-
clusterVersion: item["clusterVersion"],
|
|
853
|
-
nodes: !item["nodes"] ? item["nodes"] : clusterNodeArrayDeserializer(item["nodes"]),
|
|
854
|
-
lastUpdated: !item["lastUpdated"] ? item["lastUpdated"] : new Date(item["lastUpdated"]),
|
|
855
|
-
msiExpirationTimeStamp: !item["msiExpirationTimeStamp"]
|
|
856
|
-
? item["msiExpirationTimeStamp"]
|
|
857
|
-
: new Date(item["msiExpirationTimeStamp"]),
|
|
858
|
-
imdsAttestation: item["imdsAttestation"],
|
|
859
|
-
diagnosticLevel: item["diagnosticLevel"],
|
|
860
|
-
supportedCapabilities: !item["supportedCapabilities"]
|
|
861
|
-
? item["supportedCapabilities"]
|
|
862
|
-
: item["supportedCapabilities"].map((p) => {
|
|
863
|
-
return p;
|
|
864
|
-
}),
|
|
865
|
-
clusterType: item["clusterType"],
|
|
866
|
-
manufacturer: item["manufacturer"],
|
|
867
|
-
oemActivation: item["oemActivation"],
|
|
868
|
-
hardwareClass: item["hardwareClass"],
|
|
869
|
-
};
|
|
870
|
-
}
|
|
871
|
-
export function clusterNodeArrayDeserializer(result) {
|
|
872
|
-
return result.map((item) => {
|
|
873
|
-
return clusterNodeDeserializer(item);
|
|
874
|
-
});
|
|
875
|
-
}
|
|
876
|
-
export function clusterNodeDeserializer(item) {
|
|
877
|
-
return {
|
|
878
|
-
name: item["name"],
|
|
879
|
-
id: item["id"],
|
|
880
|
-
windowsServerSubscription: item["windowsServerSubscription"],
|
|
881
|
-
nodeType: item["nodeType"],
|
|
882
|
-
ehcResourceId: item["ehcResourceId"],
|
|
883
|
-
manufacturer: item["manufacturer"],
|
|
884
|
-
model: item["model"],
|
|
885
|
-
osName: item["osName"],
|
|
886
|
-
osVersion: item["osVersion"],
|
|
887
|
-
osDisplayVersion: item["osDisplayVersion"],
|
|
888
|
-
serialNumber: item["serialNumber"],
|
|
889
|
-
coreCount: item["coreCount"],
|
|
890
|
-
memoryInGiB: item["memoryInGiB"],
|
|
891
|
-
lastLicensingTimestamp: !item["lastLicensingTimestamp"]
|
|
892
|
-
? item["lastLicensingTimestamp"]
|
|
893
|
-
: new Date(item["lastLicensingTimestamp"]),
|
|
894
|
-
oemActivation: item["oemActivation"],
|
|
895
|
-
};
|
|
896
|
-
}
|
|
897
|
-
/** Specifies the type of hardware vendor for all nodes in the cluster. Indicates whether the nodes are provided by Microsoft or a third-party vendor. */
|
|
898
|
-
export var KnownClusterNodeType;
|
|
899
|
-
(function (KnownClusterNodeType) {
|
|
900
|
-
/** All nodes in the cluster are provided and managed by Microsoft. */
|
|
901
|
-
KnownClusterNodeType["FirstParty"] = "FirstParty";
|
|
902
|
-
/** All nodes in the cluster are provided and managed by a third-party vendor. */
|
|
903
|
-
KnownClusterNodeType["ThirdParty"] = "ThirdParty";
|
|
904
|
-
})(KnownClusterNodeType || (KnownClusterNodeType = {}));
|
|
905
|
-
/** OEM activation status of the cluster. */
|
|
906
|
-
export var KnownOemActivation;
|
|
907
|
-
(function (KnownOemActivation) {
|
|
908
|
-
/** OEM activation is disabled for the cluster. */
|
|
909
|
-
KnownOemActivation["Disabled"] = "Disabled";
|
|
910
|
-
/** OEM activation is enabled for the cluster. */
|
|
911
|
-
KnownOemActivation["Enabled"] = "Enabled";
|
|
912
|
-
})(KnownOemActivation || (KnownOemActivation = {}));
|
|
913
|
-
/** IMDS attestation status of the cluster. */
|
|
914
|
-
export var KnownImdsAttestation;
|
|
915
|
-
(function (KnownImdsAttestation) {
|
|
916
|
-
/** IMDS attestation is disabled for the cluster. */
|
|
917
|
-
KnownImdsAttestation["Disabled"] = "Disabled";
|
|
918
|
-
/** IMDS attestation is enabled for the cluster. */
|
|
919
|
-
KnownImdsAttestation["Enabled"] = "Enabled";
|
|
920
|
-
})(KnownImdsAttestation || (KnownImdsAttestation = {}));
|
|
921
|
-
/** Hardware class of the cluster. */
|
|
922
|
-
export var KnownHardwareClass;
|
|
923
|
-
(function (KnownHardwareClass) {
|
|
924
|
-
/** The hardware class is small. */
|
|
925
|
-
KnownHardwareClass["Small"] = "Small";
|
|
926
|
-
/** The hardware class is medium. This corresponds to the default */
|
|
927
|
-
KnownHardwareClass["Medium"] = "Medium";
|
|
928
|
-
/** The hardware class is large. */
|
|
929
|
-
KnownHardwareClass["Large"] = "Large";
|
|
930
|
-
})(KnownHardwareClass || (KnownHardwareClass = {}));
|
|
931
|
-
export function isolatedVmAttestationConfigurationDeserializer(item) {
|
|
932
|
-
return {
|
|
933
|
-
attestationResourceId: item["attestationResourceId"],
|
|
934
|
-
relyingPartyServiceEndpoint: item["relyingPartyServiceEndpoint"],
|
|
935
|
-
attestationServiceEndpoint: item["attestationServiceEndpoint"],
|
|
936
|
-
};
|
|
937
|
-
}
|
|
938
|
-
export function secretsLocationDetailsArraySerializer(result) {
|
|
939
|
-
return result.map((item) => {
|
|
940
|
-
return secretsLocationDetailsSerializer(item);
|
|
941
|
-
});
|
|
942
|
-
}
|
|
943
|
-
export function secretsLocationDetailsArrayDeserializer(result) {
|
|
944
|
-
return result.map((item) => {
|
|
945
|
-
return secretsLocationDetailsDeserializer(item);
|
|
946
|
-
});
|
|
947
|
-
}
|
|
948
|
-
export function secretsLocationDetailsSerializer(item) {
|
|
949
|
-
return { secretsType: item["secretsType"], secretsLocation: item["secretsLocation"] };
|
|
950
|
-
}
|
|
951
|
-
export function secretsLocationDetailsDeserializer(item) {
|
|
952
|
-
return {
|
|
953
|
-
secretsType: item["secretsType"],
|
|
954
|
-
secretsLocation: item["secretsLocation"],
|
|
955
|
-
};
|
|
956
|
-
}
|
|
957
|
-
/** Type of secrets to store */
|
|
958
|
-
export var KnownSecretsType;
|
|
959
|
-
(function (KnownSecretsType) {
|
|
960
|
-
/** Backup secrets type */
|
|
961
|
-
KnownSecretsType["BackupSecrets"] = "BackupSecrets";
|
|
962
|
-
})(KnownSecretsType || (KnownSecretsType = {}));
|
|
963
|
-
/** Supported Storage Pattern for HCI Cluster */
|
|
964
|
-
export var KnownClusterPattern;
|
|
965
|
-
(function (KnownClusterPattern) {
|
|
966
|
-
/** Standard cluster. */
|
|
967
|
-
KnownClusterPattern["Standard"] = "Standard";
|
|
968
|
-
/** RackAware cluster. */
|
|
969
|
-
KnownClusterPattern["RackAware"] = "RackAware";
|
|
970
|
-
})(KnownClusterPattern || (KnownClusterPattern = {}));
|
|
971
|
-
export function localAvailabilityZonesArraySerializer(result) {
|
|
972
|
-
return result.map((item) => {
|
|
973
|
-
return localAvailabilityZonesSerializer(item);
|
|
974
|
-
});
|
|
975
|
-
}
|
|
976
|
-
export function localAvailabilityZonesArrayDeserializer(result) {
|
|
977
|
-
return result.map((item) => {
|
|
978
|
-
return localAvailabilityZonesDeserializer(item);
|
|
979
|
-
});
|
|
980
|
-
}
|
|
981
|
-
export function localAvailabilityZonesSerializer(item) {
|
|
982
|
-
return {
|
|
983
|
-
localAvailabilityZoneName: item["localAvailabilityZoneName"],
|
|
984
|
-
nodes: !item["nodes"]
|
|
985
|
-
? item["nodes"]
|
|
986
|
-
: item["nodes"].map((p) => {
|
|
987
|
-
return p;
|
|
988
|
-
}),
|
|
989
|
-
};
|
|
990
|
-
}
|
|
991
|
-
export function localAvailabilityZonesDeserializer(item) {
|
|
992
|
-
return {
|
|
993
|
-
localAvailabilityZoneName: item["localAvailabilityZoneName"],
|
|
994
|
-
nodes: !item["nodes"]
|
|
995
|
-
? item["nodes"]
|
|
996
|
-
: item["nodes"].map((p) => {
|
|
997
|
-
return p;
|
|
998
|
-
}),
|
|
999
|
-
};
|
|
1000
|
-
}
|
|
1001
|
-
/** Identity Provider for the cluster */
|
|
1002
|
-
export var KnownIdentityProvider;
|
|
1003
|
-
(function (KnownIdentityProvider) {
|
|
1004
|
-
/** Uses Active Directory as the identity provider, enabling domain-based authentication and centralized identity management. This is the default option. */
|
|
1005
|
-
KnownIdentityProvider["ActiveDirectory"] = "ActiveDirectory";
|
|
1006
|
-
/** Uses a local identity system integrated with Azure Key Vault for authentication. Suitable for AD-less environments where Active Directory is not available or required. */
|
|
1007
|
-
KnownIdentityProvider["LocalIdentity"] = "LocalIdentity";
|
|
1008
|
-
})(KnownIdentityProvider || (KnownIdentityProvider = {}));
|
|
1009
|
-
export function managedServiceIdentitySerializer(item) {
|
|
1010
|
-
return { type: item["type"], userAssignedIdentities: item["userAssignedIdentities"] };
|
|
1011
|
-
}
|
|
1012
|
-
export function managedServiceIdentityDeserializer(item) {
|
|
1013
|
-
return {
|
|
1014
|
-
principalId: item["principalId"],
|
|
1015
|
-
tenantId: item["tenantId"],
|
|
1016
|
-
type: item["type"],
|
|
1017
|
-
userAssignedIdentities: !item["userAssignedIdentities"]
|
|
1018
|
-
? item["userAssignedIdentities"]
|
|
1019
|
-
: Object.fromEntries(Object.entries(item["userAssignedIdentities"]).map(([k, p]) => [
|
|
1020
|
-
k,
|
|
1021
|
-
!p ? p : userAssignedIdentityDeserializer(p),
|
|
1022
|
-
])),
|
|
1023
|
-
};
|
|
1024
|
-
}
|
|
1025
|
-
/** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
|
|
1026
|
-
export var KnownManagedServiceIdentityType;
|
|
1027
|
-
(function (KnownManagedServiceIdentityType) {
|
|
1028
|
-
/** No managed identity. */
|
|
1029
|
-
KnownManagedServiceIdentityType["None"] = "None";
|
|
1030
|
-
/** System assigned managed identity. */
|
|
1031
|
-
KnownManagedServiceIdentityType["SystemAssigned"] = "SystemAssigned";
|
|
1032
|
-
/** User assigned managed identity. */
|
|
1033
|
-
KnownManagedServiceIdentityType["UserAssigned"] = "UserAssigned";
|
|
1034
|
-
/** System and user assigned managed identity. */
|
|
1035
|
-
KnownManagedServiceIdentityType["SystemAssignedUserAssigned"] = "SystemAssigned,UserAssigned";
|
|
1036
|
-
})(KnownManagedServiceIdentityType || (KnownManagedServiceIdentityType = {}));
|
|
1037
|
-
export function userAssignedIdentitySerializer(item) {
|
|
1038
|
-
return item;
|
|
1039
|
-
}
|
|
1040
|
-
export function userAssignedIdentityDeserializer(item) {
|
|
1041
|
-
return {
|
|
1042
|
-
principalId: item["principalId"],
|
|
1043
|
-
clientId: item["clientId"],
|
|
1044
|
-
};
|
|
1045
|
-
}
|
|
1046
|
-
export function trackedResourceSerializer(item) {
|
|
1047
|
-
return { tags: item["tags"], location: item["location"] };
|
|
1048
|
-
}
|
|
1049
|
-
export function trackedResourceDeserializer(item) {
|
|
1050
|
-
return {
|
|
1051
|
-
id: item["id"],
|
|
1052
|
-
name: item["name"],
|
|
1053
|
-
type: item["type"],
|
|
1054
|
-
systemData: !item["systemData"]
|
|
1055
|
-
? item["systemData"]
|
|
1056
|
-
: systemDataDeserializer(item["systemData"]),
|
|
1057
|
-
tags: !item["tags"]
|
|
1058
|
-
? item["tags"]
|
|
1059
|
-
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
1060
|
-
location: item["location"],
|
|
1061
|
-
};
|
|
1062
|
-
}
|
|
1063
|
-
export function clusterPatchSerializer(item) {
|
|
1064
|
-
return {
|
|
1065
|
-
tags: item["tags"],
|
|
1066
|
-
identity: areAllPropsUndefined(item, ["type", "userAssignedIdentities"])
|
|
1067
|
-
? undefined
|
|
1068
|
-
: _clusterPatchIdentitySerializer(item),
|
|
1069
|
-
properties: areAllPropsUndefined(item, [
|
|
1070
|
-
"cloudManagementEndpoint",
|
|
1071
|
-
"aadClientId",
|
|
1072
|
-
"aadTenantId",
|
|
1073
|
-
"desiredProperties",
|
|
1074
|
-
])
|
|
1075
|
-
? undefined
|
|
1076
|
-
: _clusterPatchPropertiesSerializer(item),
|
|
1077
|
-
};
|
|
1078
|
-
}
|
|
1079
|
-
export function clusterPatchPropertiesSerializer(item) {
|
|
1080
|
-
return {
|
|
1081
|
-
cloudManagementEndpoint: item["cloudManagementEndpoint"],
|
|
1082
|
-
aadClientId: item["aadClientId"],
|
|
1083
|
-
aadTenantId: item["aadTenantId"],
|
|
1084
|
-
desiredProperties: !item["desiredProperties"]
|
|
1085
|
-
? item["desiredProperties"]
|
|
1086
|
-
: clusterDesiredPropertiesSerializer(item["desiredProperties"]),
|
|
1087
|
-
};
|
|
1088
|
-
}
|
|
1089
|
-
export function _clusterListDeserializer(item) {
|
|
1090
|
-
return {
|
|
1091
|
-
value: clusterArrayDeserializer(item["value"]),
|
|
1092
|
-
nextLink: item["nextLink"],
|
|
1093
|
-
};
|
|
1094
|
-
}
|
|
1095
|
-
export function clusterArraySerializer(result) {
|
|
1096
|
-
return result.map((item) => {
|
|
1097
|
-
return clusterSerializer(item);
|
|
1098
|
-
});
|
|
1099
|
-
}
|
|
1100
|
-
export function clusterArrayDeserializer(result) {
|
|
1101
|
-
return result.map((item) => {
|
|
1102
|
-
return clusterDeserializer(item);
|
|
1103
|
-
});
|
|
1104
|
-
}
|
|
1105
|
-
export function secretsLocationsChangeRequestSerializer(item) {
|
|
1106
|
-
return {
|
|
1107
|
-
properties: !item["properties"]
|
|
1108
|
-
? item["properties"]
|
|
1109
|
-
: secretsLocationDetailsArraySerializer(item["properties"]),
|
|
1110
|
-
};
|
|
1111
|
-
}
|
|
1112
|
-
export function uploadCertificateRequestSerializer(item) {
|
|
1113
|
-
return {
|
|
1114
|
-
properties: !item["properties"]
|
|
1115
|
-
? item["properties"]
|
|
1116
|
-
: rawCertificateDataSerializer(item["properties"]),
|
|
1117
|
-
};
|
|
1118
|
-
}
|
|
1119
|
-
export function rawCertificateDataSerializer(item) {
|
|
1120
|
-
return {
|
|
1121
|
-
certificates: !item["certificates"]
|
|
1122
|
-
? item["certificates"]
|
|
1123
|
-
: item["certificates"].map((p) => {
|
|
1124
|
-
return p;
|
|
1125
|
-
}),
|
|
1126
|
-
};
|
|
1127
|
-
}
|
|
1128
|
-
export function clusterIdentityResponseDeserializer(item) {
|
|
1129
|
-
return {
|
|
1130
|
-
...(!item["properties"]
|
|
1131
|
-
? item["properties"]
|
|
1132
|
-
: _clusterIdentityResponsePropertiesDeserializer(item["properties"])),
|
|
1133
|
-
};
|
|
1134
|
-
}
|
|
1135
|
-
export function clusterIdentityResponsePropertiesDeserializer(item) {
|
|
1136
|
-
return {
|
|
1137
|
-
aadClientId: item["aadClientId"],
|
|
1138
|
-
aadTenantId: item["aadTenantId"],
|
|
1139
|
-
aadServicePrincipalObjectId: item["aadServicePrincipalObjectId"],
|
|
1140
|
-
aadApplicationObjectId: item["aadApplicationObjectId"],
|
|
1141
|
-
};
|
|
1142
|
-
}
|
|
1143
|
-
export function softwareAssuranceChangeRequestSerializer(item) {
|
|
1144
|
-
return {
|
|
1145
|
-
properties: !item["properties"]
|
|
1146
|
-
? item["properties"]
|
|
1147
|
-
: softwareAssuranceChangeRequestPropertiesSerializer(item["properties"]),
|
|
1148
|
-
};
|
|
1149
|
-
}
|
|
1150
|
-
export function softwareAssuranceChangeRequestPropertiesSerializer(item) {
|
|
1151
|
-
return { softwareAssuranceIntent: item["softwareAssuranceIntent"] };
|
|
1152
|
-
}
|
|
1153
|
-
export function logCollectionRequestSerializer(item) {
|
|
1154
|
-
return {
|
|
1155
|
-
properties: !item["properties"]
|
|
1156
|
-
? item["properties"]
|
|
1157
|
-
: logCollectionRequestPropertiesSerializer(item["properties"]),
|
|
1158
|
-
};
|
|
1159
|
-
}
|
|
1160
|
-
export function logCollectionRequestPropertiesSerializer(item) {
|
|
1161
|
-
return { fromDate: item["fromDate"].toISOString(), toDate: item["toDate"].toISOString() };
|
|
1162
|
-
}
|
|
1163
|
-
export function remoteSupportRequestSerializer(item) {
|
|
1164
|
-
return {
|
|
1165
|
-
properties: !item["properties"]
|
|
1166
|
-
? item["properties"]
|
|
1167
|
-
: remoteSupportRequestPropertiesSerializer(item["properties"]),
|
|
1168
|
-
};
|
|
1169
|
-
}
|
|
1170
|
-
export function remoteSupportRequestPropertiesSerializer(item) {
|
|
1171
|
-
return {
|
|
1172
|
-
expirationTimeStamp: !item["expirationTimeStamp"]
|
|
1173
|
-
? item["expirationTimeStamp"]
|
|
1174
|
-
: item["expirationTimeStamp"].toISOString(),
|
|
1175
|
-
remoteSupportType: item["remoteSupportType"],
|
|
1176
|
-
};
|
|
1177
|
-
}
|
|
1178
|
-
export function deploymentSettingSerializer(item) {
|
|
1179
|
-
return {
|
|
1180
|
-
properties: areAllPropsUndefined(item, [
|
|
1181
|
-
"arcNodeResourceIds",
|
|
1182
|
-
"deploymentMode",
|
|
1183
|
-
"operationType",
|
|
1184
|
-
"deploymentConfiguration",
|
|
1185
|
-
])
|
|
1186
|
-
? undefined
|
|
1187
|
-
: _deploymentSettingPropertiesSerializer(item),
|
|
1188
|
-
};
|
|
1189
|
-
}
|
|
1190
|
-
export function deploymentSettingDeserializer(item) {
|
|
1191
|
-
return {
|
|
1192
|
-
id: item["id"],
|
|
1193
|
-
name: item["name"],
|
|
1194
|
-
type: item["type"],
|
|
1195
|
-
systemData: !item["systemData"]
|
|
1196
|
-
? item["systemData"]
|
|
1197
|
-
: systemDataDeserializer(item["systemData"]),
|
|
1198
|
-
...(!item["properties"]
|
|
1199
|
-
? item["properties"]
|
|
1200
|
-
: _deploymentSettingPropertiesDeserializer(item["properties"])),
|
|
1201
|
-
};
|
|
1202
|
-
}
|
|
1203
|
-
export function deploymentSettingsPropertiesSerializer(item) {
|
|
1204
|
-
return {
|
|
1205
|
-
arcNodeResourceIds: item["arcNodeResourceIds"].map((p) => {
|
|
1206
|
-
return p;
|
|
1207
|
-
}),
|
|
1208
|
-
deploymentMode: item["deploymentMode"],
|
|
1209
|
-
operationType: item["operationType"],
|
|
1210
|
-
deploymentConfiguration: deploymentConfigurationSerializer(item["deploymentConfiguration"]),
|
|
1211
|
-
};
|
|
1212
|
-
}
|
|
1213
|
-
export function deploymentSettingsPropertiesDeserializer(item) {
|
|
1214
|
-
return {
|
|
1215
|
-
provisioningState: item["provisioningState"],
|
|
1216
|
-
arcNodeResourceIds: item["arcNodeResourceIds"].map((p) => {
|
|
1217
|
-
return p;
|
|
1218
|
-
}),
|
|
1219
|
-
deploymentMode: item["deploymentMode"],
|
|
1220
|
-
operationType: item["operationType"],
|
|
1221
|
-
deploymentConfiguration: deploymentConfigurationDeserializer(item["deploymentConfiguration"]),
|
|
1222
|
-
reportedProperties: !item["reportedProperties"]
|
|
1223
|
-
? item["reportedProperties"]
|
|
1224
|
-
: eceReportedPropertiesDeserializer(item["reportedProperties"]),
|
|
1225
|
-
};
|
|
1226
|
-
}
|
|
1227
|
-
/** Deployment mode to trigger job. */
|
|
1228
|
-
export var KnownDeploymentMode;
|
|
1229
|
-
(function (KnownDeploymentMode) {
|
|
1230
|
-
/** Validate ECE action deployment for a cluster. */
|
|
1231
|
-
KnownDeploymentMode["Validate"] = "Validate";
|
|
1232
|
-
/** Deploy ECE action deployment for a cluster. */
|
|
1233
|
-
KnownDeploymentMode["Deploy"] = "Deploy";
|
|
1234
|
-
})(KnownDeploymentMode || (KnownDeploymentMode = {}));
|
|
1235
|
-
/** The intended operation for a cluster. */
|
|
1236
|
-
export var KnownOperationType;
|
|
1237
|
-
(function (KnownOperationType) {
|
|
1238
|
-
/** Cluster provisioning operation. */
|
|
1239
|
-
KnownOperationType["ClusterProvisioning"] = "ClusterProvisioning";
|
|
1240
|
-
/** Cluster upgrade operation. */
|
|
1241
|
-
KnownOperationType["ClusterUpgrade"] = "ClusterUpgrade";
|
|
1242
|
-
})(KnownOperationType || (KnownOperationType = {}));
|
|
1243
|
-
export function deploymentConfigurationSerializer(item) {
|
|
1244
|
-
return { version: item["version"], scaleUnits: scaleUnitsArraySerializer(item["scaleUnits"]) };
|
|
1245
|
-
}
|
|
1246
|
-
export function deploymentConfigurationDeserializer(item) {
|
|
1247
|
-
return {
|
|
1248
|
-
version: item["version"],
|
|
1249
|
-
scaleUnits: scaleUnitsArrayDeserializer(item["scaleUnits"]),
|
|
1250
|
-
};
|
|
1251
|
-
}
|
|
1252
|
-
export function scaleUnitsArraySerializer(result) {
|
|
1253
|
-
return result.map((item) => {
|
|
1254
|
-
return scaleUnitsSerializer(item);
|
|
1255
|
-
});
|
|
1256
|
-
}
|
|
1257
|
-
export function scaleUnitsArrayDeserializer(result) {
|
|
1258
|
-
return result.map((item) => {
|
|
1259
|
-
return scaleUnitsDeserializer(item);
|
|
1260
|
-
});
|
|
1261
|
-
}
|
|
1262
|
-
export function scaleUnitsSerializer(item) {
|
|
1263
|
-
return {
|
|
1264
|
-
deploymentData: deploymentDataSerializer(item["deploymentData"]),
|
|
1265
|
-
sbePartnerInfo: !item["sbePartnerInfo"]
|
|
1266
|
-
? item["sbePartnerInfo"]
|
|
1267
|
-
: sbePartnerInfoSerializer(item["sbePartnerInfo"]),
|
|
1268
|
-
};
|
|
1269
|
-
}
|
|
1270
|
-
export function scaleUnitsDeserializer(item) {
|
|
1271
|
-
return {
|
|
1272
|
-
deploymentData: deploymentDataDeserializer(item["deploymentData"]),
|
|
1273
|
-
sbePartnerInfo: !item["sbePartnerInfo"]
|
|
1274
|
-
? item["sbePartnerInfo"]
|
|
1275
|
-
: sbePartnerInfoDeserializer(item["sbePartnerInfo"]),
|
|
1276
|
-
};
|
|
1277
|
-
}
|
|
1278
|
-
export function deploymentDataSerializer(item) {
|
|
1279
|
-
return {
|
|
1280
|
-
securitySettings: !item["securitySettings"]
|
|
1281
|
-
? item["securitySettings"]
|
|
1282
|
-
: deploymentSecuritySettingsSerializer(item["securitySettings"]),
|
|
1283
|
-
observability: !item["observability"]
|
|
1284
|
-
? item["observability"]
|
|
1285
|
-
: observabilitySerializer(item["observability"]),
|
|
1286
|
-
cluster: !item["cluster"] ? item["cluster"] : deploymentClusterSerializer(item["cluster"]),
|
|
1287
|
-
identityProvider: item["identityProvider"],
|
|
1288
|
-
storage: !item["storage"] ? item["storage"] : storageSerializer(item["storage"]),
|
|
1289
|
-
namingPrefix: item["namingPrefix"],
|
|
1290
|
-
domainFqdn: item["domainFqdn"],
|
|
1291
|
-
infrastructureNetwork: !item["infrastructureNetwork"]
|
|
1292
|
-
? item["infrastructureNetwork"]
|
|
1293
|
-
: infrastructureNetworkArraySerializer(item["infrastructureNetwork"]),
|
|
1294
|
-
physicalNodes: !item["physicalNodes"]
|
|
1295
|
-
? item["physicalNodes"]
|
|
1296
|
-
: physicalNodesArraySerializer(item["physicalNodes"]),
|
|
1297
|
-
hostNetwork: !item["hostNetwork"]
|
|
1298
|
-
? item["hostNetwork"]
|
|
1299
|
-
: deploymentSettingHostNetworkSerializer(item["hostNetwork"]),
|
|
1300
|
-
sdnIntegration: !item["sdnIntegration"]
|
|
1301
|
-
? item["sdnIntegration"]
|
|
1302
|
-
: sdnIntegrationSerializer(item["sdnIntegration"]),
|
|
1303
|
-
isManagementCluster: item["isManagementCluster"],
|
|
1304
|
-
adouPath: item["adouPath"],
|
|
1305
|
-
secretsLocation: item["secretsLocation"],
|
|
1306
|
-
secrets: !item["secrets"]
|
|
1307
|
-
? item["secrets"]
|
|
1308
|
-
: eceDeploymentSecretsArraySerializer(item["secrets"]),
|
|
1309
|
-
optionalServices: !item["optionalServices"]
|
|
1310
|
-
? item["optionalServices"]
|
|
1311
|
-
: optionalServicesSerializer(item["optionalServices"]),
|
|
1312
|
-
localAvailabilityZones: !item["localAvailabilityZones"]
|
|
1313
|
-
? item["localAvailabilityZones"]
|
|
1314
|
-
: localAvailabilityZonesArraySerializer(item["localAvailabilityZones"]),
|
|
1315
|
-
assemblyInfo: !item["assemblyInfo"]
|
|
1316
|
-
? item["assemblyInfo"]
|
|
1317
|
-
: assemblyInfoSerializer(item["assemblyInfo"]),
|
|
1318
|
-
};
|
|
1319
|
-
}
|
|
1320
|
-
export function deploymentDataDeserializer(item) {
|
|
1321
|
-
return {
|
|
1322
|
-
securitySettings: !item["securitySettings"]
|
|
1323
|
-
? item["securitySettings"]
|
|
1324
|
-
: deploymentSecuritySettingsDeserializer(item["securitySettings"]),
|
|
1325
|
-
observability: !item["observability"]
|
|
1326
|
-
? item["observability"]
|
|
1327
|
-
: observabilityDeserializer(item["observability"]),
|
|
1328
|
-
cluster: !item["cluster"] ? item["cluster"] : deploymentClusterDeserializer(item["cluster"]),
|
|
1329
|
-
identityProvider: item["identityProvider"],
|
|
1330
|
-
storage: !item["storage"] ? item["storage"] : storageDeserializer(item["storage"]),
|
|
1331
|
-
namingPrefix: item["namingPrefix"],
|
|
1332
|
-
domainFqdn: item["domainFqdn"],
|
|
1333
|
-
infrastructureNetwork: !item["infrastructureNetwork"]
|
|
1334
|
-
? item["infrastructureNetwork"]
|
|
1335
|
-
: infrastructureNetworkArrayDeserializer(item["infrastructureNetwork"]),
|
|
1336
|
-
physicalNodes: !item["physicalNodes"]
|
|
1337
|
-
? item["physicalNodes"]
|
|
1338
|
-
: physicalNodesArrayDeserializer(item["physicalNodes"]),
|
|
1339
|
-
hostNetwork: !item["hostNetwork"]
|
|
1340
|
-
? item["hostNetwork"]
|
|
1341
|
-
: deploymentSettingHostNetworkDeserializer(item["hostNetwork"]),
|
|
1342
|
-
sdnIntegration: !item["sdnIntegration"]
|
|
1343
|
-
? item["sdnIntegration"]
|
|
1344
|
-
: sdnIntegrationDeserializer(item["sdnIntegration"]),
|
|
1345
|
-
isManagementCluster: item["isManagementCluster"],
|
|
1346
|
-
adouPath: item["adouPath"],
|
|
1347
|
-
secretsLocation: item["secretsLocation"],
|
|
1348
|
-
secrets: !item["secrets"]
|
|
1349
|
-
? item["secrets"]
|
|
1350
|
-
: eceDeploymentSecretsArrayDeserializer(item["secrets"]),
|
|
1351
|
-
optionalServices: !item["optionalServices"]
|
|
1352
|
-
? item["optionalServices"]
|
|
1353
|
-
: optionalServicesDeserializer(item["optionalServices"]),
|
|
1354
|
-
localAvailabilityZones: !item["localAvailabilityZones"]
|
|
1355
|
-
? item["localAvailabilityZones"]
|
|
1356
|
-
: localAvailabilityZonesArrayDeserializer(item["localAvailabilityZones"]),
|
|
1357
|
-
assemblyInfo: !item["assemblyInfo"]
|
|
1358
|
-
? item["assemblyInfo"]
|
|
1359
|
-
: assemblyInfoDeserializer(item["assemblyInfo"]),
|
|
1360
|
-
};
|
|
1361
|
-
}
|
|
1362
|
-
export function deploymentSecuritySettingsSerializer(item) {
|
|
1363
|
-
return {
|
|
1364
|
-
hvciProtection: item["hvciProtection"],
|
|
1365
|
-
drtmProtection: item["drtmProtection"],
|
|
1366
|
-
driftControlEnforced: item["driftControlEnforced"],
|
|
1367
|
-
credentialGuardEnforced: item["credentialGuardEnforced"],
|
|
1368
|
-
smbSigningEnforced: item["smbSigningEnforced"],
|
|
1369
|
-
smbClusterEncryption: item["smbClusterEncryption"],
|
|
1370
|
-
sideChannelMitigationEnforced: item["sideChannelMitigationEnforced"],
|
|
1371
|
-
bitlockerBootVolume: item["bitlockerBootVolume"],
|
|
1372
|
-
bitlockerDataVolumes: item["bitlockerDataVolumes"],
|
|
1373
|
-
wdacEnforced: item["wdacEnforced"],
|
|
1374
|
-
};
|
|
1375
|
-
}
|
|
1376
|
-
export function deploymentSecuritySettingsDeserializer(item) {
|
|
1377
|
-
return {
|
|
1378
|
-
hvciProtection: item["hvciProtection"],
|
|
1379
|
-
drtmProtection: item["drtmProtection"],
|
|
1380
|
-
driftControlEnforced: item["driftControlEnforced"],
|
|
1381
|
-
credentialGuardEnforced: item["credentialGuardEnforced"],
|
|
1382
|
-
smbSigningEnforced: item["smbSigningEnforced"],
|
|
1383
|
-
smbClusterEncryption: item["smbClusterEncryption"],
|
|
1384
|
-
sideChannelMitigationEnforced: item["sideChannelMitigationEnforced"],
|
|
1385
|
-
bitlockerBootVolume: item["bitlockerBootVolume"],
|
|
1386
|
-
bitlockerDataVolumes: item["bitlockerDataVolumes"],
|
|
1387
|
-
wdacEnforced: item["wdacEnforced"],
|
|
1388
|
-
};
|
|
1389
|
-
}
|
|
1390
|
-
export function observabilitySerializer(item) {
|
|
1391
|
-
return {
|
|
1392
|
-
streamingDataClient: item["streamingDataClient"],
|
|
1393
|
-
euLocation: item["euLocation"],
|
|
1394
|
-
episodicDataUpload: item["episodicDataUpload"],
|
|
1395
|
-
};
|
|
1396
|
-
}
|
|
1397
|
-
export function observabilityDeserializer(item) {
|
|
1398
|
-
return {
|
|
1399
|
-
streamingDataClient: item["streamingDataClient"],
|
|
1400
|
-
euLocation: item["euLocation"],
|
|
1401
|
-
episodicDataUpload: item["episodicDataUpload"],
|
|
1402
|
-
};
|
|
1403
|
-
}
|
|
1404
|
-
export function deploymentClusterSerializer(item) {
|
|
1405
|
-
return {
|
|
1406
|
-
name: item["name"],
|
|
1407
|
-
witnessType: item["witnessType"],
|
|
1408
|
-
witnessPath: item["witnessPath"],
|
|
1409
|
-
cloudAccountName: item["cloudAccountName"],
|
|
1410
|
-
azureServiceEndpoint: item["azureServiceEndpoint"],
|
|
1411
|
-
clusterPattern: item["clusterPattern"],
|
|
1412
|
-
};
|
|
1413
|
-
}
|
|
1414
|
-
export function deploymentClusterDeserializer(item) {
|
|
1415
|
-
return {
|
|
1416
|
-
name: item["name"],
|
|
1417
|
-
witnessType: item["witnessType"],
|
|
1418
|
-
witnessPath: item["witnessPath"],
|
|
1419
|
-
cloudAccountName: item["cloudAccountName"],
|
|
1420
|
-
azureServiceEndpoint: item["azureServiceEndpoint"],
|
|
1421
|
-
hardwareClass: item["hardwareClass"],
|
|
1422
|
-
clusterPattern: item["clusterPattern"],
|
|
1423
|
-
};
|
|
1424
|
-
}
|
|
1425
|
-
export function storageSerializer(item) {
|
|
1426
|
-
return { configurationMode: item["configurationMode"] };
|
|
1427
|
-
}
|
|
1428
|
-
export function storageDeserializer(item) {
|
|
1429
|
-
return {
|
|
1430
|
-
configurationMode: item["configurationMode"],
|
|
1431
|
-
};
|
|
1432
|
-
}
|
|
1433
|
-
export function infrastructureNetworkArraySerializer(result) {
|
|
1434
|
-
return result.map((item) => {
|
|
1435
|
-
return infrastructureNetworkSerializer(item);
|
|
1436
|
-
});
|
|
1437
|
-
}
|
|
1438
|
-
export function infrastructureNetworkArrayDeserializer(result) {
|
|
1439
|
-
return result.map((item) => {
|
|
1440
|
-
return infrastructureNetworkDeserializer(item);
|
|
1441
|
-
});
|
|
1442
|
-
}
|
|
1443
|
-
export function infrastructureNetworkSerializer(item) {
|
|
1444
|
-
return {
|
|
1445
|
-
subnetMask: item["subnetMask"],
|
|
1446
|
-
gateway: item["gateway"],
|
|
1447
|
-
ipPools: !item["ipPools"] ? item["ipPools"] : ipPoolsArraySerializer(item["ipPools"]),
|
|
1448
|
-
dnsServerConfig: item["dnsServerConfig"],
|
|
1449
|
-
dnsZones: !item["dnsZones"] ? item["dnsZones"] : dnsZonesArraySerializer(item["dnsZones"]),
|
|
1450
|
-
dnsServers: !item["dnsServers"]
|
|
1451
|
-
? item["dnsServers"]
|
|
1452
|
-
: item["dnsServers"].map((p) => {
|
|
1453
|
-
return p;
|
|
1454
|
-
}),
|
|
1455
|
-
useDhcp: item["useDhcp"],
|
|
1456
|
-
};
|
|
1457
|
-
}
|
|
1458
|
-
export function infrastructureNetworkDeserializer(item) {
|
|
1459
|
-
return {
|
|
1460
|
-
subnetMask: item["subnetMask"],
|
|
1461
|
-
gateway: item["gateway"],
|
|
1462
|
-
ipPools: !item["ipPools"] ? item["ipPools"] : ipPoolsArrayDeserializer(item["ipPools"]),
|
|
1463
|
-
dnsServerConfig: item["dnsServerConfig"],
|
|
1464
|
-
dnsZones: !item["dnsZones"] ? item["dnsZones"] : dnsZonesArrayDeserializer(item["dnsZones"]),
|
|
1465
|
-
dnsServers: !item["dnsServers"]
|
|
1466
|
-
? item["dnsServers"]
|
|
1467
|
-
: item["dnsServers"].map((p) => {
|
|
1468
|
-
return p;
|
|
1469
|
-
}),
|
|
1470
|
-
useDhcp: item["useDhcp"],
|
|
1471
|
-
};
|
|
1472
|
-
}
|
|
1473
|
-
export function ipPoolsArraySerializer(result) {
|
|
1474
|
-
return result.map((item) => {
|
|
1475
|
-
return ipPoolsSerializer(item);
|
|
1476
|
-
});
|
|
1477
|
-
}
|
|
1478
|
-
export function ipPoolsArrayDeserializer(result) {
|
|
1479
|
-
return result.map((item) => {
|
|
1480
|
-
return ipPoolsDeserializer(item);
|
|
1481
|
-
});
|
|
1482
|
-
}
|
|
1483
|
-
export function ipPoolsSerializer(item) {
|
|
1484
|
-
return { startingAddress: item["startingAddress"], endingAddress: item["endingAddress"] };
|
|
1485
|
-
}
|
|
1486
|
-
export function ipPoolsDeserializer(item) {
|
|
1487
|
-
return {
|
|
1488
|
-
startingAddress: item["startingAddress"],
|
|
1489
|
-
endingAddress: item["endingAddress"],
|
|
1490
|
-
};
|
|
1491
|
-
}
|
|
1492
|
-
/** Specifies how DNS servers are configured for the infrastructure network. Allowed values are 'UseDnsServer' to use the provided DNS servers, and 'UseForwarder' to use DNS forwarders. */
|
|
1493
|
-
export var KnownDnsServerConfig;
|
|
1494
|
-
(function (KnownDnsServerConfig) {
|
|
1495
|
-
/** Use the provided DNS servers for the infrastructure network. */
|
|
1496
|
-
KnownDnsServerConfig["UseDnsServer"] = "UseDnsServer";
|
|
1497
|
-
/** Use DNS forwarders for the infrastructure network. */
|
|
1498
|
-
KnownDnsServerConfig["UseForwarder"] = "UseForwarder";
|
|
1499
|
-
})(KnownDnsServerConfig || (KnownDnsServerConfig = {}));
|
|
1500
|
-
export function dnsZonesArraySerializer(result) {
|
|
1501
|
-
return result.map((item) => {
|
|
1502
|
-
return dnsZonesSerializer(item);
|
|
1503
|
-
});
|
|
1504
|
-
}
|
|
1505
|
-
export function dnsZonesArrayDeserializer(result) {
|
|
1506
|
-
return result.map((item) => {
|
|
1507
|
-
return dnsZonesDeserializer(item);
|
|
1508
|
-
});
|
|
1509
|
-
}
|
|
1510
|
-
export function dnsZonesSerializer(item) {
|
|
1511
|
-
return {
|
|
1512
|
-
dnsZoneName: item["dnsZoneName"],
|
|
1513
|
-
dnsForwarder: !item["dnsForwarder"]
|
|
1514
|
-
? item["dnsForwarder"]
|
|
1515
|
-
: item["dnsForwarder"].map((p) => {
|
|
1516
|
-
return p;
|
|
1517
|
-
}),
|
|
1518
|
-
};
|
|
1519
|
-
}
|
|
1520
|
-
export function dnsZonesDeserializer(item) {
|
|
1521
|
-
return {
|
|
1522
|
-
dnsZoneName: item["dnsZoneName"],
|
|
1523
|
-
dnsForwarder: !item["dnsForwarder"]
|
|
1524
|
-
? item["dnsForwarder"]
|
|
1525
|
-
: item["dnsForwarder"].map((p) => {
|
|
1526
|
-
return p;
|
|
1527
|
-
}),
|
|
1528
|
-
};
|
|
1529
|
-
}
|
|
1530
|
-
export function physicalNodesArraySerializer(result) {
|
|
1531
|
-
return result.map((item) => {
|
|
1532
|
-
return physicalNodesSerializer(item);
|
|
1533
|
-
});
|
|
1534
|
-
}
|
|
1535
|
-
export function physicalNodesArrayDeserializer(result) {
|
|
1536
|
-
return result.map((item) => {
|
|
1537
|
-
return physicalNodesDeserializer(item);
|
|
1538
|
-
});
|
|
1539
|
-
}
|
|
1540
|
-
export function physicalNodesSerializer(item) {
|
|
1541
|
-
return { name: item["name"], ipv4Address: item["ipv4Address"] };
|
|
1542
|
-
}
|
|
1543
|
-
export function physicalNodesDeserializer(item) {
|
|
1544
|
-
return {
|
|
1545
|
-
name: item["name"],
|
|
1546
|
-
ipv4Address: item["ipv4Address"],
|
|
1547
|
-
};
|
|
1548
|
-
}
|
|
1549
|
-
export function deploymentSettingHostNetworkSerializer(item) {
|
|
1550
|
-
return {
|
|
1551
|
-
intents: !item["intents"]
|
|
1552
|
-
? item["intents"]
|
|
1553
|
-
: deploymentSettingIntentsArraySerializer(item["intents"]),
|
|
1554
|
-
storageNetworks: !item["storageNetworks"]
|
|
1555
|
-
? item["storageNetworks"]
|
|
1556
|
-
: deploymentSettingStorageNetworksArraySerializer(item["storageNetworks"]),
|
|
1557
|
-
storageConnectivitySwitchless: item["storageConnectivitySwitchless"],
|
|
1558
|
-
enableStorageAutoIp: item["enableStorageAutoIp"],
|
|
1559
|
-
};
|
|
1560
|
-
}
|
|
1561
|
-
export function deploymentSettingHostNetworkDeserializer(item) {
|
|
1562
|
-
return {
|
|
1563
|
-
intents: !item["intents"]
|
|
1564
|
-
? item["intents"]
|
|
1565
|
-
: deploymentSettingIntentsArrayDeserializer(item["intents"]),
|
|
1566
|
-
storageNetworks: !item["storageNetworks"]
|
|
1567
|
-
? item["storageNetworks"]
|
|
1568
|
-
: deploymentSettingStorageNetworksArrayDeserializer(item["storageNetworks"]),
|
|
1569
|
-
storageConnectivitySwitchless: item["storageConnectivitySwitchless"],
|
|
1570
|
-
enableStorageAutoIp: item["enableStorageAutoIp"],
|
|
1571
|
-
};
|
|
1572
|
-
}
|
|
1573
|
-
export function deploymentSettingIntentsArraySerializer(result) {
|
|
1574
|
-
return result.map((item) => {
|
|
1575
|
-
return deploymentSettingIntentsSerializer(item);
|
|
1576
|
-
});
|
|
1577
|
-
}
|
|
1578
|
-
export function deploymentSettingIntentsArrayDeserializer(result) {
|
|
1579
|
-
return result.map((item) => {
|
|
1580
|
-
return deploymentSettingIntentsDeserializer(item);
|
|
1581
|
-
});
|
|
1582
|
-
}
|
|
1583
|
-
export function deploymentSettingIntentsSerializer(item) {
|
|
1584
|
-
return {
|
|
1585
|
-
name: item["name"],
|
|
1586
|
-
trafficType: !item["trafficType"]
|
|
1587
|
-
? item["trafficType"]
|
|
1588
|
-
: item["trafficType"].map((p) => {
|
|
1589
|
-
return p;
|
|
1590
|
-
}),
|
|
1591
|
-
adapter: !item["adapter"]
|
|
1592
|
-
? item["adapter"]
|
|
1593
|
-
: item["adapter"].map((p) => {
|
|
1594
|
-
return p;
|
|
1595
|
-
}),
|
|
1596
|
-
overrideVirtualSwitchConfiguration: item["overrideVirtualSwitchConfiguration"],
|
|
1597
|
-
virtualSwitchConfigurationOverrides: !item["virtualSwitchConfigurationOverrides"]
|
|
1598
|
-
? item["virtualSwitchConfigurationOverrides"]
|
|
1599
|
-
: deploymentSettingVirtualSwitchConfigurationOverridesSerializer(item["virtualSwitchConfigurationOverrides"]),
|
|
1600
|
-
overrideQosPolicy: item["overrideQosPolicy"],
|
|
1601
|
-
qosPolicyOverrides: !item["qosPolicyOverrides"]
|
|
1602
|
-
? item["qosPolicyOverrides"]
|
|
1603
|
-
: qosPolicyOverridesSerializer(item["qosPolicyOverrides"]),
|
|
1604
|
-
overrideAdapterProperty: item["overrideAdapterProperty"],
|
|
1605
|
-
adapterPropertyOverrides: !item["adapterPropertyOverrides"]
|
|
1606
|
-
? item["adapterPropertyOverrides"]
|
|
1607
|
-
: deploymentSettingAdapterPropertyOverridesSerializer(item["adapterPropertyOverrides"]),
|
|
1608
|
-
};
|
|
1609
|
-
}
|
|
1610
|
-
export function deploymentSettingIntentsDeserializer(item) {
|
|
1611
|
-
return {
|
|
1612
|
-
name: item["name"],
|
|
1613
|
-
trafficType: !item["trafficType"]
|
|
1614
|
-
? item["trafficType"]
|
|
1615
|
-
: item["trafficType"].map((p) => {
|
|
1616
|
-
return p;
|
|
1617
|
-
}),
|
|
1618
|
-
adapter: !item["adapter"]
|
|
1619
|
-
? item["adapter"]
|
|
1620
|
-
: item["adapter"].map((p) => {
|
|
1621
|
-
return p;
|
|
1622
|
-
}),
|
|
1623
|
-
overrideVirtualSwitchConfiguration: item["overrideVirtualSwitchConfiguration"],
|
|
1624
|
-
virtualSwitchConfigurationOverrides: !item["virtualSwitchConfigurationOverrides"]
|
|
1625
|
-
? item["virtualSwitchConfigurationOverrides"]
|
|
1626
|
-
: deploymentSettingVirtualSwitchConfigurationOverridesDeserializer(item["virtualSwitchConfigurationOverrides"]),
|
|
1627
|
-
overrideQosPolicy: item["overrideQosPolicy"],
|
|
1628
|
-
qosPolicyOverrides: !item["qosPolicyOverrides"]
|
|
1629
|
-
? item["qosPolicyOverrides"]
|
|
1630
|
-
: qosPolicyOverridesDeserializer(item["qosPolicyOverrides"]),
|
|
1631
|
-
overrideAdapterProperty: item["overrideAdapterProperty"],
|
|
1632
|
-
adapterPropertyOverrides: !item["adapterPropertyOverrides"]
|
|
1633
|
-
? item["adapterPropertyOverrides"]
|
|
1634
|
-
: deploymentSettingAdapterPropertyOverridesDeserializer(item["adapterPropertyOverrides"]),
|
|
1635
|
-
};
|
|
1636
|
-
}
|
|
1637
|
-
export function deploymentSettingVirtualSwitchConfigurationOverridesSerializer(item) {
|
|
1638
|
-
return { enableIov: item["enableIov"], loadBalancingAlgorithm: item["loadBalancingAlgorithm"] };
|
|
1639
|
-
}
|
|
1640
|
-
export function deploymentSettingVirtualSwitchConfigurationOverridesDeserializer(item) {
|
|
1641
|
-
return {
|
|
1642
|
-
enableIov: item["enableIov"],
|
|
1643
|
-
loadBalancingAlgorithm: item["loadBalancingAlgorithm"],
|
|
1644
|
-
};
|
|
1645
|
-
}
|
|
1646
|
-
export function qosPolicyOverridesSerializer(item) {
|
|
1647
|
-
return {
|
|
1648
|
-
priorityValue8021Action_Cluster: item["priorityValue8021ActionCluster"],
|
|
1649
|
-
priorityValue8021Action_SMB: item["priorityValue8021ActionSMB"],
|
|
1650
|
-
bandwidthPercentage_SMB: item["bandwidthPercentageSMB"],
|
|
1651
|
-
};
|
|
1652
|
-
}
|
|
1653
|
-
export function qosPolicyOverridesDeserializer(item) {
|
|
1654
|
-
return {
|
|
1655
|
-
priorityValue8021ActionCluster: item["priorityValue8021Action_Cluster"],
|
|
1656
|
-
priorityValue8021ActionSMB: item["priorityValue8021Action_SMB"],
|
|
1657
|
-
bandwidthPercentageSMB: item["bandwidthPercentage_SMB"],
|
|
1658
|
-
};
|
|
1659
|
-
}
|
|
1660
|
-
export function deploymentSettingAdapterPropertyOverridesSerializer(item) {
|
|
1661
|
-
return {
|
|
1662
|
-
jumboPacket: item["jumboPacket"],
|
|
1663
|
-
networkDirect: item["networkDirect"],
|
|
1664
|
-
networkDirectTechnology: item["networkDirectTechnology"],
|
|
1665
|
-
};
|
|
1666
|
-
}
|
|
1667
|
-
export function deploymentSettingAdapterPropertyOverridesDeserializer(item) {
|
|
1668
|
-
return {
|
|
1669
|
-
jumboPacket: item["jumboPacket"],
|
|
1670
|
-
networkDirect: item["networkDirect"],
|
|
1671
|
-
networkDirectTechnology: item["networkDirectTechnology"],
|
|
1672
|
-
};
|
|
1673
|
-
}
|
|
1674
|
-
export function deploymentSettingStorageNetworksArraySerializer(result) {
|
|
1675
|
-
return result.map((item) => {
|
|
1676
|
-
return deploymentSettingStorageNetworksSerializer(item);
|
|
1677
|
-
});
|
|
1678
|
-
}
|
|
1679
|
-
export function deploymentSettingStorageNetworksArrayDeserializer(result) {
|
|
1680
|
-
return result.map((item) => {
|
|
1681
|
-
return deploymentSettingStorageNetworksDeserializer(item);
|
|
1682
|
-
});
|
|
1683
|
-
}
|
|
1684
|
-
export function deploymentSettingStorageNetworksSerializer(item) {
|
|
1685
|
-
return {
|
|
1686
|
-
name: item["name"],
|
|
1687
|
-
networkAdapterName: item["networkAdapterName"],
|
|
1688
|
-
vlanId: item["vlanId"],
|
|
1689
|
-
storageAdapterIPInfo: !item["storageAdapterIPInfo"]
|
|
1690
|
-
? item["storageAdapterIPInfo"]
|
|
1691
|
-
: deploymentSettingStorageAdapterIPInfoArraySerializer(item["storageAdapterIPInfo"]),
|
|
1692
|
-
};
|
|
1693
|
-
}
|
|
1694
|
-
export function deploymentSettingStorageNetworksDeserializer(item) {
|
|
1695
|
-
return {
|
|
1696
|
-
name: item["name"],
|
|
1697
|
-
networkAdapterName: item["networkAdapterName"],
|
|
1698
|
-
vlanId: item["vlanId"],
|
|
1699
|
-
storageAdapterIPInfo: !item["storageAdapterIPInfo"]
|
|
1700
|
-
? item["storageAdapterIPInfo"]
|
|
1701
|
-
: deploymentSettingStorageAdapterIPInfoArrayDeserializer(item["storageAdapterIPInfo"]),
|
|
1702
|
-
};
|
|
1703
|
-
}
|
|
1704
|
-
export function deploymentSettingStorageAdapterIPInfoArraySerializer(result) {
|
|
1705
|
-
return result.map((item) => {
|
|
1706
|
-
return deploymentSettingStorageAdapterIPInfoSerializer(item);
|
|
1707
|
-
});
|
|
1708
|
-
}
|
|
1709
|
-
export function deploymentSettingStorageAdapterIPInfoArrayDeserializer(result) {
|
|
1710
|
-
return result.map((item) => {
|
|
1711
|
-
return deploymentSettingStorageAdapterIPInfoDeserializer(item);
|
|
1712
|
-
});
|
|
1713
|
-
}
|
|
1714
|
-
export function deploymentSettingStorageAdapterIPInfoSerializer(item) {
|
|
1715
|
-
return {
|
|
1716
|
-
physicalNode: item["physicalNode"],
|
|
1717
|
-
ipv4Address: item["ipv4Address"],
|
|
1718
|
-
subnetMask: item["subnetMask"],
|
|
1719
|
-
};
|
|
1720
|
-
}
|
|
1721
|
-
export function deploymentSettingStorageAdapterIPInfoDeserializer(item) {
|
|
1722
|
-
return {
|
|
1723
|
-
physicalNode: item["physicalNode"],
|
|
1724
|
-
ipv4Address: item["ipv4Address"],
|
|
1725
|
-
subnetMask: item["subnetMask"],
|
|
1726
|
-
};
|
|
1727
|
-
}
|
|
1728
|
-
export function sdnIntegrationSerializer(item) {
|
|
1729
|
-
return {
|
|
1730
|
-
networkController: !item["networkController"]
|
|
1731
|
-
? item["networkController"]
|
|
1732
|
-
: networkControllerSerializer(item["networkController"]),
|
|
1733
|
-
};
|
|
1734
|
-
}
|
|
1735
|
-
export function sdnIntegrationDeserializer(item) {
|
|
1736
|
-
return {
|
|
1737
|
-
networkController: !item["networkController"]
|
|
1738
|
-
? item["networkController"]
|
|
1739
|
-
: networkControllerDeserializer(item["networkController"]),
|
|
1740
|
-
};
|
|
1741
|
-
}
|
|
1742
|
-
export function networkControllerSerializer(item) {
|
|
1743
|
-
return {
|
|
1744
|
-
macAddressPoolStart: item["macAddressPoolStart"],
|
|
1745
|
-
macAddressPoolStop: item["macAddressPoolStop"],
|
|
1746
|
-
networkVirtualizationEnabled: item["networkVirtualizationEnabled"],
|
|
1747
|
-
};
|
|
1748
|
-
}
|
|
1749
|
-
export function networkControllerDeserializer(item) {
|
|
1750
|
-
return {
|
|
1751
|
-
macAddressPoolStart: item["macAddressPoolStart"],
|
|
1752
|
-
macAddressPoolStop: item["macAddressPoolStop"],
|
|
1753
|
-
networkVirtualizationEnabled: item["networkVirtualizationEnabled"],
|
|
1754
|
-
};
|
|
1755
|
-
}
|
|
1756
|
-
export function eceDeploymentSecretsArraySerializer(result) {
|
|
1757
|
-
return result.map((item) => {
|
|
1758
|
-
return eceDeploymentSecretsSerializer(item);
|
|
1759
|
-
});
|
|
1760
|
-
}
|
|
1761
|
-
export function eceDeploymentSecretsArrayDeserializer(result) {
|
|
1762
|
-
return result.map((item) => {
|
|
1763
|
-
return eceDeploymentSecretsDeserializer(item);
|
|
1764
|
-
});
|
|
1765
|
-
}
|
|
1766
|
-
export function eceDeploymentSecretsSerializer(item) {
|
|
1767
|
-
return {
|
|
1768
|
-
secretName: item["secretName"],
|
|
1769
|
-
eceSecretName: item["eceSecretName"],
|
|
1770
|
-
secretLocation: item["secretLocation"],
|
|
1771
|
-
};
|
|
1772
|
-
}
|
|
1773
|
-
export function eceDeploymentSecretsDeserializer(item) {
|
|
1774
|
-
return {
|
|
1775
|
-
secretName: item["secretName"],
|
|
1776
|
-
eceSecretName: item["eceSecretName"],
|
|
1777
|
-
secretLocation: item["secretLocation"],
|
|
1778
|
-
};
|
|
1779
|
-
}
|
|
1780
|
-
/** Secret names allowed for Enterprise Cloud Engine (ECE) deployment. */
|
|
1781
|
-
export var KnownEceSecrets;
|
|
1782
|
-
(function (KnownEceSecrets) {
|
|
1783
|
-
/** AzureStackLCMUserCredential used for LCM operations for AzureStackHCI cluster. */
|
|
1784
|
-
KnownEceSecrets["AzureStackLCMUserCredential"] = "AzureStackLCMUserCredential";
|
|
1785
|
-
/** DefaultARBApplication used to manage Azure Arc resource bridge (ARB) for AzureStackHCI cluster. */
|
|
1786
|
-
KnownEceSecrets["DefaultARBApplication"] = "DefaultARBApplication";
|
|
1787
|
-
/** LocalAdminCredential used for admin operations for AzureStackHCI cluster. */
|
|
1788
|
-
KnownEceSecrets["LocalAdminCredential"] = "LocalAdminCredential";
|
|
1789
|
-
/** WitnessStorageKey used for setting up a cloud witness for AzureStackHCI cluster. */
|
|
1790
|
-
KnownEceSecrets["WitnessStorageKey"] = "WitnessStorageKey";
|
|
1791
|
-
})(KnownEceSecrets || (KnownEceSecrets = {}));
|
|
1792
|
-
export function optionalServicesSerializer(item) {
|
|
1793
|
-
return { customLocation: item["customLocation"] };
|
|
1794
|
-
}
|
|
1795
|
-
export function optionalServicesDeserializer(item) {
|
|
1796
|
-
return {
|
|
1797
|
-
customLocation: item["customLocation"],
|
|
1798
|
-
};
|
|
1799
|
-
}
|
|
1800
|
-
export function assemblyInfoSerializer(item) {
|
|
1801
|
-
return item;
|
|
1802
|
-
}
|
|
1803
|
-
export function assemblyInfoDeserializer(item) {
|
|
1804
|
-
return {
|
|
1805
|
-
packageVersion: item["packageVersion"],
|
|
1806
|
-
payload: !item["payload"]
|
|
1807
|
-
? item["payload"]
|
|
1808
|
-
: assemblyInfoPayloadArrayDeserializer(item["payload"]),
|
|
1809
|
-
};
|
|
1810
|
-
}
|
|
1811
|
-
export function assemblyInfoPayloadArrayDeserializer(result) {
|
|
1812
|
-
return result.map((item) => {
|
|
1813
|
-
return assemblyInfoPayloadDeserializer(item);
|
|
1814
|
-
});
|
|
1815
|
-
}
|
|
1816
|
-
export function assemblyInfoPayloadDeserializer(item) {
|
|
1817
|
-
return {
|
|
1818
|
-
identifier: item["identifier"],
|
|
1819
|
-
hash: item["hash"],
|
|
1820
|
-
fileName: item["fileName"],
|
|
1821
|
-
url: item["url"],
|
|
1822
|
-
};
|
|
1823
|
-
}
|
|
1824
|
-
export function sbePartnerInfoSerializer(item) {
|
|
1825
|
-
return {
|
|
1826
|
-
sbeDeploymentInfo: !item["sbeDeploymentInfo"]
|
|
1827
|
-
? item["sbeDeploymentInfo"]
|
|
1828
|
-
: sbeDeploymentInfoSerializer(item["sbeDeploymentInfo"]),
|
|
1829
|
-
partnerProperties: !item["partnerProperties"]
|
|
1830
|
-
? item["partnerProperties"]
|
|
1831
|
-
: sbePartnerPropertiesArraySerializer(item["partnerProperties"]),
|
|
1832
|
-
credentialList: !item["credentialList"]
|
|
1833
|
-
? item["credentialList"]
|
|
1834
|
-
: sbeCredentialsArraySerializer(item["credentialList"]),
|
|
1835
|
-
};
|
|
1836
|
-
}
|
|
1837
|
-
export function sbePartnerInfoDeserializer(item) {
|
|
1838
|
-
return {
|
|
1839
|
-
sbeDeploymentInfo: !item["sbeDeploymentInfo"]
|
|
1840
|
-
? item["sbeDeploymentInfo"]
|
|
1841
|
-
: sbeDeploymentInfoDeserializer(item["sbeDeploymentInfo"]),
|
|
1842
|
-
partnerProperties: !item["partnerProperties"]
|
|
1843
|
-
? item["partnerProperties"]
|
|
1844
|
-
: sbePartnerPropertiesArrayDeserializer(item["partnerProperties"]),
|
|
1845
|
-
credentialList: !item["credentialList"]
|
|
1846
|
-
? item["credentialList"]
|
|
1847
|
-
: sbeCredentialsArrayDeserializer(item["credentialList"]),
|
|
1848
|
-
};
|
|
1849
|
-
}
|
|
1850
|
-
export function sbeDeploymentInfoSerializer(item) {
|
|
1851
|
-
return {
|
|
1852
|
-
version: item["version"],
|
|
1853
|
-
family: item["family"],
|
|
1854
|
-
publisher: item["publisher"],
|
|
1855
|
-
sbeManifestSource: item["sbeManifestSource"],
|
|
1856
|
-
sbeManifestCreationDate: !item["sbeManifestCreationDate"]
|
|
1857
|
-
? item["sbeManifestCreationDate"]
|
|
1858
|
-
: item["sbeManifestCreationDate"].toISOString(),
|
|
1859
|
-
};
|
|
1860
|
-
}
|
|
1861
|
-
export function sbeDeploymentInfoDeserializer(item) {
|
|
1862
|
-
return {
|
|
1863
|
-
version: item["version"],
|
|
1864
|
-
family: item["family"],
|
|
1865
|
-
publisher: item["publisher"],
|
|
1866
|
-
sbeManifestSource: item["sbeManifestSource"],
|
|
1867
|
-
sbeManifestCreationDate: !item["sbeManifestCreationDate"]
|
|
1868
|
-
? item["sbeManifestCreationDate"]
|
|
1869
|
-
: new Date(item["sbeManifestCreationDate"]),
|
|
1870
|
-
};
|
|
1871
|
-
}
|
|
1872
|
-
export function sbePartnerPropertiesArraySerializer(result) {
|
|
1873
|
-
return result.map((item) => {
|
|
1874
|
-
return sbePartnerPropertiesSerializer(item);
|
|
1875
|
-
});
|
|
1876
|
-
}
|
|
1877
|
-
export function sbePartnerPropertiesArrayDeserializer(result) {
|
|
1878
|
-
return result.map((item) => {
|
|
1879
|
-
return sbePartnerPropertiesDeserializer(item);
|
|
1880
|
-
});
|
|
1881
|
-
}
|
|
1882
|
-
export function sbePartnerPropertiesSerializer(item) {
|
|
1883
|
-
return { name: item["name"], value: item["value"] };
|
|
1884
|
-
}
|
|
1885
|
-
export function sbePartnerPropertiesDeserializer(item) {
|
|
1886
|
-
return {
|
|
1887
|
-
name: item["name"],
|
|
1888
|
-
value: item["value"],
|
|
1889
|
-
};
|
|
1890
|
-
}
|
|
1891
|
-
export function sbeCredentialsArraySerializer(result) {
|
|
1892
|
-
return result.map((item) => {
|
|
1893
|
-
return sbeCredentialsSerializer(item);
|
|
1894
|
-
});
|
|
1895
|
-
}
|
|
1896
|
-
export function sbeCredentialsArrayDeserializer(result) {
|
|
1897
|
-
return result.map((item) => {
|
|
1898
|
-
return sbeCredentialsDeserializer(item);
|
|
1899
|
-
});
|
|
1900
|
-
}
|
|
1901
|
-
export function sbeCredentialsSerializer(item) {
|
|
1902
|
-
return {
|
|
1903
|
-
secretName: item["secretName"],
|
|
1904
|
-
eceSecretName: item["eceSecretName"],
|
|
1905
|
-
secretLocation: item["secretLocation"],
|
|
1906
|
-
};
|
|
1907
|
-
}
|
|
1908
|
-
export function sbeCredentialsDeserializer(item) {
|
|
1909
|
-
return {
|
|
1910
|
-
secretName: item["secretName"],
|
|
1911
|
-
eceSecretName: item["eceSecretName"],
|
|
1912
|
-
secretLocation: item["secretLocation"],
|
|
1913
|
-
};
|
|
1914
|
-
}
|
|
1915
|
-
export function eceReportedPropertiesDeserializer(item) {
|
|
1916
|
-
return {
|
|
1917
|
-
validationStatus: !item["validationStatus"]
|
|
1918
|
-
? item["validationStatus"]
|
|
1919
|
-
: eceActionStatusDeserializer(item["validationStatus"]),
|
|
1920
|
-
deploymentStatus: !item["deploymentStatus"]
|
|
1921
|
-
? item["deploymentStatus"]
|
|
1922
|
-
: eceActionStatusDeserializer(item["deploymentStatus"]),
|
|
1923
|
-
};
|
|
1924
|
-
}
|
|
1925
|
-
export function eceActionStatusDeserializer(item) {
|
|
1926
|
-
return {
|
|
1927
|
-
status: item["status"],
|
|
1928
|
-
steps: !item["steps"] ? item["steps"] : deploymentStepArrayDeserializer(item["steps"]),
|
|
1929
|
-
};
|
|
1930
|
-
}
|
|
1931
|
-
export function deploymentStepArrayDeserializer(result) {
|
|
1932
|
-
return result.map((item) => {
|
|
1933
|
-
return deploymentStepDeserializer(item);
|
|
1934
|
-
});
|
|
1935
|
-
}
|
|
1936
|
-
export function deploymentStepDeserializer(item) {
|
|
1937
|
-
return {
|
|
1938
|
-
name: item["name"],
|
|
1939
|
-
description: item["description"],
|
|
1940
|
-
fullStepIndex: item["fullStepIndex"],
|
|
1941
|
-
startTimeUtc: item["startTimeUtc"],
|
|
1942
|
-
endTimeUtc: item["endTimeUtc"],
|
|
1943
|
-
status: item["status"],
|
|
1944
|
-
steps: !item["steps"] ? item["steps"] : deploymentStepArrayDeserializer(item["steps"]),
|
|
1945
|
-
exception: !item["exception"]
|
|
1946
|
-
? item["exception"]
|
|
1947
|
-
: item["exception"].map((p) => {
|
|
1948
|
-
return p;
|
|
1949
|
-
}),
|
|
1950
|
-
};
|
|
1951
|
-
}
|
|
1952
|
-
export function _deploymentSettingListResultDeserializer(item) {
|
|
1953
|
-
return {
|
|
1954
|
-
value: deploymentSettingArrayDeserializer(item["value"]),
|
|
1955
|
-
nextLink: item["nextLink"],
|
|
1956
|
-
};
|
|
1957
|
-
}
|
|
1958
|
-
export function deploymentSettingArraySerializer(result) {
|
|
1959
|
-
return result.map((item) => {
|
|
1960
|
-
return deploymentSettingSerializer(item);
|
|
1961
|
-
});
|
|
1962
|
-
}
|
|
1963
|
-
export function deploymentSettingArrayDeserializer(result) {
|
|
1964
|
-
return result.map((item) => {
|
|
1965
|
-
return deploymentSettingDeserializer(item);
|
|
1966
|
-
});
|
|
1967
|
-
}
|
|
1968
|
-
export function edgeDeviceJobSerializer(item) {
|
|
1969
|
-
return { kind: item["kind"] };
|
|
1970
|
-
}
|
|
1971
|
-
export function edgeDeviceJobDeserializer(item) {
|
|
1972
|
-
return {
|
|
1973
|
-
id: item["id"],
|
|
1974
|
-
name: item["name"],
|
|
1975
|
-
type: item["type"],
|
|
1976
|
-
systemData: !item["systemData"]
|
|
1977
|
-
? item["systemData"]
|
|
1978
|
-
: systemDataDeserializer(item["systemData"]),
|
|
1979
|
-
kind: item["kind"],
|
|
1980
|
-
};
|
|
1981
|
-
}
|
|
1982
|
-
export function edgeDeviceJobUnionSerializer(item) {
|
|
1983
|
-
switch (item.kind) {
|
|
1984
|
-
case "HCI":
|
|
1985
|
-
return hciEdgeDeviceJobSerializer(item);
|
|
1986
|
-
default:
|
|
1987
|
-
return edgeDeviceJobSerializer(item);
|
|
1988
|
-
}
|
|
1989
|
-
}
|
|
1990
|
-
export function edgeDeviceJobUnionDeserializer(item) {
|
|
1991
|
-
switch (item["kind"]) {
|
|
1992
|
-
case "HCI":
|
|
1993
|
-
return hciEdgeDeviceJobDeserializer(item);
|
|
1994
|
-
default:
|
|
1995
|
-
return edgeDeviceJobDeserializer(item);
|
|
1996
|
-
}
|
|
1997
|
-
}
|
|
1998
|
-
/** Edge device kind. */
|
|
1999
|
-
export var KnownEdgeDeviceKind;
|
|
2000
|
-
(function (KnownEdgeDeviceKind) {
|
|
2001
|
-
/** Arc-enabled edge device with HCI OS. */
|
|
2002
|
-
KnownEdgeDeviceKind["HCI"] = "HCI";
|
|
2003
|
-
})(KnownEdgeDeviceKind || (KnownEdgeDeviceKind = {}));
|
|
2004
|
-
export function hciEdgeDeviceJobSerializer(item) {
|
|
2005
|
-
return {
|
|
2006
|
-
kind: item["kind"],
|
|
2007
|
-
properties: hciEdgeDeviceJobPropertiesUnionSerializer(item["properties"]),
|
|
2008
|
-
};
|
|
2009
|
-
}
|
|
2010
|
-
export function hciEdgeDeviceJobDeserializer(item) {
|
|
2011
|
-
return {
|
|
2012
|
-
kind: item["kind"],
|
|
2013
|
-
id: item["id"],
|
|
2014
|
-
name: item["name"],
|
|
2015
|
-
type: item["type"],
|
|
2016
|
-
systemData: !item["systemData"]
|
|
2017
|
-
? item["systemData"]
|
|
2018
|
-
: systemDataDeserializer(item["systemData"]),
|
|
2019
|
-
properties: hciEdgeDeviceJobPropertiesUnionDeserializer(item["properties"]),
|
|
2020
|
-
};
|
|
2021
|
-
}
|
|
2022
|
-
export function hciEdgeDeviceJobPropertiesSerializer(item) {
|
|
2023
|
-
return { deploymentMode: item["deploymentMode"], jobType: item["jobType"] };
|
|
2024
|
-
}
|
|
2025
|
-
export function hciEdgeDeviceJobPropertiesDeserializer(item) {
|
|
2026
|
-
return {
|
|
2027
|
-
deploymentMode: item["deploymentMode"],
|
|
2028
|
-
provisioningState: item["provisioningState"],
|
|
2029
|
-
jobId: item["jobId"],
|
|
2030
|
-
startTimeUtc: !item["startTimeUtc"] ? item["startTimeUtc"] : new Date(item["startTimeUtc"]),
|
|
2031
|
-
endTimeUtc: !item["endTimeUtc"] ? item["endTimeUtc"] : new Date(item["endTimeUtc"]),
|
|
2032
|
-
status: item["status"],
|
|
2033
|
-
jobType: item["jobType"],
|
|
2034
|
-
};
|
|
2035
|
-
}
|
|
2036
|
-
export function hciEdgeDeviceJobPropertiesUnionSerializer(item) {
|
|
2037
|
-
switch (item.jobType) {
|
|
2038
|
-
case "CollectLog":
|
|
2039
|
-
return hciCollectLogJobPropertiesSerializer(item);
|
|
2040
|
-
case "RemoteSupport":
|
|
2041
|
-
return hciRemoteSupportJobPropertiesSerializer(item);
|
|
2042
|
-
default:
|
|
2043
|
-
return hciEdgeDeviceJobPropertiesSerializer(item);
|
|
2044
|
-
}
|
|
2045
|
-
}
|
|
2046
|
-
export function hciEdgeDeviceJobPropertiesUnionDeserializer(item) {
|
|
2047
|
-
switch (item["jobType"]) {
|
|
2048
|
-
case "CollectLog":
|
|
2049
|
-
return hciCollectLogJobPropertiesDeserializer(item);
|
|
2050
|
-
case "RemoteSupport":
|
|
2051
|
-
return hciRemoteSupportJobPropertiesDeserializer(item);
|
|
2052
|
-
default:
|
|
2053
|
-
return hciEdgeDeviceJobPropertiesDeserializer(item);
|
|
2054
|
-
}
|
|
2055
|
-
}
|
|
2056
|
-
/** Represents the various statuses a job can have throughout its lifecycle. */
|
|
2057
|
-
export var KnownJobStatus;
|
|
2058
|
-
(function (KnownJobStatus) {
|
|
2059
|
-
/** The job status has not been specified. */
|
|
2060
|
-
KnownJobStatus["NotSpecified"] = "NotSpecified";
|
|
2061
|
-
/** The job is currently undergoing validation. */
|
|
2062
|
-
KnownJobStatus["ValidationInProgress"] = "ValidationInProgress";
|
|
2063
|
-
/** The job has successfully passed validation. */
|
|
2064
|
-
KnownJobStatus["ValidationSuccess"] = "ValidationSuccess";
|
|
2065
|
-
/** The job has failed validation. */
|
|
2066
|
-
KnownJobStatus["ValidationFailed"] = "ValidationFailed";
|
|
2067
|
-
/** The job's deployment is currently in progress. */
|
|
2068
|
-
KnownJobStatus["DeploymentInProgress"] = "DeploymentInProgress";
|
|
2069
|
-
/** The job's deployment has failed. */
|
|
2070
|
-
KnownJobStatus["DeploymentFailed"] = "DeploymentFailed";
|
|
2071
|
-
/** The job has been successfully deployed. */
|
|
2072
|
-
KnownJobStatus["DeploymentSuccess"] = "DeploymentSuccess";
|
|
2073
|
-
/** The job has succeeded. */
|
|
2074
|
-
KnownJobStatus["Succeeded"] = "Succeeded";
|
|
2075
|
-
/** The job has failed. */
|
|
2076
|
-
KnownJobStatus["Failed"] = "Failed";
|
|
2077
|
-
/** The job has been canceled. */
|
|
2078
|
-
KnownJobStatus["Canceled"] = "Canceled";
|
|
2079
|
-
/** The job is paused. */
|
|
2080
|
-
KnownJobStatus["Paused"] = "Paused";
|
|
2081
|
-
/** The job is scheduled to run. */
|
|
2082
|
-
KnownJobStatus["Scheduled"] = "Scheduled";
|
|
2083
|
-
})(KnownJobStatus || (KnownJobStatus = {}));
|
|
2084
|
-
/** Job Type supported. */
|
|
2085
|
-
export var KnownHciEdgeDeviceJobType;
|
|
2086
|
-
(function (KnownHciEdgeDeviceJobType) {
|
|
2087
|
-
/** Job to collect logs from the device. */
|
|
2088
|
-
KnownHciEdgeDeviceJobType["CollectLog"] = "CollectLog";
|
|
2089
|
-
/** Job to provide remote support to the device. */
|
|
2090
|
-
KnownHciEdgeDeviceJobType["RemoteSupport"] = "RemoteSupport";
|
|
2091
|
-
})(KnownHciEdgeDeviceJobType || (KnownHciEdgeDeviceJobType = {}));
|
|
2092
|
-
export function hciCollectLogJobPropertiesSerializer(item) {
|
|
2093
|
-
return {
|
|
2094
|
-
deploymentMode: item["deploymentMode"],
|
|
2095
|
-
jobType: item["jobType"],
|
|
2096
|
-
fromDate: item["fromDate"].toISOString(),
|
|
2097
|
-
toDate: item["toDate"].toISOString(),
|
|
2098
|
-
};
|
|
2099
|
-
}
|
|
2100
|
-
export function hciCollectLogJobPropertiesDeserializer(item) {
|
|
2101
|
-
return {
|
|
2102
|
-
deploymentMode: item["deploymentMode"],
|
|
2103
|
-
provisioningState: item["provisioningState"],
|
|
2104
|
-
jobId: item["jobId"],
|
|
2105
|
-
startTimeUtc: !item["startTimeUtc"] ? item["startTimeUtc"] : new Date(item["startTimeUtc"]),
|
|
2106
|
-
endTimeUtc: !item["endTimeUtc"] ? item["endTimeUtc"] : new Date(item["endTimeUtc"]),
|
|
2107
|
-
status: item["status"],
|
|
2108
|
-
jobType: item["jobType"],
|
|
2109
|
-
fromDate: new Date(item["fromDate"]),
|
|
2110
|
-
toDate: new Date(item["toDate"]),
|
|
2111
|
-
lastLogGenerated: !item["lastLogGenerated"]
|
|
2112
|
-
? item["lastLogGenerated"]
|
|
2113
|
-
: new Date(item["lastLogGenerated"]),
|
|
2114
|
-
reportedProperties: !item["reportedProperties"]
|
|
2115
|
-
? item["reportedProperties"]
|
|
2116
|
-
: logCollectionReportedPropertiesDeserializer(item["reportedProperties"]),
|
|
2117
|
-
};
|
|
2118
|
-
}
|
|
2119
|
-
export function logCollectionReportedPropertiesDeserializer(item) {
|
|
2120
|
-
return {
|
|
2121
|
-
percentComplete: item["percentComplete"],
|
|
2122
|
-
validationStatus: !item["validationStatus"]
|
|
2123
|
-
? item["validationStatus"]
|
|
2124
|
-
: eceActionStatusDeserializer(item["validationStatus"]),
|
|
2125
|
-
deploymentStatus: !item["deploymentStatus"]
|
|
2126
|
-
? item["deploymentStatus"]
|
|
2127
|
-
: eceActionStatusDeserializer(item["deploymentStatus"]),
|
|
2128
|
-
logCollectionSessionDetails: !item["logCollectionSessionDetails"]
|
|
2129
|
-
? item["logCollectionSessionDetails"]
|
|
2130
|
-
: logCollectionJobSessionArrayDeserializer(item["logCollectionSessionDetails"]),
|
|
2131
|
-
};
|
|
2132
|
-
}
|
|
2133
|
-
export function logCollectionJobSessionArrayDeserializer(result) {
|
|
2134
|
-
return result.map((item) => {
|
|
2135
|
-
return logCollectionJobSessionDeserializer(item);
|
|
2136
|
-
});
|
|
2137
|
-
}
|
|
2138
|
-
export function logCollectionJobSessionDeserializer(item) {
|
|
2139
|
-
return {
|
|
2140
|
-
startTime: item["startTime"],
|
|
2141
|
-
endTime: item["endTime"],
|
|
2142
|
-
timeCollected: item["timeCollected"],
|
|
2143
|
-
logSize: item["logSize"],
|
|
2144
|
-
status: item["status"],
|
|
2145
|
-
correlationId: item["correlationId"],
|
|
2146
|
-
};
|
|
2147
|
-
}
|
|
2148
|
-
/** Represents the status of a log collection operation. */
|
|
2149
|
-
export var KnownDeviceLogCollectionStatus;
|
|
2150
|
-
(function (KnownDeviceLogCollectionStatus) {
|
|
2151
|
-
/** Log collection operation has not been initiated. */
|
|
2152
|
-
KnownDeviceLogCollectionStatus["NotStarted"] = "NotStarted";
|
|
2153
|
-
/** Indicates that the log collection operation is currently running. */
|
|
2154
|
-
KnownDeviceLogCollectionStatus["Running"] = "Running";
|
|
2155
|
-
/** Indicates that the log collection operation has failed. */
|
|
2156
|
-
KnownDeviceLogCollectionStatus["Failed"] = "Failed";
|
|
2157
|
-
/** Indicates that the log collection operation has completed successfully. */
|
|
2158
|
-
KnownDeviceLogCollectionStatus["Succeeded"] = "Succeeded";
|
|
2159
|
-
/** Indicates that the log collection operation has completed successfully. */
|
|
2160
|
-
KnownDeviceLogCollectionStatus["Canceled"] = "Canceled";
|
|
2161
|
-
})(KnownDeviceLogCollectionStatus || (KnownDeviceLogCollectionStatus = {}));
|
|
2162
|
-
export function hciRemoteSupportJobPropertiesSerializer(item) {
|
|
2163
|
-
return {
|
|
2164
|
-
deploymentMode: item["deploymentMode"],
|
|
2165
|
-
jobType: item["jobType"],
|
|
2166
|
-
accessLevel: item["accessLevel"],
|
|
2167
|
-
expirationTimestamp: item["expirationTimestamp"].toISOString(),
|
|
2168
|
-
type: item["type"],
|
|
2169
|
-
};
|
|
2170
|
-
}
|
|
2171
|
-
export function hciRemoteSupportJobPropertiesDeserializer(item) {
|
|
2172
|
-
return {
|
|
2173
|
-
deploymentMode: item["deploymentMode"],
|
|
2174
|
-
provisioningState: item["provisioningState"],
|
|
2175
|
-
jobId: item["jobId"],
|
|
2176
|
-
startTimeUtc: !item["startTimeUtc"] ? item["startTimeUtc"] : new Date(item["startTimeUtc"]),
|
|
2177
|
-
endTimeUtc: !item["endTimeUtc"] ? item["endTimeUtc"] : new Date(item["endTimeUtc"]),
|
|
2178
|
-
status: item["status"],
|
|
2179
|
-
jobType: item["jobType"],
|
|
2180
|
-
accessLevel: item["accessLevel"],
|
|
2181
|
-
expirationTimestamp: new Date(item["expirationTimestamp"]),
|
|
2182
|
-
type: item["type"],
|
|
2183
|
-
reportedProperties: !item["reportedProperties"]
|
|
2184
|
-
? item["reportedProperties"]
|
|
2185
|
-
: remoteSupportJobReportedPropertiesDeserializer(item["reportedProperties"]),
|
|
2186
|
-
};
|
|
2187
|
-
}
|
|
2188
|
-
/** Defines the level of remote support access granted. */
|
|
2189
|
-
export var KnownRemoteSupportAccessLevel;
|
|
2190
|
-
(function (KnownRemoteSupportAccessLevel) {
|
|
2191
|
-
/** No remote support access is granted. */
|
|
2192
|
-
KnownRemoteSupportAccessLevel["None"] = "None";
|
|
2193
|
-
/** Access is limited to diagnostics information only. */
|
|
2194
|
-
KnownRemoteSupportAccessLevel["Diagnostics"] = "Diagnostics";
|
|
2195
|
-
/** Access includes diagnostics information and the ability to perform repairs. */
|
|
2196
|
-
KnownRemoteSupportAccessLevel["DiagnosticsAndRepair"] = "DiagnosticsAndRepair";
|
|
2197
|
-
})(KnownRemoteSupportAccessLevel || (KnownRemoteSupportAccessLevel = {}));
|
|
2198
|
-
export function remoteSupportJobReportedPropertiesDeserializer(item) {
|
|
2199
|
-
return {
|
|
2200
|
-
percentComplete: item["percentComplete"],
|
|
2201
|
-
validationStatus: !item["validationStatus"]
|
|
2202
|
-
? item["validationStatus"]
|
|
2203
|
-
: eceActionStatusDeserializer(item["validationStatus"]),
|
|
2204
|
-
deploymentStatus: !item["deploymentStatus"]
|
|
2205
|
-
? item["deploymentStatus"]
|
|
2206
|
-
: eceActionStatusDeserializer(item["deploymentStatus"]),
|
|
2207
|
-
nodeSettings: !item["nodeSettings"]
|
|
2208
|
-
? item["nodeSettings"]
|
|
2209
|
-
: remoteSupportJobNodeSettingsDeserializer(item["nodeSettings"]),
|
|
2210
|
-
sessionDetails: !item["sessionDetails"]
|
|
2211
|
-
? item["sessionDetails"]
|
|
2212
|
-
: remoteSupportSessionArrayDeserializer(item["sessionDetails"]),
|
|
2213
|
-
};
|
|
2214
|
-
}
|
|
2215
|
-
export function remoteSupportJobNodeSettingsDeserializer(item) {
|
|
2216
|
-
return {
|
|
2217
|
-
state: item["state"],
|
|
2218
|
-
createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
|
|
2219
|
-
updatedAt: !item["updatedAt"] ? item["updatedAt"] : new Date(item["updatedAt"]),
|
|
2220
|
-
connectionStatus: item["connectionStatus"],
|
|
2221
|
-
connectionErrorMessage: item["connectionErrorMessage"],
|
|
2222
|
-
};
|
|
2223
|
-
}
|
|
2224
|
-
export function remoteSupportSessionArrayDeserializer(result) {
|
|
2225
|
-
return result.map((item) => {
|
|
2226
|
-
return remoteSupportSessionDeserializer(item);
|
|
2227
|
-
});
|
|
2228
|
-
}
|
|
2229
|
-
export function remoteSupportSessionDeserializer(item) {
|
|
2230
|
-
return {
|
|
2231
|
-
sessionId: item["sessionId"],
|
|
2232
|
-
sessionStartTime: !item["sessionStartTime"]
|
|
2233
|
-
? item["sessionStartTime"]
|
|
2234
|
-
: new Date(item["sessionStartTime"]),
|
|
2235
|
-
sessionEndTime: !item["sessionEndTime"]
|
|
2236
|
-
? item["sessionEndTime"]
|
|
2237
|
-
: new Date(item["sessionEndTime"]),
|
|
2238
|
-
accessLevel: item["accessLevel"],
|
|
2239
|
-
transcriptLocation: item["transcriptLocation"],
|
|
2240
|
-
};
|
|
2241
|
-
}
|
|
2242
|
-
export function extensionResourceSerializer(item) {
|
|
2243
|
-
return item;
|
|
2244
|
-
}
|
|
2245
|
-
export function extensionResourceDeserializer(item) {
|
|
2246
|
-
return {
|
|
2247
|
-
id: item["id"],
|
|
2248
|
-
name: item["name"],
|
|
2249
|
-
type: item["type"],
|
|
2250
|
-
systemData: !item["systemData"]
|
|
2251
|
-
? item["systemData"]
|
|
2252
|
-
: systemDataDeserializer(item["systemData"]),
|
|
2253
|
-
};
|
|
2254
|
-
}
|
|
2255
|
-
export function _edgeDeviceJobListResultDeserializer(item) {
|
|
2256
|
-
return {
|
|
2257
|
-
value: edgeDeviceJobUnionArrayDeserializer(item["value"]),
|
|
2258
|
-
nextLink: item["nextLink"],
|
|
2259
|
-
};
|
|
2260
|
-
}
|
|
2261
|
-
export function edgeDeviceJobUnionArraySerializer(result) {
|
|
2262
|
-
return result.map((item) => {
|
|
2263
|
-
return edgeDeviceJobUnionSerializer(item);
|
|
2264
|
-
});
|
|
2265
|
-
}
|
|
2266
|
-
export function edgeDeviceJobUnionArrayDeserializer(result) {
|
|
2267
|
-
return result.map((item) => {
|
|
2268
|
-
return edgeDeviceJobUnionDeserializer(item);
|
|
2269
|
-
});
|
|
2270
|
-
}
|
|
2271
|
-
export function edgeDeviceSerializer(item) {
|
|
2272
|
-
return { kind: item["kind"] };
|
|
2273
|
-
}
|
|
2274
|
-
export function edgeDeviceDeserializer(item) {
|
|
2275
|
-
return {
|
|
2276
|
-
id: item["id"],
|
|
2277
|
-
name: item["name"],
|
|
2278
|
-
type: item["type"],
|
|
2279
|
-
systemData: !item["systemData"]
|
|
2280
|
-
? item["systemData"]
|
|
2281
|
-
: systemDataDeserializer(item["systemData"]),
|
|
2282
|
-
kind: item["kind"],
|
|
2283
|
-
};
|
|
2284
|
-
}
|
|
2285
|
-
export function edgeDeviceUnionSerializer(item) {
|
|
2286
|
-
switch (item.kind) {
|
|
2287
|
-
case "HCI":
|
|
2288
|
-
return hciEdgeDeviceSerializer(item);
|
|
2289
|
-
default:
|
|
2290
|
-
return edgeDeviceSerializer(item);
|
|
2291
|
-
}
|
|
2292
|
-
}
|
|
2293
|
-
export function edgeDeviceUnionDeserializer(item) {
|
|
2294
|
-
switch (item["kind"]) {
|
|
2295
|
-
case "HCI":
|
|
2296
|
-
return hciEdgeDeviceDeserializer(item);
|
|
2297
|
-
default:
|
|
2298
|
-
return edgeDeviceDeserializer(item);
|
|
2299
|
-
}
|
|
2300
|
-
}
|
|
2301
|
-
/** Edge device kind. */
|
|
2302
|
-
export var KnownDeviceKind;
|
|
2303
|
-
(function (KnownDeviceKind) {
|
|
2304
|
-
/** Arc-enabled edge device with HCI OS. */
|
|
2305
|
-
KnownDeviceKind["HCI"] = "HCI";
|
|
2306
|
-
})(KnownDeviceKind || (KnownDeviceKind = {}));
|
|
2307
|
-
export function hciEdgeDeviceSerializer(item) {
|
|
2308
|
-
return {
|
|
2309
|
-
kind: item["kind"],
|
|
2310
|
-
properties: !item["properties"]
|
|
2311
|
-
? item["properties"]
|
|
2312
|
-
: hciEdgeDevicePropertiesSerializer(item["properties"]),
|
|
2313
|
-
};
|
|
2314
|
-
}
|
|
2315
|
-
export function hciEdgeDeviceDeserializer(item) {
|
|
2316
|
-
return {
|
|
2317
|
-
kind: item["kind"],
|
|
2318
|
-
id: item["id"],
|
|
2319
|
-
name: item["name"],
|
|
2320
|
-
type: item["type"],
|
|
2321
|
-
systemData: !item["systemData"]
|
|
2322
|
-
? item["systemData"]
|
|
2323
|
-
: systemDataDeserializer(item["systemData"]),
|
|
2324
|
-
properties: !item["properties"]
|
|
2325
|
-
? item["properties"]
|
|
2326
|
-
: hciEdgeDevicePropertiesDeserializer(item["properties"]),
|
|
2327
|
-
};
|
|
2328
|
-
}
|
|
2329
|
-
export function hciEdgeDevicePropertiesSerializer(item) {
|
|
2330
|
-
return {
|
|
2331
|
-
deviceConfiguration: !item["deviceConfiguration"]
|
|
2332
|
-
? item["deviceConfiguration"]
|
|
2333
|
-
: deviceConfigurationSerializer(item["deviceConfiguration"]),
|
|
2334
|
-
};
|
|
2335
|
-
}
|
|
2336
|
-
export function hciEdgeDevicePropertiesDeserializer(item) {
|
|
2337
|
-
return {
|
|
2338
|
-
deviceConfiguration: !item["deviceConfiguration"]
|
|
2339
|
-
? item["deviceConfiguration"]
|
|
2340
|
-
: deviceConfigurationDeserializer(item["deviceConfiguration"]),
|
|
2341
|
-
provisioningState: item["provisioningState"],
|
|
2342
|
-
reportedProperties: !item["reportedProperties"]
|
|
2343
|
-
? item["reportedProperties"]
|
|
2344
|
-
: hciReportedPropertiesDeserializer(item["reportedProperties"]),
|
|
2345
|
-
};
|
|
2346
|
-
}
|
|
2347
|
-
export function hciReportedPropertiesDeserializer(item) {
|
|
2348
|
-
return {
|
|
2349
|
-
deviceState: item["deviceState"],
|
|
2350
|
-
extensionProfile: !item["extensionProfile"]
|
|
2351
|
-
? item["extensionProfile"]
|
|
2352
|
-
: extensionProfileDeserializer(item["extensionProfile"]),
|
|
2353
|
-
networkProfile: !item["networkProfile"]
|
|
2354
|
-
? item["networkProfile"]
|
|
2355
|
-
: hciNetworkProfileDeserializer(item["networkProfile"]),
|
|
2356
|
-
osProfile: !item["osProfile"] ? item["osProfile"] : hciOsProfileDeserializer(item["osProfile"]),
|
|
2357
|
-
sbeDeploymentPackageInfo: !item["sbeDeploymentPackageInfo"]
|
|
2358
|
-
? item["sbeDeploymentPackageInfo"]
|
|
2359
|
-
: sbeDeploymentPackageInfoDeserializer(item["sbeDeploymentPackageInfo"]),
|
|
2360
|
-
storageProfile: !item["storageProfile"]
|
|
2361
|
-
? item["storageProfile"]
|
|
2362
|
-
: hciStorageProfileDeserializer(item["storageProfile"]),
|
|
2363
|
-
hardwareProfile: !item["hardwareProfile"]
|
|
2364
|
-
? item["hardwareProfile"]
|
|
2365
|
-
: hciHardwareProfileDeserializer(item["hardwareProfile"]),
|
|
2366
|
-
};
|
|
2367
|
-
}
|
|
2368
|
-
export function hciNetworkProfileDeserializer(item) {
|
|
2369
|
-
return {
|
|
2370
|
-
nicDetails: !item["nicDetails"]
|
|
2371
|
-
? item["nicDetails"]
|
|
2372
|
-
: hciNicDetailArrayDeserializer(item["nicDetails"]),
|
|
2373
|
-
switchDetails: !item["switchDetails"]
|
|
2374
|
-
? item["switchDetails"]
|
|
2375
|
-
: switchDetailArrayDeserializer(item["switchDetails"]),
|
|
2376
|
-
hostNetwork: !item["hostNetwork"]
|
|
2377
|
-
? item["hostNetwork"]
|
|
2378
|
-
: hciEdgeDeviceHostNetworkDeserializer(item["hostNetwork"]),
|
|
2379
|
-
};
|
|
2380
|
-
}
|
|
2381
|
-
export function hciNicDetailArrayDeserializer(result) {
|
|
2382
|
-
return result.map((item) => {
|
|
2383
|
-
return hciNicDetailDeserializer(item);
|
|
2384
|
-
});
|
|
2385
|
-
}
|
|
2386
|
-
export function hciNicDetailDeserializer(item) {
|
|
2387
|
-
return {
|
|
2388
|
-
adapterName: item["adapterName"],
|
|
2389
|
-
interfaceDescription: item["interfaceDescription"],
|
|
2390
|
-
componentId: item["componentId"],
|
|
2391
|
-
driverVersion: item["driverVersion"],
|
|
2392
|
-
ip4Address: item["ip4Address"],
|
|
2393
|
-
subnetMask: item["subnetMask"],
|
|
2394
|
-
defaultGateway: item["defaultGateway"],
|
|
2395
|
-
dnsServers: !item["dnsServers"]
|
|
2396
|
-
? item["dnsServers"]
|
|
2397
|
-
: item["dnsServers"].map((p) => {
|
|
2398
|
-
return p;
|
|
2399
|
-
}),
|
|
2400
|
-
defaultIsolationId: item["defaultIsolationId"],
|
|
2401
|
-
macAddress: item["macAddress"],
|
|
2402
|
-
slot: item["slot"],
|
|
2403
|
-
switchName: item["switchName"],
|
|
2404
|
-
nicType: item["nicType"],
|
|
2405
|
-
vlanId: item["vlanId"],
|
|
2406
|
-
nicStatus: item["nicStatus"],
|
|
2407
|
-
rdmaCapability: item["rdmaCapability"],
|
|
2408
|
-
};
|
|
2409
|
-
}
|
|
2410
|
-
/** Describes the RDMA capability of the network adapter. */
|
|
2411
|
-
export var KnownRdmaCapability;
|
|
2412
|
-
(function (KnownRdmaCapability) {
|
|
2413
|
-
/** Network Adapter on the device is RDMA Capable */
|
|
2414
|
-
KnownRdmaCapability["Enabled"] = "Enabled";
|
|
2415
|
-
/** Network Adapter on the device is RDMA Capable */
|
|
2416
|
-
KnownRdmaCapability["Disabled"] = "Disabled";
|
|
2417
|
-
})(KnownRdmaCapability || (KnownRdmaCapability = {}));
|
|
2418
|
-
export function switchDetailArrayDeserializer(result) {
|
|
2419
|
-
return result.map((item) => {
|
|
2420
|
-
return switchDetailDeserializer(item);
|
|
2421
|
-
});
|
|
2422
|
-
}
|
|
2423
|
-
export function switchDetailDeserializer(item) {
|
|
2424
|
-
return {
|
|
2425
|
-
switchName: item["switchName"],
|
|
2426
|
-
switchType: item["switchType"],
|
|
2427
|
-
extensions: !item["extensions"]
|
|
2428
|
-
? item["extensions"]
|
|
2429
|
-
: switchExtensionArrayDeserializer(item["extensions"]),
|
|
2430
|
-
};
|
|
2431
|
-
}
|
|
2432
|
-
export function switchExtensionArrayDeserializer(result) {
|
|
2433
|
-
return result.map((item) => {
|
|
2434
|
-
return switchExtensionDeserializer(item);
|
|
2435
|
-
});
|
|
2436
|
-
}
|
|
2437
|
-
export function switchExtensionDeserializer(item) {
|
|
2438
|
-
return {
|
|
2439
|
-
switchId: item["switchId"],
|
|
2440
|
-
extensionName: item["extensionName"],
|
|
2441
|
-
extensionEnabled: item["extensionEnabled"],
|
|
2442
|
-
};
|
|
2443
|
-
}
|
|
2444
|
-
export function hciEdgeDeviceHostNetworkDeserializer(item) {
|
|
2445
|
-
return {
|
|
2446
|
-
intents: !item["intents"]
|
|
2447
|
-
? item["intents"]
|
|
2448
|
-
: hciEdgeDeviceIntentsArrayDeserializer(item["intents"]),
|
|
2449
|
-
storageNetworks: !item["storageNetworks"]
|
|
2450
|
-
? item["storageNetworks"]
|
|
2451
|
-
: hciEdgeDeviceStorageNetworksArrayDeserializer(item["storageNetworks"]),
|
|
2452
|
-
storageConnectivitySwitchless: item["storageConnectivitySwitchless"],
|
|
2453
|
-
enableStorageAutoIp: item["enableStorageAutoIp"],
|
|
2454
|
-
};
|
|
2455
|
-
}
|
|
2456
|
-
export function hciEdgeDeviceIntentsArrayDeserializer(result) {
|
|
2457
|
-
return result.map((item) => {
|
|
2458
|
-
return hciEdgeDeviceIntentsDeserializer(item);
|
|
2459
|
-
});
|
|
2460
|
-
}
|
|
2461
|
-
export function hciEdgeDeviceIntentsDeserializer(item) {
|
|
2462
|
-
return {
|
|
2463
|
-
scope: item["scope"],
|
|
2464
|
-
intentType: item["intentType"],
|
|
2465
|
-
isComputeIntentSet: item["isComputeIntentSet"],
|
|
2466
|
-
isStorageIntentSet: item["isStorageIntentSet"],
|
|
2467
|
-
isOnlyStorage: item["isOnlyStorage"],
|
|
2468
|
-
isManagementIntentSet: item["isManagementIntentSet"],
|
|
2469
|
-
isStretchIntentSet: item["isStretchIntentSet"],
|
|
2470
|
-
isOnlyStretch: item["isOnlyStretch"],
|
|
2471
|
-
isNetworkIntentType: item["isNetworkIntentType"],
|
|
2472
|
-
intentName: item["intentName"],
|
|
2473
|
-
intentAdapters: !item["intentAdapters"]
|
|
2474
|
-
? item["intentAdapters"]
|
|
2475
|
-
: item["intentAdapters"].map((p) => {
|
|
2476
|
-
return p;
|
|
2477
|
-
}),
|
|
2478
|
-
overrideVirtualSwitchConfiguration: item["overrideVirtualSwitchConfiguration"],
|
|
2479
|
-
virtualSwitchConfigurationOverrides: !item["virtualSwitchConfigurationOverrides"]
|
|
2480
|
-
? item["virtualSwitchConfigurationOverrides"]
|
|
2481
|
-
: hciEdgeDeviceVirtualSwitchConfigurationOverridesDeserializer(item["virtualSwitchConfigurationOverrides"]),
|
|
2482
|
-
overrideQosPolicy: item["overrideQosPolicy"],
|
|
2483
|
-
qosPolicyOverrides: !item["qosPolicyOverrides"]
|
|
2484
|
-
? item["qosPolicyOverrides"]
|
|
2485
|
-
: qosPolicyOverridesDeserializer(item["qosPolicyOverrides"]),
|
|
2486
|
-
overrideAdapterProperty: item["overrideAdapterProperty"],
|
|
2487
|
-
adapterPropertyOverrides: !item["adapterPropertyOverrides"]
|
|
2488
|
-
? item["adapterPropertyOverrides"]
|
|
2489
|
-
: hciEdgeDeviceAdapterPropertyOverridesDeserializer(item["adapterPropertyOverrides"]),
|
|
2490
|
-
};
|
|
2491
|
-
}
|
|
2492
|
-
export function hciEdgeDeviceVirtualSwitchConfigurationOverridesDeserializer(item) {
|
|
2493
|
-
return {
|
|
2494
|
-
enableIov: item["enableIov"],
|
|
2495
|
-
loadBalancingAlgorithm: item["loadBalancingAlgorithm"],
|
|
2496
|
-
};
|
|
2497
|
-
}
|
|
2498
|
-
export function hciEdgeDeviceAdapterPropertyOverridesDeserializer(item) {
|
|
2499
|
-
return {
|
|
2500
|
-
jumboPacket: item["jumboPacket"],
|
|
2501
|
-
networkDirect: item["networkDirect"],
|
|
2502
|
-
networkDirectTechnology: item["networkDirectTechnology"],
|
|
2503
|
-
};
|
|
2504
|
-
}
|
|
2505
|
-
export function hciEdgeDeviceStorageNetworksArrayDeserializer(result) {
|
|
2506
|
-
return result.map((item) => {
|
|
2507
|
-
return hciEdgeDeviceStorageNetworksDeserializer(item);
|
|
2508
|
-
});
|
|
2509
|
-
}
|
|
2510
|
-
export function hciEdgeDeviceStorageNetworksDeserializer(item) {
|
|
2511
|
-
return {
|
|
2512
|
-
name: item["name"],
|
|
2513
|
-
networkAdapterName: item["networkAdapterName"],
|
|
2514
|
-
storageVlanId: item["storageVlanId"],
|
|
2515
|
-
storageAdapterIPInfo: !item["storageAdapterIPInfo"]
|
|
2516
|
-
? item["storageAdapterIPInfo"]
|
|
2517
|
-
: hciEdgeDeviceStorageAdapterIPInfoArrayDeserializer(item["storageAdapterIPInfo"]),
|
|
2518
|
-
};
|
|
2519
|
-
}
|
|
2520
|
-
export function hciEdgeDeviceStorageAdapterIPInfoArrayDeserializer(result) {
|
|
2521
|
-
return result.map((item) => {
|
|
2522
|
-
return hciEdgeDeviceStorageAdapterIPInfoDeserializer(item);
|
|
2523
|
-
});
|
|
2524
|
-
}
|
|
2525
|
-
export function hciEdgeDeviceStorageAdapterIPInfoDeserializer(item) {
|
|
2526
|
-
return {
|
|
2527
|
-
physicalNode: item["physicalNode"],
|
|
2528
|
-
ipv4Address: item["ipv4Address"],
|
|
2529
|
-
subnetMask: item["subnetMask"],
|
|
2530
|
-
};
|
|
2531
|
-
}
|
|
2532
|
-
export function hciOsProfileDeserializer(item) {
|
|
2533
|
-
return {
|
|
2534
|
-
bootType: item["bootType"],
|
|
2535
|
-
assemblyVersion: item["assemblyVersion"],
|
|
2536
|
-
};
|
|
2537
|
-
}
|
|
2538
|
-
export function sbeDeploymentPackageInfoDeserializer(item) {
|
|
2539
|
-
return {
|
|
2540
|
-
code: item["code"],
|
|
2541
|
-
message: item["message"],
|
|
2542
|
-
sbeManifest: item["sbeManifest"],
|
|
2543
|
-
};
|
|
2544
|
-
}
|
|
2545
|
-
export function hciStorageProfileDeserializer(item) {
|
|
2546
|
-
return {
|
|
2547
|
-
poolableDisksCount: item["poolableDisksCount"],
|
|
2548
|
-
};
|
|
2549
|
-
}
|
|
2550
|
-
export function hciHardwareProfileDeserializer(item) {
|
|
2551
|
-
return {
|
|
2552
|
-
processorType: item["processorType"],
|
|
2553
|
-
};
|
|
2554
|
-
}
|
|
2555
|
-
export function reportedPropertiesDeserializer(item) {
|
|
2556
|
-
return {
|
|
2557
|
-
deviceState: item["deviceState"],
|
|
2558
|
-
extensionProfile: !item["extensionProfile"]
|
|
2559
|
-
? item["extensionProfile"]
|
|
2560
|
-
: extensionProfileDeserializer(item["extensionProfile"]),
|
|
2561
|
-
};
|
|
2562
|
-
}
|
|
2563
|
-
/** The edge device state. */
|
|
2564
|
-
export var KnownDeviceState;
|
|
2565
|
-
(function (KnownDeviceState) {
|
|
2566
|
-
/** The edge device state is not specified. */
|
|
2567
|
-
KnownDeviceState["NotSpecified"] = "NotSpecified";
|
|
2568
|
-
/** The edge device state is in connected state. */
|
|
2569
|
-
KnownDeviceState["Connected"] = "Connected";
|
|
2570
|
-
/** The edge device state is in disconnected state. */
|
|
2571
|
-
KnownDeviceState["Disconnected"] = "Disconnected";
|
|
2572
|
-
/** The edge device state is in repairing state. */
|
|
2573
|
-
KnownDeviceState["Repairing"] = "Repairing";
|
|
2574
|
-
/** The edge device state is in draining state. */
|
|
2575
|
-
KnownDeviceState["Draining"] = "Draining";
|
|
2576
|
-
/** The edge device state is in maintenance state. */
|
|
2577
|
-
KnownDeviceState["InMaintenance"] = "InMaintenance";
|
|
2578
|
-
/** The edge device state is in resuming state. */
|
|
2579
|
-
KnownDeviceState["Resuming"] = "Resuming";
|
|
2580
|
-
/** The edge device state is in processing state. */
|
|
2581
|
-
KnownDeviceState["Processing"] = "Processing";
|
|
2582
|
-
})(KnownDeviceState || (KnownDeviceState = {}));
|
|
2583
|
-
export function extensionProfileDeserializer(item) {
|
|
2584
|
-
return {
|
|
2585
|
-
extensions: !item["extensions"]
|
|
2586
|
-
? item["extensions"]
|
|
2587
|
-
: hciEdgeDeviceArcExtensionArrayDeserializer(item["extensions"]),
|
|
2588
|
-
};
|
|
2589
|
-
}
|
|
2590
|
-
export function hciEdgeDeviceArcExtensionArrayDeserializer(result) {
|
|
2591
|
-
return result.map((item) => {
|
|
2592
|
-
return hciEdgeDeviceArcExtensionDeserializer(item);
|
|
2593
|
-
});
|
|
2594
|
-
}
|
|
2595
|
-
export function hciEdgeDeviceArcExtensionDeserializer(item) {
|
|
2596
|
-
return {
|
|
2597
|
-
extensionName: item["extensionName"],
|
|
2598
|
-
state: item["state"],
|
|
2599
|
-
errorDetails: !item["errorDetails"]
|
|
2600
|
-
? item["errorDetails"]
|
|
2601
|
-
: hciValidationFailureDetailArrayDeserializer(item["errorDetails"]),
|
|
2602
|
-
extensionResourceId: item["extensionResourceId"],
|
|
2603
|
-
typeHandlerVersion: item["typeHandlerVersion"],
|
|
2604
|
-
managedBy: item["managedBy"],
|
|
2605
|
-
};
|
|
2606
|
-
}
|
|
2607
|
-
/** Arc extension installation state. */
|
|
2608
|
-
export var KnownArcExtensionState;
|
|
2609
|
-
(function (KnownArcExtensionState) {
|
|
2610
|
-
/** Arc extension state is not specified. */
|
|
2611
|
-
KnownArcExtensionState["NotSpecified"] = "NotSpecified";
|
|
2612
|
-
/** Arc extension state is Succeeded. */
|
|
2613
|
-
KnownArcExtensionState["Succeeded"] = "Succeeded";
|
|
2614
|
-
/** Arc extension state is Failed. */
|
|
2615
|
-
KnownArcExtensionState["Failed"] = "Failed";
|
|
2616
|
-
/** Arc extension state is Canceled. */
|
|
2617
|
-
KnownArcExtensionState["Canceled"] = "Canceled";
|
|
2618
|
-
/** Arc extension state is Accepted when extension installation triggered. */
|
|
2619
|
-
KnownArcExtensionState["Accepted"] = "Accepted";
|
|
2620
|
-
/** Arc extension is in Creating State. */
|
|
2621
|
-
KnownArcExtensionState["Creating"] = "Creating";
|
|
2622
|
-
/** Arc extension is in Updating State. */
|
|
2623
|
-
KnownArcExtensionState["Updating"] = "Updating";
|
|
2624
|
-
/** Arc extension is in Moving State. */
|
|
2625
|
-
KnownArcExtensionState["Moving"] = "Moving";
|
|
2626
|
-
/** Arc extension is in Deleting State. */
|
|
2627
|
-
KnownArcExtensionState["Deleting"] = "Deleting";
|
|
2628
|
-
/** Arc extension is in Deleted State. */
|
|
2629
|
-
KnownArcExtensionState["Deleted"] = "Deleted";
|
|
2630
|
-
})(KnownArcExtensionState || (KnownArcExtensionState = {}));
|
|
2631
|
-
export function hciValidationFailureDetailArrayDeserializer(result) {
|
|
2632
|
-
return result.map((item) => {
|
|
2633
|
-
return hciValidationFailureDetailDeserializer(item);
|
|
2634
|
-
});
|
|
2635
|
-
}
|
|
2636
|
-
export function hciValidationFailureDetailDeserializer(item) {
|
|
2637
|
-
return {
|
|
2638
|
-
exception: item["exception"],
|
|
2639
|
-
};
|
|
2640
|
-
}
|
|
2641
|
-
/** Indicates whether the extension is managed by the user or by Azure. */
|
|
2642
|
-
export var KnownExtensionManagedBy;
|
|
2643
|
-
(function (KnownExtensionManagedBy) {
|
|
2644
|
-
/** The extension is managed by the user. */
|
|
2645
|
-
KnownExtensionManagedBy["User"] = "User";
|
|
2646
|
-
/** The extension is managed by Azure. */
|
|
2647
|
-
KnownExtensionManagedBy["Azure"] = "Azure";
|
|
2648
|
-
})(KnownExtensionManagedBy || (KnownExtensionManagedBy = {}));
|
|
2649
|
-
export function edgeDevicePropertiesSerializer(item) {
|
|
2650
|
-
return {
|
|
2651
|
-
deviceConfiguration: !item["deviceConfiguration"]
|
|
2652
|
-
? item["deviceConfiguration"]
|
|
2653
|
-
: deviceConfigurationSerializer(item["deviceConfiguration"]),
|
|
2654
|
-
};
|
|
2655
|
-
}
|
|
2656
|
-
export function edgeDevicePropertiesDeserializer(item) {
|
|
2657
|
-
return {
|
|
2658
|
-
deviceConfiguration: !item["deviceConfiguration"]
|
|
2659
|
-
? item["deviceConfiguration"]
|
|
2660
|
-
: deviceConfigurationDeserializer(item["deviceConfiguration"]),
|
|
2661
|
-
provisioningState: item["provisioningState"],
|
|
2662
|
-
};
|
|
2663
|
-
}
|
|
2664
|
-
export function deviceConfigurationSerializer(item) {
|
|
2665
|
-
return {
|
|
2666
|
-
nicDetails: !item["nicDetails"]
|
|
2667
|
-
? item["nicDetails"]
|
|
2668
|
-
: nicDetailArraySerializer(item["nicDetails"]),
|
|
2669
|
-
deviceMetadata: item["deviceMetadata"],
|
|
2670
|
-
};
|
|
2671
|
-
}
|
|
2672
|
-
export function deviceConfigurationDeserializer(item) {
|
|
2673
|
-
return {
|
|
2674
|
-
nicDetails: !item["nicDetails"]
|
|
2675
|
-
? item["nicDetails"]
|
|
2676
|
-
: nicDetailArrayDeserializer(item["nicDetails"]),
|
|
2677
|
-
deviceMetadata: item["deviceMetadata"],
|
|
2678
|
-
};
|
|
2679
|
-
}
|
|
2680
|
-
export function nicDetailArraySerializer(result) {
|
|
2681
|
-
return result.map((item) => {
|
|
2682
|
-
return nicDetailSerializer(item);
|
|
2683
|
-
});
|
|
2684
|
-
}
|
|
2685
|
-
export function nicDetailArrayDeserializer(result) {
|
|
2686
|
-
return result.map((item) => {
|
|
2687
|
-
return nicDetailDeserializer(item);
|
|
2688
|
-
});
|
|
2689
|
-
}
|
|
2690
|
-
export function nicDetailSerializer(item) {
|
|
2691
|
-
return {
|
|
2692
|
-
adapterName: item["adapterName"],
|
|
2693
|
-
interfaceDescription: item["interfaceDescription"],
|
|
2694
|
-
componentId: item["componentId"],
|
|
2695
|
-
driverVersion: item["driverVersion"],
|
|
2696
|
-
ip4Address: item["ip4Address"],
|
|
2697
|
-
subnetMask: item["subnetMask"],
|
|
2698
|
-
defaultGateway: item["defaultGateway"],
|
|
2699
|
-
dnsServers: !item["dnsServers"]
|
|
2700
|
-
? item["dnsServers"]
|
|
2701
|
-
: item["dnsServers"].map((p) => {
|
|
2702
|
-
return p;
|
|
2703
|
-
}),
|
|
2704
|
-
defaultIsolationId: item["defaultIsolationId"],
|
|
2705
|
-
};
|
|
2706
|
-
}
|
|
2707
|
-
export function nicDetailDeserializer(item) {
|
|
2708
|
-
return {
|
|
2709
|
-
adapterName: item["adapterName"],
|
|
2710
|
-
interfaceDescription: item["interfaceDescription"],
|
|
2711
|
-
componentId: item["componentId"],
|
|
2712
|
-
driverVersion: item["driverVersion"],
|
|
2713
|
-
ip4Address: item["ip4Address"],
|
|
2714
|
-
subnetMask: item["subnetMask"],
|
|
2715
|
-
defaultGateway: item["defaultGateway"],
|
|
2716
|
-
dnsServers: !item["dnsServers"]
|
|
2717
|
-
? item["dnsServers"]
|
|
2718
|
-
: item["dnsServers"].map((p) => {
|
|
2719
|
-
return p;
|
|
2720
|
-
}),
|
|
2721
|
-
defaultIsolationId: item["defaultIsolationId"],
|
|
2722
|
-
};
|
|
2723
|
-
}
|
|
2724
|
-
export function _edgeDeviceListResultDeserializer(item) {
|
|
2725
|
-
return {
|
|
2726
|
-
value: edgeDeviceUnionArrayDeserializer(item["value"]),
|
|
2727
|
-
nextLink: item["nextLink"],
|
|
2728
|
-
};
|
|
2729
|
-
}
|
|
2730
|
-
export function edgeDeviceUnionArraySerializer(result) {
|
|
2731
|
-
return result.map((item) => {
|
|
2732
|
-
return edgeDeviceUnionSerializer(item);
|
|
2733
|
-
});
|
|
2734
|
-
}
|
|
2735
|
-
export function edgeDeviceUnionArrayDeserializer(result) {
|
|
2736
|
-
return result.map((item) => {
|
|
2737
|
-
return edgeDeviceUnionDeserializer(item);
|
|
2738
|
-
});
|
|
2739
|
-
}
|
|
2740
|
-
export function validateRequestSerializer(item) {
|
|
2741
|
-
return {
|
|
2742
|
-
edgeDeviceIds: item["edgeDeviceIds"].map((p) => {
|
|
2743
|
-
return p;
|
|
2744
|
-
}),
|
|
2745
|
-
additionalInfo: item["additionalInfo"],
|
|
2746
|
-
};
|
|
2747
|
-
}
|
|
2748
|
-
export function validateResponseDeserializer(item) {
|
|
2749
|
-
return {
|
|
2750
|
-
status: item["status"],
|
|
2751
|
-
};
|
|
2752
|
-
}
|
|
2753
|
-
export function extensionSerializer(item) {
|
|
2754
|
-
return {
|
|
2755
|
-
properties: areAllPropsUndefined(item, ["extensionParameters"])
|
|
2756
|
-
? undefined
|
|
2757
|
-
: _extensionPropertiesSerializer(item),
|
|
2758
|
-
};
|
|
2759
|
-
}
|
|
2760
|
-
export function extensionDeserializer(item) {
|
|
2761
|
-
return {
|
|
2762
|
-
id: item["id"],
|
|
2763
|
-
name: item["name"],
|
|
2764
|
-
type: item["type"],
|
|
2765
|
-
systemData: !item["systemData"]
|
|
2766
|
-
? item["systemData"]
|
|
2767
|
-
: systemDataDeserializer(item["systemData"]),
|
|
2768
|
-
...(!item["properties"]
|
|
2769
|
-
? item["properties"]
|
|
2770
|
-
: _extensionPropertiesDeserializer(item["properties"])),
|
|
2771
|
-
};
|
|
2772
|
-
}
|
|
2773
|
-
export function extensionPropertiesSerializer(item) {
|
|
2774
|
-
return {
|
|
2775
|
-
extensionParameters: areAllPropsUndefined(item, [
|
|
2776
|
-
"forceUpdateTag",
|
|
2777
|
-
"publisher",
|
|
2778
|
-
"type",
|
|
2779
|
-
"typeHandlerVersion",
|
|
2780
|
-
"autoUpgradeMinorVersion",
|
|
2781
|
-
"settings",
|
|
2782
|
-
"protectedSettings",
|
|
2783
|
-
"enableAutomaticUpgrade",
|
|
2784
|
-
])
|
|
2785
|
-
? undefined
|
|
2786
|
-
: _extensionPropertiesExtensionParametersSerializer(item),
|
|
2787
|
-
};
|
|
2788
|
-
}
|
|
2789
|
-
export function extensionPropertiesDeserializer(item) {
|
|
2790
|
-
return {
|
|
2791
|
-
provisioningState: item["provisioningState"],
|
|
2792
|
-
...(!item["extensionParameters"]
|
|
2793
|
-
? item["extensionParameters"]
|
|
2794
|
-
: _extensionPropertiesExtensionParametersDeserializer(item["extensionParameters"])),
|
|
2795
|
-
aggregateState: item["aggregateState"],
|
|
2796
|
-
perNodeExtensionDetails: !item["perNodeExtensionDetails"]
|
|
2797
|
-
? item["perNodeExtensionDetails"]
|
|
2798
|
-
: perNodeExtensionStateArrayDeserializer(item["perNodeExtensionDetails"]),
|
|
2799
|
-
managedBy: item["managedBy"],
|
|
2800
|
-
};
|
|
2801
|
-
}
|
|
2802
|
-
export function extensionParametersSerializer(item) {
|
|
2803
|
-
return {
|
|
2804
|
-
forceUpdateTag: item["forceUpdateTag"],
|
|
2805
|
-
publisher: item["publisher"],
|
|
2806
|
-
type: item["type"],
|
|
2807
|
-
typeHandlerVersion: item["typeHandlerVersion"],
|
|
2808
|
-
autoUpgradeMinorVersion: item["autoUpgradeMinorVersion"],
|
|
2809
|
-
settings: item["settings"],
|
|
2810
|
-
protectedSettings: item["protectedSettings"],
|
|
2811
|
-
enableAutomaticUpgrade: item["enableAutomaticUpgrade"],
|
|
2812
|
-
};
|
|
2813
|
-
}
|
|
2814
|
-
export function extensionParametersDeserializer(item) {
|
|
2815
|
-
return {
|
|
2816
|
-
forceUpdateTag: item["forceUpdateTag"],
|
|
2817
|
-
publisher: item["publisher"],
|
|
2818
|
-
type: item["type"],
|
|
2819
|
-
typeHandlerVersion: item["typeHandlerVersion"],
|
|
2820
|
-
autoUpgradeMinorVersion: item["autoUpgradeMinorVersion"],
|
|
2821
|
-
settings: item["settings"],
|
|
2822
|
-
protectedSettings: item["protectedSettings"],
|
|
2823
|
-
enableAutomaticUpgrade: item["enableAutomaticUpgrade"],
|
|
2824
|
-
};
|
|
2825
|
-
}
|
|
2826
|
-
/** Aggregate state of Arc Extensions across the nodes in this HCI cluster. This reflects the overall status of the extension deployment and operation across all nodes. */
|
|
2827
|
-
export var KnownExtensionAggregateState;
|
|
2828
|
-
(function (KnownExtensionAggregateState) {
|
|
2829
|
-
/** The aggregate state is not specified. */
|
|
2830
|
-
KnownExtensionAggregateState["NotSpecified"] = "NotSpecified";
|
|
2831
|
-
/** An error occurred in the aggregate state. */
|
|
2832
|
-
KnownExtensionAggregateState["Error"] = "Error";
|
|
2833
|
-
/** The operation succeeded across all nodes. */
|
|
2834
|
-
KnownExtensionAggregateState["Succeeded"] = "Succeeded";
|
|
2835
|
-
/** The operation was canceled across the nodes. */
|
|
2836
|
-
KnownExtensionAggregateState["Canceled"] = "Canceled";
|
|
2837
|
-
/** The operation failed on all or most nodes. */
|
|
2838
|
-
KnownExtensionAggregateState["Failed"] = "Failed";
|
|
2839
|
-
/** All nodes are connected. */
|
|
2840
|
-
KnownExtensionAggregateState["Connected"] = "Connected";
|
|
2841
|
-
/** All nodes are disconnected. */
|
|
2842
|
-
KnownExtensionAggregateState["Disconnected"] = "Disconnected";
|
|
2843
|
-
/** The extension has been deleted from all nodes. */
|
|
2844
|
-
KnownExtensionAggregateState["Deleted"] = "Deleted";
|
|
2845
|
-
/** The extension is being created across the nodes. */
|
|
2846
|
-
KnownExtensionAggregateState["Creating"] = "Creating";
|
|
2847
|
-
/** The extension is being updated across the nodes. */
|
|
2848
|
-
KnownExtensionAggregateState["Updating"] = "Updating";
|
|
2849
|
-
/** The extension is being deleted across the nodes. */
|
|
2850
|
-
KnownExtensionAggregateState["Deleting"] = "Deleting";
|
|
2851
|
-
/** The extension is being moved across the nodes. */
|
|
2852
|
-
KnownExtensionAggregateState["Moving"] = "Moving";
|
|
2853
|
-
/** The operation succeeded on some nodes. */
|
|
2854
|
-
KnownExtensionAggregateState["PartiallySucceeded"] = "PartiallySucceeded";
|
|
2855
|
-
/** Some nodes are connected, others are not. */
|
|
2856
|
-
KnownExtensionAggregateState["PartiallyConnected"] = "PartiallyConnected";
|
|
2857
|
-
/** The operation is currently in progress across the nodes. */
|
|
2858
|
-
KnownExtensionAggregateState["InProgress"] = "InProgress";
|
|
2859
|
-
/** The operation has been accepted and is pending execution. */
|
|
2860
|
-
KnownExtensionAggregateState["Accepted"] = "Accepted";
|
|
2861
|
-
/** The extension is currently being provisioned across the nodes. */
|
|
2862
|
-
KnownExtensionAggregateState["Provisioning"] = "Provisioning";
|
|
2863
|
-
/** Extension upgrade failed, but rollback succeeded across the nodes. */
|
|
2864
|
-
KnownExtensionAggregateState["UpgradeFailedRollbackSucceeded"] = "UpgradeFailedRollbackSucceeded";
|
|
2865
|
-
})(KnownExtensionAggregateState || (KnownExtensionAggregateState = {}));
|
|
2866
|
-
export function perNodeExtensionStateArrayDeserializer(result) {
|
|
2867
|
-
return result.map((item) => {
|
|
2868
|
-
return perNodeExtensionStateDeserializer(item);
|
|
2869
|
-
});
|
|
2870
|
-
}
|
|
2871
|
-
export function perNodeExtensionStateDeserializer(item) {
|
|
2872
|
-
return {
|
|
2873
|
-
name: item["name"],
|
|
2874
|
-
extension: item["extension"],
|
|
2875
|
-
typeHandlerVersion: item["typeHandlerVersion"],
|
|
2876
|
-
state: item["state"],
|
|
2877
|
-
instanceView: !item["instanceView"]
|
|
2878
|
-
? item["instanceView"]
|
|
2879
|
-
: extensionInstanceViewDeserializer(item["instanceView"]),
|
|
2880
|
-
};
|
|
2881
|
-
}
|
|
2882
|
-
/** State of Arc Extension in this node. Reflects the current lifecycle status of the extension on the individual node, such as whether it's being created, updated, deleted, or has encountered an error. */
|
|
2883
|
-
export var KnownNodeExtensionState;
|
|
2884
|
-
(function (KnownNodeExtensionState) {
|
|
2885
|
-
/** The state is not specified. */
|
|
2886
|
-
KnownNodeExtensionState["NotSpecified"] = "NotSpecified";
|
|
2887
|
-
/** An error occurred during the extension lifecycle. */
|
|
2888
|
-
KnownNodeExtensionState["Error"] = "Error";
|
|
2889
|
-
/** The extension operation completed successfully. */
|
|
2890
|
-
KnownNodeExtensionState["Succeeded"] = "Succeeded";
|
|
2891
|
-
/** The extension operation was canceled. */
|
|
2892
|
-
KnownNodeExtensionState["Canceled"] = "Canceled";
|
|
2893
|
-
/** The extension operation failed. */
|
|
2894
|
-
KnownNodeExtensionState["Failed"] = "Failed";
|
|
2895
|
-
/** The extension is connected on the node. */
|
|
2896
|
-
KnownNodeExtensionState["Connected"] = "Connected";
|
|
2897
|
-
/** The extension is disconnected on the node. */
|
|
2898
|
-
KnownNodeExtensionState["Disconnected"] = "Disconnected";
|
|
2899
|
-
/** The extension has been deleted from the node. */
|
|
2900
|
-
KnownNodeExtensionState["Deleted"] = "Deleted";
|
|
2901
|
-
/** The extension is being created on the node. */
|
|
2902
|
-
KnownNodeExtensionState["Creating"] = "Creating";
|
|
2903
|
-
/** The extension is being updated on the node. */
|
|
2904
|
-
KnownNodeExtensionState["Updating"] = "Updating";
|
|
2905
|
-
/** The extension is being deleted from the node. */
|
|
2906
|
-
KnownNodeExtensionState["Deleting"] = "Deleting";
|
|
2907
|
-
/** The extension is being moved on the node. */
|
|
2908
|
-
KnownNodeExtensionState["Moving"] = "Moving";
|
|
2909
|
-
/** The extension operation partially succeeded. */
|
|
2910
|
-
KnownNodeExtensionState["PartiallySucceeded"] = "PartiallySucceeded";
|
|
2911
|
-
/** The extension is partially connected on the node. */
|
|
2912
|
-
KnownNodeExtensionState["PartiallyConnected"] = "PartiallyConnected";
|
|
2913
|
-
/** The extension operation is currently in progress. */
|
|
2914
|
-
KnownNodeExtensionState["InProgress"] = "InProgress";
|
|
2915
|
-
/** The extension operation has been accepted and is pending execution. */
|
|
2916
|
-
KnownNodeExtensionState["Accepted"] = "Accepted";
|
|
2917
|
-
/** The extension is currently being provisioned on the node. */
|
|
2918
|
-
KnownNodeExtensionState["Provisioning"] = "Provisioning";
|
|
2919
|
-
})(KnownNodeExtensionState || (KnownNodeExtensionState = {}));
|
|
2920
|
-
export function extensionInstanceViewDeserializer(item) {
|
|
2921
|
-
return {
|
|
2922
|
-
name: item["name"],
|
|
2923
|
-
type: item["type"],
|
|
2924
|
-
typeHandlerVersion: item["typeHandlerVersion"],
|
|
2925
|
-
status: !item["status"]
|
|
2926
|
-
? item["status"]
|
|
2927
|
-
: extensionInstanceViewStatusDeserializer(item["status"]),
|
|
2928
|
-
};
|
|
2929
|
-
}
|
|
2930
|
-
export function extensionInstanceViewStatusDeserializer(item) {
|
|
2931
|
-
return {
|
|
2932
|
-
code: item["code"],
|
|
2933
|
-
level: item["level"],
|
|
2934
|
-
displayStatus: item["displayStatus"],
|
|
2935
|
-
message: item["message"],
|
|
2936
|
-
time: !item["time"] ? item["time"] : new Date(item["time"]),
|
|
2937
|
-
};
|
|
2938
|
-
}
|
|
2939
|
-
/** The level code. Indicates the severity or importance of the status message. */
|
|
2940
|
-
export var KnownStatusLevelTypes;
|
|
2941
|
-
(function (KnownStatusLevelTypes) {
|
|
2942
|
-
/** Informational message indicating normal operation. */
|
|
2943
|
-
KnownStatusLevelTypes["Info"] = "Info";
|
|
2944
|
-
/** Warning message indicating a potential issue or non-critical problem. */
|
|
2945
|
-
KnownStatusLevelTypes["Warning"] = "Warning";
|
|
2946
|
-
/** Error message indicating a failure or critical issue. */
|
|
2947
|
-
KnownStatusLevelTypes["Error"] = "Error";
|
|
2948
|
-
})(KnownStatusLevelTypes || (KnownStatusLevelTypes = {}));
|
|
2949
|
-
export function extensionPatchSerializer(item) {
|
|
2950
|
-
return {
|
|
2951
|
-
properties: areAllPropsUndefined(item, ["extensionParameters"])
|
|
2952
|
-
? undefined
|
|
2953
|
-
: _extensionPatchPropertiesSerializer(item),
|
|
2954
|
-
};
|
|
2955
|
-
}
|
|
2956
|
-
export function extensionPatchPropertiesSerializer(item) {
|
|
2957
|
-
return {
|
|
2958
|
-
extensionParameters: !item["extensionParameters"]
|
|
2959
|
-
? item["extensionParameters"]
|
|
2960
|
-
: extensionPatchParametersSerializer(item["extensionParameters"]),
|
|
2961
|
-
};
|
|
2962
|
-
}
|
|
2963
|
-
export function extensionPatchParametersSerializer(item) {
|
|
2964
|
-
return {
|
|
2965
|
-
typeHandlerVersion: item["typeHandlerVersion"],
|
|
2966
|
-
enableAutomaticUpgrade: item["enableAutomaticUpgrade"],
|
|
2967
|
-
settings: item["settings"],
|
|
2968
|
-
protectedSettings: item["protectedSettings"],
|
|
2969
|
-
};
|
|
2970
|
-
}
|
|
2971
|
-
export function _extensionListDeserializer(item) {
|
|
2972
|
-
return {
|
|
2973
|
-
value: extensionArrayDeserializer(item["value"]),
|
|
2974
|
-
nextLink: item["nextLink"],
|
|
2975
|
-
};
|
|
2976
|
-
}
|
|
2977
|
-
export function extensionArraySerializer(result) {
|
|
2978
|
-
return result.map((item) => {
|
|
2979
|
-
return extensionSerializer(item);
|
|
2980
|
-
});
|
|
2981
|
-
}
|
|
2982
|
-
export function extensionArrayDeserializer(result) {
|
|
2983
|
-
return result.map((item) => {
|
|
2984
|
-
return extensionDeserializer(item);
|
|
2985
|
-
});
|
|
2986
|
-
}
|
|
2987
|
-
export function extensionUpgradeParametersSerializer(item) {
|
|
2988
|
-
return { targetVersion: item["targetVersion"] };
|
|
2989
|
-
}
|
|
2990
|
-
export function securitySettingSerializer(item) {
|
|
2991
|
-
return {
|
|
2992
|
-
properties: areAllPropsUndefined(item, [
|
|
2993
|
-
"securedCoreComplianceAssignment",
|
|
2994
|
-
"wdacComplianceAssignment",
|
|
2995
|
-
"smbEncryptionForIntraClusterTrafficComplianceAssignment",
|
|
2996
|
-
])
|
|
2997
|
-
? undefined
|
|
2998
|
-
: _securitySettingPropertiesSerializer(item),
|
|
2999
|
-
};
|
|
3000
|
-
}
|
|
3001
|
-
export function securitySettingDeserializer(item) {
|
|
3002
|
-
return {
|
|
3003
|
-
id: item["id"],
|
|
3004
|
-
name: item["name"],
|
|
3005
|
-
type: item["type"],
|
|
3006
|
-
systemData: !item["systemData"]
|
|
3007
|
-
? item["systemData"]
|
|
3008
|
-
: systemDataDeserializer(item["systemData"]),
|
|
3009
|
-
...(!item["properties"]
|
|
3010
|
-
? item["properties"]
|
|
3011
|
-
: _securitySettingPropertiesDeserializer(item["properties"])),
|
|
3012
|
-
};
|
|
3013
|
-
}
|
|
3014
|
-
export function securityPropertiesSerializer(item) {
|
|
3015
|
-
return {
|
|
3016
|
-
securedCoreComplianceAssignment: item["securedCoreComplianceAssignment"],
|
|
3017
|
-
wdacComplianceAssignment: item["wdacComplianceAssignment"],
|
|
3018
|
-
smbEncryptionForIntraClusterTrafficComplianceAssignment: item["smbEncryptionForIntraClusterTrafficComplianceAssignment"],
|
|
3019
|
-
};
|
|
3020
|
-
}
|
|
3021
|
-
export function securityPropertiesDeserializer(item) {
|
|
3022
|
-
return {
|
|
3023
|
-
securedCoreComplianceAssignment: item["securedCoreComplianceAssignment"],
|
|
3024
|
-
wdacComplianceAssignment: item["wdacComplianceAssignment"],
|
|
3025
|
-
smbEncryptionForIntraClusterTrafficComplianceAssignment: item["smbEncryptionForIntraClusterTrafficComplianceAssignment"],
|
|
3026
|
-
securityComplianceStatus: !item["securityComplianceStatus"]
|
|
3027
|
-
? item["securityComplianceStatus"]
|
|
3028
|
-
: securityComplianceStatusDeserializer(item["securityComplianceStatus"]),
|
|
3029
|
-
provisioningState: item["provisioningState"],
|
|
3030
|
-
};
|
|
3031
|
-
}
|
|
3032
|
-
/** Represents the compliance assignment type of a resource. */
|
|
3033
|
-
export var KnownComplianceAssignmentType;
|
|
3034
|
-
(function (KnownComplianceAssignmentType) {
|
|
3035
|
-
/** Report on the state of the machine, but don't make changes. */
|
|
3036
|
-
KnownComplianceAssignmentType["Audit"] = "Audit";
|
|
3037
|
-
/** Applied to the machine. If it drifts, the local service inside the machine makes a correction at the next evaluation. */
|
|
3038
|
-
KnownComplianceAssignmentType["ApplyAndAutoCorrect"] = "ApplyAndAutoCorrect";
|
|
3039
|
-
})(KnownComplianceAssignmentType || (KnownComplianceAssignmentType = {}));
|
|
3040
|
-
export function securityComplianceStatusDeserializer(item) {
|
|
3041
|
-
return {
|
|
3042
|
-
securedCoreCompliance: item["securedCoreCompliance"],
|
|
3043
|
-
wdacCompliance: item["wdacCompliance"],
|
|
3044
|
-
dataAtRestEncrypted: item["dataAtRestEncrypted"],
|
|
3045
|
-
dataInTransitProtected: item["dataInTransitProtected"],
|
|
3046
|
-
lastUpdated: !item["lastUpdated"] ? item["lastUpdated"] : new Date(item["lastUpdated"]),
|
|
3047
|
-
};
|
|
3048
|
-
}
|
|
3049
|
-
/** Represents the compliance status of a resource. */
|
|
3050
|
-
export var KnownComplianceStatus;
|
|
3051
|
-
(function (KnownComplianceStatus) {
|
|
3052
|
-
/** The resource is compliant */
|
|
3053
|
-
KnownComplianceStatus["Compliant"] = "Compliant";
|
|
3054
|
-
/** The resource is non-compliant */
|
|
3055
|
-
KnownComplianceStatus["NonCompliant"] = "NonCompliant";
|
|
3056
|
-
/** The resource compliance status is pending */
|
|
3057
|
-
KnownComplianceStatus["Pending"] = "Pending";
|
|
3058
|
-
})(KnownComplianceStatus || (KnownComplianceStatus = {}));
|
|
3059
|
-
export function _securitySettingListResultDeserializer(item) {
|
|
3060
|
-
return {
|
|
3061
|
-
value: securitySettingArrayDeserializer(item["value"]),
|
|
3062
|
-
nextLink: item["nextLink"],
|
|
3063
|
-
};
|
|
3064
|
-
}
|
|
3065
|
-
export function securitySettingArraySerializer(result) {
|
|
3066
|
-
return result.map((item) => {
|
|
3067
|
-
return securitySettingSerializer(item);
|
|
3068
|
-
});
|
|
3069
|
-
}
|
|
3070
|
-
export function securitySettingArrayDeserializer(result) {
|
|
3071
|
-
return result.map((item) => {
|
|
3072
|
-
return securitySettingDeserializer(item);
|
|
3073
|
-
});
|
|
3074
|
-
}
|
|
3075
|
-
export function skuDeserializer(item) {
|
|
3076
|
-
return {
|
|
3077
|
-
id: item["id"],
|
|
3078
|
-
name: item["name"],
|
|
3079
|
-
type: item["type"],
|
|
3080
|
-
systemData: !item["systemData"]
|
|
3081
|
-
? item["systemData"]
|
|
3082
|
-
: systemDataDeserializer(item["systemData"]),
|
|
3083
|
-
...(!item["properties"] ? item["properties"] : _skuPropertiesDeserializer(item["properties"])),
|
|
3084
|
-
};
|
|
3085
|
-
}
|
|
3086
|
-
export function skuPropertiesDeserializer(item) {
|
|
3087
|
-
return {
|
|
3088
|
-
provisioningState: item["provisioningState"],
|
|
3089
|
-
publisherId: item["publisherId"],
|
|
3090
|
-
offerId: item["offerId"],
|
|
3091
|
-
content: item["content"],
|
|
3092
|
-
contentVersion: item["contentVersion"],
|
|
3093
|
-
skuMappings: !item["skuMappings"]
|
|
3094
|
-
? item["skuMappings"]
|
|
3095
|
-
: skuMappingsArrayDeserializer(item["skuMappings"]),
|
|
3096
|
-
};
|
|
3097
|
-
}
|
|
3098
|
-
export function _skuListDeserializer(item) {
|
|
3099
|
-
return {
|
|
3100
|
-
value: skuArrayDeserializer(item["value"]),
|
|
3101
|
-
nextLink: item["nextLink"],
|
|
3102
|
-
};
|
|
3103
|
-
}
|
|
3104
|
-
export function skuArrayDeserializer(result) {
|
|
3105
|
-
return result.map((item) => {
|
|
3106
|
-
return skuDeserializer(item);
|
|
3107
|
-
});
|
|
3108
|
-
}
|
|
3109
|
-
export function updateRunSerializer(item) {
|
|
3110
|
-
return {
|
|
3111
|
-
properties: areAllPropsUndefined(item, [
|
|
3112
|
-
"timeStarted",
|
|
3113
|
-
"lastUpdatedTime",
|
|
3114
|
-
"duration",
|
|
3115
|
-
"state",
|
|
3116
|
-
"progress",
|
|
3117
|
-
])
|
|
3118
|
-
? undefined
|
|
3119
|
-
: _updateRunPropertiesSerializer(item),
|
|
3120
|
-
location: item["location"],
|
|
3121
|
-
};
|
|
3122
|
-
}
|
|
3123
|
-
export function updateRunDeserializer(item) {
|
|
3124
|
-
return {
|
|
3125
|
-
id: item["id"],
|
|
3126
|
-
name: item["name"],
|
|
3127
|
-
type: item["type"],
|
|
3128
|
-
systemData: !item["systemData"]
|
|
3129
|
-
? item["systemData"]
|
|
3130
|
-
: systemDataDeserializer(item["systemData"]),
|
|
3131
|
-
...(!item["properties"]
|
|
3132
|
-
? item["properties"]
|
|
3133
|
-
: _updateRunPropertiesDeserializer(item["properties"])),
|
|
3134
|
-
location: item["location"],
|
|
3135
|
-
};
|
|
3136
|
-
}
|
|
3137
|
-
export function updateRunPropertiesSerializer(item) {
|
|
3138
|
-
return {
|
|
3139
|
-
timeStarted: !item["timeStarted"] ? item["timeStarted"] : item["timeStarted"].toISOString(),
|
|
3140
|
-
lastUpdatedTime: !item["lastUpdatedTime"]
|
|
3141
|
-
? item["lastUpdatedTime"]
|
|
3142
|
-
: item["lastUpdatedTime"].toISOString(),
|
|
3143
|
-
duration: item["duration"],
|
|
3144
|
-
state: item["state"],
|
|
3145
|
-
progress: areAllPropsUndefined(item, [
|
|
3146
|
-
"name",
|
|
3147
|
-
"description",
|
|
3148
|
-
"errorMessage",
|
|
3149
|
-
"status",
|
|
3150
|
-
"startTimeUtc",
|
|
3151
|
-
"endTimeUtc",
|
|
3152
|
-
"lastUpdatedTimeUtc",
|
|
3153
|
-
"expectedExecutionTime",
|
|
3154
|
-
"steps",
|
|
3155
|
-
])
|
|
3156
|
-
? undefined
|
|
3157
|
-
: _updateRunPropertiesProgressSerializer(item),
|
|
3158
|
-
};
|
|
3159
|
-
}
|
|
3160
|
-
export function updateRunPropertiesDeserializer(item) {
|
|
3161
|
-
return {
|
|
3162
|
-
provisioningState: item["provisioningState"],
|
|
3163
|
-
timeStarted: !item["timeStarted"] ? item["timeStarted"] : new Date(item["timeStarted"]),
|
|
3164
|
-
lastUpdatedTime: !item["lastUpdatedTime"]
|
|
3165
|
-
? item["lastUpdatedTime"]
|
|
3166
|
-
: new Date(item["lastUpdatedTime"]),
|
|
3167
|
-
duration: item["duration"],
|
|
3168
|
-
state: item["state"],
|
|
3169
|
-
...(!item["progress"]
|
|
3170
|
-
? item["progress"]
|
|
3171
|
-
: _updateRunPropertiesProgressDeserializer(item["progress"])),
|
|
3172
|
-
};
|
|
3173
|
-
}
|
|
3174
|
-
/** Represents the current state of the update run. Indicates whether the update is in progress, has completed successfully, failed, or is in an unknown state. */
|
|
3175
|
-
export var KnownUpdateRunPropertiesState;
|
|
3176
|
-
(function (KnownUpdateRunPropertiesState) {
|
|
3177
|
-
/** The state of the update run is not known. */
|
|
3178
|
-
KnownUpdateRunPropertiesState["Unknown"] = "Unknown";
|
|
3179
|
-
/** The update run completed successfully. */
|
|
3180
|
-
KnownUpdateRunPropertiesState["Succeeded"] = "Succeeded";
|
|
3181
|
-
/** The update run is currently in progress. */
|
|
3182
|
-
KnownUpdateRunPropertiesState["InProgress"] = "InProgress";
|
|
3183
|
-
/** The update run failed to complete successfully. */
|
|
3184
|
-
KnownUpdateRunPropertiesState["Failed"] = "Failed";
|
|
3185
|
-
})(KnownUpdateRunPropertiesState || (KnownUpdateRunPropertiesState = {}));
|
|
3186
|
-
export function stepSerializer(item) {
|
|
3187
|
-
return {
|
|
3188
|
-
name: item["name"],
|
|
3189
|
-
description: item["description"],
|
|
3190
|
-
errorMessage: item["errorMessage"],
|
|
3191
|
-
status: item["status"],
|
|
3192
|
-
startTimeUtc: !item["startTimeUtc"] ? item["startTimeUtc"] : item["startTimeUtc"].toISOString(),
|
|
3193
|
-
endTimeUtc: !item["endTimeUtc"] ? item["endTimeUtc"] : item["endTimeUtc"].toISOString(),
|
|
3194
|
-
lastUpdatedTimeUtc: !item["lastUpdatedTimeUtc"]
|
|
3195
|
-
? item["lastUpdatedTimeUtc"]
|
|
3196
|
-
: item["lastUpdatedTimeUtc"].toISOString(),
|
|
3197
|
-
expectedExecutionTime: item["expectedExecutionTime"],
|
|
3198
|
-
steps: !item["steps"] ? item["steps"] : stepArraySerializer(item["steps"]),
|
|
3199
|
-
};
|
|
3200
|
-
}
|
|
3201
|
-
export function stepDeserializer(item) {
|
|
3202
|
-
return {
|
|
3203
|
-
name: item["name"],
|
|
3204
|
-
description: item["description"],
|
|
3205
|
-
errorMessage: item["errorMessage"],
|
|
3206
|
-
status: item["status"],
|
|
3207
|
-
startTimeUtc: !item["startTimeUtc"] ? item["startTimeUtc"] : new Date(item["startTimeUtc"]),
|
|
3208
|
-
endTimeUtc: !item["endTimeUtc"] ? item["endTimeUtc"] : new Date(item["endTimeUtc"]),
|
|
3209
|
-
lastUpdatedTimeUtc: !item["lastUpdatedTimeUtc"]
|
|
3210
|
-
? item["lastUpdatedTimeUtc"]
|
|
3211
|
-
: new Date(item["lastUpdatedTimeUtc"]),
|
|
3212
|
-
expectedExecutionTime: item["expectedExecutionTime"],
|
|
3213
|
-
steps: !item["steps"] ? item["steps"] : stepArrayDeserializer(item["steps"]),
|
|
3214
|
-
};
|
|
3215
|
-
}
|
|
3216
|
-
export function stepArraySerializer(result) {
|
|
3217
|
-
return result.map((item) => {
|
|
3218
|
-
return stepSerializer(item);
|
|
3219
|
-
});
|
|
3220
|
-
}
|
|
3221
|
-
export function stepArrayDeserializer(result) {
|
|
3222
|
-
return result.map((item) => {
|
|
3223
|
-
return stepDeserializer(item);
|
|
3224
|
-
});
|
|
3225
|
-
}
|
|
3226
|
-
export function _updateRunListDeserializer(item) {
|
|
3227
|
-
return {
|
|
3228
|
-
value: updateRunArrayDeserializer(item["value"]),
|
|
3229
|
-
nextLink: item["nextLink"],
|
|
3230
|
-
};
|
|
3231
|
-
}
|
|
3232
|
-
export function updateRunArraySerializer(result) {
|
|
3233
|
-
return result.map((item) => {
|
|
3234
|
-
return updateRunSerializer(item);
|
|
3235
|
-
});
|
|
3236
|
-
}
|
|
3237
|
-
export function updateRunArrayDeserializer(result) {
|
|
3238
|
-
return result.map((item) => {
|
|
3239
|
-
return updateRunDeserializer(item);
|
|
3240
|
-
});
|
|
3241
|
-
}
|
|
3242
|
-
export function updateSerializer(item) {
|
|
3243
|
-
return {
|
|
3244
|
-
properties: areAllPropsUndefined(item, [
|
|
3245
|
-
"installedDate",
|
|
3246
|
-
"description",
|
|
3247
|
-
"minSbeVersionRequired",
|
|
3248
|
-
"state",
|
|
3249
|
-
"prerequisites",
|
|
3250
|
-
"componentVersions",
|
|
3251
|
-
"rebootRequired",
|
|
3252
|
-
"healthState",
|
|
3253
|
-
"healthCheckResult",
|
|
3254
|
-
"healthCheckDate",
|
|
3255
|
-
"packagePath",
|
|
3256
|
-
"packageSizeInMb",
|
|
3257
|
-
"displayName",
|
|
3258
|
-
"version",
|
|
3259
|
-
"publisher",
|
|
3260
|
-
"releaseLink",
|
|
3261
|
-
"availabilityType",
|
|
3262
|
-
"packageType",
|
|
3263
|
-
"additionalProperties",
|
|
3264
|
-
"updateStateProperties",
|
|
3265
|
-
])
|
|
3266
|
-
? undefined
|
|
3267
|
-
: _updatePropertiesSerializer(item),
|
|
3268
|
-
location: item["location"],
|
|
3269
|
-
};
|
|
3270
|
-
}
|
|
3271
|
-
export function updateDeserializer(item) {
|
|
3272
|
-
return {
|
|
3273
|
-
id: item["id"],
|
|
3274
|
-
name: item["name"],
|
|
3275
|
-
type: item["type"],
|
|
3276
|
-
systemData: !item["systemData"]
|
|
3277
|
-
? item["systemData"]
|
|
3278
|
-
: systemDataDeserializer(item["systemData"]),
|
|
3279
|
-
...(!item["properties"]
|
|
3280
|
-
? item["properties"]
|
|
3281
|
-
: _updatePropertiesDeserializer(item["properties"])),
|
|
3282
|
-
location: item["location"],
|
|
3283
|
-
};
|
|
3284
|
-
}
|
|
3285
|
-
export function updatePropertiesSerializer(item) {
|
|
3286
|
-
return {
|
|
3287
|
-
installedDate: !item["installedDate"]
|
|
3288
|
-
? item["installedDate"]
|
|
3289
|
-
: item["installedDate"].toISOString(),
|
|
3290
|
-
description: item["description"],
|
|
3291
|
-
minSbeVersionRequired: item["minSbeVersionRequired"],
|
|
3292
|
-
state: item["state"],
|
|
3293
|
-
prerequisites: !item["prerequisites"]
|
|
3294
|
-
? item["prerequisites"]
|
|
3295
|
-
: updatePrerequisiteArraySerializer(item["prerequisites"]),
|
|
3296
|
-
componentVersions: !item["componentVersions"]
|
|
3297
|
-
? item["componentVersions"]
|
|
3298
|
-
: packageVersionInfoArraySerializer(item["componentVersions"]),
|
|
3299
|
-
rebootRequired: item["rebootRequired"],
|
|
3300
|
-
healthState: item["healthState"],
|
|
3301
|
-
healthCheckResult: !item["healthCheckResult"]
|
|
3302
|
-
? item["healthCheckResult"]
|
|
3303
|
-
: precheckResultArraySerializer(item["healthCheckResult"]),
|
|
3304
|
-
healthCheckDate: !item["healthCheckDate"]
|
|
3305
|
-
? item["healthCheckDate"]
|
|
3306
|
-
: item["healthCheckDate"].toISOString(),
|
|
3307
|
-
packagePath: item["packagePath"],
|
|
3308
|
-
packageSizeInMb: item["packageSizeInMb"],
|
|
3309
|
-
displayName: item["displayName"],
|
|
3310
|
-
version: item["version"],
|
|
3311
|
-
publisher: item["publisher"],
|
|
3312
|
-
releaseLink: item["releaseLink"],
|
|
3313
|
-
availabilityType: item["availabilityType"],
|
|
3314
|
-
packageType: item["packageType"],
|
|
3315
|
-
additionalProperties: item["additionalProperties"],
|
|
3316
|
-
updateStateProperties: areAllPropsUndefined(item, ["progressPercentage", "notifyMessage"])
|
|
3317
|
-
? undefined
|
|
3318
|
-
: _updatePropertiesUpdateStatePropertiesSerializer(item),
|
|
3319
|
-
};
|
|
3320
|
-
}
|
|
3321
|
-
export function updatePropertiesDeserializer(item) {
|
|
3322
|
-
return {
|
|
3323
|
-
provisioningState: item["provisioningState"],
|
|
3324
|
-
installedDate: !item["installedDate"] ? item["installedDate"] : new Date(item["installedDate"]),
|
|
3325
|
-
description: item["description"],
|
|
3326
|
-
minSbeVersionRequired: item["minSbeVersionRequired"],
|
|
3327
|
-
state: item["state"],
|
|
3328
|
-
prerequisites: !item["prerequisites"]
|
|
3329
|
-
? item["prerequisites"]
|
|
3330
|
-
: updatePrerequisiteArrayDeserializer(item["prerequisites"]),
|
|
3331
|
-
componentVersions: !item["componentVersions"]
|
|
3332
|
-
? item["componentVersions"]
|
|
3333
|
-
: packageVersionInfoArrayDeserializer(item["componentVersions"]),
|
|
3334
|
-
rebootRequired: item["rebootRequired"],
|
|
3335
|
-
healthState: item["healthState"],
|
|
3336
|
-
healthCheckResult: !item["healthCheckResult"]
|
|
3337
|
-
? item["healthCheckResult"]
|
|
3338
|
-
: precheckResultArrayDeserializer(item["healthCheckResult"]),
|
|
3339
|
-
healthCheckDate: !item["healthCheckDate"]
|
|
3340
|
-
? item["healthCheckDate"]
|
|
3341
|
-
: new Date(item["healthCheckDate"]),
|
|
3342
|
-
packagePath: item["packagePath"],
|
|
3343
|
-
packageSizeInMb: item["packageSizeInMb"],
|
|
3344
|
-
displayName: item["displayName"],
|
|
3345
|
-
version: item["version"],
|
|
3346
|
-
publisher: item["publisher"],
|
|
3347
|
-
releaseLink: item["releaseLink"],
|
|
3348
|
-
availabilityType: item["availabilityType"],
|
|
3349
|
-
packageType: item["packageType"],
|
|
3350
|
-
additionalProperties: item["additionalProperties"],
|
|
3351
|
-
...(!item["updateStateProperties"]
|
|
3352
|
-
? item["updateStateProperties"]
|
|
3353
|
-
: _updatePropertiesUpdateStatePropertiesDeserializer(item["updateStateProperties"])),
|
|
3354
|
-
};
|
|
3355
|
-
}
|
|
3356
|
-
/** Represents the current state of the update as it relates to this stamp. This includes phases such as preparation, installation, scanning, and error handling, providing insight into the update's progress and any issues encountered. */
|
|
3357
|
-
export var KnownState;
|
|
3358
|
-
(function (KnownState) {
|
|
3359
|
-
/** The update has prerequisites that must be fulfilled before it can proceed. */
|
|
3360
|
-
KnownState["HasPrerequisite"] = "HasPrerequisite";
|
|
3361
|
-
/** The update is obsolete and no longer applicable. */
|
|
3362
|
-
KnownState["Obsolete"] = "Obsolete";
|
|
3363
|
-
/** The update is ready to be installed. */
|
|
3364
|
-
KnownState["Ready"] = "Ready";
|
|
3365
|
-
/** The update cannot be applied because another update is currently in progress. */
|
|
3366
|
-
KnownState["NotApplicableBecauseAnotherUpdateIsInProgress"] = "NotApplicableBecauseAnotherUpdateIsInProgress";
|
|
3367
|
-
/** The update is currently in the preparation phase. */
|
|
3368
|
-
KnownState["Preparing"] = "Preparing";
|
|
3369
|
-
/** The update is currently being installed. */
|
|
3370
|
-
KnownState["Installing"] = "Installing";
|
|
3371
|
-
/** The update has been successfully installed. */
|
|
3372
|
-
KnownState["Installed"] = "Installed";
|
|
3373
|
-
/** The update preparation phase failed. */
|
|
3374
|
-
KnownState["PreparationFailed"] = "PreparationFailed";
|
|
3375
|
-
/** The update installation failed. */
|
|
3376
|
-
KnownState["InstallationFailed"] = "InstallationFailed";
|
|
3377
|
-
/** The update is invalid and cannot be applied. */
|
|
3378
|
-
KnownState["Invalid"] = "Invalid";
|
|
3379
|
-
/** The update has been recalled and should not be applied. */
|
|
3380
|
-
KnownState["Recalled"] = "Recalled";
|
|
3381
|
-
/** The update is currently being downloaded. */
|
|
3382
|
-
KnownState["Downloading"] = "Downloading";
|
|
3383
|
-
/** The update download failed. */
|
|
3384
|
-
KnownState["DownloadFailed"] = "DownloadFailed";
|
|
3385
|
-
/** A health check is being performed before applying the update. */
|
|
3386
|
-
KnownState["HealthChecking"] = "HealthChecking";
|
|
3387
|
-
/** The health check failed, preventing the update from proceeding. */
|
|
3388
|
-
KnownState["HealthCheckFailed"] = "HealthCheckFailed";
|
|
3389
|
-
/** The update is ready to be installed after successful preparation and checks. */
|
|
3390
|
-
KnownState["ReadyToInstall"] = "ReadyToInstall";
|
|
3391
|
-
/** The system is scanning for updates. */
|
|
3392
|
-
KnownState["ScanInProgress"] = "ScanInProgress";
|
|
3393
|
-
/** The scan for updates failed. */
|
|
3394
|
-
KnownState["ScanFailed"] = "ScanFailed";
|
|
3395
|
-
/** Additional content is required to proceed with the update. */
|
|
3396
|
-
KnownState["AdditionalContentRequired"] = "AdditionalContentRequired";
|
|
3397
|
-
})(KnownState || (KnownState = {}));
|
|
3398
|
-
export function updatePrerequisiteArraySerializer(result) {
|
|
3399
|
-
return result.map((item) => {
|
|
3400
|
-
return updatePrerequisiteSerializer(item);
|
|
3401
|
-
});
|
|
3402
|
-
}
|
|
3403
|
-
export function updatePrerequisiteArrayDeserializer(result) {
|
|
3404
|
-
return result.map((item) => {
|
|
3405
|
-
return updatePrerequisiteDeserializer(item);
|
|
3406
|
-
});
|
|
3407
|
-
}
|
|
3408
|
-
export function updatePrerequisiteSerializer(item) {
|
|
3409
|
-
return {
|
|
3410
|
-
updateType: item["updateType"],
|
|
3411
|
-
version: item["version"],
|
|
3412
|
-
packageName: item["packageName"],
|
|
3413
|
-
};
|
|
3414
|
-
}
|
|
3415
|
-
export function updatePrerequisiteDeserializer(item) {
|
|
3416
|
-
return {
|
|
3417
|
-
updateType: item["updateType"],
|
|
3418
|
-
version: item["version"],
|
|
3419
|
-
packageName: item["packageName"],
|
|
3420
|
-
};
|
|
3421
|
-
}
|
|
3422
|
-
export function packageVersionInfoArraySerializer(result) {
|
|
3423
|
-
return result.map((item) => {
|
|
3424
|
-
return packageVersionInfoSerializer(item);
|
|
3425
|
-
});
|
|
3426
|
-
}
|
|
3427
|
-
export function packageVersionInfoArrayDeserializer(result) {
|
|
3428
|
-
return result.map((item) => {
|
|
3429
|
-
return packageVersionInfoDeserializer(item);
|
|
3430
|
-
});
|
|
3431
|
-
}
|
|
3432
|
-
export function packageVersionInfoSerializer(item) {
|
|
3433
|
-
return {
|
|
3434
|
-
packageType: item["packageType"],
|
|
3435
|
-
version: item["version"],
|
|
3436
|
-
lastUpdated: !item["lastUpdated"] ? item["lastUpdated"] : item["lastUpdated"].toISOString(),
|
|
3437
|
-
};
|
|
3438
|
-
}
|
|
3439
|
-
export function packageVersionInfoDeserializer(item) {
|
|
3440
|
-
return {
|
|
3441
|
-
packageType: item["packageType"],
|
|
3442
|
-
version: item["version"],
|
|
3443
|
-
lastUpdated: !item["lastUpdated"] ? item["lastUpdated"] : new Date(item["lastUpdated"]),
|
|
3444
|
-
};
|
|
3445
|
-
}
|
|
3446
|
-
/** Indicates whether a reboot is required after the update or operation. Helps determine if a system restart is necessary to complete the process. */
|
|
3447
|
-
export var KnownRebootRequirement;
|
|
3448
|
-
(function (KnownRebootRequirement) {
|
|
3449
|
-
/** It is not known whether a reboot is required. */
|
|
3450
|
-
KnownRebootRequirement["Unknown"] = "Unknown";
|
|
3451
|
-
/** A reboot is required to complete the operation. */
|
|
3452
|
-
KnownRebootRequirement["True"] = "True";
|
|
3453
|
-
/** No reboot is required after the operation. */
|
|
3454
|
-
KnownRebootRequirement["False"] = "False";
|
|
3455
|
-
})(KnownRebootRequirement || (KnownRebootRequirement = {}));
|
|
3456
|
-
/** Overall health state for update-specific health checks. Indicates whether the system is functioning correctly, has warnings or errors, or is undergoing a health evaluation. */
|
|
3457
|
-
export var KnownHealthState;
|
|
3458
|
-
(function (KnownHealthState) {
|
|
3459
|
-
/** The health state is not known or cannot be determined. */
|
|
3460
|
-
KnownHealthState["Unknown"] = "Unknown";
|
|
3461
|
-
/** The health check completed successfully and the system is healthy. */
|
|
3462
|
-
KnownHealthState["Success"] = "Success";
|
|
3463
|
-
/** The health check failed, indicating a critical issue. */
|
|
3464
|
-
KnownHealthState["Failure"] = "Failure";
|
|
3465
|
-
/** The health check detected a non-critical issue that may require attention. */
|
|
3466
|
-
KnownHealthState["Warning"] = "Warning";
|
|
3467
|
-
/** An error occurred during the health check process. */
|
|
3468
|
-
KnownHealthState["Error"] = "Error";
|
|
3469
|
-
/** The health check is currently in progress. */
|
|
3470
|
-
KnownHealthState["InProgress"] = "InProgress";
|
|
3471
|
-
})(KnownHealthState || (KnownHealthState = {}));
|
|
3472
|
-
export function precheckResultArraySerializer(result) {
|
|
3473
|
-
return result.map((item) => {
|
|
3474
|
-
return precheckResultSerializer(item);
|
|
3475
|
-
});
|
|
3476
|
-
}
|
|
3477
|
-
export function precheckResultArrayDeserializer(result) {
|
|
3478
|
-
return result.map((item) => {
|
|
3479
|
-
return precheckResultDeserializer(item);
|
|
3480
|
-
});
|
|
3481
|
-
}
|
|
3482
|
-
export function precheckResultSerializer(item) {
|
|
3483
|
-
return {
|
|
3484
|
-
name: item["name"],
|
|
3485
|
-
displayName: item["displayName"],
|
|
3486
|
-
tags: !item["tags"] ? item["tags"] : precheckResultTagsSerializer(item["tags"]),
|
|
3487
|
-
healthCheckTags: item["healthCheckTags"],
|
|
3488
|
-
title: item["title"],
|
|
3489
|
-
status: item["status"],
|
|
3490
|
-
severity: item["severity"],
|
|
3491
|
-
description: item["description"],
|
|
3492
|
-
remediation: item["remediation"],
|
|
3493
|
-
targetResourceID: item["targetResourceID"],
|
|
3494
|
-
targetResourceName: item["targetResourceName"],
|
|
3495
|
-
targetResourceType: item["targetResourceType"],
|
|
3496
|
-
timestamp: !item["timestamp"] ? item["timestamp"] : item["timestamp"].toISOString(),
|
|
3497
|
-
additionalData: item["additionalData"],
|
|
3498
|
-
healthCheckSource: item["healthCheckSource"],
|
|
3499
|
-
};
|
|
3500
|
-
}
|
|
3501
|
-
export function precheckResultDeserializer(item) {
|
|
3502
|
-
return {
|
|
3503
|
-
name: item["name"],
|
|
3504
|
-
displayName: item["displayName"],
|
|
3505
|
-
tags: !item["tags"] ? item["tags"] : precheckResultTagsDeserializer(item["tags"]),
|
|
3506
|
-
healthCheckTags: item["healthCheckTags"],
|
|
3507
|
-
title: item["title"],
|
|
3508
|
-
status: item["status"],
|
|
3509
|
-
severity: item["severity"],
|
|
3510
|
-
description: item["description"],
|
|
3511
|
-
remediation: item["remediation"],
|
|
3512
|
-
targetResourceID: item["targetResourceID"],
|
|
3513
|
-
targetResourceName: item["targetResourceName"],
|
|
3514
|
-
targetResourceType: item["targetResourceType"],
|
|
3515
|
-
timestamp: !item["timestamp"] ? item["timestamp"] : new Date(item["timestamp"]),
|
|
3516
|
-
additionalData: item["additionalData"],
|
|
3517
|
-
healthCheckSource: item["healthCheckSource"],
|
|
3518
|
-
};
|
|
3519
|
-
}
|
|
3520
|
-
export function precheckResultTagsSerializer(item) {
|
|
3521
|
-
return { key: item["key"], value: item["value"] };
|
|
3522
|
-
}
|
|
3523
|
-
export function precheckResultTagsDeserializer(item) {
|
|
3524
|
-
return {
|
|
3525
|
-
key: item["key"],
|
|
3526
|
-
value: item["value"],
|
|
3527
|
-
};
|
|
3528
|
-
}
|
|
3529
|
-
/** Indicates the importance or impact level of the result. Determines whether the result is informational, a warning, or a critical issue that may block updates. */
|
|
3530
|
-
export var KnownSeverity;
|
|
3531
|
-
(function (KnownSeverity) {
|
|
3532
|
-
/** A critical issue that blocks updates and requires immediate attention. */
|
|
3533
|
-
KnownSeverity["Critical"] = "Critical";
|
|
3534
|
-
/** A warning that may indicate a potential issue but does not block updates. */
|
|
3535
|
-
KnownSeverity["Warning"] = "Warning";
|
|
3536
|
-
/** General information that does not indicate any issue. */
|
|
3537
|
-
KnownSeverity["Informational"] = "Informational";
|
|
3538
|
-
/** The result is hidden and not shown in the output. */
|
|
3539
|
-
KnownSeverity["Hidden"] = "Hidden";
|
|
3540
|
-
})(KnownSeverity || (KnownSeverity = {}));
|
|
3541
|
-
/** Indicates how the update content is made available for download. This determines whether the update is sourced locally, from an online repository, or requires user notification. */
|
|
3542
|
-
export var KnownAvailabilityType;
|
|
3543
|
-
(function (KnownAvailabilityType) {
|
|
3544
|
-
/** The update content is available locally within the environment. */
|
|
3545
|
-
KnownAvailabilityType["Local"] = "Local";
|
|
3546
|
-
/** The update content is available from an online source. */
|
|
3547
|
-
KnownAvailabilityType["Online"] = "Online";
|
|
3548
|
-
/** The system will notify the user when update content becomes available. */
|
|
3549
|
-
KnownAvailabilityType["Notify"] = "Notify";
|
|
3550
|
-
})(KnownAvailabilityType || (KnownAvailabilityType = {}));
|
|
3551
|
-
export function updateStatePropertiesSerializer(item) {
|
|
3552
|
-
return { progressPercentage: item["progressPercentage"], notifyMessage: item["notifyMessage"] };
|
|
3553
|
-
}
|
|
3554
|
-
export function updateStatePropertiesDeserializer(item) {
|
|
3555
|
-
return {
|
|
3556
|
-
progressPercentage: item["progressPercentage"],
|
|
3557
|
-
notifyMessage: item["notifyMessage"],
|
|
3558
|
-
};
|
|
3559
|
-
}
|
|
3560
|
-
export function _updateListDeserializer(item) {
|
|
3561
|
-
return {
|
|
3562
|
-
value: updateArrayDeserializer(item["value"]),
|
|
3563
|
-
nextLink: item["nextLink"],
|
|
3564
|
-
};
|
|
3565
|
-
}
|
|
3566
|
-
export function updateArraySerializer(result) {
|
|
3567
|
-
return result.map((item) => {
|
|
3568
|
-
return updateSerializer(item);
|
|
3569
|
-
});
|
|
3570
|
-
}
|
|
3571
|
-
export function updateArrayDeserializer(result) {
|
|
3572
|
-
return result.map((item) => {
|
|
3573
|
-
return updateDeserializer(item);
|
|
3574
|
-
});
|
|
3575
|
-
}
|
|
3576
|
-
export function validatedSolutionRecipeDeserializer(item) {
|
|
3577
|
-
return {
|
|
3578
|
-
id: item["id"],
|
|
3579
|
-
name: item["name"],
|
|
3580
|
-
type: item["type"],
|
|
3581
|
-
systemData: !item["systemData"]
|
|
3582
|
-
? item["systemData"]
|
|
3583
|
-
: systemDataDeserializer(item["systemData"]),
|
|
3584
|
-
properties: !item["properties"]
|
|
3585
|
-
? item["properties"]
|
|
3586
|
-
: validatedSolutionRecipePropertiesDeserializer(item["properties"]),
|
|
3587
|
-
};
|
|
3588
|
-
}
|
|
3589
|
-
export function validatedSolutionRecipePropertiesDeserializer(item) {
|
|
3590
|
-
return {
|
|
3591
|
-
recipeContent: validatedSolutionRecipeContentDeserializer(item["recipeContent"]),
|
|
3592
|
-
signature: item["signature"],
|
|
3593
|
-
};
|
|
3594
|
-
}
|
|
3595
|
-
export function validatedSolutionRecipeContentDeserializer(item) {
|
|
3596
|
-
return {
|
|
3597
|
-
info: validatedSolutionRecipeInfoDeserializer(item["info"]),
|
|
3598
|
-
capabilities: !item["capabilities"]
|
|
3599
|
-
? item["capabilities"]
|
|
3600
|
-
: validatedSolutionRecipeCapabilitiesDeserializer(item["capabilities"]),
|
|
3601
|
-
components: validatedSolutionRecipeComponentArrayDeserializer(item["components"]),
|
|
3602
|
-
};
|
|
3603
|
-
}
|
|
3604
|
-
export function validatedSolutionRecipeInfoDeserializer(item) {
|
|
3605
|
-
return {
|
|
3606
|
-
solutionType: item["solutionType"],
|
|
3607
|
-
version: item["version"],
|
|
3608
|
-
};
|
|
3609
|
-
}
|
|
3610
|
-
export function validatedSolutionRecipeCapabilitiesDeserializer(item) {
|
|
3611
|
-
return {
|
|
3612
|
-
clusterCapabilities: validatedSolutionRecipeCapabilityArrayDeserializer(item["clusterCapabilities"]),
|
|
3613
|
-
nodeCapabilities: validatedSolutionRecipeCapabilityArrayDeserializer(item["nodeCapabilities"]),
|
|
3614
|
-
};
|
|
3615
|
-
}
|
|
3616
|
-
export function validatedSolutionRecipeCapabilityArrayDeserializer(result) {
|
|
3617
|
-
return result.map((item) => {
|
|
3618
|
-
return validatedSolutionRecipeCapabilityDeserializer(item);
|
|
3619
|
-
});
|
|
3620
|
-
}
|
|
3621
|
-
export function validatedSolutionRecipeCapabilityDeserializer(item) {
|
|
3622
|
-
return {
|
|
3623
|
-
capabilityName: item["capabilityName"],
|
|
3624
|
-
};
|
|
3625
|
-
}
|
|
3626
|
-
export function validatedSolutionRecipeComponentArrayDeserializer(result) {
|
|
3627
|
-
return result.map((item) => {
|
|
3628
|
-
return validatedSolutionRecipeComponentDeserializer(item);
|
|
3629
|
-
});
|
|
3630
|
-
}
|
|
3631
|
-
export function validatedSolutionRecipeComponentDeserializer(item) {
|
|
3632
|
-
return {
|
|
3633
|
-
name: item["name"],
|
|
3634
|
-
type: item["type"],
|
|
3635
|
-
requiredVersion: item["requiredVersion"],
|
|
3636
|
-
installOrder: item["installOrder"],
|
|
3637
|
-
tags: item["tags"].map((p) => {
|
|
3638
|
-
return p;
|
|
3639
|
-
}),
|
|
3640
|
-
payloads: !item["payloads"]
|
|
3641
|
-
? item["payloads"]
|
|
3642
|
-
: validatedSolutionRecipeComponentPayloadArrayDeserializer(item["payloads"]),
|
|
3643
|
-
metadata: !item["metadata"]
|
|
3644
|
-
? item["metadata"]
|
|
3645
|
-
: validatedSolutionRecipeComponentMetadataDeserializer(item["metadata"]),
|
|
3646
|
-
};
|
|
3647
|
-
}
|
|
3648
|
-
export function validatedSolutionRecipeComponentPayloadArrayDeserializer(result) {
|
|
3649
|
-
return result.map((item) => {
|
|
3650
|
-
return validatedSolutionRecipeComponentPayloadDeserializer(item);
|
|
3651
|
-
});
|
|
3652
|
-
}
|
|
3653
|
-
export function validatedSolutionRecipeComponentPayloadDeserializer(item) {
|
|
3654
|
-
return {
|
|
3655
|
-
identifier: item["identifier"],
|
|
3656
|
-
hash: item["hash"],
|
|
3657
|
-
fileName: item["fileName"],
|
|
3658
|
-
url: item["url"],
|
|
3659
|
-
};
|
|
3660
|
-
}
|
|
3661
|
-
export function validatedSolutionRecipeComponentMetadataDeserializer(item) {
|
|
3662
|
-
return {
|
|
3663
|
-
extensionType: item["extensionType"],
|
|
3664
|
-
publisher: item["publisher"],
|
|
3665
|
-
enableAutomaticUpgrade: item["enableAutomaticUpgrade"],
|
|
3666
|
-
lcmUpdate: item["lcmUpdate"],
|
|
3667
|
-
catalog: item["catalog"],
|
|
3668
|
-
ring: item["ring"],
|
|
3669
|
-
releaseTrain: item["releaseTrain"],
|
|
3670
|
-
link: item["link"],
|
|
3671
|
-
name: item["name"],
|
|
3672
|
-
expectedHash: item["expectedHash"],
|
|
3673
|
-
previewSource: item["previewSource"],
|
|
3674
|
-
};
|
|
3675
|
-
}
|
|
3676
|
-
export function _validatedSolutionRecipeListResultDeserializer(item) {
|
|
3677
|
-
return {
|
|
3678
|
-
value: validatedSolutionRecipeArrayDeserializer(item["value"]),
|
|
3679
|
-
nextLink: item["nextLink"],
|
|
3680
|
-
};
|
|
3681
|
-
}
|
|
3682
|
-
export function validatedSolutionRecipeArrayDeserializer(result) {
|
|
3683
|
-
return result.map((item) => {
|
|
3684
|
-
return validatedSolutionRecipeDeserializer(item);
|
|
3685
|
-
});
|
|
3686
|
-
}
|
|
3687
|
-
export function updateSummariesSerializer(item) {
|
|
3688
|
-
return {
|
|
3689
|
-
properties: areAllPropsUndefined(item, [
|
|
3690
|
-
"oemFamily",
|
|
3691
|
-
"currentOemVersion",
|
|
3692
|
-
"hardwareModel",
|
|
3693
|
-
"packageVersions",
|
|
3694
|
-
"currentVersion",
|
|
3695
|
-
"currentSbeVersion",
|
|
3696
|
-
"lastUpdated",
|
|
3697
|
-
"lastChecked",
|
|
3698
|
-
"healthState",
|
|
3699
|
-
"healthCheckResult",
|
|
3700
|
-
"healthCheckDate",
|
|
3701
|
-
"state",
|
|
3702
|
-
])
|
|
3703
|
-
? undefined
|
|
3704
|
-
: _updateSummariesPropertiesSerializer(item),
|
|
3705
|
-
location: item["location"],
|
|
3706
|
-
};
|
|
3707
|
-
}
|
|
3708
|
-
export function updateSummariesDeserializer(item) {
|
|
3709
|
-
return {
|
|
3710
|
-
id: item["id"],
|
|
3711
|
-
name: item["name"],
|
|
3712
|
-
type: item["type"],
|
|
3713
|
-
systemData: !item["systemData"]
|
|
3714
|
-
? item["systemData"]
|
|
3715
|
-
: systemDataDeserializer(item["systemData"]),
|
|
3716
|
-
...(!item["properties"]
|
|
3717
|
-
? item["properties"]
|
|
3718
|
-
: _updateSummariesPropertiesDeserializer(item["properties"])),
|
|
3719
|
-
location: item["location"],
|
|
3720
|
-
};
|
|
3721
|
-
}
|
|
3722
|
-
export function updateSummariesPropertiesSerializer(item) {
|
|
3723
|
-
return {
|
|
3724
|
-
oemFamily: item["oemFamily"],
|
|
3725
|
-
currentOemVersion: item["currentOemVersion"],
|
|
3726
|
-
hardwareModel: item["hardwareModel"],
|
|
3727
|
-
packageVersions: !item["packageVersions"]
|
|
3728
|
-
? item["packageVersions"]
|
|
3729
|
-
: packageVersionInfoArraySerializer(item["packageVersions"]),
|
|
3730
|
-
currentVersion: item["currentVersion"],
|
|
3731
|
-
currentSbeVersion: item["currentSbeVersion"],
|
|
3732
|
-
lastUpdated: !item["lastUpdated"] ? item["lastUpdated"] : item["lastUpdated"].toISOString(),
|
|
3733
|
-
lastChecked: !item["lastChecked"] ? item["lastChecked"] : item["lastChecked"].toISOString(),
|
|
3734
|
-
healthState: item["healthState"],
|
|
3735
|
-
healthCheckResult: !item["healthCheckResult"]
|
|
3736
|
-
? item["healthCheckResult"]
|
|
3737
|
-
: precheckResultArraySerializer(item["healthCheckResult"]),
|
|
3738
|
-
healthCheckDate: !item["healthCheckDate"]
|
|
3739
|
-
? item["healthCheckDate"]
|
|
3740
|
-
: item["healthCheckDate"].toISOString(),
|
|
3741
|
-
state: item["state"],
|
|
3742
|
-
};
|
|
3743
|
-
}
|
|
3744
|
-
export function updateSummariesPropertiesDeserializer(item) {
|
|
3745
|
-
return {
|
|
3746
|
-
provisioningState: item["provisioningState"],
|
|
3747
|
-
oemFamily: item["oemFamily"],
|
|
3748
|
-
currentOemVersion: item["currentOemVersion"],
|
|
3749
|
-
hardwareModel: item["hardwareModel"],
|
|
3750
|
-
packageVersions: !item["packageVersions"]
|
|
3751
|
-
? item["packageVersions"]
|
|
3752
|
-
: packageVersionInfoArrayDeserializer(item["packageVersions"]),
|
|
3753
|
-
currentVersion: item["currentVersion"],
|
|
3754
|
-
currentSbeVersion: item["currentSbeVersion"],
|
|
3755
|
-
lastUpdated: !item["lastUpdated"] ? item["lastUpdated"] : new Date(item["lastUpdated"]),
|
|
3756
|
-
lastChecked: !item["lastChecked"] ? item["lastChecked"] : new Date(item["lastChecked"]),
|
|
3757
|
-
healthState: item["healthState"],
|
|
3758
|
-
healthCheckResult: !item["healthCheckResult"]
|
|
3759
|
-
? item["healthCheckResult"]
|
|
3760
|
-
: precheckResultArrayDeserializer(item["healthCheckResult"]),
|
|
3761
|
-
healthCheckDate: !item["healthCheckDate"]
|
|
3762
|
-
? item["healthCheckDate"]
|
|
3763
|
-
: new Date(item["healthCheckDate"]),
|
|
3764
|
-
state: item["state"],
|
|
3765
|
-
};
|
|
3766
|
-
}
|
|
3767
|
-
/** Overall update state of the stamp. Indicates the current status of update deployment across the stamp, including preparation, application, and any issues encountered. */
|
|
3768
|
-
export var KnownUpdateSummariesPropertiesState;
|
|
3769
|
-
(function (KnownUpdateSummariesPropertiesState) {
|
|
3770
|
-
/** The update state is not known. */
|
|
3771
|
-
KnownUpdateSummariesPropertiesState["Unknown"] = "Unknown";
|
|
3772
|
-
/** Updates have been successfully applied to the stamp. */
|
|
3773
|
-
KnownUpdateSummariesPropertiesState["AppliedSuccessfully"] = "AppliedSuccessfully";
|
|
3774
|
-
/** Updates are available but have not yet been applied. */
|
|
3775
|
-
KnownUpdateSummariesPropertiesState["UpdateAvailable"] = "UpdateAvailable";
|
|
3776
|
-
/** Updates are currently being applied to the stamp. */
|
|
3777
|
-
KnownUpdateSummariesPropertiesState["UpdateInProgress"] = "UpdateInProgress";
|
|
3778
|
-
/** The update process failed. */
|
|
3779
|
-
KnownUpdateSummariesPropertiesState["UpdateFailed"] = "UpdateFailed";
|
|
3780
|
-
/** The update process requires user intervention or has encountered issues needing attention. */
|
|
3781
|
-
KnownUpdateSummariesPropertiesState["NeedsAttention"] = "NeedsAttention";
|
|
3782
|
-
/** Preparation for the update is currently in progress. */
|
|
3783
|
-
KnownUpdateSummariesPropertiesState["PreparationInProgress"] = "PreparationInProgress";
|
|
3784
|
-
/** Preparation for the update failed. */
|
|
3785
|
-
KnownUpdateSummariesPropertiesState["PreparationFailed"] = "PreparationFailed";
|
|
3786
|
-
})(KnownUpdateSummariesPropertiesState || (KnownUpdateSummariesPropertiesState = {}));
|
|
3787
|
-
export function _updateSummariesListDeserializer(item) {
|
|
3788
|
-
return {
|
|
3789
|
-
value: updateSummariesArrayDeserializer(item["value"]),
|
|
3790
|
-
nextLink: item["nextLink"],
|
|
3791
|
-
};
|
|
3792
|
-
}
|
|
3793
|
-
export function updateSummariesArraySerializer(result) {
|
|
3794
|
-
return result.map((item) => {
|
|
3795
|
-
return updateSummariesSerializer(item);
|
|
3796
|
-
});
|
|
3797
|
-
}
|
|
3798
|
-
export function updateSummariesArrayDeserializer(result) {
|
|
3799
|
-
return result.map((item) => {
|
|
3800
|
-
return updateSummariesDeserializer(item);
|
|
3801
|
-
});
|
|
3802
|
-
}
|
|
3803
|
-
/** The available API versions. */
|
|
3804
|
-
export var KnownVersions;
|
|
3805
|
-
(function (KnownVersions) {
|
|
3806
|
-
/** The 2026-02-01 API version. */
|
|
3807
|
-
KnownVersions["V20260201"] = "2026-02-01";
|
|
3808
|
-
})(KnownVersions || (KnownVersions = {}));
|
|
3809
|
-
export function _arcSettingPropertiesSerializer(item) {
|
|
3810
|
-
return {
|
|
3811
|
-
arcInstanceResourceGroup: item["arcInstanceResourceGroup"],
|
|
3812
|
-
arcApplicationClientId: item["arcApplicationClientId"],
|
|
3813
|
-
arcApplicationTenantId: item["arcApplicationTenantId"],
|
|
3814
|
-
arcServicePrincipalObjectId: item["arcServicePrincipalObjectId"],
|
|
3815
|
-
arcApplicationObjectId: item["arcApplicationObjectId"],
|
|
3816
|
-
connectivityProperties: !item["connectivityProperties"]
|
|
3817
|
-
? item["connectivityProperties"]
|
|
3818
|
-
: arcConnectivityPropertiesSerializer(item["connectivityProperties"]),
|
|
3819
|
-
};
|
|
3820
|
-
}
|
|
3821
|
-
export function _arcSettingPropertiesDeserializer(item) {
|
|
3822
|
-
return {
|
|
3823
|
-
provisioningState: item["provisioningState"],
|
|
3824
|
-
arcInstanceResourceGroup: item["arcInstanceResourceGroup"],
|
|
3825
|
-
arcApplicationClientId: item["arcApplicationClientId"],
|
|
3826
|
-
arcApplicationTenantId: item["arcApplicationTenantId"],
|
|
3827
|
-
arcServicePrincipalObjectId: item["arcServicePrincipalObjectId"],
|
|
3828
|
-
arcApplicationObjectId: item["arcApplicationObjectId"],
|
|
3829
|
-
aggregateState: item["aggregateState"],
|
|
3830
|
-
perNodeDetails: !item["perNodeDetails"]
|
|
3831
|
-
? item["perNodeDetails"]
|
|
3832
|
-
: perNodeStateArrayDeserializer(item["perNodeDetails"]),
|
|
3833
|
-
connectivityProperties: !item["connectivityProperties"]
|
|
3834
|
-
? item["connectivityProperties"]
|
|
3835
|
-
: arcConnectivityPropertiesDeserializer(item["connectivityProperties"]),
|
|
3836
|
-
defaultExtensions: !item["defaultExtensions"]
|
|
3837
|
-
? item["defaultExtensions"]
|
|
3838
|
-
: defaultExtensionDetailsArrayDeserializer(item["defaultExtensions"]),
|
|
3839
|
-
};
|
|
3840
|
-
}
|
|
3841
|
-
export function _arcSettingsPatchPropertiesSerializer(item) {
|
|
3842
|
-
return {
|
|
3843
|
-
connectivityProperties: !item["connectivityProperties"]
|
|
3844
|
-
? item["connectivityProperties"]
|
|
3845
|
-
: arcConnectivityPropertiesSerializer(item["connectivityProperties"]),
|
|
3846
|
-
};
|
|
3847
|
-
}
|
|
3848
|
-
export function _arcIdentityResponsePropertiesDeserializer(item) {
|
|
3849
|
-
return {
|
|
3850
|
-
arcApplicationClientId: item["arcApplicationClientId"],
|
|
3851
|
-
arcApplicationTenantId: item["arcApplicationTenantId"],
|
|
3852
|
-
arcServicePrincipalObjectId: item["arcServicePrincipalObjectId"],
|
|
3853
|
-
arcApplicationObjectId: item["arcApplicationObjectId"],
|
|
3854
|
-
};
|
|
3855
|
-
}
|
|
3856
|
-
export function _offerPropertiesDeserializer(item) {
|
|
3857
|
-
return {
|
|
3858
|
-
provisioningState: item["provisioningState"],
|
|
3859
|
-
publisherId: item["publisherId"],
|
|
3860
|
-
content: item["content"],
|
|
3861
|
-
contentVersion: item["contentVersion"],
|
|
3862
|
-
skuMappings: !item["skuMappings"]
|
|
3863
|
-
? item["skuMappings"]
|
|
3864
|
-
: skuMappingsArrayDeserializer(item["skuMappings"]),
|
|
3865
|
-
};
|
|
3866
|
-
}
|
|
3867
|
-
export function _clusterPropertiesSerializer(item) {
|
|
3868
|
-
return {
|
|
3869
|
-
cloudManagementEndpoint: item["cloudManagementEndpoint"],
|
|
3870
|
-
aadClientId: item["aadClientId"],
|
|
3871
|
-
aadTenantId: item["aadTenantId"],
|
|
3872
|
-
aadApplicationObjectId: item["aadApplicationObjectId"],
|
|
3873
|
-
aadServicePrincipalObjectId: item["aadServicePrincipalObjectId"],
|
|
3874
|
-
softwareAssuranceProperties: !item["softwareAssuranceProperties"]
|
|
3875
|
-
? item["softwareAssuranceProperties"]
|
|
3876
|
-
: softwareAssurancePropertiesSerializer(item["softwareAssuranceProperties"]),
|
|
3877
|
-
logCollectionProperties: !item["logCollectionProperties"]
|
|
3878
|
-
? item["logCollectionProperties"]
|
|
3879
|
-
: logCollectionPropertiesSerializer(item["logCollectionProperties"]),
|
|
3880
|
-
remoteSupportProperties: !item["remoteSupportProperties"]
|
|
3881
|
-
? item["remoteSupportProperties"]
|
|
3882
|
-
: remoteSupportPropertiesSerializer(item["remoteSupportProperties"]),
|
|
3883
|
-
desiredProperties: !item["desiredProperties"]
|
|
3884
|
-
? item["desiredProperties"]
|
|
3885
|
-
: clusterDesiredPropertiesSerializer(item["desiredProperties"]),
|
|
3886
|
-
secretsLocations: !item["secretsLocations"]
|
|
3887
|
-
? item["secretsLocations"]
|
|
3888
|
-
: secretsLocationDetailsArraySerializer(item["secretsLocations"]),
|
|
3889
|
-
localAvailabilityZones: !item["localAvailabilityZones"]
|
|
3890
|
-
? item["localAvailabilityZones"]
|
|
3891
|
-
: localAvailabilityZonesArraySerializer(item["localAvailabilityZones"]),
|
|
3892
|
-
};
|
|
3893
|
-
}
|
|
3894
|
-
export function _clusterPropertiesDeserializer(item) {
|
|
3895
|
-
return {
|
|
3896
|
-
provisioningState: item["provisioningState"],
|
|
3897
|
-
status: item["status"],
|
|
3898
|
-
connectivityStatus: item["connectivityStatus"],
|
|
3899
|
-
cloudId: item["cloudId"],
|
|
3900
|
-
cloudManagementEndpoint: item["cloudManagementEndpoint"],
|
|
3901
|
-
aadClientId: item["aadClientId"],
|
|
3902
|
-
aadTenantId: item["aadTenantId"],
|
|
3903
|
-
aadApplicationObjectId: item["aadApplicationObjectId"],
|
|
3904
|
-
aadServicePrincipalObjectId: item["aadServicePrincipalObjectId"],
|
|
3905
|
-
softwareAssuranceProperties: !item["softwareAssuranceProperties"]
|
|
3906
|
-
? item["softwareAssuranceProperties"]
|
|
3907
|
-
: softwareAssurancePropertiesDeserializer(item["softwareAssuranceProperties"]),
|
|
3908
|
-
isManagementCluster: item["isManagementCluster"],
|
|
3909
|
-
logCollectionProperties: !item["logCollectionProperties"]
|
|
3910
|
-
? item["logCollectionProperties"]
|
|
3911
|
-
: logCollectionPropertiesDeserializer(item["logCollectionProperties"]),
|
|
3912
|
-
remoteSupportProperties: !item["remoteSupportProperties"]
|
|
3913
|
-
? item["remoteSupportProperties"]
|
|
3914
|
-
: remoteSupportPropertiesDeserializer(item["remoteSupportProperties"]),
|
|
3915
|
-
desiredProperties: !item["desiredProperties"]
|
|
3916
|
-
? item["desiredProperties"]
|
|
3917
|
-
: clusterDesiredPropertiesDeserializer(item["desiredProperties"]),
|
|
3918
|
-
reportedProperties: !item["reportedProperties"]
|
|
3919
|
-
? item["reportedProperties"]
|
|
3920
|
-
: clusterReportedPropertiesDeserializer(item["reportedProperties"]),
|
|
3921
|
-
isolatedVmAttestationConfiguration: !item["isolatedVmAttestationConfiguration"]
|
|
3922
|
-
? item["isolatedVmAttestationConfiguration"]
|
|
3923
|
-
: isolatedVmAttestationConfigurationDeserializer(item["isolatedVmAttestationConfiguration"]),
|
|
3924
|
-
trialDaysRemaining: item["trialDaysRemaining"],
|
|
3925
|
-
billingModel: item["billingModel"],
|
|
3926
|
-
registrationTimestamp: !item["registrationTimestamp"]
|
|
3927
|
-
? item["registrationTimestamp"]
|
|
3928
|
-
: new Date(item["registrationTimestamp"]),
|
|
3929
|
-
lastSyncTimestamp: !item["lastSyncTimestamp"]
|
|
3930
|
-
? item["lastSyncTimestamp"]
|
|
3931
|
-
: new Date(item["lastSyncTimestamp"]),
|
|
3932
|
-
lastBillingTimestamp: !item["lastBillingTimestamp"]
|
|
3933
|
-
? item["lastBillingTimestamp"]
|
|
3934
|
-
: new Date(item["lastBillingTimestamp"]),
|
|
3935
|
-
serviceEndpoint: item["serviceEndpoint"],
|
|
3936
|
-
resourceProviderObjectId: item["resourceProviderObjectId"],
|
|
3937
|
-
secretsLocations: !item["secretsLocations"]
|
|
3938
|
-
? item["secretsLocations"]
|
|
3939
|
-
: secretsLocationDetailsArrayDeserializer(item["secretsLocations"]),
|
|
3940
|
-
clusterPattern: item["clusterPattern"],
|
|
3941
|
-
localAvailabilityZones: !item["localAvailabilityZones"]
|
|
3942
|
-
? item["localAvailabilityZones"]
|
|
3943
|
-
: localAvailabilityZonesArrayDeserializer(item["localAvailabilityZones"]),
|
|
3944
|
-
identityProvider: item["identityProvider"],
|
|
3945
|
-
};
|
|
3946
|
-
}
|
|
3947
|
-
export function _clusterIdentitySerializer(item) {
|
|
3948
|
-
return { type: item["typeIdentityType"], userAssignedIdentities: item["userAssignedIdentities"] };
|
|
3949
|
-
}
|
|
3950
|
-
export function _clusterIdentityDeserializer(item) {
|
|
3951
|
-
return {
|
|
3952
|
-
principalId: item["principalId"],
|
|
3953
|
-
tenantId: item["tenantId"],
|
|
3954
|
-
typeIdentityType: item["type"],
|
|
3955
|
-
userAssignedIdentities: !item["userAssignedIdentities"]
|
|
3956
|
-
? item["userAssignedIdentities"]
|
|
3957
|
-
: Object.fromEntries(Object.entries(item["userAssignedIdentities"]).map(([k, p]) => [
|
|
3958
|
-
k,
|
|
3959
|
-
!p ? p : userAssignedIdentityDeserializer(p),
|
|
3960
|
-
])),
|
|
3961
|
-
};
|
|
3962
|
-
}
|
|
3963
|
-
export function _clusterPatchIdentitySerializer(item) {
|
|
3964
|
-
return { type: item["type"], userAssignedIdentities: item["userAssignedIdentities"] };
|
|
3965
|
-
}
|
|
3966
|
-
export function _clusterPatchIdentityDeserializer(item) {
|
|
3967
|
-
return {
|
|
3968
|
-
principalId: item["principalId"],
|
|
3969
|
-
tenantId: item["tenantId"],
|
|
3970
|
-
type: item["type"],
|
|
3971
|
-
userAssignedIdentities: !item["userAssignedIdentities"]
|
|
3972
|
-
? item["userAssignedIdentities"]
|
|
3973
|
-
: Object.fromEntries(Object.entries(item["userAssignedIdentities"]).map(([k, p]) => [
|
|
3974
|
-
k,
|
|
3975
|
-
!p ? p : userAssignedIdentityDeserializer(p),
|
|
3976
|
-
])),
|
|
3977
|
-
};
|
|
3978
|
-
}
|
|
3979
|
-
export function _clusterPatchPropertiesSerializer(item) {
|
|
3980
|
-
return {
|
|
3981
|
-
cloudManagementEndpoint: item["cloudManagementEndpoint"],
|
|
3982
|
-
aadClientId: item["aadClientId"],
|
|
3983
|
-
aadTenantId: item["aadTenantId"],
|
|
3984
|
-
desiredProperties: !item["desiredProperties"]
|
|
3985
|
-
? item["desiredProperties"]
|
|
3986
|
-
: clusterDesiredPropertiesSerializer(item["desiredProperties"]),
|
|
3987
|
-
};
|
|
3988
|
-
}
|
|
3989
|
-
export function _clusterIdentityResponsePropertiesDeserializer(item) {
|
|
3990
|
-
return {
|
|
3991
|
-
aadClientId: item["aadClientId"],
|
|
3992
|
-
aadTenantId: item["aadTenantId"],
|
|
3993
|
-
aadServicePrincipalObjectId: item["aadServicePrincipalObjectId"],
|
|
3994
|
-
aadApplicationObjectId: item["aadApplicationObjectId"],
|
|
3995
|
-
};
|
|
3996
|
-
}
|
|
3997
|
-
export function _deploymentSettingPropertiesSerializer(item) {
|
|
3998
|
-
return {
|
|
3999
|
-
arcNodeResourceIds: !item["arcNodeResourceIds"]
|
|
4000
|
-
? item["arcNodeResourceIds"]
|
|
4001
|
-
: item["arcNodeResourceIds"].map((p) => {
|
|
4002
|
-
return p;
|
|
4003
|
-
}),
|
|
4004
|
-
deploymentMode: item["deploymentMode"],
|
|
4005
|
-
operationType: item["operationType"],
|
|
4006
|
-
deploymentConfiguration: !item["deploymentConfiguration"]
|
|
4007
|
-
? item["deploymentConfiguration"]
|
|
4008
|
-
: deploymentConfigurationSerializer(item["deploymentConfiguration"]),
|
|
4009
|
-
};
|
|
4010
|
-
}
|
|
4011
|
-
export function _deploymentSettingPropertiesDeserializer(item) {
|
|
4012
|
-
return {
|
|
4013
|
-
provisioningState: item["provisioningState"],
|
|
4014
|
-
arcNodeResourceIds: !item["arcNodeResourceIds"]
|
|
4015
|
-
? item["arcNodeResourceIds"]
|
|
4016
|
-
: item["arcNodeResourceIds"].map((p) => {
|
|
4017
|
-
return p;
|
|
4018
|
-
}),
|
|
4019
|
-
deploymentMode: item["deploymentMode"],
|
|
4020
|
-
operationType: item["operationType"],
|
|
4021
|
-
deploymentConfiguration: !item["deploymentConfiguration"]
|
|
4022
|
-
? item["deploymentConfiguration"]
|
|
4023
|
-
: deploymentConfigurationDeserializer(item["deploymentConfiguration"]),
|
|
4024
|
-
reportedProperties: !item["reportedProperties"]
|
|
4025
|
-
? item["reportedProperties"]
|
|
4026
|
-
: eceReportedPropertiesDeserializer(item["reportedProperties"]),
|
|
4027
|
-
};
|
|
4028
|
-
}
|
|
4029
|
-
export function _extensionPropertiesExtensionParametersSerializer(item) {
|
|
4030
|
-
return {
|
|
4031
|
-
forceUpdateTag: item["forceUpdateTag"],
|
|
4032
|
-
publisher: item["publisher"],
|
|
4033
|
-
type: item["type"],
|
|
4034
|
-
typeHandlerVersion: item["typeHandlerVersion"],
|
|
4035
|
-
autoUpgradeMinorVersion: item["autoUpgradeMinorVersion"],
|
|
4036
|
-
settings: item["settings"],
|
|
4037
|
-
protectedSettings: item["protectedSettings"],
|
|
4038
|
-
enableAutomaticUpgrade: item["enableAutomaticUpgrade"],
|
|
4039
|
-
};
|
|
4040
|
-
}
|
|
4041
|
-
export function _extensionPropertiesExtensionParametersDeserializer(item) {
|
|
4042
|
-
return {
|
|
4043
|
-
forceUpdateTag: item["forceUpdateTag"],
|
|
4044
|
-
publisher: item["publisher"],
|
|
4045
|
-
type: item["type"],
|
|
4046
|
-
typeHandlerVersion: item["typeHandlerVersion"],
|
|
4047
|
-
autoUpgradeMinorVersion: item["autoUpgradeMinorVersion"],
|
|
4048
|
-
settings: item["settings"],
|
|
4049
|
-
protectedSettings: item["protectedSettings"],
|
|
4050
|
-
enableAutomaticUpgrade: item["enableAutomaticUpgrade"],
|
|
4051
|
-
};
|
|
4052
|
-
}
|
|
4053
|
-
export function _extensionPropertiesSerializer(item) {
|
|
4054
|
-
return {
|
|
4055
|
-
extensionParameters: !item["extensionParameters"]
|
|
4056
|
-
? item["extensionParameters"]
|
|
4057
|
-
: extensionParametersSerializer(item["extensionParameters"]),
|
|
4058
|
-
};
|
|
4059
|
-
}
|
|
4060
|
-
export function _extensionPropertiesDeserializer(item) {
|
|
4061
|
-
return {
|
|
4062
|
-
provisioningState: item["provisioningState"],
|
|
4063
|
-
extensionParameters: !item["extensionParameters"]
|
|
4064
|
-
? item["extensionParameters"]
|
|
4065
|
-
: extensionParametersDeserializer(item["extensionParameters"]),
|
|
4066
|
-
aggregateState: item["aggregateState"],
|
|
4067
|
-
perNodeExtensionDetails: !item["perNodeExtensionDetails"]
|
|
4068
|
-
? item["perNodeExtensionDetails"]
|
|
4069
|
-
: perNodeExtensionStateArrayDeserializer(item["perNodeExtensionDetails"]),
|
|
4070
|
-
managedBy: item["managedBy"],
|
|
4071
|
-
};
|
|
4072
|
-
}
|
|
4073
|
-
export function _extensionPatchPropertiesSerializer(item) {
|
|
4074
|
-
return {
|
|
4075
|
-
extensionParameters: !item["extensionParameters"]
|
|
4076
|
-
? item["extensionParameters"]
|
|
4077
|
-
: extensionPatchParametersSerializer(item["extensionParameters"]),
|
|
4078
|
-
};
|
|
4079
|
-
}
|
|
4080
|
-
export function _securitySettingPropertiesSerializer(item) {
|
|
4081
|
-
return {
|
|
4082
|
-
securedCoreComplianceAssignment: item["securedCoreComplianceAssignment"],
|
|
4083
|
-
wdacComplianceAssignment: item["wdacComplianceAssignment"],
|
|
4084
|
-
smbEncryptionForIntraClusterTrafficComplianceAssignment: item["smbEncryptionForIntraClusterTrafficComplianceAssignment"],
|
|
4085
|
-
};
|
|
4086
|
-
}
|
|
4087
|
-
export function _securitySettingPropertiesDeserializer(item) {
|
|
4088
|
-
return {
|
|
4089
|
-
securedCoreComplianceAssignment: item["securedCoreComplianceAssignment"],
|
|
4090
|
-
wdacComplianceAssignment: item["wdacComplianceAssignment"],
|
|
4091
|
-
smbEncryptionForIntraClusterTrafficComplianceAssignment: item["smbEncryptionForIntraClusterTrafficComplianceAssignment"],
|
|
4092
|
-
securityComplianceStatus: !item["securityComplianceStatus"]
|
|
4093
|
-
? item["securityComplianceStatus"]
|
|
4094
|
-
: securityComplianceStatusDeserializer(item["securityComplianceStatus"]),
|
|
4095
|
-
provisioningState: item["provisioningState"],
|
|
4096
|
-
};
|
|
4097
|
-
}
|
|
4098
|
-
export function _skuPropertiesDeserializer(item) {
|
|
4099
|
-
return {
|
|
4100
|
-
provisioningState: item["provisioningState"],
|
|
4101
|
-
publisherId: item["publisherId"],
|
|
4102
|
-
offerId: item["offerId"],
|
|
4103
|
-
content: item["content"],
|
|
4104
|
-
contentVersion: item["contentVersion"],
|
|
4105
|
-
skuMappings: !item["skuMappings"]
|
|
4106
|
-
? item["skuMappings"]
|
|
4107
|
-
: skuMappingsArrayDeserializer(item["skuMappings"]),
|
|
4108
|
-
};
|
|
4109
|
-
}
|
|
4110
|
-
export function _updateRunPropertiesProgressSerializer(item) {
|
|
4111
|
-
return {
|
|
4112
|
-
name: item["name"],
|
|
4113
|
-
description: item["description"],
|
|
4114
|
-
errorMessage: item["errorMessage"],
|
|
4115
|
-
status: item["status"],
|
|
4116
|
-
startTimeUtc: !item["startTimeUtc"] ? item["startTimeUtc"] : item["startTimeUtc"].toISOString(),
|
|
4117
|
-
endTimeUtc: !item["endTimeUtc"] ? item["endTimeUtc"] : item["endTimeUtc"].toISOString(),
|
|
4118
|
-
lastUpdatedTimeUtc: !item["lastUpdatedTimeUtc"]
|
|
4119
|
-
? item["lastUpdatedTimeUtc"]
|
|
4120
|
-
: item["lastUpdatedTimeUtc"].toISOString(),
|
|
4121
|
-
expectedExecutionTime: item["expectedExecutionTime"],
|
|
4122
|
-
steps: !item["steps"] ? item["steps"] : stepArraySerializer(item["steps"]),
|
|
4123
|
-
};
|
|
4124
|
-
}
|
|
4125
|
-
export function _updateRunPropertiesProgressDeserializer(item) {
|
|
4126
|
-
return {
|
|
4127
|
-
name: item["name"],
|
|
4128
|
-
description: item["description"],
|
|
4129
|
-
errorMessage: item["errorMessage"],
|
|
4130
|
-
status: item["status"],
|
|
4131
|
-
startTimeUtc: !item["startTimeUtc"] ? item["startTimeUtc"] : new Date(item["startTimeUtc"]),
|
|
4132
|
-
endTimeUtc: !item["endTimeUtc"] ? item["endTimeUtc"] : new Date(item["endTimeUtc"]),
|
|
4133
|
-
lastUpdatedTimeUtc: !item["lastUpdatedTimeUtc"]
|
|
4134
|
-
? item["lastUpdatedTimeUtc"]
|
|
4135
|
-
: new Date(item["lastUpdatedTimeUtc"]),
|
|
4136
|
-
expectedExecutionTime: item["expectedExecutionTime"],
|
|
4137
|
-
steps: !item["steps"] ? item["steps"] : stepArrayDeserializer(item["steps"]),
|
|
4138
|
-
};
|
|
4139
|
-
}
|
|
4140
|
-
export function _updateRunPropertiesSerializer(item) {
|
|
4141
|
-
return {
|
|
4142
|
-
timeStarted: !item["timeStarted"] ? item["timeStarted"] : item["timeStarted"].toISOString(),
|
|
4143
|
-
lastUpdatedTime: !item["lastUpdatedTime"]
|
|
4144
|
-
? item["lastUpdatedTime"]
|
|
4145
|
-
: item["lastUpdatedTime"].toISOString(),
|
|
4146
|
-
duration: item["duration"],
|
|
4147
|
-
state: item["state"],
|
|
4148
|
-
progress: !item["progress"] ? item["progress"] : stepSerializer(item["progress"]),
|
|
4149
|
-
};
|
|
4150
|
-
}
|
|
4151
|
-
export function _updateRunPropertiesDeserializer(item) {
|
|
4152
|
-
return {
|
|
4153
|
-
provisioningState: item["provisioningState"],
|
|
4154
|
-
timeStarted: !item["timeStarted"] ? item["timeStarted"] : new Date(item["timeStarted"]),
|
|
4155
|
-
lastUpdatedTime: !item["lastUpdatedTime"]
|
|
4156
|
-
? item["lastUpdatedTime"]
|
|
4157
|
-
: new Date(item["lastUpdatedTime"]),
|
|
4158
|
-
duration: item["duration"],
|
|
4159
|
-
state: item["state"],
|
|
4160
|
-
progress: !item["progress"] ? item["progress"] : stepDeserializer(item["progress"]),
|
|
4161
|
-
};
|
|
4162
|
-
}
|
|
4163
|
-
export function _updatePropertiesUpdateStatePropertiesSerializer(item) {
|
|
4164
|
-
return { progressPercentage: item["progressPercentage"], notifyMessage: item["notifyMessage"] };
|
|
4165
|
-
}
|
|
4166
|
-
export function _updatePropertiesUpdateStatePropertiesDeserializer(item) {
|
|
4167
|
-
return {
|
|
4168
|
-
progressPercentage: item["progressPercentage"],
|
|
4169
|
-
notifyMessage: item["notifyMessage"],
|
|
4170
|
-
};
|
|
4171
|
-
}
|
|
4172
|
-
export function _updatePropertiesSerializer(item) {
|
|
4173
|
-
return {
|
|
4174
|
-
installedDate: !item["installedDate"]
|
|
4175
|
-
? item["installedDate"]
|
|
4176
|
-
: item["installedDate"].toISOString(),
|
|
4177
|
-
description: item["description"],
|
|
4178
|
-
minSbeVersionRequired: item["minSbeVersionRequired"],
|
|
4179
|
-
state: item["state"],
|
|
4180
|
-
prerequisites: !item["prerequisites"]
|
|
4181
|
-
? item["prerequisites"]
|
|
4182
|
-
: updatePrerequisiteArraySerializer(item["prerequisites"]),
|
|
4183
|
-
componentVersions: !item["componentVersions"]
|
|
4184
|
-
? item["componentVersions"]
|
|
4185
|
-
: packageVersionInfoArraySerializer(item["componentVersions"]),
|
|
4186
|
-
rebootRequired: item["rebootRequired"],
|
|
4187
|
-
healthState: item["healthState"],
|
|
4188
|
-
healthCheckResult: !item["healthCheckResult"]
|
|
4189
|
-
? item["healthCheckResult"]
|
|
4190
|
-
: precheckResultArraySerializer(item["healthCheckResult"]),
|
|
4191
|
-
healthCheckDate: !item["healthCheckDate"]
|
|
4192
|
-
? item["healthCheckDate"]
|
|
4193
|
-
: item["healthCheckDate"].toISOString(),
|
|
4194
|
-
packagePath: item["packagePath"],
|
|
4195
|
-
packageSizeInMb: item["packageSizeInMb"],
|
|
4196
|
-
displayName: item["displayName"],
|
|
4197
|
-
version: item["version"],
|
|
4198
|
-
publisher: item["publisher"],
|
|
4199
|
-
releaseLink: item["releaseLink"],
|
|
4200
|
-
availabilityType: item["availabilityType"],
|
|
4201
|
-
packageType: item["packageType"],
|
|
4202
|
-
additionalProperties: item["additionalProperties"],
|
|
4203
|
-
updateStateProperties: !item["updateStateProperties"]
|
|
4204
|
-
? item["updateStateProperties"]
|
|
4205
|
-
: updateStatePropertiesSerializer(item["updateStateProperties"]),
|
|
4206
|
-
};
|
|
4207
|
-
}
|
|
4208
|
-
export function _updatePropertiesDeserializer(item) {
|
|
4209
|
-
return {
|
|
4210
|
-
provisioningState: item["provisioningState"],
|
|
4211
|
-
installedDate: !item["installedDate"] ? item["installedDate"] : new Date(item["installedDate"]),
|
|
4212
|
-
description: item["description"],
|
|
4213
|
-
minSbeVersionRequired: item["minSbeVersionRequired"],
|
|
4214
|
-
state: item["state"],
|
|
4215
|
-
prerequisites: !item["prerequisites"]
|
|
4216
|
-
? item["prerequisites"]
|
|
4217
|
-
: updatePrerequisiteArrayDeserializer(item["prerequisites"]),
|
|
4218
|
-
componentVersions: !item["componentVersions"]
|
|
4219
|
-
? item["componentVersions"]
|
|
4220
|
-
: packageVersionInfoArrayDeserializer(item["componentVersions"]),
|
|
4221
|
-
rebootRequired: item["rebootRequired"],
|
|
4222
|
-
healthState: item["healthState"],
|
|
4223
|
-
healthCheckResult: !item["healthCheckResult"]
|
|
4224
|
-
? item["healthCheckResult"]
|
|
4225
|
-
: precheckResultArrayDeserializer(item["healthCheckResult"]),
|
|
4226
|
-
healthCheckDate: !item["healthCheckDate"]
|
|
4227
|
-
? item["healthCheckDate"]
|
|
4228
|
-
: new Date(item["healthCheckDate"]),
|
|
4229
|
-
packagePath: item["packagePath"],
|
|
4230
|
-
packageSizeInMb: item["packageSizeInMb"],
|
|
4231
|
-
displayName: item["displayName"],
|
|
4232
|
-
version: item["version"],
|
|
4233
|
-
publisher: item["publisher"],
|
|
4234
|
-
releaseLink: item["releaseLink"],
|
|
4235
|
-
availabilityType: item["availabilityType"],
|
|
4236
|
-
packageType: item["packageType"],
|
|
4237
|
-
additionalProperties: item["additionalProperties"],
|
|
4238
|
-
updateStateProperties: !item["updateStateProperties"]
|
|
4239
|
-
? item["updateStateProperties"]
|
|
4240
|
-
: updateStatePropertiesDeserializer(item["updateStateProperties"]),
|
|
4241
|
-
};
|
|
4242
|
-
}
|
|
4243
|
-
export function _updateSummariesPropertiesSerializer(item) {
|
|
4244
|
-
return {
|
|
4245
|
-
oemFamily: item["oemFamily"],
|
|
4246
|
-
currentOemVersion: item["currentOemVersion"],
|
|
4247
|
-
hardwareModel: item["hardwareModel"],
|
|
4248
|
-
packageVersions: !item["packageVersions"]
|
|
4249
|
-
? item["packageVersions"]
|
|
4250
|
-
: packageVersionInfoArraySerializer(item["packageVersions"]),
|
|
4251
|
-
currentVersion: item["currentVersion"],
|
|
4252
|
-
currentSbeVersion: item["currentSbeVersion"],
|
|
4253
|
-
lastUpdated: !item["lastUpdated"] ? item["lastUpdated"] : item["lastUpdated"].toISOString(),
|
|
4254
|
-
lastChecked: !item["lastChecked"] ? item["lastChecked"] : item["lastChecked"].toISOString(),
|
|
4255
|
-
healthState: item["healthState"],
|
|
4256
|
-
healthCheckResult: !item["healthCheckResult"]
|
|
4257
|
-
? item["healthCheckResult"]
|
|
4258
|
-
: precheckResultArraySerializer(item["healthCheckResult"]),
|
|
4259
|
-
healthCheckDate: !item["healthCheckDate"]
|
|
4260
|
-
? item["healthCheckDate"]
|
|
4261
|
-
: item["healthCheckDate"].toISOString(),
|
|
4262
|
-
state: item["state"],
|
|
4263
|
-
};
|
|
4264
|
-
}
|
|
4265
|
-
export function _updateSummariesPropertiesDeserializer(item) {
|
|
4266
|
-
return {
|
|
4267
|
-
provisioningState: item["provisioningState"],
|
|
4268
|
-
oemFamily: item["oemFamily"],
|
|
4269
|
-
currentOemVersion: item["currentOemVersion"],
|
|
4270
|
-
hardwareModel: item["hardwareModel"],
|
|
4271
|
-
packageVersions: !item["packageVersions"]
|
|
4272
|
-
? item["packageVersions"]
|
|
4273
|
-
: packageVersionInfoArrayDeserializer(item["packageVersions"]),
|
|
4274
|
-
currentVersion: item["currentVersion"],
|
|
4275
|
-
currentSbeVersion: item["currentSbeVersion"],
|
|
4276
|
-
lastUpdated: !item["lastUpdated"] ? item["lastUpdated"] : new Date(item["lastUpdated"]),
|
|
4277
|
-
lastChecked: !item["lastChecked"] ? item["lastChecked"] : new Date(item["lastChecked"]),
|
|
4278
|
-
healthState: item["healthState"],
|
|
4279
|
-
healthCheckResult: !item["healthCheckResult"]
|
|
4280
|
-
? item["healthCheckResult"]
|
|
4281
|
-
: precheckResultArrayDeserializer(item["healthCheckResult"]),
|
|
4282
|
-
healthCheckDate: !item["healthCheckDate"]
|
|
4283
|
-
? item["healthCheckDate"]
|
|
4284
|
-
: new Date(item["healthCheckDate"]),
|
|
4285
|
-
state: item["state"],
|
|
4286
|
-
};
|
|
4287
|
-
}
|
|
4288
|
-
//# sourceMappingURL=models.js.map
|