@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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Services } from "../operationsInterfaces";
|
|
3
|
-
import { SearchManagementClient } from "../searchManagementClient";
|
|
2
|
+
import { Services } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { SearchManagementClient } from "../searchManagementClient.js";
|
|
4
4
|
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
-
import { SearchService, ServicesListByResourceGroupOptionalParams, ServicesListBySubscriptionOptionalParams, ServicesCreateOrUpdateOptionalParams, ServicesCreateOrUpdateResponse, SearchServiceUpdate, ServicesUpdateOptionalParams, ServicesUpdateResponse, ServicesGetOptionalParams, ServicesGetResponse, ServicesDeleteOptionalParams, ServicesCheckNameAvailabilityOptionalParams, ServicesCheckNameAvailabilityResponse } from "../models";
|
|
5
|
+
import { SearchService, ServicesListByResourceGroupOptionalParams, ServicesListBySubscriptionOptionalParams, ServicesCreateOrUpdateOptionalParams, ServicesCreateOrUpdateResponse, SearchServiceUpdate, ServicesUpdateOptionalParams, ServicesUpdateResponse, ServicesGetOptionalParams, ServicesGetResponse, ServicesDeleteOptionalParams, ServicesCheckNameAvailabilityOptionalParams, ServicesCheckNameAvailabilityResponse, ServicesUpgradeOptionalParams, ServicesUpgradeResponse } from "../models/index.js";
|
|
6
6
|
/** Class containing Services operations. */
|
|
7
7
|
export declare class ServicesImpl implements Services {
|
|
8
8
|
private readonly client;
|
|
@@ -35,7 +35,7 @@ export declare class ServicesImpl implements Services {
|
|
|
35
35
|
* @param searchServiceName The name of the Azure AI Search service to create or update. Search service
|
|
36
36
|
* names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or
|
|
37
37
|
* last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in
|
|
38
|
-
* length. Search service names must be
|
|
38
|
+
* length. Search service names must be unique since they are part of the service URI
|
|
39
39
|
* (https://<name>.search.windows.net). You cannot change the service name after the service is
|
|
40
40
|
* created.
|
|
41
41
|
* @param service The definition of the search service to create or update.
|
|
@@ -50,7 +50,7 @@ export declare class ServicesImpl implements Services {
|
|
|
50
50
|
* @param searchServiceName The name of the Azure AI Search service to create or update. Search service
|
|
51
51
|
* names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or
|
|
52
52
|
* last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in
|
|
53
|
-
* length. Search service names must be
|
|
53
|
+
* length. Search service names must be unique since they are part of the service URI
|
|
54
54
|
* (https://<name>.search.windows.net). You cannot change the service name after the service is
|
|
55
55
|
* created.
|
|
56
56
|
* @param service The definition of the search service to create or update.
|
|
@@ -105,6 +105,24 @@ export declare class ServicesImpl implements Services {
|
|
|
105
105
|
* @param options The options parameters.
|
|
106
106
|
*/
|
|
107
107
|
checkNameAvailability(name: string, options?: ServicesCheckNameAvailabilityOptionalParams): Promise<ServicesCheckNameAvailabilityResponse>;
|
|
108
|
+
/**
|
|
109
|
+
* Upgrades the Azure AI Search service to the latest version available.
|
|
110
|
+
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
111
|
+
* obtain this value from the Azure Resource Manager API or the portal.
|
|
112
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
113
|
+
* resource group.
|
|
114
|
+
* @param options The options parameters.
|
|
115
|
+
*/
|
|
116
|
+
beginUpgrade(resourceGroupName: string, searchServiceName: string, options?: ServicesUpgradeOptionalParams): Promise<SimplePollerLike<OperationState<ServicesUpgradeResponse>, ServicesUpgradeResponse>>;
|
|
117
|
+
/**
|
|
118
|
+
* Upgrades the Azure AI Search service to the latest version available.
|
|
119
|
+
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
120
|
+
* obtain this value from the Azure Resource Manager API or the portal.
|
|
121
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
122
|
+
* resource group.
|
|
123
|
+
* @param options The options parameters.
|
|
124
|
+
*/
|
|
125
|
+
beginUpgradeAndWait(resourceGroupName: string, searchServiceName: string, options?: ServicesUpgradeOptionalParams): Promise<ServicesUpgradeResponse>;
|
|
108
126
|
/**
|
|
109
127
|
* ListByResourceGroupNext
|
|
110
128
|
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../../src/operations/services.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAI5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAoB,MAAM,iBAAiB,CAAC;AAErF,OAAO,EACL,aAAa,EAEb,yCAAyC,EAGzC,wCAAwC,EAExC,oCAAoC,EACpC,8BAA8B,EAC9B,mBAAmB,EACnB,4BAA4B,EAC5B,sBAAsB,EACtB,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,2CAA2C,EAC3C,qCAAqC,EACrC,6BAA6B,EAC7B,uBAAuB,EAGxB,MAAM,oBAAoB,C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ACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAM3B;;;;;;;OAOG;IACH,qBAAqB,CACnB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC;IAIjD;;;;;;;OAOG;IACG,YAAY,CAChB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,uBAAuB,CAAC,EAAE,uBAAuB,CAAC,CAAC;IAuD9F;;;;;;;OAOG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC;IAKnC;;;;;;OAMG;IACH,OAAO,CAAC,wBAAwB;IAWhC;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;CAShC"}
|
|
@@ -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 Services operations. */
|
|
17
16
|
export class ServicesImpl {
|
|
17
|
+
client;
|
|
18
18
|
/**
|
|
19
19
|
* Initialize a new instance of the class Services class.
|
|
20
20
|
* @param client Reference to the service client
|
|
@@ -38,52 +38,35 @@ export class ServicesImpl {
|
|
|
38
38
|
return this;
|
|
39
39
|
},
|
|
40
40
|
byPage: (settings) => {
|
|
41
|
-
if (settings
|
|
41
|
+
if (settings?.maxPageSize) {
|
|
42
42
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
43
43
|
}
|
|
44
44
|
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
45
45
|
},
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
});
|
|
48
|
+
async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
49
|
+
let result;
|
|
50
|
+
let continuationToken = settings?.continuationToken;
|
|
51
|
+
if (!continuationToken) {
|
|
52
|
+
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
53
|
+
let page = result.value || [];
|
|
54
|
+
continuationToken = result.nextLink;
|
|
55
|
+
setContinuationToken(page, continuationToken);
|
|
56
|
+
yield page;
|
|
57
|
+
}
|
|
58
|
+
while (continuationToken) {
|
|
59
|
+
result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
|
|
60
|
+
continuationToken = result.nextLink;
|
|
61
|
+
let page = result.value || [];
|
|
62
|
+
setContinuationToken(page, continuationToken);
|
|
63
|
+
yield page;
|
|
64
|
+
}
|
|
67
65
|
}
|
|
68
|
-
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
73
|
-
_c = _f.value;
|
|
74
|
-
_d = false;
|
|
75
|
-
const page = _c;
|
|
76
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
80
|
-
finally {
|
|
81
|
-
try {
|
|
82
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
83
|
-
}
|
|
84
|
-
finally { if (e_1) throw e_1.error; }
|
|
85
|
-
}
|
|
86
|
-
});
|
|
66
|
+
async *listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
67
|
+
for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
|
|
68
|
+
yield* page;
|
|
69
|
+
}
|
|
87
70
|
}
|
|
88
71
|
/**
|
|
89
72
|
* Gets a list of all Search services in the given subscription.
|
|
@@ -99,52 +82,35 @@ export class ServicesImpl {
|
|
|
99
82
|
return this;
|
|
100
83
|
},
|
|
101
84
|
byPage: (settings) => {
|
|
102
|
-
if (settings
|
|
85
|
+
if (settings?.maxPageSize) {
|
|
103
86
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
104
87
|
}
|
|
105
88
|
return this.listBySubscriptionPagingPage(options, settings);
|
|
106
89
|
},
|
|
107
90
|
};
|
|
108
91
|
}
|
|
109
|
-
listBySubscriptionPagingPage(options, settings) {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
}
|
|
127
|
-
});
|
|
92
|
+
async *listBySubscriptionPagingPage(options, settings) {
|
|
93
|
+
let result;
|
|
94
|
+
let continuationToken = settings?.continuationToken;
|
|
95
|
+
if (!continuationToken) {
|
|
96
|
+
result = await this._listBySubscription(options);
|
|
97
|
+
let page = result.value || [];
|
|
98
|
+
continuationToken = result.nextLink;
|
|
99
|
+
setContinuationToken(page, continuationToken);
|
|
100
|
+
yield page;
|
|
101
|
+
}
|
|
102
|
+
while (continuationToken) {
|
|
103
|
+
result = await this._listBySubscriptionNext(continuationToken, options);
|
|
104
|
+
continuationToken = result.nextLink;
|
|
105
|
+
let page = result.value || [];
|
|
106
|
+
setContinuationToken(page, continuationToken);
|
|
107
|
+
yield page;
|
|
108
|
+
}
|
|
128
109
|
}
|
|
129
|
-
listBySubscriptionPagingAll(options) {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
for (var _d = true, _e = __asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
134
|
-
_c = _f.value;
|
|
135
|
-
_d = false;
|
|
136
|
-
const page = _c;
|
|
137
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
141
|
-
finally {
|
|
142
|
-
try {
|
|
143
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
144
|
-
}
|
|
145
|
-
finally { if (e_2) throw e_2.error; }
|
|
146
|
-
}
|
|
147
|
-
});
|
|
110
|
+
async *listBySubscriptionPagingAll(options) {
|
|
111
|
+
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
112
|
+
yield* page;
|
|
113
|
+
}
|
|
148
114
|
}
|
|
149
115
|
/**
|
|
150
116
|
* Creates or updates a search service in the given resource group. If the search service already
|
|
@@ -154,48 +120,51 @@ export class ServicesImpl {
|
|
|
154
120
|
* @param searchServiceName The name of the Azure AI Search service to create or update. Search service
|
|
155
121
|
* names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or
|
|
156
122
|
* last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in
|
|
157
|
-
* length. Search service names must be
|
|
123
|
+
* length. Search service names must be unique since they are part of the service URI
|
|
158
124
|
* (https://<name>.search.windows.net). You cannot change the service name after the service is
|
|
159
125
|
* created.
|
|
160
126
|
* @param service The definition of the search service to create or update.
|
|
161
127
|
* @param options The options parameters.
|
|
162
128
|
*/
|
|
163
|
-
beginCreateOrUpdate(resourceGroupName, searchServiceName, service, options) {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
129
|
+
async beginCreateOrUpdate(resourceGroupName, searchServiceName, service, options) {
|
|
130
|
+
const directSendOperation = async (args, spec) => {
|
|
131
|
+
return this.client.sendOperationRequest(args, spec);
|
|
132
|
+
};
|
|
133
|
+
const sendOperationFn = async (args, spec) => {
|
|
134
|
+
let currentRawResponse = undefined;
|
|
135
|
+
const providedCallback = args.options?.onResponse;
|
|
136
|
+
const callback = (rawResponse, flatResponse) => {
|
|
137
|
+
currentRawResponse = rawResponse;
|
|
138
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
139
|
+
};
|
|
140
|
+
const updatedArgs = {
|
|
141
|
+
...args,
|
|
142
|
+
options: {
|
|
143
|
+
...args.options,
|
|
144
|
+
onResponse: callback,
|
|
145
|
+
},
|
|
146
|
+
};
|
|
147
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
148
|
+
return {
|
|
149
|
+
flatResponse,
|
|
150
|
+
rawResponse: {
|
|
151
|
+
statusCode: currentRawResponse.status,
|
|
152
|
+
body: currentRawResponse.parsedBody,
|
|
153
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
154
|
+
},
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
const lro = createLroSpec({
|
|
158
|
+
sendOperationFn,
|
|
159
|
+
args: { resourceGroupName, searchServiceName, service, options },
|
|
160
|
+
spec: createOrUpdateOperationSpec,
|
|
161
|
+
});
|
|
162
|
+
const poller = await createHttpPoller(lro, {
|
|
163
|
+
restoreFrom: options?.resumeFrom,
|
|
164
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
198
165
|
});
|
|
166
|
+
await poller.poll();
|
|
167
|
+
return poller;
|
|
199
168
|
}
|
|
200
169
|
/**
|
|
201
170
|
* Creates or updates a search service in the given resource group. If the search service already
|
|
@@ -205,17 +174,15 @@ export class ServicesImpl {
|
|
|
205
174
|
* @param searchServiceName The name of the Azure AI Search service to create or update. Search service
|
|
206
175
|
* names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or
|
|
207
176
|
* last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in
|
|
208
|
-
* length. Search service names must be
|
|
177
|
+
* length. Search service names must be unique since they are part of the service URI
|
|
209
178
|
* (https://<name>.search.windows.net). You cannot change the service name after the service is
|
|
210
179
|
* created.
|
|
211
180
|
* @param service The definition of the search service to create or update.
|
|
212
181
|
* @param options The options parameters.
|
|
213
182
|
*/
|
|
214
|
-
beginCreateOrUpdateAndWait(resourceGroupName, searchServiceName, service, options) {
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
return poller.pollUntilDone();
|
|
218
|
-
});
|
|
183
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, searchServiceName, service, options) {
|
|
184
|
+
const poller = await this.beginCreateOrUpdate(resourceGroupName, searchServiceName, service, options);
|
|
185
|
+
return poller.pollUntilDone();
|
|
219
186
|
}
|
|
220
187
|
/**
|
|
221
188
|
* Updates an existing search service in the given resource group.
|
|
@@ -277,6 +244,67 @@ export class ServicesImpl {
|
|
|
277
244
|
checkNameAvailability(name, options) {
|
|
278
245
|
return this.client.sendOperationRequest({ name, options }, checkNameAvailabilityOperationSpec);
|
|
279
246
|
}
|
|
247
|
+
/**
|
|
248
|
+
* Upgrades the Azure AI Search service to the latest version available.
|
|
249
|
+
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
250
|
+
* obtain this value from the Azure Resource Manager API or the portal.
|
|
251
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
252
|
+
* resource group.
|
|
253
|
+
* @param options The options parameters.
|
|
254
|
+
*/
|
|
255
|
+
async beginUpgrade(resourceGroupName, searchServiceName, options) {
|
|
256
|
+
const directSendOperation = async (args, spec) => {
|
|
257
|
+
return this.client.sendOperationRequest(args, spec);
|
|
258
|
+
};
|
|
259
|
+
const sendOperationFn = async (args, spec) => {
|
|
260
|
+
let currentRawResponse = undefined;
|
|
261
|
+
const providedCallback = args.options?.onResponse;
|
|
262
|
+
const callback = (rawResponse, flatResponse) => {
|
|
263
|
+
currentRawResponse = rawResponse;
|
|
264
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
265
|
+
};
|
|
266
|
+
const updatedArgs = {
|
|
267
|
+
...args,
|
|
268
|
+
options: {
|
|
269
|
+
...args.options,
|
|
270
|
+
onResponse: callback,
|
|
271
|
+
},
|
|
272
|
+
};
|
|
273
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
274
|
+
return {
|
|
275
|
+
flatResponse,
|
|
276
|
+
rawResponse: {
|
|
277
|
+
statusCode: currentRawResponse.status,
|
|
278
|
+
body: currentRawResponse.parsedBody,
|
|
279
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
280
|
+
},
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
const lro = createLroSpec({
|
|
284
|
+
sendOperationFn,
|
|
285
|
+
args: { resourceGroupName, searchServiceName, options },
|
|
286
|
+
spec: upgradeOperationSpec,
|
|
287
|
+
});
|
|
288
|
+
const poller = await createHttpPoller(lro, {
|
|
289
|
+
restoreFrom: options?.resumeFrom,
|
|
290
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
291
|
+
resourceLocationConfig: "location",
|
|
292
|
+
});
|
|
293
|
+
await poller.poll();
|
|
294
|
+
return poller;
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* Upgrades the Azure AI Search service to the latest version available.
|
|
298
|
+
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
299
|
+
* obtain this value from the Azure Resource Manager API or the portal.
|
|
300
|
+
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
301
|
+
* resource group.
|
|
302
|
+
* @param options The options parameters.
|
|
303
|
+
*/
|
|
304
|
+
async beginUpgradeAndWait(resourceGroupName, searchServiceName, options) {
|
|
305
|
+
const poller = await this.beginUpgrade(resourceGroupName, searchServiceName, options);
|
|
306
|
+
return poller.pollUntilDone();
|
|
307
|
+
}
|
|
280
308
|
/**
|
|
281
309
|
* ListByResourceGroupNext
|
|
282
310
|
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
@@ -326,11 +354,7 @@ const createOrUpdateOperationSpec = {
|
|
|
326
354
|
Parameters.subscriptionId,
|
|
327
355
|
Parameters.searchServiceName1,
|
|
328
356
|
],
|
|
329
|
-
headerParameters: [
|
|
330
|
-
Parameters.accept,
|
|
331
|
-
Parameters.clientRequestId,
|
|
332
|
-
Parameters.contentType,
|
|
333
|
-
],
|
|
357
|
+
headerParameters: [Parameters.accept, Parameters.clientRequestId, Parameters.contentType],
|
|
334
358
|
mediaType: "json",
|
|
335
359
|
serializer,
|
|
336
360
|
};
|
|
@@ -353,11 +377,7 @@ const updateOperationSpec = {
|
|
|
353
377
|
Parameters.subscriptionId,
|
|
354
378
|
Parameters.searchServiceName1,
|
|
355
379
|
],
|
|
356
|
-
headerParameters: [
|
|
357
|
-
Parameters.accept,
|
|
358
|
-
Parameters.clientRequestId,
|
|
359
|
-
Parameters.contentType,
|
|
360
|
-
],
|
|
380
|
+
headerParameters: [Parameters.accept, Parameters.clientRequestId, Parameters.contentType],
|
|
361
381
|
mediaType: "json",
|
|
362
382
|
serializer,
|
|
363
383
|
};
|
|
@@ -415,11 +435,7 @@ const listByResourceGroupOperationSpec = {
|
|
|
415
435
|
},
|
|
416
436
|
},
|
|
417
437
|
queryParameters: [Parameters.apiVersion],
|
|
418
|
-
urlParameters: [
|
|
419
|
-
Parameters.$host,
|
|
420
|
-
Parameters.resourceGroupName,
|
|
421
|
-
Parameters.subscriptionId,
|
|
422
|
-
],
|
|
438
|
+
urlParameters: [Parameters.$host, Parameters.resourceGroupName, Parameters.subscriptionId],
|
|
423
439
|
headerParameters: [Parameters.accept, Parameters.clientRequestId],
|
|
424
440
|
serializer,
|
|
425
441
|
};
|
|
@@ -452,18 +468,44 @@ const checkNameAvailabilityOperationSpec = {
|
|
|
452
468
|
},
|
|
453
469
|
requestBody: {
|
|
454
470
|
parameterPath: { name: ["name"], typeParam: ["typeParam"] },
|
|
455
|
-
mapper:
|
|
471
|
+
mapper: { ...Mappers.CheckNameAvailabilityInput, required: true },
|
|
456
472
|
},
|
|
457
473
|
queryParameters: [Parameters.apiVersion],
|
|
458
474
|
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
459
|
-
headerParameters: [
|
|
460
|
-
Parameters.accept,
|
|
461
|
-
Parameters.clientRequestId,
|
|
462
|
-
Parameters.contentType,
|
|
463
|
-
],
|
|
475
|
+
headerParameters: [Parameters.accept, Parameters.clientRequestId, Parameters.contentType],
|
|
464
476
|
mediaType: "json",
|
|
465
477
|
serializer,
|
|
466
478
|
};
|
|
479
|
+
const upgradeOperationSpec = {
|
|
480
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/upgrade",
|
|
481
|
+
httpMethod: "POST",
|
|
482
|
+
responses: {
|
|
483
|
+
200: {
|
|
484
|
+
bodyMapper: Mappers.SearchService,
|
|
485
|
+
},
|
|
486
|
+
201: {
|
|
487
|
+
bodyMapper: Mappers.SearchService,
|
|
488
|
+
},
|
|
489
|
+
202: {
|
|
490
|
+
bodyMapper: Mappers.SearchService,
|
|
491
|
+
},
|
|
492
|
+
204: {
|
|
493
|
+
bodyMapper: Mappers.SearchService,
|
|
494
|
+
},
|
|
495
|
+
default: {
|
|
496
|
+
bodyMapper: Mappers.CloudError,
|
|
497
|
+
},
|
|
498
|
+
},
|
|
499
|
+
queryParameters: [Parameters.apiVersion],
|
|
500
|
+
urlParameters: [
|
|
501
|
+
Parameters.$host,
|
|
502
|
+
Parameters.resourceGroupName,
|
|
503
|
+
Parameters.searchServiceName,
|
|
504
|
+
Parameters.subscriptionId,
|
|
505
|
+
],
|
|
506
|
+
headerParameters: [Parameters.accept],
|
|
507
|
+
serializer,
|
|
508
|
+
};
|
|
467
509
|
const listByResourceGroupNextOperationSpec = {
|
|
468
510
|
path: "{nextLink}",
|
|
469
511
|
httpMethod: "GET",
|
|
@@ -495,11 +537,7 @@ const listBySubscriptionNextOperationSpec = {
|
|
|
495
537
|
bodyMapper: Mappers.CloudError,
|
|
496
538
|
},
|
|
497
539
|
},
|
|
498
|
-
urlParameters: [
|
|
499
|
-
Parameters.$host,
|
|
500
|
-
Parameters.subscriptionId,
|
|
501
|
-
Parameters.nextLink,
|
|
502
|
-
],
|
|
540
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink],
|
|
503
541
|
headerParameters: [Parameters.accept, Parameters.clientRequestId],
|
|
504
542
|
serializer,
|
|
505
543
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"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AC,MAAM,EAAE,UAAU,CAAC,eAAe,CAAC;IACjE,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,QAAQ,CAAC;IACjF,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 { Services } 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 SearchService,\n ServicesListByResourceGroupNextOptionalParams,\n ServicesListByResourceGroupOptionalParams,\n ServicesListByResourceGroupResponse,\n ServicesListBySubscriptionNextOptionalParams,\n ServicesListBySubscriptionOptionalParams,\n ServicesListBySubscriptionResponse,\n ServicesCreateOrUpdateOptionalParams,\n ServicesCreateOrUpdateResponse,\n SearchServiceUpdate,\n ServicesUpdateOptionalParams,\n ServicesUpdateResponse,\n ServicesGetOptionalParams,\n ServicesGetResponse,\n ServicesDeleteOptionalParams,\n ServicesCheckNameAvailabilityOptionalParams,\n ServicesCheckNameAvailabilityResponse,\n ServicesUpgradeOptionalParams,\n ServicesUpgradeResponse,\n ServicesListByResourceGroupNextResponse,\n ServicesListBySubscriptionNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Services operations. */\nexport class ServicesImpl implements Services {\n private readonly client: SearchManagementClient;\n\n /**\n * Initialize a new instance of the class Services 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 Search services in 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 options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ServicesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<SearchService> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, 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.listByResourceGroupPagingPage(resourceGroupName, options, settings);\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: ServicesListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SearchService[]> {\n let result: ServicesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, 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._listByResourceGroupNext(resourceGroupName, continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: ServicesListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<SearchService> {\n for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of all Search services in the given subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ServicesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<SearchService> {\n const iter = this.listBySubscriptionPagingAll(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(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: ServicesListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SearchService[]> {\n let result: ServicesListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(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(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 options?: ServicesListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<SearchService> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Creates or updates a search service in the given resource group. If the search service already\n * exists, all properties will be updated with the given values.\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 to create or update. Search service\n * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or\n * last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in\n * length. Search service names must be unique since they are part of the service URI\n * (https://<name>.search.windows.net). You cannot change the service name after the service is\n * created.\n * @param service The definition of the search service to create or update.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n searchServiceName: string,\n service: SearchService,\n options?: ServicesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<ServicesCreateOrUpdateResponse>, ServicesCreateOrUpdateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ServicesCreateOrUpdateResponse> => {\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: { resourceGroupName, searchServiceName, service, options },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ServicesCreateOrUpdateResponse,\n OperationState<ServicesCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates a search service in the given resource group. If the search service already\n * exists, all properties will be updated with the given values.\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 to create or update. Search service\n * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or\n * last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in\n * length. Search service names must be unique since they are part of the service URI\n * (https://<name>.search.windows.net). You cannot change the service name after the service is\n * created.\n * @param service The definition of the search service to create or update.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n service: SearchService,\n options?: ServicesCreateOrUpdateOptionalParams,\n ): Promise<ServicesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n searchServiceName,\n service,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates an existing search service in 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 to update.\n * @param service The definition of the search service to update.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n searchServiceName: string,\n service: SearchServiceUpdate,\n options?: ServicesUpdateOptionalParams,\n ): Promise<ServicesUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, searchServiceName, service, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Gets the search service with the given name in 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 options The options parameters.\n */\n get(\n resourceGroupName: string,\n searchServiceName: string,\n options?: ServicesGetOptionalParams,\n ): Promise<ServicesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, searchServiceName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Deletes a search service in the given resource group, along with its associated resources.\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 delete(\n resourceGroupName: string,\n searchServiceName: string,\n options?: ServicesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, searchServiceName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Gets a list of all Search services in 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 options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ServicesListByResourceGroupOptionalParams,\n ): Promise<ServicesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Gets a list of all Search services in the given subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ServicesListBySubscriptionOptionalParams,\n ): Promise<ServicesListBySubscriptionResponse> {\n return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);\n }\n\n /**\n * Checks whether or not the given search service name is available for use. Search service names must\n * be globally unique since they are part of the service URI (https://<name>.search.windows.net).\n * @param name The search service name to validate. Search service names must only contain lowercase\n * letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain\n * consecutive dashes, and must be between 2 and 60 characters in length.\n * @param options The options parameters.\n */\n checkNameAvailability(\n name: string,\n options?: ServicesCheckNameAvailabilityOptionalParams,\n ): Promise<ServicesCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest({ name, options }, checkNameAvailabilityOperationSpec);\n }\n\n /**\n * Upgrades the Azure AI Search service to the latest version available.\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 async beginUpgrade(\n resourceGroupName: string,\n searchServiceName: string,\n options?: ServicesUpgradeOptionalParams,\n ): Promise<SimplePollerLike<OperationState<ServicesUpgradeResponse>, ServicesUpgradeResponse>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ServicesUpgradeResponse> => {\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: { resourceGroupName, searchServiceName, options },\n spec: upgradeOperationSpec,\n });\n const poller = await createHttpPoller<\n ServicesUpgradeResponse,\n OperationState<ServicesUpgradeResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Upgrades the Azure AI Search service to the latest version available.\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 async beginUpgradeAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n options?: ServicesUpgradeOptionalParams,\n ): Promise<ServicesUpgradeResponse> {\n const poller = await this.beginUpgrade(resourceGroupName, searchServiceName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * ListByResourceGroupNext\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 nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ServicesListByResourceGroupNextOptionalParams,\n ): Promise<ServicesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n\n /**\n * ListBySubscriptionNext\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 nextLink: string,\n options?: ServicesListBySubscriptionNextOptionalParams,\n ): Promise<ServicesListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\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}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchService,\n },\n 201: {\n bodyMapper: Mappers.SearchService,\n },\n 202: {\n bodyMapper: Mappers.SearchService,\n },\n 204: {\n bodyMapper: Mappers.SearchService,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.service,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.searchServiceName1,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchService,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.service1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.searchServiceName1,\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}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchService,\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 deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n 404: {},\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 listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchServiceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.resourceGroupName, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Search/searchServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchServiceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Search/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityOutput,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: {\n parameterPath: { name: [\"name\"], typeParam: [\"typeParam\"] },\n mapper: { ...Mappers.CheckNameAvailabilityInput, required: true },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.clientRequestId, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst upgradeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/upgrade\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchService,\n },\n 201: {\n bodyMapper: Mappers.SearchService,\n },\n 202: {\n bodyMapper: Mappers.SearchService,\n },\n 204: {\n bodyMapper: Mappers.SearchService,\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],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchServiceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\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.SearchServiceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { SharedPrivateLinkResources } from "../operationsInterfaces";
|
|
3
|
-
import { SearchManagementClient } from "../searchManagementClient";
|
|
2
|
+
import { SharedPrivateLinkResources } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { SearchManagementClient } from "../searchManagementClient.js";
|
|
4
4
|
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
-
import { SharedPrivateLinkResource, SharedPrivateLinkResourcesListByServiceOptionalParams, SharedPrivateLinkResourcesCreateOrUpdateOptionalParams, SharedPrivateLinkResourcesCreateOrUpdateResponse, SharedPrivateLinkResourcesGetOptionalParams, SharedPrivateLinkResourcesGetResponse, SharedPrivateLinkResourcesDeleteOptionalParams } from "../models";
|
|
5
|
+
import { SharedPrivateLinkResource, SharedPrivateLinkResourcesListByServiceOptionalParams, SharedPrivateLinkResourcesCreateOrUpdateOptionalParams, SharedPrivateLinkResourcesCreateOrUpdateResponse, SharedPrivateLinkResourcesGetOptionalParams, SharedPrivateLinkResourcesGetResponse, SharedPrivateLinkResourcesDeleteOptionalParams } from "../models/index.js";
|
|
6
6
|
/** Class containing SharedPrivateLinkResources operations. */
|
|
7
7
|
export declare class SharedPrivateLinkResourcesImpl implements SharedPrivateLinkResources {
|
|
8
8
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sharedPrivateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/sharedPrivateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,M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