@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,560 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var models_exports = {};
|
|
19
|
+
__export(models_exports, {
|
|
20
|
+
KnownCreatedByType: () => KnownCreatedByType,
|
|
21
|
+
KnownHostType: () => KnownHostType,
|
|
22
|
+
KnownResourceIdentityType: () => KnownResourceIdentityType,
|
|
23
|
+
KnownVersions: () => KnownVersions,
|
|
24
|
+
_customLocationListResultDeserializer: () => _customLocationListResultDeserializer,
|
|
25
|
+
_customLocationOperationDisplayDeserializer: () => _customLocationOperationDisplayDeserializer,
|
|
26
|
+
_customLocationOperationsListDeserializer: () => _customLocationOperationsListDeserializer,
|
|
27
|
+
_customLocationPropertiesDeserializer: () => _customLocationPropertiesDeserializer,
|
|
28
|
+
_customLocationPropertiesSerializer: () => _customLocationPropertiesSerializer,
|
|
29
|
+
_enabledResourceTypePropertiesDeserializer: () => _enabledResourceTypePropertiesDeserializer,
|
|
30
|
+
_enabledResourceTypesListResultDeserializer: () => _enabledResourceTypesListResultDeserializer,
|
|
31
|
+
_resourceSyncRuleListResultDeserializer: () => _resourceSyncRuleListResultDeserializer,
|
|
32
|
+
_resourceSyncRulePropertiesDeserializer: () => _resourceSyncRulePropertiesDeserializer,
|
|
33
|
+
_resourceSyncRulePropertiesSerializer: () => _resourceSyncRulePropertiesSerializer,
|
|
34
|
+
customLocationArrayDeserializer: () => customLocationArrayDeserializer,
|
|
35
|
+
customLocationArraySerializer: () => customLocationArraySerializer,
|
|
36
|
+
customLocationDeserializer: () => customLocationDeserializer,
|
|
37
|
+
customLocationFindTargetResourceGroupPropertiesSerializer: () => customLocationFindTargetResourceGroupPropertiesSerializer,
|
|
38
|
+
customLocationFindTargetResourceGroupResultDeserializer: () => customLocationFindTargetResourceGroupResultDeserializer,
|
|
39
|
+
customLocationOperationArrayDeserializer: () => customLocationOperationArrayDeserializer,
|
|
40
|
+
customLocationOperationDeserializer: () => customLocationOperationDeserializer,
|
|
41
|
+
customLocationOperationValueDisplayDeserializer: () => customLocationOperationValueDisplayDeserializer,
|
|
42
|
+
customLocationPropertiesAuthenticationDeserializer: () => customLocationPropertiesAuthenticationDeserializer,
|
|
43
|
+
customLocationPropertiesAuthenticationSerializer: () => customLocationPropertiesAuthenticationSerializer,
|
|
44
|
+
customLocationPropertiesDeserializer: () => customLocationPropertiesDeserializer,
|
|
45
|
+
customLocationPropertiesSerializer: () => customLocationPropertiesSerializer,
|
|
46
|
+
customLocationSerializer: () => customLocationSerializer,
|
|
47
|
+
enabledResourceTypeArrayDeserializer: () => enabledResourceTypeArrayDeserializer,
|
|
48
|
+
enabledResourceTypeDeserializer: () => enabledResourceTypeDeserializer,
|
|
49
|
+
enabledResourceTypePropertiesDeserializer: () => enabledResourceTypePropertiesDeserializer,
|
|
50
|
+
enabledResourceTypePropertiesTypesMetadataItemArrayDeserializer: () => enabledResourceTypePropertiesTypesMetadataItemArrayDeserializer,
|
|
51
|
+
enabledResourceTypePropertiesTypesMetadataItemDeserializer: () => enabledResourceTypePropertiesTypesMetadataItemDeserializer,
|
|
52
|
+
errorAdditionalInfoArrayDeserializer: () => errorAdditionalInfoArrayDeserializer,
|
|
53
|
+
errorAdditionalInfoDeserializer: () => errorAdditionalInfoDeserializer,
|
|
54
|
+
errorDetailArrayDeserializer: () => errorDetailArrayDeserializer,
|
|
55
|
+
errorDetailDeserializer: () => errorDetailDeserializer,
|
|
56
|
+
errorResponseDeserializer: () => errorResponseDeserializer,
|
|
57
|
+
identityDeserializer: () => identityDeserializer,
|
|
58
|
+
identitySerializer: () => identitySerializer,
|
|
59
|
+
matchExpressionsPropertiesArrayDeserializer: () => matchExpressionsPropertiesArrayDeserializer,
|
|
60
|
+
matchExpressionsPropertiesArraySerializer: () => matchExpressionsPropertiesArraySerializer,
|
|
61
|
+
matchExpressionsPropertiesDeserializer: () => matchExpressionsPropertiesDeserializer,
|
|
62
|
+
matchExpressionsPropertiesSerializer: () => matchExpressionsPropertiesSerializer,
|
|
63
|
+
patchableCustomLocationsSerializer: () => patchableCustomLocationsSerializer,
|
|
64
|
+
patchableResourceSyncRuleSerializer: () => patchableResourceSyncRuleSerializer,
|
|
65
|
+
proxyResourceDeserializer: () => proxyResourceDeserializer,
|
|
66
|
+
resourceDeserializer: () => resourceDeserializer,
|
|
67
|
+
resourceSerializer: () => resourceSerializer,
|
|
68
|
+
resourceSyncRuleArrayDeserializer: () => resourceSyncRuleArrayDeserializer,
|
|
69
|
+
resourceSyncRuleArraySerializer: () => resourceSyncRuleArraySerializer,
|
|
70
|
+
resourceSyncRuleDeserializer: () => resourceSyncRuleDeserializer,
|
|
71
|
+
resourceSyncRulePropertiesDeserializer: () => resourceSyncRulePropertiesDeserializer,
|
|
72
|
+
resourceSyncRulePropertiesSelectorDeserializer: () => resourceSyncRulePropertiesSelectorDeserializer,
|
|
73
|
+
resourceSyncRulePropertiesSelectorSerializer: () => resourceSyncRulePropertiesSelectorSerializer,
|
|
74
|
+
resourceSyncRulePropertiesSerializer: () => resourceSyncRulePropertiesSerializer,
|
|
75
|
+
resourceSyncRuleSerializer: () => resourceSyncRuleSerializer,
|
|
76
|
+
systemDataDeserializer: () => systemDataDeserializer,
|
|
77
|
+
trackedResourceDeserializer: () => trackedResourceDeserializer,
|
|
78
|
+
trackedResourceSerializer: () => trackedResourceSerializer
|
|
79
|
+
});
|
|
80
|
+
module.exports = __toCommonJS(models_exports);
|
|
81
|
+
var import_check_prop_undefined = require("../static-helpers/serialization/check-prop-undefined.js");
|
|
82
|
+
function _customLocationOperationsListDeserializer(item) {
|
|
83
|
+
return {
|
|
84
|
+
nextLink: item["nextLink"],
|
|
85
|
+
value: customLocationOperationArrayDeserializer(item["value"])
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
function customLocationOperationArrayDeserializer(result) {
|
|
89
|
+
return result.map((item) => {
|
|
90
|
+
return customLocationOperationDeserializer(item);
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
function customLocationOperationDeserializer(item) {
|
|
94
|
+
return {
|
|
95
|
+
...!item["display"] ? item["display"] : _customLocationOperationDisplayDeserializer(item["display"]),
|
|
96
|
+
isDataAction: item["isDataAction"],
|
|
97
|
+
name: item["name"],
|
|
98
|
+
origin: item["origin"]
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
function customLocationOperationValueDisplayDeserializer(item) {
|
|
102
|
+
return {
|
|
103
|
+
description: item["description"],
|
|
104
|
+
operation: item["operation"],
|
|
105
|
+
provider: item["provider"],
|
|
106
|
+
resource: item["resource"]
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
function errorResponseDeserializer(item) {
|
|
110
|
+
return {
|
|
111
|
+
error: !item["error"] ? item["error"] : errorDetailDeserializer(item["error"])
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
function errorDetailDeserializer(item) {
|
|
115
|
+
return {
|
|
116
|
+
code: item["code"],
|
|
117
|
+
message: item["message"],
|
|
118
|
+
target: item["target"],
|
|
119
|
+
details: !item["details"] ? item["details"] : errorDetailArrayDeserializer(item["details"]),
|
|
120
|
+
additionalInfo: !item["additionalInfo"] ? item["additionalInfo"] : errorAdditionalInfoArrayDeserializer(item["additionalInfo"])
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
function errorDetailArrayDeserializer(result) {
|
|
124
|
+
return result.map((item) => {
|
|
125
|
+
return errorDetailDeserializer(item);
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
function errorAdditionalInfoArrayDeserializer(result) {
|
|
129
|
+
return result.map((item) => {
|
|
130
|
+
return errorAdditionalInfoDeserializer(item);
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
function errorAdditionalInfoDeserializer(item) {
|
|
134
|
+
return {
|
|
135
|
+
type: item["type"],
|
|
136
|
+
info: item["info"]
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
function customLocationSerializer(item) {
|
|
140
|
+
return {
|
|
141
|
+
tags: item["tags"],
|
|
142
|
+
location: item["location"],
|
|
143
|
+
properties: (0, import_check_prop_undefined.areAllPropsUndefined)(item, [
|
|
144
|
+
"authentication",
|
|
145
|
+
"clusterExtensionIds",
|
|
146
|
+
"displayName",
|
|
147
|
+
"hostResourceId",
|
|
148
|
+
"hostType",
|
|
149
|
+
"namespace",
|
|
150
|
+
"provisioningState"
|
|
151
|
+
]) ? void 0 : _customLocationPropertiesSerializer(item),
|
|
152
|
+
identity: !item["identity"] ? item["identity"] : identitySerializer(item["identity"])
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
function customLocationDeserializer(item) {
|
|
156
|
+
return {
|
|
157
|
+
tags: !item["tags"] ? item["tags"] : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
158
|
+
location: item["location"],
|
|
159
|
+
id: item["id"],
|
|
160
|
+
name: item["name"],
|
|
161
|
+
type: item["type"],
|
|
162
|
+
systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]),
|
|
163
|
+
...!item["properties"] ? item["properties"] : _customLocationPropertiesDeserializer(item["properties"]),
|
|
164
|
+
identity: !item["identity"] ? item["identity"] : identityDeserializer(item["identity"])
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
function customLocationPropertiesSerializer(item) {
|
|
168
|
+
return {
|
|
169
|
+
authentication: !item["authentication"] ? item["authentication"] : customLocationPropertiesAuthenticationSerializer(item["authentication"]),
|
|
170
|
+
clusterExtensionIds: !item["clusterExtensionIds"] ? item["clusterExtensionIds"] : item["clusterExtensionIds"].map((p) => {
|
|
171
|
+
return p;
|
|
172
|
+
}),
|
|
173
|
+
displayName: item["displayName"],
|
|
174
|
+
hostResourceId: item["hostResourceId"],
|
|
175
|
+
hostType: item["hostType"],
|
|
176
|
+
namespace: item["namespace"],
|
|
177
|
+
provisioningState: item["provisioningState"]
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
function customLocationPropertiesDeserializer(item) {
|
|
181
|
+
return {
|
|
182
|
+
authentication: !item["authentication"] ? item["authentication"] : customLocationPropertiesAuthenticationDeserializer(item["authentication"]),
|
|
183
|
+
clusterExtensionIds: !item["clusterExtensionIds"] ? item["clusterExtensionIds"] : item["clusterExtensionIds"].map((p) => {
|
|
184
|
+
return p;
|
|
185
|
+
}),
|
|
186
|
+
displayName: item["displayName"],
|
|
187
|
+
hostResourceId: item["hostResourceId"],
|
|
188
|
+
hostType: item["hostType"],
|
|
189
|
+
namespace: item["namespace"],
|
|
190
|
+
provisioningState: item["provisioningState"]
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
function customLocationPropertiesAuthenticationSerializer(item) {
|
|
194
|
+
return { type: item["type"], value: item["value"] };
|
|
195
|
+
}
|
|
196
|
+
function customLocationPropertiesAuthenticationDeserializer(item) {
|
|
197
|
+
return {
|
|
198
|
+
type: item["type"],
|
|
199
|
+
value: item["value"]
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
var KnownHostType = /* @__PURE__ */ ((KnownHostType2) => {
|
|
203
|
+
KnownHostType2["Kubernetes"] = "Kubernetes";
|
|
204
|
+
return KnownHostType2;
|
|
205
|
+
})(KnownHostType || {});
|
|
206
|
+
function identitySerializer(item) {
|
|
207
|
+
return { type: item["type"] };
|
|
208
|
+
}
|
|
209
|
+
function identityDeserializer(item) {
|
|
210
|
+
return {
|
|
211
|
+
principalId: item["principalId"],
|
|
212
|
+
tenantId: item["tenantId"],
|
|
213
|
+
type: item["type"]
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
var KnownResourceIdentityType = /* @__PURE__ */ ((KnownResourceIdentityType2) => {
|
|
217
|
+
KnownResourceIdentityType2["SystemAssigned"] = "SystemAssigned";
|
|
218
|
+
KnownResourceIdentityType2["None"] = "None";
|
|
219
|
+
return KnownResourceIdentityType2;
|
|
220
|
+
})(KnownResourceIdentityType || {});
|
|
221
|
+
function trackedResourceSerializer(item) {
|
|
222
|
+
return { tags: item["tags"], location: item["location"] };
|
|
223
|
+
}
|
|
224
|
+
function trackedResourceDeserializer(item) {
|
|
225
|
+
return {
|
|
226
|
+
id: item["id"],
|
|
227
|
+
name: item["name"],
|
|
228
|
+
type: item["type"],
|
|
229
|
+
systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]),
|
|
230
|
+
tags: !item["tags"] ? item["tags"] : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
231
|
+
location: item["location"]
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
function resourceSerializer(_item) {
|
|
235
|
+
return {};
|
|
236
|
+
}
|
|
237
|
+
function resourceDeserializer(item) {
|
|
238
|
+
return {
|
|
239
|
+
id: item["id"],
|
|
240
|
+
name: item["name"],
|
|
241
|
+
type: item["type"],
|
|
242
|
+
systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"])
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
function systemDataDeserializer(item) {
|
|
246
|
+
return {
|
|
247
|
+
createdBy: item["createdBy"],
|
|
248
|
+
createdByType: item["createdByType"],
|
|
249
|
+
createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"]),
|
|
250
|
+
lastModifiedBy: item["lastModifiedBy"],
|
|
251
|
+
lastModifiedByType: item["lastModifiedByType"],
|
|
252
|
+
lastModifiedAt: !item["lastModifiedAt"] ? item["lastModifiedAt"] : new Date(item["lastModifiedAt"])
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
var KnownCreatedByType = /* @__PURE__ */ ((KnownCreatedByType2) => {
|
|
256
|
+
KnownCreatedByType2["User"] = "User";
|
|
257
|
+
KnownCreatedByType2["Application"] = "Application";
|
|
258
|
+
KnownCreatedByType2["ManagedIdentity"] = "ManagedIdentity";
|
|
259
|
+
KnownCreatedByType2["Key"] = "Key";
|
|
260
|
+
return KnownCreatedByType2;
|
|
261
|
+
})(KnownCreatedByType || {});
|
|
262
|
+
function patchableCustomLocationsSerializer(item) {
|
|
263
|
+
return {
|
|
264
|
+
identity: !item["identity"] ? item["identity"] : identitySerializer(item["identity"]),
|
|
265
|
+
properties: !item["properties"] ? item["properties"] : customLocationPropertiesSerializer(item["properties"]),
|
|
266
|
+
tags: item["tags"]
|
|
267
|
+
};
|
|
268
|
+
}
|
|
269
|
+
function _customLocationListResultDeserializer(item) {
|
|
270
|
+
return {
|
|
271
|
+
nextLink: item["nextLink"],
|
|
272
|
+
value: !item["value"] ? item["value"] : customLocationArrayDeserializer(item["value"])
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
function customLocationArraySerializer(result) {
|
|
276
|
+
return result.map((item) => {
|
|
277
|
+
return customLocationSerializer(item);
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
function customLocationArrayDeserializer(result) {
|
|
281
|
+
return result.map((item) => {
|
|
282
|
+
return customLocationDeserializer(item);
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
function _enabledResourceTypesListResultDeserializer(item) {
|
|
286
|
+
return {
|
|
287
|
+
nextLink: item["nextLink"],
|
|
288
|
+
value: !item["value"] ? item["value"] : enabledResourceTypeArrayDeserializer(item["value"])
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
function enabledResourceTypeArrayDeserializer(result) {
|
|
292
|
+
return result.map((item) => {
|
|
293
|
+
return enabledResourceTypeDeserializer(item);
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
function enabledResourceTypeDeserializer(item) {
|
|
297
|
+
return {
|
|
298
|
+
id: item["id"],
|
|
299
|
+
name: item["name"],
|
|
300
|
+
type: item["type"],
|
|
301
|
+
systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]),
|
|
302
|
+
...!item["properties"] ? item["properties"] : _enabledResourceTypePropertiesDeserializer(item["properties"])
|
|
303
|
+
};
|
|
304
|
+
}
|
|
305
|
+
function enabledResourceTypePropertiesDeserializer(item) {
|
|
306
|
+
return {
|
|
307
|
+
clusterExtensionId: item["clusterExtensionId"],
|
|
308
|
+
extensionType: item["extensionType"],
|
|
309
|
+
typesMetadata: !item["typesMetadata"] ? item["typesMetadata"] : enabledResourceTypePropertiesTypesMetadataItemArrayDeserializer(item["typesMetadata"])
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
function enabledResourceTypePropertiesTypesMetadataItemArrayDeserializer(result) {
|
|
313
|
+
return result.map((item) => {
|
|
314
|
+
return enabledResourceTypePropertiesTypesMetadataItemDeserializer(item);
|
|
315
|
+
});
|
|
316
|
+
}
|
|
317
|
+
function enabledResourceTypePropertiesTypesMetadataItemDeserializer(item) {
|
|
318
|
+
return {
|
|
319
|
+
apiVersion: item["apiVersion"],
|
|
320
|
+
resourceProviderNamespace: item["resourceProviderNamespace"],
|
|
321
|
+
resourceType: item["resourceType"]
|
|
322
|
+
};
|
|
323
|
+
}
|
|
324
|
+
function proxyResourceDeserializer(item) {
|
|
325
|
+
return {
|
|
326
|
+
id: item["id"],
|
|
327
|
+
name: item["name"],
|
|
328
|
+
type: item["type"],
|
|
329
|
+
systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"])
|
|
330
|
+
};
|
|
331
|
+
}
|
|
332
|
+
function customLocationFindTargetResourceGroupPropertiesSerializer(item) {
|
|
333
|
+
return { labels: item["labels"] };
|
|
334
|
+
}
|
|
335
|
+
function customLocationFindTargetResourceGroupResultDeserializer(item) {
|
|
336
|
+
return {
|
|
337
|
+
matchedResourceSyncRule: item["matchedResourceSyncRule"],
|
|
338
|
+
targetResourceGroup: item["targetResourceGroup"]
|
|
339
|
+
};
|
|
340
|
+
}
|
|
341
|
+
function resourceSyncRuleSerializer(item) {
|
|
342
|
+
return {
|
|
343
|
+
tags: item["tags"],
|
|
344
|
+
location: item["location"],
|
|
345
|
+
properties: (0, import_check_prop_undefined.areAllPropsUndefined)(item, ["priority", "selector", "targetResourceGroup"]) ? void 0 : _resourceSyncRulePropertiesSerializer(item)
|
|
346
|
+
};
|
|
347
|
+
}
|
|
348
|
+
function resourceSyncRuleDeserializer(item) {
|
|
349
|
+
return {
|
|
350
|
+
tags: !item["tags"] ? item["tags"] : Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
351
|
+
location: item["location"],
|
|
352
|
+
id: item["id"],
|
|
353
|
+
name: item["name"],
|
|
354
|
+
type: item["type"],
|
|
355
|
+
systemData: !item["systemData"] ? item["systemData"] : systemDataDeserializer(item["systemData"]),
|
|
356
|
+
...!item["properties"] ? item["properties"] : _resourceSyncRulePropertiesDeserializer(item["properties"])
|
|
357
|
+
};
|
|
358
|
+
}
|
|
359
|
+
function resourceSyncRulePropertiesSerializer(item) {
|
|
360
|
+
return {
|
|
361
|
+
priority: item["priority"],
|
|
362
|
+
selector: !item["selector"] ? item["selector"] : resourceSyncRulePropertiesSelectorSerializer(item["selector"]),
|
|
363
|
+
targetResourceGroup: item["targetResourceGroup"]
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
function resourceSyncRulePropertiesDeserializer(item) {
|
|
367
|
+
return {
|
|
368
|
+
priority: item["priority"],
|
|
369
|
+
provisioningState: item["provisioningState"],
|
|
370
|
+
selector: !item["selector"] ? item["selector"] : resourceSyncRulePropertiesSelectorDeserializer(item["selector"]),
|
|
371
|
+
targetResourceGroup: item["targetResourceGroup"]
|
|
372
|
+
};
|
|
373
|
+
}
|
|
374
|
+
function resourceSyncRulePropertiesSelectorSerializer(item) {
|
|
375
|
+
return {
|
|
376
|
+
matchExpressions: !item["matchExpressions"] ? item["matchExpressions"] : matchExpressionsPropertiesArraySerializer(item["matchExpressions"]),
|
|
377
|
+
matchLabels: item["matchLabels"]
|
|
378
|
+
};
|
|
379
|
+
}
|
|
380
|
+
function resourceSyncRulePropertiesSelectorDeserializer(item) {
|
|
381
|
+
return {
|
|
382
|
+
matchExpressions: !item["matchExpressions"] ? item["matchExpressions"] : matchExpressionsPropertiesArrayDeserializer(item["matchExpressions"]),
|
|
383
|
+
matchLabels: !item["matchLabels"] ? item["matchLabels"] : Object.fromEntries(
|
|
384
|
+
Object.entries(item["matchLabels"]).map(([k, p]) => [k, p])
|
|
385
|
+
)
|
|
386
|
+
};
|
|
387
|
+
}
|
|
388
|
+
function matchExpressionsPropertiesArraySerializer(result) {
|
|
389
|
+
return result.map((item) => {
|
|
390
|
+
return matchExpressionsPropertiesSerializer(item);
|
|
391
|
+
});
|
|
392
|
+
}
|
|
393
|
+
function matchExpressionsPropertiesArrayDeserializer(result) {
|
|
394
|
+
return result.map((item) => {
|
|
395
|
+
return matchExpressionsPropertiesDeserializer(item);
|
|
396
|
+
});
|
|
397
|
+
}
|
|
398
|
+
function matchExpressionsPropertiesSerializer(item) {
|
|
399
|
+
return {
|
|
400
|
+
key: item["key"],
|
|
401
|
+
operator: item["operator"],
|
|
402
|
+
values: !item["values"] ? item["values"] : item["values"].map((p) => {
|
|
403
|
+
return p;
|
|
404
|
+
})
|
|
405
|
+
};
|
|
406
|
+
}
|
|
407
|
+
function matchExpressionsPropertiesDeserializer(item) {
|
|
408
|
+
return {
|
|
409
|
+
key: item["key"],
|
|
410
|
+
operator: item["operator"],
|
|
411
|
+
values: !item["values"] ? item["values"] : item["values"].map((p) => {
|
|
412
|
+
return p;
|
|
413
|
+
})
|
|
414
|
+
};
|
|
415
|
+
}
|
|
416
|
+
function patchableResourceSyncRuleSerializer(item) {
|
|
417
|
+
return {
|
|
418
|
+
properties: !item["properties"] ? item["properties"] : resourceSyncRulePropertiesSerializer(item["properties"]),
|
|
419
|
+
tags: item["tags"]
|
|
420
|
+
};
|
|
421
|
+
}
|
|
422
|
+
function _resourceSyncRuleListResultDeserializer(item) {
|
|
423
|
+
return {
|
|
424
|
+
nextLink: item["nextLink"],
|
|
425
|
+
value: !item["value"] ? item["value"] : resourceSyncRuleArrayDeserializer(item["value"])
|
|
426
|
+
};
|
|
427
|
+
}
|
|
428
|
+
function resourceSyncRuleArraySerializer(result) {
|
|
429
|
+
return result.map((item) => {
|
|
430
|
+
return resourceSyncRuleSerializer(item);
|
|
431
|
+
});
|
|
432
|
+
}
|
|
433
|
+
function resourceSyncRuleArrayDeserializer(result) {
|
|
434
|
+
return result.map((item) => {
|
|
435
|
+
return resourceSyncRuleDeserializer(item);
|
|
436
|
+
});
|
|
437
|
+
}
|
|
438
|
+
var KnownVersions = /* @__PURE__ */ ((KnownVersions2) => {
|
|
439
|
+
KnownVersions2["V20210831Preview"] = "2021-08-31-preview";
|
|
440
|
+
return KnownVersions2;
|
|
441
|
+
})(KnownVersions || {});
|
|
442
|
+
function _customLocationOperationDisplayDeserializer(item) {
|
|
443
|
+
return {
|
|
444
|
+
description: item["description"],
|
|
445
|
+
operation: item["operation"],
|
|
446
|
+
provider: item["provider"],
|
|
447
|
+
resource: item["resource"]
|
|
448
|
+
};
|
|
449
|
+
}
|
|
450
|
+
function _customLocationPropertiesSerializer(item) {
|
|
451
|
+
return {
|
|
452
|
+
authentication: !item["authentication"] ? item["authentication"] : customLocationPropertiesAuthenticationSerializer(item["authentication"]),
|
|
453
|
+
clusterExtensionIds: !item["clusterExtensionIds"] ? item["clusterExtensionIds"] : item["clusterExtensionIds"].map((p) => {
|
|
454
|
+
return p;
|
|
455
|
+
}),
|
|
456
|
+
displayName: item["displayName"],
|
|
457
|
+
hostResourceId: item["hostResourceId"],
|
|
458
|
+
hostType: item["hostType"],
|
|
459
|
+
namespace: item["namespace"],
|
|
460
|
+
provisioningState: item["provisioningState"]
|
|
461
|
+
};
|
|
462
|
+
}
|
|
463
|
+
function _customLocationPropertiesDeserializer(item) {
|
|
464
|
+
return {
|
|
465
|
+
authentication: !item["authentication"] ? item["authentication"] : customLocationPropertiesAuthenticationDeserializer(item["authentication"]),
|
|
466
|
+
clusterExtensionIds: !item["clusterExtensionIds"] ? item["clusterExtensionIds"] : item["clusterExtensionIds"].map((p) => {
|
|
467
|
+
return p;
|
|
468
|
+
}),
|
|
469
|
+
displayName: item["displayName"],
|
|
470
|
+
hostResourceId: item["hostResourceId"],
|
|
471
|
+
hostType: item["hostType"],
|
|
472
|
+
namespace: item["namespace"],
|
|
473
|
+
provisioningState: item["provisioningState"]
|
|
474
|
+
};
|
|
475
|
+
}
|
|
476
|
+
function _enabledResourceTypePropertiesDeserializer(item) {
|
|
477
|
+
return {
|
|
478
|
+
clusterExtensionId: item["clusterExtensionId"],
|
|
479
|
+
extensionType: item["extensionType"],
|
|
480
|
+
typesMetadata: !item["typesMetadata"] ? item["typesMetadata"] : enabledResourceTypePropertiesTypesMetadataItemArrayDeserializer(item["typesMetadata"])
|
|
481
|
+
};
|
|
482
|
+
}
|
|
483
|
+
function _resourceSyncRulePropertiesSerializer(item) {
|
|
484
|
+
return {
|
|
485
|
+
priority: item["priority"],
|
|
486
|
+
selector: !item["selector"] ? item["selector"] : resourceSyncRulePropertiesSelectorSerializer(item["selector"]),
|
|
487
|
+
targetResourceGroup: item["targetResourceGroup"]
|
|
488
|
+
};
|
|
489
|
+
}
|
|
490
|
+
function _resourceSyncRulePropertiesDeserializer(item) {
|
|
491
|
+
return {
|
|
492
|
+
priority: item["priority"],
|
|
493
|
+
provisioningState: item["provisioningState"],
|
|
494
|
+
selector: !item["selector"] ? item["selector"] : resourceSyncRulePropertiesSelectorDeserializer(item["selector"]),
|
|
495
|
+
targetResourceGroup: item["targetResourceGroup"]
|
|
496
|
+
};
|
|
497
|
+
}
|
|
498
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
499
|
+
0 && (module.exports = {
|
|
500
|
+
KnownCreatedByType,
|
|
501
|
+
KnownHostType,
|
|
502
|
+
KnownResourceIdentityType,
|
|
503
|
+
KnownVersions,
|
|
504
|
+
_customLocationListResultDeserializer,
|
|
505
|
+
_customLocationOperationDisplayDeserializer,
|
|
506
|
+
_customLocationOperationsListDeserializer,
|
|
507
|
+
_customLocationPropertiesDeserializer,
|
|
508
|
+
_customLocationPropertiesSerializer,
|
|
509
|
+
_enabledResourceTypePropertiesDeserializer,
|
|
510
|
+
_enabledResourceTypesListResultDeserializer,
|
|
511
|
+
_resourceSyncRuleListResultDeserializer,
|
|
512
|
+
_resourceSyncRulePropertiesDeserializer,
|
|
513
|
+
_resourceSyncRulePropertiesSerializer,
|
|
514
|
+
customLocationArrayDeserializer,
|
|
515
|
+
customLocationArraySerializer,
|
|
516
|
+
customLocationDeserializer,
|
|
517
|
+
customLocationFindTargetResourceGroupPropertiesSerializer,
|
|
518
|
+
customLocationFindTargetResourceGroupResultDeserializer,
|
|
519
|
+
customLocationOperationArrayDeserializer,
|
|
520
|
+
customLocationOperationDeserializer,
|
|
521
|
+
customLocationOperationValueDisplayDeserializer,
|
|
522
|
+
customLocationPropertiesAuthenticationDeserializer,
|
|
523
|
+
customLocationPropertiesAuthenticationSerializer,
|
|
524
|
+
customLocationPropertiesDeserializer,
|
|
525
|
+
customLocationPropertiesSerializer,
|
|
526
|
+
customLocationSerializer,
|
|
527
|
+
enabledResourceTypeArrayDeserializer,
|
|
528
|
+
enabledResourceTypeDeserializer,
|
|
529
|
+
enabledResourceTypePropertiesDeserializer,
|
|
530
|
+
enabledResourceTypePropertiesTypesMetadataItemArrayDeserializer,
|
|
531
|
+
enabledResourceTypePropertiesTypesMetadataItemDeserializer,
|
|
532
|
+
errorAdditionalInfoArrayDeserializer,
|
|
533
|
+
errorAdditionalInfoDeserializer,
|
|
534
|
+
errorDetailArrayDeserializer,
|
|
535
|
+
errorDetailDeserializer,
|
|
536
|
+
errorResponseDeserializer,
|
|
537
|
+
identityDeserializer,
|
|
538
|
+
identitySerializer,
|
|
539
|
+
matchExpressionsPropertiesArrayDeserializer,
|
|
540
|
+
matchExpressionsPropertiesArraySerializer,
|
|
541
|
+
matchExpressionsPropertiesDeserializer,
|
|
542
|
+
matchExpressionsPropertiesSerializer,
|
|
543
|
+
patchableCustomLocationsSerializer,
|
|
544
|
+
patchableResourceSyncRuleSerializer,
|
|
545
|
+
proxyResourceDeserializer,
|
|
546
|
+
resourceDeserializer,
|
|
547
|
+
resourceSerializer,
|
|
548
|
+
resourceSyncRuleArrayDeserializer,
|
|
549
|
+
resourceSyncRuleArraySerializer,
|
|
550
|
+
resourceSyncRuleDeserializer,
|
|
551
|
+
resourceSyncRulePropertiesDeserializer,
|
|
552
|
+
resourceSyncRulePropertiesSelectorDeserializer,
|
|
553
|
+
resourceSyncRulePropertiesSelectorSerializer,
|
|
554
|
+
resourceSyncRulePropertiesSerializer,
|
|
555
|
+
resourceSyncRuleSerializer,
|
|
556
|
+
systemDataDeserializer,
|
|
557
|
+
trackedResourceDeserializer,
|
|
558
|
+
trackedResourceSerializer
|
|
559
|
+
});
|
|
560
|
+
//# sourceMappingURL=models.js.map
|