@azure/arm-eventgrid 14.1.1-alpha.20230504.1 → 14.2.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +316 -10
- package/README.md +1 -1
- package/dist/index.js +14861 -7238
- 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.d.ts +2 -0
- package/dist-esm/samples-dev/caCertificatesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/caCertificatesCreateOrUpdateSample.js +44 -0
- package/dist-esm/samples-dev/caCertificatesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/caCertificatesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/caCertificatesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/caCertificatesDeleteSample.js +40 -0
- package/dist-esm/samples-dev/caCertificatesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/caCertificatesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/caCertificatesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/caCertificatesGetSample.js +40 -0
- package/dist-esm/samples-dev/caCertificatesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/caCertificatesListByNamespaceSample.d.ts +2 -0
- package/dist-esm/samples-dev/caCertificatesListByNamespaceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/caCertificatesListByNamespaceSample.js +60 -0
- package/dist-esm/samples-dev/caCertificatesListByNamespaceSample.js.map +1 -0
- package/dist-esm/samples-dev/channelsCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/channelsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/channelsGetFullUrlSample.js +2 -2
- package/dist-esm/samples-dev/channelsGetSample.js +2 -2
- package/dist-esm/samples-dev/channelsListByPartnerNamespaceSample.js +2 -2
- package/dist-esm/samples-dev/channelsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/clientGroupsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/clientGroupsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/clientGroupsCreateOrUpdateSample.js +44 -0
- package/dist-esm/samples-dev/clientGroupsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/clientGroupsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/clientGroupsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/clientGroupsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/clientGroupsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/clientGroupsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/clientGroupsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/clientGroupsGetSample.js +40 -0
- package/dist-esm/samples-dev/clientGroupsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/clientGroupsListByNamespaceSample.d.ts +2 -0
- package/dist-esm/samples-dev/clientGroupsListByNamespaceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/clientGroupsListByNamespaceSample.js +60 -0
- package/dist-esm/samples-dev/clientGroupsListByNamespaceSample.js.map +1 -0
- package/dist-esm/samples-dev/clientsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/clientsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/clientsCreateOrUpdateSample.js +53 -0
- package/dist-esm/samples-dev/clientsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/clientsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/clientsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/clientsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/clientsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/clientsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/clientsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/clientsGetSample.js +40 -0
- package/dist-esm/samples-dev/clientsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/clientsListByNamespaceSample.d.ts +2 -0
- package/dist-esm/samples-dev/clientsListByNamespaceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/clientsListByNamespaceSample.js +60 -0
- package/dist-esm/samples-dev/clientsListByNamespaceSample.js.map +1 -0
- package/dist-esm/samples-dev/domainEventSubscriptionsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/domainEventSubscriptionsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/domainEventSubscriptionsGetDeliveryAttributesSample.js +2 -2
- package/dist-esm/samples-dev/domainEventSubscriptionsGetFullUrlSample.js +2 -2
- package/dist-esm/samples-dev/domainEventSubscriptionsGetSample.js +2 -2
- package/dist-esm/samples-dev/domainEventSubscriptionsListSample.js +2 -2
- package/dist-esm/samples-dev/domainEventSubscriptionsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetDeliveryAttributesSample.js +2 -2
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetFullUrlSample.js +2 -2
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetSample.js +2 -2
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsListSample.js +2 -2
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/domainTopicsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/domainTopicsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/domainTopicsGetSample.js +2 -2
- package/dist-esm/samples-dev/domainTopicsListByDomainSample.js +2 -2
- package/dist-esm/samples-dev/domainsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/domainsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/domainsGetSample.js +2 -2
- package/dist-esm/samples-dev/domainsListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/domainsListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/domainsListSharedAccessKeysSample.js +2 -2
- package/dist-esm/samples-dev/domainsRegenerateKeySample.js +2 -2
- package/dist-esm/samples-dev/domainsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/eventSubscriptionsCreateOrUpdateSample.js +25 -24
- package/dist-esm/samples-dev/eventSubscriptionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsDeleteSample.js +8 -8
- package/dist-esm/samples-dev/eventSubscriptionsGetDeliveryAttributesSample.js +3 -3
- package/dist-esm/samples-dev/eventSubscriptionsGetDeliveryAttributesSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsGetFullUrlSample.js +8 -8
- package/dist-esm/samples-dev/eventSubscriptionsGetSample.js +22 -22
- package/dist-esm/samples-dev/eventSubscriptionsListByDomainTopicSample.js +2 -2
- package/dist-esm/samples-dev/eventSubscriptionsListByResourceSample.js +2 -2
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupForTopicTypeSample.js +2 -2
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionForTopicTypeSample.js +2 -2
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupForTopicTypeSample.js +2 -2
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionForTopicTypeSample.js +2 -2
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/eventSubscriptionsUpdateSample.js +22 -22
- package/dist-esm/samples-dev/extensionTopicsGetSample.js +2 -2
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsCreateOrUpdateSample.js +52 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsDeleteSample.js +41 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetSample.js +41 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsListByNamespaceTopicSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsListByNamespaceTopicSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsListByNamespaceTopicSample.js +61 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsListByNamespaceTopicSample.js.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsUpdateSample.js +52 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespaceTopicsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicsCreateOrUpdateSample.js +45 -0
- package/dist-esm/samples-dev/namespaceTopicsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespaceTopicsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/namespaceTopicsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespaceTopicsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicsGetSample.js +40 -0
- package/dist-esm/samples-dev/namespaceTopicsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicsListByNamespaceSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespaceTopicsListByNamespaceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicsListByNamespaceSample.js +60 -0
- package/dist-esm/samples-dev/namespaceTopicsListByNamespaceSample.js.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicsListSharedAccessKeysSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespaceTopicsListSharedAccessKeysSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicsListSharedAccessKeysSample.js +40 -0
- package/dist-esm/samples-dev/namespaceTopicsListSharedAccessKeysSample.js.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicsRegenerateKeySample.d.ts +2 -0
- package/dist-esm/samples-dev/namespaceTopicsRegenerateKeySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicsRegenerateKeySample.js +41 -0
- package/dist-esm/samples-dev/namespaceTopicsRegenerateKeySample.js.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespaceTopicsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicsUpdateSample.js +43 -0
- package/dist-esm/samples-dev/namespaceTopicsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js +47 -0
- package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/namespacesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespacesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespacesDeleteSample.js +39 -0
- package/dist-esm/samples-dev/namespacesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/namespacesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespacesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespacesGetSample.js +39 -0
- package/dist-esm/samples-dev/namespacesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/namespacesListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespacesListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespacesListByResourceGroupSample.js +59 -0
- package/dist-esm/samples-dev/namespacesListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/namespacesListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespacesListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespacesListBySubscriptionSample.js +58 -0
- package/dist-esm/samples-dev/namespacesListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/namespacesListSharedAccessKeysSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespacesListSharedAccessKeysSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespacesListSharedAccessKeysSample.js +39 -0
- package/dist-esm/samples-dev/namespacesListSharedAccessKeysSample.js.map +1 -0
- package/dist-esm/samples-dev/namespacesRegenerateKeySample.d.ts +2 -0
- package/dist-esm/samples-dev/namespacesRegenerateKeySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespacesRegenerateKeySample.js +42 -0
- package/dist-esm/samples-dev/namespacesRegenerateKeySample.js.map +1 -0
- package/dist-esm/samples-dev/namespacesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespacesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespacesUpdateSample.js +42 -0
- package/dist-esm/samples-dev/namespacesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/partnerConfigurationsAuthorizePartnerSample.js +2 -2
- package/dist-esm/samples-dev/partnerConfigurationsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/partnerConfigurationsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/partnerConfigurationsGetSample.js +2 -2
- package/dist-esm/samples-dev/partnerConfigurationsListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/partnerConfigurationsListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/partnerConfigurationsUnauthorizePartnerSample.js +2 -2
- package/dist-esm/samples-dev/partnerConfigurationsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/partnerDestinationsActivateSample.d.ts +2 -0
- package/dist-esm/samples-dev/partnerDestinationsActivateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/partnerDestinationsActivateSample.js +39 -0
- package/dist-esm/samples-dev/partnerDestinationsActivateSample.js.map +1 -0
- package/dist-esm/samples-dev/partnerDestinationsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/partnerDestinationsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/partnerDestinationsCreateOrUpdateSample.js +47 -0
- package/dist-esm/samples-dev/partnerDestinationsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/partnerDestinationsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/partnerDestinationsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/partnerDestinationsDeleteSample.js +39 -0
- package/dist-esm/samples-dev/partnerDestinationsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/partnerDestinationsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/partnerDestinationsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/partnerDestinationsGetSample.js +39 -0
- package/dist-esm/samples-dev/partnerDestinationsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.js +59 -0
- package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.js +58 -0
- package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/partnerDestinationsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/partnerDestinationsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/partnerDestinationsUpdateSample.js +42 -0
- package/dist-esm/samples-dev/partnerDestinationsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/partnerNamespacesCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/partnerNamespacesDeleteSample.js +2 -2
- package/dist-esm/samples-dev/partnerNamespacesGetSample.js +2 -2
- package/dist-esm/samples-dev/partnerNamespacesListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/partnerNamespacesListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/partnerNamespacesListSharedAccessKeysSample.js +2 -2
- package/dist-esm/samples-dev/partnerNamespacesRegenerateKeySample.js +2 -2
- package/dist-esm/samples-dev/partnerNamespacesUpdateSample.js +2 -2
- package/dist-esm/samples-dev/partnerRegistrationsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/partnerRegistrationsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/partnerRegistrationsGetSample.js +2 -2
- package/dist-esm/samples-dev/partnerRegistrationsListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/partnerRegistrationsListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/partnerRegistrationsUpdateSample.js +3 -3
- package/dist-esm/samples-dev/partnerRegistrationsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetDeliveryAttributesSample.js +2 -2
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetFullUrlSample.js +2 -2
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetSample.js +2 -2
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsListByPartnerTopicSample.js +2 -2
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/partnerTopicsActivateSample.js +2 -2
- package/dist-esm/samples-dev/partnerTopicsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/partnerTopicsDeactivateSample.js +2 -2
- package/dist-esm/samples-dev/partnerTopicsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/partnerTopicsGetSample.js +2 -2
- package/dist-esm/samples-dev/partnerTopicsListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/partnerTopicsListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/partnerTopicsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/permissionBindingsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/permissionBindingsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/permissionBindingsCreateOrUpdateSample.js +45 -0
- package/dist-esm/samples-dev/permissionBindingsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/permissionBindingsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/permissionBindingsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/permissionBindingsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/permissionBindingsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/permissionBindingsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/permissionBindingsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/permissionBindingsGetSample.js +40 -0
- package/dist-esm/samples-dev/permissionBindingsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/permissionBindingsListByNamespaceSample.d.ts +2 -0
- package/dist-esm/samples-dev/permissionBindingsListByNamespaceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/permissionBindingsListByNamespaceSample.js +60 -0
- package/dist-esm/samples-dev/permissionBindingsListByNamespaceSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +4 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +4 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsListByResourceSample.js +4 -4
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +2 -2
- package/dist-esm/samples-dev/privateLinkResourcesListByResourceSample.js +4 -4
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetDeliveryAttributesSample.js +2 -2
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetFullUrlSample.js +2 -2
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetSample.js +2 -2
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsListBySystemTopicSample.js +2 -2
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/systemTopicsCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/systemTopicsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/systemTopicsGetSample.js +2 -2
- package/dist-esm/samples-dev/systemTopicsListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/systemTopicsListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/systemTopicsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/topicEventSubscriptionsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/topicEventSubscriptionsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/topicEventSubscriptionsGetDeliveryAttributesSample.js +2 -2
- package/dist-esm/samples-dev/topicEventSubscriptionsGetFullUrlSample.js +2 -2
- package/dist-esm/samples-dev/topicEventSubscriptionsGetSample.js +2 -2
- package/dist-esm/samples-dev/topicEventSubscriptionsListSample.js +2 -2
- package/dist-esm/samples-dev/topicEventSubscriptionsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/topicSpacesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/topicSpacesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/topicSpacesCreateOrUpdateSample.js +41 -0
- package/dist-esm/samples-dev/topicSpacesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/topicSpacesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/topicSpacesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/topicSpacesDeleteSample.js +40 -0
- package/dist-esm/samples-dev/topicSpacesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/topicSpacesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/topicSpacesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/topicSpacesGetSample.js +40 -0
- package/dist-esm/samples-dev/topicSpacesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/topicSpacesListByNamespaceSample.d.ts +2 -0
- package/dist-esm/samples-dev/topicSpacesListByNamespaceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/topicSpacesListByNamespaceSample.js +60 -0
- package/dist-esm/samples-dev/topicSpacesListByNamespaceSample.js.map +1 -0
- package/dist-esm/samples-dev/topicTypesGetSample.js +1 -1
- package/dist-esm/samples-dev/topicTypesListEventTypesSample.js +1 -1
- package/dist-esm/samples-dev/topicTypesListSample.js +1 -1
- package/dist-esm/samples-dev/topicsCreateOrUpdateSample.js +31 -2
- package/dist-esm/samples-dev/topicsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/topicsDeleteSample.js +3 -3
- package/dist-esm/samples-dev/topicsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/topicsGetSample.js +2 -2
- package/dist-esm/samples-dev/topicsListByResourceGroupSample.js +2 -2
- package/dist-esm/samples-dev/topicsListBySubscriptionSample.js +2 -2
- package/dist-esm/samples-dev/topicsListEventTypesSample.js +2 -2
- package/dist-esm/samples-dev/topicsListSharedAccessKeysSample.js +2 -2
- package/dist-esm/samples-dev/topicsRegenerateKeySample.js +2 -2
- package/dist-esm/samples-dev/topicsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/verifiedPartnersGetSample.js +1 -1
- package/dist-esm/samples-dev/verifiedPartnersListSample.js +1 -1
- package/dist-esm/src/eventGridManagementClient.d.ts +12 -3
- package/dist-esm/src/eventGridManagementClient.d.ts.map +1 -1
- package/dist-esm/src/eventGridManagementClient.js +14 -5
- package/dist-esm/src/eventGridManagementClient.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +2502 -415
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +414 -36
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +146 -13
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +3846 -1290
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +30 -7
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +213 -22
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/caCertificates.d.ts +81 -0
- package/dist-esm/src/operations/caCertificates.d.ts.map +1 -0
- package/dist-esm/src/operations/caCertificates.js +369 -0
- package/dist-esm/src/operations/caCertificates.js.map +1 -0
- package/dist-esm/src/operations/channels.d.ts +2 -2
- package/dist-esm/src/operations/channels.d.ts.map +1 -1
- package/dist-esm/src/operations/channels.js +12 -8
- package/dist-esm/src/operations/channels.js.map +1 -1
- package/dist-esm/src/operations/clientGroups.d.ts +81 -0
- package/dist-esm/src/operations/clientGroups.d.ts.map +1 -0
- package/dist-esm/src/operations/clientGroups.js +369 -0
- package/dist-esm/src/operations/clientGroups.js.map +1 -0
- package/dist-esm/src/operations/clients.d.ts +81 -0
- package/dist-esm/src/operations/clients.d.ts.map +1 -0
- package/dist-esm/src/operations/clients.js +369 -0
- package/dist-esm/src/operations/clients.js.map +1 -0
- package/dist-esm/src/operations/domainEventSubscriptions.d.ts +6 -6
- package/dist-esm/src/operations/domainEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operations/domainEventSubscriptions.js +40 -28
- package/dist-esm/src/operations/domainEventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/domainTopicEventSubscriptions.d.ts +14 -14
- package/dist-esm/src/operations/domainTopicEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operations/domainTopicEventSubscriptions.js +84 -72
- package/dist-esm/src/operations/domainTopicEventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/domainTopics.d.ts +3 -3
- package/dist-esm/src/operations/domainTopics.d.ts.map +1 -1
- package/dist-esm/src/operations/domainTopics.js +18 -10
- package/dist-esm/src/operations/domainTopics.js.map +1 -1
- package/dist-esm/src/operations/domains.d.ts +4 -4
- package/dist-esm/src/operations/domains.d.ts.map +1 -1
- package/dist-esm/src/operations/domains.js +26 -14
- package/dist-esm/src/operations/domains.js.map +1 -1
- package/dist-esm/src/operations/eventSubscriptions.d.ts +19 -19
- package/dist-esm/src/operations/eventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operations/eventSubscriptions.js +65 -53
- package/dist-esm/src/operations/eventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +11 -2
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +11 -2
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/namespaceTopicEventSubscriptions.d.ts +120 -0
- package/dist-esm/src/operations/namespaceTopicEventSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/namespaceTopicEventSubscriptions.js +509 -0
- package/dist-esm/src/operations/namespaceTopicEventSubscriptions.js.map +1 -0
- package/dist-esm/src/operations/namespaceTopics.d.ts +125 -0
- package/dist-esm/src/operations/namespaceTopics.d.ts.map +1 -0
- package/dist-esm/src/operations/namespaceTopics.js +599 -0
- package/dist-esm/src/operations/namespaceTopics.js.map +1 -0
- package/dist-esm/src/operations/namespaces.d.ts +130 -0
- package/dist-esm/src/operations/namespaces.d.ts.map +1 -0
- package/dist-esm/src/operations/namespaces.js +681 -0
- package/dist-esm/src/operations/namespaces.js.map +1 -0
- package/dist-esm/src/operations/partnerConfigurations.d.ts +4 -4
- package/dist-esm/src/operations/partnerConfigurations.d.ts.map +1 -1
- package/dist-esm/src/operations/partnerConfigurations.js +30 -14
- package/dist-esm/src/operations/partnerConfigurations.js.map +1 -1
- package/dist-esm/src/operations/partnerDestinations.d.ts +114 -0
- package/dist-esm/src/operations/partnerDestinations.d.ts.map +1 -0
- package/dist-esm/src/operations/partnerDestinations.js +596 -0
- package/dist-esm/src/operations/partnerDestinations.js.map +1 -0
- package/dist-esm/src/operations/partnerNamespaces.d.ts +4 -4
- package/dist-esm/src/operations/partnerNamespaces.d.ts.map +1 -1
- package/dist-esm/src/operations/partnerNamespaces.js +40 -26
- package/dist-esm/src/operations/partnerNamespaces.js.map +1 -1
- package/dist-esm/src/operations/partnerRegistrations.d.ts +4 -4
- package/dist-esm/src/operations/partnerRegistrations.d.ts.map +1 -1
- package/dist-esm/src/operations/partnerRegistrations.js +36 -24
- package/dist-esm/src/operations/partnerRegistrations.js.map +1 -1
- package/dist-esm/src/operations/partnerTopicEventSubscriptions.d.ts +4 -4
- package/dist-esm/src/operations/partnerTopicEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operations/partnerTopicEventSubscriptions.js +43 -26
- package/dist-esm/src/operations/partnerTopicEventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/partnerTopics.d.ts +2 -2
- package/dist-esm/src/operations/partnerTopics.d.ts.map +1 -1
- package/dist-esm/src/operations/partnerTopics.js +10 -6
- package/dist-esm/src/operations/partnerTopics.js.map +1 -1
- package/dist-esm/src/operations/permissionBindings.d.ts +81 -0
- package/dist-esm/src/operations/permissionBindings.d.ts.map +1 -0
- package/dist-esm/src/operations/permissionBindings.js +374 -0
- package/dist-esm/src/operations/permissionBindings.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +28 -26
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +69 -45
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.d.ts +12 -11
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +12 -11
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/systemTopicEventSubscriptions.d.ts +14 -14
- package/dist-esm/src/operations/systemTopicEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operations/systemTopicEventSubscriptions.js +74 -57
- package/dist-esm/src/operations/systemTopicEventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/systemTopics.d.ts +4 -4
- package/dist-esm/src/operations/systemTopics.d.ts.map +1 -1
- package/dist-esm/src/operations/systemTopics.js +31 -19
- package/dist-esm/src/operations/systemTopics.js.map +1 -1
- package/dist-esm/src/operations/topicEventSubscriptions.d.ts +6 -6
- package/dist-esm/src/operations/topicEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operations/topicEventSubscriptions.js +40 -28
- package/dist-esm/src/operations/topicEventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/topicSpaces.d.ts +81 -0
- package/dist-esm/src/operations/topicSpaces.d.ts.map +1 -0
- package/dist-esm/src/operations/topicSpaces.js +369 -0
- package/dist-esm/src/operations/topicSpaces.js.map +1 -0
- package/dist-esm/src/operations/topics.d.ts +7 -7
- package/dist-esm/src/operations/topics.d.ts.map +1 -1
- package/dist-esm/src/operations/topics.js +50 -20
- package/dist-esm/src/operations/topics.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/caCertificates.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/caCertificates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/caCertificates.js +9 -0
- package/dist-esm/src/operationsInterfaces/caCertificates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/channels.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/channels.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/clientGroups.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/clientGroups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/clientGroups.js +9 -0
- package/dist-esm/src/operationsInterfaces/clientGroups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/clients.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/clients.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/clients.js +9 -0
- package/dist-esm/src/operationsInterfaces/clients.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/domainEventSubscriptions.d.ts +6 -6
- package/dist-esm/src/operationsInterfaces/domainEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/domainTopicEventSubscriptions.d.ts +14 -14
- package/dist-esm/src/operationsInterfaces/domainTopicEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/domainTopics.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/domainTopics.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/domains.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/domains.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/eventSubscriptions.d.ts +19 -19
- package/dist-esm/src/operationsInterfaces/eventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +11 -2
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +11 -2
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/namespaceTopicEventSubscriptions.d.ts +93 -0
- package/dist-esm/src/operationsInterfaces/namespaceTopicEventSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/namespaceTopicEventSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/namespaceTopicEventSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/namespaceTopics.d.ts +100 -0
- package/dist-esm/src/operationsInterfaces/namespaceTopics.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/namespaceTopics.js +9 -0
- package/dist-esm/src/operationsInterfaces/namespaceTopics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/namespaces.d.ts +94 -0
- package/dist-esm/src/operationsInterfaces/namespaces.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/namespaces.js +9 -0
- package/dist-esm/src/operationsInterfaces/namespaces.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/partnerConfigurations.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/partnerConfigurations.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/partnerDestinations.d.ts +78 -0
- package/dist-esm/src/operationsInterfaces/partnerDestinations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/partnerDestinations.js +9 -0
- package/dist-esm/src/operationsInterfaces/partnerDestinations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/partnerNamespaces.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/partnerNamespaces.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/partnerRegistrations.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/partnerRegistrations.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/partnerTopicEventSubscriptions.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/partnerTopicEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/partnerTopics.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/partnerTopics.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/permissionBindings.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/permissionBindings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/permissionBindings.js +9 -0
- package/dist-esm/src/operationsInterfaces/permissionBindings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +23 -21
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +7 -6
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.d.ts +14 -14
- package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/systemTopics.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/systemTopics.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/topicEventSubscriptions.d.ts +6 -6
- package/dist-esm/src/operationsInterfaces/topicEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/topicSpaces.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/topicSpaces.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/topicSpaces.js +9 -0
- package/dist-esm/src/operationsInterfaces/topicSpaces.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/topics.d.ts +7 -7
- package/dist-esm/src/operationsInterfaces/topics.d.ts.map +1 -1
- package/dist-esm/test/eventgrid_examples.js +2 -2
- package/dist-esm/test/eventgrid_examples.js.map +1 -1
- package/package.json +6 -6
- package/review/arm-eventgrid.api.md +1762 -112
- package/src/eventGridManagementClient.ts +49 -11
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +2777 -341
- package/src/models/mappers.ts +3989 -1163
- package/src/models/parameters.ts +253 -25
- package/src/operations/caCertificates.ts +508 -0
- package/src/operations/channels.ts +17 -13
- package/src/operations/clientGroups.ts +508 -0
- package/src/operations/clients.ts +508 -0
- package/src/operations/domainEventSubscriptions.ts +43 -33
- package/src/operations/domainTopicEventSubscriptions.ts +92 -82
- package/src/operations/domainTopics.ts +28 -21
- package/src/operations/domains.ts +37 -30
- package/src/operations/eventSubscriptions.ts +86 -76
- package/src/operations/index.ts +11 -2
- package/src/operations/namespaceTopicEventSubscriptions.ts +714 -0
- package/src/operations/namespaceTopics.ts +840 -0
- package/src/operations/namespaces.ts +898 -0
- package/src/operations/partnerConfigurations.ts +45 -31
- package/src/operations/partnerDestinations.ts +771 -0
- package/src/operations/partnerNamespaces.ts +41 -32
- package/src/operations/partnerRegistrations.ts +37 -30
- package/src/operations/partnerTopicEventSubscriptions.ts +46 -31
- package/src/operations/partnerTopics.ts +15 -11
- package/src/operations/permissionBindings.ts +513 -0
- package/src/operations/privateEndpointConnections.ts +77 -45
- package/src/operations/privateLinkResources.ts +12 -11
- package/src/operations/systemTopicEventSubscriptions.ts +89 -74
- package/src/operations/systemTopics.ts +41 -31
- package/src/operations/topicEventSubscriptions.ts +43 -33
- package/src/operations/topicSpaces.ts +508 -0
- package/src/operations/topics.ts +74 -44
- package/src/operationsInterfaces/caCertificates.ts +109 -0
- package/src/operationsInterfaces/channels.ts +2 -2
- package/src/operationsInterfaces/clientGroups.ts +109 -0
- package/src/operationsInterfaces/clients.ts +109 -0
- package/src/operationsInterfaces/domainEventSubscriptions.ts +8 -8
- package/src/operationsInterfaces/domainTopicEventSubscriptions.ts +24 -24
- package/src/operationsInterfaces/domainTopics.ts +4 -4
- package/src/operationsInterfaces/domains.ts +5 -5
- package/src/operationsInterfaces/eventSubscriptions.ts +27 -27
- package/src/operationsInterfaces/index.ts +11 -2
- package/src/operationsInterfaces/namespaceTopicEventSubscriptions.ts +174 -0
- package/src/operationsInterfaces/namespaceTopics.ts +200 -0
- package/src/operationsInterfaces/namespaces.ts +186 -0
- package/src/operationsInterfaces/partnerConfigurations.ts +6 -6
- package/src/operationsInterfaces/partnerDestinations.ts +152 -0
- package/src/operationsInterfaces/partnerNamespaces.ts +5 -5
- package/src/operationsInterfaces/partnerRegistrations.ts +5 -5
- package/src/operationsInterfaces/partnerTopicEventSubscriptions.ts +6 -6
- package/src/operationsInterfaces/partnerTopics.ts +2 -2
- package/src/operationsInterfaces/permissionBindings.ts +109 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +30 -22
- package/src/operationsInterfaces/privateLinkResources.ts +7 -6
- package/src/operationsInterfaces/systemTopicEventSubscriptions.ts +23 -23
- package/src/operationsInterfaces/systemTopics.ts +6 -6
- package/src/operationsInterfaces/topicEventSubscriptions.ts +8 -8
- package/src/operationsInterfaces/topicSpaces.ts +109 -0
- package/src/operationsInterfaces/topics.ts +11 -8
- package/types/arm-eventgrid.d.ts +4718 -1726
- package/types/tsdoc-metadata.json +1 -1
|
@@ -13,13 +13,19 @@ import * as coreClient from "@azure/core-client";
|
|
|
13
13
|
import * as Mappers from "../models/mappers";
|
|
14
14
|
import * as Parameters from "../models/parameters";
|
|
15
15
|
import { EventGridManagementClient } from "../eventGridManagementClient";
|
|
16
|
-
import {
|
|
17
|
-
|
|
16
|
+
import {
|
|
17
|
+
SimplePollerLike,
|
|
18
|
+
OperationState,
|
|
19
|
+
createHttpPoller
|
|
20
|
+
} from "@azure/core-lro";
|
|
21
|
+
import { createLroSpec } from "../lroImpl";
|
|
18
22
|
import {
|
|
19
23
|
EventSubscription,
|
|
20
24
|
DomainTopicEventSubscriptionsListNextOptionalParams,
|
|
21
25
|
DomainTopicEventSubscriptionsListOptionalParams,
|
|
22
26
|
DomainTopicEventSubscriptionsListResponse,
|
|
27
|
+
DomainTopicEventSubscriptionsGetDeliveryAttributesOptionalParams,
|
|
28
|
+
DomainTopicEventSubscriptionsGetDeliveryAttributesResponse,
|
|
23
29
|
DomainTopicEventSubscriptionsGetOptionalParams,
|
|
24
30
|
DomainTopicEventSubscriptionsGetResponse,
|
|
25
31
|
DomainTopicEventSubscriptionsCreateOrUpdateOptionalParams,
|
|
@@ -30,8 +36,6 @@ import {
|
|
|
30
36
|
DomainTopicEventSubscriptionsUpdateResponse,
|
|
31
37
|
DomainTopicEventSubscriptionsGetFullUrlOptionalParams,
|
|
32
38
|
DomainTopicEventSubscriptionsGetFullUrlResponse,
|
|
33
|
-
DomainTopicEventSubscriptionsGetDeliveryAttributesOptionalParams,
|
|
34
|
-
DomainTopicEventSubscriptionsGetDeliveryAttributesResponse,
|
|
35
39
|
DomainTopicEventSubscriptionsListNextResponse
|
|
36
40
|
} from "../models";
|
|
37
41
|
|
|
@@ -142,6 +146,33 @@ export class DomainTopicEventSubscriptionsImpl
|
|
|
142
146
|
}
|
|
143
147
|
}
|
|
144
148
|
|
|
149
|
+
/**
|
|
150
|
+
* Get all delivery attributes for an event subscription for domain topic.
|
|
151
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
152
|
+
* @param domainName Name of the top level domain.
|
|
153
|
+
* @param topicName Name of the domain topic.
|
|
154
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
155
|
+
* @param options The options parameters.
|
|
156
|
+
*/
|
|
157
|
+
getDeliveryAttributes(
|
|
158
|
+
resourceGroupName: string,
|
|
159
|
+
domainName: string,
|
|
160
|
+
topicName: string,
|
|
161
|
+
eventSubscriptionName: string,
|
|
162
|
+
options?: DomainTopicEventSubscriptionsGetDeliveryAttributesOptionalParams
|
|
163
|
+
): Promise<DomainTopicEventSubscriptionsGetDeliveryAttributesResponse> {
|
|
164
|
+
return this.client.sendOperationRequest(
|
|
165
|
+
{
|
|
166
|
+
resourceGroupName,
|
|
167
|
+
domainName,
|
|
168
|
+
topicName,
|
|
169
|
+
eventSubscriptionName,
|
|
170
|
+
options
|
|
171
|
+
},
|
|
172
|
+
getDeliveryAttributesOperationSpec
|
|
173
|
+
);
|
|
174
|
+
}
|
|
175
|
+
|
|
145
176
|
/**
|
|
146
177
|
* Get properties of a nested event subscription for a domain topic.
|
|
147
178
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
@@ -188,8 +219,8 @@ export class DomainTopicEventSubscriptionsImpl
|
|
|
188
219
|
eventSubscriptionInfo: EventSubscription,
|
|
189
220
|
options?: DomainTopicEventSubscriptionsCreateOrUpdateOptionalParams
|
|
190
221
|
): Promise<
|
|
191
|
-
|
|
192
|
-
|
|
222
|
+
SimplePollerLike<
|
|
223
|
+
OperationState<DomainTopicEventSubscriptionsCreateOrUpdateResponse>,
|
|
193
224
|
DomainTopicEventSubscriptionsCreateOrUpdateResponse
|
|
194
225
|
>
|
|
195
226
|
> {
|
|
@@ -199,7 +230,7 @@ export class DomainTopicEventSubscriptionsImpl
|
|
|
199
230
|
): Promise<DomainTopicEventSubscriptionsCreateOrUpdateResponse> => {
|
|
200
231
|
return this.client.sendOperationRequest(args, spec);
|
|
201
232
|
};
|
|
202
|
-
const
|
|
233
|
+
const sendOperationFn = async (
|
|
203
234
|
args: coreClient.OperationArguments,
|
|
204
235
|
spec: coreClient.OperationSpec
|
|
205
236
|
) => {
|
|
@@ -232,9 +263,9 @@ export class DomainTopicEventSubscriptionsImpl
|
|
|
232
263
|
};
|
|
233
264
|
};
|
|
234
265
|
|
|
235
|
-
const lro =
|
|
236
|
-
|
|
237
|
-
{
|
|
266
|
+
const lro = createLroSpec({
|
|
267
|
+
sendOperationFn,
|
|
268
|
+
args: {
|
|
238
269
|
resourceGroupName,
|
|
239
270
|
domainName,
|
|
240
271
|
topicName,
|
|
@@ -242,10 +273,13 @@ export class DomainTopicEventSubscriptionsImpl
|
|
|
242
273
|
eventSubscriptionInfo,
|
|
243
274
|
options
|
|
244
275
|
},
|
|
245
|
-
createOrUpdateOperationSpec
|
|
246
|
-
);
|
|
247
|
-
const poller =
|
|
248
|
-
|
|
276
|
+
spec: createOrUpdateOperationSpec
|
|
277
|
+
});
|
|
278
|
+
const poller = await createHttpPoller<
|
|
279
|
+
DomainTopicEventSubscriptionsCreateOrUpdateResponse,
|
|
280
|
+
OperationState<DomainTopicEventSubscriptionsCreateOrUpdateResponse>
|
|
281
|
+
>(lro, {
|
|
282
|
+
restoreFrom: options?.resumeFrom,
|
|
249
283
|
intervalInMs: options?.updateIntervalInMs
|
|
250
284
|
});
|
|
251
285
|
await poller.poll();
|
|
@@ -297,14 +331,14 @@ export class DomainTopicEventSubscriptionsImpl
|
|
|
297
331
|
topicName: string,
|
|
298
332
|
eventSubscriptionName: string,
|
|
299
333
|
options?: DomainTopicEventSubscriptionsDeleteOptionalParams
|
|
300
|
-
): Promise<
|
|
334
|
+
): Promise<SimplePollerLike<OperationState<void>, void>> {
|
|
301
335
|
const directSendOperation = async (
|
|
302
336
|
args: coreClient.OperationArguments,
|
|
303
337
|
spec: coreClient.OperationSpec
|
|
304
338
|
): Promise<void> => {
|
|
305
339
|
return this.client.sendOperationRequest(args, spec);
|
|
306
340
|
};
|
|
307
|
-
const
|
|
341
|
+
const sendOperationFn = async (
|
|
308
342
|
args: coreClient.OperationArguments,
|
|
309
343
|
spec: coreClient.OperationSpec
|
|
310
344
|
) => {
|
|
@@ -337,19 +371,19 @@ export class DomainTopicEventSubscriptionsImpl
|
|
|
337
371
|
};
|
|
338
372
|
};
|
|
339
373
|
|
|
340
|
-
const lro =
|
|
341
|
-
|
|
342
|
-
{
|
|
374
|
+
const lro = createLroSpec({
|
|
375
|
+
sendOperationFn,
|
|
376
|
+
args: {
|
|
343
377
|
resourceGroupName,
|
|
344
378
|
domainName,
|
|
345
379
|
topicName,
|
|
346
380
|
eventSubscriptionName,
|
|
347
381
|
options
|
|
348
382
|
},
|
|
349
|
-
deleteOperationSpec
|
|
350
|
-
);
|
|
351
|
-
const poller =
|
|
352
|
-
|
|
383
|
+
spec: deleteOperationSpec
|
|
384
|
+
});
|
|
385
|
+
const poller = await createHttpPoller<void, OperationState<void>>(lro, {
|
|
386
|
+
restoreFrom: options?.resumeFrom,
|
|
353
387
|
intervalInMs: options?.updateIntervalInMs
|
|
354
388
|
});
|
|
355
389
|
await poller.poll();
|
|
@@ -399,8 +433,8 @@ export class DomainTopicEventSubscriptionsImpl
|
|
|
399
433
|
eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,
|
|
400
434
|
options?: DomainTopicEventSubscriptionsUpdateOptionalParams
|
|
401
435
|
): Promise<
|
|
402
|
-
|
|
403
|
-
|
|
436
|
+
SimplePollerLike<
|
|
437
|
+
OperationState<DomainTopicEventSubscriptionsUpdateResponse>,
|
|
404
438
|
DomainTopicEventSubscriptionsUpdateResponse
|
|
405
439
|
>
|
|
406
440
|
> {
|
|
@@ -410,7 +444,7 @@ export class DomainTopicEventSubscriptionsImpl
|
|
|
410
444
|
): Promise<DomainTopicEventSubscriptionsUpdateResponse> => {
|
|
411
445
|
return this.client.sendOperationRequest(args, spec);
|
|
412
446
|
};
|
|
413
|
-
const
|
|
447
|
+
const sendOperationFn = async (
|
|
414
448
|
args: coreClient.OperationArguments,
|
|
415
449
|
spec: coreClient.OperationSpec
|
|
416
450
|
) => {
|
|
@@ -443,9 +477,9 @@ export class DomainTopicEventSubscriptionsImpl
|
|
|
443
477
|
};
|
|
444
478
|
};
|
|
445
479
|
|
|
446
|
-
const lro =
|
|
447
|
-
|
|
448
|
-
{
|
|
480
|
+
const lro = createLroSpec({
|
|
481
|
+
sendOperationFn,
|
|
482
|
+
args: {
|
|
449
483
|
resourceGroupName,
|
|
450
484
|
domainName,
|
|
451
485
|
topicName,
|
|
@@ -453,10 +487,13 @@ export class DomainTopicEventSubscriptionsImpl
|
|
|
453
487
|
eventSubscriptionUpdateParameters,
|
|
454
488
|
options
|
|
455
489
|
},
|
|
456
|
-
updateOperationSpec
|
|
457
|
-
);
|
|
458
|
-
const poller =
|
|
459
|
-
|
|
490
|
+
spec: updateOperationSpec
|
|
491
|
+
});
|
|
492
|
+
const poller = await createHttpPoller<
|
|
493
|
+
DomainTopicEventSubscriptionsUpdateResponse,
|
|
494
|
+
OperationState<DomainTopicEventSubscriptionsUpdateResponse>
|
|
495
|
+
>(lro, {
|
|
496
|
+
restoreFrom: options?.resumeFrom,
|
|
460
497
|
intervalInMs: options?.updateIntervalInMs
|
|
461
498
|
});
|
|
462
499
|
await poller.poll();
|
|
@@ -537,33 +574,6 @@ export class DomainTopicEventSubscriptionsImpl
|
|
|
537
574
|
);
|
|
538
575
|
}
|
|
539
576
|
|
|
540
|
-
/**
|
|
541
|
-
* Get all delivery attributes for an event subscription for domain topic.
|
|
542
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
543
|
-
* @param domainName Name of the top level domain.
|
|
544
|
-
* @param topicName Name of the domain topic.
|
|
545
|
-
* @param eventSubscriptionName Name of the event subscription.
|
|
546
|
-
* @param options The options parameters.
|
|
547
|
-
*/
|
|
548
|
-
getDeliveryAttributes(
|
|
549
|
-
resourceGroupName: string,
|
|
550
|
-
domainName: string,
|
|
551
|
-
topicName: string,
|
|
552
|
-
eventSubscriptionName: string,
|
|
553
|
-
options?: DomainTopicEventSubscriptionsGetDeliveryAttributesOptionalParams
|
|
554
|
-
): Promise<DomainTopicEventSubscriptionsGetDeliveryAttributesResponse> {
|
|
555
|
-
return this.client.sendOperationRequest(
|
|
556
|
-
{
|
|
557
|
-
resourceGroupName,
|
|
558
|
-
domainName,
|
|
559
|
-
topicName,
|
|
560
|
-
eventSubscriptionName,
|
|
561
|
-
options
|
|
562
|
-
},
|
|
563
|
-
getDeliveryAttributesOperationSpec
|
|
564
|
-
);
|
|
565
|
-
}
|
|
566
|
-
|
|
567
577
|
/**
|
|
568
578
|
* ListNext
|
|
569
579
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
@@ -588,6 +598,28 @@ export class DomainTopicEventSubscriptionsImpl
|
|
|
588
598
|
// Operation Specifications
|
|
589
599
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
590
600
|
|
|
601
|
+
const getDeliveryAttributesOperationSpec: coreClient.OperationSpec = {
|
|
602
|
+
path:
|
|
603
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes",
|
|
604
|
+
httpMethod: "POST",
|
|
605
|
+
responses: {
|
|
606
|
+
200: {
|
|
607
|
+
bodyMapper: Mappers.DeliveryAttributeListResult
|
|
608
|
+
},
|
|
609
|
+
default: {}
|
|
610
|
+
},
|
|
611
|
+
queryParameters: [Parameters.apiVersion],
|
|
612
|
+
urlParameters: [
|
|
613
|
+
Parameters.$host,
|
|
614
|
+
Parameters.subscriptionId,
|
|
615
|
+
Parameters.resourceGroupName,
|
|
616
|
+
Parameters.domainName,
|
|
617
|
+
Parameters.topicName,
|
|
618
|
+
Parameters.eventSubscriptionName
|
|
619
|
+
],
|
|
620
|
+
headerParameters: [Parameters.accept],
|
|
621
|
+
serializer
|
|
622
|
+
};
|
|
591
623
|
const getOperationSpec: coreClient.OperationSpec = {
|
|
592
624
|
path:
|
|
593
625
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}",
|
|
@@ -735,28 +767,6 @@ const listOperationSpec: coreClient.OperationSpec = {
|
|
|
735
767
|
headerParameters: [Parameters.accept],
|
|
736
768
|
serializer
|
|
737
769
|
};
|
|
738
|
-
const getDeliveryAttributesOperationSpec: coreClient.OperationSpec = {
|
|
739
|
-
path:
|
|
740
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes",
|
|
741
|
-
httpMethod: "POST",
|
|
742
|
-
responses: {
|
|
743
|
-
200: {
|
|
744
|
-
bodyMapper: Mappers.DeliveryAttributeListResult
|
|
745
|
-
},
|
|
746
|
-
default: {}
|
|
747
|
-
},
|
|
748
|
-
queryParameters: [Parameters.apiVersion],
|
|
749
|
-
urlParameters: [
|
|
750
|
-
Parameters.$host,
|
|
751
|
-
Parameters.subscriptionId,
|
|
752
|
-
Parameters.resourceGroupName,
|
|
753
|
-
Parameters.domainName,
|
|
754
|
-
Parameters.topicName,
|
|
755
|
-
Parameters.eventSubscriptionName
|
|
756
|
-
],
|
|
757
|
-
headerParameters: [Parameters.accept],
|
|
758
|
-
serializer
|
|
759
|
-
};
|
|
760
770
|
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
761
771
|
path: "{nextLink}",
|
|
762
772
|
httpMethod: "GET",
|
|
@@ -13,8 +13,12 @@ import * as coreClient from "@azure/core-client";
|
|
|
13
13
|
import * as Mappers from "../models/mappers";
|
|
14
14
|
import * as Parameters from "../models/parameters";
|
|
15
15
|
import { EventGridManagementClient } from "../eventGridManagementClient";
|
|
16
|
-
import {
|
|
17
|
-
|
|
16
|
+
import {
|
|
17
|
+
SimplePollerLike,
|
|
18
|
+
OperationState,
|
|
19
|
+
createHttpPoller
|
|
20
|
+
} from "@azure/core-lro";
|
|
21
|
+
import { createLroSpec } from "../lroImpl";
|
|
18
22
|
import {
|
|
19
23
|
DomainTopic,
|
|
20
24
|
DomainTopicsListByDomainNextOptionalParams,
|
|
@@ -153,8 +157,8 @@ export class DomainTopicsImpl implements DomainTopics {
|
|
|
153
157
|
domainTopicName: string,
|
|
154
158
|
options?: DomainTopicsCreateOrUpdateOptionalParams
|
|
155
159
|
): Promise<
|
|
156
|
-
|
|
157
|
-
|
|
160
|
+
SimplePollerLike<
|
|
161
|
+
OperationState<DomainTopicsCreateOrUpdateResponse>,
|
|
158
162
|
DomainTopicsCreateOrUpdateResponse
|
|
159
163
|
>
|
|
160
164
|
> {
|
|
@@ -164,7 +168,7 @@ export class DomainTopicsImpl implements DomainTopics {
|
|
|
164
168
|
): Promise<DomainTopicsCreateOrUpdateResponse> => {
|
|
165
169
|
return this.client.sendOperationRequest(args, spec);
|
|
166
170
|
};
|
|
167
|
-
const
|
|
171
|
+
const sendOperationFn = async (
|
|
168
172
|
args: coreClient.OperationArguments,
|
|
169
173
|
spec: coreClient.OperationSpec
|
|
170
174
|
) => {
|
|
@@ -197,13 +201,16 @@ export class DomainTopicsImpl implements DomainTopics {
|
|
|
197
201
|
};
|
|
198
202
|
};
|
|
199
203
|
|
|
200
|
-
const lro =
|
|
201
|
-
|
|
202
|
-
{ resourceGroupName, domainName, domainTopicName, options },
|
|
203
|
-
createOrUpdateOperationSpec
|
|
204
|
-
);
|
|
205
|
-
const poller =
|
|
206
|
-
|
|
204
|
+
const lro = createLroSpec({
|
|
205
|
+
sendOperationFn,
|
|
206
|
+
args: { resourceGroupName, domainName, domainTopicName, options },
|
|
207
|
+
spec: createOrUpdateOperationSpec
|
|
208
|
+
});
|
|
209
|
+
const poller = await createHttpPoller<
|
|
210
|
+
DomainTopicsCreateOrUpdateResponse,
|
|
211
|
+
OperationState<DomainTopicsCreateOrUpdateResponse>
|
|
212
|
+
>(lro, {
|
|
213
|
+
restoreFrom: options?.resumeFrom,
|
|
207
214
|
intervalInMs: options?.updateIntervalInMs
|
|
208
215
|
});
|
|
209
216
|
await poller.poll();
|
|
@@ -244,14 +251,14 @@ export class DomainTopicsImpl implements DomainTopics {
|
|
|
244
251
|
domainName: string,
|
|
245
252
|
domainTopicName: string,
|
|
246
253
|
options?: DomainTopicsDeleteOptionalParams
|
|
247
|
-
): Promise<
|
|
254
|
+
): Promise<SimplePollerLike<OperationState<void>, void>> {
|
|
248
255
|
const directSendOperation = async (
|
|
249
256
|
args: coreClient.OperationArguments,
|
|
250
257
|
spec: coreClient.OperationSpec
|
|
251
258
|
): Promise<void> => {
|
|
252
259
|
return this.client.sendOperationRequest(args, spec);
|
|
253
260
|
};
|
|
254
|
-
const
|
|
261
|
+
const sendOperationFn = async (
|
|
255
262
|
args: coreClient.OperationArguments,
|
|
256
263
|
spec: coreClient.OperationSpec
|
|
257
264
|
) => {
|
|
@@ -284,13 +291,13 @@ export class DomainTopicsImpl implements DomainTopics {
|
|
|
284
291
|
};
|
|
285
292
|
};
|
|
286
293
|
|
|
287
|
-
const lro =
|
|
288
|
-
|
|
289
|
-
{ resourceGroupName, domainName, domainTopicName, options },
|
|
290
|
-
deleteOperationSpec
|
|
291
|
-
);
|
|
292
|
-
const poller =
|
|
293
|
-
|
|
294
|
+
const lro = createLroSpec({
|
|
295
|
+
sendOperationFn,
|
|
296
|
+
args: { resourceGroupName, domainName, domainTopicName, options },
|
|
297
|
+
spec: deleteOperationSpec
|
|
298
|
+
});
|
|
299
|
+
const poller = await createHttpPoller<void, OperationState<void>>(lro, {
|
|
300
|
+
restoreFrom: options?.resumeFrom,
|
|
294
301
|
intervalInMs: options?.updateIntervalInMs
|
|
295
302
|
});
|
|
296
303
|
await poller.poll();
|
|
@@ -13,8 +13,12 @@ import * as coreClient from "@azure/core-client";
|
|
|
13
13
|
import * as Mappers from "../models/mappers";
|
|
14
14
|
import * as Parameters from "../models/parameters";
|
|
15
15
|
import { EventGridManagementClient } from "../eventGridManagementClient";
|
|
16
|
-
import {
|
|
17
|
-
|
|
16
|
+
import {
|
|
17
|
+
SimplePollerLike,
|
|
18
|
+
OperationState,
|
|
19
|
+
createHttpPoller
|
|
20
|
+
} from "@azure/core-lro";
|
|
21
|
+
import { createLroSpec } from "../lroImpl";
|
|
18
22
|
import {
|
|
19
23
|
Domain,
|
|
20
24
|
DomainsListBySubscriptionNextOptionalParams,
|
|
@@ -205,8 +209,8 @@ export class DomainsImpl implements Domains {
|
|
|
205
209
|
domainInfo: Domain,
|
|
206
210
|
options?: DomainsCreateOrUpdateOptionalParams
|
|
207
211
|
): Promise<
|
|
208
|
-
|
|
209
|
-
|
|
212
|
+
SimplePollerLike<
|
|
213
|
+
OperationState<DomainsCreateOrUpdateResponse>,
|
|
210
214
|
DomainsCreateOrUpdateResponse
|
|
211
215
|
>
|
|
212
216
|
> {
|
|
@@ -216,7 +220,7 @@ export class DomainsImpl implements Domains {
|
|
|
216
220
|
): Promise<DomainsCreateOrUpdateResponse> => {
|
|
217
221
|
return this.client.sendOperationRequest(args, spec);
|
|
218
222
|
};
|
|
219
|
-
const
|
|
223
|
+
const sendOperationFn = async (
|
|
220
224
|
args: coreClient.OperationArguments,
|
|
221
225
|
spec: coreClient.OperationSpec
|
|
222
226
|
) => {
|
|
@@ -249,13 +253,16 @@ export class DomainsImpl implements Domains {
|
|
|
249
253
|
};
|
|
250
254
|
};
|
|
251
255
|
|
|
252
|
-
const lro =
|
|
253
|
-
|
|
254
|
-
{ resourceGroupName, domainName, domainInfo, options },
|
|
255
|
-
createOrUpdateOperationSpec
|
|
256
|
-
);
|
|
257
|
-
const poller =
|
|
258
|
-
|
|
256
|
+
const lro = createLroSpec({
|
|
257
|
+
sendOperationFn,
|
|
258
|
+
args: { resourceGroupName, domainName, domainInfo, options },
|
|
259
|
+
spec: createOrUpdateOperationSpec
|
|
260
|
+
});
|
|
261
|
+
const poller = await createHttpPoller<
|
|
262
|
+
DomainsCreateOrUpdateResponse,
|
|
263
|
+
OperationState<DomainsCreateOrUpdateResponse>
|
|
264
|
+
>(lro, {
|
|
265
|
+
restoreFrom: options?.resumeFrom,
|
|
259
266
|
intervalInMs: options?.updateIntervalInMs
|
|
260
267
|
});
|
|
261
268
|
await poller.poll();
|
|
@@ -294,14 +301,14 @@ export class DomainsImpl implements Domains {
|
|
|
294
301
|
resourceGroupName: string,
|
|
295
302
|
domainName: string,
|
|
296
303
|
options?: DomainsDeleteOptionalParams
|
|
297
|
-
): Promise<
|
|
304
|
+
): Promise<SimplePollerLike<OperationState<void>, void>> {
|
|
298
305
|
const directSendOperation = async (
|
|
299
306
|
args: coreClient.OperationArguments,
|
|
300
307
|
spec: coreClient.OperationSpec
|
|
301
308
|
): Promise<void> => {
|
|
302
309
|
return this.client.sendOperationRequest(args, spec);
|
|
303
310
|
};
|
|
304
|
-
const
|
|
311
|
+
const sendOperationFn = async (
|
|
305
312
|
args: coreClient.OperationArguments,
|
|
306
313
|
spec: coreClient.OperationSpec
|
|
307
314
|
) => {
|
|
@@ -334,13 +341,13 @@ export class DomainsImpl implements Domains {
|
|
|
334
341
|
};
|
|
335
342
|
};
|
|
336
343
|
|
|
337
|
-
const lro =
|
|
338
|
-
|
|
339
|
-
{ resourceGroupName, domainName, options },
|
|
340
|
-
deleteOperationSpec
|
|
341
|
-
);
|
|
342
|
-
const poller =
|
|
343
|
-
|
|
344
|
+
const lro = createLroSpec({
|
|
345
|
+
sendOperationFn,
|
|
346
|
+
args: { resourceGroupName, domainName, options },
|
|
347
|
+
spec: deleteOperationSpec
|
|
348
|
+
});
|
|
349
|
+
const poller = await createHttpPoller<void, OperationState<void>>(lro, {
|
|
350
|
+
restoreFrom: options?.resumeFrom,
|
|
344
351
|
intervalInMs: options?.updateIntervalInMs
|
|
345
352
|
});
|
|
346
353
|
await poller.poll();
|
|
@@ -378,14 +385,14 @@ export class DomainsImpl implements Domains {
|
|
|
378
385
|
domainName: string,
|
|
379
386
|
domainUpdateParameters: DomainUpdateParameters,
|
|
380
387
|
options?: DomainsUpdateOptionalParams
|
|
381
|
-
): Promise<
|
|
388
|
+
): Promise<SimplePollerLike<OperationState<void>, void>> {
|
|
382
389
|
const directSendOperation = async (
|
|
383
390
|
args: coreClient.OperationArguments,
|
|
384
391
|
spec: coreClient.OperationSpec
|
|
385
392
|
): Promise<void> => {
|
|
386
393
|
return this.client.sendOperationRequest(args, spec);
|
|
387
394
|
};
|
|
388
|
-
const
|
|
395
|
+
const sendOperationFn = async (
|
|
389
396
|
args: coreClient.OperationArguments,
|
|
390
397
|
spec: coreClient.OperationSpec
|
|
391
398
|
) => {
|
|
@@ -418,13 +425,13 @@ export class DomainsImpl implements Domains {
|
|
|
418
425
|
};
|
|
419
426
|
};
|
|
420
427
|
|
|
421
|
-
const lro =
|
|
422
|
-
|
|
423
|
-
{ resourceGroupName, domainName, domainUpdateParameters, options },
|
|
424
|
-
updateOperationSpec
|
|
425
|
-
);
|
|
426
|
-
const poller =
|
|
427
|
-
|
|
428
|
+
const lro = createLroSpec({
|
|
429
|
+
sendOperationFn,
|
|
430
|
+
args: { resourceGroupName, domainName, domainUpdateParameters, options },
|
|
431
|
+
spec: updateOperationSpec
|
|
432
|
+
});
|
|
433
|
+
const poller = await createHttpPoller<void, OperationState<void>>(lro, {
|
|
434
|
+
restoreFrom: options?.resumeFrom,
|
|
428
435
|
intervalInMs: options?.updateIntervalInMs
|
|
429
436
|
});
|
|
430
437
|
await poller.poll();
|