@azure/arm-eventgrid 14.2.0-beta.3 → 14.2.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +375 -0
- package/LICENSE +1 -1
- package/dist/index.js +4115 -3680
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/caCertificatesCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/caCertificatesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/caCertificatesGetSample.js +1 -1
- package/dist-esm/samples-dev/caCertificatesListByNamespaceSample.js +2 -2
- package/dist-esm/samples-dev/caCertificatesListByNamespaceSample.js.map +1 -1
- package/dist-esm/samples-dev/channelsCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/channelsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/channelsGetFullUrlSample.js +1 -1
- package/dist-esm/samples-dev/channelsGetSample.js +1 -1
- package/dist-esm/samples-dev/channelsListByPartnerNamespaceSample.js +2 -2
- package/dist-esm/samples-dev/channelsListByPartnerNamespaceSample.js.map +1 -1
- package/dist-esm/samples-dev/channelsUpdateSample.js +3 -3
- package/dist-esm/samples-dev/channelsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/clientGroupsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/clientGroupsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/clientGroupsGetSample.js +1 -1
- package/dist-esm/samples-dev/clientGroupsListByNamespaceSample.js +2 -2
- package/dist-esm/samples-dev/clientGroupsListByNamespaceSample.js.map +1 -1
- package/dist-esm/samples-dev/clientsCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/clientsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/clientsGetSample.js +1 -1
- package/dist-esm/samples-dev/clientsListByNamespaceSample.js +2 -2
- package/dist-esm/samples-dev/clientsListByNamespaceSample.js.map +1 -1
- package/dist-esm/samples-dev/domainEventSubscriptionsCreateOrUpdateSample.js +5 -5
- package/dist-esm/samples-dev/domainEventSubscriptionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/domainEventSubscriptionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/domainEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
- package/dist-esm/samples-dev/domainEventSubscriptionsGetFullUrlSample.js +1 -1
- package/dist-esm/samples-dev/domainEventSubscriptionsGetSample.js +1 -1
- package/dist-esm/samples-dev/domainEventSubscriptionsListSample.js +2 -2
- package/dist-esm/samples-dev/domainEventSubscriptionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/domainEventSubscriptionsUpdateSample.js +5 -5
- package/dist-esm/samples-dev/domainEventSubscriptionsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsCreateOrUpdateSample.js +5 -5
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetDeliveryAttributesSample.js.map +1 -1
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetFullUrlSample.js +1 -1
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetSample.js +1 -1
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsListSample.js +2 -2
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsUpdateSample.js +5 -5
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/domainTopicsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/domainTopicsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/domainTopicsGetSample.js +1 -1
- package/dist-esm/samples-dev/domainTopicsListByDomainSample.js +2 -2
- package/dist-esm/samples-dev/domainTopicsListByDomainSample.js.map +1 -1
- package/dist-esm/samples-dev/domainsCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/domainsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/domainsGetSample.js +1 -1
- package/dist-esm/samples-dev/domainsListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/domainsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/domainsListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/domainsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/domainsListSharedAccessKeysSample.js +1 -1
- package/dist-esm/samples-dev/domainsRegenerateKeySample.js +2 -2
- package/dist-esm/samples-dev/domainsRegenerateKeySample.js.map +1 -1
- package/dist-esm/samples-dev/domainsUpdateSample.js +4 -4
- package/dist-esm/samples-dev/domainsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsCreateOrUpdateSample.js +50 -50
- package/dist-esm/samples-dev/eventSubscriptionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsDeleteSample.js +4 -4
- package/dist-esm/samples-dev/eventSubscriptionsGetDeliveryAttributesSample.js +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsGetFullUrlSample.js +4 -4
- package/dist-esm/samples-dev/eventSubscriptionsGetSample.js +11 -11
- package/dist-esm/samples-dev/eventSubscriptionsListByDomainTopicSample.js +2 -2
- package/dist-esm/samples-dev/eventSubscriptionsListByDomainTopicSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListByResourceSample.js +2 -2
- package/dist-esm/samples-dev/eventSubscriptionsListByResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupForTopicTypeSample.js +2 -2
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupForTopicTypeSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionForTopicTypeSample.js +2 -2
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionForTopicTypeSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupForTopicTypeSample.js +2 -2
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupForTopicTypeSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionForTopicTypeSample.js +2 -2
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionForTopicTypeSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsUpdateSample.js +48 -48
- package/dist-esm/samples-dev/eventSubscriptionsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/extensionTopicsGetSample.js +1 -1
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetDeliveryAttributesSample.js.map +1 -1
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetFullUrlSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetFullUrlSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetFullUrlSample.js +41 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetFullUrlSample.js.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetSample.js +1 -1
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsListByNamespaceTopicSample.js +2 -2
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsListByNamespaceTopicSample.js.map +1 -1
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsUpdateSample.js +5 -5
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/namespaceTopicsCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/namespaceTopicsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/namespaceTopicsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/namespaceTopicsGetSample.js +1 -1
- package/dist-esm/samples-dev/namespaceTopicsListByNamespaceSample.js +2 -2
- package/dist-esm/samples-dev/namespaceTopicsListByNamespaceSample.js.map +1 -1
- package/dist-esm/samples-dev/namespaceTopicsListSharedAccessKeysSample.js +1 -1
- package/dist-esm/samples-dev/namespaceTopicsRegenerateKeySample.js +2 -2
- package/dist-esm/samples-dev/namespaceTopicsRegenerateKeySample.js.map +1 -1
- package/dist-esm/samples-dev/namespaceTopicsUpdateSample.js +3 -3
- package/dist-esm/samples-dev/namespaceTopicsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/namespacesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/namespacesGetSample.js +1 -1
- package/dist-esm/samples-dev/namespacesListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/namespacesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/namespacesListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/namespacesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/namespacesListSharedAccessKeysSample.js +1 -1
- package/dist-esm/samples-dev/namespacesRegenerateKeySample.js +3 -3
- package/dist-esm/samples-dev/namespacesRegenerateKeySample.js.map +1 -1
- package/dist-esm/samples-dev/namespacesUpdateSample.js +3 -3
- package/dist-esm/samples-dev/namespacesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/namespacesValidateCustomDomainOwnershipSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespacesValidateCustomDomainOwnershipSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespacesValidateCustomDomainOwnershipSample.js +39 -0
- package/dist-esm/samples-dev/namespacesValidateCustomDomainOwnershipSample.js.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js +1 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.js +2 -2
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js +1 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +2 -2
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerConfigurationsAuthorizePartnerSample.js +2 -2
- package/dist-esm/samples-dev/partnerConfigurationsCreateOrUpdateSample.js +7 -7
- package/dist-esm/samples-dev/partnerConfigurationsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerConfigurationsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/partnerConfigurationsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerConfigurationsGetSample.js +1 -1
- package/dist-esm/samples-dev/partnerConfigurationsListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/partnerConfigurationsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerConfigurationsListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/partnerConfigurationsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerConfigurationsUnauthorizePartnerSample.js +2 -2
- package/dist-esm/samples-dev/partnerConfigurationsUpdateSample.js +3 -3
- package/dist-esm/samples-dev/partnerConfigurationsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerDestinationsActivateSample.js +1 -1
- package/dist-esm/samples-dev/partnerDestinationsCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/partnerDestinationsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerDestinationsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/partnerDestinationsGetSample.js +1 -1
- package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerDestinationsUpdateSample.js +3 -5
- package/dist-esm/samples-dev/partnerDestinationsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerNamespacesCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/partnerNamespacesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerNamespacesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/partnerNamespacesGetSample.js +1 -1
- package/dist-esm/samples-dev/partnerNamespacesListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/partnerNamespacesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerNamespacesListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/partnerNamespacesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerNamespacesListSharedAccessKeysSample.js +1 -1
- package/dist-esm/samples-dev/partnerNamespacesRegenerateKeySample.js +3 -3
- package/dist-esm/samples-dev/partnerNamespacesRegenerateKeySample.js.map +1 -1
- package/dist-esm/samples-dev/partnerNamespacesUpdateSample.js +3 -3
- package/dist-esm/samples-dev/partnerNamespacesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerRegistrationsCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/partnerRegistrationsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerRegistrationsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/partnerRegistrationsGetSample.js +1 -1
- package/dist-esm/samples-dev/partnerRegistrationsListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/partnerRegistrationsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerRegistrationsListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/partnerRegistrationsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerRegistrationsUpdateSample.js +3 -5
- package/dist-esm/samples-dev/partnerRegistrationsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsCreateOrUpdateSample.js +5 -5
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetDeliveryAttributesSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetFullUrlSample.js +1 -1
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetSample.js +1 -1
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsListByPartnerTopicSample.js +2 -2
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsListByPartnerTopicSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsUpdateSample.js +5 -5
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerTopicsActivateSample.js +1 -1
- package/dist-esm/samples-dev/partnerTopicsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/partnerTopicsDeactivateSample.js +1 -1
- package/dist-esm/samples-dev/partnerTopicsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/partnerTopicsGetSample.js +1 -1
- package/dist-esm/samples-dev/partnerTopicsListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/partnerTopicsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerTopicsListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/partnerTopicsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerTopicsUpdateSample.js +3 -3
- package/dist-esm/samples-dev/partnerTopicsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/permissionBindingsCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/permissionBindingsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/permissionBindingsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/permissionBindingsGetSample.js +1 -1
- package/dist-esm/samples-dev/permissionBindingsListByNamespaceSample.js +2 -2
- package/dist-esm/samples-dev/permissionBindingsListByNamespaceSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByResourceSample.js +2 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsListByResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +4 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByResourceSample.js +2 -2
- package/dist-esm/samples-dev/privateLinkResourcesListByResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsCreateOrUpdateSample.js +5 -5
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetDeliveryAttributesSample.js.map +1 -1
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetFullUrlSample.js +1 -1
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetSample.js +1 -1
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsListBySystemTopicSample.js +2 -2
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsListBySystemTopicSample.js.map +1 -1
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsUpdateSample.js +5 -5
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/systemTopicsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/systemTopicsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/systemTopicsGetSample.js +1 -1
- package/dist-esm/samples-dev/systemTopicsListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/systemTopicsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/systemTopicsListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/systemTopicsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/systemTopicsUpdateSample.js +3 -3
- package/dist-esm/samples-dev/systemTopicsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/topicEventSubscriptionsCreateOrUpdateSample.js +5 -5
- package/dist-esm/samples-dev/topicEventSubscriptionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/topicEventSubscriptionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/topicEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
- package/dist-esm/samples-dev/topicEventSubscriptionsGetFullUrlSample.js +1 -1
- package/dist-esm/samples-dev/topicEventSubscriptionsGetSample.js +1 -1
- package/dist-esm/samples-dev/topicEventSubscriptionsListSample.js +2 -2
- package/dist-esm/samples-dev/topicEventSubscriptionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/topicEventSubscriptionsUpdateSample.js +5 -5
- package/dist-esm/samples-dev/topicEventSubscriptionsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/topicSpacesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/topicSpacesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/topicSpacesGetSample.js +1 -1
- package/dist-esm/samples-dev/topicSpacesListByNamespaceSample.js +2 -2
- package/dist-esm/samples-dev/topicSpacesListByNamespaceSample.js.map +1 -1
- package/dist-esm/samples-dev/topicTypesGetSample.js +1 -1
- package/dist-esm/samples-dev/topicTypesListEventTypesSample.js +2 -2
- package/dist-esm/samples-dev/topicTypesListEventTypesSample.js.map +1 -1
- package/dist-esm/samples-dev/topicTypesListSample.js +2 -2
- package/dist-esm/samples-dev/topicTypesListSample.js.map +1 -1
- package/dist-esm/samples-dev/topicsCreateOrUpdateSample.js +6 -6
- package/dist-esm/samples-dev/topicsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/topicsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/topicsGetSample.js +1 -1
- package/dist-esm/samples-dev/topicsListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/topicsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/topicsListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/topicsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/topicsListEventTypesSample.js +2 -2
- package/dist-esm/samples-dev/topicsListEventTypesSample.js.map +1 -1
- package/dist-esm/samples-dev/topicsListSharedAccessKeysSample.js +1 -1
- package/dist-esm/samples-dev/topicsRegenerateKeySample.js +2 -2
- package/dist-esm/samples-dev/topicsRegenerateKeySample.js.map +1 -1
- package/dist-esm/samples-dev/topicsUpdateSample.js +4 -4
- package/dist-esm/samples-dev/topicsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/verifiedPartnersGetSample.js +1 -1
- package/dist-esm/samples-dev/verifiedPartnersListSample.js +2 -2
- package/dist-esm/samples-dev/verifiedPartnersListSample.js.map +1 -1
- package/dist-esm/src/eventGridManagementClient.d.ts.map +1 -1
- package/dist-esm/src/eventGridManagementClient.js +15 -12
- package/dist-esm/src/eventGridManagementClient.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +181 -10
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +26 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +10 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +2293 -1995
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +181 -181
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/caCertificates.d.ts.map +1 -1
- package/dist-esm/src/operations/caCertificates.js +38 -38
- package/dist-esm/src/operations/caCertificates.js.map +1 -1
- package/dist-esm/src/operations/channels.d.ts.map +1 -1
- package/dist-esm/src/operations/channels.js +33 -33
- package/dist-esm/src/operations/channels.js.map +1 -1
- package/dist-esm/src/operations/clientGroups.d.ts.map +1 -1
- package/dist-esm/src/operations/clientGroups.js +38 -38
- package/dist-esm/src/operations/clientGroups.js.map +1 -1
- package/dist-esm/src/operations/clients.d.ts.map +1 -1
- package/dist-esm/src/operations/clients.js +38 -38
- package/dist-esm/src/operations/clients.js.map +1 -1
- package/dist-esm/src/operations/domainEventSubscriptions.d.ts +5 -8
- package/dist-esm/src/operations/domainEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operations/domainEventSubscriptions.js +57 -60
- package/dist-esm/src/operations/domainEventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/domainTopicEventSubscriptions.d.ts +5 -7
- package/dist-esm/src/operations/domainTopicEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operations/domainTopicEventSubscriptions.js +61 -63
- package/dist-esm/src/operations/domainTopicEventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/domainTopics.d.ts.map +1 -1
- package/dist-esm/src/operations/domainTopics.js +31 -31
- package/dist-esm/src/operations/domainTopics.js.map +1 -1
- package/dist-esm/src/operations/domains.d.ts.map +1 -1
- package/dist-esm/src/operations/domains.js +53 -53
- package/dist-esm/src/operations/domains.js.map +1 -1
- package/dist-esm/src/operations/eventSubscriptions.d.ts +7 -7
- package/dist-esm/src/operations/eventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operations/eventSubscriptions.js +140 -140
- package/dist-esm/src/operations/eventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/extensionTopics.js +3 -3
- package/dist-esm/src/operations/namespaceTopicEventSubscriptions.d.ts +18 -15
- package/dist-esm/src/operations/namespaceTopicEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operations/namespaceTopicEventSubscriptions.js +107 -73
- package/dist-esm/src/operations/namespaceTopicEventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/namespaceTopics.d.ts.map +1 -1
- package/dist-esm/src/operations/namespaceTopics.js +69 -69
- package/dist-esm/src/operations/namespaceTopics.js.map +1 -1
- package/dist-esm/src/operations/namespaces.d.ts +15 -1
- package/dist-esm/src/operations/namespaces.d.ts.map +1 -1
- package/dist-esm/src/operations/namespaces.js +163 -77
- package/dist-esm/src/operations/namespaces.js.map +1 -1
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js +26 -26
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
- package/dist-esm/src/operations/operations.js +4 -4
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/partnerConfigurations.d.ts.map +1 -1
- package/dist-esm/src/operations/partnerConfigurations.js +55 -55
- package/dist-esm/src/operations/partnerConfigurations.js.map +1 -1
- package/dist-esm/src/operations/partnerDestinations.d.ts.map +1 -1
- package/dist-esm/src/operations/partnerDestinations.js +66 -66
- package/dist-esm/src/operations/partnerDestinations.js.map +1 -1
- package/dist-esm/src/operations/partnerNamespaces.d.ts.map +1 -1
- package/dist-esm/src/operations/partnerNamespaces.js +68 -68
- package/dist-esm/src/operations/partnerNamespaces.js.map +1 -1
- package/dist-esm/src/operations/partnerRegistrations.d.ts.map +1 -1
- package/dist-esm/src/operations/partnerRegistrations.js +47 -47
- package/dist-esm/src/operations/partnerRegistrations.js.map +1 -1
- package/dist-esm/src/operations/partnerTopicEventSubscriptions.d.ts +9 -16
- package/dist-esm/src/operations/partnerTopicEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operations/partnerTopicEventSubscriptions.js +62 -69
- package/dist-esm/src/operations/partnerTopicEventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/partnerTopics.d.ts.map +1 -1
- package/dist-esm/src/operations/partnerTopics.js +46 -46
- package/dist-esm/src/operations/partnerTopics.js.map +1 -1
- package/dist-esm/src/operations/permissionBindings.d.ts.map +1 -1
- package/dist-esm/src/operations/permissionBindings.js +39 -39
- package/dist-esm/src/operations/permissionBindings.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +39 -39
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +14 -14
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/systemTopicEventSubscriptions.d.ts +9 -16
- package/dist-esm/src/operations/systemTopicEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operations/systemTopicEventSubscriptions.js +62 -69
- package/dist-esm/src/operations/systemTopicEventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/systemTopics.d.ts.map +1 -1
- package/dist-esm/src/operations/systemTopics.js +51 -51
- package/dist-esm/src/operations/systemTopics.js.map +1 -1
- package/dist-esm/src/operations/topicEventSubscriptions.d.ts +5 -8
- package/dist-esm/src/operations/topicEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operations/topicEventSubscriptions.js +57 -60
- package/dist-esm/src/operations/topicEventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/topicSpaces.d.ts.map +1 -1
- package/dist-esm/src/operations/topicSpaces.js +38 -38
- package/dist-esm/src/operations/topicSpaces.js.map +1 -1
- package/dist-esm/src/operations/topicTypes.js +11 -11
- package/dist-esm/src/operations/topicTypes.js.map +1 -1
- package/dist-esm/src/operations/topics.d.ts.map +1 -1
- package/dist-esm/src/operations/topics.js +71 -71
- package/dist-esm/src/operations/topics.js.map +1 -1
- package/dist-esm/src/operations/verifiedPartners.js +10 -10
- package/dist-esm/src/operations/verifiedPartners.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/domainEventSubscriptions.d.ts +5 -8
- package/dist-esm/src/operationsInterfaces/domainEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/domainTopicEventSubscriptions.d.ts +5 -7
- package/dist-esm/src/operationsInterfaces/domainTopicEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/eventSubscriptions.d.ts +7 -7
- package/dist-esm/src/operationsInterfaces/namespaceTopicEventSubscriptions.d.ts +18 -15
- package/dist-esm/src/operationsInterfaces/namespaceTopicEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/namespaces.d.ts +15 -1
- package/dist-esm/src/operationsInterfaces/namespaces.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/partnerTopicEventSubscriptions.d.ts +9 -16
- package/dist-esm/src/operationsInterfaces/partnerTopicEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.d.ts +9 -16
- package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/topicEventSubscriptions.d.ts +5 -8
- package/dist-esm/src/operationsInterfaces/topicEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.js.map +1 -1
- package/dist-esm/test/eventgrid_examples.d.ts +3 -0
- package/dist-esm/test/eventgrid_examples.d.ts.map +1 -1
- package/dist-esm/test/eventgrid_examples.js +14 -8
- package/dist-esm/test/eventgrid_examples.js.map +1 -1
- package/package.json +7 -9
- package/review/arm-eventgrid.api.md +117 -3
- package/src/eventGridManagementClient.ts +28 -30
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +435 -160
- package/src/models/mappers.ts +2974 -2624
- package/src/models/parameters.ts +182 -182
- package/src/operations/caCertificates.ts +77 -83
- package/src/operations/channels.ts +70 -77
- package/src/operations/clientGroups.ts +77 -83
- package/src/operations/clients.ts +77 -83
- package/src/operations/domainEventSubscriptions.ts +111 -124
- package/src/operations/domainTopicEventSubscriptions.ts +119 -130
- package/src/operations/domainTopics.ts +69 -75
- package/src/operations/domains.ts +114 -124
- package/src/operations/eventSubscriptions.ts +428 -449
- package/src/operations/extensionTopics.ts +6 -6
- package/src/operations/namespaceTopicEventSubscriptions.ts +174 -136
- package/src/operations/namespaceTopics.ts +133 -144
- package/src/operations/namespaces.ts +269 -159
- package/src/operations/networkSecurityPerimeterConfigurations.ts +53 -56
- package/src/operations/operations.ts +9 -9
- package/src/operations/partnerConfigurations.ts +113 -124
- package/src/operations/partnerDestinations.ts +125 -135
- package/src/operations/partnerNamespaces.ts +130 -141
- package/src/operations/partnerRegistrations.ts +103 -112
- package/src/operations/partnerTopicEventSubscriptions.ts +120 -136
- package/src/operations/partnerTopics.ts +92 -101
- package/src/operations/permissionBindings.ts +78 -84
- package/src/operations/privateEndpointConnections.ts +80 -85
- package/src/operations/privateLinkResources.ts +31 -33
- package/src/operations/systemTopicEventSubscriptions.ts +120 -136
- package/src/operations/systemTopics.ts +107 -116
- package/src/operations/topicEventSubscriptions.ts +111 -124
- package/src/operations/topicSpaces.ts +77 -83
- package/src/operations/topicTypes.ts +24 -24
- package/src/operations/topics.ts +150 -162
- package/src/operations/verifiedPartners.ts +19 -19
- package/src/operationsInterfaces/caCertificates.ts +7 -7
- package/src/operationsInterfaces/channels.ts +8 -8
- package/src/operationsInterfaces/clientGroups.ts +7 -7
- package/src/operationsInterfaces/clients.ts +7 -7
- package/src/operationsInterfaces/domainEventSubscriptions.ts +16 -19
- package/src/operationsInterfaces/domainTopicEventSubscriptions.ts +16 -18
- package/src/operationsInterfaces/domainTopics.ts +7 -7
- package/src/operationsInterfaces/domains.ts +12 -12
- package/src/operationsInterfaces/eventSubscriptions.ts +27 -27
- package/src/operationsInterfaces/extensionTopics.ts +2 -2
- package/src/operationsInterfaces/namespaceTopicEventSubscriptions.ts +35 -24
- package/src/operationsInterfaces/namespaceTopics.ts +12 -12
- package/src/operationsInterfaces/namespaces.ts +42 -13
- package/src/operationsInterfaces/networkSecurityPerimeterConfigurations.ts +5 -5
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/partnerConfigurations.ts +12 -12
- package/src/operationsInterfaces/partnerDestinations.ts +11 -11
- package/src/operationsInterfaces/partnerNamespaces.ts +12 -12
- package/src/operationsInterfaces/partnerRegistrations.ts +10 -10
- package/src/operationsInterfaces/partnerTopicEventSubscriptions.ts +20 -27
- package/src/operationsInterfaces/partnerTopics.ts +10 -10
- package/src/operationsInterfaces/permissionBindings.ts +7 -7
- package/src/operationsInterfaces/privateEndpointConnections.ts +7 -7
- package/src/operationsInterfaces/privateLinkResources.ts +3 -3
- package/src/operationsInterfaces/systemTopicEventSubscriptions.ts +20 -27
- package/src/operationsInterfaces/systemTopics.ts +10 -10
- package/src/operationsInterfaces/topicEventSubscriptions.ts +16 -19
- package/src/operationsInterfaces/topicSpaces.ts +7 -7
- package/src/operationsInterfaces/topicTypes.ts +4 -4
- package/src/operationsInterfaces/topics.ts +14 -14
- package/src/operationsInterfaces/verifiedPartners.ts +3 -3
- package/src/pagingHelper.ts +1 -1
- package/types/arm-eventgrid.d.ts +272 -86
- package/types/tsdoc-metadata.json +1 -1
|
@@ -16,7 +16,7 @@ import { EventGridManagementClient } from "../eventGridManagementClient";
|
|
|
16
16
|
import {
|
|
17
17
|
SimplePollerLike,
|
|
18
18
|
OperationState,
|
|
19
|
-
createHttpPoller
|
|
19
|
+
createHttpPoller,
|
|
20
20
|
} from "@azure/core-lro";
|
|
21
21
|
import { createLroSpec } from "../lroImpl";
|
|
22
22
|
import {
|
|
@@ -36,13 +36,14 @@ import {
|
|
|
36
36
|
PartnerTopicEventSubscriptionsGetFullUrlResponse,
|
|
37
37
|
PartnerTopicEventSubscriptionsGetDeliveryAttributesOptionalParams,
|
|
38
38
|
PartnerTopicEventSubscriptionsGetDeliveryAttributesResponse,
|
|
39
|
-
PartnerTopicEventSubscriptionsListByPartnerTopicNextResponse
|
|
39
|
+
PartnerTopicEventSubscriptionsListByPartnerTopicNextResponse,
|
|
40
40
|
} from "../models";
|
|
41
41
|
|
|
42
42
|
/// <reference lib="esnext.asynciterable" />
|
|
43
43
|
/** Class containing PartnerTopicEventSubscriptions operations. */
|
|
44
44
|
export class PartnerTopicEventSubscriptionsImpl
|
|
45
|
-
implements PartnerTopicEventSubscriptions
|
|
45
|
+
implements PartnerTopicEventSubscriptions
|
|
46
|
+
{
|
|
46
47
|
private readonly client: EventGridManagementClient;
|
|
47
48
|
|
|
48
49
|
/**
|
|
@@ -62,12 +63,12 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
62
63
|
public listByPartnerTopic(
|
|
63
64
|
resourceGroupName: string,
|
|
64
65
|
partnerTopicName: string,
|
|
65
|
-
options?: PartnerTopicEventSubscriptionsListByPartnerTopicOptionalParams
|
|
66
|
+
options?: PartnerTopicEventSubscriptionsListByPartnerTopicOptionalParams,
|
|
66
67
|
): PagedAsyncIterableIterator<EventSubscription> {
|
|
67
68
|
const iter = this.listByPartnerTopicPagingAll(
|
|
68
69
|
resourceGroupName,
|
|
69
70
|
partnerTopicName,
|
|
70
|
-
options
|
|
71
|
+
options,
|
|
71
72
|
);
|
|
72
73
|
return {
|
|
73
74
|
next() {
|
|
@@ -84,9 +85,9 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
84
85
|
resourceGroupName,
|
|
85
86
|
partnerTopicName,
|
|
86
87
|
options,
|
|
87
|
-
settings
|
|
88
|
+
settings,
|
|
88
89
|
);
|
|
89
|
-
}
|
|
90
|
+
},
|
|
90
91
|
};
|
|
91
92
|
}
|
|
92
93
|
|
|
@@ -94,7 +95,7 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
94
95
|
resourceGroupName: string,
|
|
95
96
|
partnerTopicName: string,
|
|
96
97
|
options?: PartnerTopicEventSubscriptionsListByPartnerTopicOptionalParams,
|
|
97
|
-
settings?: PageSettings
|
|
98
|
+
settings?: PageSettings,
|
|
98
99
|
): AsyncIterableIterator<EventSubscription[]> {
|
|
99
100
|
let result: PartnerTopicEventSubscriptionsListByPartnerTopicResponse;
|
|
100
101
|
let continuationToken = settings?.continuationToken;
|
|
@@ -102,7 +103,7 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
102
103
|
result = await this._listByPartnerTopic(
|
|
103
104
|
resourceGroupName,
|
|
104
105
|
partnerTopicName,
|
|
105
|
-
options
|
|
106
|
+
options,
|
|
106
107
|
);
|
|
107
108
|
let page = result.value || [];
|
|
108
109
|
continuationToken = result.nextLink;
|
|
@@ -114,7 +115,7 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
114
115
|
resourceGroupName,
|
|
115
116
|
partnerTopicName,
|
|
116
117
|
continuationToken,
|
|
117
|
-
options
|
|
118
|
+
options,
|
|
118
119
|
);
|
|
119
120
|
continuationToken = result.nextLink;
|
|
120
121
|
let page = result.value || [];
|
|
@@ -126,12 +127,12 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
126
127
|
private async *listByPartnerTopicPagingAll(
|
|
127
128
|
resourceGroupName: string,
|
|
128
129
|
partnerTopicName: string,
|
|
129
|
-
options?: PartnerTopicEventSubscriptionsListByPartnerTopicOptionalParams
|
|
130
|
+
options?: PartnerTopicEventSubscriptionsListByPartnerTopicOptionalParams,
|
|
130
131
|
): AsyncIterableIterator<EventSubscription> {
|
|
131
132
|
for await (const page of this.listByPartnerTopicPagingPage(
|
|
132
133
|
resourceGroupName,
|
|
133
134
|
partnerTopicName,
|
|
134
|
-
options
|
|
135
|
+
options,
|
|
135
136
|
)) {
|
|
136
137
|
yield* page;
|
|
137
138
|
}
|
|
@@ -141,19 +142,18 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
141
142
|
* Get properties of an event subscription of a partner topic.
|
|
142
143
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
143
144
|
* @param partnerTopicName Name of the partner topic.
|
|
144
|
-
* @param eventSubscriptionName Name of the event subscription to be found.
|
|
145
|
-
* must be between 3 and 100 characters in length and use alphanumeric letters only.
|
|
145
|
+
* @param eventSubscriptionName Name of the event subscription to be found.
|
|
146
146
|
* @param options The options parameters.
|
|
147
147
|
*/
|
|
148
148
|
get(
|
|
149
149
|
resourceGroupName: string,
|
|
150
150
|
partnerTopicName: string,
|
|
151
151
|
eventSubscriptionName: string,
|
|
152
|
-
options?: PartnerTopicEventSubscriptionsGetOptionalParams
|
|
152
|
+
options?: PartnerTopicEventSubscriptionsGetOptionalParams,
|
|
153
153
|
): Promise<PartnerTopicEventSubscriptionsGetResponse> {
|
|
154
154
|
return this.client.sendOperationRequest(
|
|
155
155
|
{ resourceGroupName, partnerTopicName, eventSubscriptionName, options },
|
|
156
|
-
getOperationSpec
|
|
156
|
+
getOperationSpec,
|
|
157
157
|
);
|
|
158
158
|
}
|
|
159
159
|
|
|
@@ -163,7 +163,7 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
163
163
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
164
164
|
* @param partnerTopicName Name of the partner topic.
|
|
165
165
|
* @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
|
|
166
|
-
* must be between 3 and
|
|
166
|
+
* must be between 3 and 64 characters in length and use alphanumeric letters only.
|
|
167
167
|
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter
|
|
168
168
|
* information.
|
|
169
169
|
* @param options The options parameters.
|
|
@@ -173,7 +173,7 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
173
173
|
partnerTopicName: string,
|
|
174
174
|
eventSubscriptionName: string,
|
|
175
175
|
eventSubscriptionInfo: EventSubscription,
|
|
176
|
-
options?: PartnerTopicEventSubscriptionsCreateOrUpdateOptionalParams
|
|
176
|
+
options?: PartnerTopicEventSubscriptionsCreateOrUpdateOptionalParams,
|
|
177
177
|
): Promise<
|
|
178
178
|
SimplePollerLike<
|
|
179
179
|
OperationState<PartnerTopicEventSubscriptionsCreateOrUpdateResponse>,
|
|
@@ -182,21 +182,20 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
182
182
|
> {
|
|
183
183
|
const directSendOperation = async (
|
|
184
184
|
args: coreClient.OperationArguments,
|
|
185
|
-
spec: coreClient.OperationSpec
|
|
185
|
+
spec: coreClient.OperationSpec,
|
|
186
186
|
): Promise<PartnerTopicEventSubscriptionsCreateOrUpdateResponse> => {
|
|
187
187
|
return this.client.sendOperationRequest(args, spec);
|
|
188
188
|
};
|
|
189
189
|
const sendOperationFn = async (
|
|
190
190
|
args: coreClient.OperationArguments,
|
|
191
|
-
spec: coreClient.OperationSpec
|
|
191
|
+
spec: coreClient.OperationSpec,
|
|
192
192
|
) => {
|
|
193
|
-
let currentRawResponse:
|
|
194
|
-
|
|
195
|
-
| undefined = undefined;
|
|
193
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
194
|
+
undefined;
|
|
196
195
|
const providedCallback = args.options?.onResponse;
|
|
197
196
|
const callback: coreClient.RawResponseCallback = (
|
|
198
197
|
rawResponse: coreClient.FullOperationResponse,
|
|
199
|
-
flatResponse: unknown
|
|
198
|
+
flatResponse: unknown,
|
|
200
199
|
) => {
|
|
201
200
|
currentRawResponse = rawResponse;
|
|
202
201
|
providedCallback?.(rawResponse, flatResponse);
|
|
@@ -205,8 +204,8 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
205
204
|
...args,
|
|
206
205
|
options: {
|
|
207
206
|
...args.options,
|
|
208
|
-
onResponse: callback
|
|
209
|
-
}
|
|
207
|
+
onResponse: callback,
|
|
208
|
+
},
|
|
210
209
|
};
|
|
211
210
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
212
211
|
return {
|
|
@@ -214,8 +213,8 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
214
213
|
rawResponse: {
|
|
215
214
|
statusCode: currentRawResponse!.status,
|
|
216
215
|
body: currentRawResponse!.parsedBody,
|
|
217
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
218
|
-
}
|
|
216
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
217
|
+
},
|
|
219
218
|
};
|
|
220
219
|
};
|
|
221
220
|
|
|
@@ -226,16 +225,16 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
226
225
|
partnerTopicName,
|
|
227
226
|
eventSubscriptionName,
|
|
228
227
|
eventSubscriptionInfo,
|
|
229
|
-
options
|
|
228
|
+
options,
|
|
230
229
|
},
|
|
231
|
-
spec: createOrUpdateOperationSpec
|
|
230
|
+
spec: createOrUpdateOperationSpec,
|
|
232
231
|
});
|
|
233
232
|
const poller = await createHttpPoller<
|
|
234
233
|
PartnerTopicEventSubscriptionsCreateOrUpdateResponse,
|
|
235
234
|
OperationState<PartnerTopicEventSubscriptionsCreateOrUpdateResponse>
|
|
236
235
|
>(lro, {
|
|
237
236
|
restoreFrom: options?.resumeFrom,
|
|
238
|
-
intervalInMs: options?.updateIntervalInMs
|
|
237
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
239
238
|
});
|
|
240
239
|
await poller.poll();
|
|
241
240
|
return poller;
|
|
@@ -247,7 +246,7 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
247
246
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
248
247
|
* @param partnerTopicName Name of the partner topic.
|
|
249
248
|
* @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
|
|
250
|
-
* must be between 3 and
|
|
249
|
+
* must be between 3 and 64 characters in length and use alphanumeric letters only.
|
|
251
250
|
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter
|
|
252
251
|
* information.
|
|
253
252
|
* @param options The options parameters.
|
|
@@ -257,14 +256,14 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
257
256
|
partnerTopicName: string,
|
|
258
257
|
eventSubscriptionName: string,
|
|
259
258
|
eventSubscriptionInfo: EventSubscription,
|
|
260
|
-
options?: PartnerTopicEventSubscriptionsCreateOrUpdateOptionalParams
|
|
259
|
+
options?: PartnerTopicEventSubscriptionsCreateOrUpdateOptionalParams,
|
|
261
260
|
): Promise<PartnerTopicEventSubscriptionsCreateOrUpdateResponse> {
|
|
262
261
|
const poller = await this.beginCreateOrUpdate(
|
|
263
262
|
resourceGroupName,
|
|
264
263
|
partnerTopicName,
|
|
265
264
|
eventSubscriptionName,
|
|
266
265
|
eventSubscriptionInfo,
|
|
267
|
-
options
|
|
266
|
+
options,
|
|
268
267
|
);
|
|
269
268
|
return poller.pollUntilDone();
|
|
270
269
|
}
|
|
@@ -273,33 +272,31 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
273
272
|
* Delete an existing event subscription of a partner topic.
|
|
274
273
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
275
274
|
* @param partnerTopicName Name of the partner topic.
|
|
276
|
-
* @param eventSubscriptionName Name of the event subscription to be
|
|
277
|
-
* must be between 3 and 100 characters in length and use alphanumeric letters only.
|
|
275
|
+
* @param eventSubscriptionName Name of the event subscription to be deleted.
|
|
278
276
|
* @param options The options parameters.
|
|
279
277
|
*/
|
|
280
278
|
async beginDelete(
|
|
281
279
|
resourceGroupName: string,
|
|
282
280
|
partnerTopicName: string,
|
|
283
281
|
eventSubscriptionName: string,
|
|
284
|
-
options?: PartnerTopicEventSubscriptionsDeleteOptionalParams
|
|
282
|
+
options?: PartnerTopicEventSubscriptionsDeleteOptionalParams,
|
|
285
283
|
): Promise<SimplePollerLike<OperationState<void>, void>> {
|
|
286
284
|
const directSendOperation = async (
|
|
287
285
|
args: coreClient.OperationArguments,
|
|
288
|
-
spec: coreClient.OperationSpec
|
|
286
|
+
spec: coreClient.OperationSpec,
|
|
289
287
|
): Promise<void> => {
|
|
290
288
|
return this.client.sendOperationRequest(args, spec);
|
|
291
289
|
};
|
|
292
290
|
const sendOperationFn = async (
|
|
293
291
|
args: coreClient.OperationArguments,
|
|
294
|
-
spec: coreClient.OperationSpec
|
|
292
|
+
spec: coreClient.OperationSpec,
|
|
295
293
|
) => {
|
|
296
|
-
let currentRawResponse:
|
|
297
|
-
|
|
298
|
-
| undefined = undefined;
|
|
294
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
295
|
+
undefined;
|
|
299
296
|
const providedCallback = args.options?.onResponse;
|
|
300
297
|
const callback: coreClient.RawResponseCallback = (
|
|
301
298
|
rawResponse: coreClient.FullOperationResponse,
|
|
302
|
-
flatResponse: unknown
|
|
299
|
+
flatResponse: unknown,
|
|
303
300
|
) => {
|
|
304
301
|
currentRawResponse = rawResponse;
|
|
305
302
|
providedCallback?.(rawResponse, flatResponse);
|
|
@@ -308,8 +305,8 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
308
305
|
...args,
|
|
309
306
|
options: {
|
|
310
307
|
...args.options,
|
|
311
|
-
onResponse: callback
|
|
312
|
-
}
|
|
308
|
+
onResponse: callback,
|
|
309
|
+
},
|
|
313
310
|
};
|
|
314
311
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
315
312
|
return {
|
|
@@ -317,8 +314,8 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
317
314
|
rawResponse: {
|
|
318
315
|
statusCode: currentRawResponse!.status,
|
|
319
316
|
body: currentRawResponse!.parsedBody,
|
|
320
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
321
|
-
}
|
|
317
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
318
|
+
},
|
|
322
319
|
};
|
|
323
320
|
};
|
|
324
321
|
|
|
@@ -328,13 +325,13 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
328
325
|
resourceGroupName,
|
|
329
326
|
partnerTopicName,
|
|
330
327
|
eventSubscriptionName,
|
|
331
|
-
options
|
|
328
|
+
options,
|
|
332
329
|
},
|
|
333
|
-
spec: deleteOperationSpec
|
|
330
|
+
spec: deleteOperationSpec,
|
|
334
331
|
});
|
|
335
332
|
const poller = await createHttpPoller<void, OperationState<void>>(lro, {
|
|
336
333
|
restoreFrom: options?.resumeFrom,
|
|
337
|
-
intervalInMs: options?.updateIntervalInMs
|
|
334
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
338
335
|
});
|
|
339
336
|
await poller.poll();
|
|
340
337
|
return poller;
|
|
@@ -344,21 +341,20 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
344
341
|
* Delete an existing event subscription of a partner topic.
|
|
345
342
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
346
343
|
* @param partnerTopicName Name of the partner topic.
|
|
347
|
-
* @param eventSubscriptionName Name of the event subscription to be
|
|
348
|
-
* must be between 3 and 100 characters in length and use alphanumeric letters only.
|
|
344
|
+
* @param eventSubscriptionName Name of the event subscription to be deleted.
|
|
349
345
|
* @param options The options parameters.
|
|
350
346
|
*/
|
|
351
347
|
async beginDeleteAndWait(
|
|
352
348
|
resourceGroupName: string,
|
|
353
349
|
partnerTopicName: string,
|
|
354
350
|
eventSubscriptionName: string,
|
|
355
|
-
options?: PartnerTopicEventSubscriptionsDeleteOptionalParams
|
|
351
|
+
options?: PartnerTopicEventSubscriptionsDeleteOptionalParams,
|
|
356
352
|
): Promise<void> {
|
|
357
353
|
const poller = await this.beginDelete(
|
|
358
354
|
resourceGroupName,
|
|
359
355
|
partnerTopicName,
|
|
360
356
|
eventSubscriptionName,
|
|
361
|
-
options
|
|
357
|
+
options,
|
|
362
358
|
);
|
|
363
359
|
return poller.pollUntilDone();
|
|
364
360
|
}
|
|
@@ -367,8 +363,7 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
367
363
|
* Update an existing event subscription of a partner topic.
|
|
368
364
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
369
365
|
* @param partnerTopicName Name of the partner topic.
|
|
370
|
-
* @param eventSubscriptionName Name of the event subscription to be
|
|
371
|
-
* must be between 3 and 100 characters in length and use alphanumeric letters only.
|
|
366
|
+
* @param eventSubscriptionName Name of the event subscription to be updated.
|
|
372
367
|
* @param eventSubscriptionUpdateParameters Updated event subscription information.
|
|
373
368
|
* @param options The options parameters.
|
|
374
369
|
*/
|
|
@@ -377,7 +372,7 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
377
372
|
partnerTopicName: string,
|
|
378
373
|
eventSubscriptionName: string,
|
|
379
374
|
eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,
|
|
380
|
-
options?: PartnerTopicEventSubscriptionsUpdateOptionalParams
|
|
375
|
+
options?: PartnerTopicEventSubscriptionsUpdateOptionalParams,
|
|
381
376
|
): Promise<
|
|
382
377
|
SimplePollerLike<
|
|
383
378
|
OperationState<PartnerTopicEventSubscriptionsUpdateResponse>,
|
|
@@ -386,21 +381,20 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
386
381
|
> {
|
|
387
382
|
const directSendOperation = async (
|
|
388
383
|
args: coreClient.OperationArguments,
|
|
389
|
-
spec: coreClient.OperationSpec
|
|
384
|
+
spec: coreClient.OperationSpec,
|
|
390
385
|
): Promise<PartnerTopicEventSubscriptionsUpdateResponse> => {
|
|
391
386
|
return this.client.sendOperationRequest(args, spec);
|
|
392
387
|
};
|
|
393
388
|
const sendOperationFn = async (
|
|
394
389
|
args: coreClient.OperationArguments,
|
|
395
|
-
spec: coreClient.OperationSpec
|
|
390
|
+
spec: coreClient.OperationSpec,
|
|
396
391
|
) => {
|
|
397
|
-
let currentRawResponse:
|
|
398
|
-
|
|
399
|
-
| undefined = undefined;
|
|
392
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
393
|
+
undefined;
|
|
400
394
|
const providedCallback = args.options?.onResponse;
|
|
401
395
|
const callback: coreClient.RawResponseCallback = (
|
|
402
396
|
rawResponse: coreClient.FullOperationResponse,
|
|
403
|
-
flatResponse: unknown
|
|
397
|
+
flatResponse: unknown,
|
|
404
398
|
) => {
|
|
405
399
|
currentRawResponse = rawResponse;
|
|
406
400
|
providedCallback?.(rawResponse, flatResponse);
|
|
@@ -409,8 +403,8 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
409
403
|
...args,
|
|
410
404
|
options: {
|
|
411
405
|
...args.options,
|
|
412
|
-
onResponse: callback
|
|
413
|
-
}
|
|
406
|
+
onResponse: callback,
|
|
407
|
+
},
|
|
414
408
|
};
|
|
415
409
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
416
410
|
return {
|
|
@@ -418,8 +412,8 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
418
412
|
rawResponse: {
|
|
419
413
|
statusCode: currentRawResponse!.status,
|
|
420
414
|
body: currentRawResponse!.parsedBody,
|
|
421
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
422
|
-
}
|
|
415
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
416
|
+
},
|
|
423
417
|
};
|
|
424
418
|
};
|
|
425
419
|
|
|
@@ -430,16 +424,16 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
430
424
|
partnerTopicName,
|
|
431
425
|
eventSubscriptionName,
|
|
432
426
|
eventSubscriptionUpdateParameters,
|
|
433
|
-
options
|
|
427
|
+
options,
|
|
434
428
|
},
|
|
435
|
-
spec: updateOperationSpec
|
|
429
|
+
spec: updateOperationSpec,
|
|
436
430
|
});
|
|
437
431
|
const poller = await createHttpPoller<
|
|
438
432
|
PartnerTopicEventSubscriptionsUpdateResponse,
|
|
439
433
|
OperationState<PartnerTopicEventSubscriptionsUpdateResponse>
|
|
440
434
|
>(lro, {
|
|
441
435
|
restoreFrom: options?.resumeFrom,
|
|
442
|
-
intervalInMs: options?.updateIntervalInMs
|
|
436
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
443
437
|
});
|
|
444
438
|
await poller.poll();
|
|
445
439
|
return poller;
|
|
@@ -449,8 +443,7 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
449
443
|
* Update an existing event subscription of a partner topic.
|
|
450
444
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
451
445
|
* @param partnerTopicName Name of the partner topic.
|
|
452
|
-
* @param eventSubscriptionName Name of the event subscription to be
|
|
453
|
-
* must be between 3 and 100 characters in length and use alphanumeric letters only.
|
|
446
|
+
* @param eventSubscriptionName Name of the event subscription to be updated.
|
|
454
447
|
* @param eventSubscriptionUpdateParameters Updated event subscription information.
|
|
455
448
|
* @param options The options parameters.
|
|
456
449
|
*/
|
|
@@ -459,14 +452,14 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
459
452
|
partnerTopicName: string,
|
|
460
453
|
eventSubscriptionName: string,
|
|
461
454
|
eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,
|
|
462
|
-
options?: PartnerTopicEventSubscriptionsUpdateOptionalParams
|
|
455
|
+
options?: PartnerTopicEventSubscriptionsUpdateOptionalParams,
|
|
463
456
|
): Promise<PartnerTopicEventSubscriptionsUpdateResponse> {
|
|
464
457
|
const poller = await this.beginUpdate(
|
|
465
458
|
resourceGroupName,
|
|
466
459
|
partnerTopicName,
|
|
467
460
|
eventSubscriptionName,
|
|
468
461
|
eventSubscriptionUpdateParameters,
|
|
469
|
-
options
|
|
462
|
+
options,
|
|
470
463
|
);
|
|
471
464
|
return poller.pollUntilDone();
|
|
472
465
|
}
|
|
@@ -475,19 +468,18 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
475
468
|
* Get the full endpoint URL for an event subscription of a partner topic.
|
|
476
469
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
477
470
|
* @param partnerTopicName Name of the partner topic.
|
|
478
|
-
* @param eventSubscriptionName Name of the event subscription
|
|
479
|
-
* must be between 3 and 100 characters in length and use alphanumeric letters only.
|
|
471
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
480
472
|
* @param options The options parameters.
|
|
481
473
|
*/
|
|
482
474
|
getFullUrl(
|
|
483
475
|
resourceGroupName: string,
|
|
484
476
|
partnerTopicName: string,
|
|
485
477
|
eventSubscriptionName: string,
|
|
486
|
-
options?: PartnerTopicEventSubscriptionsGetFullUrlOptionalParams
|
|
478
|
+
options?: PartnerTopicEventSubscriptionsGetFullUrlOptionalParams,
|
|
487
479
|
): Promise<PartnerTopicEventSubscriptionsGetFullUrlResponse> {
|
|
488
480
|
return this.client.sendOperationRequest(
|
|
489
481
|
{ resourceGroupName, partnerTopicName, eventSubscriptionName, options },
|
|
490
|
-
getFullUrlOperationSpec
|
|
482
|
+
getFullUrlOperationSpec,
|
|
491
483
|
);
|
|
492
484
|
}
|
|
493
485
|
|
|
@@ -500,11 +492,11 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
500
492
|
private _listByPartnerTopic(
|
|
501
493
|
resourceGroupName: string,
|
|
502
494
|
partnerTopicName: string,
|
|
503
|
-
options?: PartnerTopicEventSubscriptionsListByPartnerTopicOptionalParams
|
|
495
|
+
options?: PartnerTopicEventSubscriptionsListByPartnerTopicOptionalParams,
|
|
504
496
|
): Promise<PartnerTopicEventSubscriptionsListByPartnerTopicResponse> {
|
|
505
497
|
return this.client.sendOperationRequest(
|
|
506
498
|
{ resourceGroupName, partnerTopicName, options },
|
|
507
|
-
listByPartnerTopicOperationSpec
|
|
499
|
+
listByPartnerTopicOperationSpec,
|
|
508
500
|
);
|
|
509
501
|
}
|
|
510
502
|
|
|
@@ -512,19 +504,18 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
512
504
|
* Get all delivery attributes for an event subscription of a partner topic.
|
|
513
505
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
514
506
|
* @param partnerTopicName Name of the partner topic.
|
|
515
|
-
* @param eventSubscriptionName Name of the event subscription
|
|
516
|
-
* must be between 3 and 100 characters in length and use alphanumeric letters only.
|
|
507
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
517
508
|
* @param options The options parameters.
|
|
518
509
|
*/
|
|
519
510
|
getDeliveryAttributes(
|
|
520
511
|
resourceGroupName: string,
|
|
521
512
|
partnerTopicName: string,
|
|
522
513
|
eventSubscriptionName: string,
|
|
523
|
-
options?: PartnerTopicEventSubscriptionsGetDeliveryAttributesOptionalParams
|
|
514
|
+
options?: PartnerTopicEventSubscriptionsGetDeliveryAttributesOptionalParams,
|
|
524
515
|
): Promise<PartnerTopicEventSubscriptionsGetDeliveryAttributesResponse> {
|
|
525
516
|
return this.client.sendOperationRequest(
|
|
526
517
|
{ resourceGroupName, partnerTopicName, eventSubscriptionName, options },
|
|
527
|
-
getDeliveryAttributesOperationSpec
|
|
518
|
+
getDeliveryAttributesOperationSpec,
|
|
528
519
|
);
|
|
529
520
|
}
|
|
530
521
|
|
|
@@ -539,11 +530,11 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
539
530
|
resourceGroupName: string,
|
|
540
531
|
partnerTopicName: string,
|
|
541
532
|
nextLink: string,
|
|
542
|
-
options?: PartnerTopicEventSubscriptionsListByPartnerTopicNextOptionalParams
|
|
533
|
+
options?: PartnerTopicEventSubscriptionsListByPartnerTopicNextOptionalParams,
|
|
543
534
|
): Promise<PartnerTopicEventSubscriptionsListByPartnerTopicNextResponse> {
|
|
544
535
|
return this.client.sendOperationRequest(
|
|
545
536
|
{ resourceGroupName, partnerTopicName, nextLink, options },
|
|
546
|
-
listByPartnerTopicNextOperationSpec
|
|
537
|
+
listByPartnerTopicNextOperationSpec,
|
|
547
538
|
);
|
|
548
539
|
}
|
|
549
540
|
}
|
|
@@ -551,14 +542,13 @@ export class PartnerTopicEventSubscriptionsImpl
|
|
|
551
542
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
552
543
|
|
|
553
544
|
const getOperationSpec: coreClient.OperationSpec = {
|
|
554
|
-
path:
|
|
555
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerTopics/{partnerTopicName}/eventSubscriptions/{eventSubscriptionName}",
|
|
545
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerTopics/{partnerTopicName}/eventSubscriptions/{eventSubscriptionName}",
|
|
556
546
|
httpMethod: "GET",
|
|
557
547
|
responses: {
|
|
558
548
|
200: {
|
|
559
|
-
bodyMapper: Mappers.EventSubscription
|
|
549
|
+
bodyMapper: Mappers.EventSubscription,
|
|
560
550
|
},
|
|
561
|
-
default: {}
|
|
551
|
+
default: {},
|
|
562
552
|
},
|
|
563
553
|
queryParameters: [Parameters.apiVersion],
|
|
564
554
|
urlParameters: [
|
|
@@ -566,29 +556,28 @@ const getOperationSpec: coreClient.OperationSpec = {
|
|
|
566
556
|
Parameters.subscriptionId,
|
|
567
557
|
Parameters.resourceGroupName,
|
|
568
558
|
Parameters.eventSubscriptionName,
|
|
569
|
-
Parameters.partnerTopicName
|
|
559
|
+
Parameters.partnerTopicName,
|
|
570
560
|
],
|
|
571
561
|
headerParameters: [Parameters.accept],
|
|
572
|
-
serializer
|
|
562
|
+
serializer,
|
|
573
563
|
};
|
|
574
564
|
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
575
|
-
path:
|
|
576
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerTopics/{partnerTopicName}/eventSubscriptions/{eventSubscriptionName}",
|
|
565
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerTopics/{partnerTopicName}/eventSubscriptions/{eventSubscriptionName}",
|
|
577
566
|
httpMethod: "PUT",
|
|
578
567
|
responses: {
|
|
579
568
|
200: {
|
|
580
|
-
bodyMapper: Mappers.EventSubscription
|
|
569
|
+
bodyMapper: Mappers.EventSubscription,
|
|
581
570
|
},
|
|
582
571
|
201: {
|
|
583
|
-
bodyMapper: Mappers.EventSubscription
|
|
572
|
+
bodyMapper: Mappers.EventSubscription,
|
|
584
573
|
},
|
|
585
574
|
202: {
|
|
586
|
-
bodyMapper: Mappers.EventSubscription
|
|
575
|
+
bodyMapper: Mappers.EventSubscription,
|
|
587
576
|
},
|
|
588
577
|
204: {
|
|
589
|
-
bodyMapper: Mappers.EventSubscription
|
|
578
|
+
bodyMapper: Mappers.EventSubscription,
|
|
590
579
|
},
|
|
591
|
-
default: {}
|
|
580
|
+
default: {},
|
|
592
581
|
},
|
|
593
582
|
requestBody: Parameters.eventSubscriptionInfo,
|
|
594
583
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -597,15 +586,14 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
|
597
586
|
Parameters.subscriptionId,
|
|
598
587
|
Parameters.resourceGroupName,
|
|
599
588
|
Parameters.eventSubscriptionName,
|
|
600
|
-
Parameters.partnerTopicName
|
|
589
|
+
Parameters.partnerTopicName,
|
|
601
590
|
],
|
|
602
591
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
603
592
|
mediaType: "json",
|
|
604
|
-
serializer
|
|
593
|
+
serializer,
|
|
605
594
|
};
|
|
606
595
|
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
607
|
-
path:
|
|
608
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerTopics/{partnerTopicName}/eventSubscriptions/{eventSubscriptionName}",
|
|
596
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerTopics/{partnerTopicName}/eventSubscriptions/{eventSubscriptionName}",
|
|
609
597
|
httpMethod: "DELETE",
|
|
610
598
|
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
|
611
599
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -614,28 +602,27 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
|
614
602
|
Parameters.subscriptionId,
|
|
615
603
|
Parameters.resourceGroupName,
|
|
616
604
|
Parameters.eventSubscriptionName,
|
|
617
|
-
Parameters.partnerTopicName
|
|
605
|
+
Parameters.partnerTopicName,
|
|
618
606
|
],
|
|
619
|
-
serializer
|
|
607
|
+
serializer,
|
|
620
608
|
};
|
|
621
609
|
const updateOperationSpec: coreClient.OperationSpec = {
|
|
622
|
-
path:
|
|
623
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerTopics/{partnerTopicName}/eventSubscriptions/{eventSubscriptionName}",
|
|
610
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerTopics/{partnerTopicName}/eventSubscriptions/{eventSubscriptionName}",
|
|
624
611
|
httpMethod: "PATCH",
|
|
625
612
|
responses: {
|
|
626
613
|
200: {
|
|
627
|
-
bodyMapper: Mappers.EventSubscription
|
|
614
|
+
bodyMapper: Mappers.EventSubscription,
|
|
628
615
|
},
|
|
629
616
|
201: {
|
|
630
|
-
bodyMapper: Mappers.EventSubscription
|
|
617
|
+
bodyMapper: Mappers.EventSubscription,
|
|
631
618
|
},
|
|
632
619
|
202: {
|
|
633
|
-
bodyMapper: Mappers.EventSubscription
|
|
620
|
+
bodyMapper: Mappers.EventSubscription,
|
|
634
621
|
},
|
|
635
622
|
204: {
|
|
636
|
-
bodyMapper: Mappers.EventSubscription
|
|
623
|
+
bodyMapper: Mappers.EventSubscription,
|
|
637
624
|
},
|
|
638
|
-
default: {}
|
|
625
|
+
default: {},
|
|
639
626
|
},
|
|
640
627
|
requestBody: Parameters.eventSubscriptionUpdateParameters,
|
|
641
628
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -644,21 +631,20 @@ const updateOperationSpec: coreClient.OperationSpec = {
|
|
|
644
631
|
Parameters.subscriptionId,
|
|
645
632
|
Parameters.resourceGroupName,
|
|
646
633
|
Parameters.eventSubscriptionName,
|
|
647
|
-
Parameters.partnerTopicName
|
|
634
|
+
Parameters.partnerTopicName,
|
|
648
635
|
],
|
|
649
636
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
650
637
|
mediaType: "json",
|
|
651
|
-
serializer
|
|
638
|
+
serializer,
|
|
652
639
|
};
|
|
653
640
|
const getFullUrlOperationSpec: coreClient.OperationSpec = {
|
|
654
|
-
path:
|
|
655
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerTopics/{partnerTopicName}/eventSubscriptions/{eventSubscriptionName}/getFullUrl",
|
|
641
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerTopics/{partnerTopicName}/eventSubscriptions/{eventSubscriptionName}/getFullUrl",
|
|
656
642
|
httpMethod: "POST",
|
|
657
643
|
responses: {
|
|
658
644
|
200: {
|
|
659
|
-
bodyMapper: Mappers.EventSubscriptionFullUrl
|
|
645
|
+
bodyMapper: Mappers.EventSubscriptionFullUrl,
|
|
660
646
|
},
|
|
661
|
-
default: {}
|
|
647
|
+
default: {},
|
|
662
648
|
},
|
|
663
649
|
queryParameters: [Parameters.apiVersion],
|
|
664
650
|
urlParameters: [
|
|
@@ -666,40 +652,38 @@ const getFullUrlOperationSpec: coreClient.OperationSpec = {
|
|
|
666
652
|
Parameters.subscriptionId,
|
|
667
653
|
Parameters.resourceGroupName,
|
|
668
654
|
Parameters.eventSubscriptionName,
|
|
669
|
-
Parameters.partnerTopicName
|
|
655
|
+
Parameters.partnerTopicName,
|
|
670
656
|
],
|
|
671
657
|
headerParameters: [Parameters.accept],
|
|
672
|
-
serializer
|
|
658
|
+
serializer,
|
|
673
659
|
};
|
|
674
660
|
const listByPartnerTopicOperationSpec: coreClient.OperationSpec = {
|
|
675
|
-
path:
|
|
676
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerTopics/{partnerTopicName}/eventSubscriptions",
|
|
661
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerTopics/{partnerTopicName}/eventSubscriptions",
|
|
677
662
|
httpMethod: "GET",
|
|
678
663
|
responses: {
|
|
679
664
|
200: {
|
|
680
|
-
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
665
|
+
bodyMapper: Mappers.EventSubscriptionsListResult,
|
|
681
666
|
},
|
|
682
|
-
default: {}
|
|
667
|
+
default: {},
|
|
683
668
|
},
|
|
684
669
|
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
685
670
|
urlParameters: [
|
|
686
671
|
Parameters.$host,
|
|
687
672
|
Parameters.subscriptionId,
|
|
688
673
|
Parameters.resourceGroupName,
|
|
689
|
-
Parameters.partnerTopicName
|
|
674
|
+
Parameters.partnerTopicName,
|
|
690
675
|
],
|
|
691
676
|
headerParameters: [Parameters.accept],
|
|
692
|
-
serializer
|
|
677
|
+
serializer,
|
|
693
678
|
};
|
|
694
679
|
const getDeliveryAttributesOperationSpec: coreClient.OperationSpec = {
|
|
695
|
-
path:
|
|
696
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerTopics/{partnerTopicName}/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes",
|
|
680
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerTopics/{partnerTopicName}/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes",
|
|
697
681
|
httpMethod: "POST",
|
|
698
682
|
responses: {
|
|
699
683
|
200: {
|
|
700
|
-
bodyMapper: Mappers.DeliveryAttributeListResult
|
|
684
|
+
bodyMapper: Mappers.DeliveryAttributeListResult,
|
|
701
685
|
},
|
|
702
|
-
default: {}
|
|
686
|
+
default: {},
|
|
703
687
|
},
|
|
704
688
|
queryParameters: [Parameters.apiVersion],
|
|
705
689
|
urlParameters: [
|
|
@@ -707,27 +691,27 @@ const getDeliveryAttributesOperationSpec: coreClient.OperationSpec = {
|
|
|
707
691
|
Parameters.subscriptionId,
|
|
708
692
|
Parameters.resourceGroupName,
|
|
709
693
|
Parameters.eventSubscriptionName,
|
|
710
|
-
Parameters.partnerTopicName
|
|
694
|
+
Parameters.partnerTopicName,
|
|
711
695
|
],
|
|
712
696
|
headerParameters: [Parameters.accept],
|
|
713
|
-
serializer
|
|
697
|
+
serializer,
|
|
714
698
|
};
|
|
715
699
|
const listByPartnerTopicNextOperationSpec: coreClient.OperationSpec = {
|
|
716
700
|
path: "{nextLink}",
|
|
717
701
|
httpMethod: "GET",
|
|
718
702
|
responses: {
|
|
719
703
|
200: {
|
|
720
|
-
bodyMapper: Mappers.EventSubscriptionsListResult
|
|
704
|
+
bodyMapper: Mappers.EventSubscriptionsListResult,
|
|
721
705
|
},
|
|
722
|
-
default: {}
|
|
706
|
+
default: {},
|
|
723
707
|
},
|
|
724
708
|
urlParameters: [
|
|
725
709
|
Parameters.$host,
|
|
726
710
|
Parameters.subscriptionId,
|
|
727
711
|
Parameters.resourceGroupName,
|
|
728
712
|
Parameters.nextLink,
|
|
729
|
-
Parameters.partnerTopicName
|
|
713
|
+
Parameters.partnerTopicName,
|
|
730
714
|
],
|
|
731
715
|
headerParameters: [Parameters.accept],
|
|
732
|
-
serializer
|
|
716
|
+
serializer,
|
|
733
717
|
};
|