@azure/arm-extendedlocation 1.0.0-beta.3 → 1.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -4
- package/LICENSE +4 -4
- package/README.md +26 -17
- package/{dist-esm/src → dist/browser}/customLocationsManagementClient.d.ts +2 -2
- package/dist/browser/customLocationsManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/customLocationsManagementClient.js +31 -24
- package/dist/browser/customLocationsManagementClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/lroImpl.js +13 -9
- package/dist/browser/lroImpl.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +20 -20
- package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +55 -25
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/customLocations.d.ts +3 -3
- package/dist/browser/operations/customLocations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/customLocations.js +170 -228
- package/dist/browser/operations/customLocations.js.map +1 -0
- package/dist/browser/operations/index.d.ts +3 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +2 -2
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/resourceSyncRules.d.ts +3 -3
- package/dist/browser/operations/resourceSyncRules.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/resourceSyncRules.js +110 -123
- package/dist/browser/operations/resourceSyncRules.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/customLocations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/customLocations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/customLocations.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +3 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +2 -2
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/resourceSyncRules.d.ts +1 -1
- package/dist/browser/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/resourceSyncRules.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/customLocationsManagementClient.d.ts +21 -0
- package/dist/commonjs/customLocationsManagementClient.d.ts.map +1 -0
- package/dist/commonjs/customLocationsManagementClient.js +113 -0
- package/dist/commonjs/customLocationsManagementClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +16 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +37 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-extendedlocation.d.ts → dist/commonjs/models/index.d.ts} +541 -790
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +37 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +26 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +810 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +27 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +188 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/customLocations.d.ts +155 -0
- package/dist/commonjs/operations/customLocations.d.ts.map +1 -0
- package/dist/commonjs/operations/customLocations.js +704 -0
- package/dist/commonjs/operations/customLocations.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +3 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +13 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/resourceSyncRules.d.ts +97 -0
- package/dist/commonjs/operations/resourceSyncRules.d.ts.map +1 -0
- package/dist/commonjs/operations/resourceSyncRules.js +403 -0
- package/dist/commonjs/operations/resourceSyncRules.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/customLocations.d.ts +86 -0
- package/dist/commonjs/operationsInterfaces/customLocations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/customLocations.js +10 -0
- package/dist/commonjs/operationsInterfaces/customLocations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +13 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/resourceSyncRules.d.ts +71 -0
- package/dist/commonjs/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/resourceSyncRules.js +10 -0
- package/dist/commonjs/operationsInterfaces/resourceSyncRules.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/customLocationsManagementClient.d.ts +21 -0
- package/dist/esm/customLocationsManagementClient.d.ts.map +1 -0
- package/dist/esm/customLocationsManagementClient.js +108 -0
- package/dist/esm/customLocationsManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +33 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +541 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +34 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +26 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +807 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +27 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +185 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/customLocations.d.ts +155 -0
- package/dist/esm/operations/customLocations.d.ts.map +1 -0
- package/dist/esm/operations/customLocations.js +699 -0
- package/dist/esm/operations/customLocations.js.map +1 -0
- package/dist/esm/operations/index.d.ts +3 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +10 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/resourceSyncRules.d.ts +97 -0
- package/dist/esm/operations/resourceSyncRules.d.ts.map +1 -0
- package/dist/esm/operations/resourceSyncRules.js +398 -0
- package/dist/esm/operations/resourceSyncRules.js.map +1 -0
- package/dist/esm/operationsInterfaces/customLocations.d.ts +86 -0
- package/dist/esm/operationsInterfaces/customLocations.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/esm/operationsInterfaces/customLocations.js} +2 -3
- package/dist/esm/operationsInterfaces/customLocations.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +3 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +10 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/resourceSyncRules.d.ts +71 -0
- package/dist/esm/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
- package/{src/operationsInterfaces/index.ts → dist/esm/operationsInterfaces/resourceSyncRules.js} +2 -3
- package/dist/esm/operationsInterfaces/resourceSyncRules.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/customLocationsManagementClient.d.ts +21 -0
- package/dist/react-native/customLocationsManagementClient.d.ts.map +1 -0
- package/dist/react-native/customLocationsManagementClient.js +108 -0
- package/dist/react-native/customLocationsManagementClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +16 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +33 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +541 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +34 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +26 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +807 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +27 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +185 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/customLocations.d.ts +155 -0
- package/dist/react-native/operations/customLocations.d.ts.map +1 -0
- package/dist/react-native/operations/customLocations.js +699 -0
- package/dist/react-native/operations/customLocations.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +3 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +10 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/resourceSyncRules.d.ts +97 -0
- package/dist/react-native/operations/resourceSyncRules.d.ts.map +1 -0
- package/dist/react-native/operations/resourceSyncRules.js +398 -0
- package/dist/react-native/operations/resourceSyncRules.js.map +1 -0
- package/dist/react-native/operationsInterfaces/customLocations.d.ts +86 -0
- package/dist/react-native/operationsInterfaces/customLocations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/customLocations.js +9 -0
- package/dist/react-native/operationsInterfaces/customLocations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +10 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/resourceSyncRules.d.ts +71 -0
- package/dist/react-native/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/resourceSyncRules.js +9 -0
- package/dist/react-native/operationsInterfaces/resourceSyncRules.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +87 -78
- 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.map +0 -1
- 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.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/customLocations.d.ts.map +0 -1
- 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.js.map +0 -1
- package/dist-esm/src/operations/resourceSyncRules.d.ts.map +0 -1
- package/dist-esm/src/operations/resourceSyncRules.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/customLocations.d.ts.map +0 -1
- 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.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/resourceSyncRules.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/resourceSyncRules.js.map +0 -1
- 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/rollup.config.js +0 -122
- package/src/customLocationsManagementClient.ts +0 -142
- 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/resourceSyncRules.ts +0 -575
- package/src/operationsInterfaces/customLocations.ts +0 -160
- package/src/operationsInterfaces/resourceSyncRules.ts +0 -136
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/customLocations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/resourceSyncRules.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/review/{arm-extendedlocation.api.md → arm-extendedlocation-node.api.md} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,18 +1,28 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.4 (Unreleased)
|
|
4
|
+
|
|
5
|
+
### Features Added
|
|
6
|
+
|
|
7
|
+
### Breaking Changes
|
|
8
|
+
|
|
9
|
+
### Bugs Fixed
|
|
10
|
+
|
|
11
|
+
### Other Changes
|
|
12
|
+
|
|
3
13
|
## 1.0.0-beta.3 (2023-01-10)
|
|
4
14
|
|
|
5
|
-
|
|
15
|
+
### Features Added
|
|
6
16
|
|
|
7
17
|
- Exposes `getContinuationToken` helper function to extract continuation token
|
|
8
18
|
|
|
9
|
-
|
|
19
|
+
### Bugs Fixed
|
|
10
20
|
|
|
11
21
|
- A series of small bug fixs relevant to authentication and apiVersion policy
|
|
12
22
|
|
|
13
23
|
## 1.0.0-beta.2 (2022-07-20)
|
|
14
24
|
|
|
15
|
-
|
|
25
|
+
### Features Added
|
|
16
26
|
|
|
17
27
|
- Added operation group ResourceSyncRules
|
|
18
28
|
- Added operation CustomLocations.findTargetResourceGroup
|
|
@@ -45,7 +55,7 @@
|
|
|
45
55
|
- Class CustomLocationsManagementClient has a new parameter resourceSyncRules
|
|
46
56
|
- Class CustomLocationsManagementClient has a new parameter subscriptionId
|
|
47
57
|
|
|
48
|
-
|
|
58
|
+
### Breaking Changes
|
|
49
59
|
|
|
50
60
|
- Deleted Class CustomLocationsManagementClientContext
|
|
51
61
|
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
Copyright (c) Microsoft Corporation.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
MIT License
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -12,10 +12,10 @@ furnished to do so, subject to the following conditions:
|
|
|
12
12
|
The above copyright notice and this permission notice shall be included in all
|
|
13
13
|
copies or substantial portions of the Software.
|
|
14
14
|
|
|
15
|
-
THE SOFTWARE IS PROVIDED
|
|
15
|
+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
16
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ The customLocations Rest API spec.
|
|
|
6
6
|
|
|
7
7
|
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/extendedlocation/arm-extendedlocation) |
|
|
8
8
|
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-extendedlocation) |
|
|
9
|
-
[API reference documentation](https://
|
|
9
|
+
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-extendedlocation?view=azure-node-preview) |
|
|
10
10
|
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
|
|
11
11
|
|
|
12
12
|
## Getting started
|
|
@@ -46,26 +46,34 @@ npm install @azure/identity
|
|
|
46
46
|
You will also need to **register a new AAD application and grant access to Azure CustomLocationsManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
|
|
47
47
|
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
|
|
48
48
|
|
|
49
|
-
For more information about how to create an Azure AD Application check out [this guide](https://
|
|
49
|
+
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
|
|
52
|
+
|
|
53
|
+
```ts snippet:ReadmeSampleCreateClient_Node
|
|
54
|
+
import { CustomLocationsManagementClient } from "@azure/arm-extendedlocation";
|
|
55
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
55
56
|
|
|
56
57
|
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
57
58
|
const client = new CustomLocationsManagementClient(new DefaultAzureCredential(), subscriptionId);
|
|
58
|
-
|
|
59
|
-
// For client-side applications running in the browser, use this code instead:
|
|
60
|
-
// const credential = new InteractiveBrowserCredential({
|
|
61
|
-
// tenantId: "<YOUR_TENANT_ID>",
|
|
62
|
-
// clientId: "<YOUR_CLIENT_ID>"
|
|
63
|
-
// });
|
|
64
|
-
// const client = new CustomLocationsManagementClient(credential, subscriptionId);
|
|
65
59
|
```
|
|
66
60
|
|
|
61
|
+
For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
|
|
62
|
+
|
|
63
|
+
```ts snippet:ReadmeSampleCreateClient_Browser
|
|
64
|
+
import { InteractiveBrowserCredential } from "@azure/identity";
|
|
65
|
+
import { CustomLocationsManagementClient } from "@azure/arm-extendedlocation";
|
|
66
|
+
|
|
67
|
+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
68
|
+
const credential = new InteractiveBrowserCredential({
|
|
69
|
+
tenantId: "<YOUR_TENANT_ID>",
|
|
70
|
+
clientId: "<YOUR_CLIENT_ID>",
|
|
71
|
+
});
|
|
72
|
+
const client = new CustomLocationsManagementClient(credential, subscriptionId);
|
|
73
|
+
```
|
|
67
74
|
|
|
68
75
|
### JavaScript Bundle
|
|
76
|
+
|
|
69
77
|
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
|
|
70
78
|
|
|
71
79
|
## Key concepts
|
|
@@ -80,8 +88,9 @@ To use this client library in the browser, first you need to use a bundler. For
|
|
|
80
88
|
|
|
81
89
|
Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
|
|
82
90
|
|
|
83
|
-
```
|
|
84
|
-
|
|
91
|
+
```ts snippet:SetLogLevel
|
|
92
|
+
import { setLogLevel } from "@azure/logger";
|
|
93
|
+
|
|
85
94
|
setLogLevel("info");
|
|
86
95
|
```
|
|
87
96
|
|
|
@@ -99,9 +108,9 @@ If you'd like to contribute to this library, please read the [contributing guide
|
|
|
99
108
|
|
|
100
109
|
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
|
|
101
110
|
|
|
102
|
-

|
|
103
111
|
|
|
104
|
-
|
|
112
|
+
|
|
113
|
+
[azure_cli]: https://learn.microsoft.com/cli/azure
|
|
105
114
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
106
115
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
107
116
|
[azure_portal]: https://portal.azure.com
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
2
|
import * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import { CustomLocations, ResourceSyncRules } from "./operationsInterfaces";
|
|
4
|
-
import { CustomLocationsManagementClientOptionalParams } from "./models";
|
|
3
|
+
import { CustomLocations, ResourceSyncRules } from "./operationsInterfaces/index.js";
|
|
4
|
+
import { CustomLocationsManagementClientOptionalParams } from "./models/index.js";
|
|
5
5
|
export declare class CustomLocationsManagementClient extends coreClient.ServiceClient {
|
|
6
6
|
$host: string;
|
|
7
7
|
apiVersion: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customLocationsManagementClient.d.ts","sourceRoot":"","sources":["../../src/customLocationsManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACrF,OAAO,EAAE,6CAA6C,EAAE,MAAM,mBAAmB,CAAC;AAElF,qBAAa,+BAAgC,SAAQ,UAAU,CAAC,aAAa;IAC3E,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,6CAA6C;IA6EzD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,eAAe,EAAE,eAAe,CAAC;IACjC,iBAAiB,EAAE,iBAAiB,CAAC;CACtC"}
|
|
@@ -5,11 +5,13 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
8
|
import * as coreClient from "@azure/core-client";
|
|
10
9
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
11
|
-
import { CustomLocationsImpl, ResourceSyncRulesImpl } from "./operations";
|
|
10
|
+
import { CustomLocationsImpl, ResourceSyncRulesImpl } from "./operations/index.js";
|
|
12
11
|
export class CustomLocationsManagementClient extends coreClient.ServiceClient {
|
|
12
|
+
$host;
|
|
13
|
+
apiVersion;
|
|
14
|
+
subscriptionId;
|
|
13
15
|
/**
|
|
14
16
|
* Initializes a new instance of the CustomLocationsManagementClient class.
|
|
15
17
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -17,7 +19,6 @@ export class CustomLocationsManagementClient extends coreClient.ServiceClient {
|
|
|
17
19
|
* @param options The parameter options
|
|
18
20
|
*/
|
|
19
21
|
constructor(credentials, subscriptionId, options) {
|
|
20
|
-
var _a, _b, _c;
|
|
21
22
|
if (credentials === undefined) {
|
|
22
23
|
throw new Error("'credentials' cannot be null");
|
|
23
24
|
}
|
|
@@ -32,16 +33,21 @@ export class CustomLocationsManagementClient extends coreClient.ServiceClient {
|
|
|
32
33
|
requestContentType: "application/json; charset=utf-8",
|
|
33
34
|
credential: credentials
|
|
34
35
|
};
|
|
35
|
-
const packageDetails = `azsdk-js-arm-extendedlocation/1.0.0-beta.
|
|
36
|
+
const packageDetails = `azsdk-js-arm-extendedlocation/1.0.0-beta.4`;
|
|
36
37
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
37
38
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
38
39
|
: `${packageDetails}`;
|
|
39
|
-
const optionsWithDefaults =
|
|
40
|
+
const optionsWithDefaults = {
|
|
41
|
+
...defaults,
|
|
42
|
+
...options,
|
|
43
|
+
userAgentOptions: {
|
|
40
44
|
userAgentPrefix
|
|
41
|
-
},
|
|
45
|
+
},
|
|
46
|
+
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
|
|
47
|
+
};
|
|
42
48
|
super(optionsWithDefaults);
|
|
43
49
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
44
|
-
if (
|
|
50
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
45
51
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
46
52
|
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
47
53
|
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
@@ -55,7 +61,8 @@ export class CustomLocationsManagementClient extends coreClient.ServiceClient {
|
|
|
55
61
|
});
|
|
56
62
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
57
63
|
credential: credentials,
|
|
58
|
-
scopes:
|
|
64
|
+
scopes: optionsWithDefaults.credentialScopes ??
|
|
65
|
+
`${optionsWithDefaults.endpoint}/.default`,
|
|
59
66
|
challengeCallbacks: {
|
|
60
67
|
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
61
68
|
}
|
|
@@ -77,25 +84,25 @@ export class CustomLocationsManagementClient extends coreClient.ServiceClient {
|
|
|
77
84
|
}
|
|
78
85
|
const apiVersionPolicy = {
|
|
79
86
|
name: "CustomApiVersionPolicy",
|
|
80
|
-
sendRequest(request, next) {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
return next(request);
|
|
95
|
-
});
|
|
87
|
+
async sendRequest(request, next) {
|
|
88
|
+
const param = request.url.split("?");
|
|
89
|
+
if (param.length > 1) {
|
|
90
|
+
const newParams = param[1].split("&").map((item) => {
|
|
91
|
+
if (item.indexOf("api-version") > -1) {
|
|
92
|
+
return "api-version=" + apiVersion;
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
return item;
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
99
|
+
}
|
|
100
|
+
return next(request);
|
|
96
101
|
}
|
|
97
102
|
};
|
|
98
103
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
99
104
|
}
|
|
105
|
+
customLocations;
|
|
106
|
+
resourceSyncRules;
|
|
100
107
|
}
|
|
101
108
|
//# sourceMappingURL=customLocationsManagementClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customLocationsManagementClient.js","sourceRoot":"","sources":["../../src/customLocationsManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAInF,MAAM,OAAO,+BAAgC,SAAQ,UAAU,CAAC,aAAa;IAC3E,KAAK,CAAS;IACd,UAAU,CAAS;IACnB,cAAc,CAAS;IAEvB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAuD;QAEvD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI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,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,eAAe,CAAkB;IACjC,iBAAiB,CAAoB;CACtC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { CustomLocationsImpl, ResourceSyncRulesImpl } from \"./operations/index.js\";\nimport { CustomLocations, ResourceSyncRules } from \"./operationsInterfaces/index.js\";\nimport { CustomLocationsManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class CustomLocationsManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the CustomLocationsManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: CustomLocationsManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: CustomLocationsManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-extendedlocation/1.0.0-beta.4`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2021-08-31-preview\";\n this.customLocations = new CustomLocationsImpl(this);\n this.resourceSyncRules = new ResourceSyncRulesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n customLocations: CustomLocations;\n resourceSyncRules: ResourceSyncRules;\n}\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { getContinuationToken } from "./pagingHelper.js";
|
|
2
|
+
export * from "./models/index.js";
|
|
3
|
+
export { CustomLocationsManagementClient } from "./customLocationsManagementClient.js";
|
|
4
|
+
export * from "./operationsInterfaces/index.js";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,cAAc,iCAAiC,CAAC"}
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
/// <reference lib="esnext.asynciterable" />
|
|
9
|
-
export { getContinuationToken } from "./pagingHelper";
|
|
10
|
-
export * from "./models";
|
|
11
|
-
export { CustomLocationsManagementClient } from "./customLocationsManagementClient";
|
|
12
|
-
export * from "./operationsInterfaces";
|
|
9
|
+
export { getContinuationToken } from "./pagingHelper.js";
|
|
10
|
+
export * from "./models/index.js";
|
|
11
|
+
export { CustomLocationsManagementClient } from "./customLocationsManagementClient.js";
|
|
12
|
+
export * from "./operationsInterfaces/index.js";
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,cAAc,iCAAiC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { CustomLocationsManagementClient } from \"./customLocationsManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
|
@@ -5,8 +5,12 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __awaiter, __rest } from "tslib";
|
|
9
8
|
export class LroImpl {
|
|
9
|
+
sendOperationFn;
|
|
10
|
+
args;
|
|
11
|
+
spec;
|
|
12
|
+
requestPath;
|
|
13
|
+
requestMethod;
|
|
10
14
|
constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
|
11
15
|
this.sendOperationFn = sendOperationFn;
|
|
12
16
|
this.args = args;
|
|
@@ -14,15 +18,15 @@ export class LroImpl {
|
|
|
14
18
|
this.requestPath = requestPath;
|
|
15
19
|
this.requestMethod = requestMethod;
|
|
16
20
|
}
|
|
17
|
-
sendInitialRequest() {
|
|
18
|
-
return
|
|
19
|
-
return this.sendOperationFn(this.args, this.spec);
|
|
20
|
-
});
|
|
21
|
+
async sendInitialRequest() {
|
|
22
|
+
return this.sendOperationFn(this.args, this.spec);
|
|
21
23
|
}
|
|
22
|
-
sendPollRequest(path) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
async sendPollRequest(path) {
|
|
25
|
+
const { requestBody, ...restSpec } = this.spec;
|
|
26
|
+
return this.sendOperationFn(this.args, {
|
|
27
|
+
...restSpec,
|
|
28
|
+
path,
|
|
29
|
+
httpMethod: "GET"
|
|
26
30
|
});
|
|
27
31
|
}
|
|
28
32
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,OAAO,OAAO;IAER;IACA;IACA;IAKD;IACA;IATT,YACU,eAAkE,EAClE,IAA6B,EAC7B,IAIe,EAChB,cAAsB,IAAI,CAAC,IAAK,EAChC,gBAAwB,IAAI,CAAC,UAAU;QARtC,oBAAe,GAAf,eAAe,CAAmD;QAClE,SAAI,GAAJ,IAAI,CAAyB;QAC7B,SAAI,GAAJ,IAAI,CAIW;QAChB,gBAAW,GAAX,WAAW,CAAqB;QAChC,kBAAa,GAAb,aAAa,CAA0B;IAC7C,CAAC;IACG,KAAK,CAAC,kBAAkB;QAC7B,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACM,KAAK,CAAC,eAAe,CAAC,IAAY;QACvC,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC;QAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE;YACrC,GAAG,QAAQ;YACX,IAAI;YACJ,UAAU,EAAE,KAAK;SAClB,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n"]}
|
|
@@ -356,7 +356,7 @@ export declare enum KnownResourceIdentityType {
|
|
|
356
356
|
* **SystemAssigned** \
|
|
357
357
|
* **None**
|
|
358
358
|
*/
|
|
359
|
-
export
|
|
359
|
+
export type ResourceIdentityType = string;
|
|
360
360
|
/** Known values of {@link HostType} that the service accepts. */
|
|
361
361
|
export declare enum KnownHostType {
|
|
362
362
|
/** Kubernetes */
|
|
@@ -369,7 +369,7 @@ export declare enum KnownHostType {
|
|
|
369
369
|
* ### Known values supported by the service
|
|
370
370
|
* **Kubernetes**
|
|
371
371
|
*/
|
|
372
|
-
export
|
|
372
|
+
export type HostType = string;
|
|
373
373
|
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
374
374
|
export declare enum KnownCreatedByType {
|
|
375
375
|
/** User */
|
|
@@ -391,27 +391,27 @@ export declare enum KnownCreatedByType {
|
|
|
391
391
|
* **ManagedIdentity** \
|
|
392
392
|
* **Key**
|
|
393
393
|
*/
|
|
394
|
-
export
|
|
394
|
+
export type CreatedByType = string;
|
|
395
395
|
/** Optional parameters. */
|
|
396
396
|
export interface CustomLocationsListOperationsOptionalParams extends coreClient.OperationOptions {
|
|
397
397
|
}
|
|
398
398
|
/** Contains response data for the listOperations operation. */
|
|
399
|
-
export
|
|
399
|
+
export type CustomLocationsListOperationsResponse = CustomLocationOperationsList;
|
|
400
400
|
/** Optional parameters. */
|
|
401
401
|
export interface CustomLocationsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
402
402
|
}
|
|
403
403
|
/** Contains response data for the listBySubscription operation. */
|
|
404
|
-
export
|
|
404
|
+
export type CustomLocationsListBySubscriptionResponse = CustomLocationListResult;
|
|
405
405
|
/** Optional parameters. */
|
|
406
406
|
export interface CustomLocationsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
407
407
|
}
|
|
408
408
|
/** Contains response data for the listByResourceGroup operation. */
|
|
409
|
-
export
|
|
409
|
+
export type CustomLocationsListByResourceGroupResponse = CustomLocationListResult;
|
|
410
410
|
/** Optional parameters. */
|
|
411
411
|
export interface CustomLocationsGetOptionalParams extends coreClient.OperationOptions {
|
|
412
412
|
}
|
|
413
413
|
/** Contains response data for the get operation. */
|
|
414
|
-
export
|
|
414
|
+
export type CustomLocationsGetResponse = CustomLocation;
|
|
415
415
|
/** Optional parameters. */
|
|
416
416
|
export interface CustomLocationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
417
417
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -420,7 +420,7 @@ export interface CustomLocationsCreateOrUpdateOptionalParams extends coreClient.
|
|
|
420
420
|
resumeFrom?: string;
|
|
421
421
|
}
|
|
422
422
|
/** Contains response data for the createOrUpdate operation. */
|
|
423
|
-
export
|
|
423
|
+
export type CustomLocationsCreateOrUpdateResponse = CustomLocation;
|
|
424
424
|
/** Optional parameters. */
|
|
425
425
|
export interface CustomLocationsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
426
426
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -452,47 +452,47 @@ export interface CustomLocationsUpdateOptionalParams extends coreClient.Operatio
|
|
|
452
452
|
provisioningState?: string;
|
|
453
453
|
}
|
|
454
454
|
/** Contains response data for the update operation. */
|
|
455
|
-
export
|
|
455
|
+
export type CustomLocationsUpdateResponse = CustomLocation;
|
|
456
456
|
/** Optional parameters. */
|
|
457
457
|
export interface CustomLocationsListEnabledResourceTypesOptionalParams extends coreClient.OperationOptions {
|
|
458
458
|
}
|
|
459
459
|
/** Contains response data for the listEnabledResourceTypes operation. */
|
|
460
|
-
export
|
|
460
|
+
export type CustomLocationsListEnabledResourceTypesResponse = EnabledResourceTypesListResult;
|
|
461
461
|
/** Optional parameters. */
|
|
462
462
|
export interface CustomLocationsFindTargetResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
463
463
|
}
|
|
464
464
|
/** Contains response data for the findTargetResourceGroup operation. */
|
|
465
|
-
export
|
|
465
|
+
export type CustomLocationsFindTargetResourceGroupResponse = CustomLocationFindTargetResourceGroupResult;
|
|
466
466
|
/** Optional parameters. */
|
|
467
467
|
export interface CustomLocationsListOperationsNextOptionalParams extends coreClient.OperationOptions {
|
|
468
468
|
}
|
|
469
469
|
/** Contains response data for the listOperationsNext operation. */
|
|
470
|
-
export
|
|
470
|
+
export type CustomLocationsListOperationsNextResponse = CustomLocationOperationsList;
|
|
471
471
|
/** Optional parameters. */
|
|
472
472
|
export interface CustomLocationsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
473
473
|
}
|
|
474
474
|
/** Contains response data for the listBySubscriptionNext operation. */
|
|
475
|
-
export
|
|
475
|
+
export type CustomLocationsListBySubscriptionNextResponse = CustomLocationListResult;
|
|
476
476
|
/** Optional parameters. */
|
|
477
477
|
export interface CustomLocationsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
478
478
|
}
|
|
479
479
|
/** Contains response data for the listByResourceGroupNext operation. */
|
|
480
|
-
export
|
|
480
|
+
export type CustomLocationsListByResourceGroupNextResponse = CustomLocationListResult;
|
|
481
481
|
/** Optional parameters. */
|
|
482
482
|
export interface CustomLocationsListEnabledResourceTypesNextOptionalParams extends coreClient.OperationOptions {
|
|
483
483
|
}
|
|
484
484
|
/** Contains response data for the listEnabledResourceTypesNext operation. */
|
|
485
|
-
export
|
|
485
|
+
export type CustomLocationsListEnabledResourceTypesNextResponse = EnabledResourceTypesListResult;
|
|
486
486
|
/** Optional parameters. */
|
|
487
487
|
export interface ResourceSyncRulesListByCustomLocationIDOptionalParams extends coreClient.OperationOptions {
|
|
488
488
|
}
|
|
489
489
|
/** Contains response data for the listByCustomLocationID operation. */
|
|
490
|
-
export
|
|
490
|
+
export type ResourceSyncRulesListByCustomLocationIDResponse = ResourceSyncRuleListResult;
|
|
491
491
|
/** Optional parameters. */
|
|
492
492
|
export interface ResourceSyncRulesGetOptionalParams extends coreClient.OperationOptions {
|
|
493
493
|
}
|
|
494
494
|
/** Contains response data for the get operation. */
|
|
495
|
-
export
|
|
495
|
+
export type ResourceSyncRulesGetResponse = ResourceSyncRule;
|
|
496
496
|
/** Optional parameters. */
|
|
497
497
|
export interface ResourceSyncRulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
498
498
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -501,7 +501,7 @@ export interface ResourceSyncRulesCreateOrUpdateOptionalParams extends coreClien
|
|
|
501
501
|
resumeFrom?: string;
|
|
502
502
|
}
|
|
503
503
|
/** Contains response data for the createOrUpdate operation. */
|
|
504
|
-
export
|
|
504
|
+
export type ResourceSyncRulesCreateOrUpdateResponse = ResourceSyncRule;
|
|
505
505
|
/** Optional parameters. */
|
|
506
506
|
export interface ResourceSyncRulesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
507
507
|
}
|
|
@@ -523,12 +523,12 @@ export interface ResourceSyncRulesUpdateOptionalParams extends coreClient.Operat
|
|
|
523
523
|
resumeFrom?: string;
|
|
524
524
|
}
|
|
525
525
|
/** Contains response data for the update operation. */
|
|
526
|
-
export
|
|
526
|
+
export type ResourceSyncRulesUpdateResponse = ResourceSyncRule;
|
|
527
527
|
/** Optional parameters. */
|
|
528
528
|
export interface ResourceSyncRulesListByCustomLocationIDNextOptionalParams extends coreClient.OperationOptions {
|
|
529
529
|
}
|
|
530
530
|
/** Contains response data for the listByCustomLocationIDNext operation. */
|
|
531
|
-
export
|
|
531
|
+
export type ResourceSyncRulesListByCustomLocationIDNextResponse = ResourceSyncRuleListResult;
|
|
532
532
|
/** Optional parameters. */
|
|
533
533
|
export interface CustomLocationsManagementClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
534
534
|
/** server parameter */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,4CAA4C;AAC5C,MAAM,WAAW,4BAA4B;IAC3C,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uCAAuC;IACvC,KAAK,EAAE,uBAAuB,EAAE,CAAC;CAClC;AAED,kCAAkC;AAClC,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;IAChC;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B;;;OAGG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B;;;OAGG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE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ACrB;AAED,uDAAuD;AACvD,MAAM,MAAM,+BAA+B,GAAG,gBAAgB,CAAC;AAE/D,2BAA2B;AAC3B,MAAM,WAAW,yDACf,SAAQ,UAAU,CAAC,gBAAgB;CAAG;AAExC,2EAA2E;AAC3E,MAAM,MAAM,mDAAmD,GAAG,0BAA0B,CAAC;AAE7F,2BAA2B;AAC3B,MAAM,WAAW,6CACf,SAAQ,UAAU,CAAC,oBAAoB;IACvC,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAuWH,6EAA6E;AAC7E,MAAM,CAAN,IAAY,yBAKX;AALD,WAAY,yBAAyB;IACnC,qBAAqB;IACrB,8DAAiC,CAAA;IACjC,WAAW;IACX,0CAAa,CAAA;AACf,CAAC,EALW,yBAAyB,KAAzB,yBAAyB,QAKpC;AAYD,iEAAiE;AACjE,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,iBAAiB;IACjB,0CAAyB,CAAA;AAC3B,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB;AAWD,sEAAsE;AACtE,MAAM,CAAN,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,kBAAkB;IAClB,iDAA2B,CAAA;IAC3B,sBAAsB;IACtB,yDAAmC,CAAA;IACnC,UAAU;IACV,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,KAAlB,kBAAkB,QAS7B","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** Lists of Custom Locations operations. */\nexport interface CustomLocationOperationsList {\n /** Next page of operations. */\n nextLink?: string;\n /** Array of customLocationOperation */\n value: CustomLocationOperation[];\n}\n\n/** Custom Locations operation. */\nexport interface CustomLocationOperation {\n /**\n * Is this Operation a data plane operation\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly isDataAction?: boolean;\n /**\n * The name of the compute operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The origin of the compute operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly origin?: string;\n /**\n * The description of the operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly description?: string;\n /**\n * The display name of the compute operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly operation?: string;\n /**\n * The resource provider for the operation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provider?: string;\n /**\n * The display name of the resource the operation applies to.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly resource?: string;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorDetail[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** The List Custom Locations operation response. */\nexport interface CustomLocationListResult {\n /**\n * The URL to use for getting the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n /**\n * The list of Custom Locations.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: CustomLocation[];\n}\n\n/** Identity for the resource. */\nexport interface Identity {\n /**\n * The principal ID of resource identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly principalId?: string;\n /**\n * The tenant ID of resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n /** The identity type. */\n type?: ResourceIdentityType;\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\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\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /**\n * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The name of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n}\n\n/** The Custom Locations patchable resource definition. */\nexport interface PatchableCustomLocations {\n /** Identity for the resource. */\n identity?: Identity;\n /** Resource tags */\n tags?: { [propertyName: string]: string };\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\n/** List of EnabledResourceTypes definition. */\nexport interface EnabledResourceTypesListResult {\n /**\n * The URL to use for getting the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n /**\n * The list of EnabledResourceTypes available for a customLocation.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: EnabledResourceType[];\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\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?: { [propertyName: string]: string };\n}\n\n/** The Find Target Resource Group operation response. */\nexport interface CustomLocationFindTargetResourceGroupResult {\n /**\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 * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly matchedResourceSyncRule?: string;\n /**\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 * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly targetResourceGroup?: string;\n}\n\n/** The List Resource Sync Rules operation response. */\nexport interface ResourceSyncRuleListResult {\n /**\n * The URL to use for getting the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n /**\n * The list of Resource Sync Rules.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: ResourceSyncRule[];\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?: { [propertyName: string]: string };\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\n/** The Resource Sync Rules patchable resource definition. */\nexport interface PatchableResourceSyncRule {\n /** Resource tags */\n tags?: { [propertyName: string]: string };\n /** Priority represents a priority of the Resource Sync Rule */\n priority?: number;\n /**\n * Provisioning State for the Resource Sync Rule.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\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\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?: { [propertyName: string]: string };\n /** The geo-location where the resource lives */\n location: string;\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\n/** Custom Locations definition. */\nexport interface CustomLocation extends TrackedResource {\n /** Identity for the resource. */\n identity?: Identity;\n /**\n * Metadata pertaining to creation and last modification of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\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\n/** Resource Sync Rules definition. */\nexport interface ResourceSyncRule extends TrackedResource {\n /**\n * Metadata pertaining to creation and last modification of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n /** Priority represents a priority of the Resource Sync Rule */\n priority?: number;\n /**\n * Provisioning State for the Resource Sync Rule.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\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\n/** EnabledResourceType definition. */\nexport interface EnabledResourceType extends ProxyResource {\n /**\n * Metadata pertaining to creation and last modification of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\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\n/** Known values of {@link ResourceIdentityType} that the service accepts. */\nexport enum KnownResourceIdentityType {\n /** SystemAssigned */\n SystemAssigned = \"SystemAssigned\",\n /** None */\n None = \"None\"\n}\n\n/**\n * Defines values for ResourceIdentityType. \\\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** \\\n * **None**\n */\nexport type ResourceIdentityType = string;\n\n/** Known values of {@link HostType} that the service accepts. */\nexport enum KnownHostType {\n /** Kubernetes */\n Kubernetes = \"Kubernetes\"\n}\n\n/**\n * Defines values for HostType. \\\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**\n */\nexport type HostType = string;\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\"\n}\n\n/**\n * Defines values for CreatedByType. \\\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** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Optional parameters. */\nexport interface CustomLocationsListOperationsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listOperations operation. */\nexport type CustomLocationsListOperationsResponse = CustomLocationOperationsList;\n\n/** Optional parameters. */\nexport interface CustomLocationsListBySubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscription operation. */\nexport type CustomLocationsListBySubscriptionResponse = CustomLocationListResult;\n\n/** Optional parameters. */\nexport interface CustomLocationsListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type CustomLocationsListByResourceGroupResponse = CustomLocationListResult;\n\n/** Optional parameters. */\nexport interface CustomLocationsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type CustomLocationsGetResponse = CustomLocation;\n\n/** Optional parameters. */\nexport interface CustomLocationsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type CustomLocationsCreateOrUpdateResponse = CustomLocation;\n\n/** Optional parameters. */\nexport interface CustomLocationsDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface CustomLocationsUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Identity for the resource. */\n identity?: Identity;\n /** Resource tags */\n tags?: { [propertyName: string]: string };\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\n/** Contains response data for the update operation. */\nexport type CustomLocationsUpdateResponse = CustomLocation;\n\n/** Optional parameters. */\nexport interface CustomLocationsListEnabledResourceTypesOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listEnabledResourceTypes operation. */\nexport type CustomLocationsListEnabledResourceTypesResponse = EnabledResourceTypesListResult;\n\n/** Optional parameters. */\nexport interface CustomLocationsFindTargetResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the findTargetResourceGroup operation. */\nexport type CustomLocationsFindTargetResourceGroupResponse = CustomLocationFindTargetResourceGroupResult;\n\n/** Optional parameters. */\nexport interface CustomLocationsListOperationsNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listOperationsNext operation. */\nexport type CustomLocationsListOperationsNextResponse = CustomLocationOperationsList;\n\n/** Optional parameters. */\nexport interface CustomLocationsListBySubscriptionNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscriptionNext operation. */\nexport type CustomLocationsListBySubscriptionNextResponse = CustomLocationListResult;\n\n/** Optional parameters. */\nexport interface CustomLocationsListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type CustomLocationsListByResourceGroupNextResponse = CustomLocationListResult;\n\n/** Optional parameters. */\nexport interface CustomLocationsListEnabledResourceTypesNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listEnabledResourceTypesNext operation. */\nexport type CustomLocationsListEnabledResourceTypesNextResponse = EnabledResourceTypesListResult;\n\n/** Optional parameters. */\nexport interface ResourceSyncRulesListByCustomLocationIDOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByCustomLocationID operation. */\nexport type ResourceSyncRulesListByCustomLocationIDResponse = ResourceSyncRuleListResult;\n\n/** Optional parameters. */\nexport interface ResourceSyncRulesGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type ResourceSyncRulesGetResponse = ResourceSyncRule;\n\n/** Optional parameters. */\nexport interface ResourceSyncRulesCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type ResourceSyncRulesCreateOrUpdateResponse = ResourceSyncRule;\n\n/** Optional parameters. */\nexport interface ResourceSyncRulesDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface ResourceSyncRulesUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Resource tags */\n tags?: { [propertyName: string]: string };\n /** Priority represents a priority of the Resource Sync Rule */\n priority?: number;\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 /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the update operation. */\nexport type ResourceSyncRulesUpdateResponse = ResourceSyncRule;\n\n/** Optional parameters. */\nexport interface ResourceSyncRulesListByCustomLocationIDNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByCustomLocationIDNext operation. */\nexport type ResourceSyncRulesListByCustomLocationIDNextResponse = ResourceSyncRuleListResult;\n\n/** Optional parameters. */\nexport interface CustomLocationsManagementClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|