@azure/arm-eventgrid 14.2.0 → 15.0.0-alpha.20250730.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/README.md +5 -3
- package/dist/browser/eventGridManagementClient.d.ts +6 -4
- package/dist/browser/eventGridManagementClient.d.ts.map +1 -1
- package/dist/browser/eventGridManagementClient.js +54 -12
- package/dist/browser/eventGridManagementClient.js.map +1 -1
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +1000 -283
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +174 -16
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +48 -8
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +2025 -563
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +13 -6
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +116 -48
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/caCertificates.js +45 -52
- package/dist/browser/operations/caCertificates.js.map +1 -1
- package/dist/browser/operations/channels.js +34 -46
- package/dist/browser/operations/channels.js.map +1 -1
- package/dist/browser/operations/clientGroups.js +45 -52
- package/dist/browser/operations/clientGroups.js.map +1 -1
- package/dist/browser/operations/clients.js +45 -52
- package/dist/browser/operations/clients.js.map +1 -1
- package/dist/browser/operations/domainEventSubscriptions.js +56 -58
- package/dist/browser/operations/domainEventSubscriptions.js.map +1 -1
- package/dist/browser/operations/domainTopicEventSubscriptions.d.ts +10 -10
- package/dist/browser/operations/domainTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/browser/operations/domainTopicEventSubscriptions.js +94 -96
- package/dist/browser/operations/domainTopicEventSubscriptions.js.map +1 -1
- package/dist/browser/operations/domainTopics.js +45 -52
- package/dist/browser/operations/domainTopics.js.map +1 -1
- package/dist/browser/operations/domains.js +78 -97
- package/dist/browser/operations/domains.js.map +1 -1
- package/dist/browser/operations/eventSubscriptions.d.ts +15 -15
- package/dist/browser/operations/eventSubscriptions.d.ts.map +1 -1
- package/dist/browser/operations/eventSubscriptions.js +288 -443
- package/dist/browser/operations/eventSubscriptions.js.map +1 -1
- package/dist/browser/operations/extensionTopics.js +1 -0
- package/dist/browser/operations/extensionTopics.js.map +1 -1
- package/dist/browser/operations/index.d.ts +5 -3
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +5 -3
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/namespaceTopicEventSubscriptions.js +56 -58
- package/dist/browser/operations/namespaceTopicEventSubscriptions.js.map +1 -1
- package/dist/browser/operations/namespaceTopics.js +67 -64
- package/dist/browser/operations/namespaceTopics.js.map +1 -1
- package/dist/browser/operations/namespaces.js +100 -109
- package/dist/browser/operations/namespaces.js.map +1 -1
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts +68 -0
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.js +244 -0
- package/dist/browser/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/browser/operations/operations.js +10 -27
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/partnerConfigurations.js +65 -84
- package/dist/browser/operations/partnerConfigurations.js.map +1 -1
- package/dist/browser/operations/partnerDestinations.d.ts +114 -0
- package/dist/browser/operations/partnerDestinations.d.ts.map +1 -0
- package/dist/browser/operations/partnerDestinations.js +555 -0
- package/dist/browser/operations/partnerDestinations.js.map +1 -0
- package/dist/browser/operations/partnerNamespaces.js +78 -97
- package/dist/browser/operations/partnerNamespaces.js.map +1 -1
- package/dist/browser/operations/partnerRegistrations.js +78 -97
- package/dist/browser/operations/partnerRegistrations.js.map +1 -1
- package/dist/browser/operations/partnerTopicEventSubscriptions.js +56 -58
- package/dist/browser/operations/partnerTopicEventSubscriptions.js.map +1 -1
- package/dist/browser/operations/partnerTopics.js +56 -85
- package/dist/browser/operations/partnerTopics.js.map +1 -1
- package/dist/browser/operations/permissionBindings.js +45 -52
- package/dist/browser/operations/permissionBindings.js.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.js +45 -52
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operations/privateLinkResources.js +23 -40
- package/dist/browser/operations/privateLinkResources.js.map +1 -1
- package/dist/browser/operations/systemTopicEventSubscriptions.d.ts +9 -9
- package/dist/browser/operations/systemTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/browser/operations/systemTopicEventSubscriptions.js +86 -88
- package/dist/browser/operations/systemTopicEventSubscriptions.js.map +1 -1
- package/dist/browser/operations/systemTopics.js +78 -97
- package/dist/browser/operations/systemTopics.js.map +1 -1
- package/dist/browser/operations/topicEventSubscriptions.js +56 -58
- package/dist/browser/operations/topicEventSubscriptions.js.map +1 -1
- package/dist/browser/operations/topicSpaces.js +45 -52
- package/dist/browser/operations/topicSpaces.js.map +1 -1
- package/dist/browser/operations/topicTypes.js +19 -53
- package/dist/browser/operations/topicTypes.js.map +1 -1
- package/dist/browser/operations/topics.js +98 -129
- package/dist/browser/operations/topics.js.map +1 -1
- package/dist/browser/operations/verifiedPartners.js +23 -40
- package/dist/browser/operations/verifiedPartners.js.map +1 -1
- package/dist/browser/operationsInterfaces/domainTopicEventSubscriptions.d.ts +10 -10
- package/dist/browser/operationsInterfaces/domainTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/domainTopicEventSubscriptions.js.map +1 -1
- package/dist/browser/operationsInterfaces/eventSubscriptions.d.ts +15 -15
- package/dist/browser/operationsInterfaces/eventSubscriptions.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/eventSubscriptions.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts +5 -3
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +5 -3
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
- package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/browser/operationsInterfaces/partnerDestinations.d.ts +78 -0
- package/dist/browser/operationsInterfaces/partnerDestinations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/partnerDestinations.js +9 -0
- package/dist/browser/operationsInterfaces/partnerDestinations.js.map +1 -0
- package/dist/browser/operationsInterfaces/systemTopicEventSubscriptions.d.ts +9 -9
- package/dist/browser/operationsInterfaces/systemTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/systemTopicEventSubscriptions.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/eventGridManagementClient.d.ts +6 -4
- package/dist/commonjs/eventGridManagementClient.d.ts.map +1 -1
- package/dist/commonjs/eventGridManagementClient.js +53 -11
- package/dist/commonjs/eventGridManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1000 -283
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +176 -18
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +48 -8
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +2030 -568
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +13 -6
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +117 -49
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/caCertificates.js +45 -51
- package/dist/commonjs/operations/caCertificates.js.map +1 -1
- package/dist/commonjs/operations/channels.js +34 -45
- package/dist/commonjs/operations/channels.js.map +1 -1
- package/dist/commonjs/operations/clientGroups.js +45 -51
- package/dist/commonjs/operations/clientGroups.js.map +1 -1
- package/dist/commonjs/operations/clients.js +45 -51
- package/dist/commonjs/operations/clients.js.map +1 -1
- package/dist/commonjs/operations/domainEventSubscriptions.js +56 -57
- package/dist/commonjs/operations/domainEventSubscriptions.js.map +1 -1
- package/dist/commonjs/operations/domainTopicEventSubscriptions.d.ts +10 -10
- package/dist/commonjs/operations/domainTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/commonjs/operations/domainTopicEventSubscriptions.js +94 -95
- package/dist/commonjs/operations/domainTopicEventSubscriptions.js.map +1 -1
- package/dist/commonjs/operations/domainTopics.js +45 -51
- package/dist/commonjs/operations/domainTopics.js.map +1 -1
- package/dist/commonjs/operations/domains.js +78 -96
- package/dist/commonjs/operations/domains.js.map +1 -1
- package/dist/commonjs/operations/eventSubscriptions.d.ts +15 -15
- package/dist/commonjs/operations/eventSubscriptions.d.ts.map +1 -1
- package/dist/commonjs/operations/eventSubscriptions.js +288 -442
- package/dist/commonjs/operations/eventSubscriptions.js.map +1 -1
- package/dist/commonjs/operations/extensionTopics.js +1 -0
- package/dist/commonjs/operations/extensionTopics.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts +5 -3
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +5 -3
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/namespaceTopicEventSubscriptions.js +56 -57
- package/dist/commonjs/operations/namespaceTopicEventSubscriptions.js.map +1 -1
- package/dist/commonjs/operations/namespaceTopics.js +67 -63
- package/dist/commonjs/operations/namespaceTopics.js.map +1 -1
- package/dist/commonjs/operations/namespaces.js +100 -108
- package/dist/commonjs/operations/namespaces.js.map +1 -1
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts +68 -0
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js +249 -0
- package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/commonjs/operations/operations.js +10 -26
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/partnerConfigurations.js +65 -83
- package/dist/commonjs/operations/partnerConfigurations.js.map +1 -1
- package/dist/commonjs/operations/partnerDestinations.d.ts +114 -0
- package/dist/commonjs/operations/partnerDestinations.d.ts.map +1 -0
- package/dist/commonjs/operations/partnerDestinations.js +560 -0
- package/dist/commonjs/operations/partnerDestinations.js.map +1 -0
- package/dist/commonjs/operations/partnerNamespaces.js +78 -96
- package/dist/commonjs/operations/partnerNamespaces.js.map +1 -1
- package/dist/commonjs/operations/partnerRegistrations.js +78 -96
- package/dist/commonjs/operations/partnerRegistrations.js.map +1 -1
- package/dist/commonjs/operations/partnerTopicEventSubscriptions.js +56 -57
- package/dist/commonjs/operations/partnerTopicEventSubscriptions.js.map +1 -1
- package/dist/commonjs/operations/partnerTopics.js +56 -84
- package/dist/commonjs/operations/partnerTopics.js.map +1 -1
- package/dist/commonjs/operations/permissionBindings.js +45 -51
- package/dist/commonjs/operations/permissionBindings.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.js +45 -51
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operations/privateLinkResources.js +23 -39
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
- package/dist/commonjs/operations/systemTopicEventSubscriptions.d.ts +9 -9
- package/dist/commonjs/operations/systemTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/commonjs/operations/systemTopicEventSubscriptions.js +86 -87
- package/dist/commonjs/operations/systemTopicEventSubscriptions.js.map +1 -1
- package/dist/commonjs/operations/systemTopics.js +78 -96
- package/dist/commonjs/operations/systemTopics.js.map +1 -1
- package/dist/commonjs/operations/topicEventSubscriptions.js +56 -57
- package/dist/commonjs/operations/topicEventSubscriptions.js.map +1 -1
- package/dist/commonjs/operations/topicSpaces.js +45 -51
- package/dist/commonjs/operations/topicSpaces.js.map +1 -1
- package/dist/commonjs/operations/topicTypes.js +19 -52
- package/dist/commonjs/operations/topicTypes.js.map +1 -1
- package/dist/commonjs/operations/topics.js +98 -128
- package/dist/commonjs/operations/topics.js.map +1 -1
- package/dist/commonjs/operations/verifiedPartners.js +23 -39
- package/dist/commonjs/operations/verifiedPartners.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/domainTopicEventSubscriptions.d.ts +10 -10
- package/dist/commonjs/operationsInterfaces/domainTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/domainTopicEventSubscriptions.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/eventSubscriptions.d.ts +15 -15
- package/dist/commonjs/operationsInterfaces/eventSubscriptions.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/eventSubscriptions.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +5 -3
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +5 -3
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js +10 -0
- package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/partnerDestinations.d.ts +78 -0
- package/dist/commonjs/operationsInterfaces/partnerDestinations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/partnerDestinations.js +10 -0
- package/dist/commonjs/operationsInterfaces/partnerDestinations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/systemTopicEventSubscriptions.d.ts +9 -9
- package/dist/commonjs/operationsInterfaces/systemTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/systemTopicEventSubscriptions.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/eventGridManagementClient.d.ts +6 -4
- package/dist/esm/eventGridManagementClient.d.ts.map +1 -1
- package/dist/esm/eventGridManagementClient.js +54 -12
- package/dist/esm/eventGridManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +7 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +1000 -283
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +174 -16
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +48 -8
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +2025 -563
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +13 -6
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +116 -48
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/caCertificates.js +45 -52
- package/dist/esm/operations/caCertificates.js.map +1 -1
- package/dist/esm/operations/channels.js +34 -46
- package/dist/esm/operations/channels.js.map +1 -1
- package/dist/esm/operations/clientGroups.js +45 -52
- package/dist/esm/operations/clientGroups.js.map +1 -1
- package/dist/esm/operations/clients.js +45 -52
- package/dist/esm/operations/clients.js.map +1 -1
- package/dist/esm/operations/domainEventSubscriptions.js +56 -58
- package/dist/esm/operations/domainEventSubscriptions.js.map +1 -1
- package/dist/esm/operations/domainTopicEventSubscriptions.d.ts +10 -10
- package/dist/esm/operations/domainTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/esm/operations/domainTopicEventSubscriptions.js +94 -96
- package/dist/esm/operations/domainTopicEventSubscriptions.js.map +1 -1
- package/dist/esm/operations/domainTopics.js +45 -52
- package/dist/esm/operations/domainTopics.js.map +1 -1
- package/dist/esm/operations/domains.js +78 -97
- package/dist/esm/operations/domains.js.map +1 -1
- package/dist/esm/operations/eventSubscriptions.d.ts +15 -15
- package/dist/esm/operations/eventSubscriptions.d.ts.map +1 -1
- package/dist/esm/operations/eventSubscriptions.js +288 -443
- package/dist/esm/operations/eventSubscriptions.js.map +1 -1
- package/dist/esm/operations/extensionTopics.js +1 -0
- package/dist/esm/operations/extensionTopics.js.map +1 -1
- package/dist/esm/operations/index.d.ts +5 -3
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +5 -3
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/namespaceTopicEventSubscriptions.js +56 -58
- package/dist/esm/operations/namespaceTopicEventSubscriptions.js.map +1 -1
- package/dist/esm/operations/namespaceTopics.js +67 -64
- package/dist/esm/operations/namespaceTopics.js.map +1 -1
- package/dist/esm/operations/namespaces.js +100 -109
- package/dist/esm/operations/namespaces.js.map +1 -1
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts +68 -0
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.js +244 -0
- package/dist/esm/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/esm/operations/operations.js +10 -27
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/partnerConfigurations.js +65 -84
- package/dist/esm/operations/partnerConfigurations.js.map +1 -1
- package/dist/esm/operations/partnerDestinations.d.ts +114 -0
- package/dist/esm/operations/partnerDestinations.d.ts.map +1 -0
- package/dist/esm/operations/partnerDestinations.js +555 -0
- package/dist/esm/operations/partnerDestinations.js.map +1 -0
- package/dist/esm/operations/partnerNamespaces.js +78 -97
- package/dist/esm/operations/partnerNamespaces.js.map +1 -1
- package/dist/esm/operations/partnerRegistrations.js +78 -97
- package/dist/esm/operations/partnerRegistrations.js.map +1 -1
- package/dist/esm/operations/partnerTopicEventSubscriptions.js +56 -58
- package/dist/esm/operations/partnerTopicEventSubscriptions.js.map +1 -1
- package/dist/esm/operations/partnerTopics.js +56 -85
- package/dist/esm/operations/partnerTopics.js.map +1 -1
- package/dist/esm/operations/permissionBindings.js +45 -52
- package/dist/esm/operations/permissionBindings.js.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.js +45 -52
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operations/privateLinkResources.js +23 -40
- package/dist/esm/operations/privateLinkResources.js.map +1 -1
- package/dist/esm/operations/systemTopicEventSubscriptions.d.ts +9 -9
- package/dist/esm/operations/systemTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/esm/operations/systemTopicEventSubscriptions.js +86 -88
- package/dist/esm/operations/systemTopicEventSubscriptions.js.map +1 -1
- package/dist/esm/operations/systemTopics.js +78 -97
- package/dist/esm/operations/systemTopics.js.map +1 -1
- package/dist/esm/operations/topicEventSubscriptions.js +56 -58
- package/dist/esm/operations/topicEventSubscriptions.js.map +1 -1
- package/dist/esm/operations/topicSpaces.js +45 -52
- package/dist/esm/operations/topicSpaces.js.map +1 -1
- package/dist/esm/operations/topicTypes.js +19 -53
- package/dist/esm/operations/topicTypes.js.map +1 -1
- package/dist/esm/operations/topics.js +98 -129
- package/dist/esm/operations/topics.js.map +1 -1
- package/dist/esm/operations/verifiedPartners.js +23 -40
- package/dist/esm/operations/verifiedPartners.js.map +1 -1
- package/dist/esm/operationsInterfaces/domainTopicEventSubscriptions.d.ts +10 -10
- package/dist/esm/operationsInterfaces/domainTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/domainTopicEventSubscriptions.js.map +1 -1
- package/dist/esm/operationsInterfaces/eventSubscriptions.d.ts +15 -15
- package/dist/esm/operationsInterfaces/eventSubscriptions.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/eventSubscriptions.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts +5 -3
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +5 -3
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
- package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/esm/operationsInterfaces/partnerDestinations.d.ts +78 -0
- package/dist/esm/operationsInterfaces/partnerDestinations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/partnerDestinations.js +9 -0
- package/dist/esm/operationsInterfaces/partnerDestinations.js.map +1 -0
- package/dist/esm/operationsInterfaces/systemTopicEventSubscriptions.d.ts +9 -9
- package/dist/esm/operationsInterfaces/systemTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/systemTopicEventSubscriptions.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/eventGridManagementClient.d.ts +6 -4
- package/dist/react-native/eventGridManagementClient.d.ts.map +1 -1
- package/dist/react-native/eventGridManagementClient.js +54 -12
- package/dist/react-native/eventGridManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +7 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1000 -283
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +174 -16
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +48 -8
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +2025 -563
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +13 -6
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +116 -48
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/caCertificates.js +45 -52
- package/dist/react-native/operations/caCertificates.js.map +1 -1
- package/dist/react-native/operations/channels.js +34 -46
- package/dist/react-native/operations/channels.js.map +1 -1
- package/dist/react-native/operations/clientGroups.js +45 -52
- package/dist/react-native/operations/clientGroups.js.map +1 -1
- package/dist/react-native/operations/clients.js +45 -52
- package/dist/react-native/operations/clients.js.map +1 -1
- package/dist/react-native/operations/domainEventSubscriptions.js +56 -58
- package/dist/react-native/operations/domainEventSubscriptions.js.map +1 -1
- package/dist/react-native/operations/domainTopicEventSubscriptions.d.ts +10 -10
- package/dist/react-native/operations/domainTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/react-native/operations/domainTopicEventSubscriptions.js +94 -96
- package/dist/react-native/operations/domainTopicEventSubscriptions.js.map +1 -1
- package/dist/react-native/operations/domainTopics.js +45 -52
- package/dist/react-native/operations/domainTopics.js.map +1 -1
- package/dist/react-native/operations/domains.js +78 -97
- package/dist/react-native/operations/domains.js.map +1 -1
- package/dist/react-native/operations/eventSubscriptions.d.ts +15 -15
- package/dist/react-native/operations/eventSubscriptions.d.ts.map +1 -1
- package/dist/react-native/operations/eventSubscriptions.js +288 -443
- package/dist/react-native/operations/eventSubscriptions.js.map +1 -1
- package/dist/react-native/operations/extensionTopics.js +1 -0
- package/dist/react-native/operations/extensionTopics.js.map +1 -1
- package/dist/react-native/operations/index.d.ts +5 -3
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +5 -3
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/namespaceTopicEventSubscriptions.js +56 -58
- package/dist/react-native/operations/namespaceTopicEventSubscriptions.js.map +1 -1
- package/dist/react-native/operations/namespaceTopics.js +67 -64
- package/dist/react-native/operations/namespaceTopics.js.map +1 -1
- package/dist/react-native/operations/namespaces.js +100 -109
- package/dist/react-native/operations/namespaces.js.map +1 -1
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts +68 -0
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js +244 -0
- package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/react-native/operations/operations.js +10 -27
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/partnerConfigurations.js +65 -84
- package/dist/react-native/operations/partnerConfigurations.js.map +1 -1
- package/dist/react-native/operations/partnerDestinations.d.ts +114 -0
- package/dist/react-native/operations/partnerDestinations.d.ts.map +1 -0
- package/dist/react-native/operations/partnerDestinations.js +555 -0
- package/dist/react-native/operations/partnerDestinations.js.map +1 -0
- package/dist/react-native/operations/partnerNamespaces.js +78 -97
- package/dist/react-native/operations/partnerNamespaces.js.map +1 -1
- package/dist/react-native/operations/partnerRegistrations.js +78 -97
- package/dist/react-native/operations/partnerRegistrations.js.map +1 -1
- package/dist/react-native/operations/partnerTopicEventSubscriptions.js +56 -58
- package/dist/react-native/operations/partnerTopicEventSubscriptions.js.map +1 -1
- package/dist/react-native/operations/partnerTopics.js +56 -85
- package/dist/react-native/operations/partnerTopics.js.map +1 -1
- package/dist/react-native/operations/permissionBindings.js +45 -52
- package/dist/react-native/operations/permissionBindings.js.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.js +45 -52
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operations/privateLinkResources.js +23 -40
- package/dist/react-native/operations/privateLinkResources.js.map +1 -1
- package/dist/react-native/operations/systemTopicEventSubscriptions.d.ts +9 -9
- package/dist/react-native/operations/systemTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/react-native/operations/systemTopicEventSubscriptions.js +86 -88
- package/dist/react-native/operations/systemTopicEventSubscriptions.js.map +1 -1
- package/dist/react-native/operations/systemTopics.js +78 -97
- package/dist/react-native/operations/systemTopics.js.map +1 -1
- package/dist/react-native/operations/topicEventSubscriptions.js +56 -58
- package/dist/react-native/operations/topicEventSubscriptions.js.map +1 -1
- package/dist/react-native/operations/topicSpaces.js +45 -52
- package/dist/react-native/operations/topicSpaces.js.map +1 -1
- package/dist/react-native/operations/topicTypes.js +19 -53
- package/dist/react-native/operations/topicTypes.js.map +1 -1
- package/dist/react-native/operations/topics.js +98 -129
- package/dist/react-native/operations/topics.js.map +1 -1
- package/dist/react-native/operations/verifiedPartners.js +23 -40
- package/dist/react-native/operations/verifiedPartners.js.map +1 -1
- package/dist/react-native/operationsInterfaces/domainTopicEventSubscriptions.d.ts +10 -10
- package/dist/react-native/operationsInterfaces/domainTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/domainTopicEventSubscriptions.js.map +1 -1
- package/dist/react-native/operationsInterfaces/eventSubscriptions.d.ts +15 -15
- package/dist/react-native/operationsInterfaces/eventSubscriptions.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/eventSubscriptions.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +5 -3
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +5 -3
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
- package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/partnerDestinations.d.ts +78 -0
- package/dist/react-native/operationsInterfaces/partnerDestinations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/partnerDestinations.js +9 -0
- package/dist/react-native/operationsInterfaces/partnerDestinations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/systemTopicEventSubscriptions.d.ts +9 -9
- package/dist/react-native/operationsInterfaces/systemTopicEventSubscriptions.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/systemTopicEventSubscriptions.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +33 -46
- package/CHANGELOG.md +0 -2065
- package/review/arm-eventgrid.api.md +0 -4226
|
@@ -18,6 +18,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
|
|
|
18
18
|
/// <reference lib="esnext.asynciterable" />
|
|
19
19
|
/** Class containing PartnerRegistrations operations. */
|
|
20
20
|
class PartnerRegistrationsImpl {
|
|
21
|
+
client;
|
|
21
22
|
/**
|
|
22
23
|
* Initialize a new instance of the class PartnerRegistrations class.
|
|
23
24
|
* @param client Reference to the service client
|
|
@@ -39,52 +40,35 @@ class PartnerRegistrationsImpl {
|
|
|
39
40
|
return this;
|
|
40
41
|
},
|
|
41
42
|
byPage: (settings) => {
|
|
42
|
-
if (settings
|
|
43
|
+
if (settings?.maxPageSize) {
|
|
43
44
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
44
45
|
}
|
|
45
46
|
return this.listBySubscriptionPagingPage(options, settings);
|
|
46
47
|
},
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
|
-
listBySubscriptionPagingPage(options, settings) {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
});
|
|
50
|
+
async *listBySubscriptionPagingPage(options, settings) {
|
|
51
|
+
let result;
|
|
52
|
+
let continuationToken = settings?.continuationToken;
|
|
53
|
+
if (!continuationToken) {
|
|
54
|
+
result = await this._listBySubscription(options);
|
|
55
|
+
let page = result.value || [];
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
58
|
+
yield page;
|
|
59
|
+
}
|
|
60
|
+
while (continuationToken) {
|
|
61
|
+
result = await this._listBySubscriptionNext(continuationToken, options);
|
|
62
|
+
continuationToken = result.nextLink;
|
|
63
|
+
let page = result.value || [];
|
|
64
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
65
|
+
yield page;
|
|
66
|
+
}
|
|
68
67
|
}
|
|
69
|
-
listBySubscriptionPagingAll(options) {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
74
|
-
_c = _f.value;
|
|
75
|
-
_d = false;
|
|
76
|
-
const page = _c;
|
|
77
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
81
|
-
finally {
|
|
82
|
-
try {
|
|
83
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
84
|
-
}
|
|
85
|
-
finally { if (e_1) throw e_1.error; }
|
|
86
|
-
}
|
|
87
|
-
});
|
|
68
|
+
async *listBySubscriptionPagingAll(options) {
|
|
69
|
+
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
70
|
+
yield* page;
|
|
71
|
+
}
|
|
88
72
|
}
|
|
89
73
|
/**
|
|
90
74
|
* List all the partner registrations under a resource group.
|
|
@@ -101,52 +85,35 @@ class PartnerRegistrationsImpl {
|
|
|
101
85
|
return this;
|
|
102
86
|
},
|
|
103
87
|
byPage: (settings) => {
|
|
104
|
-
if (settings
|
|
88
|
+
if (settings?.maxPageSize) {
|
|
105
89
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
106
90
|
}
|
|
107
91
|
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
108
92
|
},
|
|
109
93
|
};
|
|
110
94
|
}
|
|
111
|
-
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}
|
|
129
|
-
});
|
|
95
|
+
async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
96
|
+
let result;
|
|
97
|
+
let continuationToken = settings?.continuationToken;
|
|
98
|
+
if (!continuationToken) {
|
|
99
|
+
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
100
|
+
let page = result.value || [];
|
|
101
|
+
continuationToken = result.nextLink;
|
|
102
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
103
|
+
yield page;
|
|
104
|
+
}
|
|
105
|
+
while (continuationToken) {
|
|
106
|
+
result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
|
|
107
|
+
continuationToken = result.nextLink;
|
|
108
|
+
let page = result.value || [];
|
|
109
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
110
|
+
yield page;
|
|
111
|
+
}
|
|
130
112
|
}
|
|
131
|
-
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
136
|
-
_c = _f.value;
|
|
137
|
-
_d = false;
|
|
138
|
-
const page = _c;
|
|
139
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
143
|
-
finally {
|
|
144
|
-
try {
|
|
145
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
146
|
-
}
|
|
147
|
-
finally { if (e_2) throw e_2.error; }
|
|
148
|
-
}
|
|
149
|
-
});
|
|
113
|
+
async *listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
114
|
+
for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
|
|
115
|
+
yield* page;
|
|
116
|
+
}
|
|
150
117
|
}
|
|
151
118
|
/**
|
|
152
119
|
* Gets a partner registration with the specified parameters.
|
|
@@ -169,14 +136,19 @@ class PartnerRegistrationsImpl {
|
|
|
169
136
|
return this.client.sendOperationRequest(args, spec);
|
|
170
137
|
};
|
|
171
138
|
const sendOperationFn = async (args, spec) => {
|
|
172
|
-
var _a;
|
|
173
139
|
let currentRawResponse = undefined;
|
|
174
|
-
const providedCallback =
|
|
140
|
+
const providedCallback = args.options?.onResponse;
|
|
175
141
|
const callback = (rawResponse, flatResponse) => {
|
|
176
142
|
currentRawResponse = rawResponse;
|
|
177
|
-
providedCallback
|
|
143
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
144
|
+
};
|
|
145
|
+
const updatedArgs = {
|
|
146
|
+
...args,
|
|
147
|
+
options: {
|
|
148
|
+
...args.options,
|
|
149
|
+
onResponse: callback,
|
|
150
|
+
},
|
|
178
151
|
};
|
|
179
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
180
152
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
181
153
|
return {
|
|
182
154
|
flatResponse,
|
|
@@ -198,8 +170,8 @@ class PartnerRegistrationsImpl {
|
|
|
198
170
|
spec: createOrUpdateOperationSpec,
|
|
199
171
|
});
|
|
200
172
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
201
|
-
restoreFrom: options
|
|
202
|
-
intervalInMs: options
|
|
173
|
+
restoreFrom: options?.resumeFrom,
|
|
174
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
203
175
|
});
|
|
204
176
|
await poller.poll();
|
|
205
177
|
return poller;
|
|
@@ -226,14 +198,19 @@ class PartnerRegistrationsImpl {
|
|
|
226
198
|
return this.client.sendOperationRequest(args, spec);
|
|
227
199
|
};
|
|
228
200
|
const sendOperationFn = async (args, spec) => {
|
|
229
|
-
var _a;
|
|
230
201
|
let currentRawResponse = undefined;
|
|
231
|
-
const providedCallback =
|
|
202
|
+
const providedCallback = args.options?.onResponse;
|
|
232
203
|
const callback = (rawResponse, flatResponse) => {
|
|
233
204
|
currentRawResponse = rawResponse;
|
|
234
|
-
providedCallback
|
|
205
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
206
|
+
};
|
|
207
|
+
const updatedArgs = {
|
|
208
|
+
...args,
|
|
209
|
+
options: {
|
|
210
|
+
...args.options,
|
|
211
|
+
onResponse: callback,
|
|
212
|
+
},
|
|
235
213
|
};
|
|
236
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
237
214
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
238
215
|
return {
|
|
239
216
|
flatResponse,
|
|
@@ -250,8 +227,8 @@ class PartnerRegistrationsImpl {
|
|
|
250
227
|
spec: deleteOperationSpec,
|
|
251
228
|
});
|
|
252
229
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
253
|
-
restoreFrom: options
|
|
254
|
-
intervalInMs: options
|
|
230
|
+
restoreFrom: options?.resumeFrom,
|
|
231
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
255
232
|
});
|
|
256
233
|
await poller.poll();
|
|
257
234
|
return poller;
|
|
@@ -278,14 +255,19 @@ class PartnerRegistrationsImpl {
|
|
|
278
255
|
return this.client.sendOperationRequest(args, spec);
|
|
279
256
|
};
|
|
280
257
|
const sendOperationFn = async (args, spec) => {
|
|
281
|
-
var _a;
|
|
282
258
|
let currentRawResponse = undefined;
|
|
283
|
-
const providedCallback =
|
|
259
|
+
const providedCallback = args.options?.onResponse;
|
|
284
260
|
const callback = (rawResponse, flatResponse) => {
|
|
285
261
|
currentRawResponse = rawResponse;
|
|
286
|
-
providedCallback
|
|
262
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
263
|
+
};
|
|
264
|
+
const updatedArgs = {
|
|
265
|
+
...args,
|
|
266
|
+
options: {
|
|
267
|
+
...args.options,
|
|
268
|
+
onResponse: callback,
|
|
269
|
+
},
|
|
287
270
|
};
|
|
288
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
289
271
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
290
272
|
return {
|
|
291
273
|
flatResponse,
|
|
@@ -307,8 +289,8 @@ class PartnerRegistrationsImpl {
|
|
|
307
289
|
spec: updateOperationSpec,
|
|
308
290
|
});
|
|
309
291
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
310
|
-
restoreFrom: options
|
|
311
|
-
intervalInMs: options
|
|
292
|
+
restoreFrom: options?.resumeFrom,
|
|
293
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
312
294
|
});
|
|
313
295
|
await poller.poll();
|
|
314
296
|
return poller;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partnerRegistrations.js","sourceRoot":"","sources":["../../../src/operations/partnerRegistrations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;A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,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { PartnerRegistrations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { EventGridManagementClient } from \"../eventGridManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n PartnerRegistration,\n PartnerRegistrationsListBySubscriptionNextOptionalParams,\n PartnerRegistrationsListBySubscriptionOptionalParams,\n PartnerRegistrationsListBySubscriptionResponse,\n PartnerRegistrationsListByResourceGroupNextOptionalParams,\n PartnerRegistrationsListByResourceGroupOptionalParams,\n PartnerRegistrationsListByResourceGroupResponse,\n PartnerRegistrationsGetOptionalParams,\n PartnerRegistrationsGetResponse,\n PartnerRegistrationsCreateOrUpdateOptionalParams,\n PartnerRegistrationsCreateOrUpdateResponse,\n PartnerRegistrationsDeleteOptionalParams,\n PartnerRegistrationUpdateParameters,\n PartnerRegistrationsUpdateOptionalParams,\n PartnerRegistrationsListBySubscriptionNextResponse,\n PartnerRegistrationsListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PartnerRegistrations operations. */\nexport class PartnerRegistrationsImpl implements PartnerRegistrations {\n private readonly client: EventGridManagementClient;\n\n /**\n * Initialize a new instance of the class PartnerRegistrations class.\n * @param client Reference to the service client\n */\n constructor(client: EventGridManagementClient) {\n this.client = client;\n }\n\n /**\n * List all the partner registrations under an Azure subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: PartnerRegistrationsListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<PartnerRegistration> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: PartnerRegistrationsListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PartnerRegistration[]> {\n let result: PartnerRegistrationsListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: PartnerRegistrationsListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<PartnerRegistration> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * List all the partner registrations under a resource group.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: PartnerRegistrationsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<PartnerRegistration> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: PartnerRegistrationsListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PartnerRegistration[]> {\n let result: PartnerRegistrationsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: PartnerRegistrationsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<PartnerRegistration> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets a partner registration with the specified parameters.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param partnerRegistrationName Name of the partner registration.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n partnerRegistrationName: string,\n options?: PartnerRegistrationsGetOptionalParams,\n ): Promise<PartnerRegistrationsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, partnerRegistrationName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates a new partner registration with the specified parameters.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param partnerRegistrationName Name of the partner registration.\n * @param partnerRegistrationInfo PartnerRegistration information.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n partnerRegistrationName: string,\n partnerRegistrationInfo: PartnerRegistration,\n options?: PartnerRegistrationsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PartnerRegistrationsCreateOrUpdateResponse>,\n PartnerRegistrationsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PartnerRegistrationsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n partnerRegistrationName,\n partnerRegistrationInfo,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n PartnerRegistrationsCreateOrUpdateResponse,\n OperationState<PartnerRegistrationsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a new partner registration with the specified parameters.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param partnerRegistrationName Name of the partner registration.\n * @param partnerRegistrationInfo PartnerRegistration information.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n partnerRegistrationName: string,\n partnerRegistrationInfo: PartnerRegistration,\n options?: PartnerRegistrationsCreateOrUpdateOptionalParams,\n ): Promise<PartnerRegistrationsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n partnerRegistrationName,\n partnerRegistrationInfo,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a partner registration with the specified parameters.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param partnerRegistrationName Name of the partner registration.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n partnerRegistrationName: string,\n options?: PartnerRegistrationsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, partnerRegistrationName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a partner registration with the specified parameters.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param partnerRegistrationName Name of the partner registration.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n partnerRegistrationName: string,\n options?: PartnerRegistrationsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n partnerRegistrationName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates a partner registration with the specified parameters.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param partnerRegistrationName Name of the partner registration.\n * @param partnerRegistrationUpdateParameters Partner registration update information.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n partnerRegistrationName: string,\n partnerRegistrationUpdateParameters: PartnerRegistrationUpdateParameters,\n options?: PartnerRegistrationsUpdateOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n partnerRegistrationName,\n partnerRegistrationUpdateParameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates a partner registration with the specified parameters.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param partnerRegistrationName Name of the partner registration.\n * @param partnerRegistrationUpdateParameters Partner registration update information.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n partnerRegistrationName: string,\n partnerRegistrationUpdateParameters: PartnerRegistrationUpdateParameters,\n options?: PartnerRegistrationsUpdateOptionalParams,\n ): Promise<void> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n partnerRegistrationName,\n partnerRegistrationUpdateParameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * List all the partner registrations under an Azure subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: PartnerRegistrationsListBySubscriptionOptionalParams,\n ): Promise<PartnerRegistrationsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\n /**\n * List all the partner registrations under a resource group.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: PartnerRegistrationsListByResourceGroupOptionalParams,\n ): Promise<PartnerRegistrationsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: PartnerRegistrationsListBySubscriptionNextOptionalParams,\n ): Promise<PartnerRegistrationsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: PartnerRegistrationsListByResourceGroupNextOptionalParams,\n ): Promise<PartnerRegistrationsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PartnerRegistration,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.partnerRegistrationName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PartnerRegistration,\n },\n 201: {\n bodyMapper: Mappers.PartnerRegistration,\n },\n 202: {\n bodyMapper: Mappers.PartnerRegistration,\n },\n 204: {\n bodyMapper: Mappers.PartnerRegistration,\n },\n default: {},\n },\n requestBody: Parameters.partnerRegistrationInfo,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.partnerRegistrationName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.partnerRegistrationName,\n ],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}\",\n httpMethod: \"PATCH\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },\n requestBody: Parameters.partnerRegistrationUpdateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.partnerRegistrationName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/partnerRegistrations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PartnerRegistrationsListResult,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PartnerRegistrationsListResult,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PartnerRegistrationsListResult,\n },\n default: {},\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PartnerRegistrationsListResult,\n },\n default: {},\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"partnerRegistrations.js","sourceRoot":"","sources":["../../../src/operations/partnerRegistrations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAoB9C,4CAA4C;AAC5C,wDAAwD;AACxD,MAAa,wBAAwB;IAClB,MAAM,CAA4B;IAEnD;;;OAGG;IACH,YAAY,MAAiC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAA8D;QAE9D,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QACvD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,4BAA4B,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAC9D,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,4BAA4B,CACzC,OAA8D,EAC9D,QAAuB;QAEvB,IAAI,MAAsD,CAAC;QAC3D,IAAI,iBAAiB,GAAG,QAAQ,EA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sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { PartnerRegistrations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { EventGridManagementClient } from \"../eventGridManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n PartnerRegistration,\n PartnerRegistrationsListBySubscriptionNextOptionalParams,\n PartnerRegistrationsListBySubscriptionOptionalParams,\n PartnerRegistrationsListBySubscriptionResponse,\n PartnerRegistrationsListByResourceGroupNextOptionalParams,\n PartnerRegistrationsListByResourceGroupOptionalParams,\n PartnerRegistrationsListByResourceGroupResponse,\n PartnerRegistrationsGetOptionalParams,\n PartnerRegistrationsGetResponse,\n PartnerRegistrationsCreateOrUpdateOptionalParams,\n PartnerRegistrationsCreateOrUpdateResponse,\n PartnerRegistrationsDeleteOptionalParams,\n PartnerRegistrationUpdateParameters,\n PartnerRegistrationsUpdateOptionalParams,\n PartnerRegistrationsListBySubscriptionNextResponse,\n PartnerRegistrationsListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing PartnerRegistrations operations. */\nexport class PartnerRegistrationsImpl implements PartnerRegistrations {\n private readonly client: EventGridManagementClient;\n\n /**\n * Initialize a new instance of the class PartnerRegistrations class.\n * @param client Reference to the service client\n */\n constructor(client: EventGridManagementClient) {\n this.client = client;\n }\n\n /**\n * List all the partner registrations under an Azure subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: PartnerRegistrationsListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<PartnerRegistration> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: PartnerRegistrationsListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PartnerRegistration[]> {\n let result: PartnerRegistrationsListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: PartnerRegistrationsListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<PartnerRegistration> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * List all the partner registrations under a resource group.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: PartnerRegistrationsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<PartnerRegistration> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: PartnerRegistrationsListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<PartnerRegistration[]> {\n let result: PartnerRegistrationsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: PartnerRegistrationsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<PartnerRegistration> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets a partner registration with the specified parameters.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param partnerRegistrationName Name of the partner registration.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n partnerRegistrationName: string,\n options?: PartnerRegistrationsGetOptionalParams,\n ): Promise<PartnerRegistrationsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, partnerRegistrationName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates a new partner registration with the specified parameters.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param partnerRegistrationName Name of the partner registration.\n * @param partnerRegistrationInfo PartnerRegistration information.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n partnerRegistrationName: string,\n partnerRegistrationInfo: PartnerRegistration,\n options?: PartnerRegistrationsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PartnerRegistrationsCreateOrUpdateResponse>,\n PartnerRegistrationsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PartnerRegistrationsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n partnerRegistrationName,\n partnerRegistrationInfo,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n PartnerRegistrationsCreateOrUpdateResponse,\n OperationState<PartnerRegistrationsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a new partner registration with the specified parameters.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param partnerRegistrationName Name of the partner registration.\n * @param partnerRegistrationInfo PartnerRegistration information.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n partnerRegistrationName: string,\n partnerRegistrationInfo: PartnerRegistration,\n options?: PartnerRegistrationsCreateOrUpdateOptionalParams,\n ): Promise<PartnerRegistrationsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n partnerRegistrationName,\n partnerRegistrationInfo,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a partner registration with the specified parameters.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param partnerRegistrationName Name of the partner registration.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n partnerRegistrationName: string,\n options?: PartnerRegistrationsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, partnerRegistrationName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a partner registration with the specified parameters.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param partnerRegistrationName Name of the partner registration.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n partnerRegistrationName: string,\n options?: PartnerRegistrationsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n partnerRegistrationName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates a partner registration with the specified parameters.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param partnerRegistrationName Name of the partner registration.\n * @param partnerRegistrationUpdateParameters Partner registration update information.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n partnerRegistrationName: string,\n partnerRegistrationUpdateParameters: PartnerRegistrationUpdateParameters,\n options?: PartnerRegistrationsUpdateOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n partnerRegistrationName,\n partnerRegistrationUpdateParameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates a partner registration with the specified parameters.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param partnerRegistrationName Name of the partner registration.\n * @param partnerRegistrationUpdateParameters Partner registration update information.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n partnerRegistrationName: string,\n partnerRegistrationUpdateParameters: PartnerRegistrationUpdateParameters,\n options?: PartnerRegistrationsUpdateOptionalParams,\n ): Promise<void> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n partnerRegistrationName,\n partnerRegistrationUpdateParameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * List all the partner registrations under an Azure subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: PartnerRegistrationsListBySubscriptionOptionalParams,\n ): Promise<PartnerRegistrationsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\n /**\n * List all the partner registrations under a resource group.\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: PartnerRegistrationsListByResourceGroupOptionalParams,\n ): Promise<PartnerRegistrationsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: PartnerRegistrationsListBySubscriptionNextOptionalParams,\n ): Promise<PartnerRegistrationsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: PartnerRegistrationsListByResourceGroupNextOptionalParams,\n ): Promise<PartnerRegistrationsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PartnerRegistration,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.partnerRegistrationName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PartnerRegistration,\n },\n 201: {\n bodyMapper: Mappers.PartnerRegistration,\n },\n 202: {\n bodyMapper: Mappers.PartnerRegistration,\n },\n 204: {\n bodyMapper: Mappers.PartnerRegistration,\n },\n default: {},\n },\n requestBody: Parameters.partnerRegistrationInfo,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.partnerRegistrationName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.partnerRegistrationName,\n ],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}\",\n httpMethod: \"PATCH\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },\n requestBody: Parameters.partnerRegistrationUpdateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.partnerRegistrationName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/partnerRegistrations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PartnerRegistrationsListResult,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PartnerRegistrationsListResult,\n },\n default: {},\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PartnerRegistrationsListResult,\n },\n default: {},\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PartnerRegistrationsListResult,\n },\n default: {},\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -18,6 +18,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
|
|
|
18
18
|
/// <reference lib="esnext.asynciterable" />
|
|
19
19
|
/** Class containing PartnerTopicEventSubscriptions operations. */
|
|
20
20
|
class PartnerTopicEventSubscriptionsImpl {
|
|
21
|
+
client;
|
|
21
22
|
/**
|
|
22
23
|
* Initialize a new instance of the class PartnerTopicEventSubscriptions class.
|
|
23
24
|
* @param client Reference to the service client
|
|
@@ -41,52 +42,35 @@ class PartnerTopicEventSubscriptionsImpl {
|
|
|
41
42
|
return this;
|
|
42
43
|
},
|
|
43
44
|
byPage: (settings) => {
|
|
44
|
-
if (settings
|
|
45
|
+
if (settings?.maxPageSize) {
|
|
45
46
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
46
47
|
}
|
|
47
48
|
return this.listByPartnerTopicPagingPage(resourceGroupName, partnerTopicName, options, settings);
|
|
48
49
|
},
|
|
49
50
|
};
|
|
50
51
|
}
|
|
51
|
-
listByPartnerTopicPagingPage(resourceGroupName, partnerTopicName, options, settings) {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
});
|
|
52
|
+
async *listByPartnerTopicPagingPage(resourceGroupName, partnerTopicName, options, settings) {
|
|
53
|
+
let result;
|
|
54
|
+
let continuationToken = settings?.continuationToken;
|
|
55
|
+
if (!continuationToken) {
|
|
56
|
+
result = await this._listByPartnerTopic(resourceGroupName, partnerTopicName, options);
|
|
57
|
+
let page = result.value || [];
|
|
58
|
+
continuationToken = result.nextLink;
|
|
59
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
60
|
+
yield page;
|
|
61
|
+
}
|
|
62
|
+
while (continuationToken) {
|
|
63
|
+
result = await this._listByPartnerTopicNext(resourceGroupName, partnerTopicName, continuationToken, options);
|
|
64
|
+
continuationToken = result.nextLink;
|
|
65
|
+
let page = result.value || [];
|
|
66
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
67
|
+
yield page;
|
|
68
|
+
}
|
|
70
69
|
}
|
|
71
|
-
listByPartnerTopicPagingAll(resourceGroupName, partnerTopicName, options) {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listByPartnerTopicPagingPage(resourceGroupName, partnerTopicName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
76
|
-
_c = _f.value;
|
|
77
|
-
_d = false;
|
|
78
|
-
const page = _c;
|
|
79
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
83
|
-
finally {
|
|
84
|
-
try {
|
|
85
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
86
|
-
}
|
|
87
|
-
finally { if (e_1) throw e_1.error; }
|
|
88
|
-
}
|
|
89
|
-
});
|
|
70
|
+
async *listByPartnerTopicPagingAll(resourceGroupName, partnerTopicName, options) {
|
|
71
|
+
for await (const page of this.listByPartnerTopicPagingPage(resourceGroupName, partnerTopicName, options)) {
|
|
72
|
+
yield* page;
|
|
73
|
+
}
|
|
90
74
|
}
|
|
91
75
|
/**
|
|
92
76
|
* Get properties of an event subscription of a partner topic.
|
|
@@ -114,14 +98,19 @@ class PartnerTopicEventSubscriptionsImpl {
|
|
|
114
98
|
return this.client.sendOperationRequest(args, spec);
|
|
115
99
|
};
|
|
116
100
|
const sendOperationFn = async (args, spec) => {
|
|
117
|
-
var _a;
|
|
118
101
|
let currentRawResponse = undefined;
|
|
119
|
-
const providedCallback =
|
|
102
|
+
const providedCallback = args.options?.onResponse;
|
|
120
103
|
const callback = (rawResponse, flatResponse) => {
|
|
121
104
|
currentRawResponse = rawResponse;
|
|
122
|
-
providedCallback
|
|
105
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
106
|
+
};
|
|
107
|
+
const updatedArgs = {
|
|
108
|
+
...args,
|
|
109
|
+
options: {
|
|
110
|
+
...args.options,
|
|
111
|
+
onResponse: callback,
|
|
112
|
+
},
|
|
123
113
|
};
|
|
124
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
125
114
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
126
115
|
return {
|
|
127
116
|
flatResponse,
|
|
@@ -144,8 +133,8 @@ class PartnerTopicEventSubscriptionsImpl {
|
|
|
144
133
|
spec: createOrUpdateOperationSpec,
|
|
145
134
|
});
|
|
146
135
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
147
|
-
restoreFrom: options
|
|
148
|
-
intervalInMs: options
|
|
136
|
+
restoreFrom: options?.resumeFrom,
|
|
137
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
149
138
|
});
|
|
150
139
|
await poller.poll();
|
|
151
140
|
return poller;
|
|
@@ -177,14 +166,19 @@ class PartnerTopicEventSubscriptionsImpl {
|
|
|
177
166
|
return this.client.sendOperationRequest(args, spec);
|
|
178
167
|
};
|
|
179
168
|
const sendOperationFn = async (args, spec) => {
|
|
180
|
-
var _a;
|
|
181
169
|
let currentRawResponse = undefined;
|
|
182
|
-
const providedCallback =
|
|
170
|
+
const providedCallback = args.options?.onResponse;
|
|
183
171
|
const callback = (rawResponse, flatResponse) => {
|
|
184
172
|
currentRawResponse = rawResponse;
|
|
185
|
-
providedCallback
|
|
173
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
174
|
+
};
|
|
175
|
+
const updatedArgs = {
|
|
176
|
+
...args,
|
|
177
|
+
options: {
|
|
178
|
+
...args.options,
|
|
179
|
+
onResponse: callback,
|
|
180
|
+
},
|
|
186
181
|
};
|
|
187
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
188
182
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
189
183
|
return {
|
|
190
184
|
flatResponse,
|
|
@@ -206,8 +200,8 @@ class PartnerTopicEventSubscriptionsImpl {
|
|
|
206
200
|
spec: deleteOperationSpec,
|
|
207
201
|
});
|
|
208
202
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
209
|
-
restoreFrom: options
|
|
210
|
-
intervalInMs: options
|
|
203
|
+
restoreFrom: options?.resumeFrom,
|
|
204
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
211
205
|
});
|
|
212
206
|
await poller.poll();
|
|
213
207
|
return poller;
|
|
@@ -236,14 +230,19 @@ class PartnerTopicEventSubscriptionsImpl {
|
|
|
236
230
|
return this.client.sendOperationRequest(args, spec);
|
|
237
231
|
};
|
|
238
232
|
const sendOperationFn = async (args, spec) => {
|
|
239
|
-
var _a;
|
|
240
233
|
let currentRawResponse = undefined;
|
|
241
|
-
const providedCallback =
|
|
234
|
+
const providedCallback = args.options?.onResponse;
|
|
242
235
|
const callback = (rawResponse, flatResponse) => {
|
|
243
236
|
currentRawResponse = rawResponse;
|
|
244
|
-
providedCallback
|
|
237
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
238
|
+
};
|
|
239
|
+
const updatedArgs = {
|
|
240
|
+
...args,
|
|
241
|
+
options: {
|
|
242
|
+
...args.options,
|
|
243
|
+
onResponse: callback,
|
|
244
|
+
},
|
|
245
245
|
};
|
|
246
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
247
246
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
248
247
|
return {
|
|
249
248
|
flatResponse,
|
|
@@ -266,8 +265,8 @@ class PartnerTopicEventSubscriptionsImpl {
|
|
|
266
265
|
spec: updateOperationSpec,
|
|
267
266
|
});
|
|
268
267
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
269
|
-
restoreFrom: options
|
|
270
|
-
intervalInMs: options
|
|
268
|
+
restoreFrom: options?.resumeFrom,
|
|
269
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
271
270
|
});
|
|
272
271
|
await poller.poll();
|
|
273
272
|
return poller;
|