@azure/arm-extendedlocation 1.0.0-beta.3 → 1.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +3 -3
- package/README.md +30 -24
- package/dist/browser/api/customLocations/index.d.ts +3 -0
- package/dist/browser/api/customLocations/index.js +4 -0
- package/dist/browser/api/customLocations/index.js.map +1 -0
- package/dist/browser/api/customLocations/operations.d.ts +43 -0
- package/dist/browser/api/customLocations/operations.js +305 -0
- package/dist/browser/api/customLocations/operations.js.map +1 -0
- package/dist/browser/api/customLocations/options.d.ts +39 -0
- package/dist/browser/api/customLocations/options.js +4 -0
- package/dist/browser/api/customLocations/options.js.map +1 -0
- package/dist/browser/api/customLocationsManagementContext.d.ts +22 -0
- package/dist/browser/api/customLocationsManagementContext.js +26 -0
- package/dist/browser/api/customLocationsManagementContext.js.map +1 -0
- package/dist/browser/api/index.d.ts +3 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/resourceSyncRules/index.d.ts +3 -0
- package/dist/browser/api/resourceSyncRules/index.js +4 -0
- package/dist/browser/api/resourceSyncRules/index.js.map +1 -0
- package/dist/browser/api/resourceSyncRules/operations.d.ts +27 -0
- package/dist/browser/api/resourceSyncRules/operations.js +181 -0
- package/dist/browser/api/resourceSyncRules/operations.js.map +1 -0
- package/dist/browser/api/resourceSyncRules/options.d.ts +25 -0
- package/dist/browser/api/resourceSyncRules/options.js +4 -0
- package/dist/browser/api/resourceSyncRules/options.js.map +1 -0
- package/dist/browser/classic/customLocations/index.d.ts +37 -0
- package/dist/browser/classic/customLocations/index.js +39 -0
- package/dist/browser/classic/customLocations/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +3 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/resourceSyncRules/index.d.ts +29 -0
- package/dist/browser/classic/resourceSyncRules/index.js +35 -0
- package/dist/browser/classic/resourceSyncRules/index.js.map +1 -0
- package/dist/browser/customLocationsManagementClient.d.ts +18 -0
- package/dist/browser/customLocationsManagementClient.js +37 -0
- package/dist/browser/customLocationsManagementClient.js.map +1 -0
- package/dist/browser/index.d.ts +18 -0
- package/dist/browser/index.js +9 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +3 -0
- package/dist/browser/models/index.js +4 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/models.d.ts +402 -0
- package/dist/browser/models/models.js +506 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.js +101 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/browser/static-helpers/pagingHelpers.js +143 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/browser/static-helpers/pollingHelpers.js +95 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
- package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +200 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/customLocations/index.d.ts +3 -0
- package/dist/commonjs/api/customLocations/index.js +44 -0
- package/dist/commonjs/api/customLocations/index.js.map +7 -0
- package/dist/commonjs/api/customLocations/operations.d.ts +43 -0
- package/dist/commonjs/api/customLocations/operations.js +434 -0
- package/dist/commonjs/api/customLocations/operations.js.map +7 -0
- package/dist/commonjs/api/customLocations/options.d.ts +39 -0
- package/dist/commonjs/api/customLocations/options.js +16 -0
- package/dist/commonjs/api/customLocations/options.js.map +7 -0
- package/dist/commonjs/api/customLocationsManagementContext.d.ts +22 -0
- package/dist/commonjs/api/customLocationsManagementContext.js +47 -0
- package/dist/commonjs/api/customLocationsManagementContext.js.map +7 -0
- package/dist/commonjs/api/index.d.ts +3 -0
- package/dist/commonjs/api/index.js +28 -0
- package/dist/commonjs/api/index.js.map +7 -0
- package/dist/commonjs/api/resourceSyncRules/index.d.ts +3 -0
- package/dist/commonjs/api/resourceSyncRules/index.js +36 -0
- package/dist/commonjs/api/resourceSyncRules/index.js.map +7 -0
- package/dist/commonjs/api/resourceSyncRules/operations.d.ts +27 -0
- package/dist/commonjs/api/resourceSyncRules/operations.js +271 -0
- package/dist/commonjs/api/resourceSyncRules/operations.js.map +7 -0
- package/dist/commonjs/api/resourceSyncRules/options.d.ts +25 -0
- package/dist/commonjs/api/resourceSyncRules/options.js +16 -0
- package/dist/commonjs/api/resourceSyncRules/options.js.map +7 -0
- package/dist/commonjs/classic/customLocations/index.d.ts +37 -0
- package/dist/commonjs/classic/customLocations/index.js +63 -0
- package/dist/commonjs/classic/customLocations/index.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +3 -0
- package/dist/commonjs/classic/index.js +16 -0
- package/dist/commonjs/classic/index.js.map +7 -0
- package/dist/commonjs/classic/resourceSyncRules/index.d.ts +29 -0
- package/dist/commonjs/classic/resourceSyncRules/index.js +80 -0
- package/dist/commonjs/classic/resourceSyncRules/index.js.map +7 -0
- package/dist/commonjs/customLocationsManagementClient.d.ts +18 -0
- package/dist/commonjs/customLocationsManagementClient.js +58 -0
- package/dist/commonjs/customLocationsManagementClient.js.map +7 -0
- package/dist/commonjs/index.d.ts +18 -0
- package/dist/commonjs/index.js +48 -0
- package/dist/commonjs/index.js.map +7 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.js +29 -0
- package/dist/commonjs/logger.js.map +7 -0
- package/dist/commonjs/models/index.d.ts +3 -0
- package/dist/commonjs/models/index.js +34 -0
- package/dist/commonjs/models/index.js.map +7 -0
- package/dist/commonjs/models/models.d.ts +402 -0
- package/dist/commonjs/models/models.js +560 -0
- package/dist/commonjs/models/models.js.map +7 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.js +114 -0
- package/dist/commonjs/restorePollerHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +35 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/api/customLocations/index.d.ts +3 -0
- package/dist/esm/api/customLocations/index.js +4 -0
- package/dist/esm/api/customLocations/index.js.map +1 -0
- package/dist/esm/api/customLocations/operations.d.ts +43 -0
- package/dist/esm/api/customLocations/operations.js +305 -0
- package/dist/esm/api/customLocations/operations.js.map +1 -0
- package/dist/esm/api/customLocations/options.d.ts +39 -0
- package/dist/esm/api/customLocations/options.js +4 -0
- package/dist/esm/api/customLocations/options.js.map +1 -0
- package/dist/esm/api/customLocationsManagementContext.d.ts +22 -0
- package/dist/esm/api/customLocationsManagementContext.js +26 -0
- package/dist/esm/api/customLocationsManagementContext.js.map +1 -0
- package/dist/esm/api/index.d.ts +3 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/resourceSyncRules/index.d.ts +3 -0
- package/dist/esm/api/resourceSyncRules/index.js +4 -0
- package/dist/esm/api/resourceSyncRules/index.js.map +1 -0
- package/dist/esm/api/resourceSyncRules/operations.d.ts +27 -0
- package/dist/esm/api/resourceSyncRules/operations.js +181 -0
- package/dist/esm/api/resourceSyncRules/operations.js.map +1 -0
- package/dist/esm/api/resourceSyncRules/options.d.ts +25 -0
- package/dist/esm/api/resourceSyncRules/options.js +4 -0
- package/dist/esm/api/resourceSyncRules/options.js.map +1 -0
- package/dist/esm/classic/customLocations/index.d.ts +37 -0
- package/dist/esm/classic/customLocations/index.js +39 -0
- package/dist/esm/classic/customLocations/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +3 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/resourceSyncRules/index.d.ts +29 -0
- package/dist/esm/classic/resourceSyncRules/index.js +35 -0
- package/dist/esm/classic/resourceSyncRules/index.js.map +1 -0
- package/dist/esm/customLocationsManagementClient.d.ts +18 -0
- package/dist/esm/customLocationsManagementClient.js +37 -0
- package/dist/esm/customLocationsManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +18 -0
- package/dist/esm/index.js +9 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/models.d.ts +402 -0
- package/dist/esm/models/models.js +506 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.js +101 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/esm/static-helpers/pagingHelpers.js +143 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/esm/static-helpers/pollingHelpers.js +95 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
- package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +200 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +151 -90
- package/CHANGELOG.md +0 -54
- package/dist/index.js +0 -2315
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.js +0 -50
- package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/customLocationsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/customLocationsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/customLocationsDeleteSample.js +0 -39
- package/dist-esm/samples-dev/customLocationsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.js +0 -42
- package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/customLocationsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/customLocationsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/customLocationsGetSample.js +0 -39
- package/dist-esm/samples-dev/customLocationsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.js +0 -52
- package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.js +0 -51
- package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.d.ts +0 -2
- package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.js +0 -53
- package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.js.map +0 -1
- package/dist-esm/samples-dev/customLocationsListOperationsSample.d.ts +0 -2
- package/dist-esm/samples-dev/customLocationsListOperationsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/customLocationsListOperationsSample.js +0 -51
- package/dist-esm/samples-dev/customLocationsListOperationsSample.js.map +0 -1
- package/dist-esm/samples-dev/customLocationsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/customLocationsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/customLocationsUpdateSample.js +0 -42
- package/dist-esm/samples-dev/customLocationsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.js +0 -49
- package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.js +0 -40
- package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/resourceSyncRulesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/resourceSyncRulesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/resourceSyncRulesGetSample.js +0 -40
- package/dist-esm/samples-dev/resourceSyncRulesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.js +0 -53
- package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.js.map +0 -1
- package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.js +0 -42
- package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.js.map +0 -1
- package/dist-esm/src/customLocationsManagementClient.d.ts +0 -21
- package/dist-esm/src/customLocationsManagementClient.d.ts.map +0 -1
- package/dist-esm/src/customLocationsManagementClient.js +0 -101
- package/dist-esm/src/customLocationsManagementClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -6
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js +0 -13
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.d.ts +0 -16
- package/dist-esm/src/lroImpl.d.ts.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -29
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.d.ts +0 -541
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js +0 -34
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.d.ts +0 -26
- package/dist-esm/src/models/mappers.d.ts.map +0 -1
- package/dist-esm/src/models/mappers.js +0 -777
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.d.ts +0 -27
- package/dist-esm/src/models/parameters.d.ts.map +0 -1
- package/dist-esm/src/models/parameters.js +0 -185
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/customLocations.d.ts +0 -155
- package/dist-esm/src/operations/customLocations.d.ts.map +0 -1
- package/dist-esm/src/operations/customLocations.js +0 -757
- package/dist-esm/src/operations/customLocations.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -3
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -10
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/resourceSyncRules.d.ts +0 -97
- package/dist-esm/src/operations/resourceSyncRules.d.ts.map +0 -1
- package/dist-esm/src/operations/resourceSyncRules.js +0 -411
- package/dist-esm/src/operations/resourceSyncRules.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/customLocations.d.ts +0 -86
- package/dist-esm/src/operationsInterfaces/customLocations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/customLocations.js +0 -9
- package/dist-esm/src/operationsInterfaces/customLocations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -10
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/resourceSyncRules.d.ts +0 -71
- package/dist-esm/src/operationsInterfaces/resourceSyncRules.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/resourceSyncRules.js +0 -9
- package/dist-esm/src/operationsInterfaces/resourceSyncRules.js.map +0 -1
- package/dist-esm/src/pagingHelper.d.ts +0 -13
- package/dist-esm/src/pagingHelper.d.ts.map +0 -1
- package/dist-esm/src/pagingHelper.js +0 -32
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/review/arm-extendedlocation.api.md +0 -434
- package/rollup.config.js +0 -122
- package/src/customLocationsManagementClient.ts +0 -142
- package/src/index.ts +0 -13
- package/src/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -606
- package/src/models/mappers.ts +0 -832
- package/src/models/parameters.ts +0 -225
- package/src/operations/customLocations.ts +0 -977
- package/src/operations/index.ts +0 -10
- package/src/operations/resourceSyncRules.ts +0 -575
- package/src/operationsInterfaces/customLocations.ts +0 -160
- package/src/operationsInterfaces/index.ts +0 -10
- package/src/operationsInterfaces/resourceSyncRules.ts +0 -136
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- package/types/arm-extendedlocation.d.ts +0 -790
|
@@ -0,0 +1,506 @@
|
|
|
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 _customLocationOperationsListDeserializer(item) {
|
|
5
|
+
return {
|
|
6
|
+
nextLink: item["nextLink"],
|
|
7
|
+
value: customLocationOperationArrayDeserializer(item["value"]),
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export function customLocationOperationArrayDeserializer(result) {
|
|
11
|
+
return result.map((item) => {
|
|
12
|
+
return customLocationOperationDeserializer(item);
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
export function customLocationOperationDeserializer(item) {
|
|
16
|
+
return {
|
|
17
|
+
...(!item["display"]
|
|
18
|
+
? item["display"]
|
|
19
|
+
: _customLocationOperationDisplayDeserializer(item["display"])),
|
|
20
|
+
isDataAction: item["isDataAction"],
|
|
21
|
+
name: item["name"],
|
|
22
|
+
origin: item["origin"],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export function customLocationOperationValueDisplayDeserializer(item) {
|
|
26
|
+
return {
|
|
27
|
+
description: item["description"],
|
|
28
|
+
operation: item["operation"],
|
|
29
|
+
provider: item["provider"],
|
|
30
|
+
resource: item["resource"],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function errorResponseDeserializer(item) {
|
|
34
|
+
return {
|
|
35
|
+
error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"]),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function errorDetailDeserializer(item) {
|
|
39
|
+
return {
|
|
40
|
+
code: item["code"],
|
|
41
|
+
message: item["message"],
|
|
42
|
+
target: item["target"],
|
|
43
|
+
details: !item["details"] ? item["details"] : errorDetailArrayDeserializer(item["details"]),
|
|
44
|
+
additionalInfo: !item["additionalInfo"]
|
|
45
|
+
? item["additionalInfo"]
|
|
46
|
+
: errorAdditionalInfoArrayDeserializer(item["additionalInfo"]),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export function errorDetailArrayDeserializer(result) {
|
|
50
|
+
return result.map((item) => {
|
|
51
|
+
return errorDetailDeserializer(item);
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
export function errorAdditionalInfoArrayDeserializer(result) {
|
|
55
|
+
return result.map((item) => {
|
|
56
|
+
return errorAdditionalInfoDeserializer(item);
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
export function errorAdditionalInfoDeserializer(item) {
|
|
60
|
+
return {
|
|
61
|
+
type: item["type"],
|
|
62
|
+
info: item["info"],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
export function customLocationSerializer(item) {
|
|
66
|
+
return {
|
|
67
|
+
tags: item["tags"],
|
|
68
|
+
location: item["location"],
|
|
69
|
+
properties: areAllPropsUndefined(item, [
|
|
70
|
+
"authentication",
|
|
71
|
+
"clusterExtensionIds",
|
|
72
|
+
"displayName",
|
|
73
|
+
"hostResourceId",
|
|
74
|
+
"hostType",
|
|
75
|
+
"namespace",
|
|
76
|
+
"provisioningState",
|
|
77
|
+
])
|
|
78
|
+
? undefined
|
|
79
|
+
: _customLocationPropertiesSerializer(item),
|
|
80
|
+
identity: !item["identity"] ? item["identity"] : identitySerializer(item["identity"]),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
export function customLocationDeserializer(item) {
|
|
84
|
+
return {
|
|
85
|
+
tags: !item["tags"]
|
|
86
|
+
? item["tags"]
|
|
87
|
+
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
88
|
+
location: item["location"],
|
|
89
|
+
id: item["id"],
|
|
90
|
+
name: item["name"],
|
|
91
|
+
type: item["type"],
|
|
92
|
+
systemData: !item["systemData"]
|
|
93
|
+
? item["systemData"]
|
|
94
|
+
: systemDataDeserializer(item["systemData"]),
|
|
95
|
+
...(!item["properties"]
|
|
96
|
+
? item["properties"]
|
|
97
|
+
: _customLocationPropertiesDeserializer(item["properties"])),
|
|
98
|
+
identity: !item["identity"] ? item["identity"] : identityDeserializer(item["identity"]),
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
export function customLocationPropertiesSerializer(item) {
|
|
102
|
+
return {
|
|
103
|
+
authentication: !item["authentication"]
|
|
104
|
+
? item["authentication"]
|
|
105
|
+
: customLocationPropertiesAuthenticationSerializer(item["authentication"]),
|
|
106
|
+
clusterExtensionIds: !item["clusterExtensionIds"]
|
|
107
|
+
? item["clusterExtensionIds"]
|
|
108
|
+
: item["clusterExtensionIds"].map((p) => {
|
|
109
|
+
return p;
|
|
110
|
+
}),
|
|
111
|
+
displayName: item["displayName"],
|
|
112
|
+
hostResourceId: item["hostResourceId"],
|
|
113
|
+
hostType: item["hostType"],
|
|
114
|
+
namespace: item["namespace"],
|
|
115
|
+
provisioningState: item["provisioningState"],
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
export function customLocationPropertiesDeserializer(item) {
|
|
119
|
+
return {
|
|
120
|
+
authentication: !item["authentication"]
|
|
121
|
+
? item["authentication"]
|
|
122
|
+
: customLocationPropertiesAuthenticationDeserializer(item["authentication"]),
|
|
123
|
+
clusterExtensionIds: !item["clusterExtensionIds"]
|
|
124
|
+
? item["clusterExtensionIds"]
|
|
125
|
+
: item["clusterExtensionIds"].map((p) => {
|
|
126
|
+
return p;
|
|
127
|
+
}),
|
|
128
|
+
displayName: item["displayName"],
|
|
129
|
+
hostResourceId: item["hostResourceId"],
|
|
130
|
+
hostType: item["hostType"],
|
|
131
|
+
namespace: item["namespace"],
|
|
132
|
+
provisioningState: item["provisioningState"],
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
export function customLocationPropertiesAuthenticationSerializer(item) {
|
|
136
|
+
return { type: item["type"], value: item["value"] };
|
|
137
|
+
}
|
|
138
|
+
export function customLocationPropertiesAuthenticationDeserializer(item) {
|
|
139
|
+
return {
|
|
140
|
+
type: item["type"],
|
|
141
|
+
value: item["value"],
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
/** Type of host the Custom Locations is referencing (Kubernetes, etc...). */
|
|
145
|
+
export var KnownHostType;
|
|
146
|
+
(function (KnownHostType) {
|
|
147
|
+
/** Kubernetes */
|
|
148
|
+
KnownHostType["Kubernetes"] = "Kubernetes";
|
|
149
|
+
})(KnownHostType || (KnownHostType = {}));
|
|
150
|
+
export function identitySerializer(item) {
|
|
151
|
+
return { type: item["type"] };
|
|
152
|
+
}
|
|
153
|
+
export function identityDeserializer(item) {
|
|
154
|
+
return {
|
|
155
|
+
principalId: item["principalId"],
|
|
156
|
+
tenantId: item["tenantId"],
|
|
157
|
+
type: item["type"],
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
/** The identity type. */
|
|
161
|
+
export var KnownResourceIdentityType;
|
|
162
|
+
(function (KnownResourceIdentityType) {
|
|
163
|
+
/** SystemAssigned */
|
|
164
|
+
KnownResourceIdentityType["SystemAssigned"] = "SystemAssigned";
|
|
165
|
+
/** None */
|
|
166
|
+
KnownResourceIdentityType["None"] = "None";
|
|
167
|
+
})(KnownResourceIdentityType || (KnownResourceIdentityType = {}));
|
|
168
|
+
export function trackedResourceSerializer(item) {
|
|
169
|
+
return { tags: item["tags"], location: item["location"] };
|
|
170
|
+
}
|
|
171
|
+
export function trackedResourceDeserializer(item) {
|
|
172
|
+
return {
|
|
173
|
+
id: item["id"],
|
|
174
|
+
name: item["name"],
|
|
175
|
+
type: item["type"],
|
|
176
|
+
systemData: !item["systemData"]
|
|
177
|
+
? item["systemData"]
|
|
178
|
+
: systemDataDeserializer(item["systemData"]),
|
|
179
|
+
tags: !item["tags"]
|
|
180
|
+
? item["tags"]
|
|
181
|
+
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
182
|
+
location: item["location"],
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
export function resourceSerializer(_item) {
|
|
186
|
+
return {};
|
|
187
|
+
}
|
|
188
|
+
export function resourceDeserializer(item) {
|
|
189
|
+
return {
|
|
190
|
+
id: item["id"],
|
|
191
|
+
name: item["name"],
|
|
192
|
+
type: item["type"],
|
|
193
|
+
systemData: !item["systemData"]
|
|
194
|
+
? item["systemData"]
|
|
195
|
+
: systemDataDeserializer(item["systemData"]),
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
export function systemDataDeserializer(item) {
|
|
199
|
+
return {
|
|
200
|
+
createdBy: item["createdBy"],
|
|
201
|
+
createdByType: item["createdByType"],
|
|
202
|
+
createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
|
|
203
|
+
lastModifiedBy: item["lastModifiedBy"],
|
|
204
|
+
lastModifiedByType: item["lastModifiedByType"],
|
|
205
|
+
lastModifiedAt: !item["lastModifiedAt"]
|
|
206
|
+
? item["lastModifiedAt"]
|
|
207
|
+
: new Date(item["lastModifiedAt"]),
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
/** The kind of entity that created the resource. */
|
|
211
|
+
export var KnownCreatedByType;
|
|
212
|
+
(function (KnownCreatedByType) {
|
|
213
|
+
/** The entity was created by a user. */
|
|
214
|
+
KnownCreatedByType["User"] = "User";
|
|
215
|
+
/** The entity was created by an application. */
|
|
216
|
+
KnownCreatedByType["Application"] = "Application";
|
|
217
|
+
/** The entity was created by a managed identity. */
|
|
218
|
+
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
219
|
+
/** The entity was created by a key. */
|
|
220
|
+
KnownCreatedByType["Key"] = "Key";
|
|
221
|
+
})(KnownCreatedByType || (KnownCreatedByType = {}));
|
|
222
|
+
export function patchableCustomLocationsSerializer(item) {
|
|
223
|
+
return {
|
|
224
|
+
identity: !item["identity"] ? item["identity"] : identitySerializer(item["identity"]),
|
|
225
|
+
properties: !item["properties"]
|
|
226
|
+
? item["properties"]
|
|
227
|
+
: customLocationPropertiesSerializer(item["properties"]),
|
|
228
|
+
tags: item["tags"],
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
export function _customLocationListResultDeserializer(item) {
|
|
232
|
+
return {
|
|
233
|
+
nextLink: item["nextLink"],
|
|
234
|
+
value: !item["value"] ? item["value"] : customLocationArrayDeserializer(item["value"]),
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
export function customLocationArraySerializer(result) {
|
|
238
|
+
return result.map((item) => {
|
|
239
|
+
return customLocationSerializer(item);
|
|
240
|
+
});
|
|
241
|
+
}
|
|
242
|
+
export function customLocationArrayDeserializer(result) {
|
|
243
|
+
return result.map((item) => {
|
|
244
|
+
return customLocationDeserializer(item);
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
export function _enabledResourceTypesListResultDeserializer(item) {
|
|
248
|
+
return {
|
|
249
|
+
nextLink: item["nextLink"],
|
|
250
|
+
value: !item["value"] ? item["value"] : enabledResourceTypeArrayDeserializer(item["value"]),
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
export function enabledResourceTypeArrayDeserializer(result) {
|
|
254
|
+
return result.map((item) => {
|
|
255
|
+
return enabledResourceTypeDeserializer(item);
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
export function enabledResourceTypeDeserializer(item) {
|
|
259
|
+
return {
|
|
260
|
+
id: item["id"],
|
|
261
|
+
name: item["name"],
|
|
262
|
+
type: item["type"],
|
|
263
|
+
systemData: !item["systemData"]
|
|
264
|
+
? item["systemData"]
|
|
265
|
+
: systemDataDeserializer(item["systemData"]),
|
|
266
|
+
...(!item["properties"]
|
|
267
|
+
? item["properties"]
|
|
268
|
+
: _enabledResourceTypePropertiesDeserializer(item["properties"])),
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
export function enabledResourceTypePropertiesDeserializer(item) {
|
|
272
|
+
return {
|
|
273
|
+
clusterExtensionId: item["clusterExtensionId"],
|
|
274
|
+
extensionType: item["extensionType"],
|
|
275
|
+
typesMetadata: !item["typesMetadata"]
|
|
276
|
+
? item["typesMetadata"]
|
|
277
|
+
: enabledResourceTypePropertiesTypesMetadataItemArrayDeserializer(item["typesMetadata"]),
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
export function enabledResourceTypePropertiesTypesMetadataItemArrayDeserializer(result) {
|
|
281
|
+
return result.map((item) => {
|
|
282
|
+
return enabledResourceTypePropertiesTypesMetadataItemDeserializer(item);
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
export function enabledResourceTypePropertiesTypesMetadataItemDeserializer(item) {
|
|
286
|
+
return {
|
|
287
|
+
apiVersion: item["apiVersion"],
|
|
288
|
+
resourceProviderNamespace: item["resourceProviderNamespace"],
|
|
289
|
+
resourceType: item["resourceType"],
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
export function proxyResourceDeserializer(item) {
|
|
293
|
+
return {
|
|
294
|
+
id: item["id"],
|
|
295
|
+
name: item["name"],
|
|
296
|
+
type: item["type"],
|
|
297
|
+
systemData: !item["systemData"]
|
|
298
|
+
? item["systemData"]
|
|
299
|
+
: systemDataDeserializer(item["systemData"]),
|
|
300
|
+
};
|
|
301
|
+
}
|
|
302
|
+
export function customLocationFindTargetResourceGroupPropertiesSerializer(item) {
|
|
303
|
+
return { labels: item["labels"] };
|
|
304
|
+
}
|
|
305
|
+
export function customLocationFindTargetResourceGroupResultDeserializer(item) {
|
|
306
|
+
return {
|
|
307
|
+
matchedResourceSyncRule: item["matchedResourceSyncRule"],
|
|
308
|
+
targetResourceGroup: item["targetResourceGroup"],
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
export function resourceSyncRuleSerializer(item) {
|
|
312
|
+
return {
|
|
313
|
+
tags: item["tags"],
|
|
314
|
+
location: item["location"],
|
|
315
|
+
properties: areAllPropsUndefined(item, ["priority", "selector", "targetResourceGroup"])
|
|
316
|
+
? undefined
|
|
317
|
+
: _resourceSyncRulePropertiesSerializer(item),
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
export function resourceSyncRuleDeserializer(item) {
|
|
321
|
+
return {
|
|
322
|
+
tags: !item["tags"]
|
|
323
|
+
? item["tags"]
|
|
324
|
+
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
325
|
+
location: item["location"],
|
|
326
|
+
id: item["id"],
|
|
327
|
+
name: item["name"],
|
|
328
|
+
type: item["type"],
|
|
329
|
+
systemData: !item["systemData"]
|
|
330
|
+
? item["systemData"]
|
|
331
|
+
: systemDataDeserializer(item["systemData"]),
|
|
332
|
+
...(!item["properties"]
|
|
333
|
+
? item["properties"]
|
|
334
|
+
: _resourceSyncRulePropertiesDeserializer(item["properties"])),
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
export function resourceSyncRulePropertiesSerializer(item) {
|
|
338
|
+
return {
|
|
339
|
+
priority: item["priority"],
|
|
340
|
+
selector: !item["selector"]
|
|
341
|
+
? item["selector"]
|
|
342
|
+
: resourceSyncRulePropertiesSelectorSerializer(item["selector"]),
|
|
343
|
+
targetResourceGroup: item["targetResourceGroup"],
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
export function resourceSyncRulePropertiesDeserializer(item) {
|
|
347
|
+
return {
|
|
348
|
+
priority: item["priority"],
|
|
349
|
+
provisioningState: item["provisioningState"],
|
|
350
|
+
selector: !item["selector"]
|
|
351
|
+
? item["selector"]
|
|
352
|
+
: resourceSyncRulePropertiesSelectorDeserializer(item["selector"]),
|
|
353
|
+
targetResourceGroup: item["targetResourceGroup"],
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
export function resourceSyncRulePropertiesSelectorSerializer(item) {
|
|
357
|
+
return {
|
|
358
|
+
matchExpressions: !item["matchExpressions"]
|
|
359
|
+
? item["matchExpressions"]
|
|
360
|
+
: matchExpressionsPropertiesArraySerializer(item["matchExpressions"]),
|
|
361
|
+
matchLabels: item["matchLabels"],
|
|
362
|
+
};
|
|
363
|
+
}
|
|
364
|
+
export function resourceSyncRulePropertiesSelectorDeserializer(item) {
|
|
365
|
+
return {
|
|
366
|
+
matchExpressions: !item["matchExpressions"]
|
|
367
|
+
? item["matchExpressions"]
|
|
368
|
+
: matchExpressionsPropertiesArrayDeserializer(item["matchExpressions"]),
|
|
369
|
+
matchLabels: !item["matchLabels"]
|
|
370
|
+
? item["matchLabels"]
|
|
371
|
+
: Object.fromEntries(Object.entries(item["matchLabels"]).map(([k, p]) => [k, p])),
|
|
372
|
+
};
|
|
373
|
+
}
|
|
374
|
+
export function matchExpressionsPropertiesArraySerializer(result) {
|
|
375
|
+
return result.map((item) => {
|
|
376
|
+
return matchExpressionsPropertiesSerializer(item);
|
|
377
|
+
});
|
|
378
|
+
}
|
|
379
|
+
export function matchExpressionsPropertiesArrayDeserializer(result) {
|
|
380
|
+
return result.map((item) => {
|
|
381
|
+
return matchExpressionsPropertiesDeserializer(item);
|
|
382
|
+
});
|
|
383
|
+
}
|
|
384
|
+
export function matchExpressionsPropertiesSerializer(item) {
|
|
385
|
+
return {
|
|
386
|
+
key: item["key"],
|
|
387
|
+
operator: item["operator"],
|
|
388
|
+
values: !item["values"]
|
|
389
|
+
? item["values"]
|
|
390
|
+
: item["values"].map((p) => {
|
|
391
|
+
return p;
|
|
392
|
+
}),
|
|
393
|
+
};
|
|
394
|
+
}
|
|
395
|
+
export function matchExpressionsPropertiesDeserializer(item) {
|
|
396
|
+
return {
|
|
397
|
+
key: item["key"],
|
|
398
|
+
operator: item["operator"],
|
|
399
|
+
values: !item["values"]
|
|
400
|
+
? item["values"]
|
|
401
|
+
: item["values"].map((p) => {
|
|
402
|
+
return p;
|
|
403
|
+
}),
|
|
404
|
+
};
|
|
405
|
+
}
|
|
406
|
+
export function patchableResourceSyncRuleSerializer(item) {
|
|
407
|
+
return {
|
|
408
|
+
properties: !item["properties"]
|
|
409
|
+
? item["properties"]
|
|
410
|
+
: resourceSyncRulePropertiesSerializer(item["properties"]),
|
|
411
|
+
tags: item["tags"],
|
|
412
|
+
};
|
|
413
|
+
}
|
|
414
|
+
export function _resourceSyncRuleListResultDeserializer(item) {
|
|
415
|
+
return {
|
|
416
|
+
nextLink: item["nextLink"],
|
|
417
|
+
value: !item["value"] ? item["value"] : resourceSyncRuleArrayDeserializer(item["value"]),
|
|
418
|
+
};
|
|
419
|
+
}
|
|
420
|
+
export function resourceSyncRuleArraySerializer(result) {
|
|
421
|
+
return result.map((item) => {
|
|
422
|
+
return resourceSyncRuleSerializer(item);
|
|
423
|
+
});
|
|
424
|
+
}
|
|
425
|
+
export function resourceSyncRuleArrayDeserializer(result) {
|
|
426
|
+
return result.map((item) => {
|
|
427
|
+
return resourceSyncRuleDeserializer(item);
|
|
428
|
+
});
|
|
429
|
+
}
|
|
430
|
+
/** The available API versions. */
|
|
431
|
+
export var KnownVersions;
|
|
432
|
+
(function (KnownVersions) {
|
|
433
|
+
/** The 2021-08-31-preview API version. */
|
|
434
|
+
KnownVersions["V20210831Preview"] = "2021-08-31-preview";
|
|
435
|
+
})(KnownVersions || (KnownVersions = {}));
|
|
436
|
+
export function _customLocationOperationDisplayDeserializer(item) {
|
|
437
|
+
return {
|
|
438
|
+
description: item["description"],
|
|
439
|
+
operation: item["operation"],
|
|
440
|
+
provider: item["provider"],
|
|
441
|
+
resource: item["resource"],
|
|
442
|
+
};
|
|
443
|
+
}
|
|
444
|
+
export function _customLocationPropertiesSerializer(item) {
|
|
445
|
+
return {
|
|
446
|
+
authentication: !item["authentication"]
|
|
447
|
+
? item["authentication"]
|
|
448
|
+
: customLocationPropertiesAuthenticationSerializer(item["authentication"]),
|
|
449
|
+
clusterExtensionIds: !item["clusterExtensionIds"]
|
|
450
|
+
? item["clusterExtensionIds"]
|
|
451
|
+
: item["clusterExtensionIds"].map((p) => {
|
|
452
|
+
return p;
|
|
453
|
+
}),
|
|
454
|
+
displayName: item["displayName"],
|
|
455
|
+
hostResourceId: item["hostResourceId"],
|
|
456
|
+
hostType: item["hostType"],
|
|
457
|
+
namespace: item["namespace"],
|
|
458
|
+
provisioningState: item["provisioningState"],
|
|
459
|
+
};
|
|
460
|
+
}
|
|
461
|
+
export function _customLocationPropertiesDeserializer(item) {
|
|
462
|
+
return {
|
|
463
|
+
authentication: !item["authentication"]
|
|
464
|
+
? item["authentication"]
|
|
465
|
+
: customLocationPropertiesAuthenticationDeserializer(item["authentication"]),
|
|
466
|
+
clusterExtensionIds: !item["clusterExtensionIds"]
|
|
467
|
+
? item["clusterExtensionIds"]
|
|
468
|
+
: item["clusterExtensionIds"].map((p) => {
|
|
469
|
+
return p;
|
|
470
|
+
}),
|
|
471
|
+
displayName: item["displayName"],
|
|
472
|
+
hostResourceId: item["hostResourceId"],
|
|
473
|
+
hostType: item["hostType"],
|
|
474
|
+
namespace: item["namespace"],
|
|
475
|
+
provisioningState: item["provisioningState"],
|
|
476
|
+
};
|
|
477
|
+
}
|
|
478
|
+
export function _enabledResourceTypePropertiesDeserializer(item) {
|
|
479
|
+
return {
|
|
480
|
+
clusterExtensionId: item["clusterExtensionId"],
|
|
481
|
+
extensionType: item["extensionType"],
|
|
482
|
+
typesMetadata: !item["typesMetadata"]
|
|
483
|
+
? item["typesMetadata"]
|
|
484
|
+
: enabledResourceTypePropertiesTypesMetadataItemArrayDeserializer(item["typesMetadata"]),
|
|
485
|
+
};
|
|
486
|
+
}
|
|
487
|
+
export function _resourceSyncRulePropertiesSerializer(item) {
|
|
488
|
+
return {
|
|
489
|
+
priority: item["priority"],
|
|
490
|
+
selector: !item["selector"]
|
|
491
|
+
? item["selector"]
|
|
492
|
+
: resourceSyncRulePropertiesSelectorSerializer(item["selector"]),
|
|
493
|
+
targetResourceGroup: item["targetResourceGroup"],
|
|
494
|
+
};
|
|
495
|
+
}
|
|
496
|
+
export function _resourceSyncRulePropertiesDeserializer(item) {
|
|
497
|
+
return {
|
|
498
|
+
priority: item["priority"],
|
|
499
|
+
provisioningState: item["provisioningState"],
|
|
500
|
+
selector: !item["selector"]
|
|
501
|
+
? item["selector"]
|
|
502
|
+
: resourceSyncRulePropertiesSelectorDeserializer(item["selector"]),
|
|
503
|
+
targetResourceGroup: item["targetResourceGroup"],
|
|
504
|
+
};
|
|
505
|
+
}
|
|
506
|
+
//# sourceMappingURL=models.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,oBAAoB,EAAE,MAAM,yDAAyD,CAAC;AAgB/F,MAAM,UAAU,yCAAyC,CACvD,IAAS;IAET,OAAO;QACL,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;QAC1B,KAAK,EAAE,wCAAwC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KAC/D,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,wCAAwC,CACtD,MAAsC;IAEtC,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACzB,OAAO,mCAAmC,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC,CAAC,CAAC;AACL,CAAC;AAoBD,MAAM,UAAU,mCAAmC,CAAC,IAAS;IAC3D,OAAO;QACL,GAAG,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;YAClB,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;YACjB,CAAC,CAAC,2CAA2C,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;QACjE,YAAY,EAAE,IAAI,CAAC,cAAc,CAAC;QAClC,IAAI,EAAE,IAAI,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llPropsUndefined } from \"../static-helpers/serialization/check-prop-undefined.js\";\n\n/**\n * This file contains only generated model types and their (de)serializers.\n * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.\n */\n/* eslint-disable @typescript-eslint/naming-convention */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/** Collection of CustomLocationOperation items */\nexport interface _CustomLocationOperationsList {\n /** The link to the next page of items */\n nextLink?: string;\n /** The CustomLocationOperation items */\n value: CustomLocationOperation[];\n}\n\nexport function _customLocationOperationsListDeserializer(\n item: any,\n): _CustomLocationOperationsList {\n return {\n nextLink: item[\"nextLink\"],\n value: customLocationOperationArrayDeserializer(item[\"value\"]),\n };\n}\n\nexport function customLocationOperationArrayDeserializer(\n result: Array<CustomLocationOperation>,\n): any[] {\n return result.map((item) => {\n return customLocationOperationDeserializer(item);\n });\n}\n\n/** Custom Locations operation. */\nexport interface CustomLocationOperation {\n /** Is this Operation a data plane operation */\n readonly isDataAction?: boolean;\n /** The name of the compute operation. */\n readonly name?: string;\n /** The origin of the compute operation. */\n readonly origin?: string;\n /** The description of the operation. */\n readonly description?: string;\n /** The display name of the compute operation. */\n readonly operation?: string;\n /** The resource provider for the operation. */\n readonly provider?: string;\n /** The display name of the resource the operation applies to. */\n readonly resource?: string;\n}\n\nexport function customLocationOperationDeserializer(item: any): CustomLocationOperation {\n return {\n ...(!item[\"display\"]\n ? item[\"display\"]\n : _customLocationOperationDisplayDeserializer(item[\"display\"])),\n isDataAction: item[\"isDataAction\"],\n name: item[\"name\"],\n origin: item[\"origin\"],\n };\n}\n\n/** Describes the properties of a Custom Locations Operation Value Display. */\nexport interface CustomLocationOperationValueDisplay {\n /** The description of the operation. */\n readonly description?: string;\n /** The display name of the compute operation. */\n readonly operation?: string;\n /** The resource provider for the operation. */\n readonly provider?: string;\n /** The display name of the resource the operation applies to. */\n readonly resource?: string;\n}\n\nexport function customLocationOperationValueDisplayDeserializer(\n item: any,\n): CustomLocationOperationValueDisplay {\n return {\n description: item[\"description\"],\n operation: item[\"operation\"],\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n };\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: any;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: item[\"info\"],\n };\n}\n\n/** Custom Locations definition. */\nexport interface CustomLocation extends TrackedResource {\n /** Identity for the resource. */\n identity?: Identity;\n /** This is optional input that contains the authentication that should be used to generate the namespace. */\n authentication?: CustomLocationPropertiesAuthentication;\n /** Contains the reference to the add-on that contains charts to deploy CRDs and operators. */\n clusterExtensionIds?: string[];\n /** Display name for the Custom Locations location. */\n displayName?: string;\n /** Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions. */\n hostResourceId?: string;\n /** Type of host the Custom Locations is referencing (Kubernetes, etc...). */\n hostType?: HostType;\n /** Kubernetes namespace that will be created on the specified cluster. */\n namespace?: string;\n /** Provisioning State for the Custom Location. */\n provisioningState?: string;\n}\n\nexport function customLocationSerializer(item: CustomLocation): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: areAllPropsUndefined(item, [\n \"authentication\",\n \"clusterExtensionIds\",\n \"displayName\",\n \"hostResourceId\",\n \"hostType\",\n \"namespace\",\n \"provisioningState\",\n ])\n ? undefined\n : _customLocationPropertiesSerializer(item),\n identity: !item[\"identity\"] ? item[\"identity\"] : identitySerializer(item[\"identity\"]),\n };\n}\n\nexport function customLocationDeserializer(item: any): CustomLocation {\n return {\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _customLocationPropertiesDeserializer(item[\"properties\"])),\n identity: !item[\"identity\"] ? item[\"identity\"] : identityDeserializer(item[\"identity\"]),\n };\n}\n\n/** Properties for a custom location. */\nexport interface CustomLocationProperties {\n /** This is optional input that contains the authentication that should be used to generate the namespace. */\n authentication?: CustomLocationPropertiesAuthentication;\n /** Contains the reference to the add-on that contains charts to deploy CRDs and operators. */\n clusterExtensionIds?: string[];\n /** Display name for the Custom Locations location. */\n displayName?: string;\n /** Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions. */\n hostResourceId?: string;\n /** Type of host the Custom Locations is referencing (Kubernetes, etc...). */\n hostType?: HostType;\n /** Kubernetes namespace that will be created on the specified cluster. */\n namespace?: string;\n /** Provisioning State for the Custom Location. */\n provisioningState?: string;\n}\n\nexport function customLocationPropertiesSerializer(item: CustomLocationProperties): any {\n return {\n authentication: !item[\"authentication\"]\n ? item[\"authentication\"]\n : customLocationPropertiesAuthenticationSerializer(item[\"authentication\"]),\n clusterExtensionIds: !item[\"clusterExtensionIds\"]\n ? item[\"clusterExtensionIds\"]\n : item[\"clusterExtensionIds\"].map((p: any) => {\n return p;\n }),\n displayName: item[\"displayName\"],\n hostResourceId: item[\"hostResourceId\"],\n hostType: item[\"hostType\"],\n namespace: item[\"namespace\"],\n provisioningState: item[\"provisioningState\"],\n };\n}\n\nexport function customLocationPropertiesDeserializer(item: any): CustomLocationProperties {\n return {\n authentication: !item[\"authentication\"]\n ? item[\"authentication\"]\n : customLocationPropertiesAuthenticationDeserializer(item[\"authentication\"]),\n clusterExtensionIds: !item[\"clusterExtensionIds\"]\n ? item[\"clusterExtensionIds\"]\n : item[\"clusterExtensionIds\"].map((p: any) => {\n return p;\n }),\n displayName: item[\"displayName\"],\n hostResourceId: item[\"hostResourceId\"],\n hostType: item[\"hostType\"],\n namespace: item[\"namespace\"],\n provisioningState: item[\"provisioningState\"],\n };\n}\n\n/** This is optional input that contains the authentication that should be used to generate the namespace. */\nexport interface CustomLocationPropertiesAuthentication {\n /** The type of the Custom Locations authentication */\n type?: string;\n /** The kubeconfig value. */\n value?: string;\n}\n\nexport function customLocationPropertiesAuthenticationSerializer(\n item: CustomLocationPropertiesAuthentication,\n): any {\n return { type: item[\"type\"], value: item[\"value\"] };\n}\n\nexport function customLocationPropertiesAuthenticationDeserializer(\n item: any,\n): CustomLocationPropertiesAuthentication {\n return {\n type: item[\"type\"],\n value: item[\"value\"],\n };\n}\n\n/** Type of host the Custom Locations is referencing (Kubernetes, etc...). */\nexport enum KnownHostType {\n /** Kubernetes */\n Kubernetes = \"Kubernetes\",\n}\n\n/**\n * Type of host the Custom Locations is referencing (Kubernetes, etc...). \\\n * {@link KnownHostType} can be used interchangeably with HostType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Kubernetes**: Kubernetes\n */\nexport type HostType = string;\n\n/** Identity for the resource. */\nexport interface Identity {\n /** The principal ID of resource identity. */\n readonly principalId?: string;\n /** The tenant ID of resource. */\n readonly tenantId?: string;\n /** The identity type. */\n type?: ResourceIdentityType;\n}\n\nexport function identitySerializer(item: Identity): any {\n return { type: item[\"type\"] };\n}\n\nexport function identityDeserializer(item: any): Identity {\n return {\n principalId: item[\"principalId\"],\n tenantId: item[\"tenantId\"],\n type: item[\"type\"],\n };\n}\n\n/** The identity type. */\nexport enum KnownResourceIdentityType {\n /** SystemAssigned */\n SystemAssigned = \"SystemAssigned\",\n /** None */\n None = \"None\",\n}\n\n/**\n * The identity type. \\\n * {@link KnownResourceIdentityType} can be used interchangeably with ResourceIdentityType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SystemAssigned**: SystemAssigned \\\n * **None**: None\n */\nexport type ResourceIdentityType = string;\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\nexport function trackedResourceSerializer(item: TrackedResource): any {\n return { tags: item[\"tags\"], location: item[\"location\"] };\n}\n\nexport function trackedResourceDeserializer(item: any): TrackedResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n location: item[\"location\"],\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(_item: Resource): any {\n return {};\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** The Custom Locations patchable resource definition. */\nexport interface PatchableCustomLocations {\n /** Identity for the resource. */\n identity?: Identity;\n /** The Custom Locations patchable properties. */\n properties?: CustomLocationProperties;\n /** Resource tags */\n tags?: Record<string, string>;\n}\n\nexport function patchableCustomLocationsSerializer(item: PatchableCustomLocations): any {\n return {\n identity: !item[\"identity\"] ? item[\"identity\"] : identitySerializer(item[\"identity\"]),\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : customLocationPropertiesSerializer(item[\"properties\"]),\n tags: item[\"tags\"],\n };\n}\n\n/** The List Custom Locations operation response. */\nexport interface _CustomLocationListResult {\n /** The URL to use for getting the next set of results. */\n readonly nextLink?: string;\n /** The list of Custom Locations. */\n readonly value?: CustomLocation[];\n}\n\nexport function _customLocationListResultDeserializer(item: any): _CustomLocationListResult {\n return {\n nextLink: item[\"nextLink\"],\n value: !item[\"value\"] ? item[\"value\"] : customLocationArrayDeserializer(item[\"value\"]),\n };\n}\n\nexport function customLocationArraySerializer(result: Array<CustomLocation>): any[] {\n return result.map((item) => {\n return customLocationSerializer(item);\n });\n}\n\nexport function customLocationArrayDeserializer(result: Array<CustomLocation>): any[] {\n return result.map((item) => {\n return customLocationDeserializer(item);\n });\n}\n\n/** List of EnabledResourceTypes definition. */\nexport interface _EnabledResourceTypesListResult {\n /** The URL to use for getting the next set of results. */\n readonly nextLink?: string;\n /** The list of EnabledResourceTypes available for a customLocation. */\n readonly value?: EnabledResourceType[];\n}\n\nexport function _enabledResourceTypesListResultDeserializer(\n item: any,\n): _EnabledResourceTypesListResult {\n return {\n nextLink: item[\"nextLink\"],\n value: !item[\"value\"] ? item[\"value\"] : enabledResourceTypeArrayDeserializer(item[\"value\"]),\n };\n}\n\nexport function enabledResourceTypeArrayDeserializer(result: Array<EnabledResourceType>): any[] {\n return result.map((item) => {\n return enabledResourceTypeDeserializer(item);\n });\n}\n\n/** EnabledResourceType definition. */\nexport interface EnabledResourceType extends ProxyResource {\n /** Metadata pertaining to creation and last modification of the resource */\n readonly systemData?: SystemData;\n /** Cluster Extension ID */\n clusterExtensionId?: string;\n /** Cluster Extension Type */\n extensionType?: string;\n /** Metadata of the Resource Type */\n typesMetadata?: EnabledResourceTypePropertiesTypesMetadataItem[];\n}\n\nexport function enabledResourceTypeDeserializer(item: any): EnabledResourceType {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _enabledResourceTypePropertiesDeserializer(item[\"properties\"])),\n };\n}\n\n/** Properties for EnabledResourceType of a custom location. */\nexport interface EnabledResourceTypeProperties {\n /** Cluster Extension ID */\n clusterExtensionId?: string;\n /** Cluster Extension Type */\n extensionType?: string;\n /** Metadata of the Resource Type */\n typesMetadata?: EnabledResourceTypePropertiesTypesMetadataItem[];\n}\n\nexport function enabledResourceTypePropertiesDeserializer(\n item: any,\n): EnabledResourceTypeProperties {\n return {\n clusterExtensionId: item[\"clusterExtensionId\"],\n extensionType: item[\"extensionType\"],\n typesMetadata: !item[\"typesMetadata\"]\n ? item[\"typesMetadata\"]\n : enabledResourceTypePropertiesTypesMetadataItemArrayDeserializer(item[\"typesMetadata\"]),\n };\n}\n\nexport function enabledResourceTypePropertiesTypesMetadataItemArrayDeserializer(\n result: Array<EnabledResourceTypePropertiesTypesMetadataItem>,\n): any[] {\n return result.map((item) => {\n return enabledResourceTypePropertiesTypesMetadataItemDeserializer(item);\n });\n}\n\n/** Metadata of the Resource Type. */\nexport interface EnabledResourceTypePropertiesTypesMetadataItem {\n /** Api Version of Resource Type */\n apiVersion?: string;\n /** Resource Provider Namespace of Resource Type */\n resourceProviderNamespace?: string;\n /** Resource Type */\n resourceType?: string;\n}\n\nexport function enabledResourceTypePropertiesTypesMetadataItemDeserializer(\n item: any,\n): EnabledResourceTypePropertiesTypesMetadataItem {\n return {\n apiVersion: item[\"apiVersion\"],\n resourceProviderNamespace: item[\"resourceProviderNamespace\"],\n resourceType: item[\"resourceType\"],\n };\n}\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** The Find Target Resource Group operation request. */\nexport interface CustomLocationFindTargetResourceGroupProperties {\n /** Labels of the custom resource, this is a map of {key,value} pairs. */\n labels?: Record<string, string>;\n}\n\nexport function customLocationFindTargetResourceGroupPropertiesSerializer(\n item: CustomLocationFindTargetResourceGroupProperties,\n): any {\n return { labels: item[\"labels\"] };\n}\n\n/** The Find Target Resource Group operation response. */\nexport interface CustomLocationFindTargetResourceGroupResult {\n /** The matching resource sync rule is the particular resource sync rule that matched the match expressions and labels and had lowest priority. This is the rule responsible for mapping the target resource to the target resource group. */\n readonly matchedResourceSyncRule?: string;\n /** The target resource group of matching resource sync rule. The labels from the request will be used to find out matching resource sync rule against the selector property of the resource sync rule. The one with highest priority will be returned if there are multiple matching rules. */\n readonly targetResourceGroup?: string;\n}\n\nexport function customLocationFindTargetResourceGroupResultDeserializer(\n item: any,\n): CustomLocationFindTargetResourceGroupResult {\n return {\n matchedResourceSyncRule: item[\"matchedResourceSyncRule\"],\n targetResourceGroup: item[\"targetResourceGroup\"],\n };\n}\n\n/** Resource Sync Rules definition. */\nexport interface ResourceSyncRule extends TrackedResource {\n /** Priority represents a priority of the Resource Sync Rule */\n priority?: number;\n /** Provisioning State for the Resource Sync Rule. */\n readonly provisioningState?: string;\n /** A label selector is composed of two parts, matchLabels and matchExpressions. The first part, matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'. The second part, matchExpressions is a list of resource selector requirements. Valid operators include In, NotIn, Exists, and DoesNotExist. The values set must be non-empty in the case of In and NotIn. The values set must be empty in the case of Exists and DoesNotExist. All of the requirements, from both matchLabels and matchExpressions must all be satisfied in order to match. */\n selector?: ResourceSyncRulePropertiesSelector;\n /** For an unmapped custom resource, its labels will be used to find matching resource sync rules. If this resource sync rule is one of the matching rules with highest priority, then the unmapped custom resource will be projected to the target resource group associated with this resource sync rule. The user creating this resource sync rule should have write permissions on the target resource group and this write permission will be validated when creating the resource sync rule. */\n targetResourceGroup?: string;\n}\n\nexport function resourceSyncRuleSerializer(item: ResourceSyncRule): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: areAllPropsUndefined(item, [\"priority\", \"selector\", \"targetResourceGroup\"])\n ? undefined\n : _resourceSyncRulePropertiesSerializer(item),\n };\n}\n\nexport function resourceSyncRuleDeserializer(item: any): ResourceSyncRule {\n return {\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _resourceSyncRulePropertiesDeserializer(item[\"properties\"])),\n };\n}\n\n/** Properties for a resource sync rule. For an unmapped custom resource, its labels will be used to find out matching resource sync rules using the selector property of the resource sync rule. If this resource sync rule has highest priority among all matching rules, then the unmapped custom resource will be projected to the target resource group associated with this resource sync rule. */\nexport interface ResourceSyncRuleProperties {\n /** Priority represents a priority of the Resource Sync Rule */\n priority?: number;\n /** Provisioning State for the Resource Sync Rule. */\n readonly provisioningState?: string;\n /** A label selector is composed of two parts, matchLabels and matchExpressions. The first part, matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'. The second part, matchExpressions is a list of resource selector requirements. Valid operators include In, NotIn, Exists, and DoesNotExist. The values set must be non-empty in the case of In and NotIn. The values set must be empty in the case of Exists and DoesNotExist. All of the requirements, from both matchLabels and matchExpressions must all be satisfied in order to match. */\n selector?: ResourceSyncRulePropertiesSelector;\n /** For an unmapped custom resource, its labels will be used to find matching resource sync rules. If this resource sync rule is one of the matching rules with highest priority, then the unmapped custom resource will be projected to the target resource group associated with this resource sync rule. The user creating this resource sync rule should have write permissions on the target resource group and this write permission will be validated when creating the resource sync rule. */\n targetResourceGroup?: string;\n}\n\nexport function resourceSyncRulePropertiesSerializer(item: ResourceSyncRuleProperties): any {\n return {\n priority: item[\"priority\"],\n selector: !item[\"selector\"]\n ? item[\"selector\"]\n : resourceSyncRulePropertiesSelectorSerializer(item[\"selector\"]),\n targetResourceGroup: item[\"targetResourceGroup\"],\n };\n}\n\nexport function resourceSyncRulePropertiesDeserializer(item: any): ResourceSyncRuleProperties {\n return {\n priority: item[\"priority\"],\n provisioningState: item[\"provisioningState\"],\n selector: !item[\"selector\"]\n ? item[\"selector\"]\n : resourceSyncRulePropertiesSelectorDeserializer(item[\"selector\"]),\n targetResourceGroup: item[\"targetResourceGroup\"],\n };\n}\n\n/** A label selector is composed of two parts, matchLabels and matchExpressions. The first part, matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'. The second part, matchExpressions is a list of resource selector requirements. Valid operators include In, NotIn, Exists, and DoesNotExist. The values set must be non-empty in the case of In and NotIn. The values set must be empty in the case of Exists and DoesNotExist. All of the requirements, from both matchLabels and matchExpressions must all be satisfied in order to match. */\nexport interface ResourceSyncRulePropertiesSelector {\n /** MatchExpressions is a list of resource selector requirements. Valid operators include In, NotIn, Exists, and DoesNotExist. The values set must be non-empty in the case of In and NotIn. The values set must be empty in the case of Exists and DoesNotExist. */\n matchExpressions?: MatchExpressionsProperties[];\n /** MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is 'key', the operator is 'In', and the values array contains only 'value'. */\n matchLabels?: Record<string, string>;\n}\n\nexport function resourceSyncRulePropertiesSelectorSerializer(\n item: ResourceSyncRulePropertiesSelector,\n): any {\n return {\n matchExpressions: !item[\"matchExpressions\"]\n ? item[\"matchExpressions\"]\n : matchExpressionsPropertiesArraySerializer(item[\"matchExpressions\"]),\n matchLabels: item[\"matchLabels\"],\n };\n}\n\nexport function resourceSyncRulePropertiesSelectorDeserializer(\n item: any,\n): ResourceSyncRulePropertiesSelector {\n return {\n matchExpressions: !item[\"matchExpressions\"]\n ? item[\"matchExpressions\"]\n : matchExpressionsPropertiesArrayDeserializer(item[\"matchExpressions\"]),\n matchLabels: !item[\"matchLabels\"]\n ? item[\"matchLabels\"]\n : Object.fromEntries(\n Object.entries(item[\"matchLabels\"]).map(([k, p]: [string, any]) => [k, p]),\n ),\n };\n}\n\nexport function matchExpressionsPropertiesArraySerializer(\n result: Array<MatchExpressionsProperties>,\n): any[] {\n return result.map((item) => {\n return matchExpressionsPropertiesSerializer(item);\n });\n}\n\nexport function matchExpressionsPropertiesArrayDeserializer(\n result: Array<MatchExpressionsProperties>,\n): any[] {\n return result.map((item) => {\n return matchExpressionsPropertiesDeserializer(item);\n });\n}\n\n/** Resource Sync Rules matchExpression property definition. */\nexport interface MatchExpressionsProperties {\n /** Key is the label key that the selector applies to. */\n key?: string;\n /** The Operator field represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist. */\n operator?: string;\n /** The label value */\n values?: string[];\n}\n\nexport function matchExpressionsPropertiesSerializer(item: MatchExpressionsProperties): any {\n return {\n key: item[\"key\"],\n operator: item[\"operator\"],\n values: !item[\"values\"]\n ? item[\"values\"]\n : item[\"values\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function matchExpressionsPropertiesDeserializer(item: any): MatchExpressionsProperties {\n return {\n key: item[\"key\"],\n operator: item[\"operator\"],\n values: !item[\"values\"]\n ? item[\"values\"]\n : item[\"values\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** The Resource Sync Rules patchable resource definition. */\nexport interface PatchableResourceSyncRule {\n /** The Resource Sync Rules patchable properties. */\n properties?: ResourceSyncRuleProperties;\n /** Resource tags */\n tags?: Record<string, string>;\n}\n\nexport function patchableResourceSyncRuleSerializer(item: PatchableResourceSyncRule): any {\n return {\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : resourceSyncRulePropertiesSerializer(item[\"properties\"]),\n tags: item[\"tags\"],\n };\n}\n\n/** The List Resource Sync Rules operation response. */\nexport interface _ResourceSyncRuleListResult {\n /** The URL to use for getting the next set of results. */\n readonly nextLink?: string;\n /** The list of Resource Sync Rules. */\n readonly value?: ResourceSyncRule[];\n}\n\nexport function _resourceSyncRuleListResultDeserializer(item: any): _ResourceSyncRuleListResult {\n return {\n nextLink: item[\"nextLink\"],\n value: !item[\"value\"] ? item[\"value\"] : resourceSyncRuleArrayDeserializer(item[\"value\"]),\n };\n}\n\nexport function resourceSyncRuleArraySerializer(result: Array<ResourceSyncRule>): any[] {\n return result.map((item) => {\n return resourceSyncRuleSerializer(item);\n });\n}\n\nexport function resourceSyncRuleArrayDeserializer(result: Array<ResourceSyncRule>): any[] {\n return result.map((item) => {\n return resourceSyncRuleDeserializer(item);\n });\n}\n\n/** The available API versions. */\nexport enum KnownVersions {\n /** The 2021-08-31-preview API version. */\n V20210831Preview = \"2021-08-31-preview\",\n}\n\nexport function _customLocationOperationDisplayDeserializer(item: any) {\n return {\n description: item[\"description\"],\n operation: item[\"operation\"],\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n };\n}\n\nexport function _customLocationPropertiesSerializer(item: CustomLocation): any {\n return {\n authentication: !item[\"authentication\"]\n ? item[\"authentication\"]\n : customLocationPropertiesAuthenticationSerializer(item[\"authentication\"]),\n clusterExtensionIds: !item[\"clusterExtensionIds\"]\n ? item[\"clusterExtensionIds\"]\n : item[\"clusterExtensionIds\"].map((p: any) => {\n return p;\n }),\n displayName: item[\"displayName\"],\n hostResourceId: item[\"hostResourceId\"],\n hostType: item[\"hostType\"],\n namespace: item[\"namespace\"],\n provisioningState: item[\"provisioningState\"],\n };\n}\n\nexport function _customLocationPropertiesDeserializer(item: any) {\n return {\n authentication: !item[\"authentication\"]\n ? item[\"authentication\"]\n : customLocationPropertiesAuthenticationDeserializer(item[\"authentication\"]),\n clusterExtensionIds: !item[\"clusterExtensionIds\"]\n ? item[\"clusterExtensionIds\"]\n : item[\"clusterExtensionIds\"].map((p: any) => {\n return p;\n }),\n displayName: item[\"displayName\"],\n hostResourceId: item[\"hostResourceId\"],\n hostType: item[\"hostType\"],\n namespace: item[\"namespace\"],\n provisioningState: item[\"provisioningState\"],\n };\n}\n\nexport function _enabledResourceTypePropertiesDeserializer(item: any) {\n return {\n clusterExtensionId: item[\"clusterExtensionId\"],\n extensionType: item[\"extensionType\"],\n typesMetadata: !item[\"typesMetadata\"]\n ? item[\"typesMetadata\"]\n : enabledResourceTypePropertiesTypesMetadataItemArrayDeserializer(item[\"typesMetadata\"]),\n };\n}\n\nexport function _resourceSyncRulePropertiesSerializer(item: ResourceSyncRule): any {\n return {\n priority: item[\"priority\"],\n selector: !item[\"selector\"]\n ? item[\"selector\"]\n : resourceSyncRulePropertiesSelectorSerializer(item[\"selector\"]),\n targetResourceGroup: item[\"targetResourceGroup\"],\n };\n}\n\nexport function _resourceSyncRulePropertiesDeserializer(item: any) {\n return {\n priority: item[\"priority\"],\n provisioningState: item[\"provisioningState\"],\n selector: !item[\"selector\"]\n ? item[\"selector\"]\n : resourceSyncRulePropertiesSelectorDeserializer(item[\"selector\"]),\n targetResourceGroup: item[\"targetResourceGroup\"],\n };\n}\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { CustomLocationsManagementClient } from "./customLocationsManagementClient.js";
|
|
2
|
+
import type { OperationOptions, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
3
|
+
import type { AbortSignalLike } from "@azure/abort-controller";
|
|
4
|
+
import type { PollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
export interface RestorePollerOptions<TResult, TResponse extends PathUncheckedResponse = PathUncheckedResponse> extends OperationOptions {
|
|
6
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
7
|
+
updateIntervalInMs?: number;
|
|
8
|
+
/**
|
|
9
|
+
* The signal which can be used to abort requests.
|
|
10
|
+
*/
|
|
11
|
+
abortSignal?: AbortSignalLike;
|
|
12
|
+
/** Deserialization function for raw response body */
|
|
13
|
+
processResponseBody?: (result: TResponse) => Promise<TResult>;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Creates a poller from the serialized state of another poller. This can be
|
|
17
|
+
* useful when you want to create pollers on a different host or a poller
|
|
18
|
+
* needs to be constructed after the original one is not in scope.
|
|
19
|
+
*/
|
|
20
|
+
export declare function restorePoller<TResponse extends PathUncheckedResponse, TResult>(client: CustomLocationsManagementClient, serializedState: string, sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult>): PollerLike<OperationState<TResult>, TResult>;
|
|
21
|
+
//# sourceMappingURL=restorePollerHelpers.d.ts.map
|