@azure/arm-search 3.3.0-beta.2 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +83 -0
- package/README.md +3 -3
- package/dist/browser/lroImpl.d.ts +1 -1
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +375 -373
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +118 -60
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +13 -23
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +375 -607
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +1 -1
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/adminKeys.d.ts +3 -3
- package/dist/browser/operations/adminKeys.d.ts.map +1 -1
- package/dist/browser/operations/adminKeys.js +1 -0
- package/dist/browser/operations/adminKeys.js.map +1 -1
- package/dist/browser/operations/index.d.ts +0 -1
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +0 -1
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts +8 -8
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.js +37 -49
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
- package/dist/browser/operations/operations.d.ts +4 -4
- package/dist/browser/operations/operations.d.ts.map +1 -1
- package/dist/browser/operations/operations.js +10 -27
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.d.ts +4 -4
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.js +23 -40
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operations/privateLinkResources.d.ts +4 -4
- package/dist/browser/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/browser/operations/privateLinkResources.js +10 -27
- package/dist/browser/operations/privateLinkResources.js.map +1 -1
- package/dist/browser/operations/queryKeys.d.ts +4 -4
- package/dist/browser/operations/queryKeys.d.ts.map +1 -1
- package/dist/browser/operations/queryKeys.js +23 -40
- package/dist/browser/operations/queryKeys.js.map +1 -1
- package/dist/browser/operations/services.d.ts +7 -7
- package/dist/browser/operations/services.d.ts.map +1 -1
- package/dist/browser/operations/services.js +70 -94
- package/dist/browser/operations/services.js.map +1 -1
- package/dist/browser/operations/sharedPrivateLinkResources.d.ts +5 -5
- package/dist/browser/operations/sharedPrivateLinkResources.d.ts.map +1 -1
- package/dist/browser/operations/sharedPrivateLinkResources.js +45 -52
- package/dist/browser/operations/sharedPrivateLinkResources.js.map +1 -1
- package/dist/browser/operations/usages.d.ts +4 -4
- package/dist/browser/operations/usages.d.ts.map +1 -1
- package/dist/browser/operations/usages.js +23 -40
- package/dist/browser/operations/usages.js.map +1 -1
- package/dist/browser/operationsInterfaces/adminKeys.d.ts +1 -1
- package/dist/browser/operationsInterfaces/adminKeys.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/adminKeys.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts +0 -1
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +0 -1
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +6 -6
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts +2 -2
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts +2 -2
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/browser/operationsInterfaces/queryKeys.d.ts +2 -2
- package/dist/browser/operationsInterfaces/queryKeys.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/queryKeys.js.map +1 -1
- package/dist/browser/operationsInterfaces/services.d.ts +5 -5
- package/dist/browser/operationsInterfaces/services.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/services.js.map +1 -1
- package/dist/browser/operationsInterfaces/sharedPrivateLinkResources.d.ts +3 -3
- package/dist/browser/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -1
- package/dist/browser/operationsInterfaces/usages.d.ts +2 -2
- package/dist/browser/operationsInterfaces/usages.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/usages.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/browser/searchManagementClient.d.ts +4 -6
- package/dist/browser/searchManagementClient.d.ts.map +1 -1
- package/dist/browser/searchManagementClient.js +34 -16
- package/dist/browser/searchManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +375 -373
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +119 -61
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +13 -23
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +377 -609
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +1 -1
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +1 -1
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/adminKeys.d.ts +3 -3
- package/dist/commonjs/operations/adminKeys.d.ts.map +1 -1
- package/dist/commonjs/operations/adminKeys.js +1 -0
- package/dist/commonjs/operations/adminKeys.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts +0 -1
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +0 -1
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts +8 -8
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js +37 -48
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
- package/dist/commonjs/operations/operations.d.ts +4 -4
- package/dist/commonjs/operations/operations.d.ts.map +1 -1
- package/dist/commonjs/operations/operations.js +10 -26
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.d.ts +4 -4
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.js +23 -39
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operations/privateLinkResources.d.ts +4 -4
- package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/commonjs/operations/privateLinkResources.js +10 -26
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
- package/dist/commonjs/operations/queryKeys.d.ts +4 -4
- package/dist/commonjs/operations/queryKeys.d.ts.map +1 -1
- package/dist/commonjs/operations/queryKeys.js +23 -39
- package/dist/commonjs/operations/queryKeys.js.map +1 -1
- package/dist/commonjs/operations/services.d.ts +7 -7
- package/dist/commonjs/operations/services.d.ts.map +1 -1
- package/dist/commonjs/operations/services.js +70 -93
- package/dist/commonjs/operations/services.js.map +1 -1
- package/dist/commonjs/operations/sharedPrivateLinkResources.d.ts +5 -5
- package/dist/commonjs/operations/sharedPrivateLinkResources.d.ts.map +1 -1
- package/dist/commonjs/operations/sharedPrivateLinkResources.js +45 -51
- package/dist/commonjs/operations/sharedPrivateLinkResources.js.map +1 -1
- package/dist/commonjs/operations/usages.d.ts +4 -4
- package/dist/commonjs/operations/usages.d.ts.map +1 -1
- package/dist/commonjs/operations/usages.js +23 -39
- package/dist/commonjs/operations/usages.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/adminKeys.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/adminKeys.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/adminKeys.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +0 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +0 -1
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +6 -6
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/queryKeys.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/queryKeys.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/queryKeys.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/services.d.ts +5 -5
- package/dist/commonjs/operationsInterfaces/services.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/services.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/sharedPrivateLinkResources.d.ts +3 -3
- package/dist/commonjs/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/usages.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/usages.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/usages.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/searchManagementClient.d.ts +4 -6
- package/dist/commonjs/searchManagementClient.d.ts.map +1 -1
- package/dist/commonjs/searchManagementClient.js +33 -15
- package/dist/commonjs/searchManagementClient.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/lroImpl.d.ts +1 -1
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +7 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +375 -373
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +118 -60
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +13 -23
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +375 -607
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +1 -1
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +1 -1
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/adminKeys.d.ts +3 -3
- package/dist/esm/operations/adminKeys.d.ts.map +1 -1
- package/dist/esm/operations/adminKeys.js +1 -0
- package/dist/esm/operations/adminKeys.js.map +1 -1
- package/dist/esm/operations/index.d.ts +0 -1
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +0 -1
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts +8 -8
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.js +37 -49
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
- package/dist/esm/operations/operations.d.ts +4 -4
- package/dist/esm/operations/operations.d.ts.map +1 -1
- package/dist/esm/operations/operations.js +10 -27
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.d.ts +4 -4
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.js +23 -40
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operations/privateLinkResources.d.ts +4 -4
- package/dist/esm/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/esm/operations/privateLinkResources.js +10 -27
- package/dist/esm/operations/privateLinkResources.js.map +1 -1
- package/dist/esm/operations/queryKeys.d.ts +4 -4
- package/dist/esm/operations/queryKeys.d.ts.map +1 -1
- package/dist/esm/operations/queryKeys.js +23 -40
- package/dist/esm/operations/queryKeys.js.map +1 -1
- package/dist/esm/operations/services.d.ts +7 -7
- package/dist/esm/operations/services.d.ts.map +1 -1
- package/dist/esm/operations/services.js +70 -94
- package/dist/esm/operations/services.js.map +1 -1
- package/dist/esm/operations/sharedPrivateLinkResources.d.ts +5 -5
- package/dist/esm/operations/sharedPrivateLinkResources.d.ts.map +1 -1
- package/dist/esm/operations/sharedPrivateLinkResources.js +45 -52
- package/dist/esm/operations/sharedPrivateLinkResources.js.map +1 -1
- package/dist/esm/operations/usages.d.ts +4 -4
- package/dist/esm/operations/usages.d.ts.map +1 -1
- package/dist/esm/operations/usages.js +23 -40
- package/dist/esm/operations/usages.js.map +1 -1
- package/dist/esm/operationsInterfaces/adminKeys.d.ts +1 -1
- package/dist/esm/operationsInterfaces/adminKeys.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/adminKeys.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts +0 -1
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +0 -1
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +6 -6
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -1
- package/dist/esm/operationsInterfaces/operations.d.ts +2 -2
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/operations.js.map +1 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +2 -2
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/esm/operationsInterfaces/queryKeys.d.ts +2 -2
- package/dist/esm/operationsInterfaces/queryKeys.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/queryKeys.js.map +1 -1
- package/dist/esm/operationsInterfaces/services.d.ts +5 -5
- package/dist/esm/operationsInterfaces/services.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/services.js.map +1 -1
- package/dist/esm/operationsInterfaces/sharedPrivateLinkResources.d.ts +3 -3
- package/dist/esm/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -1
- package/dist/esm/operationsInterfaces/usages.d.ts +2 -2
- package/dist/esm/operationsInterfaces/usages.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/usages.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/esm/searchManagementClient.d.ts +4 -6
- package/dist/esm/searchManagementClient.d.ts.map +1 -1
- package/dist/esm/searchManagementClient.js +34 -16
- package/dist/esm/searchManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts +1 -1
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +7 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +375 -373
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +118 -60
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +13 -23
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +375 -607
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +1 -1
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +1 -1
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/adminKeys.d.ts +3 -3
- package/dist/react-native/operations/adminKeys.d.ts.map +1 -1
- package/dist/react-native/operations/adminKeys.js +1 -0
- package/dist/react-native/operations/adminKeys.js.map +1 -1
- package/dist/react-native/operations/index.d.ts +0 -1
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +0 -1
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts +8 -8
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js +37 -49
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
- package/dist/react-native/operations/operations.d.ts +4 -4
- package/dist/react-native/operations/operations.d.ts.map +1 -1
- package/dist/react-native/operations/operations.js +10 -27
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.d.ts +4 -4
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.js +23 -40
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operations/privateLinkResources.d.ts +4 -4
- package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/react-native/operations/privateLinkResources.js +10 -27
- package/dist/react-native/operations/privateLinkResources.js.map +1 -1
- package/dist/react-native/operations/queryKeys.d.ts +4 -4
- package/dist/react-native/operations/queryKeys.d.ts.map +1 -1
- package/dist/react-native/operations/queryKeys.js +23 -40
- package/dist/react-native/operations/queryKeys.js.map +1 -1
- package/dist/react-native/operations/services.d.ts +7 -7
- package/dist/react-native/operations/services.d.ts.map +1 -1
- package/dist/react-native/operations/services.js +70 -94
- package/dist/react-native/operations/services.js.map +1 -1
- package/dist/react-native/operations/sharedPrivateLinkResources.d.ts +5 -5
- package/dist/react-native/operations/sharedPrivateLinkResources.d.ts.map +1 -1
- package/dist/react-native/operations/sharedPrivateLinkResources.js +45 -52
- package/dist/react-native/operations/sharedPrivateLinkResources.js.map +1 -1
- package/dist/react-native/operations/usages.d.ts +4 -4
- package/dist/react-native/operations/usages.d.ts.map +1 -1
- package/dist/react-native/operations/usages.js +23 -40
- package/dist/react-native/operations/usages.js.map +1 -1
- package/dist/react-native/operationsInterfaces/adminKeys.d.ts +1 -1
- package/dist/react-native/operationsInterfaces/adminKeys.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/adminKeys.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +0 -1
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +0 -1
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +6 -6
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/react-native/operationsInterfaces/queryKeys.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/queryKeys.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/queryKeys.js.map +1 -1
- package/dist/react-native/operationsInterfaces/services.d.ts +5 -5
- package/dist/react-native/operationsInterfaces/services.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/services.js.map +1 -1
- package/dist/react-native/operationsInterfaces/sharedPrivateLinkResources.d.ts +3 -3
- package/dist/react-native/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -1
- package/dist/react-native/operationsInterfaces/usages.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/usages.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/usages.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/dist/react-native/searchManagementClient.d.ts +4 -6
- package/dist/react-native/searchManagementClient.d.ts.map +1 -1
- package/dist/react-native/searchManagementClient.js +34 -16
- package/dist/react-native/searchManagementClient.js.map +1 -1
- package/package.json +17 -26
- package/review/{arm-search.api.md → arm-search-node.api.md} +170 -215
- package/dist/browser/operations/offerings.d.ts +0 -26
- package/dist/browser/operations/offerings.d.ts.map +0 -1
- package/dist/browser/operations/offerings.js +0 -96
- package/dist/browser/operations/offerings.js.map +0 -1
- package/dist/browser/operationsInterfaces/offerings.d.ts +0 -11
- package/dist/browser/operationsInterfaces/offerings.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/offerings.js +0 -9
- package/dist/browser/operationsInterfaces/offerings.js.map +0 -1
- package/dist/commonjs/operations/offerings.d.ts +0 -26
- package/dist/commonjs/operations/offerings.d.ts.map +0 -1
- package/dist/commonjs/operations/offerings.js +0 -100
- package/dist/commonjs/operations/offerings.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/offerings.d.ts +0 -11
- package/dist/commonjs/operationsInterfaces/offerings.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/offerings.js +0 -10
- package/dist/commonjs/operationsInterfaces/offerings.js.map +0 -1
- package/dist/esm/operations/offerings.d.ts +0 -26
- package/dist/esm/operations/offerings.d.ts.map +0 -1
- package/dist/esm/operations/offerings.js +0 -96
- package/dist/esm/operations/offerings.js.map +0 -1
- package/dist/esm/operationsInterfaces/offerings.d.ts +0 -11
- package/dist/esm/operationsInterfaces/offerings.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/offerings.js +0 -9
- package/dist/esm/operationsInterfaces/offerings.js.map +0 -1
- package/dist/react-native/operations/offerings.d.ts +0 -26
- package/dist/react-native/operations/offerings.d.ts.map +0 -1
- package/dist/react-native/operations/offerings.js +0 -96
- package/dist/react-native/operations/offerings.js.map +0 -1
- package/dist/react-native/operationsInterfaces/offerings.d.ts +0 -11
- package/dist/react-native/operationsInterfaces/offerings.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/offerings.js +0 -9
- package/dist/react-native/operationsInterfaces/offerings.js.map +0 -1
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import type { Offerings } from "../operationsInterfaces/index.js";
|
|
3
|
-
import type { SearchManagementClient } from "../searchManagementClient.js";
|
|
4
|
-
import type { OfferingsByRegion, OfferingsListOptionalParams } from "../models/index.js";
|
|
5
|
-
/** Class containing Offerings operations. */
|
|
6
|
-
export declare class OfferingsImpl implements Offerings {
|
|
7
|
-
private readonly client;
|
|
8
|
-
/**
|
|
9
|
-
* Initialize a new instance of the class Offerings class.
|
|
10
|
-
* @param client Reference to the service client
|
|
11
|
-
*/
|
|
12
|
-
constructor(client: SearchManagementClient);
|
|
13
|
-
/**
|
|
14
|
-
* Lists all of the features and SKUs offered by the Azure AI Search service in each region.
|
|
15
|
-
* @param options The options parameters.
|
|
16
|
-
*/
|
|
17
|
-
list(options?: OfferingsListOptionalParams): PagedAsyncIterableIterator<OfferingsByRegion>;
|
|
18
|
-
private listPagingPage;
|
|
19
|
-
private listPagingAll;
|
|
20
|
-
/**
|
|
21
|
-
* Lists all of the features and SKUs offered by the Azure AI Search service in each region.
|
|
22
|
-
* @param options The options parameters.
|
|
23
|
-
*/
|
|
24
|
-
private _list;
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=offerings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"offerings.d.ts","sourceRoot":"","sources":["../../../src/operations/offerings.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AACnF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAIlE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,iBAAiB,EACjB,2BAA2B,EAE5B,MAAM,oBAAoB,CAAC;AAG5B,6CAA6C;AAC7C,qBAAa,aAAc,YAAW,SAAS;IAC7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,2BAA2B,GACpC,0BAA0B,CAAC,iBAAiB,CAAC;YAkBjC,cAAc;YASd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;CAGd"}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
-
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers.js";
|
|
11
|
-
import * as Parameters from "../models/parameters.js";
|
|
12
|
-
/// <reference lib="esnext.asynciterable" />
|
|
13
|
-
/** Class containing Offerings operations. */
|
|
14
|
-
export class OfferingsImpl {
|
|
15
|
-
/**
|
|
16
|
-
* Initialize a new instance of the class Offerings class.
|
|
17
|
-
* @param client Reference to the service client
|
|
18
|
-
*/
|
|
19
|
-
constructor(client) {
|
|
20
|
-
this.client = client;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Lists all of the features and SKUs offered by the Azure AI Search service in each region.
|
|
24
|
-
* @param options The options parameters.
|
|
25
|
-
*/
|
|
26
|
-
list(options) {
|
|
27
|
-
const iter = this.listPagingAll(options);
|
|
28
|
-
return {
|
|
29
|
-
next() {
|
|
30
|
-
return iter.next();
|
|
31
|
-
},
|
|
32
|
-
[Symbol.asyncIterator]() {
|
|
33
|
-
return this;
|
|
34
|
-
},
|
|
35
|
-
byPage: (settings) => {
|
|
36
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
37
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
38
|
-
}
|
|
39
|
-
return this.listPagingPage(options, settings);
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
listPagingPage(options, _settings) {
|
|
44
|
-
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
45
|
-
let result;
|
|
46
|
-
result = yield __await(this._list(options));
|
|
47
|
-
yield yield __await(result.value || []);
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
listPagingAll(options) {
|
|
51
|
-
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
52
|
-
var _a, e_1, _b, _c;
|
|
53
|
-
try {
|
|
54
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
55
|
-
_c = _f.value;
|
|
56
|
-
_d = false;
|
|
57
|
-
const page = _c;
|
|
58
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
62
|
-
finally {
|
|
63
|
-
try {
|
|
64
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
65
|
-
}
|
|
66
|
-
finally { if (e_1) throw e_1.error; }
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Lists all of the features and SKUs offered by the Azure AI Search service in each region.
|
|
72
|
-
* @param options The options parameters.
|
|
73
|
-
*/
|
|
74
|
-
_list(options) {
|
|
75
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
// Operation Specifications
|
|
79
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
80
|
-
const listOperationSpec = {
|
|
81
|
-
path: "/providers/Microsoft.Search/offerings",
|
|
82
|
-
httpMethod: "GET",
|
|
83
|
-
responses: {
|
|
84
|
-
200: {
|
|
85
|
-
bodyMapper: Mappers.OfferingsListResult,
|
|
86
|
-
},
|
|
87
|
-
default: {
|
|
88
|
-
bodyMapper: Mappers.CloudError,
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
queryParameters: [Parameters.apiVersion],
|
|
92
|
-
urlParameters: [Parameters.$host],
|
|
93
|
-
headerParameters: [Parameters.accept],
|
|
94
|
-
serializer,
|
|
95
|
-
};
|
|
96
|
-
//# sourceMappingURL=offerings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"offerings.js","sourceRoot":"","sources":["../../../src/operations/offerings.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAqC;QAErC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,OAAqC,EACrC,SAAwB;;YAExB,IAAI,MAA6B,CAAC;YAClC,MAAM,GAAG,cAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA,CAAC;YACnC,oBAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,CAAC;QAC3B,CAAC;KAAA;IAEc,aAAa,CAC1B,OAAqC;;;;gBAErC,KAAyB,eAAA,KAAA,cAAA,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAA,IAAA,+DAAE,CAAC;oBAA/B,cAA4B;oBAA5B,WAA4B;oBAA1C,MAAM,IAAI,KAAA,CAAA;oBACnB,cAAA,KAAK,CAAC,CAAC,iBAAA,cAAA,IAAI,CAAA,CAAA,CAAA,CAAC;gBACd,CAAC;;;;;;;;;QACH,CAAC;KAAA;IAED;;;OAGG;IACK,KAAK,CAAC,OAAqC;QACjD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,uCAAuC;IAC7C,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport type { Offerings } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { SearchManagementClient } from \"../searchManagementClient.js\";\nimport type {\n OfferingsByRegion,\n OfferingsListOptionalParams,\n OfferingsListResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Offerings operations. */\nexport class OfferingsImpl implements Offerings {\n private readonly client: SearchManagementClient;\n\n /**\n * Initialize a new instance of the class Offerings class.\n * @param client Reference to the service client\n */\n constructor(client: SearchManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the features and SKUs offered by the Azure AI Search service in each region.\n * @param options The options parameters.\n */\n public list(\n options?: OfferingsListOptionalParams,\n ): PagedAsyncIterableIterator<OfferingsByRegion> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: OfferingsListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<OfferingsByRegion[]> {\n let result: OfferingsListResponse;\n result = await this._list(options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n options?: OfferingsListOptionalParams,\n ): AsyncIterableIterator<OfferingsByRegion> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the features and SKUs offered by the Azure AI Search service in each region.\n * @param options The options parameters.\n */\n private _list(options?: OfferingsListOptionalParams): Promise<OfferingsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Search/offerings\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OfferingsListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import type { OfferingsByRegion, OfferingsListOptionalParams } from "../models/index.js";
|
|
3
|
-
/** Interface representing a Offerings. */
|
|
4
|
-
export interface Offerings {
|
|
5
|
-
/**
|
|
6
|
-
* Lists all of the features and SKUs offered by the Azure AI Search service in each region.
|
|
7
|
-
* @param options The options parameters.
|
|
8
|
-
*/
|
|
9
|
-
list(options?: OfferingsListOptionalParams): PagedAsyncIterableIterator<OfferingsByRegion>;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=offerings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"offerings.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/offerings.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAGzF,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,2BAA2B,GAAG,0BAA0B,CAAC,iBAAiB,CAAC,CAAC;CAC5F"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=offerings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"offerings.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/offerings.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type { OfferingsByRegion, OfferingsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Offerings. */\nexport interface Offerings {\n /**\n * Lists all of the features and SKUs offered by the Azure AI Search service in each region.\n * @param options The options parameters.\n */\n list(options?: OfferingsListOptionalParams): PagedAsyncIterableIterator<OfferingsByRegion>;\n}\n"]}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import type { Offerings } from "../operationsInterfaces/index.js";
|
|
3
|
-
import type { SearchManagementClient } from "../searchManagementClient.js";
|
|
4
|
-
import type { OfferingsByRegion, OfferingsListOptionalParams } from "../models/index.js";
|
|
5
|
-
/** Class containing Offerings operations. */
|
|
6
|
-
export declare class OfferingsImpl implements Offerings {
|
|
7
|
-
private readonly client;
|
|
8
|
-
/**
|
|
9
|
-
* Initialize a new instance of the class Offerings class.
|
|
10
|
-
* @param client Reference to the service client
|
|
11
|
-
*/
|
|
12
|
-
constructor(client: SearchManagementClient);
|
|
13
|
-
/**
|
|
14
|
-
* Lists all of the features and SKUs offered by the Azure AI Search service in each region.
|
|
15
|
-
* @param options The options parameters.
|
|
16
|
-
*/
|
|
17
|
-
list(options?: OfferingsListOptionalParams): PagedAsyncIterableIterator<OfferingsByRegion>;
|
|
18
|
-
private listPagingPage;
|
|
19
|
-
private listPagingAll;
|
|
20
|
-
/**
|
|
21
|
-
* Lists all of the features and SKUs offered by the Azure AI Search service in each region.
|
|
22
|
-
* @param options The options parameters.
|
|
23
|
-
*/
|
|
24
|
-
private _list;
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=offerings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"offerings.d.ts","sourceRoot":"","sources":["../../../src/operations/offerings.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AACnF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAIlE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,iBAAiB,EACjB,2BAA2B,EAE5B,MAAM,oBAAoB,CAAC;AAG5B,6CAA6C;AAC7C,qBAAa,aAAc,YAAW,SAAS;IAC7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,2BAA2B,GACpC,0BAA0B,CAAC,iBAAiB,CAAC;YAkBjC,cAAc;YASd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;CAGd"}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) Microsoft Corporation.
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.OfferingsImpl = void 0;
|
|
11
|
-
const tslib_1 = require("tslib");
|
|
12
|
-
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
13
|
-
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
14
|
-
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
|
-
/// <reference lib="esnext.asynciterable" />
|
|
16
|
-
/** Class containing Offerings operations. */
|
|
17
|
-
class OfferingsImpl {
|
|
18
|
-
/**
|
|
19
|
-
* Initialize a new instance of the class Offerings class.
|
|
20
|
-
* @param client Reference to the service client
|
|
21
|
-
*/
|
|
22
|
-
constructor(client) {
|
|
23
|
-
this.client = client;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Lists all of the features and SKUs offered by the Azure AI Search service in each region.
|
|
27
|
-
* @param options The options parameters.
|
|
28
|
-
*/
|
|
29
|
-
list(options) {
|
|
30
|
-
const iter = this.listPagingAll(options);
|
|
31
|
-
return {
|
|
32
|
-
next() {
|
|
33
|
-
return iter.next();
|
|
34
|
-
},
|
|
35
|
-
[Symbol.asyncIterator]() {
|
|
36
|
-
return this;
|
|
37
|
-
},
|
|
38
|
-
byPage: (settings) => {
|
|
39
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
40
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
41
|
-
}
|
|
42
|
-
return this.listPagingPage(options, settings);
|
|
43
|
-
},
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
listPagingPage(options, _settings) {
|
|
47
|
-
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
48
|
-
let result;
|
|
49
|
-
result = yield tslib_1.__await(this._list(options));
|
|
50
|
-
yield yield tslib_1.__await(result.value || []);
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
listPagingAll(options) {
|
|
54
|
-
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
55
|
-
var _a, e_1, _b, _c;
|
|
56
|
-
try {
|
|
57
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
58
|
-
_c = _f.value;
|
|
59
|
-
_d = false;
|
|
60
|
-
const page = _c;
|
|
61
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
65
|
-
finally {
|
|
66
|
-
try {
|
|
67
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
68
|
-
}
|
|
69
|
-
finally { if (e_1) throw e_1.error; }
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Lists all of the features and SKUs offered by the Azure AI Search service in each region.
|
|
75
|
-
* @param options The options parameters.
|
|
76
|
-
*/
|
|
77
|
-
_list(options) {
|
|
78
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
exports.OfferingsImpl = OfferingsImpl;
|
|
82
|
-
// Operation Specifications
|
|
83
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
84
|
-
const listOperationSpec = {
|
|
85
|
-
path: "/providers/Microsoft.Search/offerings",
|
|
86
|
-
httpMethod: "GET",
|
|
87
|
-
responses: {
|
|
88
|
-
200: {
|
|
89
|
-
bodyMapper: Mappers.OfferingsListResult,
|
|
90
|
-
},
|
|
91
|
-
default: {
|
|
92
|
-
bodyMapper: Mappers.CloudError,
|
|
93
|
-
},
|
|
94
|
-
},
|
|
95
|
-
queryParameters: [Parameters.apiVersion],
|
|
96
|
-
urlParameters: [Parameters.$host],
|
|
97
|
-
headerParameters: [Parameters.accept],
|
|
98
|
-
serializer,
|
|
99
|
-
};
|
|
100
|
-
//# sourceMappingURL=offerings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"offerings.js","sourceRoot":"","sources":["../../../src/operations/offerings.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAQtD,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAa,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAqC;QAErC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,OAAqC,EACrC,SAAwB;;YAExB,IAAI,MAA6B,CAAC;YAClC,MAAM,GAAG,sBAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA,CAAC;YACnC,4BAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,CAAC;QAC3B,CAAC;KAAA;IAEc,aAAa,CAC1B,OAAqC;;;;gBAErC,KAAyB,eAAA,KAAA,sBAAA,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAA,IAAA,uEAAE,CAAC;oBAA/B,cAA4B;oBAA5B,WAA4B;oBAA1C,MAAM,IAAI,KAAA,CAAA;oBACnB,sBAAA,KAAK,CAAC,CAAC,yBAAA,sBAAA,IAAI,CAAA,CAAA,CAAA,CAAC;gBACd,CAAC;;;;;;;;;QACH,CAAC;KAAA;IAED;;;OAGG;IACK,KAAK,CAAC,OAAqC;QACjD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;CACF;AA3DD,sCA2DC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,uCAAuC;IAC7C,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport type { Offerings } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { SearchManagementClient } from \"../searchManagementClient.js\";\nimport type {\n OfferingsByRegion,\n OfferingsListOptionalParams,\n OfferingsListResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Offerings operations. */\nexport class OfferingsImpl implements Offerings {\n private readonly client: SearchManagementClient;\n\n /**\n * Initialize a new instance of the class Offerings class.\n * @param client Reference to the service client\n */\n constructor(client: SearchManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the features and SKUs offered by the Azure AI Search service in each region.\n * @param options The options parameters.\n */\n public list(\n options?: OfferingsListOptionalParams,\n ): PagedAsyncIterableIterator<OfferingsByRegion> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: OfferingsListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<OfferingsByRegion[]> {\n let result: OfferingsListResponse;\n result = await this._list(options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n options?: OfferingsListOptionalParams,\n ): AsyncIterableIterator<OfferingsByRegion> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the features and SKUs offered by the Azure AI Search service in each region.\n * @param options The options parameters.\n */\n private _list(options?: OfferingsListOptionalParams): Promise<OfferingsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Search/offerings\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OfferingsListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import type { OfferingsByRegion, OfferingsListOptionalParams } from "../models/index.js";
|
|
3
|
-
/** Interface representing a Offerings. */
|
|
4
|
-
export interface Offerings {
|
|
5
|
-
/**
|
|
6
|
-
* Lists all of the features and SKUs offered by the Azure AI Search service in each region.
|
|
7
|
-
* @param options The options parameters.
|
|
8
|
-
*/
|
|
9
|
-
list(options?: OfferingsListOptionalParams): PagedAsyncIterableIterator<OfferingsByRegion>;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=offerings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"offerings.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/offerings.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAGzF,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,2BAA2B,GAAG,0BAA0B,CAAC,iBAAiB,CAAC,CAAC;CAC5F"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) Microsoft Corporation.
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
-
*/
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
//# sourceMappingURL=offerings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"offerings.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/offerings.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type { OfferingsByRegion, OfferingsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Offerings. */\nexport interface Offerings {\n /**\n * Lists all of the features and SKUs offered by the Azure AI Search service in each region.\n * @param options The options parameters.\n */\n list(options?: OfferingsListOptionalParams): PagedAsyncIterableIterator<OfferingsByRegion>;\n}\n"]}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import type { Offerings } from "../operationsInterfaces/index.js";
|
|
3
|
-
import type { SearchManagementClient } from "../searchManagementClient.js";
|
|
4
|
-
import type { OfferingsByRegion, OfferingsListOptionalParams } from "../models/index.js";
|
|
5
|
-
/** Class containing Offerings operations. */
|
|
6
|
-
export declare class OfferingsImpl implements Offerings {
|
|
7
|
-
private readonly client;
|
|
8
|
-
/**
|
|
9
|
-
* Initialize a new instance of the class Offerings class.
|
|
10
|
-
* @param client Reference to the service client
|
|
11
|
-
*/
|
|
12
|
-
constructor(client: SearchManagementClient);
|
|
13
|
-
/**
|
|
14
|
-
* Lists all of the features and SKUs offered by the Azure AI Search service in each region.
|
|
15
|
-
* @param options The options parameters.
|
|
16
|
-
*/
|
|
17
|
-
list(options?: OfferingsListOptionalParams): PagedAsyncIterableIterator<OfferingsByRegion>;
|
|
18
|
-
private listPagingPage;
|
|
19
|
-
private listPagingAll;
|
|
20
|
-
/**
|
|
21
|
-
* Lists all of the features and SKUs offered by the Azure AI Search service in each region.
|
|
22
|
-
* @param options The options parameters.
|
|
23
|
-
*/
|
|
24
|
-
private _list;
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=offerings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"offerings.d.ts","sourceRoot":"","sources":["../../../src/operations/offerings.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AACnF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAIlE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,iBAAiB,EACjB,2BAA2B,EAE5B,MAAM,oBAAoB,CAAC;AAG5B,6CAA6C;AAC7C,qBAAa,aAAc,YAAW,SAAS;IAC7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,2BAA2B,GACpC,0BAA0B,CAAC,iBAAiB,CAAC;YAkBjC,cAAc;YASd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;CAGd"}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
-
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers.js";
|
|
11
|
-
import * as Parameters from "../models/parameters.js";
|
|
12
|
-
/// <reference lib="esnext.asynciterable" />
|
|
13
|
-
/** Class containing Offerings operations. */
|
|
14
|
-
export class OfferingsImpl {
|
|
15
|
-
/**
|
|
16
|
-
* Initialize a new instance of the class Offerings class.
|
|
17
|
-
* @param client Reference to the service client
|
|
18
|
-
*/
|
|
19
|
-
constructor(client) {
|
|
20
|
-
this.client = client;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Lists all of the features and SKUs offered by the Azure AI Search service in each region.
|
|
24
|
-
* @param options The options parameters.
|
|
25
|
-
*/
|
|
26
|
-
list(options) {
|
|
27
|
-
const iter = this.listPagingAll(options);
|
|
28
|
-
return {
|
|
29
|
-
next() {
|
|
30
|
-
return iter.next();
|
|
31
|
-
},
|
|
32
|
-
[Symbol.asyncIterator]() {
|
|
33
|
-
return this;
|
|
34
|
-
},
|
|
35
|
-
byPage: (settings) => {
|
|
36
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
37
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
38
|
-
}
|
|
39
|
-
return this.listPagingPage(options, settings);
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
listPagingPage(options, _settings) {
|
|
44
|
-
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
45
|
-
let result;
|
|
46
|
-
result = yield __await(this._list(options));
|
|
47
|
-
yield yield __await(result.value || []);
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
listPagingAll(options) {
|
|
51
|
-
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
52
|
-
var _a, e_1, _b, _c;
|
|
53
|
-
try {
|
|
54
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
55
|
-
_c = _f.value;
|
|
56
|
-
_d = false;
|
|
57
|
-
const page = _c;
|
|
58
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
62
|
-
finally {
|
|
63
|
-
try {
|
|
64
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
65
|
-
}
|
|
66
|
-
finally { if (e_1) throw e_1.error; }
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Lists all of the features and SKUs offered by the Azure AI Search service in each region.
|
|
72
|
-
* @param options The options parameters.
|
|
73
|
-
*/
|
|
74
|
-
_list(options) {
|
|
75
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
// Operation Specifications
|
|
79
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
80
|
-
const listOperationSpec = {
|
|
81
|
-
path: "/providers/Microsoft.Search/offerings",
|
|
82
|
-
httpMethod: "GET",
|
|
83
|
-
responses: {
|
|
84
|
-
200: {
|
|
85
|
-
bodyMapper: Mappers.OfferingsListResult,
|
|
86
|
-
},
|
|
87
|
-
default: {
|
|
88
|
-
bodyMapper: Mappers.CloudError,
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
queryParameters: [Parameters.apiVersion],
|
|
92
|
-
urlParameters: [Parameters.$host],
|
|
93
|
-
headerParameters: [Parameters.accept],
|
|
94
|
-
serializer,
|
|
95
|
-
};
|
|
96
|
-
//# sourceMappingURL=offerings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"offerings.js","sourceRoot":"","sources":["../../../src/operations/offerings.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAQtD,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAqC;QAErC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,OAAqC,EACrC,SAAwB;;YAExB,IAAI,MAA6B,CAAC;YAClC,MAAM,GAAG,cAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA,CAAC;YACnC,oBAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,CAAC;QAC3B,CAAC;KAAA;IAEc,aAAa,CAC1B,OAAqC;;;;gBAErC,KAAyB,eAAA,KAAA,cAAA,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAA,IAAA,+DAAE,CAAC;oBAA/B,cAA4B;oBAA5B,WAA4B;oBAA1C,MAAM,IAAI,KAAA,CAAA;oBACnB,cAAA,KAAK,CAAC,CAAC,iBAAA,cAAA,IAAI,CAAA,CAAA,CAAA,CAAC;gBACd,CAAC;;;;;;;;;QACH,CAAC;KAAA;IAED;;;OAGG;IACK,KAAK,CAAC,OAAqC;QACjD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,uCAAuC;IAC7C,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport type { Offerings } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { SearchManagementClient } from \"../searchManagementClient.js\";\nimport type {\n OfferingsByRegion,\n OfferingsListOptionalParams,\n OfferingsListResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Offerings operations. */\nexport class OfferingsImpl implements Offerings {\n private readonly client: SearchManagementClient;\n\n /**\n * Initialize a new instance of the class Offerings class.\n * @param client Reference to the service client\n */\n constructor(client: SearchManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the features and SKUs offered by the Azure AI Search service in each region.\n * @param options The options parameters.\n */\n public list(\n options?: OfferingsListOptionalParams,\n ): PagedAsyncIterableIterator<OfferingsByRegion> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: OfferingsListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<OfferingsByRegion[]> {\n let result: OfferingsListResponse;\n result = await this._list(options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n options?: OfferingsListOptionalParams,\n ): AsyncIterableIterator<OfferingsByRegion> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the features and SKUs offered by the Azure AI Search service in each region.\n * @param options The options parameters.\n */\n private _list(options?: OfferingsListOptionalParams): Promise<OfferingsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Search/offerings\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OfferingsListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import type { OfferingsByRegion, OfferingsListOptionalParams } from "../models/index.js";
|
|
3
|
-
/** Interface representing a Offerings. */
|
|
4
|
-
export interface Offerings {
|
|
5
|
-
/**
|
|
6
|
-
* Lists all of the features and SKUs offered by the Azure AI Search service in each region.
|
|
7
|
-
* @param options The options parameters.
|
|
8
|
-
*/
|
|
9
|
-
list(options?: OfferingsListOptionalParams): PagedAsyncIterableIterator<OfferingsByRegion>;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=offerings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"offerings.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/offerings.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAGzF,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,2BAA2B,GAAG,0BAA0B,CAAC,iBAAiB,CAAC,CAAC;CAC5F"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=offerings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"offerings.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/offerings.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type { OfferingsByRegion, OfferingsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Offerings. */\nexport interface Offerings {\n /**\n * Lists all of the features and SKUs offered by the Azure AI Search service in each region.\n * @param options The options parameters.\n */\n list(options?: OfferingsListOptionalParams): PagedAsyncIterableIterator<OfferingsByRegion>;\n}\n"]}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import type { Offerings } from "../operationsInterfaces/index.js";
|
|
3
|
-
import type { SearchManagementClient } from "../searchManagementClient.js";
|
|
4
|
-
import type { OfferingsByRegion, OfferingsListOptionalParams } from "../models/index.js";
|
|
5
|
-
/** Class containing Offerings operations. */
|
|
6
|
-
export declare class OfferingsImpl implements Offerings {
|
|
7
|
-
private readonly client;
|
|
8
|
-
/**
|
|
9
|
-
* Initialize a new instance of the class Offerings class.
|
|
10
|
-
* @param client Reference to the service client
|
|
11
|
-
*/
|
|
12
|
-
constructor(client: SearchManagementClient);
|
|
13
|
-
/**
|
|
14
|
-
* Lists all of the features and SKUs offered by the Azure AI Search service in each region.
|
|
15
|
-
* @param options The options parameters.
|
|
16
|
-
*/
|
|
17
|
-
list(options?: OfferingsListOptionalParams): PagedAsyncIterableIterator<OfferingsByRegion>;
|
|
18
|
-
private listPagingPage;
|
|
19
|
-
private listPagingAll;
|
|
20
|
-
/**
|
|
21
|
-
* Lists all of the features and SKUs offered by the Azure AI Search service in each region.
|
|
22
|
-
* @param options The options parameters.
|
|
23
|
-
*/
|
|
24
|
-
private _list;
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=offerings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"offerings.d.ts","sourceRoot":"","sources":["../../../src/operations/offerings.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AACnF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAIlE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,iBAAiB,EACjB,2BAA2B,EAE5B,MAAM,oBAAoB,CAAC;AAG5B,6CAA6C;AAC7C,qBAAa,aAAc,YAAW,SAAS;IAC7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,2BAA2B,GACpC,0BAA0B,CAAC,iBAAiB,CAAC;YAkBjC,cAAc;YASd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;CAGd"}
|