@azure/arm-search 3.3.0-beta.1 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +229 -4
- package/LICENSE +3 -3
- package/README.md +24 -18
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +393 -197
- package/dist/browser/models/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.js +109 -7
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.d.ts +12 -15
- package/dist/browser/models/mappers.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +395 -362
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/models/parameters.js +3 -7
- 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 +3 -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 +6 -6
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/networkSecurityPerimeterConfigurations.js +73 -89
- 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 +12 -29
- 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 +27 -48
- 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 +12 -29
- 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 +26 -43
- package/dist/browser/operations/queryKeys.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/services.d.ts +23 -5
- package/dist/browser/operations/services.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/services.js +190 -152
- 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 +122 -141
- 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 +27 -48
- 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 +4 -4
- 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 +21 -3
- 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-esm/src → dist/browser}/operationsInterfaces/usages.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/usages.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -0
- package/{dist-esm/src → dist/browser}/searchManagementClient.d.ts +3 -3
- package/dist/browser/searchManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/searchManagementClient.js +43 -32
- 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 +28 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-search.d.ts → dist/commonjs/models/index.d.ts} +1440 -1788
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +235 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +57 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +1874 -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 +229 -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 +96 -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 +278 -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 +84 -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 +270 -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 +97 -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 +214 -0
- package/dist/commonjs/operations/queryKeys.js.map +1 -0
- package/dist/commonjs/operations/services.d.ts +141 -0
- package/dist/commonjs/operations/services.d.ts.map +1 -0
- package/dist/commonjs/operations/services.js +549 -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 +390 -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 +129 -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 +103 -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 +34 -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 +160 -0
- package/dist/commonjs/searchManagementClient.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- 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 +25 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1440 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +232 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +57 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +1870 -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 +226 -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 +91 -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 +273 -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 +79 -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 +265 -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 +92 -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 +209 -0
- package/dist/esm/operations/queryKeys.js.map +1 -0
- package/dist/esm/operations/services.d.ts +141 -0
- package/dist/esm/operations/services.d.ts.map +1 -0
- package/dist/esm/operations/services.js +544 -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 +385 -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 +124 -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 +103 -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 +30 -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 +155 -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 +25 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1440 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +232 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +57 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +1870 -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 +226 -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 +91 -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 +273 -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 +79 -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 +265 -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 +92 -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 +209 -0
- package/dist/react-native/operations/queryKeys.js.map +1 -0
- package/dist/react-native/operations/services.d.ts +141 -0
- package/dist/react-native/operations/services.d.ts.map +1 -0
- package/dist/react-native/operations/services.js +544 -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 +385 -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 +124 -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 +103 -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 +30 -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 +155 -0
- package/dist/react-native/searchManagementClient.js.map +1 -0
- package/package.json +81 -66
- package/review/{arm-search.api.md → arm-search-node.api.md} +216 -137
- package/dist/index.js +0 -4576
- 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 -38
- 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 -39
- 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 -39
- 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 -54
- 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 -39
- 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 -53
- 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 -39
- 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 -39
- 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 -54
- 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 -47
- 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 -54
- 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 -39
- 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 -39
- 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 -54
- 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 -37
- 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 -301
- 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 -38
- 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 -38
- 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 -53
- 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 -52
- 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 -257
- 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 -47
- 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 -39
- 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 -39
- 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 -54
- 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 -38
- 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 -53
- package/dist-esm/samples-dev/usagesListBySubscriptionSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -6
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.d.ts.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.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 -204
- package/dist-esm/test/search_examples.js.map +0 -1
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -1446
- 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}/models/parameters.d.ts +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
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
9
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
13
|
-
import { createHttpPoller
|
|
14
|
-
import { createLroSpec } from "../lroImpl";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
|
+
import { createHttpPoller } from "@azure/core-lro";
|
|
13
|
+
import { createLroSpec } from "../lroImpl.js";
|
|
15
14
|
/// <reference lib="esnext.asynciterable" />
|
|
16
15
|
/** Class containing SharedPrivateLinkResources operations. */
|
|
17
16
|
export class SharedPrivateLinkResourcesImpl {
|
|
17
|
+
client;
|
|
18
18
|
/**
|
|
19
19
|
* Initialize a new instance of the class SharedPrivateLinkResources class.
|
|
20
20
|
* @param client Reference to the service client
|
|
@@ -40,52 +40,35 @@ export class SharedPrivateLinkResourcesImpl {
|
|
|
40
40
|
return this;
|
|
41
41
|
},
|
|
42
42
|
byPage: (settings) => {
|
|
43
|
-
if (settings
|
|
43
|
+
if (settings?.maxPageSize) {
|
|
44
44
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
45
45
|
}
|
|
46
46
|
return this.listByServicePagingPage(resourceGroupName, searchServiceName, options, settings);
|
|
47
47
|
},
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
|
-
listByServicePagingPage(resourceGroupName, searchServiceName, options, settings) {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
});
|
|
50
|
+
async *listByServicePagingPage(resourceGroupName, searchServiceName, options, settings) {
|
|
51
|
+
let result;
|
|
52
|
+
let continuationToken = settings?.continuationToken;
|
|
53
|
+
if (!continuationToken) {
|
|
54
|
+
result = await this._listByService(resourceGroupName, searchServiceName, options);
|
|
55
|
+
let page = result.value || [];
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
setContinuationToken(page, continuationToken);
|
|
58
|
+
yield page;
|
|
59
|
+
}
|
|
60
|
+
while (continuationToken) {
|
|
61
|
+
result = await this._listByServiceNext(resourceGroupName, searchServiceName, continuationToken, options);
|
|
62
|
+
continuationToken = result.nextLink;
|
|
63
|
+
let page = result.value || [];
|
|
64
|
+
setContinuationToken(page, continuationToken);
|
|
65
|
+
yield page;
|
|
66
|
+
}
|
|
69
67
|
}
|
|
70
|
-
listByServicePagingAll(resourceGroupName, searchServiceName, options) {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
for (var _d = true, _e = __asyncValues(this.listByServicePagingPage(resourceGroupName, searchServiceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
75
|
-
_c = _f.value;
|
|
76
|
-
_d = false;
|
|
77
|
-
const page = _c;
|
|
78
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
82
|
-
finally {
|
|
83
|
-
try {
|
|
84
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
85
|
-
}
|
|
86
|
-
finally { if (e_1) throw e_1.error; }
|
|
87
|
-
}
|
|
88
|
-
});
|
|
68
|
+
async *listByServicePagingAll(resourceGroupName, searchServiceName, options) {
|
|
69
|
+
for await (const page of this.listByServicePagingPage(resourceGroupName, searchServiceName, options)) {
|
|
70
|
+
yield* page;
|
|
71
|
+
}
|
|
89
72
|
}
|
|
90
73
|
/**
|
|
91
74
|
* Initiates the creation or update of a shared private link resource managed by the search service in
|
|
@@ -100,49 +83,52 @@ export class SharedPrivateLinkResourcesImpl {
|
|
|
100
83
|
* update.
|
|
101
84
|
* @param options The options parameters.
|
|
102
85
|
*/
|
|
103
|
-
beginCreateOrUpdate(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, sharedPrivateLinkResource, options) {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
flatResponse,
|
|
120
|
-
rawResponse: {
|
|
121
|
-
statusCode: currentRawResponse.status,
|
|
122
|
-
body: currentRawResponse.parsedBody,
|
|
123
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
124
|
-
},
|
|
125
|
-
};
|
|
126
|
-
});
|
|
127
|
-
const lro = createLroSpec({
|
|
128
|
-
sendOperationFn,
|
|
129
|
-
args: {
|
|
130
|
-
resourceGroupName,
|
|
131
|
-
searchServiceName,
|
|
132
|
-
sharedPrivateLinkResourceName,
|
|
133
|
-
sharedPrivateLinkResource,
|
|
134
|
-
options,
|
|
86
|
+
async beginCreateOrUpdate(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, sharedPrivateLinkResource, options) {
|
|
87
|
+
const directSendOperation = async (args, spec) => {
|
|
88
|
+
return this.client.sendOperationRequest(args, spec);
|
|
89
|
+
};
|
|
90
|
+
const sendOperationFn = async (args, spec) => {
|
|
91
|
+
let currentRawResponse = undefined;
|
|
92
|
+
const providedCallback = args.options?.onResponse;
|
|
93
|
+
const callback = (rawResponse, flatResponse) => {
|
|
94
|
+
currentRawResponse = rawResponse;
|
|
95
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
96
|
+
};
|
|
97
|
+
const updatedArgs = {
|
|
98
|
+
...args,
|
|
99
|
+
options: {
|
|
100
|
+
...args.options,
|
|
101
|
+
onResponse: callback,
|
|
135
102
|
},
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
103
|
+
};
|
|
104
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
105
|
+
return {
|
|
106
|
+
flatResponse,
|
|
107
|
+
rawResponse: {
|
|
108
|
+
statusCode: currentRawResponse.status,
|
|
109
|
+
body: currentRawResponse.parsedBody,
|
|
110
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
111
|
+
},
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
const lro = createLroSpec({
|
|
115
|
+
sendOperationFn,
|
|
116
|
+
args: {
|
|
117
|
+
resourceGroupName,
|
|
118
|
+
searchServiceName,
|
|
119
|
+
sharedPrivateLinkResourceName,
|
|
120
|
+
sharedPrivateLinkResource,
|
|
121
|
+
options,
|
|
122
|
+
},
|
|
123
|
+
spec: createOrUpdateOperationSpec,
|
|
124
|
+
});
|
|
125
|
+
const poller = await createHttpPoller(lro, {
|
|
126
|
+
restoreFrom: options?.resumeFrom,
|
|
127
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
128
|
+
resourceLocationConfig: "azure-async-operation",
|
|
145
129
|
});
|
|
130
|
+
await poller.poll();
|
|
131
|
+
return poller;
|
|
146
132
|
}
|
|
147
133
|
/**
|
|
148
134
|
* Initiates the creation or update of a shared private link resource managed by the search service in
|
|
@@ -157,11 +143,9 @@ export class SharedPrivateLinkResourcesImpl {
|
|
|
157
143
|
* update.
|
|
158
144
|
* @param options The options parameters.
|
|
159
145
|
*/
|
|
160
|
-
beginCreateOrUpdateAndWait(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, sharedPrivateLinkResource, options) {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
return poller.pollUntilDone();
|
|
164
|
-
});
|
|
146
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, sharedPrivateLinkResource, options) {
|
|
147
|
+
const poller = await this.beginCreateOrUpdate(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, sharedPrivateLinkResource, options);
|
|
148
|
+
return poller.pollUntilDone();
|
|
165
149
|
}
|
|
166
150
|
/**
|
|
167
151
|
* Gets the details of the shared private link resource managed by the search service in the given
|
|
@@ -192,48 +176,51 @@ export class SharedPrivateLinkResourcesImpl {
|
|
|
192
176
|
* Azure AI Search service within the specified resource group.
|
|
193
177
|
* @param options The options parameters.
|
|
194
178
|
*/
|
|
195
|
-
beginDelete(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options) {
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
flatResponse,
|
|
212
|
-
rawResponse: {
|
|
213
|
-
statusCode: currentRawResponse.status,
|
|
214
|
-
body: currentRawResponse.parsedBody,
|
|
215
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
216
|
-
},
|
|
217
|
-
};
|
|
218
|
-
});
|
|
219
|
-
const lro = createLroSpec({
|
|
220
|
-
sendOperationFn,
|
|
221
|
-
args: {
|
|
222
|
-
resourceGroupName,
|
|
223
|
-
searchServiceName,
|
|
224
|
-
sharedPrivateLinkResourceName,
|
|
225
|
-
options,
|
|
179
|
+
async beginDelete(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options) {
|
|
180
|
+
const directSendOperation = async (args, spec) => {
|
|
181
|
+
return this.client.sendOperationRequest(args, spec);
|
|
182
|
+
};
|
|
183
|
+
const sendOperationFn = async (args, spec) => {
|
|
184
|
+
let currentRawResponse = undefined;
|
|
185
|
+
const providedCallback = args.options?.onResponse;
|
|
186
|
+
const callback = (rawResponse, flatResponse) => {
|
|
187
|
+
currentRawResponse = rawResponse;
|
|
188
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
189
|
+
};
|
|
190
|
+
const updatedArgs = {
|
|
191
|
+
...args,
|
|
192
|
+
options: {
|
|
193
|
+
...args.options,
|
|
194
|
+
onResponse: callback,
|
|
226
195
|
},
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
196
|
+
};
|
|
197
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
198
|
+
return {
|
|
199
|
+
flatResponse,
|
|
200
|
+
rawResponse: {
|
|
201
|
+
statusCode: currentRawResponse.status,
|
|
202
|
+
body: currentRawResponse.parsedBody,
|
|
203
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
204
|
+
},
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
const lro = createLroSpec({
|
|
208
|
+
sendOperationFn,
|
|
209
|
+
args: {
|
|
210
|
+
resourceGroupName,
|
|
211
|
+
searchServiceName,
|
|
212
|
+
sharedPrivateLinkResourceName,
|
|
213
|
+
options,
|
|
214
|
+
},
|
|
215
|
+
spec: deleteOperationSpec,
|
|
216
|
+
});
|
|
217
|
+
const poller = await createHttpPoller(lro, {
|
|
218
|
+
restoreFrom: options?.resumeFrom,
|
|
219
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
220
|
+
resourceLocationConfig: "azure-async-operation",
|
|
236
221
|
});
|
|
222
|
+
await poller.poll();
|
|
223
|
+
return poller;
|
|
237
224
|
}
|
|
238
225
|
/**
|
|
239
226
|
* Initiates the deletion of the shared private link resource from the search service.
|
|
@@ -245,11 +232,9 @@ export class SharedPrivateLinkResourcesImpl {
|
|
|
245
232
|
* Azure AI Search service within the specified resource group.
|
|
246
233
|
* @param options The options parameters.
|
|
247
234
|
*/
|
|
248
|
-
beginDeleteAndWait(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options) {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
return poller.pollUntilDone();
|
|
252
|
-
});
|
|
235
|
+
async beginDeleteAndWait(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options) {
|
|
236
|
+
const poller = await this.beginDelete(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options);
|
|
237
|
+
return poller.pollUntilDone();
|
|
253
238
|
}
|
|
254
239
|
/**
|
|
255
240
|
* Gets a list of all shared private link resources managed by the given service.
|
|
@@ -306,11 +291,7 @@ const createOrUpdateOperationSpec = {
|
|
|
306
291
|
Parameters.subscriptionId,
|
|
307
292
|
Parameters.sharedPrivateLinkResourceName,
|
|
308
293
|
],
|
|
309
|
-
headerParameters: [
|
|
310
|
-
Parameters.accept,
|
|
311
|
-
Parameters.clientRequestId,
|
|
312
|
-
Parameters.contentType,
|
|
313
|
-
],
|
|
294
|
+
headerParameters: [Parameters.accept, Parameters.clientRequestId, Parameters.contentType],
|
|
314
295
|
mediaType: "json",
|
|
315
296
|
serializer,
|
|
316
297
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharedPrivateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/sharedPrivateLinkResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAoC,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAc9C,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IACxB,MAAM,CAAyB;IAEhD;;;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,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;QACxF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,uBAAuB,CACjC,iBAAiB,EACjB,iBAAiB,EACjB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,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QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,eAAe,CAAC;IACjE,UAAU;CACX,CAAC;AACF,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,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 { SimplePollerLike, OperationState, createHttpPoller } 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 implements SharedPrivateLinkResources {\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(resourceGroupName, searchServiceName, options);\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(resourceGroupName, searchServiceName, options);\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 = 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 = 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: [Parameters.accept, Parameters.clientRequestId, Parameters.contentType],\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"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Usages } from "../operationsInterfaces";
|
|
3
|
-
import { SearchManagementClient } from "../searchManagementClient";
|
|
4
|
-
import { QuotaUsageResult, UsagesListBySubscriptionOptionalParams } from "../models";
|
|
2
|
+
import { Usages } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { SearchManagementClient } from "../searchManagementClient.js";
|
|
4
|
+
import { QuotaUsageResult, UsagesListBySubscriptionOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing Usages operations. */
|
|
6
6
|
export declare class UsagesImpl implements Usages {
|
|
7
7
|
private readonly client;
|
|
@@ -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;YAuB5B,2BAA2B;IAS1C;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAO3B;;;;;OAKG;IACH,OAAO,CAAC,uBAAuB;CAUhC"}
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
9
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
12
|
/// <reference lib="esnext.asynciterable" />
|
|
14
13
|
/** Class containing Usages operations. */
|
|
15
14
|
export class UsagesImpl {
|
|
15
|
+
client;
|
|
16
16
|
/**
|
|
17
17
|
* Initialize a new instance of the class Usages class.
|
|
18
18
|
* @param client Reference to the service client
|
|
@@ -35,52 +35,35 @@ export class UsagesImpl {
|
|
|
35
35
|
return this;
|
|
36
36
|
},
|
|
37
37
|
byPage: (settings) => {
|
|
38
|
-
if (settings
|
|
38
|
+
if (settings?.maxPageSize) {
|
|
39
39
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
40
40
|
}
|
|
41
41
|
return this.listBySubscriptionPagingPage(location, options, settings);
|
|
42
42
|
},
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
listBySubscriptionPagingPage(location, options, settings) {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
63
|
-
});
|
|
45
|
+
async *listBySubscriptionPagingPage(location, options, settings) {
|
|
46
|
+
let result;
|
|
47
|
+
let continuationToken = settings?.continuationToken;
|
|
48
|
+
if (!continuationToken) {
|
|
49
|
+
result = await this._listBySubscription(location, options);
|
|
50
|
+
let page = result.value || [];
|
|
51
|
+
continuationToken = result.nextLink;
|
|
52
|
+
setContinuationToken(page, continuationToken);
|
|
53
|
+
yield page;
|
|
54
|
+
}
|
|
55
|
+
while (continuationToken) {
|
|
56
|
+
result = await this._listBySubscriptionNext(location, continuationToken, options);
|
|
57
|
+
continuationToken = result.nextLink;
|
|
58
|
+
let page = result.value || [];
|
|
59
|
+
setContinuationToken(page, continuationToken);
|
|
60
|
+
yield page;
|
|
61
|
+
}
|
|
64
62
|
}
|
|
65
|
-
listBySubscriptionPagingAll(location, options) {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
for (var _d = true, _e = __asyncValues(this.listBySubscriptionPagingPage(location, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
70
|
-
_c = _f.value;
|
|
71
|
-
_d = false;
|
|
72
|
-
const page = _c;
|
|
73
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
77
|
-
finally {
|
|
78
|
-
try {
|
|
79
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
80
|
-
}
|
|
81
|
-
finally { if (e_1) throw e_1.error; }
|
|
82
|
-
}
|
|
83
|
-
});
|
|
63
|
+
async *listBySubscriptionPagingAll(location, options) {
|
|
64
|
+
for await (const page of this.listBySubscriptionPagingPage(location, options)) {
|
|
65
|
+
yield* page;
|
|
66
|
+
}
|
|
84
67
|
}
|
|
85
68
|
/**
|
|
86
69
|
* Get a list of all Azure AI Search quota usages across the subscription.
|
|
@@ -114,11 +97,7 @@ const listBySubscriptionOperationSpec = {
|
|
|
114
97
|
},
|
|
115
98
|
},
|
|
116
99
|
queryParameters: [Parameters.apiVersion],
|
|
117
|
-
urlParameters: [
|
|
118
|
-
Parameters.$host,
|
|
119
|
-
Parameters.subscriptionId,
|
|
120
|
-
Parameters.location,
|
|
121
|
-
],
|
|
100
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.location],
|
|
122
101
|
headerParameters: [Parameters.accept, Parameters.clientRequestId],
|
|
123
102
|
serializer,
|
|
124
103
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usages.js","sourceRoot":"","sources":["../../../src/operations/usages.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,0CAA0C;AAC1C,MAAM,OAAO,UAAU;IACJ,MAAM,CAAyB;IAEhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,kBAAkB,CACvB,QAAgB,EAChB,OAAgD;QAEhD,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QACjE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,4BAA4B,CAAC,QAAQ,EAAE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AAC;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 { Usages } 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 QuotaUsageResult,\n UsagesListBySubscriptionNextOptionalParams,\n UsagesListBySubscriptionOptionalParams,\n UsagesListBySubscriptionResponse,\n UsagesListBySubscriptionNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Usages operations. */\nexport class UsagesImpl implements Usages {\n private readonly client: SearchManagementClient;\n\n /**\n * Initialize a new instance of the class Usages class.\n * @param client Reference to the service client\n */\n constructor(client: SearchManagementClient) {\n this.client = client;\n }\n\n /**\n * Get a list of all Azure AI Search quota usages across the subscription.\n * @param location The unique location name for a Microsoft Azure geographic region.\n * @param options The options parameters.\n */\n public listBySubscription(\n location: string,\n options?: UsagesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<QuotaUsageResult> {\n const iter = this.listBySubscriptionPagingAll(location, options);\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.listBySubscriptionPagingPage(location, options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n location: string,\n options?: UsagesListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<QuotaUsageResult[]> {\n let result: UsagesListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(location, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(location, continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n location: string,\n options?: UsagesListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<QuotaUsageResult> {\n for await (const page of this.listBySubscriptionPagingPage(location, options)) {\n yield* page;\n }\n }\n\n /**\n * Get a list of all Azure AI Search quota usages across the subscription.\n * @param location The unique location name for a Microsoft Azure geographic region.\n * @param options The options parameters.\n */\n private _listBySubscription(\n location: string,\n options?: UsagesListBySubscriptionOptionalParams,\n ): Promise<UsagesListBySubscriptionResponse> {\n return this.client.sendOperationRequest({ location, options }, listBySubscriptionOperationSpec);\n }\n\n /**\n * ListBySubscriptionNext\n * @param location The unique location name for a Microsoft Azure geographic region.\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n location: string,\n nextLink: string,\n options?: UsagesListBySubscriptionNextOptionalParams,\n ): Promise<UsagesListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { location, nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QuotaUsagesListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.location],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QuotaUsagesListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.location,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdminKeysGetOptionalParams, AdminKeysGetResponse, AdminKeyKind, AdminKeysRegenerateOptionalParams, AdminKeysRegenerateResponse } from "../models";
|
|
1
|
+
import { AdminKeysGetOptionalParams, AdminKeysGetResponse, AdminKeyKind, AdminKeysRegenerateOptionalParams, AdminKeysRegenerateResponse } from "../models/index.js";
|
|
2
2
|
/** Interface representing a AdminKeys. */
|
|
3
3
|
export interface AdminKeys {
|
|
4
4
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adminKeys.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/adminKeys.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,0BAA0B,EAC1B,oBAAoB,EACpB,YAAY,EACZ,iCAAiC,EACjC,2BAA2B,EAC5B,MAAM,oBAAoB,CAAC;AAE5B,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACjC;;;;;;;;;OASG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,YAAY,EACrB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adminKeys.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/adminKeys.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n AdminKeysGetOptionalParams,\n AdminKeysGetResponse,\n AdminKeyKind,\n AdminKeysRegenerateOptionalParams,\n AdminKeysRegenerateResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a AdminKeys. */\nexport interface AdminKeys {\n /**\n * Gets the primary and secondary admin API keys for the specified Azure AI 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 options The options parameters.\n */\n get(\n resourceGroupName: string,\n searchServiceName: string,\n options?: AdminKeysGetOptionalParams,\n ): Promise<AdminKeysGetResponse>;\n /**\n * Regenerates either the primary or secondary admin API key. You can only regenerate one key at a\n * time.\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 keyKind Specifies which key to regenerate. Valid values include 'primary' and 'secondary'.\n * @param options The options parameters.\n */\n regenerate(\n resourceGroupName: string,\n searchServiceName: string,\n keyKind: AdminKeyKind,\n options?: AdminKeysRegenerateOptionalParams,\n ): Promise<AdminKeysRegenerateResponse>;\n}\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./operations.js";
|
|
2
|
+
export * from "./adminKeys.js";
|
|
3
|
+
export * from "./queryKeys.js";
|
|
4
|
+
export * from "./services.js";
|
|
5
|
+
export * from "./privateLinkResources.js";
|
|
6
|
+
export * from "./privateEndpointConnections.js";
|
|
7
|
+
export * from "./sharedPrivateLinkResources.js";
|
|
8
|
+
export * from "./usages.js";
|
|
9
|
+
export * from "./networkSecurityPerimeterConfigurations.js";
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,aAAa,CAAC;AAC5B,cAAc,6CAA6C,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./operations.js";
|
|
9
|
+
export * from "./adminKeys.js";
|
|
10
|
+
export * from "./queryKeys.js";
|
|
11
|
+
export * from "./services.js";
|
|
12
|
+
export * from "./privateLinkResources.js";
|
|
13
|
+
export * from "./privateEndpointConnections.js";
|
|
14
|
+
export * from "./sharedPrivateLinkResources.js";
|
|
15
|
+
export * from "./usages.js";
|
|
16
|
+
export * from "./networkSecurityPerimeterConfigurations.js";
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,aAAa,CAAC;AAC5B,cAAc,6CAA6C,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./operations.js\";\nexport * from \"./adminKeys.js\";\nexport * from \"./queryKeys.js\";\nexport * from \"./services.js\";\nexport * from \"./privateLinkResources.js\";\nexport * from \"./privateEndpointConnections.js\";\nexport * from \"./sharedPrivateLinkResources.js\";\nexport * from \"./usages.js\";\nexport * from \"./networkSecurityPerimeterConfigurations.js\";\n"]}
|