@azure/arm-search 4.0.0-alpha.20250213.1 → 4.0.0-alpha.20250217.2
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/adminKeys.d.ts +3 -3
- package/dist/browser/operations/adminKeys.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/adminKeys.js +2 -2
- package/dist/browser/operations/adminKeys.js.map +1 -0
- package/dist/browser/operations/index.d.ts +10 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +17 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/networkSecurityPerimeterConfigurations.d.ts +3 -3
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/networkSecurityPerimeterConfigurations.js +42 -46
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.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 +2 -2
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +3 -3
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +3 -3
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateLinkResources.d.ts +3 -3
- package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateLinkResources.js +2 -2
- package/dist/browser/operations/privateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/queryKeys.d.ts +3 -3
- package/dist/browser/operations/queryKeys.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/queryKeys.js +3 -3
- package/dist/browser/operations/queryKeys.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/services.d.ts +3 -3
- package/dist/browser/operations/services.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/services.js +41 -45
- package/dist/browser/operations/services.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/sharedPrivateLinkResources.d.ts +3 -3
- package/dist/browser/operations/sharedPrivateLinkResources.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/sharedPrivateLinkResources.js +88 -96
- package/dist/browser/operations/sharedPrivateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/usages.d.ts +3 -3
- package/dist/browser/operations/usages.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/usages.js +3 -3
- package/dist/browser/operations/usages.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/adminKeys.d.ts +1 -1
- package/dist/browser/operationsInterfaces/adminKeys.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/adminKeys.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +10 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +17 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.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/privateEndpointConnections.d.ts +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.d.ts +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/queryKeys.d.ts +1 -1
- package/dist/browser/operationsInterfaces/queryKeys.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/queryKeys.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/services.d.ts +1 -1
- package/dist/browser/operationsInterfaces/services.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/services.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/sharedPrivateLinkResources.d.ts +1 -1
- package/dist/browser/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.d.ts +1 -1
- package/dist/browser/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/usages.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}/searchManagementClient.d.ts +2 -2
- package/dist/browser/searchManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/searchManagementClient.js +17 -20
- package/dist/browser/searchManagementClient.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/{types/arm-search.d.ts → dist/commonjs/models/index.d.ts} +1247 -1791
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +135 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +60 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +1841 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +26 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +233 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/adminKeys.d.ts +33 -0
- package/dist/commonjs/operations/adminKeys.d.ts.map +1 -0
- package/dist/commonjs/operations/adminKeys.js +95 -0
- package/dist/commonjs/operations/adminKeys.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +10 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +20 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts +79 -0
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js +289 -0
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +26 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +100 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.d.ts +79 -0
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.js +290 -0
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operations/privateLinkResources.d.ts +34 -0
- package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operations/privateLinkResources.js +113 -0
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
- package/dist/commonjs/operations/queryKeys.d.ts +66 -0
- package/dist/commonjs/operations/queryKeys.d.ts.map +1 -0
- package/dist/commonjs/operations/queryKeys.js +230 -0
- package/dist/commonjs/operations/queryKeys.js.map +1 -0
- package/dist/commonjs/operations/services.d.ts +123 -0
- package/dist/commonjs/operations/services.d.ts.map +1 -0
- package/dist/commonjs/operations/services.js +506 -0
- package/dist/commonjs/operations/services.js.map +1 -0
- package/dist/commonjs/operations/sharedPrivateLinkResources.d.ts +107 -0
- package/dist/commonjs/operations/sharedPrivateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operations/sharedPrivateLinkResources.js +400 -0
- package/dist/commonjs/operations/sharedPrivateLinkResources.js.map +1 -0
- package/dist/commonjs/operations/usages.d.ts +35 -0
- package/dist/commonjs/operations/usages.d.ts.map +1 -0
- package/dist/commonjs/operations/usages.js +149 -0
- package/dist/commonjs/operations/usages.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/adminKeys.d.ts +25 -0
- package/dist/commonjs/operationsInterfaces/adminKeys.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/adminKeys.js +10 -0
- package/dist/commonjs/operationsInterfaces/adminKeys.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +10 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +20 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js +10 -0
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.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/privateEndpointConnections.d.ts +50 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +15 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/queryKeys.d.ts +37 -0
- package/dist/commonjs/operationsInterfaces/queryKeys.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/queryKeys.js +10 -0
- package/dist/commonjs/operationsInterfaces/queryKeys.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/services.d.ts +85 -0
- package/dist/commonjs/operationsInterfaces/services.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/services.js +10 -0
- package/dist/commonjs/operationsInterfaces/services.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/sharedPrivateLinkResources.d.ts +78 -0
- package/dist/commonjs/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/sharedPrivateLinkResources.js +10 -0
- package/dist/commonjs/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/usages.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/usages.js +10 -0
- package/dist/commonjs/operationsInterfaces/usages.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/searchManagementClient.d.ts +36 -0
- package/dist/commonjs/searchManagementClient.d.ts.map +1 -0
- package/dist/commonjs/searchManagementClient.js +146 -0
- package/dist/commonjs/searchManagementClient.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 +1247 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +132 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +60 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +1837 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +26 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +230 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/adminKeys.d.ts +33 -0
- package/dist/esm/operations/adminKeys.d.ts.map +1 -0
- package/dist/esm/operations/adminKeys.js +90 -0
- package/dist/esm/operations/adminKeys.js.map +1 -0
- package/dist/esm/operations/index.d.ts +10 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +17 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts +79 -0
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.js +285 -0
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +26 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +96 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts +79 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.js +286 -0
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operations/privateLinkResources.d.ts +34 -0
- package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/esm/operations/privateLinkResources.js +109 -0
- package/dist/esm/operations/privateLinkResources.js.map +1 -0
- package/dist/esm/operations/queryKeys.d.ts +66 -0
- package/dist/esm/operations/queryKeys.d.ts.map +1 -0
- package/dist/esm/operations/queryKeys.js +226 -0
- package/dist/esm/operations/queryKeys.js.map +1 -0
- package/dist/esm/operations/services.d.ts +123 -0
- package/dist/esm/operations/services.d.ts.map +1 -0
- package/dist/esm/operations/services.js +502 -0
- package/dist/esm/operations/services.js.map +1 -0
- package/dist/esm/operations/sharedPrivateLinkResources.d.ts +107 -0
- package/dist/esm/operations/sharedPrivateLinkResources.d.ts.map +1 -0
- package/dist/esm/operations/sharedPrivateLinkResources.js +396 -0
- package/dist/esm/operations/sharedPrivateLinkResources.js.map +1 -0
- package/dist/esm/operations/usages.d.ts +35 -0
- package/dist/esm/operations/usages.d.ts.map +1 -0
- package/dist/esm/operations/usages.js +145 -0
- package/dist/esm/operations/usages.js.map +1 -0
- package/dist/esm/operationsInterfaces/adminKeys.d.ts +25 -0
- package/dist/esm/operationsInterfaces/adminKeys.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/adminKeys.js +9 -0
- package/dist/esm/operationsInterfaces/adminKeys.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +10 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +17 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.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/privateEndpointConnections.d.ts +50 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +15 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/esm/operationsInterfaces/queryKeys.d.ts +37 -0
- package/dist/esm/operationsInterfaces/queryKeys.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/queryKeys.js +9 -0
- package/dist/esm/operationsInterfaces/queryKeys.js.map +1 -0
- package/dist/esm/operationsInterfaces/services.d.ts +85 -0
- package/dist/esm/operationsInterfaces/services.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/services.js +9 -0
- package/dist/esm/operationsInterfaces/services.js.map +1 -0
- package/dist/esm/operationsInterfaces/sharedPrivateLinkResources.d.ts +78 -0
- package/dist/esm/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/sharedPrivateLinkResources.js +9 -0
- package/dist/esm/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -0
- package/dist/esm/operationsInterfaces/usages.d.ts +12 -0
- package/dist/esm/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/usages.js +9 -0
- package/dist/esm/operationsInterfaces/usages.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/searchManagementClient.d.ts +36 -0
- package/dist/esm/searchManagementClient.d.ts.map +1 -0
- package/dist/esm/searchManagementClient.js +141 -0
- package/dist/esm/searchManagementClient.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 +1247 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +132 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +60 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +1837 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +26 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +230 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/adminKeys.d.ts +33 -0
- package/dist/react-native/operations/adminKeys.d.ts.map +1 -0
- package/dist/react-native/operations/adminKeys.js +90 -0
- package/dist/react-native/operations/adminKeys.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +10 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +17 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts +79 -0
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js +285 -0
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +26 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +96 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/privateEndpointConnections.d.ts +79 -0
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operations/privateEndpointConnections.js +286 -0
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
- package/dist/react-native/operations/privateLinkResources.d.ts +34 -0
- package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operations/privateLinkResources.js +109 -0
- package/dist/react-native/operations/privateLinkResources.js.map +1 -0
- package/dist/react-native/operations/queryKeys.d.ts +66 -0
- package/dist/react-native/operations/queryKeys.d.ts.map +1 -0
- package/dist/react-native/operations/queryKeys.js +226 -0
- package/dist/react-native/operations/queryKeys.js.map +1 -0
- package/dist/react-native/operations/services.d.ts +123 -0
- package/dist/react-native/operations/services.d.ts.map +1 -0
- package/dist/react-native/operations/services.js +502 -0
- package/dist/react-native/operations/services.js.map +1 -0
- package/dist/react-native/operations/sharedPrivateLinkResources.d.ts +107 -0
- package/dist/react-native/operations/sharedPrivateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operations/sharedPrivateLinkResources.js +396 -0
- package/dist/react-native/operations/sharedPrivateLinkResources.js.map +1 -0
- package/dist/react-native/operations/usages.d.ts +35 -0
- package/dist/react-native/operations/usages.d.ts.map +1 -0
- package/dist/react-native/operations/usages.js +145 -0
- package/dist/react-native/operations/usages.js.map +1 -0
- package/dist/react-native/operationsInterfaces/adminKeys.d.ts +25 -0
- package/dist/react-native/operationsInterfaces/adminKeys.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/adminKeys.js +9 -0
- package/dist/react-native/operationsInterfaces/adminKeys.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +10 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +17 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.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/privateEndpointConnections.d.ts +50 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +15 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/react-native/operationsInterfaces/queryKeys.d.ts +37 -0
- package/dist/react-native/operationsInterfaces/queryKeys.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/queryKeys.js +9 -0
- package/dist/react-native/operationsInterfaces/queryKeys.js.map +1 -0
- package/dist/react-native/operationsInterfaces/services.d.ts +85 -0
- package/dist/react-native/operationsInterfaces/services.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/services.js +9 -0
- package/dist/react-native/operationsInterfaces/services.js.map +1 -0
- package/dist/react-native/operationsInterfaces/sharedPrivateLinkResources.d.ts +78 -0
- package/dist/react-native/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/sharedPrivateLinkResources.js +9 -0
- package/dist/react-native/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -0
- package/dist/react-native/operationsInterfaces/usages.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/usages.js +9 -0
- package/dist/react-native/operationsInterfaces/usages.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/searchManagementClient.d.ts +36 -0
- package/dist/react-native/searchManagementClient.d.ts.map +1 -0
- package/dist/react-native/searchManagementClient.js +141 -0
- package/dist/react-native/searchManagementClient.js.map +1 -0
- package/package.json +67 -37
- package/dist/index.js +0 -4571
- 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/adminKeysGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/adminKeysGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/adminKeysGetSample.js +0 -36
- package/dist-esm/samples-dev/adminKeysGetSample.js.map +0 -1
- package/dist-esm/samples-dev/adminKeysRegenerateSample.d.ts +0 -2
- package/dist-esm/samples-dev/adminKeysRegenerateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/adminKeysRegenerateSample.js +0 -37
- package/dist-esm/samples-dev/adminKeysRegenerateSample.js.map +0 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js +0 -37
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.d.ts +0 -2
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.js +0 -52
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.js.map +0 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts +0 -2
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js +0 -37
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -50
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -37
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -37
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js +0 -52
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +0 -38
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js +0 -52
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js.map +0 -1
- package/dist-esm/samples-dev/queryKeysCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/queryKeysCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryKeysCreateSample.js +0 -37
- package/dist-esm/samples-dev/queryKeysCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/queryKeysDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/queryKeysDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryKeysDeleteSample.js +0 -37
- package/dist-esm/samples-dev/queryKeysDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/queryKeysListBySearchServiceSample.d.ts +0 -2
- package/dist-esm/samples-dev/queryKeysListBySearchServiceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryKeysListBySearchServiceSample.js +0 -52
- package/dist-esm/samples-dev/queryKeysListBySearchServiceSample.js.map +0 -1
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js +0 -35
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +0 -292
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/servicesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/servicesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/servicesDeleteSample.js +0 -36
- package/dist-esm/samples-dev/servicesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/servicesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/servicesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/servicesGetSample.js +0 -36
- package/dist-esm/samples-dev/servicesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.js +0 -51
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/servicesListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/servicesListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/servicesListBySubscriptionSample.js +0 -50
- package/dist-esm/samples-dev/servicesListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/servicesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/servicesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/servicesUpdateSample.js +0 -248
- package/dist-esm/samples-dev/servicesUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesCreateOrUpdateSample.js +0 -38
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesDeleteSample.js +0 -37
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesGetSample.js +0 -37
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesListByServiceSample.d.ts +0 -2
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesListByServiceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesListByServiceSample.js +0 -52
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesListByServiceSample.js.map +0 -1
- package/dist-esm/samples-dev/usageBySubscriptionSkuSample.d.ts +0 -2
- package/dist-esm/samples-dev/usageBySubscriptionSkuSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/usageBySubscriptionSkuSample.js +0 -36
- package/dist-esm/samples-dev/usageBySubscriptionSkuSample.js.map +0 -1
- package/dist-esm/samples-dev/usagesListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/usagesListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/usagesListBySubscriptionSample.js +0 -51
- package/dist-esm/samples-dev/usagesListBySubscriptionSample.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/adminKeys.d.ts.map +0 -1
- package/dist-esm/src/operations/adminKeys.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -10
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -17
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.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/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
- package/dist-esm/src/operations/queryKeys.d.ts.map +0 -1
- package/dist-esm/src/operations/queryKeys.js.map +0 -1
- package/dist-esm/src/operations/services.d.ts.map +0 -1
- package/dist-esm/src/operations/services.js.map +0 -1
- package/dist-esm/src/operations/sharedPrivateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operations/sharedPrivateLinkResources.js.map +0 -1
- package/dist-esm/src/operations/usages.d.ts.map +0 -1
- package/dist-esm/src/operations/usages.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/adminKeys.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/adminKeys.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -10
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -17
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/queryKeys.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/queryKeys.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/services.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/services.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/usages.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/usages.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/src/searchManagementClient.d.ts.map +0 -1
- package/dist-esm/src/searchManagementClient.js.map +0 -1
- package/dist-esm/test/search_examples.d.ts +0 -4
- package/dist-esm/test/search_examples.d.ts.map +0 -1
- package/dist-esm/test/search_examples.js +0 -228
- package/dist-esm/test/search_examples.js.map +0 -1
- package/src/lroImpl.ts +0 -38
- package/src/models/index.ts +0 -1449
- package/src/models/mappers.ts +0 -1969
- package/src/models/parameters.ts +0 -267
- package/src/operations/adminKeys.ts +0 -120
- package/src/operations/index.ts +0 -17
- package/src/operations/networkSecurityPerimeterConfigurations.ts +0 -400
- package/src/operations/operations.ts +0 -103
- package/src/operations/privateEndpointConnections.ts +0 -373
- package/src/operations/privateLinkResources.ts +0 -144
- package/src/operations/queryKeys.ts +0 -298
- package/src/operations/services.ts +0 -634
- package/src/operations/sharedPrivateLinkResources.ts +0 -544
- package/src/operations/usages.ts +0 -176
- package/src/operationsInterfaces/adminKeys.ts +0 -48
- package/src/operationsInterfaces/index.ts +0 -17
- package/src/operationsInterfaces/networkSecurityPerimeterConfigurations.ts +0 -90
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/privateEndpointConnections.ts +0 -88
- package/src/operationsInterfaces/privateLinkResources.ts +0 -31
- package/src/operationsInterfaces/queryKeys.ts +0 -66
- package/src/operationsInterfaces/services.ts +0 -144
- package/src/operationsInterfaces/sharedPrivateLinkResources.ts +0 -131
- package/src/operationsInterfaces/usages.ts +0 -27
- package/src/pagingHelper.ts +0 -39
- package/src/searchManagementClient.ts +0 -226
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/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/adminKeys.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/networkSecurityPerimeterConfigurations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/queryKeys.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/services.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/sharedPrivateLinkResources.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.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,107 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { SharedPrivateLinkResources } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { SearchManagementClient } from "../searchManagementClient.js";
|
|
4
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
import { SharedPrivateLinkResource, SharedPrivateLinkResourcesListByServiceOptionalParams, SharedPrivateLinkResourcesCreateOrUpdateOptionalParams, SharedPrivateLinkResourcesCreateOrUpdateResponse, SharedPrivateLinkResourcesGetOptionalParams, SharedPrivateLinkResourcesGetResponse, SharedPrivateLinkResourcesDeleteOptionalParams } from "../models/index.js";
|
|
6
|
+
/** Class containing SharedPrivateLinkResources operations. */
|
|
7
|
+
export declare class SharedPrivateLinkResourcesImpl implements SharedPrivateLinkResources {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class SharedPrivateLinkResources class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: SearchManagementClient);
|
|
14
|
+
/**
|
|
15
|
+
* Gets a list of all shared private link resources managed by the given service.
|
|
16
|
+
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
17
|
+
* obtain this value from the Azure Resource Manager API or the portal.
|
|
18
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
19
|
+
* resource group.
|
|
20
|
+
* @param options The options parameters.
|
|
21
|
+
*/
|
|
22
|
+
listByService(resourceGroupName: string, searchServiceName: string, options?: SharedPrivateLinkResourcesListByServiceOptionalParams): PagedAsyncIterableIterator<SharedPrivateLinkResource>;
|
|
23
|
+
private listByServicePagingPage;
|
|
24
|
+
private listByServicePagingAll;
|
|
25
|
+
/**
|
|
26
|
+
* Initiates the creation or update of a shared private link resource managed by the search service in
|
|
27
|
+
* the given resource group.
|
|
28
|
+
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
29
|
+
* obtain this value from the Azure Resource Manager API or the portal.
|
|
30
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
31
|
+
* resource group.
|
|
32
|
+
* @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
|
|
33
|
+
* Azure AI Search service within the specified resource group.
|
|
34
|
+
* @param sharedPrivateLinkResource The definition of the shared private link resource to create or
|
|
35
|
+
* update.
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
beginCreateOrUpdate(resourceGroupName: string, searchServiceName: string, sharedPrivateLinkResourceName: string, sharedPrivateLinkResource: SharedPrivateLinkResource, options?: SharedPrivateLinkResourcesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SharedPrivateLinkResourcesCreateOrUpdateResponse>, SharedPrivateLinkResourcesCreateOrUpdateResponse>>;
|
|
39
|
+
/**
|
|
40
|
+
* Initiates the creation or update of a shared private link resource managed by the search service in
|
|
41
|
+
* the given resource group.
|
|
42
|
+
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
43
|
+
* obtain this value from the Azure Resource Manager API or the portal.
|
|
44
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
45
|
+
* resource group.
|
|
46
|
+
* @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
|
|
47
|
+
* Azure AI Search service within the specified resource group.
|
|
48
|
+
* @param sharedPrivateLinkResource The definition of the shared private link resource to create or
|
|
49
|
+
* update.
|
|
50
|
+
* @param options The options parameters.
|
|
51
|
+
*/
|
|
52
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, searchServiceName: string, sharedPrivateLinkResourceName: string, sharedPrivateLinkResource: SharedPrivateLinkResource, options?: SharedPrivateLinkResourcesCreateOrUpdateOptionalParams): Promise<SharedPrivateLinkResourcesCreateOrUpdateResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* Gets the details of the shared private link resource managed by the search service in the given
|
|
55
|
+
* resource group.
|
|
56
|
+
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
57
|
+
* obtain this value from the Azure Resource Manager API or the portal.
|
|
58
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
59
|
+
* resource group.
|
|
60
|
+
* @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
|
|
61
|
+
* Azure AI Search service within the specified resource group.
|
|
62
|
+
* @param options The options parameters.
|
|
63
|
+
*/
|
|
64
|
+
get(resourceGroupName: string, searchServiceName: string, sharedPrivateLinkResourceName: string, options?: SharedPrivateLinkResourcesGetOptionalParams): Promise<SharedPrivateLinkResourcesGetResponse>;
|
|
65
|
+
/**
|
|
66
|
+
* Initiates the deletion of the shared private link resource from the search service.
|
|
67
|
+
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
68
|
+
* obtain this value from the Azure Resource Manager API or the portal.
|
|
69
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
70
|
+
* resource group.
|
|
71
|
+
* @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
|
|
72
|
+
* Azure AI Search service within the specified resource group.
|
|
73
|
+
* @param options The options parameters.
|
|
74
|
+
*/
|
|
75
|
+
beginDelete(resourceGroupName: string, searchServiceName: string, sharedPrivateLinkResourceName: string, options?: SharedPrivateLinkResourcesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
76
|
+
/**
|
|
77
|
+
* Initiates the deletion of the shared private link resource from the search service.
|
|
78
|
+
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
79
|
+
* obtain this value from the Azure Resource Manager API or the portal.
|
|
80
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
81
|
+
* resource group.
|
|
82
|
+
* @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
|
|
83
|
+
* Azure AI Search service within the specified resource group.
|
|
84
|
+
* @param options The options parameters.
|
|
85
|
+
*/
|
|
86
|
+
beginDeleteAndWait(resourceGroupName: string, searchServiceName: string, sharedPrivateLinkResourceName: string, options?: SharedPrivateLinkResourcesDeleteOptionalParams): Promise<void>;
|
|
87
|
+
/**
|
|
88
|
+
* Gets a list of all shared private link resources managed by the given service.
|
|
89
|
+
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
90
|
+
* obtain this value from the Azure Resource Manager API or the portal.
|
|
91
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
92
|
+
* resource group.
|
|
93
|
+
* @param options The options parameters.
|
|
94
|
+
*/
|
|
95
|
+
private _listByService;
|
|
96
|
+
/**
|
|
97
|
+
* ListByServiceNext
|
|
98
|
+
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
99
|
+
* obtain this value from the Azure Resource Manager API or the portal.
|
|
100
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
101
|
+
* resource group.
|
|
102
|
+
* @param nextLink The nextLink from the previous successful call to the ListByService method.
|
|
103
|
+
* @param options The options parameters.
|
|
104
|
+
*/
|
|
105
|
+
private _listByServiceNext;
|
|
106
|
+
}
|
|
107
|
+
//# sourceMappingURL=sharedPrivateLinkResources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharedPrivateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/sharedPrivateLinkResources.ts"],"names":[],"mappings":"AAQ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B,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAYjD;;;;;;;;;OASG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IA0DxD;;;;;;;;;OASG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC;IAUhB;;;;;;;OAOG;IACH,OAAO,CAAC,cAAc;IAWtB;;;;;;;;OAQG;IACH,OAAO,CAAC,kBAAkB;CAW3B"}
|
|
@@ -0,0 +1,400 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.SharedPrivateLinkResourcesImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
+
const core_lro_1 = require("@azure/core-lro");
|
|
17
|
+
const lroImpl_js_1 = require("../lroImpl.js");
|
|
18
|
+
/// <reference lib="esnext.asynciterable" />
|
|
19
|
+
/** Class containing SharedPrivateLinkResources operations. */
|
|
20
|
+
class SharedPrivateLinkResourcesImpl {
|
|
21
|
+
/**
|
|
22
|
+
* Initialize a new instance of the class SharedPrivateLinkResources class.
|
|
23
|
+
* @param client Reference to the service client
|
|
24
|
+
*/
|
|
25
|
+
constructor(client) {
|
|
26
|
+
this.client = client;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Gets a list of all shared private link resources managed by the given service.
|
|
30
|
+
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
31
|
+
* obtain this value from the Azure Resource Manager API or the portal.
|
|
32
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
33
|
+
* resource group.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
listByService(resourceGroupName, searchServiceName, options) {
|
|
37
|
+
const iter = this.listByServicePagingAll(resourceGroupName, searchServiceName, options);
|
|
38
|
+
return {
|
|
39
|
+
next() {
|
|
40
|
+
return iter.next();
|
|
41
|
+
},
|
|
42
|
+
[Symbol.asyncIterator]() {
|
|
43
|
+
return this;
|
|
44
|
+
},
|
|
45
|
+
byPage: (settings) => {
|
|
46
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
47
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
48
|
+
}
|
|
49
|
+
return this.listByServicePagingPage(resourceGroupName, searchServiceName, options, settings);
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
listByServicePagingPage(resourceGroupName, searchServiceName, options, settings) {
|
|
54
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listByServicePagingPage_1() {
|
|
55
|
+
let result;
|
|
56
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
57
|
+
if (!continuationToken) {
|
|
58
|
+
result = yield tslib_1.__await(this._listByService(resourceGroupName, searchServiceName, options));
|
|
59
|
+
let page = result.value || [];
|
|
60
|
+
continuationToken = result.nextLink;
|
|
61
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
62
|
+
yield yield tslib_1.__await(page);
|
|
63
|
+
}
|
|
64
|
+
while (continuationToken) {
|
|
65
|
+
result = yield tslib_1.__await(this._listByServiceNext(resourceGroupName, searchServiceName, continuationToken, options));
|
|
66
|
+
continuationToken = result.nextLink;
|
|
67
|
+
let page = result.value || [];
|
|
68
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
69
|
+
yield yield tslib_1.__await(page);
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
listByServicePagingAll(resourceGroupName, searchServiceName, options) {
|
|
74
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listByServicePagingAll_1() {
|
|
75
|
+
var _a, e_1, _b, _c;
|
|
76
|
+
try {
|
|
77
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listByServicePagingPage(resourceGroupName, searchServiceName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
78
|
+
_c = _f.value;
|
|
79
|
+
_d = false;
|
|
80
|
+
const page = _c;
|
|
81
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
85
|
+
finally {
|
|
86
|
+
try {
|
|
87
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
88
|
+
}
|
|
89
|
+
finally { if (e_1) throw e_1.error; }
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Initiates the creation or update of a shared private link resource managed by the search service in
|
|
95
|
+
* the given resource group.
|
|
96
|
+
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
97
|
+
* obtain this value from the Azure Resource Manager API or the portal.
|
|
98
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
99
|
+
* resource group.
|
|
100
|
+
* @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
|
|
101
|
+
* Azure AI Search service within the specified resource group.
|
|
102
|
+
* @param sharedPrivateLinkResource The definition of the shared private link resource to create or
|
|
103
|
+
* update.
|
|
104
|
+
* @param options The options parameters.
|
|
105
|
+
*/
|
|
106
|
+
async beginCreateOrUpdate(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, sharedPrivateLinkResource, options) {
|
|
107
|
+
const directSendOperation = async (args, spec) => {
|
|
108
|
+
return this.client.sendOperationRequest(args, spec);
|
|
109
|
+
};
|
|
110
|
+
const sendOperationFn = async (args, spec) => {
|
|
111
|
+
var _a;
|
|
112
|
+
let currentRawResponse = undefined;
|
|
113
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
114
|
+
const callback = (rawResponse, flatResponse) => {
|
|
115
|
+
currentRawResponse = rawResponse;
|
|
116
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
117
|
+
};
|
|
118
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
119
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
120
|
+
return {
|
|
121
|
+
flatResponse,
|
|
122
|
+
rawResponse: {
|
|
123
|
+
statusCode: currentRawResponse.status,
|
|
124
|
+
body: currentRawResponse.parsedBody,
|
|
125
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
126
|
+
},
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
130
|
+
sendOperationFn,
|
|
131
|
+
args: {
|
|
132
|
+
resourceGroupName,
|
|
133
|
+
searchServiceName,
|
|
134
|
+
sharedPrivateLinkResourceName,
|
|
135
|
+
sharedPrivateLinkResource,
|
|
136
|
+
options,
|
|
137
|
+
},
|
|
138
|
+
spec: createOrUpdateOperationSpec,
|
|
139
|
+
});
|
|
140
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
141
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
142
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
143
|
+
resourceLocationConfig: "azure-async-operation",
|
|
144
|
+
});
|
|
145
|
+
await poller.poll();
|
|
146
|
+
return poller;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Initiates the creation or update of a shared private link resource managed by the search service in
|
|
150
|
+
* the given resource group.
|
|
151
|
+
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
152
|
+
* obtain this value from the Azure Resource Manager API or the portal.
|
|
153
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
154
|
+
* resource group.
|
|
155
|
+
* @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
|
|
156
|
+
* Azure AI Search service within the specified resource group.
|
|
157
|
+
* @param sharedPrivateLinkResource The definition of the shared private link resource to create or
|
|
158
|
+
* update.
|
|
159
|
+
* @param options The options parameters.
|
|
160
|
+
*/
|
|
161
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, sharedPrivateLinkResource, options) {
|
|
162
|
+
const poller = await this.beginCreateOrUpdate(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, sharedPrivateLinkResource, options);
|
|
163
|
+
return poller.pollUntilDone();
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Gets the details of the shared private link resource managed by the search service in the given
|
|
167
|
+
* resource group.
|
|
168
|
+
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
169
|
+
* obtain this value from the Azure Resource Manager API or the portal.
|
|
170
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
171
|
+
* resource group.
|
|
172
|
+
* @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
|
|
173
|
+
* Azure AI Search service within the specified resource group.
|
|
174
|
+
* @param options The options parameters.
|
|
175
|
+
*/
|
|
176
|
+
get(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options) {
|
|
177
|
+
return this.client.sendOperationRequest({
|
|
178
|
+
resourceGroupName,
|
|
179
|
+
searchServiceName,
|
|
180
|
+
sharedPrivateLinkResourceName,
|
|
181
|
+
options,
|
|
182
|
+
}, getOperationSpec);
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Initiates the deletion of the shared private link resource from the search service.
|
|
186
|
+
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
187
|
+
* obtain this value from the Azure Resource Manager API or the portal.
|
|
188
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
189
|
+
* resource group.
|
|
190
|
+
* @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
|
|
191
|
+
* Azure AI Search service within the specified resource group.
|
|
192
|
+
* @param options The options parameters.
|
|
193
|
+
*/
|
|
194
|
+
async beginDelete(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options) {
|
|
195
|
+
const directSendOperation = async (args, spec) => {
|
|
196
|
+
return this.client.sendOperationRequest(args, spec);
|
|
197
|
+
};
|
|
198
|
+
const sendOperationFn = async (args, spec) => {
|
|
199
|
+
var _a;
|
|
200
|
+
let currentRawResponse = undefined;
|
|
201
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
202
|
+
const callback = (rawResponse, flatResponse) => {
|
|
203
|
+
currentRawResponse = rawResponse;
|
|
204
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
205
|
+
};
|
|
206
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
207
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
208
|
+
return {
|
|
209
|
+
flatResponse,
|
|
210
|
+
rawResponse: {
|
|
211
|
+
statusCode: currentRawResponse.status,
|
|
212
|
+
body: currentRawResponse.parsedBody,
|
|
213
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
214
|
+
},
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
218
|
+
sendOperationFn,
|
|
219
|
+
args: {
|
|
220
|
+
resourceGroupName,
|
|
221
|
+
searchServiceName,
|
|
222
|
+
sharedPrivateLinkResourceName,
|
|
223
|
+
options,
|
|
224
|
+
},
|
|
225
|
+
spec: deleteOperationSpec,
|
|
226
|
+
});
|
|
227
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
228
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
229
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
230
|
+
resourceLocationConfig: "azure-async-operation",
|
|
231
|
+
});
|
|
232
|
+
await poller.poll();
|
|
233
|
+
return poller;
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* Initiates the deletion of the shared private link resource from the search service.
|
|
237
|
+
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
238
|
+
* obtain this value from the Azure Resource Manager API or the portal.
|
|
239
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
240
|
+
* resource group.
|
|
241
|
+
* @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
|
|
242
|
+
* Azure AI Search service within the specified resource group.
|
|
243
|
+
* @param options The options parameters.
|
|
244
|
+
*/
|
|
245
|
+
async beginDeleteAndWait(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options) {
|
|
246
|
+
const poller = await this.beginDelete(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options);
|
|
247
|
+
return poller.pollUntilDone();
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* Gets a list of all shared private link resources managed by the given service.
|
|
251
|
+
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
252
|
+
* obtain this value from the Azure Resource Manager API or the portal.
|
|
253
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
254
|
+
* resource group.
|
|
255
|
+
* @param options The options parameters.
|
|
256
|
+
*/
|
|
257
|
+
_listByService(resourceGroupName, searchServiceName, options) {
|
|
258
|
+
return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, options }, listByServiceOperationSpec);
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* ListByServiceNext
|
|
262
|
+
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
263
|
+
* obtain this value from the Azure Resource Manager API or the portal.
|
|
264
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
265
|
+
* resource group.
|
|
266
|
+
* @param nextLink The nextLink from the previous successful call to the ListByService method.
|
|
267
|
+
* @param options The options parameters.
|
|
268
|
+
*/
|
|
269
|
+
_listByServiceNext(resourceGroupName, searchServiceName, nextLink, options) {
|
|
270
|
+
return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, nextLink, options }, listByServiceNextOperationSpec);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
exports.SharedPrivateLinkResourcesImpl = SharedPrivateLinkResourcesImpl;
|
|
274
|
+
// Operation Specifications
|
|
275
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
276
|
+
const createOrUpdateOperationSpec = {
|
|
277
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
|
|
278
|
+
httpMethod: "PUT",
|
|
279
|
+
responses: {
|
|
280
|
+
200: {
|
|
281
|
+
bodyMapper: Mappers.SharedPrivateLinkResource,
|
|
282
|
+
},
|
|
283
|
+
201: {
|
|
284
|
+
bodyMapper: Mappers.SharedPrivateLinkResource,
|
|
285
|
+
},
|
|
286
|
+
202: {
|
|
287
|
+
bodyMapper: Mappers.SharedPrivateLinkResource,
|
|
288
|
+
},
|
|
289
|
+
204: {
|
|
290
|
+
bodyMapper: Mappers.SharedPrivateLinkResource,
|
|
291
|
+
},
|
|
292
|
+
default: {
|
|
293
|
+
bodyMapper: Mappers.CloudError,
|
|
294
|
+
},
|
|
295
|
+
},
|
|
296
|
+
requestBody: Parameters.sharedPrivateLinkResource,
|
|
297
|
+
queryParameters: [Parameters.apiVersion],
|
|
298
|
+
urlParameters: [
|
|
299
|
+
Parameters.$host,
|
|
300
|
+
Parameters.resourceGroupName,
|
|
301
|
+
Parameters.searchServiceName,
|
|
302
|
+
Parameters.subscriptionId,
|
|
303
|
+
Parameters.sharedPrivateLinkResourceName,
|
|
304
|
+
],
|
|
305
|
+
headerParameters: [
|
|
306
|
+
Parameters.accept,
|
|
307
|
+
Parameters.clientRequestId,
|
|
308
|
+
Parameters.contentType,
|
|
309
|
+
],
|
|
310
|
+
mediaType: "json",
|
|
311
|
+
serializer,
|
|
312
|
+
};
|
|
313
|
+
const getOperationSpec = {
|
|
314
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
|
|
315
|
+
httpMethod: "GET",
|
|
316
|
+
responses: {
|
|
317
|
+
200: {
|
|
318
|
+
bodyMapper: Mappers.SharedPrivateLinkResource,
|
|
319
|
+
},
|
|
320
|
+
default: {
|
|
321
|
+
bodyMapper: Mappers.CloudError,
|
|
322
|
+
},
|
|
323
|
+
},
|
|
324
|
+
queryParameters: [Parameters.apiVersion],
|
|
325
|
+
urlParameters: [
|
|
326
|
+
Parameters.$host,
|
|
327
|
+
Parameters.resourceGroupName,
|
|
328
|
+
Parameters.searchServiceName,
|
|
329
|
+
Parameters.subscriptionId,
|
|
330
|
+
Parameters.sharedPrivateLinkResourceName,
|
|
331
|
+
],
|
|
332
|
+
headerParameters: [Parameters.accept, Parameters.clientRequestId],
|
|
333
|
+
serializer,
|
|
334
|
+
};
|
|
335
|
+
const deleteOperationSpec = {
|
|
336
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
|
|
337
|
+
httpMethod: "DELETE",
|
|
338
|
+
responses: {
|
|
339
|
+
200: {},
|
|
340
|
+
201: {},
|
|
341
|
+
202: {},
|
|
342
|
+
204: {},
|
|
343
|
+
default: {
|
|
344
|
+
bodyMapper: Mappers.CloudError,
|
|
345
|
+
},
|
|
346
|
+
},
|
|
347
|
+
queryParameters: [Parameters.apiVersion],
|
|
348
|
+
urlParameters: [
|
|
349
|
+
Parameters.$host,
|
|
350
|
+
Parameters.resourceGroupName,
|
|
351
|
+
Parameters.searchServiceName,
|
|
352
|
+
Parameters.subscriptionId,
|
|
353
|
+
Parameters.sharedPrivateLinkResourceName,
|
|
354
|
+
],
|
|
355
|
+
headerParameters: [Parameters.accept, Parameters.clientRequestId],
|
|
356
|
+
serializer,
|
|
357
|
+
};
|
|
358
|
+
const listByServiceOperationSpec = {
|
|
359
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources",
|
|
360
|
+
httpMethod: "GET",
|
|
361
|
+
responses: {
|
|
362
|
+
200: {
|
|
363
|
+
bodyMapper: Mappers.SharedPrivateLinkResourceListResult,
|
|
364
|
+
},
|
|
365
|
+
default: {
|
|
366
|
+
bodyMapper: Mappers.CloudError,
|
|
367
|
+
},
|
|
368
|
+
},
|
|
369
|
+
queryParameters: [Parameters.apiVersion],
|
|
370
|
+
urlParameters: [
|
|
371
|
+
Parameters.$host,
|
|
372
|
+
Parameters.resourceGroupName,
|
|
373
|
+
Parameters.searchServiceName,
|
|
374
|
+
Parameters.subscriptionId,
|
|
375
|
+
],
|
|
376
|
+
headerParameters: [Parameters.accept, Parameters.clientRequestId],
|
|
377
|
+
serializer,
|
|
378
|
+
};
|
|
379
|
+
const listByServiceNextOperationSpec = {
|
|
380
|
+
path: "{nextLink}",
|
|
381
|
+
httpMethod: "GET",
|
|
382
|
+
responses: {
|
|
383
|
+
200: {
|
|
384
|
+
bodyMapper: Mappers.SharedPrivateLinkResourceListResult,
|
|
385
|
+
},
|
|
386
|
+
default: {
|
|
387
|
+
bodyMapper: Mappers.CloudError,
|
|
388
|
+
},
|
|
389
|
+
},
|
|
390
|
+
urlParameters: [
|
|
391
|
+
Parameters.$host,
|
|
392
|
+
Parameters.resourceGroupName,
|
|
393
|
+
Parameters.searchServiceName,
|
|
394
|
+
Parameters.subscriptionId,
|
|
395
|
+
Parameters.nextLink,
|
|
396
|
+
],
|
|
397
|
+
headerParameters: [Parameters.accept, Parameters.clientRequestId],
|
|
398
|
+
serializer,
|
|
399
|
+
};
|
|
400
|
+
//# sourceMappingURL=sharedPrivateLinkResources.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharedPrivateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/sharedPrivateLinkResources.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAc9C,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAa,8BAA8B;IAKzC;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,aAAa,CAClB,iBAAyB,EACzB,iBAAyB,EACzB,OAA+D;QAE/D,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAsB,CACtC,iBAAiB,EACjB,iBAAiB,EACjB,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE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ACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,eAAe,CAAC;IACjE,UAAU;CACX,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\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { SharedPrivateLinkResources } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { SearchManagementClient } from \"../searchManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n SharedPrivateLinkResource,\n SharedPrivateLinkResourcesListByServiceNextOptionalParams,\n SharedPrivateLinkResourcesListByServiceOptionalParams,\n SharedPrivateLinkResourcesListByServiceResponse,\n SharedPrivateLinkResourcesCreateOrUpdateOptionalParams,\n SharedPrivateLinkResourcesCreateOrUpdateResponse,\n SharedPrivateLinkResourcesGetOptionalParams,\n SharedPrivateLinkResourcesGetResponse,\n SharedPrivateLinkResourcesDeleteOptionalParams,\n SharedPrivateLinkResourcesListByServiceNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing SharedPrivateLinkResources operations. */\nexport class SharedPrivateLinkResourcesImpl\n implements SharedPrivateLinkResources\n{\n private readonly client: SearchManagementClient;\n\n /**\n * Initialize a new instance of the class SharedPrivateLinkResources class.\n * @param client Reference to the service client\n */\n constructor(client: SearchManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of all shared private link resources managed by the given service.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param options The options parameters.\n */\n public listByService(\n resourceGroupName: string,\n searchServiceName: string,\n options?: SharedPrivateLinkResourcesListByServiceOptionalParams,\n ): PagedAsyncIterableIterator<SharedPrivateLinkResource> {\n const iter = this.listByServicePagingAll(\n resourceGroupName,\n searchServiceName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByServicePagingPage(\n resourceGroupName,\n searchServiceName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByServicePagingPage(\n resourceGroupName: string,\n searchServiceName: string,\n options?: SharedPrivateLinkResourcesListByServiceOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SharedPrivateLinkResource[]> {\n let result: SharedPrivateLinkResourcesListByServiceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByService(\n resourceGroupName,\n searchServiceName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByServiceNext(\n resourceGroupName,\n searchServiceName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByServicePagingAll(\n resourceGroupName: string,\n searchServiceName: string,\n options?: SharedPrivateLinkResourcesListByServiceOptionalParams,\n ): AsyncIterableIterator<SharedPrivateLinkResource> {\n for await (const page of this.listByServicePagingPage(\n resourceGroupName,\n searchServiceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Initiates the creation or update of a shared private link resource managed by the search service in\n * the given resource group.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the\n * Azure AI Search service within the specified resource group.\n * @param sharedPrivateLinkResource The definition of the shared private link resource to create or\n * update.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n searchServiceName: string,\n sharedPrivateLinkResourceName: string,\n sharedPrivateLinkResource: SharedPrivateLinkResource,\n options?: SharedPrivateLinkResourcesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<SharedPrivateLinkResourcesCreateOrUpdateResponse>,\n SharedPrivateLinkResourcesCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<SharedPrivateLinkResourcesCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n searchServiceName,\n sharedPrivateLinkResourceName,\n sharedPrivateLinkResource,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n SharedPrivateLinkResourcesCreateOrUpdateResponse,\n OperationState<SharedPrivateLinkResourcesCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Initiates the creation or update of a shared private link resource managed by the search service in\n * the given resource group.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the\n * Azure AI Search service within the specified resource group.\n * @param sharedPrivateLinkResource The definition of the shared private link resource to create or\n * update.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n sharedPrivateLinkResourceName: string,\n sharedPrivateLinkResource: SharedPrivateLinkResource,\n options?: SharedPrivateLinkResourcesCreateOrUpdateOptionalParams,\n ): Promise<SharedPrivateLinkResourcesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n searchServiceName,\n sharedPrivateLinkResourceName,\n sharedPrivateLinkResource,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the details of the shared private link resource managed by the search service in the given\n * resource group.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the\n * Azure AI Search service within the specified resource group.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n searchServiceName: string,\n sharedPrivateLinkResourceName: string,\n options?: SharedPrivateLinkResourcesGetOptionalParams,\n ): Promise<SharedPrivateLinkResourcesGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n searchServiceName,\n sharedPrivateLinkResourceName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Initiates the deletion of the shared private link resource from the search service.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the\n * Azure AI Search service within the specified resource group.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n searchServiceName: string,\n sharedPrivateLinkResourceName: string,\n options?: SharedPrivateLinkResourcesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n searchServiceName,\n sharedPrivateLinkResourceName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Initiates the deletion of the shared private link resource from the search service.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the\n * Azure AI Search service within the specified resource group.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n sharedPrivateLinkResourceName: string,\n options?: SharedPrivateLinkResourcesDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n searchServiceName,\n sharedPrivateLinkResourceName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets a list of all shared private link resources managed by the given service.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param options The options parameters.\n */\n private _listByService(\n resourceGroupName: string,\n searchServiceName: string,\n options?: SharedPrivateLinkResourcesListByServiceOptionalParams,\n ): Promise<SharedPrivateLinkResourcesListByServiceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, searchServiceName, options },\n listByServiceOperationSpec,\n );\n }\n\n /**\n * ListByServiceNext\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param nextLink The nextLink from the previous successful call to the ListByService method.\n * @param options The options parameters.\n */\n private _listByServiceNext(\n resourceGroupName: string,\n searchServiceName: string,\n nextLink: string,\n options?: SharedPrivateLinkResourcesListByServiceNextOptionalParams,\n ): Promise<SharedPrivateLinkResourcesListByServiceNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, searchServiceName, nextLink, options },\n listByServiceNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SharedPrivateLinkResource,\n },\n 201: {\n bodyMapper: Mappers.SharedPrivateLinkResource,\n },\n 202: {\n bodyMapper: Mappers.SharedPrivateLinkResource,\n },\n 204: {\n bodyMapper: Mappers.SharedPrivateLinkResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.sharedPrivateLinkResource,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.searchServiceName,\n Parameters.subscriptionId,\n Parameters.sharedPrivateLinkResourceName,\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.clientRequestId,\n Parameters.contentType,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SharedPrivateLinkResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.searchServiceName,\n Parameters.subscriptionId,\n Parameters.sharedPrivateLinkResourceName,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.searchServiceName,\n Parameters.subscriptionId,\n Parameters.sharedPrivateLinkResourceName,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\nconst listByServiceOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SharedPrivateLinkResourceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.searchServiceName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\nconst listByServiceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SharedPrivateLinkResourceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.searchServiceName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\n"]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Usages } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { SearchManagementClient } from "../searchManagementClient.js";
|
|
4
|
+
import { QuotaUsageResult, UsagesListBySubscriptionOptionalParams } from "../models/index.js";
|
|
5
|
+
/** Class containing Usages operations. */
|
|
6
|
+
export declare class UsagesImpl implements Usages {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Usages class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: SearchManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Get a list of all Azure AI Search quota usages across the subscription.
|
|
15
|
+
* @param location The unique location name for a Microsoft Azure geographic region.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
listBySubscription(location: string, options?: UsagesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<QuotaUsageResult>;
|
|
19
|
+
private listBySubscriptionPagingPage;
|
|
20
|
+
private listBySubscriptionPagingAll;
|
|
21
|
+
/**
|
|
22
|
+
* Get a list of all Azure AI Search quota usages across the subscription.
|
|
23
|
+
* @param location The unique location name for a Microsoft Azure geographic region.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
private _listBySubscription;
|
|
27
|
+
/**
|
|
28
|
+
* ListBySubscriptionNext
|
|
29
|
+
* @param location The unique location name for a Microsoft Azure geographic region.
|
|
30
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
private _listBySubscriptionNext;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=usages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usages.d.ts","sourceRoot":"","sources":["../../../src/operations/usages.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAI1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EACL,gBAAgB,EAEhB,sCAAsC,EAGvC,MAAM,oBAAoB,CAAC;AAG5B,0CAA0C;AAC1C,qBAAa,UAAW,YAAW,MAAM;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;OAIG;IACI,kBAAkB,CACvB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,0BAA0B,CAAC,gBAAgB,CAAC;YAkBhC,4BAA4B;YA2B5B,2BAA2B;IAY1C;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAU3B;;;;;OAKG;IACH,OAAO,CAAC,uBAAuB;CAUhC"}
|