@azure/arm-search 4.0.0-alpha.20250213.1 → 4.0.0-alpha.20250217.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -12
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/adminKeys.d.ts +3 -3
- package/dist/browser/operations/adminKeys.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/adminKeys.js +2 -2
- package/dist/browser/operations/adminKeys.js.map +1 -0
- package/dist/browser/operations/index.d.ts +10 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +17 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/networkSecurityPerimeterConfigurations.d.ts +3 -3
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/networkSecurityPerimeterConfigurations.js +42 -46
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +2 -2
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +3 -3
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +3 -3
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateLinkResources.d.ts +3 -3
- package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateLinkResources.js +2 -2
- package/dist/browser/operations/privateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/queryKeys.d.ts +3 -3
- package/dist/browser/operations/queryKeys.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/queryKeys.js +3 -3
- package/dist/browser/operations/queryKeys.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/services.d.ts +3 -3
- package/dist/browser/operations/services.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/services.js +41 -45
- package/dist/browser/operations/services.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/sharedPrivateLinkResources.d.ts +3 -3
- package/dist/browser/operations/sharedPrivateLinkResources.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/sharedPrivateLinkResources.js +88 -96
- package/dist/browser/operations/sharedPrivateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/usages.d.ts +3 -3
- package/dist/browser/operations/usages.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/usages.js +3 -3
- package/dist/browser/operations/usages.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/adminKeys.d.ts +1 -1
- package/dist/browser/operationsInterfaces/adminKeys.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/adminKeys.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +10 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +17 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.d.ts +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/queryKeys.d.ts +1 -1
- package/dist/browser/operationsInterfaces/queryKeys.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/queryKeys.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/services.d.ts +1 -1
- package/dist/browser/operationsInterfaces/services.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/services.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/sharedPrivateLinkResources.d.ts +1 -1
- package/dist/browser/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.d.ts +1 -1
- package/dist/browser/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/usages.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/{dist-esm/src → dist/browser}/searchManagementClient.d.ts +2 -2
- package/dist/browser/searchManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/searchManagementClient.js +17 -20
- package/dist/browser/searchManagementClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +17 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-search.d.ts → dist/commonjs/models/index.d.ts} +1247 -1791
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +135 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +60 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +1841 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +26 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +233 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/adminKeys.d.ts +33 -0
- package/dist/commonjs/operations/adminKeys.d.ts.map +1 -0
- package/dist/commonjs/operations/adminKeys.js +95 -0
- package/dist/commonjs/operations/adminKeys.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +10 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +20 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts +79 -0
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js +289 -0
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +26 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +100 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.d.ts +79 -0
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.js +290 -0
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operations/privateLinkResources.d.ts +34 -0
- package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operations/privateLinkResources.js +113 -0
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
- package/dist/commonjs/operations/queryKeys.d.ts +66 -0
- package/dist/commonjs/operations/queryKeys.d.ts.map +1 -0
- package/dist/commonjs/operations/queryKeys.js +230 -0
- package/dist/commonjs/operations/queryKeys.js.map +1 -0
- package/dist/commonjs/operations/services.d.ts +123 -0
- package/dist/commonjs/operations/services.d.ts.map +1 -0
- package/dist/commonjs/operations/services.js +506 -0
- package/dist/commonjs/operations/services.js.map +1 -0
- package/dist/commonjs/operations/sharedPrivateLinkResources.d.ts +107 -0
- package/dist/commonjs/operations/sharedPrivateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operations/sharedPrivateLinkResources.js +400 -0
- package/dist/commonjs/operations/sharedPrivateLinkResources.js.map +1 -0
- package/dist/commonjs/operations/usages.d.ts +35 -0
- package/dist/commonjs/operations/usages.d.ts.map +1 -0
- package/dist/commonjs/operations/usages.js +149 -0
- package/dist/commonjs/operations/usages.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/adminKeys.d.ts +25 -0
- package/dist/commonjs/operationsInterfaces/adminKeys.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/adminKeys.js +10 -0
- package/dist/commonjs/operationsInterfaces/adminKeys.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +10 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +20 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js +10 -0
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +50 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +15 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/queryKeys.d.ts +37 -0
- package/dist/commonjs/operationsInterfaces/queryKeys.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/queryKeys.js +10 -0
- package/dist/commonjs/operationsInterfaces/queryKeys.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/services.d.ts +85 -0
- package/dist/commonjs/operationsInterfaces/services.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/services.js +10 -0
- package/dist/commonjs/operationsInterfaces/services.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/sharedPrivateLinkResources.d.ts +78 -0
- package/dist/commonjs/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/sharedPrivateLinkResources.js +10 -0
- package/dist/commonjs/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/usages.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/usages.js +10 -0
- package/dist/commonjs/operationsInterfaces/usages.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/commonjs/searchManagementClient.d.ts +36 -0
- package/dist/commonjs/searchManagementClient.d.ts.map +1 -0
- package/dist/commonjs/searchManagementClient.js +146 -0
- package/dist/commonjs/searchManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +14 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1247 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +132 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +60 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +1837 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +26 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +230 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/adminKeys.d.ts +33 -0
- package/dist/esm/operations/adminKeys.d.ts.map +1 -0
- package/dist/esm/operations/adminKeys.js +90 -0
- package/dist/esm/operations/adminKeys.js.map +1 -0
- package/dist/esm/operations/index.d.ts +10 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +17 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts +79 -0
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.js +285 -0
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +26 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +96 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts +79 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.js +286 -0
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operations/privateLinkResources.d.ts +34 -0
- package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/esm/operations/privateLinkResources.js +109 -0
- package/dist/esm/operations/privateLinkResources.js.map +1 -0
- package/dist/esm/operations/queryKeys.d.ts +66 -0
- package/dist/esm/operations/queryKeys.d.ts.map +1 -0
- package/dist/esm/operations/queryKeys.js +226 -0
- package/dist/esm/operations/queryKeys.js.map +1 -0
- package/dist/esm/operations/services.d.ts +123 -0
- package/dist/esm/operations/services.d.ts.map +1 -0
- package/dist/esm/operations/services.js +502 -0
- package/dist/esm/operations/services.js.map +1 -0
- package/dist/esm/operations/sharedPrivateLinkResources.d.ts +107 -0
- package/dist/esm/operations/sharedPrivateLinkResources.d.ts.map +1 -0
- package/dist/esm/operations/sharedPrivateLinkResources.js +396 -0
- package/dist/esm/operations/sharedPrivateLinkResources.js.map +1 -0
- package/dist/esm/operations/usages.d.ts +35 -0
- package/dist/esm/operations/usages.d.ts.map +1 -0
- package/dist/esm/operations/usages.js +145 -0
- package/dist/esm/operations/usages.js.map +1 -0
- package/dist/esm/operationsInterfaces/adminKeys.d.ts +25 -0
- package/dist/esm/operationsInterfaces/adminKeys.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/adminKeys.js +9 -0
- package/dist/esm/operationsInterfaces/adminKeys.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +10 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +17 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +50 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +15 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/esm/operationsInterfaces/queryKeys.d.ts +37 -0
- package/dist/esm/operationsInterfaces/queryKeys.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/queryKeys.js +9 -0
- package/dist/esm/operationsInterfaces/queryKeys.js.map +1 -0
- package/dist/esm/operationsInterfaces/services.d.ts +85 -0
- package/dist/esm/operationsInterfaces/services.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/services.js +9 -0
- package/dist/esm/operationsInterfaces/services.js.map +1 -0
- package/dist/esm/operationsInterfaces/sharedPrivateLinkResources.d.ts +78 -0
- package/dist/esm/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/sharedPrivateLinkResources.js +9 -0
- package/dist/esm/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -0
- package/dist/esm/operationsInterfaces/usages.d.ts +12 -0
- package/dist/esm/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/usages.js +9 -0
- package/dist/esm/operationsInterfaces/usages.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/esm/searchManagementClient.d.ts +36 -0
- package/dist/esm/searchManagementClient.d.ts.map +1 -0
- package/dist/esm/searchManagementClient.js +141 -0
- package/dist/esm/searchManagementClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +14 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1247 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +132 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +60 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +1837 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +26 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +230 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/adminKeys.d.ts +33 -0
- package/dist/react-native/operations/adminKeys.d.ts.map +1 -0
- package/dist/react-native/operations/adminKeys.js +90 -0
- package/dist/react-native/operations/adminKeys.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +10 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +17 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts +79 -0
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js +285 -0
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +26 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +96 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/privateEndpointConnections.d.ts +79 -0
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operations/privateEndpointConnections.js +286 -0
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
- package/dist/react-native/operations/privateLinkResources.d.ts +34 -0
- package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operations/privateLinkResources.js +109 -0
- package/dist/react-native/operations/privateLinkResources.js.map +1 -0
- package/dist/react-native/operations/queryKeys.d.ts +66 -0
- package/dist/react-native/operations/queryKeys.d.ts.map +1 -0
- package/dist/react-native/operations/queryKeys.js +226 -0
- package/dist/react-native/operations/queryKeys.js.map +1 -0
- package/dist/react-native/operations/services.d.ts +123 -0
- package/dist/react-native/operations/services.d.ts.map +1 -0
- package/dist/react-native/operations/services.js +502 -0
- package/dist/react-native/operations/services.js.map +1 -0
- package/dist/react-native/operations/sharedPrivateLinkResources.d.ts +107 -0
- package/dist/react-native/operations/sharedPrivateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operations/sharedPrivateLinkResources.js +396 -0
- package/dist/react-native/operations/sharedPrivateLinkResources.js.map +1 -0
- package/dist/react-native/operations/usages.d.ts +35 -0
- package/dist/react-native/operations/usages.d.ts.map +1 -0
- package/dist/react-native/operations/usages.js +145 -0
- package/dist/react-native/operations/usages.js.map +1 -0
- package/dist/react-native/operationsInterfaces/adminKeys.d.ts +25 -0
- package/dist/react-native/operationsInterfaces/adminKeys.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/adminKeys.js +9 -0
- package/dist/react-native/operationsInterfaces/adminKeys.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +10 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +17 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +50 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +15 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/react-native/operationsInterfaces/queryKeys.d.ts +37 -0
- package/dist/react-native/operationsInterfaces/queryKeys.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/queryKeys.js +9 -0
- package/dist/react-native/operationsInterfaces/queryKeys.js.map +1 -0
- package/dist/react-native/operationsInterfaces/services.d.ts +85 -0
- package/dist/react-native/operationsInterfaces/services.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/services.js +9 -0
- package/dist/react-native/operationsInterfaces/services.js.map +1 -0
- package/dist/react-native/operationsInterfaces/sharedPrivateLinkResources.d.ts +78 -0
- package/dist/react-native/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/sharedPrivateLinkResources.js +9 -0
- package/dist/react-native/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -0
- package/dist/react-native/operationsInterfaces/usages.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/usages.js +9 -0
- package/dist/react-native/operationsInterfaces/usages.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/dist/react-native/searchManagementClient.d.ts +36 -0
- package/dist/react-native/searchManagementClient.d.ts.map +1 -0
- package/dist/react-native/searchManagementClient.js +141 -0
- package/dist/react-native/searchManagementClient.js.map +1 -0
- package/package.json +67 -37
- package/dist/index.js +0 -4571
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/adminKeysGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/adminKeysGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/adminKeysGetSample.js +0 -36
- package/dist-esm/samples-dev/adminKeysGetSample.js.map +0 -1
- package/dist-esm/samples-dev/adminKeysRegenerateSample.d.ts +0 -2
- package/dist-esm/samples-dev/adminKeysRegenerateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/adminKeysRegenerateSample.js +0 -37
- package/dist-esm/samples-dev/adminKeysRegenerateSample.js.map +0 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js +0 -37
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.d.ts +0 -2
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.js +0 -52
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.js.map +0 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts +0 -2
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js +0 -37
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -50
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -37
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -37
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js +0 -52
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +0 -38
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js +0 -52
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js.map +0 -1
- package/dist-esm/samples-dev/queryKeysCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/queryKeysCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryKeysCreateSample.js +0 -37
- package/dist-esm/samples-dev/queryKeysCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/queryKeysDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/queryKeysDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryKeysDeleteSample.js +0 -37
- package/dist-esm/samples-dev/queryKeysDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/queryKeysListBySearchServiceSample.d.ts +0 -2
- package/dist-esm/samples-dev/queryKeysListBySearchServiceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/queryKeysListBySearchServiceSample.js +0 -52
- package/dist-esm/samples-dev/queryKeysListBySearchServiceSample.js.map +0 -1
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js +0 -35
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +0 -292
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/servicesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/servicesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/servicesDeleteSample.js +0 -36
- package/dist-esm/samples-dev/servicesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/servicesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/servicesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/servicesGetSample.js +0 -36
- package/dist-esm/samples-dev/servicesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.js +0 -51
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/servicesListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/servicesListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/servicesListBySubscriptionSample.js +0 -50
- package/dist-esm/samples-dev/servicesListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/servicesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/servicesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/servicesUpdateSample.js +0 -248
- package/dist-esm/samples-dev/servicesUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesCreateOrUpdateSample.js +0 -38
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesDeleteSample.js +0 -37
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesGetSample.js +0 -37
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesListByServiceSample.d.ts +0 -2
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesListByServiceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesListByServiceSample.js +0 -52
- package/dist-esm/samples-dev/sharedPrivateLinkResourcesListByServiceSample.js.map +0 -1
- package/dist-esm/samples-dev/usageBySubscriptionSkuSample.d.ts +0 -2
- package/dist-esm/samples-dev/usageBySubscriptionSkuSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/usageBySubscriptionSkuSample.js +0 -36
- package/dist-esm/samples-dev/usageBySubscriptionSkuSample.js.map +0 -1
- package/dist-esm/samples-dev/usagesListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/usagesListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/usagesListBySubscriptionSample.js +0 -51
- package/dist-esm/samples-dev/usagesListBySubscriptionSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/adminKeys.d.ts.map +0 -1
- package/dist-esm/src/operations/adminKeys.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -10
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -17
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
- package/dist-esm/src/operations/queryKeys.d.ts.map +0 -1
- package/dist-esm/src/operations/queryKeys.js.map +0 -1
- package/dist-esm/src/operations/services.d.ts.map +0 -1
- package/dist-esm/src/operations/services.js.map +0 -1
- package/dist-esm/src/operations/sharedPrivateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operations/sharedPrivateLinkResources.js.map +0 -1
- package/dist-esm/src/operations/usages.d.ts.map +0 -1
- package/dist-esm/src/operations/usages.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/adminKeys.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/adminKeys.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -10
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -17
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/queryKeys.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/queryKeys.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/services.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/services.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/usages.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/usages.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/src/searchManagementClient.d.ts.map +0 -1
- package/dist-esm/src/searchManagementClient.js.map +0 -1
- package/dist-esm/test/search_examples.d.ts +0 -4
- package/dist-esm/test/search_examples.d.ts.map +0 -1
- package/dist-esm/test/search_examples.js +0 -228
- package/dist-esm/test/search_examples.js.map +0 -1
- package/src/lroImpl.ts +0 -38
- package/src/models/index.ts +0 -1449
- package/src/models/mappers.ts +0 -1969
- package/src/models/parameters.ts +0 -267
- package/src/operations/adminKeys.ts +0 -120
- package/src/operations/index.ts +0 -17
- package/src/operations/networkSecurityPerimeterConfigurations.ts +0 -400
- package/src/operations/operations.ts +0 -103
- package/src/operations/privateEndpointConnections.ts +0 -373
- package/src/operations/privateLinkResources.ts +0 -144
- package/src/operations/queryKeys.ts +0 -298
- package/src/operations/services.ts +0 -634
- package/src/operations/sharedPrivateLinkResources.ts +0 -544
- package/src/operations/usages.ts +0 -176
- package/src/operationsInterfaces/adminKeys.ts +0 -48
- package/src/operationsInterfaces/index.ts +0 -17
- package/src/operationsInterfaces/networkSecurityPerimeterConfigurations.ts +0 -90
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/privateEndpointConnections.ts +0 -88
- package/src/operationsInterfaces/privateLinkResources.ts +0 -31
- package/src/operationsInterfaces/queryKeys.ts +0 -66
- package/src/operationsInterfaces/services.ts +0 -144
- package/src/operationsInterfaces/sharedPrivateLinkResources.ts +0 -131
- package/src/operationsInterfaces/usages.ts +0 -27
- package/src/pagingHelper.ts +0 -39
- package/src/searchManagementClient.ts +0 -226
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/adminKeys.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/networkSecurityPerimeterConfigurations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/queryKeys.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/services.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/sharedPrivateLinkResources.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
package/dist/index.js
DELETED
|
@@ -1,4571 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var tslib = require('tslib');
|
|
6
|
-
var coreClient = require('@azure/core-client');
|
|
7
|
-
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
8
|
-
var coreLro = require('@azure/core-lro');
|
|
9
|
-
|
|
10
|
-
function _interopNamespaceDefault(e) {
|
|
11
|
-
var n = Object.create(null);
|
|
12
|
-
if (e) {
|
|
13
|
-
Object.keys(e).forEach(function (k) {
|
|
14
|
-
if (k !== 'default') {
|
|
15
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return e[k]; }
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
n.default = e;
|
|
24
|
-
return Object.freeze(n);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
|
|
28
|
-
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
|
|
29
|
-
|
|
30
|
-
/*
|
|
31
|
-
* Copyright (c) Microsoft Corporation.
|
|
32
|
-
* Licensed under the MIT License.
|
|
33
|
-
*
|
|
34
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
35
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
36
|
-
*/
|
|
37
|
-
const pageMap = new WeakMap();
|
|
38
|
-
/**
|
|
39
|
-
* Given the last `.value` produced by the `byPage` iterator,
|
|
40
|
-
* returns a continuation token that can be used to begin paging from
|
|
41
|
-
* that point later.
|
|
42
|
-
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
43
|
-
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
44
|
-
*/
|
|
45
|
-
function getContinuationToken(page) {
|
|
46
|
-
var _a;
|
|
47
|
-
if (typeof page !== "object" || page === null) {
|
|
48
|
-
return undefined;
|
|
49
|
-
}
|
|
50
|
-
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
51
|
-
}
|
|
52
|
-
function setContinuationToken(page, continuationToken) {
|
|
53
|
-
var _a;
|
|
54
|
-
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
|
58
|
-
pageInfo.continuationToken = continuationToken;
|
|
59
|
-
pageMap.set(page, pageInfo);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/*
|
|
63
|
-
* Copyright (c) Microsoft Corporation.
|
|
64
|
-
* Licensed under the MIT License.
|
|
65
|
-
*
|
|
66
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
67
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
68
|
-
*/
|
|
69
|
-
/** Known values of {@link PublicNetworkAccess} that the service accepts. */
|
|
70
|
-
exports.KnownPublicNetworkAccess = void 0;
|
|
71
|
-
(function (KnownPublicNetworkAccess) {
|
|
72
|
-
/** The search service is accessible from traffic originating from the public internet. */
|
|
73
|
-
KnownPublicNetworkAccess["Enabled"] = "enabled";
|
|
74
|
-
/** The search service is not accessible from traffic originating from the public internet. Access is only permitted over approved private endpoint connections. */
|
|
75
|
-
KnownPublicNetworkAccess["Disabled"] = "disabled";
|
|
76
|
-
})(exports.KnownPublicNetworkAccess || (exports.KnownPublicNetworkAccess = {}));
|
|
77
|
-
/** Known values of {@link SearchBypass} that the service accepts. */
|
|
78
|
-
exports.KnownSearchBypass = void 0;
|
|
79
|
-
(function (KnownSearchBypass) {
|
|
80
|
-
/** Indicates that no origin can bypass the rules defined in the 'ipRules' section. This is the default. */
|
|
81
|
-
KnownSearchBypass["None"] = "None";
|
|
82
|
-
/** Indicates that requests originating from the Azure portal can bypass the rules defined in the 'ipRules' section. */
|
|
83
|
-
KnownSearchBypass["AzurePortal"] = "AzurePortal";
|
|
84
|
-
/** Indicates that requests originating from Azure trusted services can bypass the rules defined in the 'ipRules' section. */
|
|
85
|
-
KnownSearchBypass["AzureServices"] = "AzureServices";
|
|
86
|
-
})(exports.KnownSearchBypass || (exports.KnownSearchBypass = {}));
|
|
87
|
-
/** Known values of {@link SearchDisabledDataExfiltrationOption} that the service accepts. */
|
|
88
|
-
exports.KnownSearchDisabledDataExfiltrationOption = void 0;
|
|
89
|
-
(function (KnownSearchDisabledDataExfiltrationOption) {
|
|
90
|
-
/** Indicates that all data exfiltration scenarios are disabled. */
|
|
91
|
-
KnownSearchDisabledDataExfiltrationOption["All"] = "All";
|
|
92
|
-
})(exports.KnownSearchDisabledDataExfiltrationOption || (exports.KnownSearchDisabledDataExfiltrationOption = {}));
|
|
93
|
-
/** Known values of {@link SearchSemanticSearch} that the service accepts. */
|
|
94
|
-
exports.KnownSearchSemanticSearch = void 0;
|
|
95
|
-
(function (KnownSearchSemanticSearch) {
|
|
96
|
-
/** Indicates that semantic reranker is disabled for the search service. This is the default. */
|
|
97
|
-
KnownSearchSemanticSearch["Disabled"] = "disabled";
|
|
98
|
-
/** Enables semantic reranker on a search service and indicates that it is to be used within the limits of the free plan. The free plan would cap the volume of semantic ranking requests and is offered at no extra charge. This is the default for newly provisioned search services. */
|
|
99
|
-
KnownSearchSemanticSearch["Free"] = "free";
|
|
100
|
-
/** Enables semantic reranker on a search service as a billable feature, with higher throughput and volume of semantically reranked queries. */
|
|
101
|
-
KnownSearchSemanticSearch["Standard"] = "standard";
|
|
102
|
-
})(exports.KnownSearchSemanticSearch || (exports.KnownSearchSemanticSearch = {}));
|
|
103
|
-
/** Known values of {@link PrivateLinkServiceConnectionProvisioningState} that the service accepts. */
|
|
104
|
-
exports.KnownPrivateLinkServiceConnectionProvisioningState = void 0;
|
|
105
|
-
(function (KnownPrivateLinkServiceConnectionProvisioningState) {
|
|
106
|
-
/** The private link service connection is in the process of being created along with other resources for it to be fully functional. */
|
|
107
|
-
KnownPrivateLinkServiceConnectionProvisioningState["Updating"] = "Updating";
|
|
108
|
-
/** The private link service connection is in the process of being deleted. */
|
|
109
|
-
KnownPrivateLinkServiceConnectionProvisioningState["Deleting"] = "Deleting";
|
|
110
|
-
/** The private link service connection has failed to be provisioned or deleted. */
|
|
111
|
-
KnownPrivateLinkServiceConnectionProvisioningState["Failed"] = "Failed";
|
|
112
|
-
/** The private link service connection has finished provisioning and is ready for approval. */
|
|
113
|
-
KnownPrivateLinkServiceConnectionProvisioningState["Succeeded"] = "Succeeded";
|
|
114
|
-
/** Provisioning request for the private link service connection resource has been accepted but the process of creation has not commenced yet. */
|
|
115
|
-
KnownPrivateLinkServiceConnectionProvisioningState["Incomplete"] = "Incomplete";
|
|
116
|
-
/** Provisioning request for the private link service connection resource has been canceled. */
|
|
117
|
-
KnownPrivateLinkServiceConnectionProvisioningState["Canceled"] = "Canceled";
|
|
118
|
-
})(exports.KnownPrivateLinkServiceConnectionProvisioningState || (exports.KnownPrivateLinkServiceConnectionProvisioningState = {}));
|
|
119
|
-
/** Known values of {@link SharedPrivateLinkResourceStatus} that the service accepts. */
|
|
120
|
-
exports.KnownSharedPrivateLinkResourceStatus = void 0;
|
|
121
|
-
(function (KnownSharedPrivateLinkResourceStatus) {
|
|
122
|
-
/** The shared private link resource has been created and is pending approval. */
|
|
123
|
-
KnownSharedPrivateLinkResourceStatus["Pending"] = "Pending";
|
|
124
|
-
/** The shared private link resource is approved and is ready for use. */
|
|
125
|
-
KnownSharedPrivateLinkResourceStatus["Approved"] = "Approved";
|
|
126
|
-
/** The shared private link resource has been rejected and cannot be used. */
|
|
127
|
-
KnownSharedPrivateLinkResourceStatus["Rejected"] = "Rejected";
|
|
128
|
-
/** The shared private link resource has been removed from the service. */
|
|
129
|
-
KnownSharedPrivateLinkResourceStatus["Disconnected"] = "Disconnected";
|
|
130
|
-
})(exports.KnownSharedPrivateLinkResourceStatus || (exports.KnownSharedPrivateLinkResourceStatus = {}));
|
|
131
|
-
/** Known values of {@link SharedPrivateLinkResourceProvisioningState} that the service accepts. */
|
|
132
|
-
exports.KnownSharedPrivateLinkResourceProvisioningState = void 0;
|
|
133
|
-
(function (KnownSharedPrivateLinkResourceProvisioningState) {
|
|
134
|
-
/** The shared private link resource is in the process of being created along with other resources for it to be fully functional. */
|
|
135
|
-
KnownSharedPrivateLinkResourceProvisioningState["Updating"] = "Updating";
|
|
136
|
-
/** The shared private link resource is in the process of being deleted. */
|
|
137
|
-
KnownSharedPrivateLinkResourceProvisioningState["Deleting"] = "Deleting";
|
|
138
|
-
/** The shared private link resource has failed to be provisioned or deleted. */
|
|
139
|
-
KnownSharedPrivateLinkResourceProvisioningState["Failed"] = "Failed";
|
|
140
|
-
/** The shared private link resource has finished provisioning and is ready for approval. */
|
|
141
|
-
KnownSharedPrivateLinkResourceProvisioningState["Succeeded"] = "Succeeded";
|
|
142
|
-
/** Provisioning request for the shared private link resource has been accepted but the process of creation has not commenced yet. */
|
|
143
|
-
KnownSharedPrivateLinkResourceProvisioningState["Incomplete"] = "Incomplete";
|
|
144
|
-
})(exports.KnownSharedPrivateLinkResourceProvisioningState || (exports.KnownSharedPrivateLinkResourceProvisioningState = {}));
|
|
145
|
-
/** Known values of {@link SkuName} that the service accepts. */
|
|
146
|
-
exports.KnownSkuName = void 0;
|
|
147
|
-
(function (KnownSkuName) {
|
|
148
|
-
/** Free tier, with no SLA guarantees and a subset of the features offered on billable tiers. */
|
|
149
|
-
KnownSkuName["Free"] = "free";
|
|
150
|
-
/** Billable tier for a dedicated service having up to 3 replicas. */
|
|
151
|
-
KnownSkuName["Basic"] = "basic";
|
|
152
|
-
/** Billable tier for a dedicated service having up to 12 partitions and 12 replicas. */
|
|
153
|
-
KnownSkuName["Standard"] = "standard";
|
|
154
|
-
/** Similar to 'standard', but with more capacity per search unit. */
|
|
155
|
-
KnownSkuName["Standard2"] = "standard2";
|
|
156
|
-
/** The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). */
|
|
157
|
-
KnownSkuName["Standard3"] = "standard3";
|
|
158
|
-
/** Billable tier for a dedicated service that supports 1TB per partition, up to 12 partitions. */
|
|
159
|
-
KnownSkuName["StorageOptimizedL1"] = "storage_optimized_l1";
|
|
160
|
-
/** Billable tier for a dedicated service that supports 2TB per partition, up to 12 partitions. */
|
|
161
|
-
KnownSkuName["StorageOptimizedL2"] = "storage_optimized_l2";
|
|
162
|
-
})(exports.KnownSkuName || (exports.KnownSkuName = {}));
|
|
163
|
-
/** Known values of {@link IdentityType} that the service accepts. */
|
|
164
|
-
exports.KnownIdentityType = void 0;
|
|
165
|
-
(function (KnownIdentityType) {
|
|
166
|
-
/** Indicates that any identity associated with the search service needs to be removed. */
|
|
167
|
-
KnownIdentityType["None"] = "None";
|
|
168
|
-
/** Indicates that system-assigned identity for the search service will be enabled. */
|
|
169
|
-
KnownIdentityType["SystemAssigned"] = "SystemAssigned";
|
|
170
|
-
/** Indicates that one or more user assigned identities will be assigned to the search service. */
|
|
171
|
-
KnownIdentityType["UserAssigned"] = "UserAssigned";
|
|
172
|
-
/** Indicates that system-assigned identity for the search service will be enabled along with the assignment of one or more user assigned identities. */
|
|
173
|
-
KnownIdentityType["SystemAssignedUserAssigned"] = "SystemAssigned, UserAssigned";
|
|
174
|
-
})(exports.KnownIdentityType || (exports.KnownIdentityType = {}));
|
|
175
|
-
/** Known values of {@link UnavailableNameReason} that the service accepts. */
|
|
176
|
-
exports.KnownUnavailableNameReason = void 0;
|
|
177
|
-
(function (KnownUnavailableNameReason) {
|
|
178
|
-
/** The search service name doesn't match naming requirements. */
|
|
179
|
-
KnownUnavailableNameReason["Invalid"] = "Invalid";
|
|
180
|
-
/** The search service name is already assigned to a different search service. */
|
|
181
|
-
KnownUnavailableNameReason["AlreadyExists"] = "AlreadyExists";
|
|
182
|
-
})(exports.KnownUnavailableNameReason || (exports.KnownUnavailableNameReason = {}));
|
|
183
|
-
/** Known values of {@link SharedPrivateLinkResourceAsyncOperationResult} that the service accepts. */
|
|
184
|
-
exports.KnownSharedPrivateLinkResourceAsyncOperationResult = void 0;
|
|
185
|
-
(function (KnownSharedPrivateLinkResourceAsyncOperationResult) {
|
|
186
|
-
/** Running */
|
|
187
|
-
KnownSharedPrivateLinkResourceAsyncOperationResult["Running"] = "Running";
|
|
188
|
-
/** Succeeded */
|
|
189
|
-
KnownSharedPrivateLinkResourceAsyncOperationResult["Succeeded"] = "Succeeded";
|
|
190
|
-
/** Failed */
|
|
191
|
-
KnownSharedPrivateLinkResourceAsyncOperationResult["Failed"] = "Failed";
|
|
192
|
-
})(exports.KnownSharedPrivateLinkResourceAsyncOperationResult || (exports.KnownSharedPrivateLinkResourceAsyncOperationResult = {}));
|
|
193
|
-
|
|
194
|
-
/*
|
|
195
|
-
* Copyright (c) Microsoft Corporation.
|
|
196
|
-
* Licensed under the MIT License.
|
|
197
|
-
*
|
|
198
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
199
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
200
|
-
*/
|
|
201
|
-
const OperationListResult = {
|
|
202
|
-
type: {
|
|
203
|
-
name: "Composite",
|
|
204
|
-
className: "OperationListResult",
|
|
205
|
-
modelProperties: {
|
|
206
|
-
value: {
|
|
207
|
-
serializedName: "value",
|
|
208
|
-
readOnly: true,
|
|
209
|
-
type: {
|
|
210
|
-
name: "Sequence",
|
|
211
|
-
element: {
|
|
212
|
-
type: {
|
|
213
|
-
name: "Composite",
|
|
214
|
-
className: "Operation",
|
|
215
|
-
},
|
|
216
|
-
},
|
|
217
|
-
},
|
|
218
|
-
},
|
|
219
|
-
nextLink: {
|
|
220
|
-
serializedName: "nextLink",
|
|
221
|
-
readOnly: true,
|
|
222
|
-
type: {
|
|
223
|
-
name: "String",
|
|
224
|
-
},
|
|
225
|
-
},
|
|
226
|
-
},
|
|
227
|
-
},
|
|
228
|
-
};
|
|
229
|
-
const Operation = {
|
|
230
|
-
type: {
|
|
231
|
-
name: "Composite",
|
|
232
|
-
className: "Operation",
|
|
233
|
-
modelProperties: {
|
|
234
|
-
name: {
|
|
235
|
-
serializedName: "name",
|
|
236
|
-
readOnly: true,
|
|
237
|
-
type: {
|
|
238
|
-
name: "String",
|
|
239
|
-
},
|
|
240
|
-
},
|
|
241
|
-
display: {
|
|
242
|
-
serializedName: "display",
|
|
243
|
-
type: {
|
|
244
|
-
name: "Composite",
|
|
245
|
-
className: "OperationDisplay",
|
|
246
|
-
},
|
|
247
|
-
},
|
|
248
|
-
isDataAction: {
|
|
249
|
-
serializedName: "isDataAction",
|
|
250
|
-
readOnly: true,
|
|
251
|
-
nullable: true,
|
|
252
|
-
type: {
|
|
253
|
-
name: "Boolean",
|
|
254
|
-
},
|
|
255
|
-
},
|
|
256
|
-
origin: {
|
|
257
|
-
serializedName: "origin",
|
|
258
|
-
readOnly: true,
|
|
259
|
-
type: {
|
|
260
|
-
name: "String",
|
|
261
|
-
},
|
|
262
|
-
},
|
|
263
|
-
properties: {
|
|
264
|
-
serializedName: "properties",
|
|
265
|
-
type: {
|
|
266
|
-
name: "Composite",
|
|
267
|
-
className: "OperationProperties",
|
|
268
|
-
},
|
|
269
|
-
},
|
|
270
|
-
},
|
|
271
|
-
},
|
|
272
|
-
};
|
|
273
|
-
const OperationDisplay = {
|
|
274
|
-
type: {
|
|
275
|
-
name: "Composite",
|
|
276
|
-
className: "OperationDisplay",
|
|
277
|
-
modelProperties: {
|
|
278
|
-
provider: {
|
|
279
|
-
serializedName: "provider",
|
|
280
|
-
readOnly: true,
|
|
281
|
-
type: {
|
|
282
|
-
name: "String",
|
|
283
|
-
},
|
|
284
|
-
},
|
|
285
|
-
operation: {
|
|
286
|
-
serializedName: "operation",
|
|
287
|
-
readOnly: true,
|
|
288
|
-
type: {
|
|
289
|
-
name: "String",
|
|
290
|
-
},
|
|
291
|
-
},
|
|
292
|
-
resource: {
|
|
293
|
-
serializedName: "resource",
|
|
294
|
-
readOnly: true,
|
|
295
|
-
type: {
|
|
296
|
-
name: "String",
|
|
297
|
-
},
|
|
298
|
-
},
|
|
299
|
-
description: {
|
|
300
|
-
serializedName: "description",
|
|
301
|
-
readOnly: true,
|
|
302
|
-
type: {
|
|
303
|
-
name: "String",
|
|
304
|
-
},
|
|
305
|
-
},
|
|
306
|
-
},
|
|
307
|
-
},
|
|
308
|
-
};
|
|
309
|
-
const OperationProperties = {
|
|
310
|
-
type: {
|
|
311
|
-
name: "Composite",
|
|
312
|
-
className: "OperationProperties",
|
|
313
|
-
modelProperties: {
|
|
314
|
-
serviceSpecification: {
|
|
315
|
-
serializedName: "serviceSpecification",
|
|
316
|
-
type: {
|
|
317
|
-
name: "Composite",
|
|
318
|
-
className: "OperationServiceSpecification",
|
|
319
|
-
},
|
|
320
|
-
},
|
|
321
|
-
},
|
|
322
|
-
},
|
|
323
|
-
};
|
|
324
|
-
const OperationServiceSpecification = {
|
|
325
|
-
type: {
|
|
326
|
-
name: "Composite",
|
|
327
|
-
className: "OperationServiceSpecification",
|
|
328
|
-
modelProperties: {
|
|
329
|
-
metricSpecifications: {
|
|
330
|
-
serializedName: "metricSpecifications",
|
|
331
|
-
readOnly: true,
|
|
332
|
-
type: {
|
|
333
|
-
name: "Sequence",
|
|
334
|
-
element: {
|
|
335
|
-
type: {
|
|
336
|
-
name: "Composite",
|
|
337
|
-
className: "OperationMetricsSpecification",
|
|
338
|
-
},
|
|
339
|
-
},
|
|
340
|
-
},
|
|
341
|
-
},
|
|
342
|
-
logSpecifications: {
|
|
343
|
-
serializedName: "logSpecifications",
|
|
344
|
-
readOnly: true,
|
|
345
|
-
type: {
|
|
346
|
-
name: "Sequence",
|
|
347
|
-
element: {
|
|
348
|
-
type: {
|
|
349
|
-
name: "Composite",
|
|
350
|
-
className: "OperationLogsSpecification",
|
|
351
|
-
},
|
|
352
|
-
},
|
|
353
|
-
},
|
|
354
|
-
},
|
|
355
|
-
},
|
|
356
|
-
},
|
|
357
|
-
};
|
|
358
|
-
const OperationMetricsSpecification = {
|
|
359
|
-
type: {
|
|
360
|
-
name: "Composite",
|
|
361
|
-
className: "OperationMetricsSpecification",
|
|
362
|
-
modelProperties: {
|
|
363
|
-
name: {
|
|
364
|
-
serializedName: "name",
|
|
365
|
-
readOnly: true,
|
|
366
|
-
type: {
|
|
367
|
-
name: "String",
|
|
368
|
-
},
|
|
369
|
-
},
|
|
370
|
-
displayName: {
|
|
371
|
-
serializedName: "displayName",
|
|
372
|
-
readOnly: true,
|
|
373
|
-
type: {
|
|
374
|
-
name: "String",
|
|
375
|
-
},
|
|
376
|
-
},
|
|
377
|
-
displayDescription: {
|
|
378
|
-
serializedName: "displayDescription",
|
|
379
|
-
readOnly: true,
|
|
380
|
-
type: {
|
|
381
|
-
name: "String",
|
|
382
|
-
},
|
|
383
|
-
},
|
|
384
|
-
unit: {
|
|
385
|
-
serializedName: "unit",
|
|
386
|
-
readOnly: true,
|
|
387
|
-
type: {
|
|
388
|
-
name: "String",
|
|
389
|
-
},
|
|
390
|
-
},
|
|
391
|
-
aggregationType: {
|
|
392
|
-
serializedName: "aggregationType",
|
|
393
|
-
readOnly: true,
|
|
394
|
-
type: {
|
|
395
|
-
name: "String",
|
|
396
|
-
},
|
|
397
|
-
},
|
|
398
|
-
dimensions: {
|
|
399
|
-
serializedName: "dimensions",
|
|
400
|
-
readOnly: true,
|
|
401
|
-
type: {
|
|
402
|
-
name: "Sequence",
|
|
403
|
-
element: {
|
|
404
|
-
type: {
|
|
405
|
-
name: "Composite",
|
|
406
|
-
className: "OperationMetricDimension",
|
|
407
|
-
},
|
|
408
|
-
},
|
|
409
|
-
},
|
|
410
|
-
},
|
|
411
|
-
availabilities: {
|
|
412
|
-
serializedName: "availabilities",
|
|
413
|
-
readOnly: true,
|
|
414
|
-
type: {
|
|
415
|
-
name: "Sequence",
|
|
416
|
-
element: {
|
|
417
|
-
type: {
|
|
418
|
-
name: "Composite",
|
|
419
|
-
className: "OperationAvailability",
|
|
420
|
-
},
|
|
421
|
-
},
|
|
422
|
-
},
|
|
423
|
-
},
|
|
424
|
-
},
|
|
425
|
-
},
|
|
426
|
-
};
|
|
427
|
-
const OperationMetricDimension = {
|
|
428
|
-
type: {
|
|
429
|
-
name: "Composite",
|
|
430
|
-
className: "OperationMetricDimension",
|
|
431
|
-
modelProperties: {
|
|
432
|
-
name: {
|
|
433
|
-
serializedName: "name",
|
|
434
|
-
readOnly: true,
|
|
435
|
-
type: {
|
|
436
|
-
name: "String",
|
|
437
|
-
},
|
|
438
|
-
},
|
|
439
|
-
displayName: {
|
|
440
|
-
serializedName: "displayName",
|
|
441
|
-
readOnly: true,
|
|
442
|
-
type: {
|
|
443
|
-
name: "String",
|
|
444
|
-
},
|
|
445
|
-
},
|
|
446
|
-
},
|
|
447
|
-
},
|
|
448
|
-
};
|
|
449
|
-
const OperationAvailability = {
|
|
450
|
-
type: {
|
|
451
|
-
name: "Composite",
|
|
452
|
-
className: "OperationAvailability",
|
|
453
|
-
modelProperties: {
|
|
454
|
-
timeGrain: {
|
|
455
|
-
serializedName: "timeGrain",
|
|
456
|
-
readOnly: true,
|
|
457
|
-
type: {
|
|
458
|
-
name: "String",
|
|
459
|
-
},
|
|
460
|
-
},
|
|
461
|
-
blobDuration: {
|
|
462
|
-
serializedName: "blobDuration",
|
|
463
|
-
readOnly: true,
|
|
464
|
-
type: {
|
|
465
|
-
name: "String",
|
|
466
|
-
},
|
|
467
|
-
},
|
|
468
|
-
},
|
|
469
|
-
},
|
|
470
|
-
};
|
|
471
|
-
const OperationLogsSpecification = {
|
|
472
|
-
type: {
|
|
473
|
-
name: "Composite",
|
|
474
|
-
className: "OperationLogsSpecification",
|
|
475
|
-
modelProperties: {
|
|
476
|
-
name: {
|
|
477
|
-
serializedName: "name",
|
|
478
|
-
readOnly: true,
|
|
479
|
-
type: {
|
|
480
|
-
name: "String",
|
|
481
|
-
},
|
|
482
|
-
},
|
|
483
|
-
displayName: {
|
|
484
|
-
serializedName: "displayName",
|
|
485
|
-
readOnly: true,
|
|
486
|
-
type: {
|
|
487
|
-
name: "String",
|
|
488
|
-
},
|
|
489
|
-
},
|
|
490
|
-
blobDuration: {
|
|
491
|
-
serializedName: "blobDuration",
|
|
492
|
-
readOnly: true,
|
|
493
|
-
type: {
|
|
494
|
-
name: "String",
|
|
495
|
-
},
|
|
496
|
-
},
|
|
497
|
-
},
|
|
498
|
-
},
|
|
499
|
-
};
|
|
500
|
-
const CloudError = {
|
|
501
|
-
type: {
|
|
502
|
-
name: "Composite",
|
|
503
|
-
className: "CloudError",
|
|
504
|
-
modelProperties: {
|
|
505
|
-
error: {
|
|
506
|
-
serializedName: "error",
|
|
507
|
-
type: {
|
|
508
|
-
name: "Composite",
|
|
509
|
-
className: "CloudErrorBody",
|
|
510
|
-
},
|
|
511
|
-
},
|
|
512
|
-
message: {
|
|
513
|
-
serializedName: "message",
|
|
514
|
-
type: {
|
|
515
|
-
name: "String",
|
|
516
|
-
},
|
|
517
|
-
},
|
|
518
|
-
},
|
|
519
|
-
},
|
|
520
|
-
};
|
|
521
|
-
const CloudErrorBody = {
|
|
522
|
-
type: {
|
|
523
|
-
name: "Composite",
|
|
524
|
-
className: "CloudErrorBody",
|
|
525
|
-
modelProperties: {
|
|
526
|
-
code: {
|
|
527
|
-
serializedName: "code",
|
|
528
|
-
type: {
|
|
529
|
-
name: "String",
|
|
530
|
-
},
|
|
531
|
-
},
|
|
532
|
-
message: {
|
|
533
|
-
serializedName: "message",
|
|
534
|
-
type: {
|
|
535
|
-
name: "String",
|
|
536
|
-
},
|
|
537
|
-
},
|
|
538
|
-
target: {
|
|
539
|
-
serializedName: "target",
|
|
540
|
-
type: {
|
|
541
|
-
name: "String",
|
|
542
|
-
},
|
|
543
|
-
},
|
|
544
|
-
details: {
|
|
545
|
-
serializedName: "details",
|
|
546
|
-
type: {
|
|
547
|
-
name: "Sequence",
|
|
548
|
-
element: {
|
|
549
|
-
type: {
|
|
550
|
-
name: "Composite",
|
|
551
|
-
className: "CloudErrorBody",
|
|
552
|
-
},
|
|
553
|
-
},
|
|
554
|
-
},
|
|
555
|
-
},
|
|
556
|
-
},
|
|
557
|
-
},
|
|
558
|
-
};
|
|
559
|
-
const AdminKeyResult = {
|
|
560
|
-
type: {
|
|
561
|
-
name: "Composite",
|
|
562
|
-
className: "AdminKeyResult",
|
|
563
|
-
modelProperties: {
|
|
564
|
-
primaryKey: {
|
|
565
|
-
serializedName: "primaryKey",
|
|
566
|
-
readOnly: true,
|
|
567
|
-
type: {
|
|
568
|
-
name: "String",
|
|
569
|
-
},
|
|
570
|
-
},
|
|
571
|
-
secondaryKey: {
|
|
572
|
-
serializedName: "secondaryKey",
|
|
573
|
-
readOnly: true,
|
|
574
|
-
type: {
|
|
575
|
-
name: "String",
|
|
576
|
-
},
|
|
577
|
-
},
|
|
578
|
-
},
|
|
579
|
-
},
|
|
580
|
-
};
|
|
581
|
-
const QueryKey = {
|
|
582
|
-
type: {
|
|
583
|
-
name: "Composite",
|
|
584
|
-
className: "QueryKey",
|
|
585
|
-
modelProperties: {
|
|
586
|
-
name: {
|
|
587
|
-
serializedName: "name",
|
|
588
|
-
readOnly: true,
|
|
589
|
-
type: {
|
|
590
|
-
name: "String",
|
|
591
|
-
},
|
|
592
|
-
},
|
|
593
|
-
key: {
|
|
594
|
-
serializedName: "key",
|
|
595
|
-
readOnly: true,
|
|
596
|
-
type: {
|
|
597
|
-
name: "String",
|
|
598
|
-
},
|
|
599
|
-
},
|
|
600
|
-
},
|
|
601
|
-
},
|
|
602
|
-
};
|
|
603
|
-
const ListQueryKeysResult = {
|
|
604
|
-
type: {
|
|
605
|
-
name: "Composite",
|
|
606
|
-
className: "ListQueryKeysResult",
|
|
607
|
-
modelProperties: {
|
|
608
|
-
value: {
|
|
609
|
-
serializedName: "value",
|
|
610
|
-
readOnly: true,
|
|
611
|
-
type: {
|
|
612
|
-
name: "Sequence",
|
|
613
|
-
element: {
|
|
614
|
-
type: {
|
|
615
|
-
name: "Composite",
|
|
616
|
-
className: "QueryKey",
|
|
617
|
-
},
|
|
618
|
-
},
|
|
619
|
-
},
|
|
620
|
-
},
|
|
621
|
-
nextLink: {
|
|
622
|
-
serializedName: "nextLink",
|
|
623
|
-
readOnly: true,
|
|
624
|
-
type: {
|
|
625
|
-
name: "String",
|
|
626
|
-
},
|
|
627
|
-
},
|
|
628
|
-
},
|
|
629
|
-
},
|
|
630
|
-
};
|
|
631
|
-
const NetworkRuleSet = {
|
|
632
|
-
type: {
|
|
633
|
-
name: "Composite",
|
|
634
|
-
className: "NetworkRuleSet",
|
|
635
|
-
modelProperties: {
|
|
636
|
-
ipRules: {
|
|
637
|
-
serializedName: "ipRules",
|
|
638
|
-
type: {
|
|
639
|
-
name: "Sequence",
|
|
640
|
-
element: {
|
|
641
|
-
type: {
|
|
642
|
-
name: "Composite",
|
|
643
|
-
className: "IpRule",
|
|
644
|
-
},
|
|
645
|
-
},
|
|
646
|
-
},
|
|
647
|
-
},
|
|
648
|
-
bypass: {
|
|
649
|
-
serializedName: "bypass",
|
|
650
|
-
type: {
|
|
651
|
-
name: "String",
|
|
652
|
-
},
|
|
653
|
-
},
|
|
654
|
-
},
|
|
655
|
-
},
|
|
656
|
-
};
|
|
657
|
-
const IpRule = {
|
|
658
|
-
type: {
|
|
659
|
-
name: "Composite",
|
|
660
|
-
className: "IpRule",
|
|
661
|
-
modelProperties: {
|
|
662
|
-
value: {
|
|
663
|
-
serializedName: "value",
|
|
664
|
-
type: {
|
|
665
|
-
name: "String",
|
|
666
|
-
},
|
|
667
|
-
},
|
|
668
|
-
},
|
|
669
|
-
},
|
|
670
|
-
};
|
|
671
|
-
const EncryptionWithCmk = {
|
|
672
|
-
type: {
|
|
673
|
-
name: "Composite",
|
|
674
|
-
className: "EncryptionWithCmk",
|
|
675
|
-
modelProperties: {
|
|
676
|
-
enforcement: {
|
|
677
|
-
serializedName: "enforcement",
|
|
678
|
-
type: {
|
|
679
|
-
name: "Enum",
|
|
680
|
-
allowedValues: ["Disabled", "Enabled", "Unspecified"],
|
|
681
|
-
},
|
|
682
|
-
},
|
|
683
|
-
encryptionComplianceStatus: {
|
|
684
|
-
serializedName: "encryptionComplianceStatus",
|
|
685
|
-
readOnly: true,
|
|
686
|
-
type: {
|
|
687
|
-
name: "Enum",
|
|
688
|
-
allowedValues: ["Compliant", "NonCompliant"],
|
|
689
|
-
},
|
|
690
|
-
},
|
|
691
|
-
},
|
|
692
|
-
},
|
|
693
|
-
};
|
|
694
|
-
const DataPlaneAuthOptions = {
|
|
695
|
-
type: {
|
|
696
|
-
name: "Composite",
|
|
697
|
-
className: "DataPlaneAuthOptions",
|
|
698
|
-
modelProperties: {
|
|
699
|
-
apiKeyOnly: {
|
|
700
|
-
serializedName: "apiKeyOnly",
|
|
701
|
-
type: {
|
|
702
|
-
name: "Dictionary",
|
|
703
|
-
value: { type: { name: "any" } },
|
|
704
|
-
},
|
|
705
|
-
},
|
|
706
|
-
aadOrApiKey: {
|
|
707
|
-
serializedName: "aadOrApiKey",
|
|
708
|
-
type: {
|
|
709
|
-
name: "Composite",
|
|
710
|
-
className: "DataPlaneAadOrApiKeyAuthOption",
|
|
711
|
-
},
|
|
712
|
-
},
|
|
713
|
-
},
|
|
714
|
-
},
|
|
715
|
-
};
|
|
716
|
-
const DataPlaneAadOrApiKeyAuthOption = {
|
|
717
|
-
type: {
|
|
718
|
-
name: "Composite",
|
|
719
|
-
className: "DataPlaneAadOrApiKeyAuthOption",
|
|
720
|
-
modelProperties: {
|
|
721
|
-
aadAuthFailureMode: {
|
|
722
|
-
serializedName: "aadAuthFailureMode",
|
|
723
|
-
type: {
|
|
724
|
-
name: "Enum",
|
|
725
|
-
allowedValues: ["http403", "http401WithBearerChallenge"],
|
|
726
|
-
},
|
|
727
|
-
},
|
|
728
|
-
},
|
|
729
|
-
},
|
|
730
|
-
};
|
|
731
|
-
const PrivateEndpointConnectionProperties = {
|
|
732
|
-
type: {
|
|
733
|
-
name: "Composite",
|
|
734
|
-
className: "PrivateEndpointConnectionProperties",
|
|
735
|
-
modelProperties: {
|
|
736
|
-
privateEndpoint: {
|
|
737
|
-
serializedName: "privateEndpoint",
|
|
738
|
-
type: {
|
|
739
|
-
name: "Composite",
|
|
740
|
-
className: "PrivateEndpointConnectionPropertiesPrivateEndpoint",
|
|
741
|
-
},
|
|
742
|
-
},
|
|
743
|
-
privateLinkServiceConnectionState: {
|
|
744
|
-
serializedName: "privateLinkServiceConnectionState",
|
|
745
|
-
type: {
|
|
746
|
-
name: "Composite",
|
|
747
|
-
className: "PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState",
|
|
748
|
-
},
|
|
749
|
-
},
|
|
750
|
-
groupId: {
|
|
751
|
-
serializedName: "groupId",
|
|
752
|
-
type: {
|
|
753
|
-
name: "String",
|
|
754
|
-
},
|
|
755
|
-
},
|
|
756
|
-
provisioningState: {
|
|
757
|
-
serializedName: "provisioningState",
|
|
758
|
-
type: {
|
|
759
|
-
name: "String",
|
|
760
|
-
},
|
|
761
|
-
},
|
|
762
|
-
},
|
|
763
|
-
},
|
|
764
|
-
};
|
|
765
|
-
const PrivateEndpointConnectionPropertiesPrivateEndpoint = {
|
|
766
|
-
type: {
|
|
767
|
-
name: "Composite",
|
|
768
|
-
className: "PrivateEndpointConnectionPropertiesPrivateEndpoint",
|
|
769
|
-
modelProperties: {
|
|
770
|
-
id: {
|
|
771
|
-
serializedName: "id",
|
|
772
|
-
type: {
|
|
773
|
-
name: "String",
|
|
774
|
-
},
|
|
775
|
-
},
|
|
776
|
-
},
|
|
777
|
-
},
|
|
778
|
-
};
|
|
779
|
-
const PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState = {
|
|
780
|
-
type: {
|
|
781
|
-
name: "Composite",
|
|
782
|
-
className: "PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState",
|
|
783
|
-
modelProperties: {
|
|
784
|
-
status: {
|
|
785
|
-
serializedName: "status",
|
|
786
|
-
type: {
|
|
787
|
-
name: "Enum",
|
|
788
|
-
allowedValues: ["Pending", "Approved", "Rejected", "Disconnected"],
|
|
789
|
-
},
|
|
790
|
-
},
|
|
791
|
-
description: {
|
|
792
|
-
serializedName: "description",
|
|
793
|
-
type: {
|
|
794
|
-
name: "String",
|
|
795
|
-
},
|
|
796
|
-
},
|
|
797
|
-
actionsRequired: {
|
|
798
|
-
defaultValue: "None",
|
|
799
|
-
serializedName: "actionsRequired",
|
|
800
|
-
type: {
|
|
801
|
-
name: "String",
|
|
802
|
-
},
|
|
803
|
-
},
|
|
804
|
-
},
|
|
805
|
-
},
|
|
806
|
-
};
|
|
807
|
-
const Resource = {
|
|
808
|
-
type: {
|
|
809
|
-
name: "Composite",
|
|
810
|
-
className: "Resource",
|
|
811
|
-
modelProperties: {
|
|
812
|
-
id: {
|
|
813
|
-
serializedName: "id",
|
|
814
|
-
readOnly: true,
|
|
815
|
-
type: {
|
|
816
|
-
name: "String",
|
|
817
|
-
},
|
|
818
|
-
},
|
|
819
|
-
name: {
|
|
820
|
-
serializedName: "name",
|
|
821
|
-
readOnly: true,
|
|
822
|
-
type: {
|
|
823
|
-
name: "String",
|
|
824
|
-
},
|
|
825
|
-
},
|
|
826
|
-
type: {
|
|
827
|
-
serializedName: "type",
|
|
828
|
-
readOnly: true,
|
|
829
|
-
type: {
|
|
830
|
-
name: "String",
|
|
831
|
-
},
|
|
832
|
-
},
|
|
833
|
-
},
|
|
834
|
-
},
|
|
835
|
-
};
|
|
836
|
-
const SharedPrivateLinkResourceProperties = {
|
|
837
|
-
type: {
|
|
838
|
-
name: "Composite",
|
|
839
|
-
className: "SharedPrivateLinkResourceProperties",
|
|
840
|
-
modelProperties: {
|
|
841
|
-
privateLinkResourceId: {
|
|
842
|
-
serializedName: "privateLinkResourceId",
|
|
843
|
-
type: {
|
|
844
|
-
name: "String",
|
|
845
|
-
},
|
|
846
|
-
},
|
|
847
|
-
groupId: {
|
|
848
|
-
serializedName: "groupId",
|
|
849
|
-
type: {
|
|
850
|
-
name: "String",
|
|
851
|
-
},
|
|
852
|
-
},
|
|
853
|
-
requestMessage: {
|
|
854
|
-
serializedName: "requestMessage",
|
|
855
|
-
type: {
|
|
856
|
-
name: "String",
|
|
857
|
-
},
|
|
858
|
-
},
|
|
859
|
-
resourceRegion: {
|
|
860
|
-
serializedName: "resourceRegion",
|
|
861
|
-
type: {
|
|
862
|
-
name: "String",
|
|
863
|
-
},
|
|
864
|
-
},
|
|
865
|
-
status: {
|
|
866
|
-
serializedName: "status",
|
|
867
|
-
type: {
|
|
868
|
-
name: "String",
|
|
869
|
-
},
|
|
870
|
-
},
|
|
871
|
-
provisioningState: {
|
|
872
|
-
serializedName: "provisioningState",
|
|
873
|
-
type: {
|
|
874
|
-
name: "String",
|
|
875
|
-
},
|
|
876
|
-
},
|
|
877
|
-
},
|
|
878
|
-
},
|
|
879
|
-
};
|
|
880
|
-
const Sku = {
|
|
881
|
-
type: {
|
|
882
|
-
name: "Composite",
|
|
883
|
-
className: "Sku",
|
|
884
|
-
modelProperties: {
|
|
885
|
-
name: {
|
|
886
|
-
serializedName: "name",
|
|
887
|
-
type: {
|
|
888
|
-
name: "String",
|
|
889
|
-
},
|
|
890
|
-
},
|
|
891
|
-
},
|
|
892
|
-
},
|
|
893
|
-
};
|
|
894
|
-
const Identity = {
|
|
895
|
-
type: {
|
|
896
|
-
name: "Composite",
|
|
897
|
-
className: "Identity",
|
|
898
|
-
modelProperties: {
|
|
899
|
-
principalId: {
|
|
900
|
-
serializedName: "principalId",
|
|
901
|
-
readOnly: true,
|
|
902
|
-
type: {
|
|
903
|
-
name: "String",
|
|
904
|
-
},
|
|
905
|
-
},
|
|
906
|
-
tenantId: {
|
|
907
|
-
serializedName: "tenantId",
|
|
908
|
-
readOnly: true,
|
|
909
|
-
type: {
|
|
910
|
-
name: "String",
|
|
911
|
-
},
|
|
912
|
-
},
|
|
913
|
-
type: {
|
|
914
|
-
serializedName: "type",
|
|
915
|
-
required: true,
|
|
916
|
-
type: {
|
|
917
|
-
name: "String",
|
|
918
|
-
},
|
|
919
|
-
},
|
|
920
|
-
userAssignedIdentities: {
|
|
921
|
-
serializedName: "userAssignedIdentities",
|
|
922
|
-
type: {
|
|
923
|
-
name: "Dictionary",
|
|
924
|
-
value: {
|
|
925
|
-
type: {
|
|
926
|
-
name: "Composite",
|
|
927
|
-
className: "UserAssignedManagedIdentity",
|
|
928
|
-
},
|
|
929
|
-
},
|
|
930
|
-
},
|
|
931
|
-
},
|
|
932
|
-
},
|
|
933
|
-
},
|
|
934
|
-
};
|
|
935
|
-
const UserAssignedManagedIdentity = {
|
|
936
|
-
type: {
|
|
937
|
-
name: "Composite",
|
|
938
|
-
className: "UserAssignedManagedIdentity",
|
|
939
|
-
modelProperties: {
|
|
940
|
-
principalId: {
|
|
941
|
-
serializedName: "principalId",
|
|
942
|
-
readOnly: true,
|
|
943
|
-
type: {
|
|
944
|
-
name: "String",
|
|
945
|
-
},
|
|
946
|
-
},
|
|
947
|
-
clientId: {
|
|
948
|
-
serializedName: "clientId",
|
|
949
|
-
readOnly: true,
|
|
950
|
-
type: {
|
|
951
|
-
name: "String",
|
|
952
|
-
},
|
|
953
|
-
},
|
|
954
|
-
},
|
|
955
|
-
},
|
|
956
|
-
};
|
|
957
|
-
const SearchServiceListResult = {
|
|
958
|
-
type: {
|
|
959
|
-
name: "Composite",
|
|
960
|
-
className: "SearchServiceListResult",
|
|
961
|
-
modelProperties: {
|
|
962
|
-
value: {
|
|
963
|
-
serializedName: "value",
|
|
964
|
-
readOnly: true,
|
|
965
|
-
type: {
|
|
966
|
-
name: "Sequence",
|
|
967
|
-
element: {
|
|
968
|
-
type: {
|
|
969
|
-
name: "Composite",
|
|
970
|
-
className: "SearchService",
|
|
971
|
-
},
|
|
972
|
-
},
|
|
973
|
-
},
|
|
974
|
-
},
|
|
975
|
-
nextLink: {
|
|
976
|
-
serializedName: "nextLink",
|
|
977
|
-
readOnly: true,
|
|
978
|
-
type: {
|
|
979
|
-
name: "String",
|
|
980
|
-
},
|
|
981
|
-
},
|
|
982
|
-
},
|
|
983
|
-
},
|
|
984
|
-
};
|
|
985
|
-
const PrivateLinkResourcesResult = {
|
|
986
|
-
type: {
|
|
987
|
-
name: "Composite",
|
|
988
|
-
className: "PrivateLinkResourcesResult",
|
|
989
|
-
modelProperties: {
|
|
990
|
-
value: {
|
|
991
|
-
serializedName: "value",
|
|
992
|
-
readOnly: true,
|
|
993
|
-
type: {
|
|
994
|
-
name: "Sequence",
|
|
995
|
-
element: {
|
|
996
|
-
type: {
|
|
997
|
-
name: "Composite",
|
|
998
|
-
className: "PrivateLinkResource",
|
|
999
|
-
},
|
|
1000
|
-
},
|
|
1001
|
-
},
|
|
1002
|
-
},
|
|
1003
|
-
},
|
|
1004
|
-
},
|
|
1005
|
-
};
|
|
1006
|
-
const PrivateLinkResourceProperties = {
|
|
1007
|
-
type: {
|
|
1008
|
-
name: "Composite",
|
|
1009
|
-
className: "PrivateLinkResourceProperties",
|
|
1010
|
-
modelProperties: {
|
|
1011
|
-
groupId: {
|
|
1012
|
-
serializedName: "groupId",
|
|
1013
|
-
readOnly: true,
|
|
1014
|
-
type: {
|
|
1015
|
-
name: "String",
|
|
1016
|
-
},
|
|
1017
|
-
},
|
|
1018
|
-
requiredMembers: {
|
|
1019
|
-
serializedName: "requiredMembers",
|
|
1020
|
-
readOnly: true,
|
|
1021
|
-
type: {
|
|
1022
|
-
name: "Sequence",
|
|
1023
|
-
element: {
|
|
1024
|
-
type: {
|
|
1025
|
-
name: "String",
|
|
1026
|
-
},
|
|
1027
|
-
},
|
|
1028
|
-
},
|
|
1029
|
-
},
|
|
1030
|
-
requiredZoneNames: {
|
|
1031
|
-
serializedName: "requiredZoneNames",
|
|
1032
|
-
readOnly: true,
|
|
1033
|
-
type: {
|
|
1034
|
-
name: "Sequence",
|
|
1035
|
-
element: {
|
|
1036
|
-
type: {
|
|
1037
|
-
name: "String",
|
|
1038
|
-
},
|
|
1039
|
-
},
|
|
1040
|
-
},
|
|
1041
|
-
},
|
|
1042
|
-
shareablePrivateLinkResourceTypes: {
|
|
1043
|
-
serializedName: "shareablePrivateLinkResourceTypes",
|
|
1044
|
-
readOnly: true,
|
|
1045
|
-
type: {
|
|
1046
|
-
name: "Sequence",
|
|
1047
|
-
element: {
|
|
1048
|
-
type: {
|
|
1049
|
-
name: "Composite",
|
|
1050
|
-
className: "ShareablePrivateLinkResourceType",
|
|
1051
|
-
},
|
|
1052
|
-
},
|
|
1053
|
-
},
|
|
1054
|
-
},
|
|
1055
|
-
},
|
|
1056
|
-
},
|
|
1057
|
-
};
|
|
1058
|
-
const ShareablePrivateLinkResourceType = {
|
|
1059
|
-
type: {
|
|
1060
|
-
name: "Composite",
|
|
1061
|
-
className: "ShareablePrivateLinkResourceType",
|
|
1062
|
-
modelProperties: {
|
|
1063
|
-
name: {
|
|
1064
|
-
serializedName: "name",
|
|
1065
|
-
readOnly: true,
|
|
1066
|
-
type: {
|
|
1067
|
-
name: "String",
|
|
1068
|
-
},
|
|
1069
|
-
},
|
|
1070
|
-
properties: {
|
|
1071
|
-
serializedName: "properties",
|
|
1072
|
-
type: {
|
|
1073
|
-
name: "Composite",
|
|
1074
|
-
className: "ShareablePrivateLinkResourceProperties",
|
|
1075
|
-
},
|
|
1076
|
-
},
|
|
1077
|
-
},
|
|
1078
|
-
},
|
|
1079
|
-
};
|
|
1080
|
-
const ShareablePrivateLinkResourceProperties = {
|
|
1081
|
-
type: {
|
|
1082
|
-
name: "Composite",
|
|
1083
|
-
className: "ShareablePrivateLinkResourceProperties",
|
|
1084
|
-
modelProperties: {
|
|
1085
|
-
type: {
|
|
1086
|
-
serializedName: "type",
|
|
1087
|
-
readOnly: true,
|
|
1088
|
-
type: {
|
|
1089
|
-
name: "String",
|
|
1090
|
-
},
|
|
1091
|
-
},
|
|
1092
|
-
groupId: {
|
|
1093
|
-
serializedName: "groupId",
|
|
1094
|
-
readOnly: true,
|
|
1095
|
-
type: {
|
|
1096
|
-
name: "String",
|
|
1097
|
-
},
|
|
1098
|
-
},
|
|
1099
|
-
description: {
|
|
1100
|
-
serializedName: "description",
|
|
1101
|
-
readOnly: true,
|
|
1102
|
-
type: {
|
|
1103
|
-
name: "String",
|
|
1104
|
-
},
|
|
1105
|
-
},
|
|
1106
|
-
},
|
|
1107
|
-
},
|
|
1108
|
-
};
|
|
1109
|
-
const PrivateEndpointConnectionListResult = {
|
|
1110
|
-
type: {
|
|
1111
|
-
name: "Composite",
|
|
1112
|
-
className: "PrivateEndpointConnectionListResult",
|
|
1113
|
-
modelProperties: {
|
|
1114
|
-
value: {
|
|
1115
|
-
serializedName: "value",
|
|
1116
|
-
readOnly: true,
|
|
1117
|
-
type: {
|
|
1118
|
-
name: "Sequence",
|
|
1119
|
-
element: {
|
|
1120
|
-
type: {
|
|
1121
|
-
name: "Composite",
|
|
1122
|
-
className: "PrivateEndpointConnection",
|
|
1123
|
-
},
|
|
1124
|
-
},
|
|
1125
|
-
},
|
|
1126
|
-
},
|
|
1127
|
-
nextLink: {
|
|
1128
|
-
serializedName: "nextLink",
|
|
1129
|
-
readOnly: true,
|
|
1130
|
-
type: {
|
|
1131
|
-
name: "String",
|
|
1132
|
-
},
|
|
1133
|
-
},
|
|
1134
|
-
},
|
|
1135
|
-
},
|
|
1136
|
-
};
|
|
1137
|
-
const SharedPrivateLinkResourceListResult = {
|
|
1138
|
-
type: {
|
|
1139
|
-
name: "Composite",
|
|
1140
|
-
className: "SharedPrivateLinkResourceListResult",
|
|
1141
|
-
modelProperties: {
|
|
1142
|
-
value: {
|
|
1143
|
-
serializedName: "value",
|
|
1144
|
-
readOnly: true,
|
|
1145
|
-
type: {
|
|
1146
|
-
name: "Sequence",
|
|
1147
|
-
element: {
|
|
1148
|
-
type: {
|
|
1149
|
-
name: "Composite",
|
|
1150
|
-
className: "SharedPrivateLinkResource",
|
|
1151
|
-
},
|
|
1152
|
-
},
|
|
1153
|
-
},
|
|
1154
|
-
},
|
|
1155
|
-
nextLink: {
|
|
1156
|
-
serializedName: "nextLink",
|
|
1157
|
-
type: {
|
|
1158
|
-
name: "String",
|
|
1159
|
-
},
|
|
1160
|
-
},
|
|
1161
|
-
},
|
|
1162
|
-
},
|
|
1163
|
-
};
|
|
1164
|
-
const CheckNameAvailabilityInput = {
|
|
1165
|
-
type: {
|
|
1166
|
-
name: "Composite",
|
|
1167
|
-
className: "CheckNameAvailabilityInput",
|
|
1168
|
-
modelProperties: {
|
|
1169
|
-
name: {
|
|
1170
|
-
serializedName: "name",
|
|
1171
|
-
required: true,
|
|
1172
|
-
type: {
|
|
1173
|
-
name: "String",
|
|
1174
|
-
},
|
|
1175
|
-
},
|
|
1176
|
-
typeParam: {
|
|
1177
|
-
defaultValue: "searchServices",
|
|
1178
|
-
isConstant: true,
|
|
1179
|
-
serializedName: "type",
|
|
1180
|
-
type: {
|
|
1181
|
-
name: "String",
|
|
1182
|
-
},
|
|
1183
|
-
},
|
|
1184
|
-
},
|
|
1185
|
-
},
|
|
1186
|
-
};
|
|
1187
|
-
const CheckNameAvailabilityOutput = {
|
|
1188
|
-
type: {
|
|
1189
|
-
name: "Composite",
|
|
1190
|
-
className: "CheckNameAvailabilityOutput",
|
|
1191
|
-
modelProperties: {
|
|
1192
|
-
isNameAvailable: {
|
|
1193
|
-
serializedName: "nameAvailable",
|
|
1194
|
-
readOnly: true,
|
|
1195
|
-
type: {
|
|
1196
|
-
name: "Boolean",
|
|
1197
|
-
},
|
|
1198
|
-
},
|
|
1199
|
-
reason: {
|
|
1200
|
-
serializedName: "reason",
|
|
1201
|
-
readOnly: true,
|
|
1202
|
-
type: {
|
|
1203
|
-
name: "String",
|
|
1204
|
-
},
|
|
1205
|
-
},
|
|
1206
|
-
message: {
|
|
1207
|
-
serializedName: "message",
|
|
1208
|
-
readOnly: true,
|
|
1209
|
-
type: {
|
|
1210
|
-
name: "String",
|
|
1211
|
-
},
|
|
1212
|
-
},
|
|
1213
|
-
},
|
|
1214
|
-
},
|
|
1215
|
-
};
|
|
1216
|
-
const QuotaUsagesListResult = {
|
|
1217
|
-
type: {
|
|
1218
|
-
name: "Composite",
|
|
1219
|
-
className: "QuotaUsagesListResult",
|
|
1220
|
-
modelProperties: {
|
|
1221
|
-
value: {
|
|
1222
|
-
serializedName: "value",
|
|
1223
|
-
readOnly: true,
|
|
1224
|
-
type: {
|
|
1225
|
-
name: "Sequence",
|
|
1226
|
-
element: {
|
|
1227
|
-
type: {
|
|
1228
|
-
name: "Composite",
|
|
1229
|
-
className: "QuotaUsageResult",
|
|
1230
|
-
},
|
|
1231
|
-
},
|
|
1232
|
-
},
|
|
1233
|
-
},
|
|
1234
|
-
nextLink: {
|
|
1235
|
-
serializedName: "nextLink",
|
|
1236
|
-
readOnly: true,
|
|
1237
|
-
type: {
|
|
1238
|
-
name: "String",
|
|
1239
|
-
},
|
|
1240
|
-
},
|
|
1241
|
-
},
|
|
1242
|
-
},
|
|
1243
|
-
};
|
|
1244
|
-
const QuotaUsageResult = {
|
|
1245
|
-
type: {
|
|
1246
|
-
name: "Composite",
|
|
1247
|
-
className: "QuotaUsageResult",
|
|
1248
|
-
modelProperties: {
|
|
1249
|
-
id: {
|
|
1250
|
-
serializedName: "id",
|
|
1251
|
-
type: {
|
|
1252
|
-
name: "String",
|
|
1253
|
-
},
|
|
1254
|
-
},
|
|
1255
|
-
unit: {
|
|
1256
|
-
serializedName: "unit",
|
|
1257
|
-
type: {
|
|
1258
|
-
name: "String",
|
|
1259
|
-
},
|
|
1260
|
-
},
|
|
1261
|
-
currentValue: {
|
|
1262
|
-
serializedName: "currentValue",
|
|
1263
|
-
type: {
|
|
1264
|
-
name: "Number",
|
|
1265
|
-
},
|
|
1266
|
-
},
|
|
1267
|
-
limit: {
|
|
1268
|
-
serializedName: "limit",
|
|
1269
|
-
type: {
|
|
1270
|
-
name: "Number",
|
|
1271
|
-
},
|
|
1272
|
-
},
|
|
1273
|
-
name: {
|
|
1274
|
-
serializedName: "name",
|
|
1275
|
-
type: {
|
|
1276
|
-
name: "Composite",
|
|
1277
|
-
className: "QuotaUsageResultName",
|
|
1278
|
-
},
|
|
1279
|
-
},
|
|
1280
|
-
},
|
|
1281
|
-
},
|
|
1282
|
-
};
|
|
1283
|
-
const QuotaUsageResultName = {
|
|
1284
|
-
type: {
|
|
1285
|
-
name: "Composite",
|
|
1286
|
-
className: "QuotaUsageResultName",
|
|
1287
|
-
modelProperties: {
|
|
1288
|
-
value: {
|
|
1289
|
-
serializedName: "value",
|
|
1290
|
-
type: {
|
|
1291
|
-
name: "String",
|
|
1292
|
-
},
|
|
1293
|
-
},
|
|
1294
|
-
localizedValue: {
|
|
1295
|
-
serializedName: "localizedValue",
|
|
1296
|
-
type: {
|
|
1297
|
-
name: "String",
|
|
1298
|
-
},
|
|
1299
|
-
},
|
|
1300
|
-
},
|
|
1301
|
-
},
|
|
1302
|
-
};
|
|
1303
|
-
const NetworkSecurityPerimeterConfigurationListResult = {
|
|
1304
|
-
type: {
|
|
1305
|
-
name: "Composite",
|
|
1306
|
-
className: "NetworkSecurityPerimeterConfigurationListResult",
|
|
1307
|
-
modelProperties: {
|
|
1308
|
-
value: {
|
|
1309
|
-
serializedName: "value",
|
|
1310
|
-
readOnly: true,
|
|
1311
|
-
type: {
|
|
1312
|
-
name: "Sequence",
|
|
1313
|
-
element: {
|
|
1314
|
-
type: {
|
|
1315
|
-
name: "Composite",
|
|
1316
|
-
className: "NetworkSecurityPerimeterConfiguration",
|
|
1317
|
-
},
|
|
1318
|
-
},
|
|
1319
|
-
},
|
|
1320
|
-
},
|
|
1321
|
-
nextLink: {
|
|
1322
|
-
serializedName: "nextLink",
|
|
1323
|
-
readOnly: true,
|
|
1324
|
-
type: {
|
|
1325
|
-
name: "String",
|
|
1326
|
-
},
|
|
1327
|
-
},
|
|
1328
|
-
},
|
|
1329
|
-
},
|
|
1330
|
-
};
|
|
1331
|
-
const NSPConfigPerimeter = {
|
|
1332
|
-
type: {
|
|
1333
|
-
name: "Composite",
|
|
1334
|
-
className: "NSPConfigPerimeter",
|
|
1335
|
-
modelProperties: {
|
|
1336
|
-
id: {
|
|
1337
|
-
serializedName: "id",
|
|
1338
|
-
type: {
|
|
1339
|
-
name: "String",
|
|
1340
|
-
},
|
|
1341
|
-
},
|
|
1342
|
-
perimeterGuid: {
|
|
1343
|
-
serializedName: "perimeterGuid",
|
|
1344
|
-
type: {
|
|
1345
|
-
name: "String",
|
|
1346
|
-
},
|
|
1347
|
-
},
|
|
1348
|
-
location: {
|
|
1349
|
-
serializedName: "location",
|
|
1350
|
-
type: {
|
|
1351
|
-
name: "String",
|
|
1352
|
-
},
|
|
1353
|
-
},
|
|
1354
|
-
},
|
|
1355
|
-
},
|
|
1356
|
-
};
|
|
1357
|
-
const NSPConfigAssociation = {
|
|
1358
|
-
type: {
|
|
1359
|
-
name: "Composite",
|
|
1360
|
-
className: "NSPConfigAssociation",
|
|
1361
|
-
modelProperties: {
|
|
1362
|
-
name: {
|
|
1363
|
-
serializedName: "name",
|
|
1364
|
-
type: {
|
|
1365
|
-
name: "String",
|
|
1366
|
-
},
|
|
1367
|
-
},
|
|
1368
|
-
accessMode: {
|
|
1369
|
-
serializedName: "accessMode",
|
|
1370
|
-
type: {
|
|
1371
|
-
name: "String",
|
|
1372
|
-
},
|
|
1373
|
-
},
|
|
1374
|
-
},
|
|
1375
|
-
},
|
|
1376
|
-
};
|
|
1377
|
-
const NSPConfigProfile = {
|
|
1378
|
-
type: {
|
|
1379
|
-
name: "Composite",
|
|
1380
|
-
className: "NSPConfigProfile",
|
|
1381
|
-
modelProperties: {
|
|
1382
|
-
name: {
|
|
1383
|
-
serializedName: "name",
|
|
1384
|
-
type: {
|
|
1385
|
-
name: "String",
|
|
1386
|
-
},
|
|
1387
|
-
},
|
|
1388
|
-
accessRulesVersion: {
|
|
1389
|
-
serializedName: "accessRulesVersion",
|
|
1390
|
-
type: {
|
|
1391
|
-
name: "String",
|
|
1392
|
-
},
|
|
1393
|
-
},
|
|
1394
|
-
accessRules: {
|
|
1395
|
-
serializedName: "accessRules",
|
|
1396
|
-
type: {
|
|
1397
|
-
name: "Sequence",
|
|
1398
|
-
element: {
|
|
1399
|
-
type: {
|
|
1400
|
-
name: "Composite",
|
|
1401
|
-
className: "NSPConfigAccessRule",
|
|
1402
|
-
},
|
|
1403
|
-
},
|
|
1404
|
-
},
|
|
1405
|
-
},
|
|
1406
|
-
},
|
|
1407
|
-
},
|
|
1408
|
-
};
|
|
1409
|
-
const NSPConfigAccessRule = {
|
|
1410
|
-
type: {
|
|
1411
|
-
name: "Composite",
|
|
1412
|
-
className: "NSPConfigAccessRule",
|
|
1413
|
-
modelProperties: {
|
|
1414
|
-
name: {
|
|
1415
|
-
serializedName: "name",
|
|
1416
|
-
type: {
|
|
1417
|
-
name: "String",
|
|
1418
|
-
},
|
|
1419
|
-
},
|
|
1420
|
-
properties: {
|
|
1421
|
-
serializedName: "properties",
|
|
1422
|
-
type: {
|
|
1423
|
-
name: "Composite",
|
|
1424
|
-
className: "NSPConfigAccessRuleProperties",
|
|
1425
|
-
},
|
|
1426
|
-
},
|
|
1427
|
-
},
|
|
1428
|
-
},
|
|
1429
|
-
};
|
|
1430
|
-
const NSPConfigAccessRuleProperties = {
|
|
1431
|
-
type: {
|
|
1432
|
-
name: "Composite",
|
|
1433
|
-
className: "NSPConfigAccessRuleProperties",
|
|
1434
|
-
modelProperties: {
|
|
1435
|
-
direction: {
|
|
1436
|
-
serializedName: "direction",
|
|
1437
|
-
type: {
|
|
1438
|
-
name: "String",
|
|
1439
|
-
},
|
|
1440
|
-
},
|
|
1441
|
-
addressPrefixes: {
|
|
1442
|
-
serializedName: "addressPrefixes",
|
|
1443
|
-
type: {
|
|
1444
|
-
name: "Sequence",
|
|
1445
|
-
element: {
|
|
1446
|
-
type: {
|
|
1447
|
-
name: "String",
|
|
1448
|
-
},
|
|
1449
|
-
},
|
|
1450
|
-
},
|
|
1451
|
-
},
|
|
1452
|
-
fullyQualifiedDomainNames: {
|
|
1453
|
-
serializedName: "fullyQualifiedDomainNames",
|
|
1454
|
-
type: {
|
|
1455
|
-
name: "Sequence",
|
|
1456
|
-
element: {
|
|
1457
|
-
type: {
|
|
1458
|
-
name: "String",
|
|
1459
|
-
},
|
|
1460
|
-
},
|
|
1461
|
-
},
|
|
1462
|
-
},
|
|
1463
|
-
subscriptions: {
|
|
1464
|
-
serializedName: "subscriptions",
|
|
1465
|
-
type: {
|
|
1466
|
-
name: "Sequence",
|
|
1467
|
-
element: {
|
|
1468
|
-
type: {
|
|
1469
|
-
name: "String",
|
|
1470
|
-
},
|
|
1471
|
-
},
|
|
1472
|
-
},
|
|
1473
|
-
},
|
|
1474
|
-
networkSecurityPerimeters: {
|
|
1475
|
-
serializedName: "networkSecurityPerimeters",
|
|
1476
|
-
type: {
|
|
1477
|
-
name: "Sequence",
|
|
1478
|
-
element: {
|
|
1479
|
-
type: {
|
|
1480
|
-
name: "Composite",
|
|
1481
|
-
className: "NSPConfigNetworkSecurityPerimeterRule",
|
|
1482
|
-
},
|
|
1483
|
-
},
|
|
1484
|
-
},
|
|
1485
|
-
},
|
|
1486
|
-
},
|
|
1487
|
-
},
|
|
1488
|
-
};
|
|
1489
|
-
const NSPConfigNetworkSecurityPerimeterRule = {
|
|
1490
|
-
type: {
|
|
1491
|
-
name: "Composite",
|
|
1492
|
-
className: "NSPConfigNetworkSecurityPerimeterRule",
|
|
1493
|
-
modelProperties: {
|
|
1494
|
-
id: {
|
|
1495
|
-
serializedName: "id",
|
|
1496
|
-
type: {
|
|
1497
|
-
name: "String",
|
|
1498
|
-
},
|
|
1499
|
-
},
|
|
1500
|
-
perimeterGuid: {
|
|
1501
|
-
serializedName: "perimeterGuid",
|
|
1502
|
-
type: {
|
|
1503
|
-
name: "String",
|
|
1504
|
-
},
|
|
1505
|
-
},
|
|
1506
|
-
location: {
|
|
1507
|
-
serializedName: "location",
|
|
1508
|
-
type: {
|
|
1509
|
-
name: "String",
|
|
1510
|
-
},
|
|
1511
|
-
},
|
|
1512
|
-
},
|
|
1513
|
-
},
|
|
1514
|
-
};
|
|
1515
|
-
const NSPProvisioningIssue = {
|
|
1516
|
-
type: {
|
|
1517
|
-
name: "Composite",
|
|
1518
|
-
className: "NSPProvisioningIssue",
|
|
1519
|
-
modelProperties: {
|
|
1520
|
-
name: {
|
|
1521
|
-
serializedName: "name",
|
|
1522
|
-
type: {
|
|
1523
|
-
name: "String",
|
|
1524
|
-
},
|
|
1525
|
-
},
|
|
1526
|
-
properties: {
|
|
1527
|
-
serializedName: "properties",
|
|
1528
|
-
type: {
|
|
1529
|
-
name: "Composite",
|
|
1530
|
-
className: "NSPProvisioningIssueProperties",
|
|
1531
|
-
},
|
|
1532
|
-
},
|
|
1533
|
-
},
|
|
1534
|
-
},
|
|
1535
|
-
};
|
|
1536
|
-
const NSPProvisioningIssueProperties = {
|
|
1537
|
-
type: {
|
|
1538
|
-
name: "Composite",
|
|
1539
|
-
className: "NSPProvisioningIssueProperties",
|
|
1540
|
-
modelProperties: {
|
|
1541
|
-
issueType: {
|
|
1542
|
-
serializedName: "issueType",
|
|
1543
|
-
type: {
|
|
1544
|
-
name: "String",
|
|
1545
|
-
},
|
|
1546
|
-
},
|
|
1547
|
-
severity: {
|
|
1548
|
-
serializedName: "severity",
|
|
1549
|
-
type: {
|
|
1550
|
-
name: "String",
|
|
1551
|
-
},
|
|
1552
|
-
},
|
|
1553
|
-
description: {
|
|
1554
|
-
serializedName: "description",
|
|
1555
|
-
type: {
|
|
1556
|
-
name: "String",
|
|
1557
|
-
},
|
|
1558
|
-
},
|
|
1559
|
-
suggestedResourceIds: {
|
|
1560
|
-
serializedName: "suggestedResourceIds",
|
|
1561
|
-
type: {
|
|
1562
|
-
name: "Sequence",
|
|
1563
|
-
element: {
|
|
1564
|
-
type: {
|
|
1565
|
-
name: "String",
|
|
1566
|
-
},
|
|
1567
|
-
},
|
|
1568
|
-
},
|
|
1569
|
-
},
|
|
1570
|
-
suggestedAccessRules: {
|
|
1571
|
-
serializedName: "suggestedAccessRules",
|
|
1572
|
-
type: {
|
|
1573
|
-
name: "Sequence",
|
|
1574
|
-
element: {
|
|
1575
|
-
type: {
|
|
1576
|
-
name: "String",
|
|
1577
|
-
},
|
|
1578
|
-
},
|
|
1579
|
-
},
|
|
1580
|
-
},
|
|
1581
|
-
},
|
|
1582
|
-
},
|
|
1583
|
-
};
|
|
1584
|
-
const AsyncOperationResult = {
|
|
1585
|
-
type: {
|
|
1586
|
-
name: "Composite",
|
|
1587
|
-
className: "AsyncOperationResult",
|
|
1588
|
-
modelProperties: {
|
|
1589
|
-
status: {
|
|
1590
|
-
serializedName: "status",
|
|
1591
|
-
type: {
|
|
1592
|
-
name: "String",
|
|
1593
|
-
},
|
|
1594
|
-
},
|
|
1595
|
-
},
|
|
1596
|
-
},
|
|
1597
|
-
};
|
|
1598
|
-
const PrivateEndpointConnection = {
|
|
1599
|
-
type: {
|
|
1600
|
-
name: "Composite",
|
|
1601
|
-
className: "PrivateEndpointConnection",
|
|
1602
|
-
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { properties: {
|
|
1603
|
-
serializedName: "properties",
|
|
1604
|
-
type: {
|
|
1605
|
-
name: "Composite",
|
|
1606
|
-
className: "PrivateEndpointConnectionProperties",
|
|
1607
|
-
},
|
|
1608
|
-
} }),
|
|
1609
|
-
},
|
|
1610
|
-
};
|
|
1611
|
-
const SharedPrivateLinkResource = {
|
|
1612
|
-
type: {
|
|
1613
|
-
name: "Composite",
|
|
1614
|
-
className: "SharedPrivateLinkResource",
|
|
1615
|
-
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { properties: {
|
|
1616
|
-
serializedName: "properties",
|
|
1617
|
-
type: {
|
|
1618
|
-
name: "Composite",
|
|
1619
|
-
className: "SharedPrivateLinkResourceProperties",
|
|
1620
|
-
},
|
|
1621
|
-
} }),
|
|
1622
|
-
},
|
|
1623
|
-
};
|
|
1624
|
-
const TrackedResource = {
|
|
1625
|
-
type: {
|
|
1626
|
-
name: "Composite",
|
|
1627
|
-
className: "TrackedResource",
|
|
1628
|
-
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { tags: {
|
|
1629
|
-
serializedName: "tags",
|
|
1630
|
-
type: {
|
|
1631
|
-
name: "Dictionary",
|
|
1632
|
-
value: { type: { name: "String" } },
|
|
1633
|
-
},
|
|
1634
|
-
}, location: {
|
|
1635
|
-
serializedName: "location",
|
|
1636
|
-
required: true,
|
|
1637
|
-
type: {
|
|
1638
|
-
name: "String",
|
|
1639
|
-
},
|
|
1640
|
-
} }),
|
|
1641
|
-
},
|
|
1642
|
-
};
|
|
1643
|
-
const SearchServiceUpdate = {
|
|
1644
|
-
type: {
|
|
1645
|
-
name: "Composite",
|
|
1646
|
-
className: "SearchServiceUpdate",
|
|
1647
|
-
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { sku: {
|
|
1648
|
-
serializedName: "sku",
|
|
1649
|
-
type: {
|
|
1650
|
-
name: "Composite",
|
|
1651
|
-
className: "Sku",
|
|
1652
|
-
},
|
|
1653
|
-
}, location: {
|
|
1654
|
-
serializedName: "location",
|
|
1655
|
-
type: {
|
|
1656
|
-
name: "String",
|
|
1657
|
-
},
|
|
1658
|
-
}, tags: {
|
|
1659
|
-
serializedName: "tags",
|
|
1660
|
-
type: {
|
|
1661
|
-
name: "Dictionary",
|
|
1662
|
-
value: { type: { name: "String" } },
|
|
1663
|
-
},
|
|
1664
|
-
}, identity: {
|
|
1665
|
-
serializedName: "identity",
|
|
1666
|
-
type: {
|
|
1667
|
-
name: "Composite",
|
|
1668
|
-
className: "Identity",
|
|
1669
|
-
},
|
|
1670
|
-
}, replicaCount: {
|
|
1671
|
-
defaultValue: 1,
|
|
1672
|
-
constraints: {
|
|
1673
|
-
InclusiveMaximum: 12,
|
|
1674
|
-
InclusiveMinimum: 1,
|
|
1675
|
-
},
|
|
1676
|
-
serializedName: "properties.replicaCount",
|
|
1677
|
-
type: {
|
|
1678
|
-
name: "Number",
|
|
1679
|
-
},
|
|
1680
|
-
}, partitionCount: {
|
|
1681
|
-
defaultValue: 1,
|
|
1682
|
-
constraints: {
|
|
1683
|
-
InclusiveMaximum: 12,
|
|
1684
|
-
InclusiveMinimum: 1,
|
|
1685
|
-
},
|
|
1686
|
-
serializedName: "properties.partitionCount",
|
|
1687
|
-
type: {
|
|
1688
|
-
name: "Number",
|
|
1689
|
-
},
|
|
1690
|
-
}, hostingMode: {
|
|
1691
|
-
defaultValue: "default",
|
|
1692
|
-
serializedName: "properties.hostingMode",
|
|
1693
|
-
type: {
|
|
1694
|
-
name: "Enum",
|
|
1695
|
-
allowedValues: ["default", "highDensity"],
|
|
1696
|
-
},
|
|
1697
|
-
}, publicNetworkAccess: {
|
|
1698
|
-
defaultValue: "enabled",
|
|
1699
|
-
serializedName: "properties.publicNetworkAccess",
|
|
1700
|
-
type: {
|
|
1701
|
-
name: "String",
|
|
1702
|
-
},
|
|
1703
|
-
}, status: {
|
|
1704
|
-
serializedName: "properties.status",
|
|
1705
|
-
readOnly: true,
|
|
1706
|
-
type: {
|
|
1707
|
-
name: "Enum",
|
|
1708
|
-
allowedValues: [
|
|
1709
|
-
"running",
|
|
1710
|
-
"provisioning",
|
|
1711
|
-
"deleting",
|
|
1712
|
-
"degraded",
|
|
1713
|
-
"disabled",
|
|
1714
|
-
"error",
|
|
1715
|
-
"stopped",
|
|
1716
|
-
],
|
|
1717
|
-
},
|
|
1718
|
-
}, statusDetails: {
|
|
1719
|
-
serializedName: "properties.statusDetails",
|
|
1720
|
-
readOnly: true,
|
|
1721
|
-
type: {
|
|
1722
|
-
name: "String",
|
|
1723
|
-
},
|
|
1724
|
-
}, provisioningState: {
|
|
1725
|
-
serializedName: "properties.provisioningState",
|
|
1726
|
-
readOnly: true,
|
|
1727
|
-
type: {
|
|
1728
|
-
name: "Enum",
|
|
1729
|
-
allowedValues: ["Succeeded", "Provisioning", "Failed"],
|
|
1730
|
-
},
|
|
1731
|
-
}, networkRuleSet: {
|
|
1732
|
-
serializedName: "properties.networkRuleSet",
|
|
1733
|
-
type: {
|
|
1734
|
-
name: "Composite",
|
|
1735
|
-
className: "NetworkRuleSet",
|
|
1736
|
-
},
|
|
1737
|
-
}, disabledDataExfiltrationOptions: {
|
|
1738
|
-
serializedName: "properties.disabledDataExfiltrationOptions",
|
|
1739
|
-
type: {
|
|
1740
|
-
name: "Sequence",
|
|
1741
|
-
element: {
|
|
1742
|
-
type: {
|
|
1743
|
-
name: "String",
|
|
1744
|
-
},
|
|
1745
|
-
},
|
|
1746
|
-
},
|
|
1747
|
-
}, encryptionWithCmk: {
|
|
1748
|
-
serializedName: "properties.encryptionWithCmk",
|
|
1749
|
-
type: {
|
|
1750
|
-
name: "Composite",
|
|
1751
|
-
className: "EncryptionWithCmk",
|
|
1752
|
-
},
|
|
1753
|
-
}, disableLocalAuth: {
|
|
1754
|
-
serializedName: "properties.disableLocalAuth",
|
|
1755
|
-
nullable: true,
|
|
1756
|
-
type: {
|
|
1757
|
-
name: "Boolean",
|
|
1758
|
-
},
|
|
1759
|
-
}, authOptions: {
|
|
1760
|
-
serializedName: "properties.authOptions",
|
|
1761
|
-
type: {
|
|
1762
|
-
name: "Composite",
|
|
1763
|
-
className: "DataPlaneAuthOptions",
|
|
1764
|
-
},
|
|
1765
|
-
}, semanticSearch: {
|
|
1766
|
-
serializedName: "properties.semanticSearch",
|
|
1767
|
-
nullable: true,
|
|
1768
|
-
type: {
|
|
1769
|
-
name: "String",
|
|
1770
|
-
},
|
|
1771
|
-
}, privateEndpointConnections: {
|
|
1772
|
-
serializedName: "properties.privateEndpointConnections",
|
|
1773
|
-
readOnly: true,
|
|
1774
|
-
type: {
|
|
1775
|
-
name: "Sequence",
|
|
1776
|
-
element: {
|
|
1777
|
-
type: {
|
|
1778
|
-
name: "Composite",
|
|
1779
|
-
className: "PrivateEndpointConnection",
|
|
1780
|
-
},
|
|
1781
|
-
},
|
|
1782
|
-
},
|
|
1783
|
-
}, sharedPrivateLinkResources: {
|
|
1784
|
-
serializedName: "properties.sharedPrivateLinkResources",
|
|
1785
|
-
readOnly: true,
|
|
1786
|
-
type: {
|
|
1787
|
-
name: "Sequence",
|
|
1788
|
-
element: {
|
|
1789
|
-
type: {
|
|
1790
|
-
name: "Composite",
|
|
1791
|
-
className: "SharedPrivateLinkResource",
|
|
1792
|
-
},
|
|
1793
|
-
},
|
|
1794
|
-
},
|
|
1795
|
-
}, eTag: {
|
|
1796
|
-
serializedName: "properties.eTag",
|
|
1797
|
-
readOnly: true,
|
|
1798
|
-
type: {
|
|
1799
|
-
name: "String",
|
|
1800
|
-
},
|
|
1801
|
-
} }),
|
|
1802
|
-
},
|
|
1803
|
-
};
|
|
1804
|
-
const PrivateLinkResource = {
|
|
1805
|
-
type: {
|
|
1806
|
-
name: "Composite",
|
|
1807
|
-
className: "PrivateLinkResource",
|
|
1808
|
-
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { properties: {
|
|
1809
|
-
serializedName: "properties",
|
|
1810
|
-
type: {
|
|
1811
|
-
name: "Composite",
|
|
1812
|
-
className: "PrivateLinkResourceProperties",
|
|
1813
|
-
},
|
|
1814
|
-
} }),
|
|
1815
|
-
},
|
|
1816
|
-
};
|
|
1817
|
-
const ProxyResource = {
|
|
1818
|
-
type: {
|
|
1819
|
-
name: "Composite",
|
|
1820
|
-
className: "ProxyResource",
|
|
1821
|
-
modelProperties: Object.assign({}, Resource.type.modelProperties),
|
|
1822
|
-
},
|
|
1823
|
-
};
|
|
1824
|
-
const SearchService = {
|
|
1825
|
-
type: {
|
|
1826
|
-
name: "Composite",
|
|
1827
|
-
className: "SearchService",
|
|
1828
|
-
modelProperties: Object.assign(Object.assign({}, TrackedResource.type.modelProperties), { sku: {
|
|
1829
|
-
serializedName: "sku",
|
|
1830
|
-
type: {
|
|
1831
|
-
name: "Composite",
|
|
1832
|
-
className: "Sku",
|
|
1833
|
-
},
|
|
1834
|
-
}, identity: {
|
|
1835
|
-
serializedName: "identity",
|
|
1836
|
-
type: {
|
|
1837
|
-
name: "Composite",
|
|
1838
|
-
className: "Identity",
|
|
1839
|
-
},
|
|
1840
|
-
}, replicaCount: {
|
|
1841
|
-
defaultValue: 1,
|
|
1842
|
-
constraints: {
|
|
1843
|
-
InclusiveMaximum: 12,
|
|
1844
|
-
InclusiveMinimum: 1,
|
|
1845
|
-
},
|
|
1846
|
-
serializedName: "properties.replicaCount",
|
|
1847
|
-
type: {
|
|
1848
|
-
name: "Number",
|
|
1849
|
-
},
|
|
1850
|
-
}, partitionCount: {
|
|
1851
|
-
defaultValue: 1,
|
|
1852
|
-
constraints: {
|
|
1853
|
-
InclusiveMaximum: 12,
|
|
1854
|
-
InclusiveMinimum: 1,
|
|
1855
|
-
},
|
|
1856
|
-
serializedName: "properties.partitionCount",
|
|
1857
|
-
type: {
|
|
1858
|
-
name: "Number",
|
|
1859
|
-
},
|
|
1860
|
-
}, hostingMode: {
|
|
1861
|
-
defaultValue: "default",
|
|
1862
|
-
serializedName: "properties.hostingMode",
|
|
1863
|
-
type: {
|
|
1864
|
-
name: "Enum",
|
|
1865
|
-
allowedValues: ["default", "highDensity"],
|
|
1866
|
-
},
|
|
1867
|
-
}, publicNetworkAccess: {
|
|
1868
|
-
defaultValue: "enabled",
|
|
1869
|
-
serializedName: "properties.publicNetworkAccess",
|
|
1870
|
-
type: {
|
|
1871
|
-
name: "String",
|
|
1872
|
-
},
|
|
1873
|
-
}, status: {
|
|
1874
|
-
serializedName: "properties.status",
|
|
1875
|
-
readOnly: true,
|
|
1876
|
-
type: {
|
|
1877
|
-
name: "Enum",
|
|
1878
|
-
allowedValues: [
|
|
1879
|
-
"running",
|
|
1880
|
-
"provisioning",
|
|
1881
|
-
"deleting",
|
|
1882
|
-
"degraded",
|
|
1883
|
-
"disabled",
|
|
1884
|
-
"error",
|
|
1885
|
-
"stopped",
|
|
1886
|
-
],
|
|
1887
|
-
},
|
|
1888
|
-
}, statusDetails: {
|
|
1889
|
-
serializedName: "properties.statusDetails",
|
|
1890
|
-
readOnly: true,
|
|
1891
|
-
type: {
|
|
1892
|
-
name: "String",
|
|
1893
|
-
},
|
|
1894
|
-
}, provisioningState: {
|
|
1895
|
-
serializedName: "properties.provisioningState",
|
|
1896
|
-
readOnly: true,
|
|
1897
|
-
type: {
|
|
1898
|
-
name: "Enum",
|
|
1899
|
-
allowedValues: ["Succeeded", "Provisioning", "Failed"],
|
|
1900
|
-
},
|
|
1901
|
-
}, networkRuleSet: {
|
|
1902
|
-
serializedName: "properties.networkRuleSet",
|
|
1903
|
-
type: {
|
|
1904
|
-
name: "Composite",
|
|
1905
|
-
className: "NetworkRuleSet",
|
|
1906
|
-
},
|
|
1907
|
-
}, disabledDataExfiltrationOptions: {
|
|
1908
|
-
serializedName: "properties.disabledDataExfiltrationOptions",
|
|
1909
|
-
type: {
|
|
1910
|
-
name: "Sequence",
|
|
1911
|
-
element: {
|
|
1912
|
-
type: {
|
|
1913
|
-
name: "String",
|
|
1914
|
-
},
|
|
1915
|
-
},
|
|
1916
|
-
},
|
|
1917
|
-
}, encryptionWithCmk: {
|
|
1918
|
-
serializedName: "properties.encryptionWithCmk",
|
|
1919
|
-
type: {
|
|
1920
|
-
name: "Composite",
|
|
1921
|
-
className: "EncryptionWithCmk",
|
|
1922
|
-
},
|
|
1923
|
-
}, disableLocalAuth: {
|
|
1924
|
-
serializedName: "properties.disableLocalAuth",
|
|
1925
|
-
nullable: true,
|
|
1926
|
-
type: {
|
|
1927
|
-
name: "Boolean",
|
|
1928
|
-
},
|
|
1929
|
-
}, authOptions: {
|
|
1930
|
-
serializedName: "properties.authOptions",
|
|
1931
|
-
type: {
|
|
1932
|
-
name: "Composite",
|
|
1933
|
-
className: "DataPlaneAuthOptions",
|
|
1934
|
-
},
|
|
1935
|
-
}, semanticSearch: {
|
|
1936
|
-
serializedName: "properties.semanticSearch",
|
|
1937
|
-
nullable: true,
|
|
1938
|
-
type: {
|
|
1939
|
-
name: "String",
|
|
1940
|
-
},
|
|
1941
|
-
}, privateEndpointConnections: {
|
|
1942
|
-
serializedName: "properties.privateEndpointConnections",
|
|
1943
|
-
readOnly: true,
|
|
1944
|
-
type: {
|
|
1945
|
-
name: "Sequence",
|
|
1946
|
-
element: {
|
|
1947
|
-
type: {
|
|
1948
|
-
name: "Composite",
|
|
1949
|
-
className: "PrivateEndpointConnection",
|
|
1950
|
-
},
|
|
1951
|
-
},
|
|
1952
|
-
},
|
|
1953
|
-
}, sharedPrivateLinkResources: {
|
|
1954
|
-
serializedName: "properties.sharedPrivateLinkResources",
|
|
1955
|
-
readOnly: true,
|
|
1956
|
-
type: {
|
|
1957
|
-
name: "Sequence",
|
|
1958
|
-
element: {
|
|
1959
|
-
type: {
|
|
1960
|
-
name: "Composite",
|
|
1961
|
-
className: "SharedPrivateLinkResource",
|
|
1962
|
-
},
|
|
1963
|
-
},
|
|
1964
|
-
},
|
|
1965
|
-
}, eTag: {
|
|
1966
|
-
serializedName: "properties.eTag",
|
|
1967
|
-
readOnly: true,
|
|
1968
|
-
type: {
|
|
1969
|
-
name: "String",
|
|
1970
|
-
},
|
|
1971
|
-
} }),
|
|
1972
|
-
},
|
|
1973
|
-
};
|
|
1974
|
-
const NetworkSecurityPerimeterConfiguration = {
|
|
1975
|
-
type: {
|
|
1976
|
-
name: "Composite",
|
|
1977
|
-
className: "NetworkSecurityPerimeterConfiguration",
|
|
1978
|
-
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { provisioningState: {
|
|
1979
|
-
serializedName: "properties.provisioningState",
|
|
1980
|
-
readOnly: true,
|
|
1981
|
-
type: {
|
|
1982
|
-
name: "String",
|
|
1983
|
-
},
|
|
1984
|
-
}, networkSecurityPerimeter: {
|
|
1985
|
-
serializedName: "properties.networkSecurityPerimeter",
|
|
1986
|
-
type: {
|
|
1987
|
-
name: "Composite",
|
|
1988
|
-
className: "NSPConfigPerimeter",
|
|
1989
|
-
},
|
|
1990
|
-
}, resourceAssociation: {
|
|
1991
|
-
serializedName: "properties.resourceAssociation",
|
|
1992
|
-
type: {
|
|
1993
|
-
name: "Composite",
|
|
1994
|
-
className: "NSPConfigAssociation",
|
|
1995
|
-
},
|
|
1996
|
-
}, profile: {
|
|
1997
|
-
serializedName: "properties.profile",
|
|
1998
|
-
type: {
|
|
1999
|
-
name: "Composite",
|
|
2000
|
-
className: "NSPConfigProfile",
|
|
2001
|
-
},
|
|
2002
|
-
}, provisioningIssues: {
|
|
2003
|
-
serializedName: "properties.provisioningIssues",
|
|
2004
|
-
type: {
|
|
2005
|
-
name: "Sequence",
|
|
2006
|
-
element: {
|
|
2007
|
-
type: {
|
|
2008
|
-
name: "Composite",
|
|
2009
|
-
className: "NSPProvisioningIssue",
|
|
2010
|
-
},
|
|
2011
|
-
},
|
|
2012
|
-
},
|
|
2013
|
-
} }),
|
|
2014
|
-
},
|
|
2015
|
-
};
|
|
2016
|
-
const NetworkSecurityPerimeterConfigurationsReconcileHeaders = {
|
|
2017
|
-
type: {
|
|
2018
|
-
name: "Composite",
|
|
2019
|
-
className: "NetworkSecurityPerimeterConfigurationsReconcileHeaders",
|
|
2020
|
-
modelProperties: {
|
|
2021
|
-
location: {
|
|
2022
|
-
serializedName: "location",
|
|
2023
|
-
type: {
|
|
2024
|
-
name: "String",
|
|
2025
|
-
},
|
|
2026
|
-
},
|
|
2027
|
-
},
|
|
2028
|
-
},
|
|
2029
|
-
};
|
|
2030
|
-
|
|
2031
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
2032
|
-
__proto__: null,
|
|
2033
|
-
AdminKeyResult: AdminKeyResult,
|
|
2034
|
-
AsyncOperationResult: AsyncOperationResult,
|
|
2035
|
-
CheckNameAvailabilityInput: CheckNameAvailabilityInput,
|
|
2036
|
-
CheckNameAvailabilityOutput: CheckNameAvailabilityOutput,
|
|
2037
|
-
CloudError: CloudError,
|
|
2038
|
-
CloudErrorBody: CloudErrorBody,
|
|
2039
|
-
DataPlaneAadOrApiKeyAuthOption: DataPlaneAadOrApiKeyAuthOption,
|
|
2040
|
-
DataPlaneAuthOptions: DataPlaneAuthOptions,
|
|
2041
|
-
EncryptionWithCmk: EncryptionWithCmk,
|
|
2042
|
-
Identity: Identity,
|
|
2043
|
-
IpRule: IpRule,
|
|
2044
|
-
ListQueryKeysResult: ListQueryKeysResult,
|
|
2045
|
-
NSPConfigAccessRule: NSPConfigAccessRule,
|
|
2046
|
-
NSPConfigAccessRuleProperties: NSPConfigAccessRuleProperties,
|
|
2047
|
-
NSPConfigAssociation: NSPConfigAssociation,
|
|
2048
|
-
NSPConfigNetworkSecurityPerimeterRule: NSPConfigNetworkSecurityPerimeterRule,
|
|
2049
|
-
NSPConfigPerimeter: NSPConfigPerimeter,
|
|
2050
|
-
NSPConfigProfile: NSPConfigProfile,
|
|
2051
|
-
NSPProvisioningIssue: NSPProvisioningIssue,
|
|
2052
|
-
NSPProvisioningIssueProperties: NSPProvisioningIssueProperties,
|
|
2053
|
-
NetworkRuleSet: NetworkRuleSet,
|
|
2054
|
-
NetworkSecurityPerimeterConfiguration: NetworkSecurityPerimeterConfiguration,
|
|
2055
|
-
NetworkSecurityPerimeterConfigurationListResult: NetworkSecurityPerimeterConfigurationListResult,
|
|
2056
|
-
NetworkSecurityPerimeterConfigurationsReconcileHeaders: NetworkSecurityPerimeterConfigurationsReconcileHeaders,
|
|
2057
|
-
Operation: Operation,
|
|
2058
|
-
OperationAvailability: OperationAvailability,
|
|
2059
|
-
OperationDisplay: OperationDisplay,
|
|
2060
|
-
OperationListResult: OperationListResult,
|
|
2061
|
-
OperationLogsSpecification: OperationLogsSpecification,
|
|
2062
|
-
OperationMetricDimension: OperationMetricDimension,
|
|
2063
|
-
OperationMetricsSpecification: OperationMetricsSpecification,
|
|
2064
|
-
OperationProperties: OperationProperties,
|
|
2065
|
-
OperationServiceSpecification: OperationServiceSpecification,
|
|
2066
|
-
PrivateEndpointConnection: PrivateEndpointConnection,
|
|
2067
|
-
PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
|
|
2068
|
-
PrivateEndpointConnectionProperties: PrivateEndpointConnectionProperties,
|
|
2069
|
-
PrivateEndpointConnectionPropertiesPrivateEndpoint: PrivateEndpointConnectionPropertiesPrivateEndpoint,
|
|
2070
|
-
PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState: PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionState,
|
|
2071
|
-
PrivateLinkResource: PrivateLinkResource,
|
|
2072
|
-
PrivateLinkResourceProperties: PrivateLinkResourceProperties,
|
|
2073
|
-
PrivateLinkResourcesResult: PrivateLinkResourcesResult,
|
|
2074
|
-
ProxyResource: ProxyResource,
|
|
2075
|
-
QueryKey: QueryKey,
|
|
2076
|
-
QuotaUsageResult: QuotaUsageResult,
|
|
2077
|
-
QuotaUsageResultName: QuotaUsageResultName,
|
|
2078
|
-
QuotaUsagesListResult: QuotaUsagesListResult,
|
|
2079
|
-
Resource: Resource,
|
|
2080
|
-
SearchService: SearchService,
|
|
2081
|
-
SearchServiceListResult: SearchServiceListResult,
|
|
2082
|
-
SearchServiceUpdate: SearchServiceUpdate,
|
|
2083
|
-
ShareablePrivateLinkResourceProperties: ShareablePrivateLinkResourceProperties,
|
|
2084
|
-
ShareablePrivateLinkResourceType: ShareablePrivateLinkResourceType,
|
|
2085
|
-
SharedPrivateLinkResource: SharedPrivateLinkResource,
|
|
2086
|
-
SharedPrivateLinkResourceListResult: SharedPrivateLinkResourceListResult,
|
|
2087
|
-
SharedPrivateLinkResourceProperties: SharedPrivateLinkResourceProperties,
|
|
2088
|
-
Sku: Sku,
|
|
2089
|
-
TrackedResource: TrackedResource,
|
|
2090
|
-
UserAssignedManagedIdentity: UserAssignedManagedIdentity
|
|
2091
|
-
});
|
|
2092
|
-
|
|
2093
|
-
/*
|
|
2094
|
-
* Copyright (c) Microsoft Corporation.
|
|
2095
|
-
* Licensed under the MIT License.
|
|
2096
|
-
*
|
|
2097
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2098
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2099
|
-
*/
|
|
2100
|
-
const accept = {
|
|
2101
|
-
parameterPath: "accept",
|
|
2102
|
-
mapper: {
|
|
2103
|
-
defaultValue: "application/json",
|
|
2104
|
-
isConstant: true,
|
|
2105
|
-
serializedName: "Accept",
|
|
2106
|
-
type: {
|
|
2107
|
-
name: "String",
|
|
2108
|
-
},
|
|
2109
|
-
},
|
|
2110
|
-
};
|
|
2111
|
-
const $host = {
|
|
2112
|
-
parameterPath: "$host",
|
|
2113
|
-
mapper: {
|
|
2114
|
-
serializedName: "$host",
|
|
2115
|
-
required: true,
|
|
2116
|
-
type: {
|
|
2117
|
-
name: "String",
|
|
2118
|
-
},
|
|
2119
|
-
},
|
|
2120
|
-
skipEncoding: true,
|
|
2121
|
-
};
|
|
2122
|
-
const apiVersion = {
|
|
2123
|
-
parameterPath: "apiVersion",
|
|
2124
|
-
mapper: {
|
|
2125
|
-
defaultValue: "2024-06-01-preview",
|
|
2126
|
-
isConstant: true,
|
|
2127
|
-
serializedName: "api-version",
|
|
2128
|
-
type: {
|
|
2129
|
-
name: "String",
|
|
2130
|
-
},
|
|
2131
|
-
},
|
|
2132
|
-
};
|
|
2133
|
-
const resourceGroupName = {
|
|
2134
|
-
parameterPath: "resourceGroupName",
|
|
2135
|
-
mapper: {
|
|
2136
|
-
serializedName: "resourceGroupName",
|
|
2137
|
-
required: true,
|
|
2138
|
-
type: {
|
|
2139
|
-
name: "String",
|
|
2140
|
-
},
|
|
2141
|
-
},
|
|
2142
|
-
};
|
|
2143
|
-
const searchServiceName = {
|
|
2144
|
-
parameterPath: "searchServiceName",
|
|
2145
|
-
mapper: {
|
|
2146
|
-
constraints: {
|
|
2147
|
-
Pattern: new RegExp("^(?=.{2,60}$)[a-z0-9][a-z0-9]+(-[a-z0-9]+)*$"),
|
|
2148
|
-
},
|
|
2149
|
-
serializedName: "searchServiceName",
|
|
2150
|
-
required: true,
|
|
2151
|
-
type: {
|
|
2152
|
-
name: "String",
|
|
2153
|
-
},
|
|
2154
|
-
},
|
|
2155
|
-
};
|
|
2156
|
-
const clientRequestId = {
|
|
2157
|
-
parameterPath: [
|
|
2158
|
-
"options",
|
|
2159
|
-
"searchManagementRequestOptions",
|
|
2160
|
-
"clientRequestId",
|
|
2161
|
-
],
|
|
2162
|
-
mapper: {
|
|
2163
|
-
serializedName: "x-ms-client-request-id",
|
|
2164
|
-
type: {
|
|
2165
|
-
name: "Uuid",
|
|
2166
|
-
},
|
|
2167
|
-
},
|
|
2168
|
-
};
|
|
2169
|
-
const subscriptionId = {
|
|
2170
|
-
parameterPath: "subscriptionId",
|
|
2171
|
-
mapper: {
|
|
2172
|
-
serializedName: "subscriptionId",
|
|
2173
|
-
required: true,
|
|
2174
|
-
type: {
|
|
2175
|
-
name: "String",
|
|
2176
|
-
},
|
|
2177
|
-
},
|
|
2178
|
-
};
|
|
2179
|
-
const keyKind = {
|
|
2180
|
-
parameterPath: "keyKind",
|
|
2181
|
-
mapper: {
|
|
2182
|
-
serializedName: "keyKind",
|
|
2183
|
-
required: true,
|
|
2184
|
-
type: {
|
|
2185
|
-
name: "Enum",
|
|
2186
|
-
allowedValues: ["primary", "secondary"],
|
|
2187
|
-
},
|
|
2188
|
-
},
|
|
2189
|
-
};
|
|
2190
|
-
const name = {
|
|
2191
|
-
parameterPath: "name",
|
|
2192
|
-
mapper: {
|
|
2193
|
-
serializedName: "name",
|
|
2194
|
-
required: true,
|
|
2195
|
-
type: {
|
|
2196
|
-
name: "String",
|
|
2197
|
-
},
|
|
2198
|
-
},
|
|
2199
|
-
};
|
|
2200
|
-
const key = {
|
|
2201
|
-
parameterPath: "key",
|
|
2202
|
-
mapper: {
|
|
2203
|
-
serializedName: "key",
|
|
2204
|
-
required: true,
|
|
2205
|
-
type: {
|
|
2206
|
-
name: "String",
|
|
2207
|
-
},
|
|
2208
|
-
},
|
|
2209
|
-
};
|
|
2210
|
-
const nextLink = {
|
|
2211
|
-
parameterPath: "nextLink",
|
|
2212
|
-
mapper: {
|
|
2213
|
-
serializedName: "nextLink",
|
|
2214
|
-
required: true,
|
|
2215
|
-
type: {
|
|
2216
|
-
name: "String",
|
|
2217
|
-
},
|
|
2218
|
-
},
|
|
2219
|
-
skipEncoding: true,
|
|
2220
|
-
};
|
|
2221
|
-
const contentType = {
|
|
2222
|
-
parameterPath: ["options", "contentType"],
|
|
2223
|
-
mapper: {
|
|
2224
|
-
defaultValue: "application/json",
|
|
2225
|
-
isConstant: true,
|
|
2226
|
-
serializedName: "Content-Type",
|
|
2227
|
-
type: {
|
|
2228
|
-
name: "String",
|
|
2229
|
-
},
|
|
2230
|
-
},
|
|
2231
|
-
};
|
|
2232
|
-
const service = {
|
|
2233
|
-
parameterPath: "service",
|
|
2234
|
-
mapper: SearchService,
|
|
2235
|
-
};
|
|
2236
|
-
const searchServiceName1 = {
|
|
2237
|
-
parameterPath: "searchServiceName",
|
|
2238
|
-
mapper: {
|
|
2239
|
-
serializedName: "searchServiceName",
|
|
2240
|
-
required: true,
|
|
2241
|
-
type: {
|
|
2242
|
-
name: "String",
|
|
2243
|
-
},
|
|
2244
|
-
},
|
|
2245
|
-
};
|
|
2246
|
-
const service1 = {
|
|
2247
|
-
parameterPath: "service",
|
|
2248
|
-
mapper: SearchServiceUpdate,
|
|
2249
|
-
};
|
|
2250
|
-
const privateEndpointConnection = {
|
|
2251
|
-
parameterPath: "privateEndpointConnection",
|
|
2252
|
-
mapper: PrivateEndpointConnection,
|
|
2253
|
-
};
|
|
2254
|
-
const privateEndpointConnectionName = {
|
|
2255
|
-
parameterPath: "privateEndpointConnectionName",
|
|
2256
|
-
mapper: {
|
|
2257
|
-
serializedName: "privateEndpointConnectionName",
|
|
2258
|
-
required: true,
|
|
2259
|
-
type: {
|
|
2260
|
-
name: "String",
|
|
2261
|
-
},
|
|
2262
|
-
},
|
|
2263
|
-
};
|
|
2264
|
-
const sharedPrivateLinkResource = {
|
|
2265
|
-
parameterPath: "sharedPrivateLinkResource",
|
|
2266
|
-
mapper: SharedPrivateLinkResource,
|
|
2267
|
-
};
|
|
2268
|
-
const sharedPrivateLinkResourceName = {
|
|
2269
|
-
parameterPath: "sharedPrivateLinkResourceName",
|
|
2270
|
-
mapper: {
|
|
2271
|
-
serializedName: "sharedPrivateLinkResourceName",
|
|
2272
|
-
required: true,
|
|
2273
|
-
type: {
|
|
2274
|
-
name: "String",
|
|
2275
|
-
},
|
|
2276
|
-
},
|
|
2277
|
-
};
|
|
2278
|
-
const location = {
|
|
2279
|
-
parameterPath: "location",
|
|
2280
|
-
mapper: {
|
|
2281
|
-
serializedName: "location",
|
|
2282
|
-
required: true,
|
|
2283
|
-
type: {
|
|
2284
|
-
name: "String",
|
|
2285
|
-
},
|
|
2286
|
-
},
|
|
2287
|
-
};
|
|
2288
|
-
const skuName = {
|
|
2289
|
-
parameterPath: "skuName",
|
|
2290
|
-
mapper: {
|
|
2291
|
-
serializedName: "skuName",
|
|
2292
|
-
required: true,
|
|
2293
|
-
type: {
|
|
2294
|
-
name: "String",
|
|
2295
|
-
},
|
|
2296
|
-
},
|
|
2297
|
-
};
|
|
2298
|
-
const nspConfigName = {
|
|
2299
|
-
parameterPath: "nspConfigName",
|
|
2300
|
-
mapper: {
|
|
2301
|
-
constraints: {
|
|
2302
|
-
Pattern: new RegExp("^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}\\.[a-z][a-z0-9]*$"),
|
|
2303
|
-
MaxLength: 100,
|
|
2304
|
-
MinLength: 38,
|
|
2305
|
-
},
|
|
2306
|
-
serializedName: "nspConfigName",
|
|
2307
|
-
required: true,
|
|
2308
|
-
type: {
|
|
2309
|
-
name: "String",
|
|
2310
|
-
},
|
|
2311
|
-
},
|
|
2312
|
-
};
|
|
2313
|
-
|
|
2314
|
-
/*
|
|
2315
|
-
* Copyright (c) Microsoft Corporation.
|
|
2316
|
-
* Licensed under the MIT License.
|
|
2317
|
-
*
|
|
2318
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2319
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2320
|
-
*/
|
|
2321
|
-
/// <reference lib="esnext.asynciterable" />
|
|
2322
|
-
/** Class containing Operations operations. */
|
|
2323
|
-
class OperationsImpl {
|
|
2324
|
-
/**
|
|
2325
|
-
* Initialize a new instance of the class Operations class.
|
|
2326
|
-
* @param client Reference to the service client
|
|
2327
|
-
*/
|
|
2328
|
-
constructor(client) {
|
|
2329
|
-
this.client = client;
|
|
2330
|
-
}
|
|
2331
|
-
/**
|
|
2332
|
-
* Lists all of the available REST API operations of the Microsoft.Search provider.
|
|
2333
|
-
* @param options The options parameters.
|
|
2334
|
-
*/
|
|
2335
|
-
list(options) {
|
|
2336
|
-
const iter = this.listPagingAll(options);
|
|
2337
|
-
return {
|
|
2338
|
-
next() {
|
|
2339
|
-
return iter.next();
|
|
2340
|
-
},
|
|
2341
|
-
[Symbol.asyncIterator]() {
|
|
2342
|
-
return this;
|
|
2343
|
-
},
|
|
2344
|
-
byPage: (settings) => {
|
|
2345
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
2346
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
2347
|
-
}
|
|
2348
|
-
return this.listPagingPage(options, settings);
|
|
2349
|
-
},
|
|
2350
|
-
};
|
|
2351
|
-
}
|
|
2352
|
-
listPagingPage(options, _settings) {
|
|
2353
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
2354
|
-
let result;
|
|
2355
|
-
result = yield tslib.__await(this._list(options));
|
|
2356
|
-
yield yield tslib.__await(result.value || []);
|
|
2357
|
-
});
|
|
2358
|
-
}
|
|
2359
|
-
listPagingAll(options) {
|
|
2360
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
2361
|
-
var _a, e_1, _b, _c;
|
|
2362
|
-
try {
|
|
2363
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2364
|
-
_c = _f.value;
|
|
2365
|
-
_d = false;
|
|
2366
|
-
const page = _c;
|
|
2367
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2368
|
-
}
|
|
2369
|
-
}
|
|
2370
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
2371
|
-
finally {
|
|
2372
|
-
try {
|
|
2373
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
2374
|
-
}
|
|
2375
|
-
finally { if (e_1) throw e_1.error; }
|
|
2376
|
-
}
|
|
2377
|
-
});
|
|
2378
|
-
}
|
|
2379
|
-
/**
|
|
2380
|
-
* Lists all of the available REST API operations of the Microsoft.Search provider.
|
|
2381
|
-
* @param options The options parameters.
|
|
2382
|
-
*/
|
|
2383
|
-
_list(options) {
|
|
2384
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
2385
|
-
}
|
|
2386
|
-
}
|
|
2387
|
-
// Operation Specifications
|
|
2388
|
-
const serializer$9 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2389
|
-
const listOperationSpec = {
|
|
2390
|
-
path: "/providers/Microsoft.Search/operations",
|
|
2391
|
-
httpMethod: "GET",
|
|
2392
|
-
responses: {
|
|
2393
|
-
200: {
|
|
2394
|
-
bodyMapper: OperationListResult,
|
|
2395
|
-
},
|
|
2396
|
-
default: {
|
|
2397
|
-
bodyMapper: CloudError,
|
|
2398
|
-
},
|
|
2399
|
-
},
|
|
2400
|
-
queryParameters: [apiVersion],
|
|
2401
|
-
urlParameters: [$host],
|
|
2402
|
-
headerParameters: [accept],
|
|
2403
|
-
serializer: serializer$9,
|
|
2404
|
-
};
|
|
2405
|
-
|
|
2406
|
-
/*
|
|
2407
|
-
* Copyright (c) Microsoft Corporation.
|
|
2408
|
-
* Licensed under the MIT License.
|
|
2409
|
-
*
|
|
2410
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2411
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2412
|
-
*/
|
|
2413
|
-
/** Class containing AdminKeys operations. */
|
|
2414
|
-
class AdminKeysImpl {
|
|
2415
|
-
/**
|
|
2416
|
-
* Initialize a new instance of the class AdminKeys class.
|
|
2417
|
-
* @param client Reference to the service client
|
|
2418
|
-
*/
|
|
2419
|
-
constructor(client) {
|
|
2420
|
-
this.client = client;
|
|
2421
|
-
}
|
|
2422
|
-
/**
|
|
2423
|
-
* Gets the primary and secondary admin API keys for the specified Azure AI Search service.
|
|
2424
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
2425
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2426
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
2427
|
-
* resource group.
|
|
2428
|
-
* @param options The options parameters.
|
|
2429
|
-
*/
|
|
2430
|
-
get(resourceGroupName, searchServiceName, options) {
|
|
2431
|
-
return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, options }, getOperationSpec$4);
|
|
2432
|
-
}
|
|
2433
|
-
/**
|
|
2434
|
-
* Regenerates either the primary or secondary admin API key. You can only regenerate one key at a
|
|
2435
|
-
* time.
|
|
2436
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
2437
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2438
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
2439
|
-
* resource group.
|
|
2440
|
-
* @param keyKind Specifies which key to regenerate. Valid values include 'primary' and 'secondary'.
|
|
2441
|
-
* @param options The options parameters.
|
|
2442
|
-
*/
|
|
2443
|
-
regenerate(resourceGroupName, searchServiceName, keyKind, options) {
|
|
2444
|
-
return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, keyKind, options }, regenerateOperationSpec);
|
|
2445
|
-
}
|
|
2446
|
-
}
|
|
2447
|
-
// Operation Specifications
|
|
2448
|
-
const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2449
|
-
const getOperationSpec$4 = {
|
|
2450
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listAdminKeys",
|
|
2451
|
-
httpMethod: "POST",
|
|
2452
|
-
responses: {
|
|
2453
|
-
200: {
|
|
2454
|
-
bodyMapper: AdminKeyResult,
|
|
2455
|
-
},
|
|
2456
|
-
default: {
|
|
2457
|
-
bodyMapper: CloudError,
|
|
2458
|
-
},
|
|
2459
|
-
},
|
|
2460
|
-
queryParameters: [apiVersion],
|
|
2461
|
-
urlParameters: [
|
|
2462
|
-
$host,
|
|
2463
|
-
resourceGroupName,
|
|
2464
|
-
searchServiceName,
|
|
2465
|
-
subscriptionId,
|
|
2466
|
-
],
|
|
2467
|
-
headerParameters: [accept, clientRequestId],
|
|
2468
|
-
serializer: serializer$8,
|
|
2469
|
-
};
|
|
2470
|
-
const regenerateOperationSpec = {
|
|
2471
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/regenerateAdminKey/{keyKind}",
|
|
2472
|
-
httpMethod: "POST",
|
|
2473
|
-
responses: {
|
|
2474
|
-
200: {
|
|
2475
|
-
bodyMapper: AdminKeyResult,
|
|
2476
|
-
},
|
|
2477
|
-
default: {
|
|
2478
|
-
bodyMapper: CloudError,
|
|
2479
|
-
},
|
|
2480
|
-
},
|
|
2481
|
-
queryParameters: [apiVersion],
|
|
2482
|
-
urlParameters: [
|
|
2483
|
-
$host,
|
|
2484
|
-
resourceGroupName,
|
|
2485
|
-
searchServiceName,
|
|
2486
|
-
subscriptionId,
|
|
2487
|
-
keyKind,
|
|
2488
|
-
],
|
|
2489
|
-
headerParameters: [accept, clientRequestId],
|
|
2490
|
-
serializer: serializer$8,
|
|
2491
|
-
};
|
|
2492
|
-
|
|
2493
|
-
/*
|
|
2494
|
-
* Copyright (c) Microsoft Corporation.
|
|
2495
|
-
* Licensed under the MIT License.
|
|
2496
|
-
*
|
|
2497
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2498
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2499
|
-
*/
|
|
2500
|
-
/// <reference lib="esnext.asynciterable" />
|
|
2501
|
-
/** Class containing QueryKeys operations. */
|
|
2502
|
-
class QueryKeysImpl {
|
|
2503
|
-
/**
|
|
2504
|
-
* Initialize a new instance of the class QueryKeys class.
|
|
2505
|
-
* @param client Reference to the service client
|
|
2506
|
-
*/
|
|
2507
|
-
constructor(client) {
|
|
2508
|
-
this.client = client;
|
|
2509
|
-
}
|
|
2510
|
-
/**
|
|
2511
|
-
* Returns the list of query API keys for the given Azure AI Search service.
|
|
2512
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
2513
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2514
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
2515
|
-
* resource group.
|
|
2516
|
-
* @param options The options parameters.
|
|
2517
|
-
*/
|
|
2518
|
-
listBySearchService(resourceGroupName, searchServiceName, options) {
|
|
2519
|
-
const iter = this.listBySearchServicePagingAll(resourceGroupName, searchServiceName, options);
|
|
2520
|
-
return {
|
|
2521
|
-
next() {
|
|
2522
|
-
return iter.next();
|
|
2523
|
-
},
|
|
2524
|
-
[Symbol.asyncIterator]() {
|
|
2525
|
-
return this;
|
|
2526
|
-
},
|
|
2527
|
-
byPage: (settings) => {
|
|
2528
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
2529
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
2530
|
-
}
|
|
2531
|
-
return this.listBySearchServicePagingPage(resourceGroupName, searchServiceName, options, settings);
|
|
2532
|
-
},
|
|
2533
|
-
};
|
|
2534
|
-
}
|
|
2535
|
-
listBySearchServicePagingPage(resourceGroupName, searchServiceName, options, settings) {
|
|
2536
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySearchServicePagingPage_1() {
|
|
2537
|
-
let result;
|
|
2538
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
2539
|
-
if (!continuationToken) {
|
|
2540
|
-
result = yield tslib.__await(this._listBySearchService(resourceGroupName, searchServiceName, options));
|
|
2541
|
-
let page = result.value || [];
|
|
2542
|
-
continuationToken = result.nextLink;
|
|
2543
|
-
setContinuationToken(page, continuationToken);
|
|
2544
|
-
yield yield tslib.__await(page);
|
|
2545
|
-
}
|
|
2546
|
-
while (continuationToken) {
|
|
2547
|
-
result = yield tslib.__await(this._listBySearchServiceNext(resourceGroupName, searchServiceName, continuationToken, options));
|
|
2548
|
-
continuationToken = result.nextLink;
|
|
2549
|
-
let page = result.value || [];
|
|
2550
|
-
setContinuationToken(page, continuationToken);
|
|
2551
|
-
yield yield tslib.__await(page);
|
|
2552
|
-
}
|
|
2553
|
-
});
|
|
2554
|
-
}
|
|
2555
|
-
listBySearchServicePagingAll(resourceGroupName, searchServiceName, options) {
|
|
2556
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySearchServicePagingAll_1() {
|
|
2557
|
-
var _a, e_1, _b, _c;
|
|
2558
|
-
try {
|
|
2559
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listBySearchServicePagingPage(resourceGroupName, searchServiceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2560
|
-
_c = _f.value;
|
|
2561
|
-
_d = false;
|
|
2562
|
-
const page = _c;
|
|
2563
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2564
|
-
}
|
|
2565
|
-
}
|
|
2566
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
2567
|
-
finally {
|
|
2568
|
-
try {
|
|
2569
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
2570
|
-
}
|
|
2571
|
-
finally { if (e_1) throw e_1.error; }
|
|
2572
|
-
}
|
|
2573
|
-
});
|
|
2574
|
-
}
|
|
2575
|
-
/**
|
|
2576
|
-
* Generates a new query key for the specified search service. You can create up to 50 query keys per
|
|
2577
|
-
* service.
|
|
2578
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
2579
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2580
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
2581
|
-
* resource group.
|
|
2582
|
-
* @param name The name of the new query API key.
|
|
2583
|
-
* @param options The options parameters.
|
|
2584
|
-
*/
|
|
2585
|
-
create(resourceGroupName, searchServiceName, name, options) {
|
|
2586
|
-
return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, name, options }, createOperationSpec);
|
|
2587
|
-
}
|
|
2588
|
-
/**
|
|
2589
|
-
* Returns the list of query API keys for the given Azure AI Search service.
|
|
2590
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
2591
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2592
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
2593
|
-
* resource group.
|
|
2594
|
-
* @param options The options parameters.
|
|
2595
|
-
*/
|
|
2596
|
-
_listBySearchService(resourceGroupName, searchServiceName, options) {
|
|
2597
|
-
return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, options }, listBySearchServiceOperationSpec);
|
|
2598
|
-
}
|
|
2599
|
-
/**
|
|
2600
|
-
* Deletes the specified query key. Unlike admin keys, query keys are not regenerated. The process for
|
|
2601
|
-
* regenerating a query key is to delete and then recreate it.
|
|
2602
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
2603
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2604
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
2605
|
-
* resource group.
|
|
2606
|
-
* @param key The query key to be deleted. Query keys are identified by value, not by name.
|
|
2607
|
-
* @param options The options parameters.
|
|
2608
|
-
*/
|
|
2609
|
-
delete(resourceGroupName, searchServiceName, key, options) {
|
|
2610
|
-
return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, key, options }, deleteOperationSpec$3);
|
|
2611
|
-
}
|
|
2612
|
-
/**
|
|
2613
|
-
* ListBySearchServiceNext
|
|
2614
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
2615
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2616
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
2617
|
-
* resource group.
|
|
2618
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySearchService method.
|
|
2619
|
-
* @param options The options parameters.
|
|
2620
|
-
*/
|
|
2621
|
-
_listBySearchServiceNext(resourceGroupName, searchServiceName, nextLink, options) {
|
|
2622
|
-
return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, nextLink, options }, listBySearchServiceNextOperationSpec);
|
|
2623
|
-
}
|
|
2624
|
-
}
|
|
2625
|
-
// Operation Specifications
|
|
2626
|
-
const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2627
|
-
const createOperationSpec = {
|
|
2628
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/createQueryKey/{name}",
|
|
2629
|
-
httpMethod: "POST",
|
|
2630
|
-
responses: {
|
|
2631
|
-
200: {
|
|
2632
|
-
bodyMapper: QueryKey,
|
|
2633
|
-
},
|
|
2634
|
-
default: {
|
|
2635
|
-
bodyMapper: CloudError,
|
|
2636
|
-
},
|
|
2637
|
-
},
|
|
2638
|
-
queryParameters: [apiVersion],
|
|
2639
|
-
urlParameters: [
|
|
2640
|
-
$host,
|
|
2641
|
-
resourceGroupName,
|
|
2642
|
-
searchServiceName,
|
|
2643
|
-
subscriptionId,
|
|
2644
|
-
name,
|
|
2645
|
-
],
|
|
2646
|
-
headerParameters: [accept, clientRequestId],
|
|
2647
|
-
serializer: serializer$7,
|
|
2648
|
-
};
|
|
2649
|
-
const listBySearchServiceOperationSpec = {
|
|
2650
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/listQueryKeys",
|
|
2651
|
-
httpMethod: "POST",
|
|
2652
|
-
responses: {
|
|
2653
|
-
200: {
|
|
2654
|
-
bodyMapper: ListQueryKeysResult,
|
|
2655
|
-
},
|
|
2656
|
-
default: {
|
|
2657
|
-
bodyMapper: CloudError,
|
|
2658
|
-
},
|
|
2659
|
-
},
|
|
2660
|
-
queryParameters: [apiVersion],
|
|
2661
|
-
urlParameters: [
|
|
2662
|
-
$host,
|
|
2663
|
-
resourceGroupName,
|
|
2664
|
-
searchServiceName,
|
|
2665
|
-
subscriptionId,
|
|
2666
|
-
],
|
|
2667
|
-
headerParameters: [accept, clientRequestId],
|
|
2668
|
-
serializer: serializer$7,
|
|
2669
|
-
};
|
|
2670
|
-
const deleteOperationSpec$3 = {
|
|
2671
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/deleteQueryKey/{key}",
|
|
2672
|
-
httpMethod: "DELETE",
|
|
2673
|
-
responses: {
|
|
2674
|
-
200: {},
|
|
2675
|
-
204: {},
|
|
2676
|
-
404: {},
|
|
2677
|
-
default: {
|
|
2678
|
-
bodyMapper: CloudError,
|
|
2679
|
-
},
|
|
2680
|
-
},
|
|
2681
|
-
queryParameters: [apiVersion],
|
|
2682
|
-
urlParameters: [
|
|
2683
|
-
$host,
|
|
2684
|
-
resourceGroupName,
|
|
2685
|
-
searchServiceName,
|
|
2686
|
-
subscriptionId,
|
|
2687
|
-
key,
|
|
2688
|
-
],
|
|
2689
|
-
headerParameters: [accept, clientRequestId],
|
|
2690
|
-
serializer: serializer$7,
|
|
2691
|
-
};
|
|
2692
|
-
const listBySearchServiceNextOperationSpec = {
|
|
2693
|
-
path: "{nextLink}",
|
|
2694
|
-
httpMethod: "GET",
|
|
2695
|
-
responses: {
|
|
2696
|
-
200: {
|
|
2697
|
-
bodyMapper: ListQueryKeysResult,
|
|
2698
|
-
},
|
|
2699
|
-
default: {
|
|
2700
|
-
bodyMapper: CloudError,
|
|
2701
|
-
},
|
|
2702
|
-
},
|
|
2703
|
-
urlParameters: [
|
|
2704
|
-
$host,
|
|
2705
|
-
resourceGroupName,
|
|
2706
|
-
searchServiceName,
|
|
2707
|
-
subscriptionId,
|
|
2708
|
-
nextLink,
|
|
2709
|
-
],
|
|
2710
|
-
headerParameters: [accept, clientRequestId],
|
|
2711
|
-
serializer: serializer$7,
|
|
2712
|
-
};
|
|
2713
|
-
|
|
2714
|
-
function createLroSpec(inputs) {
|
|
2715
|
-
const { args, spec, sendOperationFn } = inputs;
|
|
2716
|
-
return {
|
|
2717
|
-
requestMethod: spec.httpMethod,
|
|
2718
|
-
requestPath: spec.path,
|
|
2719
|
-
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
2720
|
-
sendPollRequest: (path, options) => {
|
|
2721
|
-
const { requestBody } = spec, restSpec = tslib.__rest(spec, ["requestBody"]);
|
|
2722
|
-
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
2723
|
-
},
|
|
2724
|
-
};
|
|
2725
|
-
}
|
|
2726
|
-
|
|
2727
|
-
/*
|
|
2728
|
-
* Copyright (c) Microsoft Corporation.
|
|
2729
|
-
* Licensed under the MIT License.
|
|
2730
|
-
*
|
|
2731
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2732
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2733
|
-
*/
|
|
2734
|
-
/// <reference lib="esnext.asynciterable" />
|
|
2735
|
-
/** Class containing Services operations. */
|
|
2736
|
-
class ServicesImpl {
|
|
2737
|
-
/**
|
|
2738
|
-
* Initialize a new instance of the class Services class.
|
|
2739
|
-
* @param client Reference to the service client
|
|
2740
|
-
*/
|
|
2741
|
-
constructor(client) {
|
|
2742
|
-
this.client = client;
|
|
2743
|
-
}
|
|
2744
|
-
/**
|
|
2745
|
-
* Gets a list of all Search services in the given resource group.
|
|
2746
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
2747
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2748
|
-
* @param options The options parameters.
|
|
2749
|
-
*/
|
|
2750
|
-
listByResourceGroup(resourceGroupName, options) {
|
|
2751
|
-
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
2752
|
-
return {
|
|
2753
|
-
next() {
|
|
2754
|
-
return iter.next();
|
|
2755
|
-
},
|
|
2756
|
-
[Symbol.asyncIterator]() {
|
|
2757
|
-
return this;
|
|
2758
|
-
},
|
|
2759
|
-
byPage: (settings) => {
|
|
2760
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
2761
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
2762
|
-
}
|
|
2763
|
-
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
2764
|
-
},
|
|
2765
|
-
};
|
|
2766
|
-
}
|
|
2767
|
-
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
2768
|
-
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
2769
|
-
let result;
|
|
2770
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
2771
|
-
if (!continuationToken) {
|
|
2772
|
-
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
2773
|
-
let page = result.value || [];
|
|
2774
|
-
continuationToken = result.nextLink;
|
|
2775
|
-
setContinuationToken(page, continuationToken);
|
|
2776
|
-
yield yield tslib.__await(page);
|
|
2777
|
-
}
|
|
2778
|
-
while (continuationToken) {
|
|
2779
|
-
result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
2780
|
-
continuationToken = result.nextLink;
|
|
2781
|
-
let page = result.value || [];
|
|
2782
|
-
setContinuationToken(page, continuationToken);
|
|
2783
|
-
yield yield tslib.__await(page);
|
|
2784
|
-
}
|
|
2785
|
-
});
|
|
2786
|
-
}
|
|
2787
|
-
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
2788
|
-
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
2789
|
-
var _a, e_1, _b, _c;
|
|
2790
|
-
try {
|
|
2791
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2792
|
-
_c = _f.value;
|
|
2793
|
-
_d = false;
|
|
2794
|
-
const page = _c;
|
|
2795
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2796
|
-
}
|
|
2797
|
-
}
|
|
2798
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
2799
|
-
finally {
|
|
2800
|
-
try {
|
|
2801
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
2802
|
-
}
|
|
2803
|
-
finally { if (e_1) throw e_1.error; }
|
|
2804
|
-
}
|
|
2805
|
-
});
|
|
2806
|
-
}
|
|
2807
|
-
/**
|
|
2808
|
-
* Gets a list of all Search services in the given subscription.
|
|
2809
|
-
* @param options The options parameters.
|
|
2810
|
-
*/
|
|
2811
|
-
listBySubscription(options) {
|
|
2812
|
-
const iter = this.listBySubscriptionPagingAll(options);
|
|
2813
|
-
return {
|
|
2814
|
-
next() {
|
|
2815
|
-
return iter.next();
|
|
2816
|
-
},
|
|
2817
|
-
[Symbol.asyncIterator]() {
|
|
2818
|
-
return this;
|
|
2819
|
-
},
|
|
2820
|
-
byPage: (settings) => {
|
|
2821
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
2822
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
2823
|
-
}
|
|
2824
|
-
return this.listBySubscriptionPagingPage(options, settings);
|
|
2825
|
-
},
|
|
2826
|
-
};
|
|
2827
|
-
}
|
|
2828
|
-
listBySubscriptionPagingPage(options, settings) {
|
|
2829
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
2830
|
-
let result;
|
|
2831
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
2832
|
-
if (!continuationToken) {
|
|
2833
|
-
result = yield tslib.__await(this._listBySubscription(options));
|
|
2834
|
-
let page = result.value || [];
|
|
2835
|
-
continuationToken = result.nextLink;
|
|
2836
|
-
setContinuationToken(page, continuationToken);
|
|
2837
|
-
yield yield tslib.__await(page);
|
|
2838
|
-
}
|
|
2839
|
-
while (continuationToken) {
|
|
2840
|
-
result = yield tslib.__await(this._listBySubscriptionNext(continuationToken, options));
|
|
2841
|
-
continuationToken = result.nextLink;
|
|
2842
|
-
let page = result.value || [];
|
|
2843
|
-
setContinuationToken(page, continuationToken);
|
|
2844
|
-
yield yield tslib.__await(page);
|
|
2845
|
-
}
|
|
2846
|
-
});
|
|
2847
|
-
}
|
|
2848
|
-
listBySubscriptionPagingAll(options) {
|
|
2849
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
2850
|
-
var _a, e_2, _b, _c;
|
|
2851
|
-
try {
|
|
2852
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2853
|
-
_c = _f.value;
|
|
2854
|
-
_d = false;
|
|
2855
|
-
const page = _c;
|
|
2856
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2857
|
-
}
|
|
2858
|
-
}
|
|
2859
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
2860
|
-
finally {
|
|
2861
|
-
try {
|
|
2862
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
2863
|
-
}
|
|
2864
|
-
finally { if (e_2) throw e_2.error; }
|
|
2865
|
-
}
|
|
2866
|
-
});
|
|
2867
|
-
}
|
|
2868
|
-
/**
|
|
2869
|
-
* Creates or updates a search service in the given resource group. If the search service already
|
|
2870
|
-
* exists, all properties will be updated with the given values.
|
|
2871
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
2872
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2873
|
-
* @param searchServiceName The name of the Azure AI Search service to create or update. Search service
|
|
2874
|
-
* names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or
|
|
2875
|
-
* last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in
|
|
2876
|
-
* length. Search service names must be globally unique since they are part of the service URI
|
|
2877
|
-
* (https://<name>.search.windows.net). You cannot change the service name after the service is
|
|
2878
|
-
* created.
|
|
2879
|
-
* @param service The definition of the search service to create or update.
|
|
2880
|
-
* @param options The options parameters.
|
|
2881
|
-
*/
|
|
2882
|
-
beginCreateOrUpdate(resourceGroupName, searchServiceName, service, options) {
|
|
2883
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2884
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2885
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2886
|
-
});
|
|
2887
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2888
|
-
var _a;
|
|
2889
|
-
let currentRawResponse = undefined;
|
|
2890
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
2891
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2892
|
-
currentRawResponse = rawResponse;
|
|
2893
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
2894
|
-
};
|
|
2895
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2896
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2897
|
-
return {
|
|
2898
|
-
flatResponse,
|
|
2899
|
-
rawResponse: {
|
|
2900
|
-
statusCode: currentRawResponse.status,
|
|
2901
|
-
body: currentRawResponse.parsedBody,
|
|
2902
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
2903
|
-
},
|
|
2904
|
-
};
|
|
2905
|
-
});
|
|
2906
|
-
const lro = createLroSpec({
|
|
2907
|
-
sendOperationFn,
|
|
2908
|
-
args: { resourceGroupName, searchServiceName, service, options },
|
|
2909
|
-
spec: createOrUpdateOperationSpec$1,
|
|
2910
|
-
});
|
|
2911
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2912
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2913
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2914
|
-
});
|
|
2915
|
-
yield poller.poll();
|
|
2916
|
-
return poller;
|
|
2917
|
-
});
|
|
2918
|
-
}
|
|
2919
|
-
/**
|
|
2920
|
-
* Creates or updates a search service in the given resource group. If the search service already
|
|
2921
|
-
* exists, all properties will be updated with the given values.
|
|
2922
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
2923
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2924
|
-
* @param searchServiceName The name of the Azure AI Search service to create or update. Search service
|
|
2925
|
-
* names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or
|
|
2926
|
-
* last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in
|
|
2927
|
-
* length. Search service names must be globally unique since they are part of the service URI
|
|
2928
|
-
* (https://<name>.search.windows.net). You cannot change the service name after the service is
|
|
2929
|
-
* created.
|
|
2930
|
-
* @param service The definition of the search service to create or update.
|
|
2931
|
-
* @param options The options parameters.
|
|
2932
|
-
*/
|
|
2933
|
-
beginCreateOrUpdateAndWait(resourceGroupName, searchServiceName, service, options) {
|
|
2934
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2935
|
-
const poller = yield this.beginCreateOrUpdate(resourceGroupName, searchServiceName, service, options);
|
|
2936
|
-
return poller.pollUntilDone();
|
|
2937
|
-
});
|
|
2938
|
-
}
|
|
2939
|
-
/**
|
|
2940
|
-
* Updates an existing search service in the given resource group.
|
|
2941
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
2942
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2943
|
-
* @param searchServiceName The name of the Azure AI Search service to update.
|
|
2944
|
-
* @param service The definition of the search service to update.
|
|
2945
|
-
* @param options The options parameters.
|
|
2946
|
-
*/
|
|
2947
|
-
update(resourceGroupName, searchServiceName, service, options) {
|
|
2948
|
-
return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, service, options }, updateOperationSpec$1);
|
|
2949
|
-
}
|
|
2950
|
-
/**
|
|
2951
|
-
* Gets the search service with the given name in the given resource group.
|
|
2952
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
2953
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2954
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
2955
|
-
* resource group.
|
|
2956
|
-
* @param options The options parameters.
|
|
2957
|
-
*/
|
|
2958
|
-
get(resourceGroupName, searchServiceName, options) {
|
|
2959
|
-
return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, options }, getOperationSpec$3);
|
|
2960
|
-
}
|
|
2961
|
-
/**
|
|
2962
|
-
* Deletes a search service in the given resource group, along with its associated resources.
|
|
2963
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
2964
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2965
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
2966
|
-
* resource group.
|
|
2967
|
-
* @param options The options parameters.
|
|
2968
|
-
*/
|
|
2969
|
-
delete(resourceGroupName, searchServiceName, options) {
|
|
2970
|
-
return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, options }, deleteOperationSpec$2);
|
|
2971
|
-
}
|
|
2972
|
-
/**
|
|
2973
|
-
* Gets a list of all Search services in the given resource group.
|
|
2974
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
2975
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
2976
|
-
* @param options The options parameters.
|
|
2977
|
-
*/
|
|
2978
|
-
_listByResourceGroup(resourceGroupName, options) {
|
|
2979
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
2980
|
-
}
|
|
2981
|
-
/**
|
|
2982
|
-
* Gets a list of all Search services in the given subscription.
|
|
2983
|
-
* @param options The options parameters.
|
|
2984
|
-
*/
|
|
2985
|
-
_listBySubscription(options) {
|
|
2986
|
-
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec$1);
|
|
2987
|
-
}
|
|
2988
|
-
/**
|
|
2989
|
-
* Checks whether or not the given search service name is available for use. Search service names must
|
|
2990
|
-
* be globally unique since they are part of the service URI (https://<name>.search.windows.net).
|
|
2991
|
-
* @param name The search service name to validate. Search service names must only contain lowercase
|
|
2992
|
-
* letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain
|
|
2993
|
-
* consecutive dashes, and must be between 2 and 60 characters in length.
|
|
2994
|
-
* @param options The options parameters.
|
|
2995
|
-
*/
|
|
2996
|
-
checkNameAvailability(name, options) {
|
|
2997
|
-
return this.client.sendOperationRequest({ name, options }, checkNameAvailabilityOperationSpec);
|
|
2998
|
-
}
|
|
2999
|
-
/**
|
|
3000
|
-
* ListByResourceGroupNext
|
|
3001
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
3002
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
3003
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
3004
|
-
* @param options The options parameters.
|
|
3005
|
-
*/
|
|
3006
|
-
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
3007
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
3008
|
-
}
|
|
3009
|
-
/**
|
|
3010
|
-
* ListBySubscriptionNext
|
|
3011
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
3012
|
-
* @param options The options parameters.
|
|
3013
|
-
*/
|
|
3014
|
-
_listBySubscriptionNext(nextLink, options) {
|
|
3015
|
-
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec$1);
|
|
3016
|
-
}
|
|
3017
|
-
}
|
|
3018
|
-
// Operation Specifications
|
|
3019
|
-
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3020
|
-
const createOrUpdateOperationSpec$1 = {
|
|
3021
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}",
|
|
3022
|
-
httpMethod: "PUT",
|
|
3023
|
-
responses: {
|
|
3024
|
-
200: {
|
|
3025
|
-
bodyMapper: SearchService,
|
|
3026
|
-
},
|
|
3027
|
-
201: {
|
|
3028
|
-
bodyMapper: SearchService,
|
|
3029
|
-
},
|
|
3030
|
-
202: {
|
|
3031
|
-
bodyMapper: SearchService,
|
|
3032
|
-
},
|
|
3033
|
-
204: {
|
|
3034
|
-
bodyMapper: SearchService,
|
|
3035
|
-
},
|
|
3036
|
-
default: {
|
|
3037
|
-
bodyMapper: CloudError,
|
|
3038
|
-
},
|
|
3039
|
-
},
|
|
3040
|
-
requestBody: service,
|
|
3041
|
-
queryParameters: [apiVersion],
|
|
3042
|
-
urlParameters: [
|
|
3043
|
-
$host,
|
|
3044
|
-
resourceGroupName,
|
|
3045
|
-
subscriptionId,
|
|
3046
|
-
searchServiceName1,
|
|
3047
|
-
],
|
|
3048
|
-
headerParameters: [
|
|
3049
|
-
accept,
|
|
3050
|
-
clientRequestId,
|
|
3051
|
-
contentType,
|
|
3052
|
-
],
|
|
3053
|
-
mediaType: "json",
|
|
3054
|
-
serializer: serializer$6,
|
|
3055
|
-
};
|
|
3056
|
-
const updateOperationSpec$1 = {
|
|
3057
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}",
|
|
3058
|
-
httpMethod: "PATCH",
|
|
3059
|
-
responses: {
|
|
3060
|
-
200: {
|
|
3061
|
-
bodyMapper: SearchService,
|
|
3062
|
-
},
|
|
3063
|
-
default: {
|
|
3064
|
-
bodyMapper: CloudError,
|
|
3065
|
-
},
|
|
3066
|
-
},
|
|
3067
|
-
requestBody: service1,
|
|
3068
|
-
queryParameters: [apiVersion],
|
|
3069
|
-
urlParameters: [
|
|
3070
|
-
$host,
|
|
3071
|
-
resourceGroupName,
|
|
3072
|
-
subscriptionId,
|
|
3073
|
-
searchServiceName1,
|
|
3074
|
-
],
|
|
3075
|
-
headerParameters: [
|
|
3076
|
-
accept,
|
|
3077
|
-
clientRequestId,
|
|
3078
|
-
contentType,
|
|
3079
|
-
],
|
|
3080
|
-
mediaType: "json",
|
|
3081
|
-
serializer: serializer$6,
|
|
3082
|
-
};
|
|
3083
|
-
const getOperationSpec$3 = {
|
|
3084
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}",
|
|
3085
|
-
httpMethod: "GET",
|
|
3086
|
-
responses: {
|
|
3087
|
-
200: {
|
|
3088
|
-
bodyMapper: SearchService,
|
|
3089
|
-
},
|
|
3090
|
-
default: {
|
|
3091
|
-
bodyMapper: CloudError,
|
|
3092
|
-
},
|
|
3093
|
-
},
|
|
3094
|
-
queryParameters: [apiVersion],
|
|
3095
|
-
urlParameters: [
|
|
3096
|
-
$host,
|
|
3097
|
-
resourceGroupName,
|
|
3098
|
-
searchServiceName,
|
|
3099
|
-
subscriptionId,
|
|
3100
|
-
],
|
|
3101
|
-
headerParameters: [accept, clientRequestId],
|
|
3102
|
-
serializer: serializer$6,
|
|
3103
|
-
};
|
|
3104
|
-
const deleteOperationSpec$2 = {
|
|
3105
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}",
|
|
3106
|
-
httpMethod: "DELETE",
|
|
3107
|
-
responses: {
|
|
3108
|
-
200: {},
|
|
3109
|
-
204: {},
|
|
3110
|
-
404: {},
|
|
3111
|
-
default: {
|
|
3112
|
-
bodyMapper: CloudError,
|
|
3113
|
-
},
|
|
3114
|
-
},
|
|
3115
|
-
queryParameters: [apiVersion],
|
|
3116
|
-
urlParameters: [
|
|
3117
|
-
$host,
|
|
3118
|
-
resourceGroupName,
|
|
3119
|
-
searchServiceName,
|
|
3120
|
-
subscriptionId,
|
|
3121
|
-
],
|
|
3122
|
-
headerParameters: [accept, clientRequestId],
|
|
3123
|
-
serializer: serializer$6,
|
|
3124
|
-
};
|
|
3125
|
-
const listByResourceGroupOperationSpec = {
|
|
3126
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices",
|
|
3127
|
-
httpMethod: "GET",
|
|
3128
|
-
responses: {
|
|
3129
|
-
200: {
|
|
3130
|
-
bodyMapper: SearchServiceListResult,
|
|
3131
|
-
},
|
|
3132
|
-
default: {
|
|
3133
|
-
bodyMapper: CloudError,
|
|
3134
|
-
},
|
|
3135
|
-
},
|
|
3136
|
-
queryParameters: [apiVersion],
|
|
3137
|
-
urlParameters: [
|
|
3138
|
-
$host,
|
|
3139
|
-
resourceGroupName,
|
|
3140
|
-
subscriptionId,
|
|
3141
|
-
],
|
|
3142
|
-
headerParameters: [accept, clientRequestId],
|
|
3143
|
-
serializer: serializer$6,
|
|
3144
|
-
};
|
|
3145
|
-
const listBySubscriptionOperationSpec$1 = {
|
|
3146
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Search/searchServices",
|
|
3147
|
-
httpMethod: "GET",
|
|
3148
|
-
responses: {
|
|
3149
|
-
200: {
|
|
3150
|
-
bodyMapper: SearchServiceListResult,
|
|
3151
|
-
},
|
|
3152
|
-
default: {
|
|
3153
|
-
bodyMapper: CloudError,
|
|
3154
|
-
},
|
|
3155
|
-
},
|
|
3156
|
-
queryParameters: [apiVersion],
|
|
3157
|
-
urlParameters: [$host, subscriptionId],
|
|
3158
|
-
headerParameters: [accept, clientRequestId],
|
|
3159
|
-
serializer: serializer$6,
|
|
3160
|
-
};
|
|
3161
|
-
const checkNameAvailabilityOperationSpec = {
|
|
3162
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Search/checkNameAvailability",
|
|
3163
|
-
httpMethod: "POST",
|
|
3164
|
-
responses: {
|
|
3165
|
-
200: {
|
|
3166
|
-
bodyMapper: CheckNameAvailabilityOutput,
|
|
3167
|
-
},
|
|
3168
|
-
default: {
|
|
3169
|
-
bodyMapper: CloudError,
|
|
3170
|
-
},
|
|
3171
|
-
},
|
|
3172
|
-
requestBody: {
|
|
3173
|
-
parameterPath: { name: ["name"], typeParam: ["typeParam"] },
|
|
3174
|
-
mapper: Object.assign(Object.assign({}, CheckNameAvailabilityInput), { required: true }),
|
|
3175
|
-
},
|
|
3176
|
-
queryParameters: [apiVersion],
|
|
3177
|
-
urlParameters: [$host, subscriptionId],
|
|
3178
|
-
headerParameters: [
|
|
3179
|
-
accept,
|
|
3180
|
-
clientRequestId,
|
|
3181
|
-
contentType,
|
|
3182
|
-
],
|
|
3183
|
-
mediaType: "json",
|
|
3184
|
-
serializer: serializer$6,
|
|
3185
|
-
};
|
|
3186
|
-
const listByResourceGroupNextOperationSpec = {
|
|
3187
|
-
path: "{nextLink}",
|
|
3188
|
-
httpMethod: "GET",
|
|
3189
|
-
responses: {
|
|
3190
|
-
200: {
|
|
3191
|
-
bodyMapper: SearchServiceListResult,
|
|
3192
|
-
},
|
|
3193
|
-
default: {
|
|
3194
|
-
bodyMapper: CloudError,
|
|
3195
|
-
},
|
|
3196
|
-
},
|
|
3197
|
-
urlParameters: [
|
|
3198
|
-
$host,
|
|
3199
|
-
resourceGroupName,
|
|
3200
|
-
subscriptionId,
|
|
3201
|
-
nextLink,
|
|
3202
|
-
],
|
|
3203
|
-
headerParameters: [accept, clientRequestId],
|
|
3204
|
-
serializer: serializer$6,
|
|
3205
|
-
};
|
|
3206
|
-
const listBySubscriptionNextOperationSpec$1 = {
|
|
3207
|
-
path: "{nextLink}",
|
|
3208
|
-
httpMethod: "GET",
|
|
3209
|
-
responses: {
|
|
3210
|
-
200: {
|
|
3211
|
-
bodyMapper: SearchServiceListResult,
|
|
3212
|
-
},
|
|
3213
|
-
default: {
|
|
3214
|
-
bodyMapper: CloudError,
|
|
3215
|
-
},
|
|
3216
|
-
},
|
|
3217
|
-
urlParameters: [
|
|
3218
|
-
$host,
|
|
3219
|
-
subscriptionId,
|
|
3220
|
-
nextLink,
|
|
3221
|
-
],
|
|
3222
|
-
headerParameters: [accept, clientRequestId],
|
|
3223
|
-
serializer: serializer$6,
|
|
3224
|
-
};
|
|
3225
|
-
|
|
3226
|
-
/*
|
|
3227
|
-
* Copyright (c) Microsoft Corporation.
|
|
3228
|
-
* Licensed under the MIT License.
|
|
3229
|
-
*
|
|
3230
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3231
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3232
|
-
*/
|
|
3233
|
-
/// <reference lib="esnext.asynciterable" />
|
|
3234
|
-
/** Class containing PrivateLinkResources operations. */
|
|
3235
|
-
class PrivateLinkResourcesImpl {
|
|
3236
|
-
/**
|
|
3237
|
-
* Initialize a new instance of the class PrivateLinkResources class.
|
|
3238
|
-
* @param client Reference to the service client
|
|
3239
|
-
*/
|
|
3240
|
-
constructor(client) {
|
|
3241
|
-
this.client = client;
|
|
3242
|
-
}
|
|
3243
|
-
/**
|
|
3244
|
-
* Gets a list of all supported private link resource types for the given service.
|
|
3245
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
3246
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
3247
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
3248
|
-
* resource group.
|
|
3249
|
-
* @param options The options parameters.
|
|
3250
|
-
*/
|
|
3251
|
-
listSupported(resourceGroupName, searchServiceName, options) {
|
|
3252
|
-
const iter = this.listSupportedPagingAll(resourceGroupName, searchServiceName, options);
|
|
3253
|
-
return {
|
|
3254
|
-
next() {
|
|
3255
|
-
return iter.next();
|
|
3256
|
-
},
|
|
3257
|
-
[Symbol.asyncIterator]() {
|
|
3258
|
-
return this;
|
|
3259
|
-
},
|
|
3260
|
-
byPage: (settings) => {
|
|
3261
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
3262
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
3263
|
-
}
|
|
3264
|
-
return this.listSupportedPagingPage(resourceGroupName, searchServiceName, options, settings);
|
|
3265
|
-
},
|
|
3266
|
-
};
|
|
3267
|
-
}
|
|
3268
|
-
listSupportedPagingPage(resourceGroupName, searchServiceName, options, _settings) {
|
|
3269
|
-
return tslib.__asyncGenerator(this, arguments, function* listSupportedPagingPage_1() {
|
|
3270
|
-
let result;
|
|
3271
|
-
result = yield tslib.__await(this._listSupported(resourceGroupName, searchServiceName, options));
|
|
3272
|
-
yield yield tslib.__await(result.value || []);
|
|
3273
|
-
});
|
|
3274
|
-
}
|
|
3275
|
-
listSupportedPagingAll(resourceGroupName, searchServiceName, options) {
|
|
3276
|
-
return tslib.__asyncGenerator(this, arguments, function* listSupportedPagingAll_1() {
|
|
3277
|
-
var _a, e_1, _b, _c;
|
|
3278
|
-
try {
|
|
3279
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listSupportedPagingPage(resourceGroupName, searchServiceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
3280
|
-
_c = _f.value;
|
|
3281
|
-
_d = false;
|
|
3282
|
-
const page = _c;
|
|
3283
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3284
|
-
}
|
|
3285
|
-
}
|
|
3286
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3287
|
-
finally {
|
|
3288
|
-
try {
|
|
3289
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3290
|
-
}
|
|
3291
|
-
finally { if (e_1) throw e_1.error; }
|
|
3292
|
-
}
|
|
3293
|
-
});
|
|
3294
|
-
}
|
|
3295
|
-
/**
|
|
3296
|
-
* Gets a list of all supported private link resource types for the given service.
|
|
3297
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
3298
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
3299
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
3300
|
-
* resource group.
|
|
3301
|
-
* @param options The options parameters.
|
|
3302
|
-
*/
|
|
3303
|
-
_listSupported(resourceGroupName, searchServiceName, options) {
|
|
3304
|
-
return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, options }, listSupportedOperationSpec);
|
|
3305
|
-
}
|
|
3306
|
-
}
|
|
3307
|
-
// Operation Specifications
|
|
3308
|
-
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3309
|
-
const listSupportedOperationSpec = {
|
|
3310
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateLinkResources",
|
|
3311
|
-
httpMethod: "GET",
|
|
3312
|
-
responses: {
|
|
3313
|
-
200: {
|
|
3314
|
-
bodyMapper: PrivateLinkResourcesResult,
|
|
3315
|
-
},
|
|
3316
|
-
default: {
|
|
3317
|
-
bodyMapper: CloudError,
|
|
3318
|
-
},
|
|
3319
|
-
},
|
|
3320
|
-
queryParameters: [apiVersion],
|
|
3321
|
-
urlParameters: [
|
|
3322
|
-
$host,
|
|
3323
|
-
resourceGroupName,
|
|
3324
|
-
searchServiceName,
|
|
3325
|
-
subscriptionId,
|
|
3326
|
-
],
|
|
3327
|
-
headerParameters: [accept, clientRequestId],
|
|
3328
|
-
serializer: serializer$5,
|
|
3329
|
-
};
|
|
3330
|
-
|
|
3331
|
-
/*
|
|
3332
|
-
* Copyright (c) Microsoft Corporation.
|
|
3333
|
-
* Licensed under the MIT License.
|
|
3334
|
-
*
|
|
3335
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3336
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3337
|
-
*/
|
|
3338
|
-
/// <reference lib="esnext.asynciterable" />
|
|
3339
|
-
/** Class containing PrivateEndpointConnections operations. */
|
|
3340
|
-
class PrivateEndpointConnectionsImpl {
|
|
3341
|
-
/**
|
|
3342
|
-
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
3343
|
-
* @param client Reference to the service client
|
|
3344
|
-
*/
|
|
3345
|
-
constructor(client) {
|
|
3346
|
-
this.client = client;
|
|
3347
|
-
}
|
|
3348
|
-
/**
|
|
3349
|
-
* Gets a list of all private endpoint connections in the given service.
|
|
3350
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
3351
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
3352
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
3353
|
-
* resource group.
|
|
3354
|
-
* @param options The options parameters.
|
|
3355
|
-
*/
|
|
3356
|
-
listByService(resourceGroupName, searchServiceName, options) {
|
|
3357
|
-
const iter = this.listByServicePagingAll(resourceGroupName, searchServiceName, options);
|
|
3358
|
-
return {
|
|
3359
|
-
next() {
|
|
3360
|
-
return iter.next();
|
|
3361
|
-
},
|
|
3362
|
-
[Symbol.asyncIterator]() {
|
|
3363
|
-
return this;
|
|
3364
|
-
},
|
|
3365
|
-
byPage: (settings) => {
|
|
3366
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
3367
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
3368
|
-
}
|
|
3369
|
-
return this.listByServicePagingPage(resourceGroupName, searchServiceName, options, settings);
|
|
3370
|
-
},
|
|
3371
|
-
};
|
|
3372
|
-
}
|
|
3373
|
-
listByServicePagingPage(resourceGroupName, searchServiceName, options, settings) {
|
|
3374
|
-
return tslib.__asyncGenerator(this, arguments, function* listByServicePagingPage_1() {
|
|
3375
|
-
let result;
|
|
3376
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
3377
|
-
if (!continuationToken) {
|
|
3378
|
-
result = yield tslib.__await(this._listByService(resourceGroupName, searchServiceName, options));
|
|
3379
|
-
let page = result.value || [];
|
|
3380
|
-
continuationToken = result.nextLink;
|
|
3381
|
-
setContinuationToken(page, continuationToken);
|
|
3382
|
-
yield yield tslib.__await(page);
|
|
3383
|
-
}
|
|
3384
|
-
while (continuationToken) {
|
|
3385
|
-
result = yield tslib.__await(this._listByServiceNext(resourceGroupName, searchServiceName, continuationToken, options));
|
|
3386
|
-
continuationToken = result.nextLink;
|
|
3387
|
-
let page = result.value || [];
|
|
3388
|
-
setContinuationToken(page, continuationToken);
|
|
3389
|
-
yield yield tslib.__await(page);
|
|
3390
|
-
}
|
|
3391
|
-
});
|
|
3392
|
-
}
|
|
3393
|
-
listByServicePagingAll(resourceGroupName, searchServiceName, options) {
|
|
3394
|
-
return tslib.__asyncGenerator(this, arguments, function* listByServicePagingAll_1() {
|
|
3395
|
-
var _a, e_1, _b, _c;
|
|
3396
|
-
try {
|
|
3397
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByServicePagingPage(resourceGroupName, searchServiceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
3398
|
-
_c = _f.value;
|
|
3399
|
-
_d = false;
|
|
3400
|
-
const page = _c;
|
|
3401
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3402
|
-
}
|
|
3403
|
-
}
|
|
3404
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3405
|
-
finally {
|
|
3406
|
-
try {
|
|
3407
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3408
|
-
}
|
|
3409
|
-
finally { if (e_1) throw e_1.error; }
|
|
3410
|
-
}
|
|
3411
|
-
});
|
|
3412
|
-
}
|
|
3413
|
-
/**
|
|
3414
|
-
* Updates a private endpoint connection to the search service in the given resource group.
|
|
3415
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
3416
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
3417
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
3418
|
-
* resource group.
|
|
3419
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection to the Azure AI
|
|
3420
|
-
* Search service with the specified resource group.
|
|
3421
|
-
* @param privateEndpointConnection The definition of the private endpoint connection to update.
|
|
3422
|
-
* @param options The options parameters.
|
|
3423
|
-
*/
|
|
3424
|
-
update(resourceGroupName, searchServiceName, privateEndpointConnectionName, privateEndpointConnection, options) {
|
|
3425
|
-
return this.client.sendOperationRequest({
|
|
3426
|
-
resourceGroupName,
|
|
3427
|
-
searchServiceName,
|
|
3428
|
-
privateEndpointConnectionName,
|
|
3429
|
-
privateEndpointConnection,
|
|
3430
|
-
options,
|
|
3431
|
-
}, updateOperationSpec);
|
|
3432
|
-
}
|
|
3433
|
-
/**
|
|
3434
|
-
* Gets the details of the private endpoint connection to the search service in the given resource
|
|
3435
|
-
* group.
|
|
3436
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
3437
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
3438
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
3439
|
-
* resource group.
|
|
3440
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection to the Azure AI
|
|
3441
|
-
* Search service with the specified resource group.
|
|
3442
|
-
* @param options The options parameters.
|
|
3443
|
-
*/
|
|
3444
|
-
get(resourceGroupName, searchServiceName, privateEndpointConnectionName, options) {
|
|
3445
|
-
return this.client.sendOperationRequest({
|
|
3446
|
-
resourceGroupName,
|
|
3447
|
-
searchServiceName,
|
|
3448
|
-
privateEndpointConnectionName,
|
|
3449
|
-
options,
|
|
3450
|
-
}, getOperationSpec$2);
|
|
3451
|
-
}
|
|
3452
|
-
/**
|
|
3453
|
-
* Disconnects the private endpoint connection and deletes it from the search service.
|
|
3454
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
3455
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
3456
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
3457
|
-
* resource group.
|
|
3458
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection to the Azure AI
|
|
3459
|
-
* Search service with the specified resource group.
|
|
3460
|
-
* @param options The options parameters.
|
|
3461
|
-
*/
|
|
3462
|
-
delete(resourceGroupName, searchServiceName, privateEndpointConnectionName, options) {
|
|
3463
|
-
return this.client.sendOperationRequest({
|
|
3464
|
-
resourceGroupName,
|
|
3465
|
-
searchServiceName,
|
|
3466
|
-
privateEndpointConnectionName,
|
|
3467
|
-
options,
|
|
3468
|
-
}, deleteOperationSpec$1);
|
|
3469
|
-
}
|
|
3470
|
-
/**
|
|
3471
|
-
* Gets a list of all private endpoint connections in the given service.
|
|
3472
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
3473
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
3474
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
3475
|
-
* resource group.
|
|
3476
|
-
* @param options The options parameters.
|
|
3477
|
-
*/
|
|
3478
|
-
_listByService(resourceGroupName, searchServiceName, options) {
|
|
3479
|
-
return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, options }, listByServiceOperationSpec$2);
|
|
3480
|
-
}
|
|
3481
|
-
/**
|
|
3482
|
-
* ListByServiceNext
|
|
3483
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
3484
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
3485
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
3486
|
-
* resource group.
|
|
3487
|
-
* @param nextLink The nextLink from the previous successful call to the ListByService method.
|
|
3488
|
-
* @param options The options parameters.
|
|
3489
|
-
*/
|
|
3490
|
-
_listByServiceNext(resourceGroupName, searchServiceName, nextLink, options) {
|
|
3491
|
-
return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, nextLink, options }, listByServiceNextOperationSpec$2);
|
|
3492
|
-
}
|
|
3493
|
-
}
|
|
3494
|
-
// Operation Specifications
|
|
3495
|
-
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3496
|
-
const updateOperationSpec = {
|
|
3497
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
3498
|
-
httpMethod: "PUT",
|
|
3499
|
-
responses: {
|
|
3500
|
-
200: {
|
|
3501
|
-
bodyMapper: PrivateEndpointConnection,
|
|
3502
|
-
},
|
|
3503
|
-
default: {
|
|
3504
|
-
bodyMapper: CloudError,
|
|
3505
|
-
},
|
|
3506
|
-
},
|
|
3507
|
-
requestBody: privateEndpointConnection,
|
|
3508
|
-
queryParameters: [apiVersion],
|
|
3509
|
-
urlParameters: [
|
|
3510
|
-
$host,
|
|
3511
|
-
resourceGroupName,
|
|
3512
|
-
searchServiceName,
|
|
3513
|
-
subscriptionId,
|
|
3514
|
-
privateEndpointConnectionName,
|
|
3515
|
-
],
|
|
3516
|
-
headerParameters: [
|
|
3517
|
-
accept,
|
|
3518
|
-
clientRequestId,
|
|
3519
|
-
contentType,
|
|
3520
|
-
],
|
|
3521
|
-
mediaType: "json",
|
|
3522
|
-
serializer: serializer$4,
|
|
3523
|
-
};
|
|
3524
|
-
const getOperationSpec$2 = {
|
|
3525
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
3526
|
-
httpMethod: "GET",
|
|
3527
|
-
responses: {
|
|
3528
|
-
200: {
|
|
3529
|
-
bodyMapper: PrivateEndpointConnection,
|
|
3530
|
-
},
|
|
3531
|
-
default: {
|
|
3532
|
-
bodyMapper: CloudError,
|
|
3533
|
-
},
|
|
3534
|
-
},
|
|
3535
|
-
queryParameters: [apiVersion],
|
|
3536
|
-
urlParameters: [
|
|
3537
|
-
$host,
|
|
3538
|
-
resourceGroupName,
|
|
3539
|
-
searchServiceName,
|
|
3540
|
-
subscriptionId,
|
|
3541
|
-
privateEndpointConnectionName,
|
|
3542
|
-
],
|
|
3543
|
-
headerParameters: [accept, clientRequestId],
|
|
3544
|
-
serializer: serializer$4,
|
|
3545
|
-
};
|
|
3546
|
-
const deleteOperationSpec$1 = {
|
|
3547
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
3548
|
-
httpMethod: "DELETE",
|
|
3549
|
-
responses: {
|
|
3550
|
-
200: {
|
|
3551
|
-
bodyMapper: PrivateEndpointConnection,
|
|
3552
|
-
},
|
|
3553
|
-
404: {},
|
|
3554
|
-
default: {
|
|
3555
|
-
bodyMapper: CloudError,
|
|
3556
|
-
},
|
|
3557
|
-
},
|
|
3558
|
-
queryParameters: [apiVersion],
|
|
3559
|
-
urlParameters: [
|
|
3560
|
-
$host,
|
|
3561
|
-
resourceGroupName,
|
|
3562
|
-
searchServiceName,
|
|
3563
|
-
subscriptionId,
|
|
3564
|
-
privateEndpointConnectionName,
|
|
3565
|
-
],
|
|
3566
|
-
headerParameters: [accept, clientRequestId],
|
|
3567
|
-
serializer: serializer$4,
|
|
3568
|
-
};
|
|
3569
|
-
const listByServiceOperationSpec$2 = {
|
|
3570
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateEndpointConnections",
|
|
3571
|
-
httpMethod: "GET",
|
|
3572
|
-
responses: {
|
|
3573
|
-
200: {
|
|
3574
|
-
bodyMapper: PrivateEndpointConnectionListResult,
|
|
3575
|
-
},
|
|
3576
|
-
default: {
|
|
3577
|
-
bodyMapper: CloudError,
|
|
3578
|
-
},
|
|
3579
|
-
},
|
|
3580
|
-
queryParameters: [apiVersion],
|
|
3581
|
-
urlParameters: [
|
|
3582
|
-
$host,
|
|
3583
|
-
resourceGroupName,
|
|
3584
|
-
searchServiceName,
|
|
3585
|
-
subscriptionId,
|
|
3586
|
-
],
|
|
3587
|
-
headerParameters: [accept, clientRequestId],
|
|
3588
|
-
serializer: serializer$4,
|
|
3589
|
-
};
|
|
3590
|
-
const listByServiceNextOperationSpec$2 = {
|
|
3591
|
-
path: "{nextLink}",
|
|
3592
|
-
httpMethod: "GET",
|
|
3593
|
-
responses: {
|
|
3594
|
-
200: {
|
|
3595
|
-
bodyMapper: PrivateEndpointConnectionListResult,
|
|
3596
|
-
},
|
|
3597
|
-
default: {
|
|
3598
|
-
bodyMapper: CloudError,
|
|
3599
|
-
},
|
|
3600
|
-
},
|
|
3601
|
-
urlParameters: [
|
|
3602
|
-
$host,
|
|
3603
|
-
resourceGroupName,
|
|
3604
|
-
searchServiceName,
|
|
3605
|
-
subscriptionId,
|
|
3606
|
-
nextLink,
|
|
3607
|
-
],
|
|
3608
|
-
headerParameters: [accept, clientRequestId],
|
|
3609
|
-
serializer: serializer$4,
|
|
3610
|
-
};
|
|
3611
|
-
|
|
3612
|
-
/*
|
|
3613
|
-
* Copyright (c) Microsoft Corporation.
|
|
3614
|
-
* Licensed under the MIT License.
|
|
3615
|
-
*
|
|
3616
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3617
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3618
|
-
*/
|
|
3619
|
-
/// <reference lib="esnext.asynciterable" />
|
|
3620
|
-
/** Class containing SharedPrivateLinkResources operations. */
|
|
3621
|
-
class SharedPrivateLinkResourcesImpl {
|
|
3622
|
-
/**
|
|
3623
|
-
* Initialize a new instance of the class SharedPrivateLinkResources class.
|
|
3624
|
-
* @param client Reference to the service client
|
|
3625
|
-
*/
|
|
3626
|
-
constructor(client) {
|
|
3627
|
-
this.client = client;
|
|
3628
|
-
}
|
|
3629
|
-
/**
|
|
3630
|
-
* Gets a list of all shared private link resources managed by the given service.
|
|
3631
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
3632
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
3633
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
3634
|
-
* resource group.
|
|
3635
|
-
* @param options The options parameters.
|
|
3636
|
-
*/
|
|
3637
|
-
listByService(resourceGroupName, searchServiceName, options) {
|
|
3638
|
-
const iter = this.listByServicePagingAll(resourceGroupName, searchServiceName, options);
|
|
3639
|
-
return {
|
|
3640
|
-
next() {
|
|
3641
|
-
return iter.next();
|
|
3642
|
-
},
|
|
3643
|
-
[Symbol.asyncIterator]() {
|
|
3644
|
-
return this;
|
|
3645
|
-
},
|
|
3646
|
-
byPage: (settings) => {
|
|
3647
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
3648
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
3649
|
-
}
|
|
3650
|
-
return this.listByServicePagingPage(resourceGroupName, searchServiceName, options, settings);
|
|
3651
|
-
},
|
|
3652
|
-
};
|
|
3653
|
-
}
|
|
3654
|
-
listByServicePagingPage(resourceGroupName, searchServiceName, options, settings) {
|
|
3655
|
-
return tslib.__asyncGenerator(this, arguments, function* listByServicePagingPage_1() {
|
|
3656
|
-
let result;
|
|
3657
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
3658
|
-
if (!continuationToken) {
|
|
3659
|
-
result = yield tslib.__await(this._listByService(resourceGroupName, searchServiceName, options));
|
|
3660
|
-
let page = result.value || [];
|
|
3661
|
-
continuationToken = result.nextLink;
|
|
3662
|
-
setContinuationToken(page, continuationToken);
|
|
3663
|
-
yield yield tslib.__await(page);
|
|
3664
|
-
}
|
|
3665
|
-
while (continuationToken) {
|
|
3666
|
-
result = yield tslib.__await(this._listByServiceNext(resourceGroupName, searchServiceName, continuationToken, options));
|
|
3667
|
-
continuationToken = result.nextLink;
|
|
3668
|
-
let page = result.value || [];
|
|
3669
|
-
setContinuationToken(page, continuationToken);
|
|
3670
|
-
yield yield tslib.__await(page);
|
|
3671
|
-
}
|
|
3672
|
-
});
|
|
3673
|
-
}
|
|
3674
|
-
listByServicePagingAll(resourceGroupName, searchServiceName, options) {
|
|
3675
|
-
return tslib.__asyncGenerator(this, arguments, function* listByServicePagingAll_1() {
|
|
3676
|
-
var _a, e_1, _b, _c;
|
|
3677
|
-
try {
|
|
3678
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByServicePagingPage(resourceGroupName, searchServiceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
3679
|
-
_c = _f.value;
|
|
3680
|
-
_d = false;
|
|
3681
|
-
const page = _c;
|
|
3682
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3683
|
-
}
|
|
3684
|
-
}
|
|
3685
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3686
|
-
finally {
|
|
3687
|
-
try {
|
|
3688
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3689
|
-
}
|
|
3690
|
-
finally { if (e_1) throw e_1.error; }
|
|
3691
|
-
}
|
|
3692
|
-
});
|
|
3693
|
-
}
|
|
3694
|
-
/**
|
|
3695
|
-
* Initiates the creation or update of a shared private link resource managed by the search service in
|
|
3696
|
-
* the given resource group.
|
|
3697
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
3698
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
3699
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
3700
|
-
* resource group.
|
|
3701
|
-
* @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
|
|
3702
|
-
* Azure AI Search service within the specified resource group.
|
|
3703
|
-
* @param sharedPrivateLinkResource The definition of the shared private link resource to create or
|
|
3704
|
-
* update.
|
|
3705
|
-
* @param options The options parameters.
|
|
3706
|
-
*/
|
|
3707
|
-
beginCreateOrUpdate(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, sharedPrivateLinkResource, options) {
|
|
3708
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3709
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3710
|
-
return this.client.sendOperationRequest(args, spec);
|
|
3711
|
-
});
|
|
3712
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3713
|
-
var _a;
|
|
3714
|
-
let currentRawResponse = undefined;
|
|
3715
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3716
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3717
|
-
currentRawResponse = rawResponse;
|
|
3718
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3719
|
-
};
|
|
3720
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3721
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3722
|
-
return {
|
|
3723
|
-
flatResponse,
|
|
3724
|
-
rawResponse: {
|
|
3725
|
-
statusCode: currentRawResponse.status,
|
|
3726
|
-
body: currentRawResponse.parsedBody,
|
|
3727
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
3728
|
-
},
|
|
3729
|
-
};
|
|
3730
|
-
});
|
|
3731
|
-
const lro = createLroSpec({
|
|
3732
|
-
sendOperationFn,
|
|
3733
|
-
args: {
|
|
3734
|
-
resourceGroupName,
|
|
3735
|
-
searchServiceName,
|
|
3736
|
-
sharedPrivateLinkResourceName,
|
|
3737
|
-
sharedPrivateLinkResource,
|
|
3738
|
-
options,
|
|
3739
|
-
},
|
|
3740
|
-
spec: createOrUpdateOperationSpec,
|
|
3741
|
-
});
|
|
3742
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3743
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3744
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3745
|
-
resourceLocationConfig: "azure-async-operation",
|
|
3746
|
-
});
|
|
3747
|
-
yield poller.poll();
|
|
3748
|
-
return poller;
|
|
3749
|
-
});
|
|
3750
|
-
}
|
|
3751
|
-
/**
|
|
3752
|
-
* Initiates the creation or update of a shared private link resource managed by the search service in
|
|
3753
|
-
* the given resource group.
|
|
3754
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
3755
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
3756
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
3757
|
-
* resource group.
|
|
3758
|
-
* @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
|
|
3759
|
-
* Azure AI Search service within the specified resource group.
|
|
3760
|
-
* @param sharedPrivateLinkResource The definition of the shared private link resource to create or
|
|
3761
|
-
* update.
|
|
3762
|
-
* @param options The options parameters.
|
|
3763
|
-
*/
|
|
3764
|
-
beginCreateOrUpdateAndWait(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, sharedPrivateLinkResource, options) {
|
|
3765
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3766
|
-
const poller = yield this.beginCreateOrUpdate(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, sharedPrivateLinkResource, options);
|
|
3767
|
-
return poller.pollUntilDone();
|
|
3768
|
-
});
|
|
3769
|
-
}
|
|
3770
|
-
/**
|
|
3771
|
-
* Gets the details of the shared private link resource managed by the search service in the given
|
|
3772
|
-
* resource group.
|
|
3773
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
3774
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
3775
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
3776
|
-
* resource group.
|
|
3777
|
-
* @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
|
|
3778
|
-
* Azure AI Search service within the specified resource group.
|
|
3779
|
-
* @param options The options parameters.
|
|
3780
|
-
*/
|
|
3781
|
-
get(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options) {
|
|
3782
|
-
return this.client.sendOperationRequest({
|
|
3783
|
-
resourceGroupName,
|
|
3784
|
-
searchServiceName,
|
|
3785
|
-
sharedPrivateLinkResourceName,
|
|
3786
|
-
options,
|
|
3787
|
-
}, getOperationSpec$1);
|
|
3788
|
-
}
|
|
3789
|
-
/**
|
|
3790
|
-
* Initiates the deletion of the shared private link resource from the search service.
|
|
3791
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
3792
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
3793
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
3794
|
-
* resource group.
|
|
3795
|
-
* @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
|
|
3796
|
-
* Azure AI Search service within the specified resource group.
|
|
3797
|
-
* @param options The options parameters.
|
|
3798
|
-
*/
|
|
3799
|
-
beginDelete(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options) {
|
|
3800
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3801
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3802
|
-
return this.client.sendOperationRequest(args, spec);
|
|
3803
|
-
});
|
|
3804
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3805
|
-
var _a;
|
|
3806
|
-
let currentRawResponse = undefined;
|
|
3807
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3808
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3809
|
-
currentRawResponse = rawResponse;
|
|
3810
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3811
|
-
};
|
|
3812
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3813
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3814
|
-
return {
|
|
3815
|
-
flatResponse,
|
|
3816
|
-
rawResponse: {
|
|
3817
|
-
statusCode: currentRawResponse.status,
|
|
3818
|
-
body: currentRawResponse.parsedBody,
|
|
3819
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
3820
|
-
},
|
|
3821
|
-
};
|
|
3822
|
-
});
|
|
3823
|
-
const lro = createLroSpec({
|
|
3824
|
-
sendOperationFn,
|
|
3825
|
-
args: {
|
|
3826
|
-
resourceGroupName,
|
|
3827
|
-
searchServiceName,
|
|
3828
|
-
sharedPrivateLinkResourceName,
|
|
3829
|
-
options,
|
|
3830
|
-
},
|
|
3831
|
-
spec: deleteOperationSpec,
|
|
3832
|
-
});
|
|
3833
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3834
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3835
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3836
|
-
resourceLocationConfig: "azure-async-operation",
|
|
3837
|
-
});
|
|
3838
|
-
yield poller.poll();
|
|
3839
|
-
return poller;
|
|
3840
|
-
});
|
|
3841
|
-
}
|
|
3842
|
-
/**
|
|
3843
|
-
* Initiates the deletion of the shared private link resource from the search service.
|
|
3844
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
3845
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
3846
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
3847
|
-
* resource group.
|
|
3848
|
-
* @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
|
|
3849
|
-
* Azure AI Search service within the specified resource group.
|
|
3850
|
-
* @param options The options parameters.
|
|
3851
|
-
*/
|
|
3852
|
-
beginDeleteAndWait(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options) {
|
|
3853
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3854
|
-
const poller = yield this.beginDelete(resourceGroupName, searchServiceName, sharedPrivateLinkResourceName, options);
|
|
3855
|
-
return poller.pollUntilDone();
|
|
3856
|
-
});
|
|
3857
|
-
}
|
|
3858
|
-
/**
|
|
3859
|
-
* Gets a list of all shared private link resources managed by the given service.
|
|
3860
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
3861
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
3862
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
3863
|
-
* resource group.
|
|
3864
|
-
* @param options The options parameters.
|
|
3865
|
-
*/
|
|
3866
|
-
_listByService(resourceGroupName, searchServiceName, options) {
|
|
3867
|
-
return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, options }, listByServiceOperationSpec$1);
|
|
3868
|
-
}
|
|
3869
|
-
/**
|
|
3870
|
-
* ListByServiceNext
|
|
3871
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
3872
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
3873
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
3874
|
-
* resource group.
|
|
3875
|
-
* @param nextLink The nextLink from the previous successful call to the ListByService method.
|
|
3876
|
-
* @param options The options parameters.
|
|
3877
|
-
*/
|
|
3878
|
-
_listByServiceNext(resourceGroupName, searchServiceName, nextLink, options) {
|
|
3879
|
-
return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, nextLink, options }, listByServiceNextOperationSpec$1);
|
|
3880
|
-
}
|
|
3881
|
-
}
|
|
3882
|
-
// Operation Specifications
|
|
3883
|
-
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3884
|
-
const createOrUpdateOperationSpec = {
|
|
3885
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
|
|
3886
|
-
httpMethod: "PUT",
|
|
3887
|
-
responses: {
|
|
3888
|
-
200: {
|
|
3889
|
-
bodyMapper: SharedPrivateLinkResource,
|
|
3890
|
-
},
|
|
3891
|
-
201: {
|
|
3892
|
-
bodyMapper: SharedPrivateLinkResource,
|
|
3893
|
-
},
|
|
3894
|
-
202: {
|
|
3895
|
-
bodyMapper: SharedPrivateLinkResource,
|
|
3896
|
-
},
|
|
3897
|
-
204: {
|
|
3898
|
-
bodyMapper: SharedPrivateLinkResource,
|
|
3899
|
-
},
|
|
3900
|
-
default: {
|
|
3901
|
-
bodyMapper: CloudError,
|
|
3902
|
-
},
|
|
3903
|
-
},
|
|
3904
|
-
requestBody: sharedPrivateLinkResource,
|
|
3905
|
-
queryParameters: [apiVersion],
|
|
3906
|
-
urlParameters: [
|
|
3907
|
-
$host,
|
|
3908
|
-
resourceGroupName,
|
|
3909
|
-
searchServiceName,
|
|
3910
|
-
subscriptionId,
|
|
3911
|
-
sharedPrivateLinkResourceName,
|
|
3912
|
-
],
|
|
3913
|
-
headerParameters: [
|
|
3914
|
-
accept,
|
|
3915
|
-
clientRequestId,
|
|
3916
|
-
contentType,
|
|
3917
|
-
],
|
|
3918
|
-
mediaType: "json",
|
|
3919
|
-
serializer: serializer$3,
|
|
3920
|
-
};
|
|
3921
|
-
const getOperationSpec$1 = {
|
|
3922
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
|
|
3923
|
-
httpMethod: "GET",
|
|
3924
|
-
responses: {
|
|
3925
|
-
200: {
|
|
3926
|
-
bodyMapper: SharedPrivateLinkResource,
|
|
3927
|
-
},
|
|
3928
|
-
default: {
|
|
3929
|
-
bodyMapper: CloudError,
|
|
3930
|
-
},
|
|
3931
|
-
},
|
|
3932
|
-
queryParameters: [apiVersion],
|
|
3933
|
-
urlParameters: [
|
|
3934
|
-
$host,
|
|
3935
|
-
resourceGroupName,
|
|
3936
|
-
searchServiceName,
|
|
3937
|
-
subscriptionId,
|
|
3938
|
-
sharedPrivateLinkResourceName,
|
|
3939
|
-
],
|
|
3940
|
-
headerParameters: [accept, clientRequestId],
|
|
3941
|
-
serializer: serializer$3,
|
|
3942
|
-
};
|
|
3943
|
-
const deleteOperationSpec = {
|
|
3944
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}",
|
|
3945
|
-
httpMethod: "DELETE",
|
|
3946
|
-
responses: {
|
|
3947
|
-
200: {},
|
|
3948
|
-
201: {},
|
|
3949
|
-
202: {},
|
|
3950
|
-
204: {},
|
|
3951
|
-
default: {
|
|
3952
|
-
bodyMapper: CloudError,
|
|
3953
|
-
},
|
|
3954
|
-
},
|
|
3955
|
-
queryParameters: [apiVersion],
|
|
3956
|
-
urlParameters: [
|
|
3957
|
-
$host,
|
|
3958
|
-
resourceGroupName,
|
|
3959
|
-
searchServiceName,
|
|
3960
|
-
subscriptionId,
|
|
3961
|
-
sharedPrivateLinkResourceName,
|
|
3962
|
-
],
|
|
3963
|
-
headerParameters: [accept, clientRequestId],
|
|
3964
|
-
serializer: serializer$3,
|
|
3965
|
-
};
|
|
3966
|
-
const listByServiceOperationSpec$1 = {
|
|
3967
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources",
|
|
3968
|
-
httpMethod: "GET",
|
|
3969
|
-
responses: {
|
|
3970
|
-
200: {
|
|
3971
|
-
bodyMapper: SharedPrivateLinkResourceListResult,
|
|
3972
|
-
},
|
|
3973
|
-
default: {
|
|
3974
|
-
bodyMapper: CloudError,
|
|
3975
|
-
},
|
|
3976
|
-
},
|
|
3977
|
-
queryParameters: [apiVersion],
|
|
3978
|
-
urlParameters: [
|
|
3979
|
-
$host,
|
|
3980
|
-
resourceGroupName,
|
|
3981
|
-
searchServiceName,
|
|
3982
|
-
subscriptionId,
|
|
3983
|
-
],
|
|
3984
|
-
headerParameters: [accept, clientRequestId],
|
|
3985
|
-
serializer: serializer$3,
|
|
3986
|
-
};
|
|
3987
|
-
const listByServiceNextOperationSpec$1 = {
|
|
3988
|
-
path: "{nextLink}",
|
|
3989
|
-
httpMethod: "GET",
|
|
3990
|
-
responses: {
|
|
3991
|
-
200: {
|
|
3992
|
-
bodyMapper: SharedPrivateLinkResourceListResult,
|
|
3993
|
-
},
|
|
3994
|
-
default: {
|
|
3995
|
-
bodyMapper: CloudError,
|
|
3996
|
-
},
|
|
3997
|
-
},
|
|
3998
|
-
urlParameters: [
|
|
3999
|
-
$host,
|
|
4000
|
-
resourceGroupName,
|
|
4001
|
-
searchServiceName,
|
|
4002
|
-
subscriptionId,
|
|
4003
|
-
nextLink,
|
|
4004
|
-
],
|
|
4005
|
-
headerParameters: [accept, clientRequestId],
|
|
4006
|
-
serializer: serializer$3,
|
|
4007
|
-
};
|
|
4008
|
-
|
|
4009
|
-
/*
|
|
4010
|
-
* Copyright (c) Microsoft Corporation.
|
|
4011
|
-
* Licensed under the MIT License.
|
|
4012
|
-
*
|
|
4013
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4014
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4015
|
-
*/
|
|
4016
|
-
/// <reference lib="esnext.asynciterable" />
|
|
4017
|
-
/** Class containing Usages operations. */
|
|
4018
|
-
class UsagesImpl {
|
|
4019
|
-
/**
|
|
4020
|
-
* Initialize a new instance of the class Usages class.
|
|
4021
|
-
* @param client Reference to the service client
|
|
4022
|
-
*/
|
|
4023
|
-
constructor(client) {
|
|
4024
|
-
this.client = client;
|
|
4025
|
-
}
|
|
4026
|
-
/**
|
|
4027
|
-
* Get a list of all Azure AI Search quota usages across the subscription.
|
|
4028
|
-
* @param location The unique location name for a Microsoft Azure geographic region.
|
|
4029
|
-
* @param options The options parameters.
|
|
4030
|
-
*/
|
|
4031
|
-
listBySubscription(location, options) {
|
|
4032
|
-
const iter = this.listBySubscriptionPagingAll(location, options);
|
|
4033
|
-
return {
|
|
4034
|
-
next() {
|
|
4035
|
-
return iter.next();
|
|
4036
|
-
},
|
|
4037
|
-
[Symbol.asyncIterator]() {
|
|
4038
|
-
return this;
|
|
4039
|
-
},
|
|
4040
|
-
byPage: (settings) => {
|
|
4041
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4042
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
4043
|
-
}
|
|
4044
|
-
return this.listBySubscriptionPagingPage(location, options, settings);
|
|
4045
|
-
},
|
|
4046
|
-
};
|
|
4047
|
-
}
|
|
4048
|
-
listBySubscriptionPagingPage(location, options, settings) {
|
|
4049
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
4050
|
-
let result;
|
|
4051
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4052
|
-
if (!continuationToken) {
|
|
4053
|
-
result = yield tslib.__await(this._listBySubscription(location, options));
|
|
4054
|
-
let page = result.value || [];
|
|
4055
|
-
continuationToken = result.nextLink;
|
|
4056
|
-
setContinuationToken(page, continuationToken);
|
|
4057
|
-
yield yield tslib.__await(page);
|
|
4058
|
-
}
|
|
4059
|
-
while (continuationToken) {
|
|
4060
|
-
result = yield tslib.__await(this._listBySubscriptionNext(location, continuationToken, options));
|
|
4061
|
-
continuationToken = result.nextLink;
|
|
4062
|
-
let page = result.value || [];
|
|
4063
|
-
setContinuationToken(page, continuationToken);
|
|
4064
|
-
yield yield tslib.__await(page);
|
|
4065
|
-
}
|
|
4066
|
-
});
|
|
4067
|
-
}
|
|
4068
|
-
listBySubscriptionPagingAll(location, options) {
|
|
4069
|
-
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
4070
|
-
var _a, e_1, _b, _c;
|
|
4071
|
-
try {
|
|
4072
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
4073
|
-
_c = _f.value;
|
|
4074
|
-
_d = false;
|
|
4075
|
-
const page = _c;
|
|
4076
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4077
|
-
}
|
|
4078
|
-
}
|
|
4079
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
4080
|
-
finally {
|
|
4081
|
-
try {
|
|
4082
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
4083
|
-
}
|
|
4084
|
-
finally { if (e_1) throw e_1.error; }
|
|
4085
|
-
}
|
|
4086
|
-
});
|
|
4087
|
-
}
|
|
4088
|
-
/**
|
|
4089
|
-
* Get a list of all Azure AI Search quota usages across the subscription.
|
|
4090
|
-
* @param location The unique location name for a Microsoft Azure geographic region.
|
|
4091
|
-
* @param options The options parameters.
|
|
4092
|
-
*/
|
|
4093
|
-
_listBySubscription(location, options) {
|
|
4094
|
-
return this.client.sendOperationRequest({ location, options }, listBySubscriptionOperationSpec);
|
|
4095
|
-
}
|
|
4096
|
-
/**
|
|
4097
|
-
* ListBySubscriptionNext
|
|
4098
|
-
* @param location The unique location name for a Microsoft Azure geographic region.
|
|
4099
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
4100
|
-
* @param options The options parameters.
|
|
4101
|
-
*/
|
|
4102
|
-
_listBySubscriptionNext(location, nextLink, options) {
|
|
4103
|
-
return this.client.sendOperationRequest({ location, nextLink, options }, listBySubscriptionNextOperationSpec);
|
|
4104
|
-
}
|
|
4105
|
-
}
|
|
4106
|
-
// Operation Specifications
|
|
4107
|
-
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4108
|
-
const listBySubscriptionOperationSpec = {
|
|
4109
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages",
|
|
4110
|
-
httpMethod: "GET",
|
|
4111
|
-
responses: {
|
|
4112
|
-
200: {
|
|
4113
|
-
bodyMapper: QuotaUsagesListResult,
|
|
4114
|
-
},
|
|
4115
|
-
default: {
|
|
4116
|
-
bodyMapper: CloudError,
|
|
4117
|
-
},
|
|
4118
|
-
},
|
|
4119
|
-
queryParameters: [apiVersion],
|
|
4120
|
-
urlParameters: [
|
|
4121
|
-
$host,
|
|
4122
|
-
subscriptionId,
|
|
4123
|
-
location,
|
|
4124
|
-
],
|
|
4125
|
-
headerParameters: [accept, clientRequestId],
|
|
4126
|
-
serializer: serializer$2,
|
|
4127
|
-
};
|
|
4128
|
-
const listBySubscriptionNextOperationSpec = {
|
|
4129
|
-
path: "{nextLink}",
|
|
4130
|
-
httpMethod: "GET",
|
|
4131
|
-
responses: {
|
|
4132
|
-
200: {
|
|
4133
|
-
bodyMapper: QuotaUsagesListResult,
|
|
4134
|
-
},
|
|
4135
|
-
default: {
|
|
4136
|
-
bodyMapper: CloudError,
|
|
4137
|
-
},
|
|
4138
|
-
},
|
|
4139
|
-
urlParameters: [
|
|
4140
|
-
$host,
|
|
4141
|
-
subscriptionId,
|
|
4142
|
-
nextLink,
|
|
4143
|
-
location,
|
|
4144
|
-
],
|
|
4145
|
-
headerParameters: [accept, clientRequestId],
|
|
4146
|
-
serializer: serializer$2,
|
|
4147
|
-
};
|
|
4148
|
-
|
|
4149
|
-
/*
|
|
4150
|
-
* Copyright (c) Microsoft Corporation.
|
|
4151
|
-
* Licensed under the MIT License.
|
|
4152
|
-
*
|
|
4153
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4154
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4155
|
-
*/
|
|
4156
|
-
/// <reference lib="esnext.asynciterable" />
|
|
4157
|
-
/** Class containing NetworkSecurityPerimeterConfigurations operations. */
|
|
4158
|
-
class NetworkSecurityPerimeterConfigurationsImpl {
|
|
4159
|
-
/**
|
|
4160
|
-
* Initialize a new instance of the class NetworkSecurityPerimeterConfigurations class.
|
|
4161
|
-
* @param client Reference to the service client
|
|
4162
|
-
*/
|
|
4163
|
-
constructor(client) {
|
|
4164
|
-
this.client = client;
|
|
4165
|
-
}
|
|
4166
|
-
/**
|
|
4167
|
-
* Gets a list of network security perimeter configurations for a search service.
|
|
4168
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
4169
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
4170
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
4171
|
-
* resource group.
|
|
4172
|
-
* @param options The options parameters.
|
|
4173
|
-
*/
|
|
4174
|
-
listByService(resourceGroupName, searchServiceName, options) {
|
|
4175
|
-
const iter = this.listByServicePagingAll(resourceGroupName, searchServiceName, options);
|
|
4176
|
-
return {
|
|
4177
|
-
next() {
|
|
4178
|
-
return iter.next();
|
|
4179
|
-
},
|
|
4180
|
-
[Symbol.asyncIterator]() {
|
|
4181
|
-
return this;
|
|
4182
|
-
},
|
|
4183
|
-
byPage: (settings) => {
|
|
4184
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
4185
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
4186
|
-
}
|
|
4187
|
-
return this.listByServicePagingPage(resourceGroupName, searchServiceName, options, settings);
|
|
4188
|
-
},
|
|
4189
|
-
};
|
|
4190
|
-
}
|
|
4191
|
-
listByServicePagingPage(resourceGroupName, searchServiceName, options, settings) {
|
|
4192
|
-
return tslib.__asyncGenerator(this, arguments, function* listByServicePagingPage_1() {
|
|
4193
|
-
let result;
|
|
4194
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
4195
|
-
if (!continuationToken) {
|
|
4196
|
-
result = yield tslib.__await(this._listByService(resourceGroupName, searchServiceName, options));
|
|
4197
|
-
let page = result.value || [];
|
|
4198
|
-
continuationToken = result.nextLink;
|
|
4199
|
-
setContinuationToken(page, continuationToken);
|
|
4200
|
-
yield yield tslib.__await(page);
|
|
4201
|
-
}
|
|
4202
|
-
while (continuationToken) {
|
|
4203
|
-
result = yield tslib.__await(this._listByServiceNext(resourceGroupName, searchServiceName, continuationToken, options));
|
|
4204
|
-
continuationToken = result.nextLink;
|
|
4205
|
-
let page = result.value || [];
|
|
4206
|
-
setContinuationToken(page, continuationToken);
|
|
4207
|
-
yield yield tslib.__await(page);
|
|
4208
|
-
}
|
|
4209
|
-
});
|
|
4210
|
-
}
|
|
4211
|
-
listByServicePagingAll(resourceGroupName, searchServiceName, options) {
|
|
4212
|
-
return tslib.__asyncGenerator(this, arguments, function* listByServicePagingAll_1() {
|
|
4213
|
-
var _a, e_1, _b, _c;
|
|
4214
|
-
try {
|
|
4215
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listByServicePagingPage(resourceGroupName, searchServiceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
4216
|
-
_c = _f.value;
|
|
4217
|
-
_d = false;
|
|
4218
|
-
const page = _c;
|
|
4219
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4220
|
-
}
|
|
4221
|
-
}
|
|
4222
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
4223
|
-
finally {
|
|
4224
|
-
try {
|
|
4225
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
4226
|
-
}
|
|
4227
|
-
finally { if (e_1) throw e_1.error; }
|
|
4228
|
-
}
|
|
4229
|
-
});
|
|
4230
|
-
}
|
|
4231
|
-
/**
|
|
4232
|
-
* Gets a list of network security perimeter configurations for a search service.
|
|
4233
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
4234
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
4235
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
4236
|
-
* resource group.
|
|
4237
|
-
* @param options The options parameters.
|
|
4238
|
-
*/
|
|
4239
|
-
_listByService(resourceGroupName, searchServiceName, options) {
|
|
4240
|
-
return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, options }, listByServiceOperationSpec);
|
|
4241
|
-
}
|
|
4242
|
-
/**
|
|
4243
|
-
* Gets a network security perimeter configuration.
|
|
4244
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
4245
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
4246
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
4247
|
-
* resource group.
|
|
4248
|
-
* @param nspConfigName The network security configuration name.
|
|
4249
|
-
* @param options The options parameters.
|
|
4250
|
-
*/
|
|
4251
|
-
get(resourceGroupName, searchServiceName, nspConfigName, options) {
|
|
4252
|
-
return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, nspConfigName, options }, getOperationSpec);
|
|
4253
|
-
}
|
|
4254
|
-
/**
|
|
4255
|
-
* Reconcile network security perimeter configuration for the Azure AI Search resource provider. This
|
|
4256
|
-
* triggers a manual resync with network security perimeter configurations by ensuring the search
|
|
4257
|
-
* service carries the latest configuration.
|
|
4258
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
4259
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
4260
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
4261
|
-
* resource group.
|
|
4262
|
-
* @param nspConfigName The network security configuration name.
|
|
4263
|
-
* @param options The options parameters.
|
|
4264
|
-
*/
|
|
4265
|
-
beginReconcile(resourceGroupName, searchServiceName, nspConfigName, options) {
|
|
4266
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4267
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4268
|
-
return this.client.sendOperationRequest(args, spec);
|
|
4269
|
-
});
|
|
4270
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4271
|
-
var _a;
|
|
4272
|
-
let currentRawResponse = undefined;
|
|
4273
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
4274
|
-
const callback = (rawResponse, flatResponse) => {
|
|
4275
|
-
currentRawResponse = rawResponse;
|
|
4276
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
4277
|
-
};
|
|
4278
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
4279
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
4280
|
-
return {
|
|
4281
|
-
flatResponse,
|
|
4282
|
-
rawResponse: {
|
|
4283
|
-
statusCode: currentRawResponse.status,
|
|
4284
|
-
body: currentRawResponse.parsedBody,
|
|
4285
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
4286
|
-
},
|
|
4287
|
-
};
|
|
4288
|
-
});
|
|
4289
|
-
const lro = createLroSpec({
|
|
4290
|
-
sendOperationFn,
|
|
4291
|
-
args: { resourceGroupName, searchServiceName, nspConfigName, options },
|
|
4292
|
-
spec: reconcileOperationSpec,
|
|
4293
|
-
});
|
|
4294
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
4295
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4296
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
4297
|
-
resourceLocationConfig: "location",
|
|
4298
|
-
});
|
|
4299
|
-
yield poller.poll();
|
|
4300
|
-
return poller;
|
|
4301
|
-
});
|
|
4302
|
-
}
|
|
4303
|
-
/**
|
|
4304
|
-
* Reconcile network security perimeter configuration for the Azure AI Search resource provider. This
|
|
4305
|
-
* triggers a manual resync with network security perimeter configurations by ensuring the search
|
|
4306
|
-
* service carries the latest configuration.
|
|
4307
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
4308
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
4309
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
4310
|
-
* resource group.
|
|
4311
|
-
* @param nspConfigName The network security configuration name.
|
|
4312
|
-
* @param options The options parameters.
|
|
4313
|
-
*/
|
|
4314
|
-
beginReconcileAndWait(resourceGroupName, searchServiceName, nspConfigName, options) {
|
|
4315
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4316
|
-
const poller = yield this.beginReconcile(resourceGroupName, searchServiceName, nspConfigName, options);
|
|
4317
|
-
return poller.pollUntilDone();
|
|
4318
|
-
});
|
|
4319
|
-
}
|
|
4320
|
-
/**
|
|
4321
|
-
* ListByServiceNext
|
|
4322
|
-
* @param resourceGroupName The name of the resource group within the current subscription. You can
|
|
4323
|
-
* obtain this value from the Azure Resource Manager API or the portal.
|
|
4324
|
-
* @param searchServiceName The name of the Azure AI Search service associated with the specified
|
|
4325
|
-
* resource group.
|
|
4326
|
-
* @param nextLink The nextLink from the previous successful call to the ListByService method.
|
|
4327
|
-
* @param options The options parameters.
|
|
4328
|
-
*/
|
|
4329
|
-
_listByServiceNext(resourceGroupName, searchServiceName, nextLink, options) {
|
|
4330
|
-
return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, nextLink, options }, listByServiceNextOperationSpec);
|
|
4331
|
-
}
|
|
4332
|
-
}
|
|
4333
|
-
// Operation Specifications
|
|
4334
|
-
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4335
|
-
const listByServiceOperationSpec = {
|
|
4336
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/networkSecurityPerimeterConfigurations",
|
|
4337
|
-
httpMethod: "GET",
|
|
4338
|
-
responses: {
|
|
4339
|
-
200: {
|
|
4340
|
-
bodyMapper: NetworkSecurityPerimeterConfigurationListResult,
|
|
4341
|
-
},
|
|
4342
|
-
default: {
|
|
4343
|
-
bodyMapper: CloudError,
|
|
4344
|
-
},
|
|
4345
|
-
},
|
|
4346
|
-
queryParameters: [apiVersion],
|
|
4347
|
-
urlParameters: [
|
|
4348
|
-
$host,
|
|
4349
|
-
resourceGroupName,
|
|
4350
|
-
searchServiceName,
|
|
4351
|
-
subscriptionId,
|
|
4352
|
-
],
|
|
4353
|
-
headerParameters: [accept],
|
|
4354
|
-
serializer: serializer$1,
|
|
4355
|
-
};
|
|
4356
|
-
const getOperationSpec = {
|
|
4357
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/networkSecurityPerimeterConfigurations/{nspConfigName}",
|
|
4358
|
-
httpMethod: "GET",
|
|
4359
|
-
responses: {
|
|
4360
|
-
200: {
|
|
4361
|
-
bodyMapper: NetworkSecurityPerimeterConfiguration,
|
|
4362
|
-
},
|
|
4363
|
-
default: {
|
|
4364
|
-
bodyMapper: CloudError,
|
|
4365
|
-
},
|
|
4366
|
-
},
|
|
4367
|
-
queryParameters: [apiVersion],
|
|
4368
|
-
urlParameters: [
|
|
4369
|
-
$host,
|
|
4370
|
-
resourceGroupName,
|
|
4371
|
-
searchServiceName,
|
|
4372
|
-
subscriptionId,
|
|
4373
|
-
nspConfigName,
|
|
4374
|
-
],
|
|
4375
|
-
headerParameters: [accept],
|
|
4376
|
-
serializer: serializer$1,
|
|
4377
|
-
};
|
|
4378
|
-
const reconcileOperationSpec = {
|
|
4379
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/networkSecurityPerimeterConfigurations/{nspConfigName}/reconcile",
|
|
4380
|
-
httpMethod: "POST",
|
|
4381
|
-
responses: {
|
|
4382
|
-
200: {
|
|
4383
|
-
headersMapper: NetworkSecurityPerimeterConfigurationsReconcileHeaders,
|
|
4384
|
-
},
|
|
4385
|
-
201: {
|
|
4386
|
-
headersMapper: NetworkSecurityPerimeterConfigurationsReconcileHeaders,
|
|
4387
|
-
},
|
|
4388
|
-
202: {
|
|
4389
|
-
headersMapper: NetworkSecurityPerimeterConfigurationsReconcileHeaders,
|
|
4390
|
-
},
|
|
4391
|
-
204: {
|
|
4392
|
-
headersMapper: NetworkSecurityPerimeterConfigurationsReconcileHeaders,
|
|
4393
|
-
},
|
|
4394
|
-
default: {
|
|
4395
|
-
bodyMapper: CloudError,
|
|
4396
|
-
},
|
|
4397
|
-
},
|
|
4398
|
-
queryParameters: [apiVersion],
|
|
4399
|
-
urlParameters: [
|
|
4400
|
-
$host,
|
|
4401
|
-
resourceGroupName,
|
|
4402
|
-
searchServiceName,
|
|
4403
|
-
subscriptionId,
|
|
4404
|
-
nspConfigName,
|
|
4405
|
-
],
|
|
4406
|
-
headerParameters: [accept],
|
|
4407
|
-
serializer: serializer$1,
|
|
4408
|
-
};
|
|
4409
|
-
const listByServiceNextOperationSpec = {
|
|
4410
|
-
path: "{nextLink}",
|
|
4411
|
-
httpMethod: "GET",
|
|
4412
|
-
responses: {
|
|
4413
|
-
200: {
|
|
4414
|
-
bodyMapper: NetworkSecurityPerimeterConfigurationListResult,
|
|
4415
|
-
},
|
|
4416
|
-
default: {
|
|
4417
|
-
bodyMapper: CloudError,
|
|
4418
|
-
},
|
|
4419
|
-
},
|
|
4420
|
-
urlParameters: [
|
|
4421
|
-
$host,
|
|
4422
|
-
resourceGroupName,
|
|
4423
|
-
searchServiceName,
|
|
4424
|
-
subscriptionId,
|
|
4425
|
-
nextLink,
|
|
4426
|
-
],
|
|
4427
|
-
headerParameters: [accept],
|
|
4428
|
-
serializer: serializer$1,
|
|
4429
|
-
};
|
|
4430
|
-
|
|
4431
|
-
/*
|
|
4432
|
-
* Copyright (c) Microsoft Corporation.
|
|
4433
|
-
* Licensed under the MIT License.
|
|
4434
|
-
*
|
|
4435
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4436
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4437
|
-
*/
|
|
4438
|
-
class SearchManagementClient extends coreClient__namespace.ServiceClient {
|
|
4439
|
-
/**
|
|
4440
|
-
* Initializes a new instance of the SearchManagementClient class.
|
|
4441
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
4442
|
-
* @param subscriptionId The unique identifier for a Microsoft Azure subscription. You can obtain this
|
|
4443
|
-
* value from the Azure Resource Manager API or the portal.
|
|
4444
|
-
* @param options The parameter options
|
|
4445
|
-
*/
|
|
4446
|
-
constructor(credentials, subscriptionId, options) {
|
|
4447
|
-
var _a, _b, _c;
|
|
4448
|
-
if (credentials === undefined) {
|
|
4449
|
-
throw new Error("'credentials' cannot be null");
|
|
4450
|
-
}
|
|
4451
|
-
if (subscriptionId === undefined) {
|
|
4452
|
-
throw new Error("'subscriptionId' cannot be null");
|
|
4453
|
-
}
|
|
4454
|
-
// Initializing default values for options
|
|
4455
|
-
if (!options) {
|
|
4456
|
-
options = {};
|
|
4457
|
-
}
|
|
4458
|
-
const defaults = {
|
|
4459
|
-
requestContentType: "application/json; charset=utf-8",
|
|
4460
|
-
credential: credentials,
|
|
4461
|
-
};
|
|
4462
|
-
const packageDetails = `azsdk-js-arm-search/4.0.0-beta.2`;
|
|
4463
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
4464
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
4465
|
-
: `${packageDetails}`;
|
|
4466
|
-
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
4467
|
-
userAgentPrefix,
|
|
4468
|
-
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
4469
|
-
super(optionsWithDefaults);
|
|
4470
|
-
let bearerTokenAuthenticationPolicyFound = false;
|
|
4471
|
-
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
4472
|
-
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
4473
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
4474
|
-
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
4475
|
-
}
|
|
4476
|
-
if (!options ||
|
|
4477
|
-
!options.pipeline ||
|
|
4478
|
-
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
4479
|
-
!bearerTokenAuthenticationPolicyFound) {
|
|
4480
|
-
this.pipeline.removePolicy({
|
|
4481
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName,
|
|
4482
|
-
});
|
|
4483
|
-
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
4484
|
-
credential: credentials,
|
|
4485
|
-
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
4486
|
-
challengeCallbacks: {
|
|
4487
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge,
|
|
4488
|
-
},
|
|
4489
|
-
}));
|
|
4490
|
-
}
|
|
4491
|
-
// Parameter assignments
|
|
4492
|
-
this.subscriptionId = subscriptionId;
|
|
4493
|
-
// Assigning values to Constant parameters
|
|
4494
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
4495
|
-
this.apiVersion = options.apiVersion || "2024-06-01-preview";
|
|
4496
|
-
this.operations = new OperationsImpl(this);
|
|
4497
|
-
this.adminKeys = new AdminKeysImpl(this);
|
|
4498
|
-
this.queryKeys = new QueryKeysImpl(this);
|
|
4499
|
-
this.services = new ServicesImpl(this);
|
|
4500
|
-
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
|
4501
|
-
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
|
4502
|
-
this.sharedPrivateLinkResources = new SharedPrivateLinkResourcesImpl(this);
|
|
4503
|
-
this.usages = new UsagesImpl(this);
|
|
4504
|
-
this.networkSecurityPerimeterConfigurations =
|
|
4505
|
-
new NetworkSecurityPerimeterConfigurationsImpl(this);
|
|
4506
|
-
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
4507
|
-
}
|
|
4508
|
-
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
4509
|
-
addCustomApiVersionPolicy(apiVersion) {
|
|
4510
|
-
if (!apiVersion) {
|
|
4511
|
-
return;
|
|
4512
|
-
}
|
|
4513
|
-
const apiVersionPolicy = {
|
|
4514
|
-
name: "CustomApiVersionPolicy",
|
|
4515
|
-
sendRequest(request, next) {
|
|
4516
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4517
|
-
const param = request.url.split("?");
|
|
4518
|
-
if (param.length > 1) {
|
|
4519
|
-
const newParams = param[1].split("&").map((item) => {
|
|
4520
|
-
if (item.indexOf("api-version") > -1) {
|
|
4521
|
-
return "api-version=" + apiVersion;
|
|
4522
|
-
}
|
|
4523
|
-
else {
|
|
4524
|
-
return item;
|
|
4525
|
-
}
|
|
4526
|
-
});
|
|
4527
|
-
request.url = param[0] + "?" + newParams.join("&");
|
|
4528
|
-
}
|
|
4529
|
-
return next(request);
|
|
4530
|
-
});
|
|
4531
|
-
},
|
|
4532
|
-
};
|
|
4533
|
-
this.pipeline.addPolicy(apiVersionPolicy);
|
|
4534
|
-
}
|
|
4535
|
-
/**
|
|
4536
|
-
* Gets the quota usage for a search sku in the given subscription.
|
|
4537
|
-
* @param location The unique location name for a Microsoft Azure geographic region.
|
|
4538
|
-
* @param skuName The unique SKU name that identifies a billable tier.
|
|
4539
|
-
* @param options The options parameters.
|
|
4540
|
-
*/
|
|
4541
|
-
usageBySubscriptionSku(location, skuName, options) {
|
|
4542
|
-
return this.sendOperationRequest({ location, skuName, options }, usageBySubscriptionSkuOperationSpec);
|
|
4543
|
-
}
|
|
4544
|
-
}
|
|
4545
|
-
// Operation Specifications
|
|
4546
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4547
|
-
const usageBySubscriptionSkuOperationSpec = {
|
|
4548
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/{skuName}",
|
|
4549
|
-
httpMethod: "GET",
|
|
4550
|
-
responses: {
|
|
4551
|
-
200: {
|
|
4552
|
-
bodyMapper: QuotaUsageResult,
|
|
4553
|
-
},
|
|
4554
|
-
default: {
|
|
4555
|
-
bodyMapper: CloudError,
|
|
4556
|
-
},
|
|
4557
|
-
},
|
|
4558
|
-
queryParameters: [apiVersion],
|
|
4559
|
-
urlParameters: [
|
|
4560
|
-
$host,
|
|
4561
|
-
subscriptionId,
|
|
4562
|
-
location,
|
|
4563
|
-
skuName,
|
|
4564
|
-
],
|
|
4565
|
-
headerParameters: [accept, clientRequestId],
|
|
4566
|
-
serializer,
|
|
4567
|
-
};
|
|
4568
|
-
|
|
4569
|
-
exports.SearchManagementClient = SearchManagementClient;
|
|
4570
|
-
exports.getContinuationToken = getContinuationToken;
|
|
4571
|
-
//# sourceMappingURL=index.js.map
|