@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 EventSubscriptions operations. */
|
|
20
20
|
class EventSubscriptionsImpl {
|
|
21
|
+
client;
|
|
21
22
|
/**
|
|
22
23
|
* Initialize a new instance of the class EventSubscriptions class.
|
|
23
24
|
* @param client Reference to the service client
|
|
@@ -39,52 +40,35 @@ class EventSubscriptionsImpl {
|
|
|
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.listGlobalBySubscriptionPagingPage(options, settings);
|
|
46
47
|
},
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
|
-
listGlobalBySubscriptionPagingPage(options, settings) {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
});
|
|
50
|
+
async *listGlobalBySubscriptionPagingPage(options, settings) {
|
|
51
|
+
let result;
|
|
52
|
+
let continuationToken = settings?.continuationToken;
|
|
53
|
+
if (!continuationToken) {
|
|
54
|
+
result = await this._listGlobalBySubscription(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._listGlobalBySubscriptionNext(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
|
-
listGlobalBySubscriptionPagingAll(options) {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listGlobalBySubscriptionPagingPage(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 *listGlobalBySubscriptionPagingAll(options) {
|
|
69
|
+
for await (const page of this.listGlobalBySubscriptionPagingPage(options)) {
|
|
70
|
+
yield* page;
|
|
71
|
+
}
|
|
88
72
|
}
|
|
89
73
|
/**
|
|
90
74
|
* List all global event subscriptions under an Azure subscription for a topic type.
|
|
@@ -101,52 +85,35 @@ class EventSubscriptionsImpl {
|
|
|
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.listGlobalBySubscriptionForTopicTypePagingPage(topicTypeName, options, settings);
|
|
108
92
|
},
|
|
109
93
|
};
|
|
110
94
|
}
|
|
111
|
-
listGlobalBySubscriptionForTopicTypePagingPage(topicTypeName, options, settings) {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}
|
|
129
|
-
});
|
|
95
|
+
async *listGlobalBySubscriptionForTopicTypePagingPage(topicTypeName, options, settings) {
|
|
96
|
+
let result;
|
|
97
|
+
let continuationToken = settings?.continuationToken;
|
|
98
|
+
if (!continuationToken) {
|
|
99
|
+
result = await this._listGlobalBySubscriptionForTopicType(topicTypeName, 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._listGlobalBySubscriptionForTopicTypeNext(topicTypeName, 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
|
-
listGlobalBySubscriptionForTopicTypePagingAll(topicTypeName, options) {
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listGlobalBySubscriptionForTopicTypePagingPage(topicTypeName, 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 *listGlobalBySubscriptionForTopicTypePagingAll(topicTypeName, options) {
|
|
114
|
+
for await (const page of this.listGlobalBySubscriptionForTopicTypePagingPage(topicTypeName, options)) {
|
|
115
|
+
yield* page;
|
|
116
|
+
}
|
|
150
117
|
}
|
|
151
118
|
/**
|
|
152
119
|
* List all global event subscriptions under a specific Azure subscription and resource group.
|
|
@@ -163,52 +130,35 @@ class EventSubscriptionsImpl {
|
|
|
163
130
|
return this;
|
|
164
131
|
},
|
|
165
132
|
byPage: (settings) => {
|
|
166
|
-
if (settings
|
|
133
|
+
if (settings?.maxPageSize) {
|
|
167
134
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
168
135
|
}
|
|
169
136
|
return this.listGlobalByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
170
137
|
},
|
|
171
138
|
};
|
|
172
139
|
}
|
|
173
|
-
listGlobalByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
}
|
|
191
|
-
});
|
|
140
|
+
async *listGlobalByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
141
|
+
let result;
|
|
142
|
+
let continuationToken = settings?.continuationToken;
|
|
143
|
+
if (!continuationToken) {
|
|
144
|
+
result = await this._listGlobalByResourceGroup(resourceGroupName, options);
|
|
145
|
+
let page = result.value || [];
|
|
146
|
+
continuationToken = result.nextLink;
|
|
147
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
148
|
+
yield page;
|
|
149
|
+
}
|
|
150
|
+
while (continuationToken) {
|
|
151
|
+
result = await this._listGlobalByResourceGroupNext(resourceGroupName, continuationToken, options);
|
|
152
|
+
continuationToken = result.nextLink;
|
|
153
|
+
let page = result.value || [];
|
|
154
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
155
|
+
yield page;
|
|
156
|
+
}
|
|
192
157
|
}
|
|
193
|
-
listGlobalByResourceGroupPagingAll(resourceGroupName, options) {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listGlobalByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
198
|
-
_c = _f.value;
|
|
199
|
-
_d = false;
|
|
200
|
-
const page = _c;
|
|
201
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
205
|
-
finally {
|
|
206
|
-
try {
|
|
207
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
208
|
-
}
|
|
209
|
-
finally { if (e_3) throw e_3.error; }
|
|
210
|
-
}
|
|
211
|
-
});
|
|
158
|
+
async *listGlobalByResourceGroupPagingAll(resourceGroupName, options) {
|
|
159
|
+
for await (const page of this.listGlobalByResourceGroupPagingPage(resourceGroupName, options)) {
|
|
160
|
+
yield* page;
|
|
161
|
+
}
|
|
212
162
|
}
|
|
213
163
|
/**
|
|
214
164
|
* List all global event subscriptions under a resource group for a specific topic type.
|
|
@@ -226,52 +176,35 @@ class EventSubscriptionsImpl {
|
|
|
226
176
|
return this;
|
|
227
177
|
},
|
|
228
178
|
byPage: (settings) => {
|
|
229
|
-
if (settings
|
|
179
|
+
if (settings?.maxPageSize) {
|
|
230
180
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
231
181
|
}
|
|
232
182
|
return this.listGlobalByResourceGroupForTopicTypePagingPage(resourceGroupName, topicTypeName, options, settings);
|
|
233
183
|
},
|
|
234
184
|
};
|
|
235
185
|
}
|
|
236
|
-
listGlobalByResourceGroupForTopicTypePagingPage(resourceGroupName, topicTypeName, options, settings) {
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
}
|
|
254
|
-
});
|
|
186
|
+
async *listGlobalByResourceGroupForTopicTypePagingPage(resourceGroupName, topicTypeName, options, settings) {
|
|
187
|
+
let result;
|
|
188
|
+
let continuationToken = settings?.continuationToken;
|
|
189
|
+
if (!continuationToken) {
|
|
190
|
+
result = await this._listGlobalByResourceGroupForTopicType(resourceGroupName, topicTypeName, options);
|
|
191
|
+
let page = result.value || [];
|
|
192
|
+
continuationToken = result.nextLink;
|
|
193
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
194
|
+
yield page;
|
|
195
|
+
}
|
|
196
|
+
while (continuationToken) {
|
|
197
|
+
result = await this._listGlobalByResourceGroupForTopicTypeNext(resourceGroupName, topicTypeName, continuationToken, options);
|
|
198
|
+
continuationToken = result.nextLink;
|
|
199
|
+
let page = result.value || [];
|
|
200
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
201
|
+
yield page;
|
|
202
|
+
}
|
|
255
203
|
}
|
|
256
|
-
listGlobalByResourceGroupForTopicTypePagingAll(resourceGroupName, topicTypeName, options) {
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listGlobalByResourceGroupForTopicTypePagingPage(resourceGroupName, topicTypeName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
261
|
-
_c = _f.value;
|
|
262
|
-
_d = false;
|
|
263
|
-
const page = _c;
|
|
264
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
|
268
|
-
finally {
|
|
269
|
-
try {
|
|
270
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
271
|
-
}
|
|
272
|
-
finally { if (e_4) throw e_4.error; }
|
|
273
|
-
}
|
|
274
|
-
});
|
|
204
|
+
async *listGlobalByResourceGroupForTopicTypePagingAll(resourceGroupName, topicTypeName, options) {
|
|
205
|
+
for await (const page of this.listGlobalByResourceGroupForTopicTypePagingPage(resourceGroupName, topicTypeName, options)) {
|
|
206
|
+
yield* page;
|
|
207
|
+
}
|
|
275
208
|
}
|
|
276
209
|
/**
|
|
277
210
|
* List all event subscriptions from the given location under a specific Azure subscription.
|
|
@@ -288,52 +221,35 @@ class EventSubscriptionsImpl {
|
|
|
288
221
|
return this;
|
|
289
222
|
},
|
|
290
223
|
byPage: (settings) => {
|
|
291
|
-
if (settings
|
|
224
|
+
if (settings?.maxPageSize) {
|
|
292
225
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
293
226
|
}
|
|
294
227
|
return this.listRegionalBySubscriptionPagingPage(location, options, settings);
|
|
295
228
|
},
|
|
296
229
|
};
|
|
297
230
|
}
|
|
298
|
-
listRegionalBySubscriptionPagingPage(location, options, settings) {
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
}
|
|
316
|
-
});
|
|
231
|
+
async *listRegionalBySubscriptionPagingPage(location, options, settings) {
|
|
232
|
+
let result;
|
|
233
|
+
let continuationToken = settings?.continuationToken;
|
|
234
|
+
if (!continuationToken) {
|
|
235
|
+
result = await this._listRegionalBySubscription(location, options);
|
|
236
|
+
let page = result.value || [];
|
|
237
|
+
continuationToken = result.nextLink;
|
|
238
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
239
|
+
yield page;
|
|
240
|
+
}
|
|
241
|
+
while (continuationToken) {
|
|
242
|
+
result = await this._listRegionalBySubscriptionNext(location, continuationToken, options);
|
|
243
|
+
continuationToken = result.nextLink;
|
|
244
|
+
let page = result.value || [];
|
|
245
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
246
|
+
yield page;
|
|
247
|
+
}
|
|
317
248
|
}
|
|
318
|
-
listRegionalBySubscriptionPagingAll(location, options) {
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listRegionalBySubscriptionPagingPage(location, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
323
|
-
_c = _f.value;
|
|
324
|
-
_d = false;
|
|
325
|
-
const page = _c;
|
|
326
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
catch (e_5_1) { e_5 = { error: e_5_1 }; }
|
|
330
|
-
finally {
|
|
331
|
-
try {
|
|
332
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
333
|
-
}
|
|
334
|
-
finally { if (e_5) throw e_5.error; }
|
|
335
|
-
}
|
|
336
|
-
});
|
|
249
|
+
async *listRegionalBySubscriptionPagingAll(location, options) {
|
|
250
|
+
for await (const page of this.listRegionalBySubscriptionPagingPage(location, options)) {
|
|
251
|
+
yield* page;
|
|
252
|
+
}
|
|
337
253
|
}
|
|
338
254
|
/**
|
|
339
255
|
* List all event subscriptions from the given location under a specific Azure subscription and
|
|
@@ -352,52 +268,35 @@ class EventSubscriptionsImpl {
|
|
|
352
268
|
return this;
|
|
353
269
|
},
|
|
354
270
|
byPage: (settings) => {
|
|
355
|
-
if (settings
|
|
271
|
+
if (settings?.maxPageSize) {
|
|
356
272
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
357
273
|
}
|
|
358
274
|
return this.listRegionalByResourceGroupPagingPage(resourceGroupName, location, options, settings);
|
|
359
275
|
},
|
|
360
276
|
};
|
|
361
277
|
}
|
|
362
|
-
listRegionalByResourceGroupPagingPage(resourceGroupName, location, options, settings) {
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
}
|
|
380
|
-
});
|
|
278
|
+
async *listRegionalByResourceGroupPagingPage(resourceGroupName, location, options, settings) {
|
|
279
|
+
let result;
|
|
280
|
+
let continuationToken = settings?.continuationToken;
|
|
281
|
+
if (!continuationToken) {
|
|
282
|
+
result = await this._listRegionalByResourceGroup(resourceGroupName, location, options);
|
|
283
|
+
let page = result.value || [];
|
|
284
|
+
continuationToken = result.nextLink;
|
|
285
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
286
|
+
yield page;
|
|
287
|
+
}
|
|
288
|
+
while (continuationToken) {
|
|
289
|
+
result = await this._listRegionalByResourceGroupNext(resourceGroupName, location, continuationToken, options);
|
|
290
|
+
continuationToken = result.nextLink;
|
|
291
|
+
let page = result.value || [];
|
|
292
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
293
|
+
yield page;
|
|
294
|
+
}
|
|
381
295
|
}
|
|
382
|
-
listRegionalByResourceGroupPagingAll(resourceGroupName, location, options) {
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listRegionalByResourceGroupPagingPage(resourceGroupName, location, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
387
|
-
_c = _f.value;
|
|
388
|
-
_d = false;
|
|
389
|
-
const page = _c;
|
|
390
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
catch (e_6_1) { e_6 = { error: e_6_1 }; }
|
|
394
|
-
finally {
|
|
395
|
-
try {
|
|
396
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
397
|
-
}
|
|
398
|
-
finally { if (e_6) throw e_6.error; }
|
|
399
|
-
}
|
|
400
|
-
});
|
|
296
|
+
async *listRegionalByResourceGroupPagingAll(resourceGroupName, location, options) {
|
|
297
|
+
for await (const page of this.listRegionalByResourceGroupPagingPage(resourceGroupName, location, options)) {
|
|
298
|
+
yield* page;
|
|
299
|
+
}
|
|
401
300
|
}
|
|
402
301
|
/**
|
|
403
302
|
* List all event subscriptions from the given location under a specific Azure subscription and topic
|
|
@@ -416,52 +315,35 @@ class EventSubscriptionsImpl {
|
|
|
416
315
|
return this;
|
|
417
316
|
},
|
|
418
317
|
byPage: (settings) => {
|
|
419
|
-
if (settings
|
|
318
|
+
if (settings?.maxPageSize) {
|
|
420
319
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
421
320
|
}
|
|
422
321
|
return this.listRegionalBySubscriptionForTopicTypePagingPage(location, topicTypeName, options, settings);
|
|
423
322
|
},
|
|
424
323
|
};
|
|
425
324
|
}
|
|
426
|
-
listRegionalBySubscriptionForTopicTypePagingPage(location, topicTypeName, options, settings) {
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
}
|
|
444
|
-
});
|
|
325
|
+
async *listRegionalBySubscriptionForTopicTypePagingPage(location, topicTypeName, options, settings) {
|
|
326
|
+
let result;
|
|
327
|
+
let continuationToken = settings?.continuationToken;
|
|
328
|
+
if (!continuationToken) {
|
|
329
|
+
result = await this._listRegionalBySubscriptionForTopicType(location, topicTypeName, options);
|
|
330
|
+
let page = result.value || [];
|
|
331
|
+
continuationToken = result.nextLink;
|
|
332
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
333
|
+
yield page;
|
|
334
|
+
}
|
|
335
|
+
while (continuationToken) {
|
|
336
|
+
result = await this._listRegionalBySubscriptionForTopicTypeNext(location, topicTypeName, continuationToken, options);
|
|
337
|
+
continuationToken = result.nextLink;
|
|
338
|
+
let page = result.value || [];
|
|
339
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
340
|
+
yield page;
|
|
341
|
+
}
|
|
445
342
|
}
|
|
446
|
-
listRegionalBySubscriptionForTopicTypePagingAll(location, topicTypeName, options) {
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listRegionalBySubscriptionForTopicTypePagingPage(location, topicTypeName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
451
|
-
_c = _f.value;
|
|
452
|
-
_d = false;
|
|
453
|
-
const page = _c;
|
|
454
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
catch (e_7_1) { e_7 = { error: e_7_1 }; }
|
|
458
|
-
finally {
|
|
459
|
-
try {
|
|
460
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
461
|
-
}
|
|
462
|
-
finally { if (e_7) throw e_7.error; }
|
|
463
|
-
}
|
|
464
|
-
});
|
|
343
|
+
async *listRegionalBySubscriptionForTopicTypePagingAll(location, topicTypeName, options) {
|
|
344
|
+
for await (const page of this.listRegionalBySubscriptionForTopicTypePagingPage(location, topicTypeName, options)) {
|
|
345
|
+
yield* page;
|
|
346
|
+
}
|
|
465
347
|
}
|
|
466
348
|
/**
|
|
467
349
|
* List all event subscriptions from the given location under a specific Azure subscription and
|
|
@@ -481,52 +363,35 @@ class EventSubscriptionsImpl {
|
|
|
481
363
|
return this;
|
|
482
364
|
},
|
|
483
365
|
byPage: (settings) => {
|
|
484
|
-
if (settings
|
|
366
|
+
if (settings?.maxPageSize) {
|
|
485
367
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
486
368
|
}
|
|
487
369
|
return this.listRegionalByResourceGroupForTopicTypePagingPage(resourceGroupName, location, topicTypeName, options, settings);
|
|
488
370
|
},
|
|
489
371
|
};
|
|
490
372
|
}
|
|
491
|
-
listRegionalByResourceGroupForTopicTypePagingPage(resourceGroupName, location, topicTypeName, options, settings) {
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
}
|
|
509
|
-
});
|
|
373
|
+
async *listRegionalByResourceGroupForTopicTypePagingPage(resourceGroupName, location, topicTypeName, options, settings) {
|
|
374
|
+
let result;
|
|
375
|
+
let continuationToken = settings?.continuationToken;
|
|
376
|
+
if (!continuationToken) {
|
|
377
|
+
result = await this._listRegionalByResourceGroupForTopicType(resourceGroupName, location, topicTypeName, options);
|
|
378
|
+
let page = result.value || [];
|
|
379
|
+
continuationToken = result.nextLink;
|
|
380
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
381
|
+
yield page;
|
|
382
|
+
}
|
|
383
|
+
while (continuationToken) {
|
|
384
|
+
result = await this._listRegionalByResourceGroupForTopicTypeNext(resourceGroupName, location, topicTypeName, continuationToken, options);
|
|
385
|
+
continuationToken = result.nextLink;
|
|
386
|
+
let page = result.value || [];
|
|
387
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
388
|
+
yield page;
|
|
389
|
+
}
|
|
510
390
|
}
|
|
511
|
-
listRegionalByResourceGroupForTopicTypePagingAll(resourceGroupName, location, topicTypeName, options) {
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listRegionalByResourceGroupForTopicTypePagingPage(resourceGroupName, location, topicTypeName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
516
|
-
_c = _f.value;
|
|
517
|
-
_d = false;
|
|
518
|
-
const page = _c;
|
|
519
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
catch (e_8_1) { e_8 = { error: e_8_1 }; }
|
|
523
|
-
finally {
|
|
524
|
-
try {
|
|
525
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
526
|
-
}
|
|
527
|
-
finally { if (e_8) throw e_8.error; }
|
|
528
|
-
}
|
|
529
|
-
});
|
|
391
|
+
async *listRegionalByResourceGroupForTopicTypePagingAll(resourceGroupName, location, topicTypeName, options) {
|
|
392
|
+
for await (const page of this.listRegionalByResourceGroupForTopicTypePagingPage(resourceGroupName, location, topicTypeName, options)) {
|
|
393
|
+
yield* page;
|
|
394
|
+
}
|
|
530
395
|
}
|
|
531
396
|
/**
|
|
532
397
|
* List all event subscriptions that have been created for a specific resource.
|
|
@@ -546,52 +411,35 @@ class EventSubscriptionsImpl {
|
|
|
546
411
|
return this;
|
|
547
412
|
},
|
|
548
413
|
byPage: (settings) => {
|
|
549
|
-
if (settings
|
|
414
|
+
if (settings?.maxPageSize) {
|
|
550
415
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
551
416
|
}
|
|
552
417
|
return this.listByResourcePagingPage(resourceGroupName, providerNamespace, resourceTypeName, resourceName, options, settings);
|
|
553
418
|
},
|
|
554
419
|
};
|
|
555
420
|
}
|
|
556
|
-
listByResourcePagingPage(resourceGroupName, providerNamespace, resourceTypeName, resourceName, options, settings) {
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
}
|
|
574
|
-
});
|
|
421
|
+
async *listByResourcePagingPage(resourceGroupName, providerNamespace, resourceTypeName, resourceName, options, settings) {
|
|
422
|
+
let result;
|
|
423
|
+
let continuationToken = settings?.continuationToken;
|
|
424
|
+
if (!continuationToken) {
|
|
425
|
+
result = await this._listByResource(resourceGroupName, providerNamespace, resourceTypeName, resourceName, options);
|
|
426
|
+
let page = result.value || [];
|
|
427
|
+
continuationToken = result.nextLink;
|
|
428
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
429
|
+
yield page;
|
|
430
|
+
}
|
|
431
|
+
while (continuationToken) {
|
|
432
|
+
result = await this._listByResourceNext(resourceGroupName, providerNamespace, resourceTypeName, resourceName, continuationToken, options);
|
|
433
|
+
continuationToken = result.nextLink;
|
|
434
|
+
let page = result.value || [];
|
|
435
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
436
|
+
yield page;
|
|
437
|
+
}
|
|
575
438
|
}
|
|
576
|
-
listByResourcePagingAll(resourceGroupName, providerNamespace, resourceTypeName, resourceName, options) {
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listByResourcePagingPage(resourceGroupName, providerNamespace, resourceTypeName, resourceName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
581
|
-
_c = _f.value;
|
|
582
|
-
_d = false;
|
|
583
|
-
const page = _c;
|
|
584
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
585
|
-
}
|
|
586
|
-
}
|
|
587
|
-
catch (e_9_1) { e_9 = { error: e_9_1 }; }
|
|
588
|
-
finally {
|
|
589
|
-
try {
|
|
590
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
591
|
-
}
|
|
592
|
-
finally { if (e_9) throw e_9.error; }
|
|
593
|
-
}
|
|
594
|
-
});
|
|
439
|
+
async *listByResourcePagingAll(resourceGroupName, providerNamespace, resourceTypeName, resourceName, options) {
|
|
440
|
+
for await (const page of this.listByResourcePagingPage(resourceGroupName, providerNamespace, resourceTypeName, resourceName, options)) {
|
|
441
|
+
yield* page;
|
|
442
|
+
}
|
|
595
443
|
}
|
|
596
444
|
/**
|
|
597
445
|
* List all event subscriptions that have been created for a specific domain topic.
|
|
@@ -610,52 +458,51 @@ class EventSubscriptionsImpl {
|
|
|
610
458
|
return this;
|
|
611
459
|
},
|
|
612
460
|
byPage: (settings) => {
|
|
613
|
-
if (settings
|
|
461
|
+
if (settings?.maxPageSize) {
|
|
614
462
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
615
463
|
}
|
|
616
464
|
return this.listByDomainTopicPagingPage(resourceGroupName, domainName, topicName, options, settings);
|
|
617
465
|
},
|
|
618
466
|
};
|
|
619
467
|
}
|
|
620
|
-
listByDomainTopicPagingPage(resourceGroupName, domainName, topicName, options, settings) {
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
}
|
|
638
|
-
});
|
|
468
|
+
async *listByDomainTopicPagingPage(resourceGroupName, domainName, topicName, options, settings) {
|
|
469
|
+
let result;
|
|
470
|
+
let continuationToken = settings?.continuationToken;
|
|
471
|
+
if (!continuationToken) {
|
|
472
|
+
result = await this._listByDomainTopic(resourceGroupName, domainName, topicName, options);
|
|
473
|
+
let page = result.value || [];
|
|
474
|
+
continuationToken = result.nextLink;
|
|
475
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
476
|
+
yield page;
|
|
477
|
+
}
|
|
478
|
+
while (continuationToken) {
|
|
479
|
+
result = await this._listByDomainTopicNext(resourceGroupName, domainName, topicName, continuationToken, options);
|
|
480
|
+
continuationToken = result.nextLink;
|
|
481
|
+
let page = result.value || [];
|
|
482
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
483
|
+
yield page;
|
|
484
|
+
}
|
|
639
485
|
}
|
|
640
|
-
listByDomainTopicPagingAll(resourceGroupName, domainName, topicName, options) {
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
486
|
+
async *listByDomainTopicPagingAll(resourceGroupName, domainName, topicName, options) {
|
|
487
|
+
for await (const page of this.listByDomainTopicPagingPage(resourceGroupName, domainName, topicName, options)) {
|
|
488
|
+
yield* page;
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
/**
|
|
492
|
+
* Get all delivery attributes for an event subscription.
|
|
493
|
+
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
494
|
+
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
|
|
495
|
+
* For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
496
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
497
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
498
|
+
* for a resource, and
|
|
499
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
500
|
+
* for an EventGrid topic.
|
|
501
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
502
|
+
* @param options The options parameters.
|
|
503
|
+
*/
|
|
504
|
+
getDeliveryAttributes(scope, eventSubscriptionName, options) {
|
|
505
|
+
return this.client.sendOperationRequest({ scope, eventSubscriptionName, options }, getDeliveryAttributesOperationSpec);
|
|
659
506
|
}
|
|
660
507
|
/**
|
|
661
508
|
* Get properties of an event subscription.
|
|
@@ -696,14 +543,19 @@ class EventSubscriptionsImpl {
|
|
|
696
543
|
return this.client.sendOperationRequest(args, spec);
|
|
697
544
|
};
|
|
698
545
|
const sendOperationFn = async (args, spec) => {
|
|
699
|
-
var _a;
|
|
700
546
|
let currentRawResponse = undefined;
|
|
701
|
-
const providedCallback =
|
|
547
|
+
const providedCallback = args.options?.onResponse;
|
|
702
548
|
const callback = (rawResponse, flatResponse) => {
|
|
703
549
|
currentRawResponse = rawResponse;
|
|
704
|
-
providedCallback
|
|
550
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
551
|
+
};
|
|
552
|
+
const updatedArgs = {
|
|
553
|
+
...args,
|
|
554
|
+
options: {
|
|
555
|
+
...args.options,
|
|
556
|
+
onResponse: callback,
|
|
557
|
+
},
|
|
705
558
|
};
|
|
706
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
707
559
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
708
560
|
return {
|
|
709
561
|
flatResponse,
|
|
@@ -720,8 +572,8 @@ class EventSubscriptionsImpl {
|
|
|
720
572
|
spec: createOrUpdateOperationSpec,
|
|
721
573
|
});
|
|
722
574
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
723
|
-
restoreFrom: options
|
|
724
|
-
intervalInMs: options
|
|
575
|
+
restoreFrom: options?.resumeFrom,
|
|
576
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
725
577
|
});
|
|
726
578
|
await poller.poll();
|
|
727
579
|
return poller;
|
|
@@ -766,14 +618,19 @@ class EventSubscriptionsImpl {
|
|
|
766
618
|
return this.client.sendOperationRequest(args, spec);
|
|
767
619
|
};
|
|
768
620
|
const sendOperationFn = async (args, spec) => {
|
|
769
|
-
var _a;
|
|
770
621
|
let currentRawResponse = undefined;
|
|
771
|
-
const providedCallback =
|
|
622
|
+
const providedCallback = args.options?.onResponse;
|
|
772
623
|
const callback = (rawResponse, flatResponse) => {
|
|
773
624
|
currentRawResponse = rawResponse;
|
|
774
|
-
providedCallback
|
|
625
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
626
|
+
};
|
|
627
|
+
const updatedArgs = {
|
|
628
|
+
...args,
|
|
629
|
+
options: {
|
|
630
|
+
...args.options,
|
|
631
|
+
onResponse: callback,
|
|
632
|
+
},
|
|
775
633
|
};
|
|
776
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
777
634
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
778
635
|
return {
|
|
779
636
|
flatResponse,
|
|
@@ -790,8 +647,8 @@ class EventSubscriptionsImpl {
|
|
|
790
647
|
spec: deleteOperationSpec,
|
|
791
648
|
});
|
|
792
649
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
793
|
-
restoreFrom: options
|
|
794
|
-
intervalInMs: options
|
|
650
|
+
restoreFrom: options?.resumeFrom,
|
|
651
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
795
652
|
});
|
|
796
653
|
await poller.poll();
|
|
797
654
|
return poller;
|
|
@@ -832,14 +689,19 @@ class EventSubscriptionsImpl {
|
|
|
832
689
|
return this.client.sendOperationRequest(args, spec);
|
|
833
690
|
};
|
|
834
691
|
const sendOperationFn = async (args, spec) => {
|
|
835
|
-
var _a;
|
|
836
692
|
let currentRawResponse = undefined;
|
|
837
|
-
const providedCallback =
|
|
693
|
+
const providedCallback = args.options?.onResponse;
|
|
838
694
|
const callback = (rawResponse, flatResponse) => {
|
|
839
695
|
currentRawResponse = rawResponse;
|
|
840
|
-
providedCallback
|
|
696
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
697
|
+
};
|
|
698
|
+
const updatedArgs = {
|
|
699
|
+
...args,
|
|
700
|
+
options: {
|
|
701
|
+
...args.options,
|
|
702
|
+
onResponse: callback,
|
|
703
|
+
},
|
|
841
704
|
};
|
|
842
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
843
705
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
844
706
|
return {
|
|
845
707
|
flatResponse,
|
|
@@ -861,8 +723,8 @@ class EventSubscriptionsImpl {
|
|
|
861
723
|
spec: updateOperationSpec,
|
|
862
724
|
});
|
|
863
725
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
864
|
-
restoreFrom: options
|
|
865
|
-
intervalInMs: options
|
|
726
|
+
restoreFrom: options?.resumeFrom,
|
|
727
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
866
728
|
});
|
|
867
729
|
await poller.poll();
|
|
868
730
|
return poller;
|
|
@@ -999,22 +861,6 @@ class EventSubscriptionsImpl {
|
|
|
999
861
|
_listByDomainTopic(resourceGroupName, domainName, topicName, options) {
|
|
1000
862
|
return this.client.sendOperationRequest({ resourceGroupName, domainName, topicName, options }, listByDomainTopicOperationSpec);
|
|
1001
863
|
}
|
|
1002
|
-
/**
|
|
1003
|
-
* Get all delivery attributes for an event subscription.
|
|
1004
|
-
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
1005
|
-
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
|
|
1006
|
-
* For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
1007
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
1008
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
1009
|
-
* for a resource, and
|
|
1010
|
-
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
1011
|
-
* for an EventGrid topic.
|
|
1012
|
-
* @param eventSubscriptionName Name of the event subscription.
|
|
1013
|
-
* @param options The options parameters.
|
|
1014
|
-
*/
|
|
1015
|
-
getDeliveryAttributes(scope, eventSubscriptionName, options) {
|
|
1016
|
-
return this.client.sendOperationRequest({ scope, eventSubscriptionName, options }, getDeliveryAttributesOperationSpec);
|
|
1017
|
-
}
|
|
1018
864
|
/**
|
|
1019
865
|
* ListGlobalBySubscriptionNext
|
|
1020
866
|
* @param nextLink The nextLink from the previous successful call to the ListGlobalBySubscription
|
|
@@ -1133,6 +979,24 @@ class EventSubscriptionsImpl {
|
|
|
1133
979
|
exports.EventSubscriptionsImpl = EventSubscriptionsImpl;
|
|
1134
980
|
// Operation Specifications
|
|
1135
981
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
982
|
+
const getDeliveryAttributesOperationSpec = {
|
|
983
|
+
path: "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes",
|
|
984
|
+
httpMethod: "POST",
|
|
985
|
+
responses: {
|
|
986
|
+
200: {
|
|
987
|
+
bodyMapper: Mappers.DeliveryAttributeListResult,
|
|
988
|
+
},
|
|
989
|
+
default: {},
|
|
990
|
+
},
|
|
991
|
+
queryParameters: [Parameters.apiVersion],
|
|
992
|
+
urlParameters: [
|
|
993
|
+
Parameters.$host,
|
|
994
|
+
Parameters.eventSubscriptionName,
|
|
995
|
+
Parameters.scope,
|
|
996
|
+
],
|
|
997
|
+
headerParameters: [Parameters.accept],
|
|
998
|
+
serializer,
|
|
999
|
+
};
|
|
1136
1000
|
const getOperationSpec = {
|
|
1137
1001
|
path: "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}",
|
|
1138
1002
|
httpMethod: "GET",
|
|
@@ -1425,24 +1289,6 @@ const listByDomainTopicOperationSpec = {
|
|
|
1425
1289
|
headerParameters: [Parameters.accept],
|
|
1426
1290
|
serializer,
|
|
1427
1291
|
};
|
|
1428
|
-
const getDeliveryAttributesOperationSpec = {
|
|
1429
|
-
path: "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes",
|
|
1430
|
-
httpMethod: "POST",
|
|
1431
|
-
responses: {
|
|
1432
|
-
200: {
|
|
1433
|
-
bodyMapper: Mappers.DeliveryAttributeListResult,
|
|
1434
|
-
},
|
|
1435
|
-
default: {},
|
|
1436
|
-
},
|
|
1437
|
-
queryParameters: [Parameters.apiVersion],
|
|
1438
|
-
urlParameters: [
|
|
1439
|
-
Parameters.$host,
|
|
1440
|
-
Parameters.eventSubscriptionName,
|
|
1441
|
-
Parameters.scope,
|
|
1442
|
-
],
|
|
1443
|
-
headerParameters: [Parameters.accept],
|
|
1444
|
-
serializer,
|
|
1445
|
-
};
|
|
1446
1292
|
const listGlobalBySubscriptionNextOperationSpec = {
|
|
1447
1293
|
path: "{nextLink}",
|
|
1448
1294
|
httpMethod: "GET",
|