@azure/arm-resources 5.2.1-alpha.20250211.1 → 5.2.1-alpha.20250218.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -12
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- 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/deploymentOperations.d.ts +3 -3
- package/dist/browser/operations/deploymentOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/deploymentOperations.js +3 -3
- package/dist/browser/operations/deploymentOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/deployments.d.ts +3 -3
- package/dist/browser/operations/deployments.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/deployments.js +693 -769
- package/dist/browser/operations/deployments.js.map +1 -0
- package/dist/browser/operations/index.d.ts +9 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +16 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/providerResourceTypes.d.ts +3 -3
- package/dist/browser/operations/providerResourceTypes.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/providerResourceTypes.js +2 -2
- package/dist/browser/operations/providerResourceTypes.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/providers.d.ts +3 -3
- package/dist/browser/operations/providers.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/providers.js +3 -3
- package/dist/browser/operations/providers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/resourceGroups.d.ts +3 -3
- package/dist/browser/operations/resourceGroups.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/resourceGroups.js +78 -86
- package/dist/browser/operations/resourceGroups.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/resources.d.ts +3 -3
- package/dist/browser/operations/resources.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/resources.js +319 -351
- package/dist/browser/operations/resources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/tagsOperations.d.ts +3 -3
- package/dist/browser/operations/tagsOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/tagsOperations.js +3 -3
- package/dist/browser/operations/tagsOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/deploymentOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/deploymentOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/deploymentOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/deployments.d.ts +1 -1
- package/dist/browser/operationsInterfaces/deployments.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/deployments.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +9 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +16 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/providerResourceTypes.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/providerResourceTypes.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/providerResourceTypes.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/providers.d.ts +1 -1
- package/dist/browser/operationsInterfaces/providers.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/providers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/resourceGroups.d.ts +1 -1
- package/dist/browser/operationsInterfaces/resourceGroups.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/resourceGroups.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/resources.d.ts +1 -1
- package/dist/browser/operationsInterfaces/resources.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/resources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/tagsOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/tagsOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/tagsOperations.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/{dist-esm/src → dist/browser}/resourceManagementClient.d.ts +2 -2
- package/dist/browser/resourceManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/resourceManagementClient.js +15 -18
- package/dist/browser/resourceManagementClient.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 +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +17 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +1977 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +105 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +88 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +2753 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +40 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +349 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/deploymentOperations.d.ts +168 -0
- package/dist/commonjs/operations/deploymentOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/deploymentOperations.js +786 -0
- package/dist/commonjs/operations/deploymentOperations.js.map +1 -0
- package/dist/commonjs/operations/deployments.d.ts +628 -0
- package/dist/commonjs/operations/deployments.d.ts.map +1 -0
- package/dist/commonjs/operations/deployments.js +2770 -0
- package/dist/commonjs/operations/deployments.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +9 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +19 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +137 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/providerResourceTypes.d.ts +19 -0
- package/dist/commonjs/operations/providerResourceTypes.d.ts.map +1 -0
- package/dist/commonjs/operations/providerResourceTypes.js +56 -0
- package/dist/commonjs/operations/providerResourceTypes.js.map +1 -0
- package/dist/commonjs/operations/providers.d.ts +87 -0
- package/dist/commonjs/operations/providers.d.ts.map +1 -0
- package/dist/commonjs/operations/providers.js +413 -0
- package/dist/commonjs/operations/providers.js.map +1 -0
- package/dist/commonjs/operations/resourceGroups.d.ts +91 -0
- package/dist/commonjs/operations/resourceGroups.d.ts.map +1 -0
- package/dist/commonjs/operations/resourceGroups.js +422 -0
- package/dist/commonjs/operations/resourceGroups.js.map +1 -0
- package/dist/commonjs/operations/resources.d.ts +278 -0
- package/dist/commonjs/operations/resources.d.ts.map +1 -0
- package/dist/commonjs/operations/resources.js +1132 -0
- package/dist/commonjs/operations/resources.js.map +1 -0
- package/dist/commonjs/operations/tagsOperations.d.ts +102 -0
- package/dist/commonjs/operations/tagsOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/tagsOperations.js +379 -0
- package/dist/commonjs/operations/tagsOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/deploymentOperations.d.ts +77 -0
- package/dist/commonjs/operationsInterfaces/deploymentOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/deploymentOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/deploymentOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/deployments.d.ts +545 -0
- package/dist/commonjs/operationsInterfaces/deployments.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/deployments.js +10 -0
- package/dist/commonjs/operationsInterfaces/deployments.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +9 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +19 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/providerResourceTypes.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/providerResourceTypes.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/providerResourceTypes.js +10 -0
- package/dist/commonjs/operationsInterfaces/providerResourceTypes.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/providers.d.ts +53 -0
- package/dist/commonjs/operationsInterfaces/providers.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/providers.js +10 -0
- package/dist/commonjs/operationsInterfaces/providers.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/resourceGroups.d.ts +70 -0
- package/dist/commonjs/operationsInterfaces/resourceGroups.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/resourceGroups.js +10 -0
- package/dist/commonjs/operationsInterfaces/resourceGroups.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/resources.d.ts +242 -0
- package/dist/commonjs/operationsInterfaces/resources.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/resources.js +10 -0
- package/dist/commonjs/operationsInterfaces/resources.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/tagsOperations.d.ts +78 -0
- package/dist/commonjs/operationsInterfaces/tagsOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/tagsOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/tagsOperations.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 +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/commonjs/resourceManagementClient.d.ts +27 -0
- package/dist/commonjs/resourceManagementClient.d.ts.map +1 -0
- package/dist/commonjs/resourceManagementClient.js +109 -0
- package/dist/commonjs/resourceManagementClient.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 +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +14 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1977 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +102 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +88 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +2749 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +40 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +346 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/deploymentOperations.d.ts +168 -0
- package/dist/esm/operations/deploymentOperations.d.ts.map +1 -0
- package/dist/esm/operations/deploymentOperations.js +782 -0
- package/dist/esm/operations/deploymentOperations.js.map +1 -0
- package/dist/esm/operations/deployments.d.ts +628 -0
- package/dist/esm/operations/deployments.d.ts.map +1 -0
- package/dist/esm/operations/deployments.js +2766 -0
- package/dist/esm/operations/deployments.js.map +1 -0
- package/dist/esm/operations/index.d.ts +9 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +16 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +133 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/providerResourceTypes.d.ts +19 -0
- package/dist/esm/operations/providerResourceTypes.d.ts.map +1 -0
- package/dist/esm/operations/providerResourceTypes.js +51 -0
- package/dist/esm/operations/providerResourceTypes.js.map +1 -0
- package/dist/esm/operations/providers.d.ts +87 -0
- package/dist/esm/operations/providers.d.ts.map +1 -0
- package/dist/esm/operations/providers.js +409 -0
- package/dist/esm/operations/providers.js.map +1 -0
- package/dist/esm/operations/resourceGroups.d.ts +91 -0
- package/dist/esm/operations/resourceGroups.d.ts.map +1 -0
- package/dist/esm/operations/resourceGroups.js +418 -0
- package/dist/esm/operations/resourceGroups.js.map +1 -0
- package/dist/esm/operations/resources.d.ts +278 -0
- package/dist/esm/operations/resources.d.ts.map +1 -0
- package/dist/esm/operations/resources.js +1128 -0
- package/dist/esm/operations/resources.js.map +1 -0
- package/dist/esm/operations/tagsOperations.d.ts +102 -0
- package/dist/esm/operations/tagsOperations.d.ts.map +1 -0
- package/dist/esm/operations/tagsOperations.js +375 -0
- package/dist/esm/operations/tagsOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/deploymentOperations.d.ts +77 -0
- package/dist/esm/operationsInterfaces/deploymentOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/deploymentOperations.js +9 -0
- package/dist/esm/operationsInterfaces/deploymentOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/deployments.d.ts +545 -0
- package/dist/esm/operationsInterfaces/deployments.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/deployments.js +9 -0
- package/dist/esm/operationsInterfaces/deployments.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +9 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +16 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/providerResourceTypes.d.ts +11 -0
- package/dist/esm/operationsInterfaces/providerResourceTypes.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/providerResourceTypes.js +9 -0
- package/dist/esm/operationsInterfaces/providerResourceTypes.js.map +1 -0
- package/dist/esm/operationsInterfaces/providers.d.ts +53 -0
- package/dist/esm/operationsInterfaces/providers.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/providers.js +9 -0
- package/dist/esm/operationsInterfaces/providers.js.map +1 -0
- package/dist/esm/operationsInterfaces/resourceGroups.d.ts +70 -0
- package/dist/esm/operationsInterfaces/resourceGroups.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/resourceGroups.js +9 -0
- package/dist/esm/operationsInterfaces/resourceGroups.js.map +1 -0
- package/dist/esm/operationsInterfaces/resources.d.ts +242 -0
- package/dist/esm/operationsInterfaces/resources.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/resources.js +9 -0
- package/dist/esm/operationsInterfaces/resources.js.map +1 -0
- package/dist/esm/operationsInterfaces/tagsOperations.d.ts +78 -0
- package/dist/esm/operationsInterfaces/tagsOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/tagsOperations.js +9 -0
- package/dist/esm/operationsInterfaces/tagsOperations.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 +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/esm/resourceManagementClient.d.ts +27 -0
- package/dist/esm/resourceManagementClient.d.ts.map +1 -0
- package/dist/esm/resourceManagementClient.js +104 -0
- package/dist/esm/resourceManagementClient.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 +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +14 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1977 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +102 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +88 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +2749 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +40 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +346 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/deploymentOperations.d.ts +168 -0
- package/dist/react-native/operations/deploymentOperations.d.ts.map +1 -0
- package/dist/react-native/operations/deploymentOperations.js +782 -0
- package/dist/react-native/operations/deploymentOperations.js.map +1 -0
- package/dist/react-native/operations/deployments.d.ts +628 -0
- package/dist/react-native/operations/deployments.d.ts.map +1 -0
- package/dist/react-native/operations/deployments.js +2766 -0
- package/dist/react-native/operations/deployments.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +9 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +16 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +133 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/providerResourceTypes.d.ts +19 -0
- package/dist/react-native/operations/providerResourceTypes.d.ts.map +1 -0
- package/dist/react-native/operations/providerResourceTypes.js +51 -0
- package/dist/react-native/operations/providerResourceTypes.js.map +1 -0
- package/dist/react-native/operations/providers.d.ts +87 -0
- package/dist/react-native/operations/providers.d.ts.map +1 -0
- package/dist/react-native/operations/providers.js +409 -0
- package/dist/react-native/operations/providers.js.map +1 -0
- package/dist/react-native/operations/resourceGroups.d.ts +91 -0
- package/dist/react-native/operations/resourceGroups.d.ts.map +1 -0
- package/dist/react-native/operations/resourceGroups.js +418 -0
- package/dist/react-native/operations/resourceGroups.js.map +1 -0
- package/dist/react-native/operations/resources.d.ts +278 -0
- package/dist/react-native/operations/resources.d.ts.map +1 -0
- package/dist/react-native/operations/resources.js +1128 -0
- package/dist/react-native/operations/resources.js.map +1 -0
- package/dist/react-native/operations/tagsOperations.d.ts +102 -0
- package/dist/react-native/operations/tagsOperations.d.ts.map +1 -0
- package/dist/react-native/operations/tagsOperations.js +375 -0
- package/dist/react-native/operations/tagsOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/deploymentOperations.d.ts +77 -0
- package/dist/react-native/operationsInterfaces/deploymentOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/deploymentOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/deploymentOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/deployments.d.ts +545 -0
- package/dist/react-native/operationsInterfaces/deployments.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/deployments.js +9 -0
- package/dist/react-native/operationsInterfaces/deployments.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +9 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +16 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/providerResourceTypes.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/providerResourceTypes.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/providerResourceTypes.js +9 -0
- package/dist/react-native/operationsInterfaces/providerResourceTypes.js.map +1 -0
- package/dist/react-native/operationsInterfaces/providers.d.ts +53 -0
- package/dist/react-native/operationsInterfaces/providers.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/providers.js +9 -0
- package/dist/react-native/operationsInterfaces/providers.js.map +1 -0
- package/dist/react-native/operationsInterfaces/resourceGroups.d.ts +70 -0
- package/dist/react-native/operationsInterfaces/resourceGroups.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/resourceGroups.js +9 -0
- package/dist/react-native/operationsInterfaces/resourceGroups.js.map +1 -0
- package/dist/react-native/operationsInterfaces/resources.d.ts +242 -0
- package/dist/react-native/operationsInterfaces/resources.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/resources.js +9 -0
- package/dist/react-native/operationsInterfaces/resources.js.map +1 -0
- package/dist/react-native/operationsInterfaces/tagsOperations.d.ts +78 -0
- package/dist/react-native/operationsInterfaces/tagsOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/tagsOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/tagsOperations.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 +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/dist/react-native/resourceManagementClient.d.ts +27 -0
- package/dist/react-native/resourceManagementClient.d.ts.map +1 -0
- package/dist/react-native/resourceManagementClient.js +104 -0
- package/dist/react-native/resourceManagementClient.js.map +1 -0
- package/package.json +67 -36
- package/dist/index.js +0 -9600
- 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/deploymentsCalculateTemplateHashSample.d.ts +0 -2
- package/dist-esm/samples-dev/deploymentsCalculateTemplateHashSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/deploymentsCalculateTemplateHashSample.js +0 -48
- package/dist-esm/samples-dev/deploymentsCalculateTemplateHashSample.js.map +0 -1
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtManagementGroupScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtManagementGroupScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtManagementGroupScopeSample.js +0 -37
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtManagementGroupScopeSample.js.map +0 -1
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtScopeSample.js +0 -38
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtScopeSample.js.map +0 -1
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtSubscriptionScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtSubscriptionScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtSubscriptionScopeSample.js +0 -38
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtSubscriptionScopeSample.js.map +0 -1
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtTenantScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtTenantScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtTenantScopeSample.js +0 -37
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtTenantScopeSample.js.map +0 -1
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateSample.js +0 -121
- package/dist-esm/samples-dev/deploymentsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/deploymentsWhatIfAtManagementGroupScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/deploymentsWhatIfAtManagementGroupScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/deploymentsWhatIfAtManagementGroupScopeSample.js +0 -33
- package/dist-esm/samples-dev/deploymentsWhatIfAtManagementGroupScopeSample.js.map +0 -1
- package/dist-esm/samples-dev/deploymentsWhatIfAtSubscriptionScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/deploymentsWhatIfAtSubscriptionScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/deploymentsWhatIfAtSubscriptionScopeSample.js +0 -32
- package/dist-esm/samples-dev/deploymentsWhatIfAtSubscriptionScopeSample.js.map +0 -1
- package/dist-esm/samples-dev/deploymentsWhatIfAtTenantScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/deploymentsWhatIfAtTenantScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/deploymentsWhatIfAtTenantScopeSample.js +0 -32
- package/dist-esm/samples-dev/deploymentsWhatIfAtTenantScopeSample.js.map +0 -1
- package/dist-esm/samples-dev/deploymentsWhatIfSample.d.ts +0 -2
- package/dist-esm/samples-dev/deploymentsWhatIfSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/deploymentsWhatIfSample.js +0 -32
- package/dist-esm/samples-dev/deploymentsWhatIfSample.js.map +0 -1
- package/dist-esm/samples-dev/providerResourceTypesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/providerResourceTypesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/providerResourceTypesListSample.js +0 -35
- package/dist-esm/samples-dev/providerResourceTypesListSample.js.map +0 -1
- package/dist-esm/samples-dev/providersGetAtTenantScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/providersGetAtTenantScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/providersGetAtTenantScopeSample.js +0 -30
- package/dist-esm/samples-dev/providersGetAtTenantScopeSample.js.map +0 -1
- package/dist-esm/samples-dev/providersGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/providersGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/providersGetSample.js +0 -35
- package/dist-esm/samples-dev/providersGetSample.js.map +0 -1
- package/dist-esm/samples-dev/providersListSample.d.ts +0 -2
- package/dist-esm/samples-dev/providersListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/providersListSample.js +0 -50
- package/dist-esm/samples-dev/providersListSample.js.map +0 -1
- package/dist-esm/samples-dev/providersProviderPermissionsSample.d.ts +0 -2
- package/dist-esm/samples-dev/providersProviderPermissionsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/providersProviderPermissionsSample.js +0 -35
- package/dist-esm/samples-dev/providersProviderPermissionsSample.js.map +0 -1
- package/dist-esm/samples-dev/resourceGroupsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/resourceGroupsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/resourceGroupsCreateOrUpdateSample.js +0 -29
- package/dist-esm/samples-dev/resourceGroupsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/resourceGroupsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/resourceGroupsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/resourceGroupsDeleteSample.js +0 -49
- package/dist-esm/samples-dev/resourceGroupsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/resourceGroupsExportTemplateSample.d.ts +0 -2
- package/dist-esm/samples-dev/resourceGroupsExportTemplateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/resourceGroupsExportTemplateSample.js +0 -55
- package/dist-esm/samples-dev/resourceGroupsExportTemplateSample.js.map +0 -1
- package/dist-esm/samples-dev/tagsCreateOrUpdateAtScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/tagsCreateOrUpdateAtScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/tagsCreateOrUpdateAtScopeSample.js +0 -51
- package/dist-esm/samples-dev/tagsCreateOrUpdateAtScopeSample.js.map +0 -1
- package/dist-esm/samples-dev/tagsGetAtScopeSample.d.ts +0 -2
- package/dist-esm/samples-dev/tagsGetAtScopeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/tagsGetAtScopeSample.js +0 -52
- package/dist-esm/samples-dev/tagsGetAtScopeSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- 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/deploymentOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/deploymentOperations.js.map +0 -1
- package/dist-esm/src/operations/deployments.d.ts.map +0 -1
- package/dist-esm/src/operations/deployments.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -9
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -16
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/providerResourceTypes.d.ts.map +0 -1
- package/dist-esm/src/operations/providerResourceTypes.js.map +0 -1
- package/dist-esm/src/operations/providers.d.ts.map +0 -1
- package/dist-esm/src/operations/providers.js.map +0 -1
- package/dist-esm/src/operations/resourceGroups.d.ts.map +0 -1
- package/dist-esm/src/operations/resourceGroups.js.map +0 -1
- package/dist-esm/src/operations/resources.d.ts.map +0 -1
- package/dist-esm/src/operations/resources.js.map +0 -1
- package/dist-esm/src/operations/tagsOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/tagsOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/deploymentOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/deployments.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/deployments.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -9
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -16
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/providerResourceTypes.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/providers.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/providers.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/resourceGroups.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/resourceGroups.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/resources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/resources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/tagsOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/tagsOperations.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/src/resourceManagementClient.d.ts.map +0 -1
- package/dist-esm/src/resourceManagementClient.js.map +0 -1
- package/dist-esm/test/cae_mock_test.d.ts +0 -2
- package/dist-esm/test/cae_mock_test.d.ts.map +0 -1
- package/dist-esm/test/cae_mock_test.js +0 -120
- package/dist-esm/test/cae_mock_test.js.map +0 -1
- package/dist-esm/test/resources_examples.d.ts +0 -4
- package/dist-esm/test/resources_examples.d.ts.map +0 -1
- package/dist-esm/test/resources_examples.js +0 -225
- package/dist-esm/test/resources_examples.js.map +0 -1
- package/src/lroImpl.ts +0 -38
- package/src/models/index.ts +0 -2347
- package/src/models/mappers.ts +0 -2852
- package/src/models/parameters.ts +0 -402
- package/src/operations/deploymentOperations.ts +0 -1016
- package/src/operations/deployments.ts +0 -3849
- package/src/operations/index.ts +0 -16
- package/src/operations/operations.ts +0 -149
- package/src/operations/providerResourceTypes.ts +0 -69
- package/src/operations/providers.ts +0 -493
- package/src/operations/resourceGroups.ts +0 -546
- package/src/operations/resources.ts +0 -1568
- package/src/operations/tagsOperations.ts +0 -463
- package/src/operationsInterfaces/deploymentOperations.ts +0 -144
- package/src/operationsInterfaces/deployments.ts +0 -957
- package/src/operationsInterfaces/index.ts +0 -16
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/providerResourceTypes.ts +0 -25
- package/src/operationsInterfaces/providers.ts +0 -100
- package/src/operationsInterfaces/resourceGroups.ts +0 -130
- package/src/operationsInterfaces/resources.ts +0 -422
- package/src/operationsInterfaces/tagsOperations.ts +0 -132
- package/src/pagingHelper.ts +0 -39
- package/src/resourceManagementClient.ts +0 -172
- package/tsconfig.json +0 -33
- package/types/arm-resources.d.ts +0 -3398
- /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}/lroImpl.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.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/mappers.js +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/deploymentOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/deployments.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/providerResourceTypes.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/providers.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/resourceGroups.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/resources.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/tagsOperations.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/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
|
+
import { GenericResourceExpanded, ResourcesListByResourceGroupOptionalParams, ResourcesListOptionalParams, ResourcesMoveInfo, ResourcesMoveResourcesOptionalParams, ResourcesValidateMoveResourcesOptionalParams, ResourcesCheckExistenceOptionalParams, ResourcesCheckExistenceResponse, ResourcesDeleteOptionalParams, GenericResource, ResourcesCreateOrUpdateOptionalParams, ResourcesCreateOrUpdateResponse, ResourcesUpdateOptionalParams, ResourcesUpdateResponse, ResourcesGetOptionalParams, ResourcesGetResponse, ResourcesCheckExistenceByIdOptionalParams, ResourcesCheckExistenceByIdResponse, ResourcesDeleteByIdOptionalParams, ResourcesCreateOrUpdateByIdOptionalParams, ResourcesCreateOrUpdateByIdResponse, ResourcesUpdateByIdOptionalParams, ResourcesUpdateByIdResponse, ResourcesGetByIdOptionalParams, ResourcesGetByIdResponse } from "../models/index.js";
|
|
4
|
+
/** Interface representing a Resources. */
|
|
5
|
+
export interface Resources {
|
|
6
|
+
/**
|
|
7
|
+
* Get all the resources for a resource group.
|
|
8
|
+
* @param resourceGroupName The resource group with the resources to get.
|
|
9
|
+
* @param options The options parameters.
|
|
10
|
+
*/
|
|
11
|
+
listByResourceGroup(resourceGroupName: string, options?: ResourcesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<GenericResourceExpanded>;
|
|
12
|
+
/**
|
|
13
|
+
* Get all the resources in a subscription.
|
|
14
|
+
* @param options The options parameters.
|
|
15
|
+
*/
|
|
16
|
+
list(options?: ResourcesListOptionalParams): PagedAsyncIterableIterator<GenericResourceExpanded>;
|
|
17
|
+
/**
|
|
18
|
+
* The resources to be moved must be in the same source resource group in the source subscription being
|
|
19
|
+
* used. The target resource group may be in a different subscription. When moving resources, both the
|
|
20
|
+
* source group and the target group are locked for the duration of the operation. Write and delete
|
|
21
|
+
* operations are blocked on the groups until the move completes.
|
|
22
|
+
* @param sourceResourceGroupName The name of the resource group from the source subscription
|
|
23
|
+
* containing the resources to be moved.
|
|
24
|
+
* @param parameters Parameters for moving resources.
|
|
25
|
+
* @param options The options parameters.
|
|
26
|
+
*/
|
|
27
|
+
beginMoveResources(sourceResourceGroupName: string, parameters: ResourcesMoveInfo, options?: ResourcesMoveResourcesOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
28
|
+
/**
|
|
29
|
+
* The resources to be moved must be in the same source resource group in the source subscription being
|
|
30
|
+
* used. The target resource group may be in a different subscription. When moving resources, both the
|
|
31
|
+
* source group and the target group are locked for the duration of the operation. Write and delete
|
|
32
|
+
* operations are blocked on the groups until the move completes.
|
|
33
|
+
* @param sourceResourceGroupName The name of the resource group from the source subscription
|
|
34
|
+
* containing the resources to be moved.
|
|
35
|
+
* @param parameters Parameters for moving resources.
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
beginMoveResourcesAndWait(sourceResourceGroupName: string, parameters: ResourcesMoveInfo, options?: ResourcesMoveResourcesOptionalParams): Promise<void>;
|
|
39
|
+
/**
|
|
40
|
+
* This operation checks whether the specified resources can be moved to the target. The resources to
|
|
41
|
+
* be moved must be in the same source resource group in the source subscription being used. The target
|
|
42
|
+
* resource group may be in a different subscription. If validation succeeds, it returns HTTP response
|
|
43
|
+
* code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an
|
|
44
|
+
* error message. Retrieve the URL in the Location header value to check the result of the long-running
|
|
45
|
+
* operation.
|
|
46
|
+
* @param sourceResourceGroupName The name of the resource group from the source subscription
|
|
47
|
+
* containing the resources to be validated for move.
|
|
48
|
+
* @param parameters Parameters for moving resources.
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
beginValidateMoveResources(sourceResourceGroupName: string, parameters: ResourcesMoveInfo, options?: ResourcesValidateMoveResourcesOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
52
|
+
/**
|
|
53
|
+
* This operation checks whether the specified resources can be moved to the target. The resources to
|
|
54
|
+
* be moved must be in the same source resource group in the source subscription being used. The target
|
|
55
|
+
* resource group may be in a different subscription. If validation succeeds, it returns HTTP response
|
|
56
|
+
* code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an
|
|
57
|
+
* error message. Retrieve the URL in the Location header value to check the result of the long-running
|
|
58
|
+
* operation.
|
|
59
|
+
* @param sourceResourceGroupName The name of the resource group from the source subscription
|
|
60
|
+
* containing the resources to be validated for move.
|
|
61
|
+
* @param parameters Parameters for moving resources.
|
|
62
|
+
* @param options The options parameters.
|
|
63
|
+
*/
|
|
64
|
+
beginValidateMoveResourcesAndWait(sourceResourceGroupName: string, parameters: ResourcesMoveInfo, options?: ResourcesValidateMoveResourcesOptionalParams): Promise<void>;
|
|
65
|
+
/**
|
|
66
|
+
* Checks whether a resource exists.
|
|
67
|
+
* @param resourceGroupName The name of the resource group containing the resource to check. The name
|
|
68
|
+
* is case insensitive.
|
|
69
|
+
* @param resourceProviderNamespace The resource provider of the resource to check.
|
|
70
|
+
* @param parentResourcePath The parent resource identity.
|
|
71
|
+
* @param resourceType The resource type.
|
|
72
|
+
* @param resourceName The name of the resource to check whether it exists.
|
|
73
|
+
* @param apiVersion The API version to use for the operation.
|
|
74
|
+
* @param options The options parameters.
|
|
75
|
+
*/
|
|
76
|
+
checkExistence(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, apiVersion: string, options?: ResourcesCheckExistenceOptionalParams): Promise<ResourcesCheckExistenceResponse>;
|
|
77
|
+
/**
|
|
78
|
+
* Deletes a resource.
|
|
79
|
+
* @param resourceGroupName The name of the resource group that contains the resource to delete. The
|
|
80
|
+
* name is case insensitive.
|
|
81
|
+
* @param resourceProviderNamespace The namespace of the resource provider.
|
|
82
|
+
* @param parentResourcePath The parent resource identity.
|
|
83
|
+
* @param resourceType The resource type.
|
|
84
|
+
* @param resourceName The name of the resource to delete.
|
|
85
|
+
* @param apiVersion The API version to use for the operation.
|
|
86
|
+
* @param options The options parameters.
|
|
87
|
+
*/
|
|
88
|
+
beginDelete(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, apiVersion: string, options?: ResourcesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
89
|
+
/**
|
|
90
|
+
* Deletes a resource.
|
|
91
|
+
* @param resourceGroupName The name of the resource group that contains the resource to delete. The
|
|
92
|
+
* name is case insensitive.
|
|
93
|
+
* @param resourceProviderNamespace The namespace of the resource provider.
|
|
94
|
+
* @param parentResourcePath The parent resource identity.
|
|
95
|
+
* @param resourceType The resource type.
|
|
96
|
+
* @param resourceName The name of the resource to delete.
|
|
97
|
+
* @param apiVersion The API version to use for the operation.
|
|
98
|
+
* @param options The options parameters.
|
|
99
|
+
*/
|
|
100
|
+
beginDeleteAndWait(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, apiVersion: string, options?: ResourcesDeleteOptionalParams): Promise<void>;
|
|
101
|
+
/**
|
|
102
|
+
* Creates a resource.
|
|
103
|
+
* @param resourceGroupName The name of the resource group for the resource. The name is case
|
|
104
|
+
* insensitive.
|
|
105
|
+
* @param resourceProviderNamespace The namespace of the resource provider.
|
|
106
|
+
* @param parentResourcePath The parent resource identity.
|
|
107
|
+
* @param resourceType The resource type of the resource to create.
|
|
108
|
+
* @param resourceName The name of the resource to create.
|
|
109
|
+
* @param apiVersion The API version to use for the operation.
|
|
110
|
+
* @param parameters Parameters for creating or updating the resource.
|
|
111
|
+
* @param options The options parameters.
|
|
112
|
+
*/
|
|
113
|
+
beginCreateOrUpdate(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, apiVersion: string, parameters: GenericResource, options?: ResourcesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ResourcesCreateOrUpdateResponse>, ResourcesCreateOrUpdateResponse>>;
|
|
114
|
+
/**
|
|
115
|
+
* Creates a resource.
|
|
116
|
+
* @param resourceGroupName The name of the resource group for the resource. The name is case
|
|
117
|
+
* insensitive.
|
|
118
|
+
* @param resourceProviderNamespace The namespace of the resource provider.
|
|
119
|
+
* @param parentResourcePath The parent resource identity.
|
|
120
|
+
* @param resourceType The resource type of the resource to create.
|
|
121
|
+
* @param resourceName The name of the resource to create.
|
|
122
|
+
* @param apiVersion The API version to use for the operation.
|
|
123
|
+
* @param parameters Parameters for creating or updating the resource.
|
|
124
|
+
* @param options The options parameters.
|
|
125
|
+
*/
|
|
126
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, apiVersion: string, parameters: GenericResource, options?: ResourcesCreateOrUpdateOptionalParams): Promise<ResourcesCreateOrUpdateResponse>;
|
|
127
|
+
/**
|
|
128
|
+
* Updates a resource.
|
|
129
|
+
* @param resourceGroupName The name of the resource group for the resource. The name is case
|
|
130
|
+
* insensitive.
|
|
131
|
+
* @param resourceProviderNamespace The namespace of the resource provider.
|
|
132
|
+
* @param parentResourcePath The parent resource identity.
|
|
133
|
+
* @param resourceType The resource type of the resource to update.
|
|
134
|
+
* @param resourceName The name of the resource to update.
|
|
135
|
+
* @param apiVersion The API version to use for the operation.
|
|
136
|
+
* @param parameters Parameters for updating the resource.
|
|
137
|
+
* @param options The options parameters.
|
|
138
|
+
*/
|
|
139
|
+
beginUpdate(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, apiVersion: string, parameters: GenericResource, options?: ResourcesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ResourcesUpdateResponse>, ResourcesUpdateResponse>>;
|
|
140
|
+
/**
|
|
141
|
+
* Updates a resource.
|
|
142
|
+
* @param resourceGroupName The name of the resource group for the resource. The name is case
|
|
143
|
+
* insensitive.
|
|
144
|
+
* @param resourceProviderNamespace The namespace of the resource provider.
|
|
145
|
+
* @param parentResourcePath The parent resource identity.
|
|
146
|
+
* @param resourceType The resource type of the resource to update.
|
|
147
|
+
* @param resourceName The name of the resource to update.
|
|
148
|
+
* @param apiVersion The API version to use for the operation.
|
|
149
|
+
* @param parameters Parameters for updating the resource.
|
|
150
|
+
* @param options The options parameters.
|
|
151
|
+
*/
|
|
152
|
+
beginUpdateAndWait(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, apiVersion: string, parameters: GenericResource, options?: ResourcesUpdateOptionalParams): Promise<ResourcesUpdateResponse>;
|
|
153
|
+
/**
|
|
154
|
+
* Gets a resource.
|
|
155
|
+
* @param resourceGroupName The name of the resource group containing the resource to get. The name is
|
|
156
|
+
* case insensitive.
|
|
157
|
+
* @param resourceProviderNamespace The namespace of the resource provider.
|
|
158
|
+
* @param parentResourcePath The parent resource identity.
|
|
159
|
+
* @param resourceType The resource type of the resource.
|
|
160
|
+
* @param resourceName The name of the resource to get.
|
|
161
|
+
* @param apiVersion The API version to use for the operation.
|
|
162
|
+
* @param options The options parameters.
|
|
163
|
+
*/
|
|
164
|
+
get(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, apiVersion: string, options?: ResourcesGetOptionalParams): Promise<ResourcesGetResponse>;
|
|
165
|
+
/**
|
|
166
|
+
* Checks by ID whether a resource exists.
|
|
167
|
+
* @param resourceId The fully qualified ID of the resource, including the resource name and resource
|
|
168
|
+
* type. Use the format,
|
|
169
|
+
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
|
|
170
|
+
* @param apiVersion The API version to use for the operation.
|
|
171
|
+
* @param options The options parameters.
|
|
172
|
+
*/
|
|
173
|
+
checkExistenceById(resourceId: string, apiVersion: string, options?: ResourcesCheckExistenceByIdOptionalParams): Promise<ResourcesCheckExistenceByIdResponse>;
|
|
174
|
+
/**
|
|
175
|
+
* Deletes a resource by ID.
|
|
176
|
+
* @param resourceId The fully qualified ID of the resource, including the resource name and resource
|
|
177
|
+
* type. Use the format,
|
|
178
|
+
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
|
|
179
|
+
* @param apiVersion The API version to use for the operation.
|
|
180
|
+
* @param options The options parameters.
|
|
181
|
+
*/
|
|
182
|
+
beginDeleteById(resourceId: string, apiVersion: string, options?: ResourcesDeleteByIdOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
183
|
+
/**
|
|
184
|
+
* Deletes a resource by ID.
|
|
185
|
+
* @param resourceId The fully qualified ID of the resource, including the resource name and resource
|
|
186
|
+
* type. Use the format,
|
|
187
|
+
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
|
|
188
|
+
* @param apiVersion The API version to use for the operation.
|
|
189
|
+
* @param options The options parameters.
|
|
190
|
+
*/
|
|
191
|
+
beginDeleteByIdAndWait(resourceId: string, apiVersion: string, options?: ResourcesDeleteByIdOptionalParams): Promise<void>;
|
|
192
|
+
/**
|
|
193
|
+
* Create a resource by ID.
|
|
194
|
+
* @param resourceId The fully qualified ID of the resource, including the resource name and resource
|
|
195
|
+
* type. Use the format,
|
|
196
|
+
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
|
|
197
|
+
* @param apiVersion The API version to use for the operation.
|
|
198
|
+
* @param parameters Create or update resource parameters.
|
|
199
|
+
* @param options The options parameters.
|
|
200
|
+
*/
|
|
201
|
+
beginCreateOrUpdateById(resourceId: string, apiVersion: string, parameters: GenericResource, options?: ResourcesCreateOrUpdateByIdOptionalParams): Promise<SimplePollerLike<OperationState<ResourcesCreateOrUpdateByIdResponse>, ResourcesCreateOrUpdateByIdResponse>>;
|
|
202
|
+
/**
|
|
203
|
+
* Create a resource by ID.
|
|
204
|
+
* @param resourceId The fully qualified ID of the resource, including the resource name and resource
|
|
205
|
+
* type. Use the format,
|
|
206
|
+
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
|
|
207
|
+
* @param apiVersion The API version to use for the operation.
|
|
208
|
+
* @param parameters Create or update resource parameters.
|
|
209
|
+
* @param options The options parameters.
|
|
210
|
+
*/
|
|
211
|
+
beginCreateOrUpdateByIdAndWait(resourceId: string, apiVersion: string, parameters: GenericResource, options?: ResourcesCreateOrUpdateByIdOptionalParams): Promise<ResourcesCreateOrUpdateByIdResponse>;
|
|
212
|
+
/**
|
|
213
|
+
* Updates a resource by ID.
|
|
214
|
+
* @param resourceId The fully qualified ID of the resource, including the resource name and resource
|
|
215
|
+
* type. Use the format,
|
|
216
|
+
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
|
|
217
|
+
* @param apiVersion The API version to use for the operation.
|
|
218
|
+
* @param parameters Update resource parameters.
|
|
219
|
+
* @param options The options parameters.
|
|
220
|
+
*/
|
|
221
|
+
beginUpdateById(resourceId: string, apiVersion: string, parameters: GenericResource, options?: ResourcesUpdateByIdOptionalParams): Promise<SimplePollerLike<OperationState<ResourcesUpdateByIdResponse>, ResourcesUpdateByIdResponse>>;
|
|
222
|
+
/**
|
|
223
|
+
* Updates a resource by ID.
|
|
224
|
+
* @param resourceId The fully qualified ID of the resource, including the resource name and resource
|
|
225
|
+
* type. Use the format,
|
|
226
|
+
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
|
|
227
|
+
* @param apiVersion The API version to use for the operation.
|
|
228
|
+
* @param parameters Update resource parameters.
|
|
229
|
+
* @param options The options parameters.
|
|
230
|
+
*/
|
|
231
|
+
beginUpdateByIdAndWait(resourceId: string, apiVersion: string, parameters: GenericResource, options?: ResourcesUpdateByIdOptionalParams): Promise<ResourcesUpdateByIdResponse>;
|
|
232
|
+
/**
|
|
233
|
+
* Gets a resource by ID.
|
|
234
|
+
* @param resourceId The fully qualified ID of the resource, including the resource name and resource
|
|
235
|
+
* type. Use the format,
|
|
236
|
+
* /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
|
|
237
|
+
* @param apiVersion The API version to use for the operation.
|
|
238
|
+
* @param options The options parameters.
|
|
239
|
+
*/
|
|
240
|
+
getById(resourceId: string, apiVersion: string, options?: ResourcesGetByIdOptionalParams): Promise<ResourcesGetByIdResponse>;
|
|
241
|
+
}
|
|
242
|
+
//# sourceMappingURL=resources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resources.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/resources.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=resources.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resources.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/resources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n GenericResourceExpanded,\n ResourcesListByResourceGroupOptionalParams,\n ResourcesListOptionalParams,\n ResourcesMoveInfo,\n ResourcesMoveResourcesOptionalParams,\n ResourcesValidateMoveResourcesOptionalParams,\n ResourcesCheckExistenceOptionalParams,\n ResourcesCheckExistenceResponse,\n ResourcesDeleteOptionalParams,\n GenericResource,\n ResourcesCreateOrUpdateOptionalParams,\n ResourcesCreateOrUpdateResponse,\n ResourcesUpdateOptionalParams,\n ResourcesUpdateResponse,\n ResourcesGetOptionalParams,\n ResourcesGetResponse,\n ResourcesCheckExistenceByIdOptionalParams,\n ResourcesCheckExistenceByIdResponse,\n ResourcesDeleteByIdOptionalParams,\n ResourcesCreateOrUpdateByIdOptionalParams,\n ResourcesCreateOrUpdateByIdResponse,\n ResourcesUpdateByIdOptionalParams,\n ResourcesUpdateByIdResponse,\n ResourcesGetByIdOptionalParams,\n ResourcesGetByIdResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Resources. */\nexport interface Resources {\n /**\n * Get all the resources for a resource group.\n * @param resourceGroupName The resource group with the resources to get.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: ResourcesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<GenericResourceExpanded>;\n /**\n * Get all the resources in a subscription.\n * @param options The options parameters.\n */\n list(\n options?: ResourcesListOptionalParams\n ): PagedAsyncIterableIterator<GenericResourceExpanded>;\n /**\n * The resources to be moved must be in the same source resource group in the source subscription being\n * used. The target resource group may be in a different subscription. When moving resources, both the\n * source group and the target group are locked for the duration of the operation. Write and delete\n * operations are blocked on the groups until the move completes.\n * @param sourceResourceGroupName The name of the resource group from the source subscription\n * containing the resources to be moved.\n * @param parameters Parameters for moving resources.\n * @param options The options parameters.\n */\n beginMoveResources(\n sourceResourceGroupName: string,\n parameters: ResourcesMoveInfo,\n options?: ResourcesMoveResourcesOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * The resources to be moved must be in the same source resource group in the source subscription being\n * used. The target resource group may be in a different subscription. When moving resources, both the\n * source group and the target group are locked for the duration of the operation. Write and delete\n * operations are blocked on the groups until the move completes.\n * @param sourceResourceGroupName The name of the resource group from the source subscription\n * containing the resources to be moved.\n * @param parameters Parameters for moving resources.\n * @param options The options parameters.\n */\n beginMoveResourcesAndWait(\n sourceResourceGroupName: string,\n parameters: ResourcesMoveInfo,\n options?: ResourcesMoveResourcesOptionalParams\n ): Promise<void>;\n /**\n * This operation checks whether the specified resources can be moved to the target. The resources to\n * be moved must be in the same source resource group in the source subscription being used. The target\n * resource group may be in a different subscription. If validation succeeds, it returns HTTP response\n * code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an\n * error message. Retrieve the URL in the Location header value to check the result of the long-running\n * operation.\n * @param sourceResourceGroupName The name of the resource group from the source subscription\n * containing the resources to be validated for move.\n * @param parameters Parameters for moving resources.\n * @param options The options parameters.\n */\n beginValidateMoveResources(\n sourceResourceGroupName: string,\n parameters: ResourcesMoveInfo,\n options?: ResourcesValidateMoveResourcesOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * This operation checks whether the specified resources can be moved to the target. The resources to\n * be moved must be in the same source resource group in the source subscription being used. The target\n * resource group may be in a different subscription. If validation succeeds, it returns HTTP response\n * code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an\n * error message. Retrieve the URL in the Location header value to check the result of the long-running\n * operation.\n * @param sourceResourceGroupName The name of the resource group from the source subscription\n * containing the resources to be validated for move.\n * @param parameters Parameters for moving resources.\n * @param options The options parameters.\n */\n beginValidateMoveResourcesAndWait(\n sourceResourceGroupName: string,\n parameters: ResourcesMoveInfo,\n options?: ResourcesValidateMoveResourcesOptionalParams\n ): Promise<void>;\n /**\n * Checks whether a resource exists.\n * @param resourceGroupName The name of the resource group containing the resource to check. The name\n * is case insensitive.\n * @param resourceProviderNamespace The resource provider of the resource to check.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type.\n * @param resourceName The name of the resource to check whether it exists.\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n checkExistence(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n options?: ResourcesCheckExistenceOptionalParams\n ): Promise<ResourcesCheckExistenceResponse>;\n /**\n * Deletes a resource.\n * @param resourceGroupName The name of the resource group that contains the resource to delete. The\n * name is case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type.\n * @param resourceName The name of the resource to delete.\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n options?: ResourcesDeleteOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Deletes a resource.\n * @param resourceGroupName The name of the resource group that contains the resource to delete. The\n * name is case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type.\n * @param resourceName The name of the resource to delete.\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n options?: ResourcesDeleteOptionalParams\n ): Promise<void>;\n /**\n * Creates a resource.\n * @param resourceGroupName The name of the resource group for the resource. The name is case\n * insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource to create.\n * @param resourceName The name of the resource to create.\n * @param apiVersion The API version to use for the operation.\n * @param parameters Parameters for creating or updating the resource.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesCreateOrUpdateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<ResourcesCreateOrUpdateResponse>,\n ResourcesCreateOrUpdateResponse\n >\n >;\n /**\n * Creates a resource.\n * @param resourceGroupName The name of the resource group for the resource. The name is case\n * insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource to create.\n * @param resourceName The name of the resource to create.\n * @param apiVersion The API version to use for the operation.\n * @param parameters Parameters for creating or updating the resource.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesCreateOrUpdateOptionalParams\n ): Promise<ResourcesCreateOrUpdateResponse>;\n /**\n * Updates a resource.\n * @param resourceGroupName The name of the resource group for the resource. The name is case\n * insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource to update.\n * @param resourceName The name of the resource to update.\n * @param apiVersion The API version to use for the operation.\n * @param parameters Parameters for updating the resource.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesUpdateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<ResourcesUpdateResponse>,\n ResourcesUpdateResponse\n >\n >;\n /**\n * Updates a resource.\n * @param resourceGroupName The name of the resource group for the resource. The name is case\n * insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource to update.\n * @param resourceName The name of the resource to update.\n * @param apiVersion The API version to use for the operation.\n * @param parameters Parameters for updating the resource.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesUpdateOptionalParams\n ): Promise<ResourcesUpdateResponse>;\n /**\n * Gets a resource.\n * @param resourceGroupName The name of the resource group containing the resource to get. The name is\n * case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource.\n * @param resourceName The name of the resource to get.\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n options?: ResourcesGetOptionalParams\n ): Promise<ResourcesGetResponse>;\n /**\n * Checks by ID whether a resource exists.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n checkExistenceById(\n resourceId: string,\n apiVersion: string,\n options?: ResourcesCheckExistenceByIdOptionalParams\n ): Promise<ResourcesCheckExistenceByIdResponse>;\n /**\n * Deletes a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n beginDeleteById(\n resourceId: string,\n apiVersion: string,\n options?: ResourcesDeleteByIdOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Deletes a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n beginDeleteByIdAndWait(\n resourceId: string,\n apiVersion: string,\n options?: ResourcesDeleteByIdOptionalParams\n ): Promise<void>;\n /**\n * Create a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param parameters Create or update resource parameters.\n * @param options The options parameters.\n */\n beginCreateOrUpdateById(\n resourceId: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesCreateOrUpdateByIdOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<ResourcesCreateOrUpdateByIdResponse>,\n ResourcesCreateOrUpdateByIdResponse\n >\n >;\n /**\n * Create a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param parameters Create or update resource parameters.\n * @param options The options parameters.\n */\n beginCreateOrUpdateByIdAndWait(\n resourceId: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesCreateOrUpdateByIdOptionalParams\n ): Promise<ResourcesCreateOrUpdateByIdResponse>;\n /**\n * Updates a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param parameters Update resource parameters.\n * @param options The options parameters.\n */\n beginUpdateById(\n resourceId: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesUpdateByIdOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<ResourcesUpdateByIdResponse>,\n ResourcesUpdateByIdResponse\n >\n >;\n /**\n * Updates a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param parameters Update resource parameters.\n * @param options The options parameters.\n */\n beginUpdateByIdAndWait(\n resourceId: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesUpdateByIdOptionalParams\n ): Promise<ResourcesUpdateByIdResponse>;\n /**\n * Gets a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n getById(\n resourceId: string,\n apiVersion: string,\n options?: ResourcesGetByIdOptionalParams\n ): Promise<ResourcesGetByIdResponse>;\n}\n"]}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { TagDetails, TagsListOptionalParams, TagsDeleteValueOptionalParams, TagsCreateOrUpdateValueOptionalParams, TagsCreateOrUpdateValueResponse, TagsCreateOrUpdateOptionalParams, TagsCreateOrUpdateResponse, TagsDeleteOptionalParams, TagsResource, TagsCreateOrUpdateAtScopeOptionalParams, TagsCreateOrUpdateAtScopeResponse, TagsPatchResource, TagsUpdateAtScopeOptionalParams, TagsUpdateAtScopeResponse, TagsGetAtScopeOptionalParams, TagsGetAtScopeResponse, TagsDeleteAtScopeOptionalParams } from "../models/index.js";
|
|
3
|
+
/** Interface representing a TagsOperations. */
|
|
4
|
+
export interface TagsOperations {
|
|
5
|
+
/**
|
|
6
|
+
* This operation performs a union of predefined tags, resource tags, resource group tags and
|
|
7
|
+
* subscription tags, and returns a summary of usage for each tag name and value under the given
|
|
8
|
+
* subscription. In case of a large number of tags, this operation may return a previously cached
|
|
9
|
+
* result.
|
|
10
|
+
* @param options The options parameters.
|
|
11
|
+
*/
|
|
12
|
+
list(options?: TagsListOptionalParams): PagedAsyncIterableIterator<TagDetails>;
|
|
13
|
+
/**
|
|
14
|
+
* This operation allows deleting a value from the list of predefined values for an existing predefined
|
|
15
|
+
* tag name. The value being deleted must not be in use as a tag value for the given tag name for any
|
|
16
|
+
* resource.
|
|
17
|
+
* @param tagName The name of the tag.
|
|
18
|
+
* @param tagValue The value of the tag to delete.
|
|
19
|
+
* @param options The options parameters.
|
|
20
|
+
*/
|
|
21
|
+
deleteValue(tagName: string, tagValue: string, options?: TagsDeleteValueOptionalParams): Promise<void>;
|
|
22
|
+
/**
|
|
23
|
+
* This operation allows adding a value to the list of predefined values for an existing predefined tag
|
|
24
|
+
* name. A tag value can have a maximum of 256 characters.
|
|
25
|
+
* @param tagName The name of the tag.
|
|
26
|
+
* @param tagValue The value of the tag to create.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
createOrUpdateValue(tagName: string, tagValue: string, options?: TagsCreateOrUpdateValueOptionalParams): Promise<TagsCreateOrUpdateValueResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* This operation allows adding a name to the list of predefined tag names for the given subscription.
|
|
32
|
+
* A tag name can have a maximum of 512 characters and is case-insensitive. Tag names cannot have the
|
|
33
|
+
* following prefixes which are reserved for Azure use: 'microsoft', 'azure', 'windows'.
|
|
34
|
+
* @param tagName The name of the tag to create.
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
createOrUpdate(tagName: string, options?: TagsCreateOrUpdateOptionalParams): Promise<TagsCreateOrUpdateResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* This operation allows deleting a name from the list of predefined tag names for the given
|
|
40
|
+
* subscription. The name being deleted must not be in use as a tag name for any resource. All
|
|
41
|
+
* predefined values for the given name must have already been deleted.
|
|
42
|
+
* @param tagName The name of the tag.
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
delete(tagName: string, options?: TagsDeleteOptionalParams): Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
* This operation allows adding or replacing the entire set of tags on the specified resource or
|
|
48
|
+
* subscription. The specified entity can have a maximum of 50 tags.
|
|
49
|
+
* @param scope The resource scope.
|
|
50
|
+
* @param parameters Wrapper resource for tags API requests and responses.
|
|
51
|
+
* @param options The options parameters.
|
|
52
|
+
*/
|
|
53
|
+
createOrUpdateAtScope(scope: string, parameters: TagsResource, options?: TagsCreateOrUpdateAtScopeOptionalParams): Promise<TagsCreateOrUpdateAtScopeResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* This operation allows replacing, merging or selectively deleting tags on the specified resource or
|
|
56
|
+
* subscription. The specified entity can have a maximum of 50 tags at the end of the operation. The
|
|
57
|
+
* 'replace' option replaces the entire set of existing tags with a new set. The 'merge' option allows
|
|
58
|
+
* adding tags with new names and updating the values of tags with existing names. The 'delete' option
|
|
59
|
+
* allows selectively deleting tags based on given names or name/value pairs.
|
|
60
|
+
* @param scope The resource scope.
|
|
61
|
+
* @param parameters Wrapper resource for tags patch API request only.
|
|
62
|
+
* @param options The options parameters.
|
|
63
|
+
*/
|
|
64
|
+
updateAtScope(scope: string, parameters: TagsPatchResource, options?: TagsUpdateAtScopeOptionalParams): Promise<TagsUpdateAtScopeResponse>;
|
|
65
|
+
/**
|
|
66
|
+
* Gets the entire set of tags on a resource or subscription.
|
|
67
|
+
* @param scope The resource scope.
|
|
68
|
+
* @param options The options parameters.
|
|
69
|
+
*/
|
|
70
|
+
getAtScope(scope: string, options?: TagsGetAtScopeOptionalParams): Promise<TagsGetAtScopeResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* Deletes the entire set of tags on a resource or subscription.
|
|
73
|
+
* @param scope The resource scope.
|
|
74
|
+
* @param options The options parameters.
|
|
75
|
+
*/
|
|
76
|
+
deleteAtScope(scope: string, options?: TagsDeleteAtScopeOptionalParams): Promise<void>;
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=tagsOperations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tagsOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/tagsOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,UAAU,EACV,sBAAsB,EACtB,6BAA6B,EAC7B,qCAAqC,EACrC,+BAA+B,EAC/B,gCAAgC,EAChC,0BAA0B,EAC1B,wBAAwB,EACxB,YAAY,EACZ,uCAAuC,EACvC,iCAAiC,EACjC,iBAAiB,EACjB,+BAA+B,EAC/B,yBAAyB,EACzB,4BAA4B,EAC5B,sBAAsB,EACtB,+BAA+B,EAChC,MAAM,oBAAoB,CAAC;AAG5B,+CAA+C;AAC/C,MAAM,WAAW,cAAc;IAC7B;;;;;;OAMG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,sBAAsB,GAC/B,0BAA0B,CAAC,UAAU,CAAC,CAAC;IAC1C;;;;;;;OAOG;IACH,WAAW,CACT,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,mBAAmB,CACjB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC,CAAC;IAC5C;;;;;;OAMG;IACH,cAAc,CACZ,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;;OAMG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3E;;;;;;OAMG;IACH,qBAAqB,CACnB,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,YAAY,EACxB,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAC9C;;;;;;;;;OASG;IACH,aAAa,CACX,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,iBAAiB,EAC7B,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACtC;;;;OAIG;IACH,UAAU,CACR,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;;OAIG;IACH,aAAa,CACX,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=tagsOperations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tagsOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/tagsOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n TagDetails,\n TagsListOptionalParams,\n TagsDeleteValueOptionalParams,\n TagsCreateOrUpdateValueOptionalParams,\n TagsCreateOrUpdateValueResponse,\n TagsCreateOrUpdateOptionalParams,\n TagsCreateOrUpdateResponse,\n TagsDeleteOptionalParams,\n TagsResource,\n TagsCreateOrUpdateAtScopeOptionalParams,\n TagsCreateOrUpdateAtScopeResponse,\n TagsPatchResource,\n TagsUpdateAtScopeOptionalParams,\n TagsUpdateAtScopeResponse,\n TagsGetAtScopeOptionalParams,\n TagsGetAtScopeResponse,\n TagsDeleteAtScopeOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a TagsOperations. */\nexport interface TagsOperations {\n /**\n * This operation performs a union of predefined tags, resource tags, resource group tags and\n * subscription tags, and returns a summary of usage for each tag name and value under the given\n * subscription. In case of a large number of tags, this operation may return a previously cached\n * result.\n * @param options The options parameters.\n */\n list(\n options?: TagsListOptionalParams\n ): PagedAsyncIterableIterator<TagDetails>;\n /**\n * This operation allows deleting a value from the list of predefined values for an existing predefined\n * tag name. The value being deleted must not be in use as a tag value for the given tag name for any\n * resource.\n * @param tagName The name of the tag.\n * @param tagValue The value of the tag to delete.\n * @param options The options parameters.\n */\n deleteValue(\n tagName: string,\n tagValue: string,\n options?: TagsDeleteValueOptionalParams\n ): Promise<void>;\n /**\n * This operation allows adding a value to the list of predefined values for an existing predefined tag\n * name. A tag value can have a maximum of 256 characters.\n * @param tagName The name of the tag.\n * @param tagValue The value of the tag to create.\n * @param options The options parameters.\n */\n createOrUpdateValue(\n tagName: string,\n tagValue: string,\n options?: TagsCreateOrUpdateValueOptionalParams\n ): Promise<TagsCreateOrUpdateValueResponse>;\n /**\n * This operation allows adding a name to the list of predefined tag names for the given subscription.\n * A tag name can have a maximum of 512 characters and is case-insensitive. Tag names cannot have the\n * following prefixes which are reserved for Azure use: 'microsoft', 'azure', 'windows'.\n * @param tagName The name of the tag to create.\n * @param options The options parameters.\n */\n createOrUpdate(\n tagName: string,\n options?: TagsCreateOrUpdateOptionalParams\n ): Promise<TagsCreateOrUpdateResponse>;\n /**\n * This operation allows deleting a name from the list of predefined tag names for the given\n * subscription. The name being deleted must not be in use as a tag name for any resource. All\n * predefined values for the given name must have already been deleted.\n * @param tagName The name of the tag.\n * @param options The options parameters.\n */\n delete(tagName: string, options?: TagsDeleteOptionalParams): Promise<void>;\n /**\n * This operation allows adding or replacing the entire set of tags on the specified resource or\n * subscription. The specified entity can have a maximum of 50 tags.\n * @param scope The resource scope.\n * @param parameters Wrapper resource for tags API requests and responses.\n * @param options The options parameters.\n */\n createOrUpdateAtScope(\n scope: string,\n parameters: TagsResource,\n options?: TagsCreateOrUpdateAtScopeOptionalParams\n ): Promise<TagsCreateOrUpdateAtScopeResponse>;\n /**\n * This operation allows replacing, merging or selectively deleting tags on the specified resource or\n * subscription. The specified entity can have a maximum of 50 tags at the end of the operation. The\n * 'replace' option replaces the entire set of existing tags with a new set. The 'merge' option allows\n * adding tags with new names and updating the values of tags with existing names. The 'delete' option\n * allows selectively deleting tags based on given names or name/value pairs.\n * @param scope The resource scope.\n * @param parameters Wrapper resource for tags patch API request only.\n * @param options The options parameters.\n */\n updateAtScope(\n scope: string,\n parameters: TagsPatchResource,\n options?: TagsUpdateAtScopeOptionalParams\n ): Promise<TagsUpdateAtScopeResponse>;\n /**\n * Gets the entire set of tags on a resource or subscription.\n * @param scope The resource scope.\n * @param options The options parameters.\n */\n getAtScope(\n scope: string,\n options?: TagsGetAtScopeOptionalParams\n ): Promise<TagsGetAtScopeResponse>;\n /**\n * Deletes the entire set of tags on a resource or subscription.\n * @param scope The resource scope.\n * @param options The options parameters.\n */\n deleteAtScope(\n scope: string,\n options?: TagsDeleteAtScopeOptionalParams\n ): Promise<void>;\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface PageInfo {
|
|
2
|
+
continuationToken?: string;
|
|
3
|
+
}
|
|
4
|
+
/**
|
|
5
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
6
|
+
* returns a continuation token that can be used to begin paging from
|
|
7
|
+
* that point later.
|
|
8
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
9
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
10
|
+
*/
|
|
11
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
12
|
+
export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
|
|
13
|
+
//# sourceMappingURL=pagingHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
const pageMap = new WeakMap();
|
|
9
|
+
/**
|
|
10
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
11
|
+
* returns a continuation token that can be used to begin paging from
|
|
12
|
+
* that point later.
|
|
13
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
14
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
15
|
+
*/
|
|
16
|
+
export function getContinuationToken(page) {
|
|
17
|
+
var _a;
|
|
18
|
+
if (typeof page !== "object" || page === null) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
22
|
+
}
|
|
23
|
+
export function setContinuationToken(page, continuationToken) {
|
|
24
|
+
var _a;
|
|
25
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
|
29
|
+
pageInfo.continuationToken = continuationToken;
|
|
30
|
+
pageMap.set(page, pageInfo);
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=pagingHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
import * as coreAuth from "@azure/core-auth";
|
|
3
|
+
import { Operations, Deployments, Providers, ProviderResourceTypes, Resources, ResourceGroups, TagsOperations, DeploymentOperations } from "./operationsInterfaces/index.js";
|
|
4
|
+
import { ResourceManagementClientOptionalParams } from "./models/index.js";
|
|
5
|
+
export declare class ResourceManagementClient extends coreClient.ServiceClient {
|
|
6
|
+
$host: string;
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
subscriptionId: string;
|
|
9
|
+
/**
|
|
10
|
+
* Initializes a new instance of the ResourceManagementClient class.
|
|
11
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
12
|
+
* @param subscriptionId The Microsoft Azure subscription ID.
|
|
13
|
+
* @param options The parameter options
|
|
14
|
+
*/
|
|
15
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ResourceManagementClientOptionalParams);
|
|
16
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
17
|
+
private addCustomApiVersionPolicy;
|
|
18
|
+
operations: Operations;
|
|
19
|
+
deployments: Deployments;
|
|
20
|
+
providers: Providers;
|
|
21
|
+
providerResourceTypes: ProviderResourceTypes;
|
|
22
|
+
resources: Resources;
|
|
23
|
+
resourceGroups: ResourceGroups;
|
|
24
|
+
tagsOperations: TagsOperations;
|
|
25
|
+
deploymentOperations: DeploymentOperations;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=resourceManagementClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resourceManagementClient.d.ts","sourceRoot":"","sources":["../../src/resourceManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAW7C,OAAO,EACL,UAAU,EACV,WAAW,EACX,SAAS,EACT,qBAAqB,EACrB,SAAS,EACT,cAAc,EACd,cAAc,EACd,oBAAoB,EACrB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,sCAAsC,EAAE,MAAM,mBAAmB,CAAC;AAE3E,qBAAa,wBAAyB,SAAQ,UAAU,CAAC,aAAa;IACpE,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,sCAAsC;IAmFlD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,EAAE,WAAW,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,SAAS,EAAE,SAAS,CAAC;IACrB,cAAc,EAAE,cAAc,CAAC;IAC/B,cAAc,EAAE,cAAc,CAAC;IAC/B,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
10
|
+
import { OperationsImpl, DeploymentsImpl, ProvidersImpl, ProviderResourceTypesImpl, ResourcesImpl, ResourceGroupsImpl, TagsOperationsImpl, DeploymentOperationsImpl } from "./operations/index.js";
|
|
11
|
+
export class ResourceManagementClient extends coreClient.ServiceClient {
|
|
12
|
+
/**
|
|
13
|
+
* Initializes a new instance of the ResourceManagementClient class.
|
|
14
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
15
|
+
* @param subscriptionId The Microsoft Azure subscription ID.
|
|
16
|
+
* @param options The parameter options
|
|
17
|
+
*/
|
|
18
|
+
constructor(credentials, subscriptionId, options) {
|
|
19
|
+
var _a, _b, _c;
|
|
20
|
+
if (credentials === undefined) {
|
|
21
|
+
throw new Error("'credentials' cannot be null");
|
|
22
|
+
}
|
|
23
|
+
if (subscriptionId === undefined) {
|
|
24
|
+
throw new Error("'subscriptionId' cannot be null");
|
|
25
|
+
}
|
|
26
|
+
// Initializing default values for options
|
|
27
|
+
if (!options) {
|
|
28
|
+
options = {};
|
|
29
|
+
}
|
|
30
|
+
const defaults = {
|
|
31
|
+
requestContentType: "application/json; charset=utf-8",
|
|
32
|
+
credential: credentials
|
|
33
|
+
};
|
|
34
|
+
const packageDetails = `azsdk-js-arm-resources/5.2.1`;
|
|
35
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
36
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
37
|
+
: `${packageDetails}`;
|
|
38
|
+
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
39
|
+
userAgentPrefix
|
|
40
|
+
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
41
|
+
super(optionsWithDefaults);
|
|
42
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
43
|
+
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
44
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
45
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
46
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
47
|
+
}
|
|
48
|
+
if (!options ||
|
|
49
|
+
!options.pipeline ||
|
|
50
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
51
|
+
!bearerTokenAuthenticationPolicyFound) {
|
|
52
|
+
this.pipeline.removePolicy({
|
|
53
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
54
|
+
});
|
|
55
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
56
|
+
credential: credentials,
|
|
57
|
+
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
58
|
+
challengeCallbacks: {
|
|
59
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
60
|
+
}
|
|
61
|
+
}));
|
|
62
|
+
}
|
|
63
|
+
// Parameter assignments
|
|
64
|
+
this.subscriptionId = subscriptionId;
|
|
65
|
+
// Assigning values to Constant parameters
|
|
66
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
67
|
+
this.apiVersion = options.apiVersion || "2021-04-01";
|
|
68
|
+
this.operations = new OperationsImpl(this);
|
|
69
|
+
this.deployments = new DeploymentsImpl(this);
|
|
70
|
+
this.providers = new ProvidersImpl(this);
|
|
71
|
+
this.providerResourceTypes = new ProviderResourceTypesImpl(this);
|
|
72
|
+
this.resources = new ResourcesImpl(this);
|
|
73
|
+
this.resourceGroups = new ResourceGroupsImpl(this);
|
|
74
|
+
this.tagsOperations = new TagsOperationsImpl(this);
|
|
75
|
+
this.deploymentOperations = new DeploymentOperationsImpl(this);
|
|
76
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
77
|
+
}
|
|
78
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
79
|
+
addCustomApiVersionPolicy(apiVersion) {
|
|
80
|
+
if (!apiVersion) {
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
const apiVersionPolicy = {
|
|
84
|
+
name: "CustomApiVersionPolicy",
|
|
85
|
+
async sendRequest(request, next) {
|
|
86
|
+
const param = request.url.split("?");
|
|
87
|
+
if (param.length > 1) {
|
|
88
|
+
const newParams = param[1].split("&").map((item) => {
|
|
89
|
+
if (item.indexOf("api-version") > -1) {
|
|
90
|
+
return "api-version=" + apiVersion;
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
return item;
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
97
|
+
}
|
|
98
|
+
return next(request);
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
//# sourceMappingURL=resourceManagementClient.js.map
|