@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 {
|
|
@@ -34,13 +34,16 @@ import {
|
|
|
34
34
|
NamespaceTopicEventSubscriptionsUpdateResponse,
|
|
35
35
|
NamespaceTopicEventSubscriptionsGetDeliveryAttributesOptionalParams,
|
|
36
36
|
NamespaceTopicEventSubscriptionsGetDeliveryAttributesResponse,
|
|
37
|
-
|
|
37
|
+
NamespaceTopicEventSubscriptionsGetFullUrlOptionalParams,
|
|
38
|
+
NamespaceTopicEventSubscriptionsGetFullUrlResponse,
|
|
39
|
+
NamespaceTopicEventSubscriptionsListByNamespaceTopicNextResponse,
|
|
38
40
|
} from "../models";
|
|
39
41
|
|
|
40
42
|
/// <reference lib="esnext.asynciterable" />
|
|
41
43
|
/** Class containing NamespaceTopicEventSubscriptions operations. */
|
|
42
44
|
export class NamespaceTopicEventSubscriptionsImpl
|
|
43
|
-
implements NamespaceTopicEventSubscriptions
|
|
45
|
+
implements NamespaceTopicEventSubscriptions
|
|
46
|
+
{
|
|
44
47
|
private readonly client: EventGridManagementClient;
|
|
45
48
|
|
|
46
49
|
/**
|
|
@@ -62,13 +65,13 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
62
65
|
resourceGroupName: string,
|
|
63
66
|
namespaceName: string,
|
|
64
67
|
topicName: string,
|
|
65
|
-
options?: NamespaceTopicEventSubscriptionsListByNamespaceTopicOptionalParams
|
|
68
|
+
options?: NamespaceTopicEventSubscriptionsListByNamespaceTopicOptionalParams,
|
|
66
69
|
): PagedAsyncIterableIterator<Subscription> {
|
|
67
70
|
const iter = this.listByNamespaceTopicPagingAll(
|
|
68
71
|
resourceGroupName,
|
|
69
72
|
namespaceName,
|
|
70
73
|
topicName,
|
|
71
|
-
options
|
|
74
|
+
options,
|
|
72
75
|
);
|
|
73
76
|
return {
|
|
74
77
|
next() {
|
|
@@ -86,9 +89,9 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
86
89
|
namespaceName,
|
|
87
90
|
topicName,
|
|
88
91
|
options,
|
|
89
|
-
settings
|
|
92
|
+
settings,
|
|
90
93
|
);
|
|
91
|
-
}
|
|
94
|
+
},
|
|
92
95
|
};
|
|
93
96
|
}
|
|
94
97
|
|
|
@@ -97,7 +100,7 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
97
100
|
namespaceName: string,
|
|
98
101
|
topicName: string,
|
|
99
102
|
options?: NamespaceTopicEventSubscriptionsListByNamespaceTopicOptionalParams,
|
|
100
|
-
settings?: PageSettings
|
|
103
|
+
settings?: PageSettings,
|
|
101
104
|
): AsyncIterableIterator<Subscription[]> {
|
|
102
105
|
let result: NamespaceTopicEventSubscriptionsListByNamespaceTopicResponse;
|
|
103
106
|
let continuationToken = settings?.continuationToken;
|
|
@@ -106,7 +109,7 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
106
109
|
resourceGroupName,
|
|
107
110
|
namespaceName,
|
|
108
111
|
topicName,
|
|
109
|
-
options
|
|
112
|
+
options,
|
|
110
113
|
);
|
|
111
114
|
let page = result.value || [];
|
|
112
115
|
continuationToken = result.nextLink;
|
|
@@ -119,7 +122,7 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
119
122
|
namespaceName,
|
|
120
123
|
topicName,
|
|
121
124
|
continuationToken,
|
|
122
|
-
options
|
|
125
|
+
options,
|
|
123
126
|
);
|
|
124
127
|
continuationToken = result.nextLink;
|
|
125
128
|
let page = result.value || [];
|
|
@@ -132,13 +135,13 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
132
135
|
resourceGroupName: string,
|
|
133
136
|
namespaceName: string,
|
|
134
137
|
topicName: string,
|
|
135
|
-
options?: NamespaceTopicEventSubscriptionsListByNamespaceTopicOptionalParams
|
|
138
|
+
options?: NamespaceTopicEventSubscriptionsListByNamespaceTopicOptionalParams,
|
|
136
139
|
): AsyncIterableIterator<Subscription> {
|
|
137
140
|
for await (const page of this.listByNamespaceTopicPagingPage(
|
|
138
141
|
resourceGroupName,
|
|
139
142
|
namespaceName,
|
|
140
143
|
topicName,
|
|
141
|
-
options
|
|
144
|
+
options,
|
|
142
145
|
)) {
|
|
143
146
|
yield* page;
|
|
144
147
|
}
|
|
@@ -149,8 +152,7 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
149
152
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
150
153
|
* @param namespaceName Name of the namespace.
|
|
151
154
|
* @param topicName Name of the namespace topic.
|
|
152
|
-
* @param eventSubscriptionName Name of the event subscription to be
|
|
153
|
-
* must be between 3 and 100 characters in length and use alphanumeric letters only.
|
|
155
|
+
* @param eventSubscriptionName Name of the event subscription to be found.
|
|
154
156
|
* @param options The options parameters.
|
|
155
157
|
*/
|
|
156
158
|
get(
|
|
@@ -158,7 +160,7 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
158
160
|
namespaceName: string,
|
|
159
161
|
topicName: string,
|
|
160
162
|
eventSubscriptionName: string,
|
|
161
|
-
options?: NamespaceTopicEventSubscriptionsGetOptionalParams
|
|
163
|
+
options?: NamespaceTopicEventSubscriptionsGetOptionalParams,
|
|
162
164
|
): Promise<NamespaceTopicEventSubscriptionsGetResponse> {
|
|
163
165
|
return this.client.sendOperationRequest(
|
|
164
166
|
{
|
|
@@ -166,9 +168,9 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
166
168
|
namespaceName,
|
|
167
169
|
topicName,
|
|
168
170
|
eventSubscriptionName,
|
|
169
|
-
options
|
|
171
|
+
options,
|
|
170
172
|
},
|
|
171
|
-
getOperationSpec
|
|
173
|
+
getOperationSpec,
|
|
172
174
|
);
|
|
173
175
|
}
|
|
174
176
|
|
|
@@ -179,7 +181,7 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
179
181
|
* @param namespaceName Name of the namespace.
|
|
180
182
|
* @param topicName Name of the namespace topic.
|
|
181
183
|
* @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
|
|
182
|
-
* must be between 3 and
|
|
184
|
+
* must be between 3 and 50 characters in length and use alphanumeric letters only.
|
|
183
185
|
* @param eventSubscriptionInfo Event subscription properties containing the delivery mode, filter
|
|
184
186
|
* information, and others.
|
|
185
187
|
* @param options The options parameters.
|
|
@@ -190,7 +192,7 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
190
192
|
topicName: string,
|
|
191
193
|
eventSubscriptionName: string,
|
|
192
194
|
eventSubscriptionInfo: Subscription,
|
|
193
|
-
options?: NamespaceTopicEventSubscriptionsCreateOrUpdateOptionalParams
|
|
195
|
+
options?: NamespaceTopicEventSubscriptionsCreateOrUpdateOptionalParams,
|
|
194
196
|
): Promise<
|
|
195
197
|
SimplePollerLike<
|
|
196
198
|
OperationState<NamespaceTopicEventSubscriptionsCreateOrUpdateResponse>,
|
|
@@ -199,21 +201,20 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
199
201
|
> {
|
|
200
202
|
const directSendOperation = async (
|
|
201
203
|
args: coreClient.OperationArguments,
|
|
202
|
-
spec: coreClient.OperationSpec
|
|
204
|
+
spec: coreClient.OperationSpec,
|
|
203
205
|
): Promise<NamespaceTopicEventSubscriptionsCreateOrUpdateResponse> => {
|
|
204
206
|
return this.client.sendOperationRequest(args, spec);
|
|
205
207
|
};
|
|
206
208
|
const sendOperationFn = async (
|
|
207
209
|
args: coreClient.OperationArguments,
|
|
208
|
-
spec: coreClient.OperationSpec
|
|
210
|
+
spec: coreClient.OperationSpec,
|
|
209
211
|
) => {
|
|
210
|
-
let currentRawResponse:
|
|
211
|
-
|
|
212
|
-
| undefined = undefined;
|
|
212
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
213
|
+
undefined;
|
|
213
214
|
const providedCallback = args.options?.onResponse;
|
|
214
215
|
const callback: coreClient.RawResponseCallback = (
|
|
215
216
|
rawResponse: coreClient.FullOperationResponse,
|
|
216
|
-
flatResponse: unknown
|
|
217
|
+
flatResponse: unknown,
|
|
217
218
|
) => {
|
|
218
219
|
currentRawResponse = rawResponse;
|
|
219
220
|
providedCallback?.(rawResponse, flatResponse);
|
|
@@ -222,8 +223,8 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
222
223
|
...args,
|
|
223
224
|
options: {
|
|
224
225
|
...args.options,
|
|
225
|
-
onResponse: callback
|
|
226
|
-
}
|
|
226
|
+
onResponse: callback,
|
|
227
|
+
},
|
|
227
228
|
};
|
|
228
229
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
229
230
|
return {
|
|
@@ -231,8 +232,8 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
231
232
|
rawResponse: {
|
|
232
233
|
statusCode: currentRawResponse!.status,
|
|
233
234
|
body: currentRawResponse!.parsedBody,
|
|
234
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
235
|
-
}
|
|
235
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
236
|
+
},
|
|
236
237
|
};
|
|
237
238
|
};
|
|
238
239
|
|
|
@@ -244,9 +245,9 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
244
245
|
topicName,
|
|
245
246
|
eventSubscriptionName,
|
|
246
247
|
eventSubscriptionInfo,
|
|
247
|
-
options
|
|
248
|
+
options,
|
|
248
249
|
},
|
|
249
|
-
spec: createOrUpdateOperationSpec
|
|
250
|
+
spec: createOrUpdateOperationSpec,
|
|
250
251
|
});
|
|
251
252
|
const poller = await createHttpPoller<
|
|
252
253
|
NamespaceTopicEventSubscriptionsCreateOrUpdateResponse,
|
|
@@ -254,7 +255,7 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
254
255
|
>(lro, {
|
|
255
256
|
restoreFrom: options?.resumeFrom,
|
|
256
257
|
intervalInMs: options?.updateIntervalInMs,
|
|
257
|
-
resourceLocationConfig: "azure-async-operation"
|
|
258
|
+
resourceLocationConfig: "azure-async-operation",
|
|
258
259
|
});
|
|
259
260
|
await poller.poll();
|
|
260
261
|
return poller;
|
|
@@ -267,7 +268,7 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
267
268
|
* @param namespaceName Name of the namespace.
|
|
268
269
|
* @param topicName Name of the namespace topic.
|
|
269
270
|
* @param eventSubscriptionName Name of the event subscription to be created. Event subscription names
|
|
270
|
-
* must be between 3 and
|
|
271
|
+
* must be between 3 and 50 characters in length and use alphanumeric letters only.
|
|
271
272
|
* @param eventSubscriptionInfo Event subscription properties containing the delivery mode, filter
|
|
272
273
|
* information, and others.
|
|
273
274
|
* @param options The options parameters.
|
|
@@ -278,7 +279,7 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
278
279
|
topicName: string,
|
|
279
280
|
eventSubscriptionName: string,
|
|
280
281
|
eventSubscriptionInfo: Subscription,
|
|
281
|
-
options?: NamespaceTopicEventSubscriptionsCreateOrUpdateOptionalParams
|
|
282
|
+
options?: NamespaceTopicEventSubscriptionsCreateOrUpdateOptionalParams,
|
|
282
283
|
): Promise<NamespaceTopicEventSubscriptionsCreateOrUpdateResponse> {
|
|
283
284
|
const poller = await this.beginCreateOrUpdate(
|
|
284
285
|
resourceGroupName,
|
|
@@ -286,7 +287,7 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
286
287
|
topicName,
|
|
287
288
|
eventSubscriptionName,
|
|
288
289
|
eventSubscriptionInfo,
|
|
289
|
-
options
|
|
290
|
+
options,
|
|
290
291
|
);
|
|
291
292
|
return poller.pollUntilDone();
|
|
292
293
|
}
|
|
@@ -296,8 +297,7 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
296
297
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
297
298
|
* @param namespaceName Name of the namespace.
|
|
298
299
|
* @param topicName Name of the namespace topic.
|
|
299
|
-
* @param eventSubscriptionName Name of the event subscription to be
|
|
300
|
-
* must be between 3 and 100 characters in length and use alphanumeric letters only.
|
|
300
|
+
* @param eventSubscriptionName Name of the event subscription to be deleted.
|
|
301
301
|
* @param options The options parameters.
|
|
302
302
|
*/
|
|
303
303
|
async beginDelete(
|
|
@@ -305,25 +305,24 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
305
305
|
namespaceName: string,
|
|
306
306
|
topicName: string,
|
|
307
307
|
eventSubscriptionName: string,
|
|
308
|
-
options?: NamespaceTopicEventSubscriptionsDeleteOptionalParams
|
|
308
|
+
options?: NamespaceTopicEventSubscriptionsDeleteOptionalParams,
|
|
309
309
|
): Promise<SimplePollerLike<OperationState<void>, void>> {
|
|
310
310
|
const directSendOperation = async (
|
|
311
311
|
args: coreClient.OperationArguments,
|
|
312
|
-
spec: coreClient.OperationSpec
|
|
312
|
+
spec: coreClient.OperationSpec,
|
|
313
313
|
): Promise<void> => {
|
|
314
314
|
return this.client.sendOperationRequest(args, spec);
|
|
315
315
|
};
|
|
316
316
|
const sendOperationFn = async (
|
|
317
317
|
args: coreClient.OperationArguments,
|
|
318
|
-
spec: coreClient.OperationSpec
|
|
318
|
+
spec: coreClient.OperationSpec,
|
|
319
319
|
) => {
|
|
320
|
-
let currentRawResponse:
|
|
321
|
-
|
|
322
|
-
| undefined = undefined;
|
|
320
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
321
|
+
undefined;
|
|
323
322
|
const providedCallback = args.options?.onResponse;
|
|
324
323
|
const callback: coreClient.RawResponseCallback = (
|
|
325
324
|
rawResponse: coreClient.FullOperationResponse,
|
|
326
|
-
flatResponse: unknown
|
|
325
|
+
flatResponse: unknown,
|
|
327
326
|
) => {
|
|
328
327
|
currentRawResponse = rawResponse;
|
|
329
328
|
providedCallback?.(rawResponse, flatResponse);
|
|
@@ -332,8 +331,8 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
332
331
|
...args,
|
|
333
332
|
options: {
|
|
334
333
|
...args.options,
|
|
335
|
-
onResponse: callback
|
|
336
|
-
}
|
|
334
|
+
onResponse: callback,
|
|
335
|
+
},
|
|
337
336
|
};
|
|
338
337
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
339
338
|
return {
|
|
@@ -341,8 +340,8 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
341
340
|
rawResponse: {
|
|
342
341
|
statusCode: currentRawResponse!.status,
|
|
343
342
|
body: currentRawResponse!.parsedBody,
|
|
344
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
345
|
-
}
|
|
343
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
344
|
+
},
|
|
346
345
|
};
|
|
347
346
|
};
|
|
348
347
|
|
|
@@ -353,14 +352,14 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
353
352
|
namespaceName,
|
|
354
353
|
topicName,
|
|
355
354
|
eventSubscriptionName,
|
|
356
|
-
options
|
|
355
|
+
options,
|
|
357
356
|
},
|
|
358
|
-
spec: deleteOperationSpec
|
|
357
|
+
spec: deleteOperationSpec,
|
|
359
358
|
});
|
|
360
359
|
const poller = await createHttpPoller<void, OperationState<void>>(lro, {
|
|
361
360
|
restoreFrom: options?.resumeFrom,
|
|
362
361
|
intervalInMs: options?.updateIntervalInMs,
|
|
363
|
-
resourceLocationConfig: "location"
|
|
362
|
+
resourceLocationConfig: "location",
|
|
364
363
|
});
|
|
365
364
|
await poller.poll();
|
|
366
365
|
return poller;
|
|
@@ -371,8 +370,7 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
371
370
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
372
371
|
* @param namespaceName Name of the namespace.
|
|
373
372
|
* @param topicName Name of the namespace topic.
|
|
374
|
-
* @param eventSubscriptionName Name of the event subscription to be
|
|
375
|
-
* must be between 3 and 100 characters in length and use alphanumeric letters only.
|
|
373
|
+
* @param eventSubscriptionName Name of the event subscription to be deleted.
|
|
376
374
|
* @param options The options parameters.
|
|
377
375
|
*/
|
|
378
376
|
async beginDeleteAndWait(
|
|
@@ -380,14 +378,14 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
380
378
|
namespaceName: string,
|
|
381
379
|
topicName: string,
|
|
382
380
|
eventSubscriptionName: string,
|
|
383
|
-
options?: NamespaceTopicEventSubscriptionsDeleteOptionalParams
|
|
381
|
+
options?: NamespaceTopicEventSubscriptionsDeleteOptionalParams,
|
|
384
382
|
): Promise<void> {
|
|
385
383
|
const poller = await this.beginDelete(
|
|
386
384
|
resourceGroupName,
|
|
387
385
|
namespaceName,
|
|
388
386
|
topicName,
|
|
389
387
|
eventSubscriptionName,
|
|
390
|
-
options
|
|
388
|
+
options,
|
|
391
389
|
);
|
|
392
390
|
return poller.pollUntilDone();
|
|
393
391
|
}
|
|
@@ -397,8 +395,7 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
397
395
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
398
396
|
* @param namespaceName Name of the namespace.
|
|
399
397
|
* @param topicName Name of the namespace topic.
|
|
400
|
-
* @param eventSubscriptionName Name of the event subscription to be
|
|
401
|
-
* must be between 3 and 100 characters in length and use alphanumeric letters only.
|
|
398
|
+
* @param eventSubscriptionName Name of the event subscription to be updated.
|
|
402
399
|
* @param eventSubscriptionUpdateParameters Updated event subscription information.
|
|
403
400
|
* @param options The options parameters.
|
|
404
401
|
*/
|
|
@@ -408,7 +405,7 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
408
405
|
topicName: string,
|
|
409
406
|
eventSubscriptionName: string,
|
|
410
407
|
eventSubscriptionUpdateParameters: SubscriptionUpdateParameters,
|
|
411
|
-
options?: NamespaceTopicEventSubscriptionsUpdateOptionalParams
|
|
408
|
+
options?: NamespaceTopicEventSubscriptionsUpdateOptionalParams,
|
|
412
409
|
): Promise<
|
|
413
410
|
SimplePollerLike<
|
|
414
411
|
OperationState<NamespaceTopicEventSubscriptionsUpdateResponse>,
|
|
@@ -417,21 +414,20 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
417
414
|
> {
|
|
418
415
|
const directSendOperation = async (
|
|
419
416
|
args: coreClient.OperationArguments,
|
|
420
|
-
spec: coreClient.OperationSpec
|
|
417
|
+
spec: coreClient.OperationSpec,
|
|
421
418
|
): Promise<NamespaceTopicEventSubscriptionsUpdateResponse> => {
|
|
422
419
|
return this.client.sendOperationRequest(args, spec);
|
|
423
420
|
};
|
|
424
421
|
const sendOperationFn = async (
|
|
425
422
|
args: coreClient.OperationArguments,
|
|
426
|
-
spec: coreClient.OperationSpec
|
|
423
|
+
spec: coreClient.OperationSpec,
|
|
427
424
|
) => {
|
|
428
|
-
let currentRawResponse:
|
|
429
|
-
|
|
430
|
-
| undefined = undefined;
|
|
425
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
426
|
+
undefined;
|
|
431
427
|
const providedCallback = args.options?.onResponse;
|
|
432
428
|
const callback: coreClient.RawResponseCallback = (
|
|
433
429
|
rawResponse: coreClient.FullOperationResponse,
|
|
434
|
-
flatResponse: unknown
|
|
430
|
+
flatResponse: unknown,
|
|
435
431
|
) => {
|
|
436
432
|
currentRawResponse = rawResponse;
|
|
437
433
|
providedCallback?.(rawResponse, flatResponse);
|
|
@@ -440,8 +436,8 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
440
436
|
...args,
|
|
441
437
|
options: {
|
|
442
438
|
...args.options,
|
|
443
|
-
onResponse: callback
|
|
444
|
-
}
|
|
439
|
+
onResponse: callback,
|
|
440
|
+
},
|
|
445
441
|
};
|
|
446
442
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
447
443
|
return {
|
|
@@ -449,8 +445,8 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
449
445
|
rawResponse: {
|
|
450
446
|
statusCode: currentRawResponse!.status,
|
|
451
447
|
body: currentRawResponse!.parsedBody,
|
|
452
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
453
|
-
}
|
|
448
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
449
|
+
},
|
|
454
450
|
};
|
|
455
451
|
};
|
|
456
452
|
|
|
@@ -462,9 +458,9 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
462
458
|
topicName,
|
|
463
459
|
eventSubscriptionName,
|
|
464
460
|
eventSubscriptionUpdateParameters,
|
|
465
|
-
options
|
|
461
|
+
options,
|
|
466
462
|
},
|
|
467
|
-
spec: updateOperationSpec
|
|
463
|
+
spec: updateOperationSpec,
|
|
468
464
|
});
|
|
469
465
|
const poller = await createHttpPoller<
|
|
470
466
|
NamespaceTopicEventSubscriptionsUpdateResponse,
|
|
@@ -472,7 +468,7 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
472
468
|
>(lro, {
|
|
473
469
|
restoreFrom: options?.resumeFrom,
|
|
474
470
|
intervalInMs: options?.updateIntervalInMs,
|
|
475
|
-
resourceLocationConfig: "azure-async-operation"
|
|
471
|
+
resourceLocationConfig: "azure-async-operation",
|
|
476
472
|
});
|
|
477
473
|
await poller.poll();
|
|
478
474
|
return poller;
|
|
@@ -483,8 +479,7 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
483
479
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
484
480
|
* @param namespaceName Name of the namespace.
|
|
485
481
|
* @param topicName Name of the namespace topic.
|
|
486
|
-
* @param eventSubscriptionName Name of the event subscription to be
|
|
487
|
-
* must be between 3 and 100 characters in length and use alphanumeric letters only.
|
|
482
|
+
* @param eventSubscriptionName Name of the event subscription to be updated.
|
|
488
483
|
* @param eventSubscriptionUpdateParameters Updated event subscription information.
|
|
489
484
|
* @param options The options parameters.
|
|
490
485
|
*/
|
|
@@ -494,7 +489,7 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
494
489
|
topicName: string,
|
|
495
490
|
eventSubscriptionName: string,
|
|
496
491
|
eventSubscriptionUpdateParameters: SubscriptionUpdateParameters,
|
|
497
|
-
options?: NamespaceTopicEventSubscriptionsUpdateOptionalParams
|
|
492
|
+
options?: NamespaceTopicEventSubscriptionsUpdateOptionalParams,
|
|
498
493
|
): Promise<NamespaceTopicEventSubscriptionsUpdateResponse> {
|
|
499
494
|
const poller = await this.beginUpdate(
|
|
500
495
|
resourceGroupName,
|
|
@@ -502,7 +497,7 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
502
497
|
topicName,
|
|
503
498
|
eventSubscriptionName,
|
|
504
499
|
eventSubscriptionUpdateParameters,
|
|
505
|
-
options
|
|
500
|
+
options,
|
|
506
501
|
);
|
|
507
502
|
return poller.pollUntilDone();
|
|
508
503
|
}
|
|
@@ -518,11 +513,11 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
518
513
|
resourceGroupName: string,
|
|
519
514
|
namespaceName: string,
|
|
520
515
|
topicName: string,
|
|
521
|
-
options?: NamespaceTopicEventSubscriptionsListByNamespaceTopicOptionalParams
|
|
516
|
+
options?: NamespaceTopicEventSubscriptionsListByNamespaceTopicOptionalParams,
|
|
522
517
|
): Promise<NamespaceTopicEventSubscriptionsListByNamespaceTopicResponse> {
|
|
523
518
|
return this.client.sendOperationRequest(
|
|
524
519
|
{ resourceGroupName, namespaceName, topicName, options },
|
|
525
|
-
listByNamespaceTopicOperationSpec
|
|
520
|
+
listByNamespaceTopicOperationSpec,
|
|
526
521
|
);
|
|
527
522
|
}
|
|
528
523
|
|
|
@@ -531,8 +526,7 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
531
526
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
532
527
|
* @param namespaceName Name of the namespace.
|
|
533
528
|
* @param topicName Name of the namespace topic.
|
|
534
|
-
* @param eventSubscriptionName Name of the event subscription
|
|
535
|
-
* must be between 3 and 100 characters in length and use alphanumeric letters only.
|
|
529
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
536
530
|
* @param options The options parameters.
|
|
537
531
|
*/
|
|
538
532
|
getDeliveryAttributes(
|
|
@@ -540,7 +534,7 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
540
534
|
namespaceName: string,
|
|
541
535
|
topicName: string,
|
|
542
536
|
eventSubscriptionName: string,
|
|
543
|
-
options?: NamespaceTopicEventSubscriptionsGetDeliveryAttributesOptionalParams
|
|
537
|
+
options?: NamespaceTopicEventSubscriptionsGetDeliveryAttributesOptionalParams,
|
|
544
538
|
): Promise<NamespaceTopicEventSubscriptionsGetDeliveryAttributesResponse> {
|
|
545
539
|
return this.client.sendOperationRequest(
|
|
546
540
|
{
|
|
@@ -548,9 +542,36 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
548
542
|
namespaceName,
|
|
549
543
|
topicName,
|
|
550
544
|
eventSubscriptionName,
|
|
551
|
-
options
|
|
545
|
+
options,
|
|
552
546
|
},
|
|
553
|
-
getDeliveryAttributesOperationSpec
|
|
547
|
+
getDeliveryAttributesOperationSpec,
|
|
548
|
+
);
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* Get the full endpoint URL for an event subscription of a namespace topic.
|
|
553
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
554
|
+
* @param namespaceName Name of the namespace.
|
|
555
|
+
* @param topicName Name of the namespace topic.
|
|
556
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
557
|
+
* @param options The options parameters.
|
|
558
|
+
*/
|
|
559
|
+
getFullUrl(
|
|
560
|
+
resourceGroupName: string,
|
|
561
|
+
namespaceName: string,
|
|
562
|
+
topicName: string,
|
|
563
|
+
eventSubscriptionName: string,
|
|
564
|
+
options?: NamespaceTopicEventSubscriptionsGetFullUrlOptionalParams,
|
|
565
|
+
): Promise<NamespaceTopicEventSubscriptionsGetFullUrlResponse> {
|
|
566
|
+
return this.client.sendOperationRequest(
|
|
567
|
+
{
|
|
568
|
+
resourceGroupName,
|
|
569
|
+
namespaceName,
|
|
570
|
+
topicName,
|
|
571
|
+
eventSubscriptionName,
|
|
572
|
+
options,
|
|
573
|
+
},
|
|
574
|
+
getFullUrlOperationSpec,
|
|
554
575
|
);
|
|
555
576
|
}
|
|
556
577
|
|
|
@@ -567,11 +588,11 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
567
588
|
namespaceName: string,
|
|
568
589
|
topicName: string,
|
|
569
590
|
nextLink: string,
|
|
570
|
-
options?: NamespaceTopicEventSubscriptionsListByNamespaceTopicNextOptionalParams
|
|
591
|
+
options?: NamespaceTopicEventSubscriptionsListByNamespaceTopicNextOptionalParams,
|
|
571
592
|
): Promise<NamespaceTopicEventSubscriptionsListByNamespaceTopicNextResponse> {
|
|
572
593
|
return this.client.sendOperationRequest(
|
|
573
594
|
{ resourceGroupName, namespaceName, topicName, nextLink, options },
|
|
574
|
-
listByNamespaceTopicNextOperationSpec
|
|
595
|
+
listByNamespaceTopicNextOperationSpec,
|
|
575
596
|
);
|
|
576
597
|
}
|
|
577
598
|
}
|
|
@@ -579,16 +600,15 @@ export class NamespaceTopicEventSubscriptionsImpl
|
|
|
579
600
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
580
601
|
|
|
581
602
|
const getOperationSpec: coreClient.OperationSpec = {
|
|
582
|
-
path:
|
|
583
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}",
|
|
603
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}",
|
|
584
604
|
httpMethod: "GET",
|
|
585
605
|
responses: {
|
|
586
606
|
200: {
|
|
587
|
-
bodyMapper: Mappers.Subscription
|
|
607
|
+
bodyMapper: Mappers.Subscription,
|
|
588
608
|
},
|
|
589
609
|
default: {
|
|
590
|
-
bodyMapper: Mappers.ErrorResponse
|
|
591
|
-
}
|
|
610
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
611
|
+
},
|
|
592
612
|
},
|
|
593
613
|
queryParameters: [Parameters.apiVersion],
|
|
594
614
|
urlParameters: [
|
|
@@ -597,31 +617,30 @@ const getOperationSpec: coreClient.OperationSpec = {
|
|
|
597
617
|
Parameters.resourceGroupName,
|
|
598
618
|
Parameters.namespaceName,
|
|
599
619
|
Parameters.topicName1,
|
|
600
|
-
Parameters.eventSubscriptionName1
|
|
620
|
+
Parameters.eventSubscriptionName1,
|
|
601
621
|
],
|
|
602
622
|
headerParameters: [Parameters.accept],
|
|
603
|
-
serializer
|
|
623
|
+
serializer,
|
|
604
624
|
};
|
|
605
625
|
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
606
|
-
path:
|
|
607
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}",
|
|
626
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}",
|
|
608
627
|
httpMethod: "PUT",
|
|
609
628
|
responses: {
|
|
610
629
|
200: {
|
|
611
|
-
bodyMapper: Mappers.Subscription
|
|
630
|
+
bodyMapper: Mappers.Subscription,
|
|
612
631
|
},
|
|
613
632
|
201: {
|
|
614
|
-
bodyMapper: Mappers.Subscription
|
|
633
|
+
bodyMapper: Mappers.Subscription,
|
|
615
634
|
},
|
|
616
635
|
202: {
|
|
617
|
-
bodyMapper: Mappers.Subscription
|
|
636
|
+
bodyMapper: Mappers.Subscription,
|
|
618
637
|
},
|
|
619
638
|
204: {
|
|
620
|
-
bodyMapper: Mappers.Subscription
|
|
639
|
+
bodyMapper: Mappers.Subscription,
|
|
621
640
|
},
|
|
622
641
|
default: {
|
|
623
|
-
bodyMapper: Mappers.ErrorResponse
|
|
624
|
-
}
|
|
642
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
643
|
+
},
|
|
625
644
|
},
|
|
626
645
|
requestBody: Parameters.eventSubscriptionInfo1,
|
|
627
646
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -631,15 +650,14 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
|
631
650
|
Parameters.resourceGroupName,
|
|
632
651
|
Parameters.namespaceName,
|
|
633
652
|
Parameters.topicName1,
|
|
634
|
-
Parameters.eventSubscriptionName1
|
|
653
|
+
Parameters.eventSubscriptionName1,
|
|
635
654
|
],
|
|
636
655
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
637
656
|
mediaType: "json",
|
|
638
|
-
serializer
|
|
657
|
+
serializer,
|
|
639
658
|
};
|
|
640
659
|
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
641
|
-
path:
|
|
642
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}",
|
|
660
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}",
|
|
643
661
|
httpMethod: "DELETE",
|
|
644
662
|
responses: {
|
|
645
663
|
200: {},
|
|
@@ -647,8 +665,8 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
|
647
665
|
202: {},
|
|
648
666
|
204: {},
|
|
649
667
|
default: {
|
|
650
|
-
bodyMapper: Mappers.ErrorResponse
|
|
651
|
-
}
|
|
668
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
669
|
+
},
|
|
652
670
|
},
|
|
653
671
|
queryParameters: [Parameters.apiVersion],
|
|
654
672
|
urlParameters: [
|
|
@@ -657,31 +675,30 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
|
657
675
|
Parameters.resourceGroupName,
|
|
658
676
|
Parameters.namespaceName,
|
|
659
677
|
Parameters.topicName1,
|
|
660
|
-
Parameters.eventSubscriptionName1
|
|
678
|
+
Parameters.eventSubscriptionName1,
|
|
661
679
|
],
|
|
662
680
|
headerParameters: [Parameters.accept],
|
|
663
|
-
serializer
|
|
681
|
+
serializer,
|
|
664
682
|
};
|
|
665
683
|
const updateOperationSpec: coreClient.OperationSpec = {
|
|
666
|
-
path:
|
|
667
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}",
|
|
684
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}",
|
|
668
685
|
httpMethod: "PATCH",
|
|
669
686
|
responses: {
|
|
670
687
|
200: {
|
|
671
|
-
bodyMapper: Mappers.Subscription
|
|
688
|
+
bodyMapper: Mappers.Subscription,
|
|
672
689
|
},
|
|
673
690
|
201: {
|
|
674
|
-
bodyMapper: Mappers.Subscription
|
|
691
|
+
bodyMapper: Mappers.Subscription,
|
|
675
692
|
},
|
|
676
693
|
202: {
|
|
677
|
-
bodyMapper: Mappers.Subscription
|
|
694
|
+
bodyMapper: Mappers.Subscription,
|
|
678
695
|
},
|
|
679
696
|
204: {
|
|
680
|
-
bodyMapper: Mappers.Subscription
|
|
697
|
+
bodyMapper: Mappers.Subscription,
|
|
681
698
|
},
|
|
682
699
|
default: {
|
|
683
|
-
bodyMapper: Mappers.ErrorResponse
|
|
684
|
-
}
|
|
700
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
701
|
+
},
|
|
685
702
|
},
|
|
686
703
|
requestBody: Parameters.eventSubscriptionUpdateParameters1,
|
|
687
704
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -691,23 +708,22 @@ const updateOperationSpec: coreClient.OperationSpec = {
|
|
|
691
708
|
Parameters.resourceGroupName,
|
|
692
709
|
Parameters.namespaceName,
|
|
693
710
|
Parameters.topicName1,
|
|
694
|
-
Parameters.eventSubscriptionName1
|
|
711
|
+
Parameters.eventSubscriptionName1,
|
|
695
712
|
],
|
|
696
713
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
697
714
|
mediaType: "json",
|
|
698
|
-
serializer
|
|
715
|
+
serializer,
|
|
699
716
|
};
|
|
700
717
|
const listByNamespaceTopicOperationSpec: coreClient.OperationSpec = {
|
|
701
|
-
path:
|
|
702
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/topics/{topicName}/eventSubscriptions",
|
|
718
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/topics/{topicName}/eventSubscriptions",
|
|
703
719
|
httpMethod: "GET",
|
|
704
720
|
responses: {
|
|
705
721
|
200: {
|
|
706
|
-
bodyMapper: Mappers.SubscriptionsListResult
|
|
722
|
+
bodyMapper: Mappers.SubscriptionsListResult,
|
|
707
723
|
},
|
|
708
724
|
default: {
|
|
709
|
-
bodyMapper: Mappers.ErrorResponse
|
|
710
|
-
}
|
|
725
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
726
|
+
},
|
|
711
727
|
},
|
|
712
728
|
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
713
729
|
urlParameters: [
|
|
@@ -715,22 +731,44 @@ const listByNamespaceTopicOperationSpec: coreClient.OperationSpec = {
|
|
|
715
731
|
Parameters.subscriptionId,
|
|
716
732
|
Parameters.resourceGroupName,
|
|
717
733
|
Parameters.namespaceName,
|
|
718
|
-
Parameters.topicName1
|
|
734
|
+
Parameters.topicName1,
|
|
719
735
|
],
|
|
720
736
|
headerParameters: [Parameters.accept],
|
|
721
|
-
serializer
|
|
737
|
+
serializer,
|
|
722
738
|
};
|
|
723
739
|
const getDeliveryAttributesOperationSpec: coreClient.OperationSpec = {
|
|
724
|
-
path:
|
|
725
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes",
|
|
740
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes",
|
|
726
741
|
httpMethod: "POST",
|
|
727
742
|
responses: {
|
|
728
743
|
200: {
|
|
729
|
-
bodyMapper: Mappers.DeliveryAttributeListResult
|
|
744
|
+
bodyMapper: Mappers.DeliveryAttributeListResult,
|
|
730
745
|
},
|
|
731
746
|
default: {
|
|
732
|
-
bodyMapper: Mappers.ErrorResponse
|
|
733
|
-
}
|
|
747
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
748
|
+
},
|
|
749
|
+
},
|
|
750
|
+
queryParameters: [Parameters.apiVersion],
|
|
751
|
+
urlParameters: [
|
|
752
|
+
Parameters.$host,
|
|
753
|
+
Parameters.subscriptionId,
|
|
754
|
+
Parameters.resourceGroupName,
|
|
755
|
+
Parameters.namespaceName,
|
|
756
|
+
Parameters.topicName1,
|
|
757
|
+
Parameters.eventSubscriptionName1,
|
|
758
|
+
],
|
|
759
|
+
headerParameters: [Parameters.accept],
|
|
760
|
+
serializer,
|
|
761
|
+
};
|
|
762
|
+
const getFullUrlOperationSpec: coreClient.OperationSpec = {
|
|
763
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/namespaces/{namespaceName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}/getFullUrl",
|
|
764
|
+
httpMethod: "POST",
|
|
765
|
+
responses: {
|
|
766
|
+
200: {
|
|
767
|
+
bodyMapper: Mappers.SubscriptionFullUrl,
|
|
768
|
+
},
|
|
769
|
+
default: {
|
|
770
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
771
|
+
},
|
|
734
772
|
},
|
|
735
773
|
queryParameters: [Parameters.apiVersion],
|
|
736
774
|
urlParameters: [
|
|
@@ -739,21 +777,21 @@ const getDeliveryAttributesOperationSpec: coreClient.OperationSpec = {
|
|
|
739
777
|
Parameters.resourceGroupName,
|
|
740
778
|
Parameters.namespaceName,
|
|
741
779
|
Parameters.topicName1,
|
|
742
|
-
Parameters.eventSubscriptionName1
|
|
780
|
+
Parameters.eventSubscriptionName1,
|
|
743
781
|
],
|
|
744
782
|
headerParameters: [Parameters.accept],
|
|
745
|
-
serializer
|
|
783
|
+
serializer,
|
|
746
784
|
};
|
|
747
785
|
const listByNamespaceTopicNextOperationSpec: coreClient.OperationSpec = {
|
|
748
786
|
path: "{nextLink}",
|
|
749
787
|
httpMethod: "GET",
|
|
750
788
|
responses: {
|
|
751
789
|
200: {
|
|
752
|
-
bodyMapper: Mappers.SubscriptionsListResult
|
|
790
|
+
bodyMapper: Mappers.SubscriptionsListResult,
|
|
753
791
|
},
|
|
754
792
|
default: {
|
|
755
|
-
bodyMapper: Mappers.ErrorResponse
|
|
756
|
-
}
|
|
793
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
794
|
+
},
|
|
757
795
|
},
|
|
758
796
|
urlParameters: [
|
|
759
797
|
Parameters.$host,
|
|
@@ -761,8 +799,8 @@ const listByNamespaceTopicNextOperationSpec: coreClient.OperationSpec = {
|
|
|
761
799
|
Parameters.resourceGroupName,
|
|
762
800
|
Parameters.namespaceName,
|
|
763
801
|
Parameters.nextLink,
|
|
764
|
-
Parameters.topicName1
|
|
802
|
+
Parameters.topicName1,
|
|
765
803
|
],
|
|
766
804
|
headerParameters: [Parameters.accept],
|
|
767
|
-
serializer
|
|
805
|
+
serializer,
|
|
768
806
|
};
|