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