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