@azure/arm-eventgrid 14.1.1-alpha.20230512.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
|
@@ -16,12 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List the two keys used to publish to a partner namespace.
|
|
17
17
|
*
|
|
18
18
|
* @summary List the two keys used to publish to a partner namespace.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerNamespaces_ListSharedAccessKeys.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerNamespacesListSharedAccessKeys() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
23
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"
|
|
24
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
25
25
|
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
26
26
|
const partnerNamespaceName = "examplePartnerNamespaceName1";
|
|
27
27
|
const credential = new DefaultAzureCredential();
|
|
@@ -16,12 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Regenerate a shared access key for a partner namespace.
|
|
17
17
|
*
|
|
18
18
|
* @summary Regenerate a shared access key for a partner namespace.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerNamespaces_RegenerateKey.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerNamespacesRegenerateKey() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
23
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"
|
|
24
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
25
25
|
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
26
26
|
const partnerNamespaceName = "examplePartnerNamespaceName1";
|
|
27
27
|
const regenerateKeyRequest = {
|
|
@@ -16,12 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Asynchronously updates a partner namespace with the specified parameters.
|
|
17
17
|
*
|
|
18
18
|
* @summary Asynchronously updates a partner namespace with the specified parameters.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerNamespaces_Update.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerNamespacesUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
23
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"
|
|
24
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
25
25
|
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
26
26
|
const partnerNamespaceName = "examplePartnerNamespaceName1";
|
|
27
27
|
const partnerNamespaceUpdateParameters = {
|
|
@@ -16,12 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Creates a new partner registration with the specified parameters.
|
|
17
17
|
*
|
|
18
18
|
* @summary Creates a new partner registration with the specified parameters.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerRegistrations_CreateOrUpdate.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerRegistrationsCreateOrUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
23
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"
|
|
24
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
25
25
|
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
26
26
|
const partnerRegistrationName = "examplePartnerRegistrationName1";
|
|
27
27
|
const partnerRegistrationInfo = {
|
|
@@ -16,12 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deletes a partner registration with the specified parameters.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deletes a partner registration with the specified parameters.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerRegistrations_Delete.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerRegistrationsDelete() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
23
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"
|
|
24
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
25
25
|
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
26
26
|
const partnerRegistrationName = "examplePartnerRegistrationName1";
|
|
27
27
|
const credential = new DefaultAzureCredential();
|
|
@@ -16,12 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Gets a partner registration with the specified parameters.
|
|
17
17
|
*
|
|
18
18
|
* @summary Gets a partner registration with the specified parameters.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerRegistrations_Get.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerRegistrationsGet() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
23
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"
|
|
24
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
25
25
|
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
26
26
|
const partnerRegistrationName = "examplePartnerRegistrationName1";
|
|
27
27
|
const credential = new DefaultAzureCredential();
|
|
@@ -16,13 +16,13 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List all the partner registrations under a resource group.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all the partner registrations under a resource group.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerRegistrations_ListByResourceGroup.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerRegistrationsListByResourceGroup() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
23
23
|
return __awaiter(this, void 0, void 0, function* () {
|
|
24
24
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
25
|
-
"
|
|
25
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
26
26
|
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
27
27
|
const credential = new DefaultAzureCredential();
|
|
28
28
|
const client = new EventGridManagementClient(credential, subscriptionId);
|
|
@@ -16,13 +16,13 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List all the partner registrations under an Azure subscription.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all the partner registrations under an Azure subscription.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerRegistrations_ListBySubscription.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerRegistrationsListBySubscription() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
23
23
|
return __awaiter(this, void 0, void 0, function* () {
|
|
24
24
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
25
|
-
"
|
|
25
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
26
26
|
const credential = new DefaultAzureCredential();
|
|
27
27
|
const client = new EventGridManagementClient(credential, subscriptionId);
|
|
28
28
|
const resArray = new Array();
|
|
@@ -16,16 +16,16 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Updates a partner registration with the specified parameters.
|
|
17
17
|
*
|
|
18
18
|
* @summary Updates a partner registration with the specified parameters.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerRegistrations_Update.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerRegistrationsUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
23
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"
|
|
24
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
25
25
|
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
26
26
|
const partnerRegistrationName = "examplePartnerRegistrationName1";
|
|
27
27
|
const partnerRegistrationUpdateParameters = {
|
|
28
|
-
tags: {
|
|
28
|
+
tags: { newKey: "NewValue" }
|
|
29
29
|
};
|
|
30
30
|
const credential = new DefaultAzureCredential();
|
|
31
31
|
const client = new EventGridManagementClient(credential, subscriptionId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partnerRegistrationsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/partnerRegistrationsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,0BAA0B;;QACvC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,WAAW,CAAC;QACzD,MAAM,uBAAuB,GAAG,iCAAiC,CAAC;QAClE,MAAM,mCAAmC,GAAwC;YAC/E,IAAI,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"partnerRegistrationsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/partnerRegistrationsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,0BAA0B;;QACvC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,WAAW,CAAC;QACzD,MAAM,uBAAuB,GAAG,iCAAiC,CAAC;QAClE,MAAM,mCAAmC,GAAwC;YAC/E,IAAI,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;SAC7B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,oBAAoB,CAAC,kBAAkB,CACjE,iBAAiB,EACjB,uBAAuB,EACvB,mCAAmC,CACpC,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,12 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Asynchronously creates or updates an event subscription of a partner topic with the specified parameters. Existing event subscriptions will be updated with this API.
|
|
17
17
|
*
|
|
18
18
|
* @summary Asynchronously creates or updates an event subscription of a partner topic with the specified parameters. Existing event subscriptions will be updated with this API.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopicEventSubscriptions_CreateOrUpdate.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerTopicEventSubscriptionsCreateOrUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
23
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"
|
|
24
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
25
25
|
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
26
26
|
const partnerTopicName = "examplePartnerTopic1";
|
|
27
27
|
const eventSubscriptionName = "exampleEventSubscriptionName1";
|
|
@@ -16,12 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Delete an existing event subscription of a partner topic.
|
|
17
17
|
*
|
|
18
18
|
* @summary Delete an existing event subscription of a partner topic.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopicEventSubscriptions_Delete.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerTopicEventSubscriptionsDelete() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
23
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"
|
|
24
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
25
25
|
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
26
26
|
const partnerTopicName = "examplePartnerTopic1";
|
|
27
27
|
const eventSubscriptionName = "examplesubscription1";
|
|
@@ -16,12 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get all delivery attributes for an event subscription of a partner topic.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get all delivery attributes for an event subscription of a partner topic.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopicEventSubscriptions_GetDeliveryAttributes.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerTopicEventSubscriptionsGetDeliveryAttributes() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
23
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"
|
|
24
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
25
25
|
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
26
26
|
const partnerTopicName = "examplePartnerTopic1";
|
|
27
27
|
const eventSubscriptionName = "examplesubscription1";
|
|
@@ -16,12 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get the full endpoint URL for an event subscription of a partner topic.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get the full endpoint URL for an event subscription of a partner topic.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopicEventSubscriptions_GetFullUrl.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerTopicEventSubscriptionsGetFullUrl() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
23
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"
|
|
24
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
25
25
|
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
26
26
|
const partnerTopicName = "examplePartnerTopic1";
|
|
27
27
|
const eventSubscriptionName = "examplesubscription1";
|
|
@@ -16,12 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get properties of an event subscription of a partner topic.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get properties of an event subscription of a partner topic.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopicEventSubscriptions_Get.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerTopicEventSubscriptionsGet() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
23
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"
|
|
24
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
25
25
|
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
26
26
|
const partnerTopicName = "examplePartnerTopic1";
|
|
27
27
|
const eventSubscriptionName = "examplesubscription1";
|
|
@@ -16,13 +16,13 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List event subscriptions that belong to a specific partner topic.
|
|
17
17
|
*
|
|
18
18
|
* @summary List event subscriptions that belong to a specific partner topic.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopicEventSubscriptions_ListByPartnerTopic.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerTopicEventSubscriptionsListByPartnerTopic() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
23
23
|
return __awaiter(this, void 0, void 0, function* () {
|
|
24
24
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
25
|
-
"
|
|
25
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
26
26
|
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
27
27
|
const partnerTopicName = "examplePartnerTopic1";
|
|
28
28
|
const credential = new DefaultAzureCredential();
|
|
@@ -16,12 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Update an existing event subscription of a partner topic.
|
|
17
17
|
*
|
|
18
18
|
* @summary Update an existing event subscription of a partner topic.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopicEventSubscriptions_Update.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerTopicEventSubscriptionsUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
23
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"
|
|
24
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
25
25
|
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
26
26
|
const partnerTopicName = "examplePartnerTopic1";
|
|
27
27
|
const eventSubscriptionName = "exampleEventSubscriptionName1";
|
|
@@ -16,12 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Activate a newly created partner topic.
|
|
17
17
|
*
|
|
18
18
|
* @summary Activate a newly created partner topic.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopics_Activate.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerTopicsActivate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
23
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"
|
|
24
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
25
25
|
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
26
26
|
const partnerTopicName = "examplePartnerTopic1";
|
|
27
27
|
const credential = new DefaultAzureCredential();
|
|
@@ -16,12 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Asynchronously creates a new partner topic with the specified parameters.
|
|
17
17
|
*
|
|
18
18
|
* @summary Asynchronously creates a new partner topic with the specified parameters.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopics_CreateOrUpdate.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerTopicsCreateOrUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
23
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"
|
|
24
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
25
25
|
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
26
26
|
const partnerTopicName = "examplePartnerTopicName1";
|
|
27
27
|
const partnerTopicInfo = {
|
|
@@ -16,12 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Deactivate specific partner topic.
|
|
17
17
|
*
|
|
18
18
|
* @summary Deactivate specific partner topic.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopics_Deactivate.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerTopicsDeactivate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
23
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"
|
|
24
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
25
25
|
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
26
26
|
const partnerTopicName = "examplePartnerTopic1";
|
|
27
27
|
const credential = new DefaultAzureCredential();
|
|
@@ -16,12 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Delete existing partner topic.
|
|
17
17
|
*
|
|
18
18
|
* @summary Delete existing partner topic.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopics_Delete.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerTopicsDelete() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
23
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"
|
|
24
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
25
25
|
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
26
26
|
const partnerTopicName = "examplePartnerTopicName1";
|
|
27
27
|
const credential = new DefaultAzureCredential();
|
|
@@ -16,12 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get properties of a partner topic.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get properties of a partner topic.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopics_Get.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerTopicsGet() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
23
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"
|
|
24
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
25
25
|
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
26
26
|
const partnerTopicName = "examplePartnerTopicName1";
|
|
27
27
|
const credential = new DefaultAzureCredential();
|
|
@@ -16,13 +16,13 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List all the partner topics under a resource group.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all the partner topics under a resource group.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopics_ListByResourceGroup.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerTopicsListByResourceGroup() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
23
23
|
return __awaiter(this, void 0, void 0, function* () {
|
|
24
24
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
25
|
-
"
|
|
25
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
26
26
|
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
27
27
|
const credential = new DefaultAzureCredential();
|
|
28
28
|
const client = new EventGridManagementClient(credential, subscriptionId);
|
|
@@ -16,13 +16,13 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List all the partner topics under an Azure subscription.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all the partner topics under an Azure subscription.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopics_ListBySubscription.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerTopicsListBySubscription() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
23
23
|
return __awaiter(this, void 0, void 0, function* () {
|
|
24
24
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
25
|
-
"
|
|
25
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
26
26
|
const credential = new DefaultAzureCredential();
|
|
27
27
|
const client = new EventGridManagementClient(credential, subscriptionId);
|
|
28
28
|
const resArray = new Array();
|
|
@@ -16,12 +16,12 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Asynchronously updates a partner topic with the specified parameters.
|
|
17
17
|
*
|
|
18
18
|
* @summary Asynchronously updates a partner topic with the specified parameters.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PartnerTopics_Update.json
|
|
20
20
|
*/
|
|
21
21
|
function partnerTopicsUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
23
|
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"
|
|
24
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
25
25
|
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
26
26
|
const partnerTopicName = "examplePartnerTopicName1";
|
|
27
27
|
const partnerTopicUpdateParameters = {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permissionBindingsCreateOrUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/permissionBindingsCreateOrUpdateSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { EventGridManagementClient } from "@azure/arm-eventgrid";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Create or update a permission binding with the specified parameters.
|
|
17
|
+
*
|
|
18
|
+
* @summary Create or update a permission binding with the specified parameters.
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PermissionBindings_CreateOrUpdate.json
|
|
20
|
+
*/
|
|
21
|
+
function permissionBindingsCreateOrUpdate() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
25
|
+
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
26
|
+
const namespaceName = "exampleNamespaceName1";
|
|
27
|
+
const permissionBindingName = "examplePermissionBindingName1";
|
|
28
|
+
const permissionBindingInfo = {
|
|
29
|
+
clientGroupName: "exampleClientGroupName1",
|
|
30
|
+
permission: "Publisher",
|
|
31
|
+
topicSpaceName: "exampleTopicSpaceName1"
|
|
32
|
+
};
|
|
33
|
+
const credential = new DefaultAzureCredential();
|
|
34
|
+
const client = new EventGridManagementClient(credential, subscriptionId);
|
|
35
|
+
const result = yield client.permissionBindings.beginCreateOrUpdateAndWait(resourceGroupName, namespaceName, permissionBindingName, permissionBindingInfo);
|
|
36
|
+
console.log(result);
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
function main() {
|
|
40
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41
|
+
permissionBindingsCreateOrUpdate();
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
main().catch(console.error);
|
|
45
|
+
//# sourceMappingURL=permissionBindingsCreateOrUpdateSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permissionBindingsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/permissionBindingsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gCAAgC;;QAC7C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,WAAW,CAAC;QACzD,MAAM,aAAa,GAAG,uBAAuB,CAAC;QAC9C,MAAM,qBAAqB,GAAG,+BAA+B,CAAC;QAC9D,MAAM,qBAAqB,GAAsB;YAC/C,eAAe,EAAE,yBAAyB;YAC1C,UAAU,EAAE,WAAW;YACvB,cAAc,EAAE,wBAAwB;SACzC,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,0BAA0B,CACvE,iBAAiB,EACjB,aAAa,EACb,qBAAqB,EACrB,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gCAAgC,EAAE,CAAC;IACrC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permissionBindingsDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/permissionBindingsDeleteSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { EventGridManagementClient } from "@azure/arm-eventgrid";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Delete an existing permission binding.
|
|
17
|
+
*
|
|
18
|
+
* @summary Delete an existing permission binding.
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PermissionBindings_Delete.json
|
|
20
|
+
*/
|
|
21
|
+
function permissionBindingsDelete() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
25
|
+
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
26
|
+
const namespaceName = "exampleNamespaceName1";
|
|
27
|
+
const permissionBindingName = "examplePermissionBindingName1";
|
|
28
|
+
const credential = new DefaultAzureCredential();
|
|
29
|
+
const client = new EventGridManagementClient(credential, subscriptionId);
|
|
30
|
+
const result = yield client.permissionBindings.beginDeleteAndWait(resourceGroupName, namespaceName, permissionBindingName);
|
|
31
|
+
console.log(result);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function main() {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
permissionBindingsDelete();
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
main().catch(console.error);
|
|
40
|
+
//# sourceMappingURL=permissionBindingsDeleteSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permissionBindingsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/permissionBindingsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,wBAAwB;;QACrC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,WAAW,CAAC;QACzD,MAAM,aAAa,GAAG,uBAAuB,CAAC;QAC9C,MAAM,qBAAqB,GAAG,+BAA+B,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,kBAAkB,CAC/D,iBAAiB,EACjB,aAAa,EACb,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,wBAAwB,EAAE,CAAC;IAC7B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permissionBindingsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/permissionBindingsGetSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { EventGridManagementClient } from "@azure/arm-eventgrid";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Get properties of a permission binding.
|
|
17
|
+
*
|
|
18
|
+
* @summary Get properties of a permission binding.
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-06-01-preview/examples/PermissionBindings_Get.json
|
|
20
|
+
*/
|
|
21
|
+
function permissionBindingsGet() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
+
"8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
25
|
+
const resourceGroupName = process.env["EVENTGRID_RESOURCE_GROUP"] || "examplerg";
|
|
26
|
+
const namespaceName = "exampleNamespaceName1";
|
|
27
|
+
const permissionBindingName = "examplePermissionBindingName1";
|
|
28
|
+
const credential = new DefaultAzureCredential();
|
|
29
|
+
const client = new EventGridManagementClient(credential, subscriptionId);
|
|
30
|
+
const result = yield client.permissionBindings.get(resourceGroupName, namespaceName, permissionBindingName);
|
|
31
|
+
console.log(result);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
function main() {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
permissionBindingsGet();
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
main().catch(console.error);
|
|
40
|
+
//# sourceMappingURL=permissionBindingsGetSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permissionBindingsGetSample.js","sourceRoot":"","sources":["../../samples-dev/permissionBindingsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,qBAAqB;;QAClC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,WAAW,CAAC;QACzD,MAAM,aAAa,GAAG,uBAAuB,CAAC;QAC9C,MAAM,qBAAqB,GAAG,+BAA+B,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,GAAG,CAChD,iBAAiB,EACjB,aAAa,EACb,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,qBAAqB,EAAE,CAAC;IAC1B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permissionBindingsListByNamespaceSample.d.ts","sourceRoot":"","sources":["../../samples-dev/permissionBindingsListByNamespaceSample.ts"],"names":[],"mappings":""}
|