@azure/arm-eventgrid 14.2.0-beta.1 → 14.2.0-beta.3
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 +709 -1
- package/dist/index.js +1893 -1294
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/caCertificatesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/caCertificatesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/caCertificatesGetSample.js +1 -1
- package/dist-esm/samples-dev/caCertificatesListByNamespaceSample.js +4 -9
- package/dist-esm/samples-dev/caCertificatesListByNamespaceSample.js.map +1 -1
- package/dist-esm/samples-dev/channelsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/channelsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/channelsGetFullUrlSample.js +1 -1
- package/dist-esm/samples-dev/channelsGetSample.js +1 -1
- package/dist-esm/samples-dev/channelsListByPartnerNamespaceSample.js +4 -9
- package/dist-esm/samples-dev/channelsListByPartnerNamespaceSample.js.map +1 -1
- package/dist-esm/samples-dev/channelsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/clientGroupsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/clientGroupsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/clientGroupsGetSample.js +1 -1
- package/dist-esm/samples-dev/clientGroupsListByNamespaceSample.js +4 -9
- package/dist-esm/samples-dev/clientGroupsListByNamespaceSample.js.map +1 -1
- package/dist-esm/samples-dev/clientsCreateOrUpdateSample.js +3 -8
- package/dist-esm/samples-dev/clientsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/clientsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/clientsGetSample.js +1 -1
- package/dist-esm/samples-dev/clientsListByNamespaceSample.js +4 -9
- package/dist-esm/samples-dev/clientsListByNamespaceSample.js.map +1 -1
- package/dist-esm/samples-dev/domainEventSubscriptionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/domainEventSubscriptionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/domainEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
- package/dist-esm/samples-dev/domainEventSubscriptionsGetFullUrlSample.js +1 -1
- package/dist-esm/samples-dev/domainEventSubscriptionsGetSample.js +1 -1
- package/dist-esm/samples-dev/domainEventSubscriptionsListSample.js +4 -9
- package/dist-esm/samples-dev/domainEventSubscriptionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/domainEventSubscriptionsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetFullUrlSample.js +1 -1
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsGetSample.js +1 -1
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsListSample.js +4 -9
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/domainTopicEventSubscriptionsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/domainTopicsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/domainTopicsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/domainTopicsGetSample.js +1 -1
- package/dist-esm/samples-dev/domainTopicsListByDomainSample.js +4 -9
- package/dist-esm/samples-dev/domainTopicsListByDomainSample.js.map +1 -1
- package/dist-esm/samples-dev/domainsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/domainsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/domainsGetSample.js +1 -1
- package/dist-esm/samples-dev/domainsListByResourceGroupSample.js +4 -9
- package/dist-esm/samples-dev/domainsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/domainsListBySubscriptionSample.js +4 -9
- package/dist-esm/samples-dev/domainsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/domainsListSharedAccessKeysSample.js +1 -1
- package/dist-esm/samples-dev/domainsRegenerateKeySample.js +1 -1
- package/dist-esm/samples-dev/domainsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsCreateOrUpdateSample.js +22 -44
- package/dist-esm/samples-dev/eventSubscriptionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsDeleteSample.js +8 -16
- package/dist-esm/samples-dev/eventSubscriptionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsGetDeliveryAttributesSample.js +2 -4
- package/dist-esm/samples-dev/eventSubscriptionsGetDeliveryAttributesSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsGetFullUrlSample.js +8 -16
- package/dist-esm/samples-dev/eventSubscriptionsGetFullUrlSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsGetSample.js +22 -44
- package/dist-esm/samples-dev/eventSubscriptionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListByDomainTopicSample.js +4 -9
- package/dist-esm/samples-dev/eventSubscriptionsListByDomainTopicSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListByResourceSample.js +4 -9
- package/dist-esm/samples-dev/eventSubscriptionsListByResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupForTopicTypeSample.js +4 -9
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupForTopicTypeSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupSample.js +4 -9
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionForTopicTypeSample.js +4 -9
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionForTopicTypeSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionSample.js +4 -9
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupForTopicTypeSample.js +4 -9
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupForTopicTypeSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupSample.js +4 -9
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionForTopicTypeSample.js +4 -9
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionForTopicTypeSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionSample.js +4 -9
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsUpdateSample.js +22 -44
- package/dist-esm/samples-dev/eventSubscriptionsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/extensionTopicsGetSample.js +2 -4
- package/dist-esm/samples-dev/extensionTopicsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetDeliveryAttributesSample.d.ts +2 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetDeliveryAttributesSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetDeliveryAttributesSample.js +41 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetDeliveryAttributesSample.js.map +1 -0
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetSample.js +1 -1
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsListByNamespaceTopicSample.js +4 -9
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsListByNamespaceTopicSample.js.map +1 -1
- package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/namespaceTopicsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/namespaceTopicsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/namespaceTopicsGetSample.js +1 -1
- package/dist-esm/samples-dev/namespaceTopicsListByNamespaceSample.js +4 -9
- package/dist-esm/samples-dev/namespaceTopicsListByNamespaceSample.js.map +1 -1
- package/dist-esm/samples-dev/namespaceTopicsListSharedAccessKeysSample.js +1 -1
- package/dist-esm/samples-dev/namespaceTopicsRegenerateKeySample.js +1 -1
- package/dist-esm/samples-dev/namespaceTopicsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/namespacesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/namespacesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/namespacesGetSample.js +1 -1
- package/dist-esm/samples-dev/namespacesListByResourceGroupSample.js +4 -9
- package/dist-esm/samples-dev/namespacesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/namespacesListBySubscriptionSample.js +4 -9
- package/dist-esm/samples-dev/namespacesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/namespacesListSharedAccessKeysSample.js +1 -1
- package/dist-esm/samples-dev/namespacesRegenerateKeySample.js +1 -1
- package/dist-esm/samples-dev/namespacesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js +42 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.js +56 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts +2 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js +42 -0
- package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +4 -9
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerConfigurationsAuthorizePartnerSample.js +1 -1
- package/dist-esm/samples-dev/partnerConfigurationsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/partnerConfigurationsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/partnerConfigurationsGetSample.js +1 -1
- package/dist-esm/samples-dev/partnerConfigurationsListByResourceGroupSample.js +4 -9
- package/dist-esm/samples-dev/partnerConfigurationsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerConfigurationsListBySubscriptionSample.js +4 -9
- package/dist-esm/samples-dev/partnerConfigurationsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerConfigurationsUnauthorizePartnerSample.js +1 -1
- package/dist-esm/samples-dev/partnerConfigurationsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/partnerDestinationsActivateSample.js +1 -1
- package/dist-esm/samples-dev/partnerDestinationsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/partnerDestinationsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/partnerDestinationsGetSample.js +1 -1
- package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.js +4 -9
- package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.js +4 -9
- package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerDestinationsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/partnerNamespacesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/partnerNamespacesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/partnerNamespacesGetSample.js +1 -1
- package/dist-esm/samples-dev/partnerNamespacesListByResourceGroupSample.js +4 -9
- package/dist-esm/samples-dev/partnerNamespacesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerNamespacesListBySubscriptionSample.js +4 -9
- package/dist-esm/samples-dev/partnerNamespacesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerNamespacesListSharedAccessKeysSample.js +1 -1
- package/dist-esm/samples-dev/partnerNamespacesRegenerateKeySample.js +1 -1
- package/dist-esm/samples-dev/partnerNamespacesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/partnerRegistrationsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/partnerRegistrationsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/partnerRegistrationsGetSample.js +1 -1
- package/dist-esm/samples-dev/partnerRegistrationsListByResourceGroupSample.js +4 -9
- package/dist-esm/samples-dev/partnerRegistrationsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerRegistrationsListBySubscriptionSample.js +4 -9
- package/dist-esm/samples-dev/partnerRegistrationsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerRegistrationsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetFullUrlSample.js +1 -1
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsGetSample.js +1 -1
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsListByPartnerTopicSample.js +4 -9
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsListByPartnerTopicSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerTopicEventSubscriptionsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/partnerTopicsActivateSample.js +1 -1
- package/dist-esm/samples-dev/partnerTopicsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/partnerTopicsDeactivateSample.js +1 -1
- package/dist-esm/samples-dev/partnerTopicsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/partnerTopicsGetSample.js +1 -1
- package/dist-esm/samples-dev/partnerTopicsListByResourceGroupSample.js +4 -9
- package/dist-esm/samples-dev/partnerTopicsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerTopicsListBySubscriptionSample.js +4 -9
- package/dist-esm/samples-dev/partnerTopicsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/partnerTopicsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/permissionBindingsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/permissionBindingsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/permissionBindingsGetSample.js +1 -1
- package/dist-esm/samples-dev/permissionBindingsListByNamespaceSample.js +4 -9
- package/dist-esm/samples-dev/permissionBindingsListByNamespaceSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByResourceSample.js +4 -9
- package/dist-esm/samples-dev/privateEndpointConnectionsListByResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByResourceSample.js +4 -9
- package/dist-esm/samples-dev/privateLinkResourcesListByResourceSample.js.map +1 -1
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetFullUrlSample.js +1 -1
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsGetSample.js +1 -1
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsListBySystemTopicSample.js +4 -9
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsListBySystemTopicSample.js.map +1 -1
- package/dist-esm/samples-dev/systemTopicEventSubscriptionsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/systemTopicsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/systemTopicsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/systemTopicsGetSample.js +1 -1
- package/dist-esm/samples-dev/systemTopicsListByResourceGroupSample.js +4 -9
- package/dist-esm/samples-dev/systemTopicsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/systemTopicsListBySubscriptionSample.js +4 -9
- package/dist-esm/samples-dev/systemTopicsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/systemTopicsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/topicEventSubscriptionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/topicEventSubscriptionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/topicEventSubscriptionsGetDeliveryAttributesSample.js +1 -1
- package/dist-esm/samples-dev/topicEventSubscriptionsGetFullUrlSample.js +1 -1
- package/dist-esm/samples-dev/topicEventSubscriptionsGetSample.js +1 -1
- package/dist-esm/samples-dev/topicEventSubscriptionsListSample.js +4 -9
- package/dist-esm/samples-dev/topicEventSubscriptionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/topicEventSubscriptionsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/topicSpacesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/topicSpacesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/topicSpacesGetSample.js +1 -1
- package/dist-esm/samples-dev/topicSpacesListByNamespaceSample.js +4 -9
- package/dist-esm/samples-dev/topicSpacesListByNamespaceSample.js.map +1 -1
- package/dist-esm/samples-dev/topicTypesGetSample.js +2 -4
- package/dist-esm/samples-dev/topicTypesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/topicTypesListEventTypesSample.js +5 -12
- package/dist-esm/samples-dev/topicTypesListEventTypesSample.js.map +1 -1
- package/dist-esm/samples-dev/topicTypesListSample.js +5 -12
- package/dist-esm/samples-dev/topicTypesListSample.js.map +1 -1
- package/dist-esm/samples-dev/topicsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/topicsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/topicsGetSample.js +1 -1
- package/dist-esm/samples-dev/topicsListByResourceGroupSample.js +4 -9
- package/dist-esm/samples-dev/topicsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/topicsListBySubscriptionSample.js +4 -9
- package/dist-esm/samples-dev/topicsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/topicsListEventTypesSample.js +4 -9
- package/dist-esm/samples-dev/topicsListEventTypesSample.js.map +1 -1
- package/dist-esm/samples-dev/topicsListSharedAccessKeysSample.js +1 -1
- package/dist-esm/samples-dev/topicsRegenerateKeySample.js +1 -1
- package/dist-esm/samples-dev/topicsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/verifiedPartnersGetSample.js +2 -4
- package/dist-esm/samples-dev/verifiedPartnersGetSample.js.map +1 -1
- package/dist-esm/samples-dev/verifiedPartnersListSample.js +5 -12
- package/dist-esm/samples-dev/verifiedPartnersListSample.js.map +1 -1
- package/dist-esm/src/eventGridManagementClient.d.ts +4 -2
- package/dist-esm/src/eventGridManagementClient.d.ts.map +1 -1
- package/dist-esm/src/eventGridManagementClient.js +11 -13
- package/dist-esm/src/eventGridManagementClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +506 -180
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +108 -20
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +36 -22
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +887 -509
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +4 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +46 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/caCertificates.js +3 -8
- package/dist-esm/src/operations/caCertificates.js.map +1 -1
- package/dist-esm/src/operations/channels.js +3 -8
- package/dist-esm/src/operations/channels.js.map +1 -1
- package/dist-esm/src/operations/clientGroups.js +3 -8
- package/dist-esm/src/operations/clientGroups.js.map +1 -1
- package/dist-esm/src/operations/clients.js +3 -8
- package/dist-esm/src/operations/clients.js.map +1 -1
- package/dist-esm/src/operations/domainEventSubscriptions.js +3 -8
- package/dist-esm/src/operations/domainEventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/domainTopicEventSubscriptions.js +3 -8
- package/dist-esm/src/operations/domainTopicEventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/domainTopics.js +3 -8
- package/dist-esm/src/operations/domainTopics.js.map +1 -1
- package/dist-esm/src/operations/domains.js +6 -16
- package/dist-esm/src/operations/domains.js.map +1 -1
- package/dist-esm/src/operations/eventSubscriptions.js +30 -80
- package/dist-esm/src/operations/eventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/namespaceTopicEventSubscriptions.d.ts +11 -1
- package/dist-esm/src/operations/namespaceTopicEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operations/namespaceTopicEventSubscriptions.js +44 -8
- package/dist-esm/src/operations/namespaceTopicEventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/namespaceTopics.js +3 -8
- package/dist-esm/src/operations/namespaceTopics.js.map +1 -1
- package/dist-esm/src/operations/namespaces.js +6 -16
- package/dist-esm/src/operations/namespaces.js.map +1 -1
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts +68 -0
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js +260 -0
- package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist-esm/src/operations/operations.js +3 -8
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/partnerConfigurations.js +6 -16
- package/dist-esm/src/operations/partnerConfigurations.js.map +1 -1
- package/dist-esm/src/operations/partnerDestinations.js +6 -16
- package/dist-esm/src/operations/partnerDestinations.js.map +1 -1
- package/dist-esm/src/operations/partnerNamespaces.js +46 -25
- package/dist-esm/src/operations/partnerNamespaces.js.map +1 -1
- package/dist-esm/src/operations/partnerRegistrations.js +6 -16
- package/dist-esm/src/operations/partnerRegistrations.js.map +1 -1
- package/dist-esm/src/operations/partnerTopicEventSubscriptions.js +3 -8
- package/dist-esm/src/operations/partnerTopicEventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/partnerTopics.js +6 -16
- package/dist-esm/src/operations/partnerTopics.js.map +1 -1
- package/dist-esm/src/operations/permissionBindings.js +3 -8
- package/dist-esm/src/operations/permissionBindings.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +3 -8
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +3 -8
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/systemTopicEventSubscriptions.js +3 -8
- package/dist-esm/src/operations/systemTopicEventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/systemTopics.js +6 -16
- package/dist-esm/src/operations/systemTopics.js.map +1 -1
- package/dist-esm/src/operations/topicEventSubscriptions.js +3 -8
- package/dist-esm/src/operations/topicEventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/topicSpaces.js +3 -8
- package/dist-esm/src/operations/topicSpaces.js.map +1 -1
- package/dist-esm/src/operations/topicTypes.js +6 -16
- package/dist-esm/src/operations/topicTypes.js.map +1 -1
- package/dist-esm/src/operations/topics.js +9 -24
- package/dist-esm/src/operations/topics.js.map +1 -1
- package/dist-esm/src/operations/verifiedPartners.js +3 -8
- package/dist-esm/src/operations/verifiedPartners.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/namespaceTopicEventSubscriptions.d.ts +11 -1
- package/dist-esm/src/operationsInterfaces/namespaceTopicEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
- package/dist-esm/test/eventgrid_examples.js +156 -54
- package/dist-esm/test/eventgrid_examples.js.map +1 -1
- package/package.json +16 -20
- package/review/arm-eventgrid.api.md +236 -28
- package/src/eventGridManagementClient.ts +25 -5
- package/src/models/index.ts +613 -246
- package/src/models/mappers.ts +961 -552
- package/src/models/parameters.ts +50 -1
- package/src/operations/index.ts +1 -0
- package/src/operations/namespaceTopicEventSubscriptions.ts +54 -0
- package/src/operations/networkSecurityPerimeterConfigurations.ts +371 -0
- package/src/operations/partnerNamespaces.ts +40 -9
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/namespaceTopicEventSubscriptions.ts +19 -1
- package/src/operationsInterfaces/networkSecurityPerimeterConfigurations.ts +98 -0
- package/types/arm-eventgrid.d.ts +466 -48
- package/types/tsdoc-metadata.json +1 -1
- package/rollup.config.js +0 -122
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List all event subscriptions from the given location under a specific Azure subscription and resource group.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all event subscriptions from the given location under a specific Azure subscription and resource group.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_ListRegionalByResourceGroup.json
|
|
20
20
|
*/
|
|
21
21
|
function eventSubscriptionsListRegionalByResourceGroup() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -29,16 +29,11 @@ function eventSubscriptionsListRegionalByResourceGroup() {
|
|
|
29
29
|
const client = new EventGridManagementClient(credential, subscriptionId);
|
|
30
30
|
const resArray = new Array();
|
|
31
31
|
try {
|
|
32
|
-
for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listRegionalByResourceGroup(resourceGroupName, location)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
32
|
+
for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listRegionalByResourceGroup(resourceGroupName, location)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
33
33
|
_c = _f.value;
|
|
34
34
|
_d = false;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
resArray.push(item);
|
|
38
|
-
}
|
|
39
|
-
finally {
|
|
40
|
-
_d = true;
|
|
41
|
-
}
|
|
35
|
+
let item = _c;
|
|
36
|
+
resArray.push(item);
|
|
42
37
|
}
|
|
43
38
|
}
|
|
44
39
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventSubscriptionsListRegionalByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListRegionalByResourceGroupSample.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,6CAA6C;;;QAC1D,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,QAAQ,GAAG,SAAS,CAAC;QAC3B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,kBAAkB,CAAC,2BAA2B,CAC1E,iBAAiB,EACjB,QAAQ,CACT,CAAA,IAAA;
|
|
1
|
+
{"version":3,"file":"eventSubscriptionsListRegionalByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListRegionalByResourceGroupSample.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,6CAA6C;;;QAC1D,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,QAAQ,GAAG,SAAS,CAAC;QAC3B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,kBAAkB,CAAC,2BAA2B,CAC1E,iBAAiB,EACjB,QAAQ,CACT,CAAA,IAAA,sDAAE;gBAHoB,cAGtB;gBAHsB,WAGtB;gBAHU,IAAI,IAAI,KAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,6CAA6C,EAAE,CAAC;IAClD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionForTopicTypeSample.js
CHANGED
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List all event subscriptions from the given location under a specific Azure subscription and topic type.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all event subscriptions from the given location under a specific Azure subscription and topic type.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType.json
|
|
20
20
|
*/
|
|
21
21
|
function eventSubscriptionsListRegionalBySubscriptionForTopicType() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -29,16 +29,11 @@ function eventSubscriptionsListRegionalBySubscriptionForTopicType() {
|
|
|
29
29
|
const client = new EventGridManagementClient(credential, subscriptionId);
|
|
30
30
|
const resArray = new Array();
|
|
31
31
|
try {
|
|
32
|
-
for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listRegionalBySubscriptionForTopicType(location, topicTypeName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
32
|
+
for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listRegionalBySubscriptionForTopicType(location, topicTypeName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
33
33
|
_c = _f.value;
|
|
34
34
|
_d = false;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
resArray.push(item);
|
|
38
|
-
}
|
|
39
|
-
finally {
|
|
40
|
-
_d = true;
|
|
41
|
-
}
|
|
35
|
+
let item = _c;
|
|
36
|
+
resArray.push(item);
|
|
42
37
|
}
|
|
43
38
|
}
|
|
44
39
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionForTopicTypeSample.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventSubscriptionsListRegionalBySubscriptionForTopicTypeSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListRegionalBySubscriptionForTopicTypeSample.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,wDAAwD;;;QACrE,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,QAAQ,GAAG,SAAS,CAAC;QAC3B,MAAM,aAAa,GAAG,+BAA+B,CAAC;QACtD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,kBAAkB,CAAC,sCAAsC,CACrF,QAAQ,EACR,aAAa,CACd,CAAA,IAAA;
|
|
1
|
+
{"version":3,"file":"eventSubscriptionsListRegionalBySubscriptionForTopicTypeSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListRegionalBySubscriptionForTopicTypeSample.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,wDAAwD;;;QACrE,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,QAAQ,GAAG,SAAS,CAAC;QAC3B,MAAM,aAAa,GAAG,+BAA+B,CAAC;QACtD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,kBAAkB,CAAC,sCAAsC,CACrF,QAAQ,EACR,aAAa,CACd,CAAA,IAAA,sDAAE;gBAHoB,cAGtB;gBAHsB,WAGtB;gBAHU,IAAI,IAAI,KAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,wDAAwD,EAAE,CAAC;IAC7D,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List all event subscriptions from the given location under a specific Azure subscription.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all event subscriptions from the given location under a specific Azure subscription.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_ListRegionalBySubscription.json
|
|
20
20
|
*/
|
|
21
21
|
function eventSubscriptionsListRegionalBySubscription() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -28,16 +28,11 @@ function eventSubscriptionsListRegionalBySubscription() {
|
|
|
28
28
|
const client = new EventGridManagementClient(credential, subscriptionId);
|
|
29
29
|
const resArray = new Array();
|
|
30
30
|
try {
|
|
31
|
-
for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listRegionalBySubscription(location)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
31
|
+
for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listRegionalBySubscription(location)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
32
32
|
_c = _f.value;
|
|
33
33
|
_d = false;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
resArray.push(item);
|
|
37
|
-
}
|
|
38
|
-
finally {
|
|
39
|
-
_d = true;
|
|
40
|
-
}
|
|
34
|
+
let item = _c;
|
|
35
|
+
resArray.push(item);
|
|
41
36
|
}
|
|
42
37
|
}
|
|
43
38
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventSubscriptionsListRegionalBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListRegionalBySubscriptionSample.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,4CAA4C;;;QACzD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,QAAQ,GAAG,SAAS,CAAC;QAC3B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,kBAAkB,CAAC,0BAA0B,CACzE,QAAQ,CACT,CAAA,IAAA;
|
|
1
|
+
{"version":3,"file":"eventSubscriptionsListRegionalBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListRegionalBySubscriptionSample.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,4CAA4C;;;QACzD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,QAAQ,GAAG,SAAS,CAAC;QAC3B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,kBAAkB,CAAC,0BAA0B,CACzE,QAAQ,CACT,CAAA,IAAA,sDAAE;gBAFoB,cAEtB;gBAFsB,WAEtB;gBAFU,IAAI,IAAI,KAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,4CAA4C,EAAE,CAAC;IACjD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,12 +16,10 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Asynchronously updates an existing event subscription.
|
|
17
17
|
*
|
|
18
18
|
* @summary Asynchronously updates an existing event subscription.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_UpdateForCustomTopic.json
|
|
20
20
|
*/
|
|
21
21
|
function eventSubscriptionsUpdateForCustomTopic() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"00000000-0000-0000-0000-000000000000";
|
|
25
23
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
|
|
26
24
|
const eventSubscriptionName = "examplesubscription1";
|
|
27
25
|
const eventSubscriptionUpdateParameters = {
|
|
@@ -37,7 +35,7 @@ function eventSubscriptionsUpdateForCustomTopic() {
|
|
|
37
35
|
labels: ["label1", "label2"]
|
|
38
36
|
};
|
|
39
37
|
const credential = new DefaultAzureCredential();
|
|
40
|
-
const client = new EventGridManagementClient(credential
|
|
38
|
+
const client = new EventGridManagementClient(credential);
|
|
41
39
|
const result = yield client.eventSubscriptions.beginUpdateAndWait(scope, eventSubscriptionName, eventSubscriptionUpdateParameters);
|
|
42
40
|
console.log(result);
|
|
43
41
|
});
|
|
@@ -46,12 +44,10 @@ function eventSubscriptionsUpdateForCustomTopic() {
|
|
|
46
44
|
* This sample demonstrates how to Asynchronously updates an existing event subscription.
|
|
47
45
|
*
|
|
48
46
|
* @summary Asynchronously updates an existing event subscription.
|
|
49
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
47
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_UpdateForCustomTopic_AzureFunctionDestination.json
|
|
50
48
|
*/
|
|
51
49
|
function eventSubscriptionsUpdateForCustomTopicAzureFunctionDestination() {
|
|
52
50
|
return __awaiter(this, void 0, void 0, function* () {
|
|
53
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
54
|
-
"00000000-0000-0000-0000-000000000000";
|
|
55
51
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
|
|
56
52
|
const eventSubscriptionName = "examplesubscription1";
|
|
57
53
|
const eventSubscriptionUpdateParameters = {
|
|
@@ -71,7 +67,7 @@ function eventSubscriptionsUpdateForCustomTopicAzureFunctionDestination() {
|
|
|
71
67
|
}
|
|
72
68
|
};
|
|
73
69
|
const credential = new DefaultAzureCredential();
|
|
74
|
-
const client = new EventGridManagementClient(credential
|
|
70
|
+
const client = new EventGridManagementClient(credential);
|
|
75
71
|
const result = yield client.eventSubscriptions.beginUpdateAndWait(scope, eventSubscriptionName, eventSubscriptionUpdateParameters);
|
|
76
72
|
console.log(result);
|
|
77
73
|
});
|
|
@@ -80,12 +76,10 @@ function eventSubscriptionsUpdateForCustomTopicAzureFunctionDestination() {
|
|
|
80
76
|
* This sample demonstrates how to Asynchronously updates an existing event subscription.
|
|
81
77
|
*
|
|
82
78
|
* @summary Asynchronously updates an existing event subscription.
|
|
83
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
79
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_UpdateForCustomTopic_EventHubDestination.json
|
|
84
80
|
*/
|
|
85
81
|
function eventSubscriptionsUpdateForCustomTopicEventHubDestination() {
|
|
86
82
|
return __awaiter(this, void 0, void 0, function* () {
|
|
87
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
88
|
-
"00000000-0000-0000-0000-000000000000";
|
|
89
83
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
|
|
90
84
|
const eventSubscriptionName = "examplesubscription1";
|
|
91
85
|
const eventSubscriptionUpdateParameters = {
|
|
@@ -101,7 +95,7 @@ function eventSubscriptionsUpdateForCustomTopicEventHubDestination() {
|
|
|
101
95
|
labels: ["label1", "label2"]
|
|
102
96
|
};
|
|
103
97
|
const credential = new DefaultAzureCredential();
|
|
104
|
-
const client = new EventGridManagementClient(credential
|
|
98
|
+
const client = new EventGridManagementClient(credential);
|
|
105
99
|
const result = yield client.eventSubscriptions.beginUpdateAndWait(scope, eventSubscriptionName, eventSubscriptionUpdateParameters);
|
|
106
100
|
console.log(result);
|
|
107
101
|
});
|
|
@@ -110,12 +104,10 @@ function eventSubscriptionsUpdateForCustomTopicEventHubDestination() {
|
|
|
110
104
|
* This sample demonstrates how to Asynchronously updates an existing event subscription.
|
|
111
105
|
*
|
|
112
106
|
* @summary Asynchronously updates an existing event subscription.
|
|
113
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
107
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_UpdateForCustomTopic_HybridConnectionDestination.json
|
|
114
108
|
*/
|
|
115
109
|
function eventSubscriptionsUpdateForCustomTopicHybridConnectionDestination() {
|
|
116
110
|
return __awaiter(this, void 0, void 0, function* () {
|
|
117
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
118
|
-
"00000000-0000-0000-0000-000000000000";
|
|
119
111
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
|
|
120
112
|
const eventSubscriptionName = "examplesubscription1";
|
|
121
113
|
const eventSubscriptionUpdateParameters = {
|
|
@@ -131,7 +123,7 @@ function eventSubscriptionsUpdateForCustomTopicHybridConnectionDestination() {
|
|
|
131
123
|
labels: ["label1", "label2"]
|
|
132
124
|
};
|
|
133
125
|
const credential = new DefaultAzureCredential();
|
|
134
|
-
const client = new EventGridManagementClient(credential
|
|
126
|
+
const client = new EventGridManagementClient(credential);
|
|
135
127
|
const result = yield client.eventSubscriptions.beginUpdateAndWait(scope, eventSubscriptionName, eventSubscriptionUpdateParameters);
|
|
136
128
|
console.log(result);
|
|
137
129
|
});
|
|
@@ -140,12 +132,10 @@ function eventSubscriptionsUpdateForCustomTopicHybridConnectionDestination() {
|
|
|
140
132
|
* This sample demonstrates how to Asynchronously updates an existing event subscription.
|
|
141
133
|
*
|
|
142
134
|
* @summary Asynchronously updates an existing event subscription.
|
|
143
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
135
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_UpdateForCustomTopic_ServiceBusQueueDestination.json
|
|
144
136
|
*/
|
|
145
137
|
function eventSubscriptionsUpdateForCustomTopicServiceBusQueueDestination() {
|
|
146
138
|
return __awaiter(this, void 0, void 0, function* () {
|
|
147
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
148
|
-
"00000000-0000-0000-0000-000000000000";
|
|
149
139
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
|
|
150
140
|
const eventSubscriptionName = "examplesubscription1";
|
|
151
141
|
const eventSubscriptionUpdateParameters = {
|
|
@@ -165,7 +155,7 @@ function eventSubscriptionsUpdateForCustomTopicServiceBusQueueDestination() {
|
|
|
165
155
|
}
|
|
166
156
|
};
|
|
167
157
|
const credential = new DefaultAzureCredential();
|
|
168
|
-
const client = new EventGridManagementClient(credential
|
|
158
|
+
const client = new EventGridManagementClient(credential);
|
|
169
159
|
const result = yield client.eventSubscriptions.beginUpdateAndWait(scope, eventSubscriptionName, eventSubscriptionUpdateParameters);
|
|
170
160
|
console.log(result);
|
|
171
161
|
});
|
|
@@ -174,12 +164,10 @@ function eventSubscriptionsUpdateForCustomTopicServiceBusQueueDestination() {
|
|
|
174
164
|
* This sample demonstrates how to Asynchronously updates an existing event subscription.
|
|
175
165
|
*
|
|
176
166
|
* @summary Asynchronously updates an existing event subscription.
|
|
177
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
167
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_UpdateForCustomTopic_ServiceBusTopicDestination.json
|
|
178
168
|
*/
|
|
179
169
|
function eventSubscriptionsUpdateForCustomTopicServiceBusTopicDestination() {
|
|
180
170
|
return __awaiter(this, void 0, void 0, function* () {
|
|
181
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
182
|
-
"00000000-0000-0000-0000-000000000000";
|
|
183
171
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
|
|
184
172
|
const eventSubscriptionName = "examplesubscription1";
|
|
185
173
|
const eventSubscriptionUpdateParameters = {
|
|
@@ -195,7 +183,7 @@ function eventSubscriptionsUpdateForCustomTopicServiceBusTopicDestination() {
|
|
|
195
183
|
labels: ["label1", "label2"]
|
|
196
184
|
};
|
|
197
185
|
const credential = new DefaultAzureCredential();
|
|
198
|
-
const client = new EventGridManagementClient(credential
|
|
186
|
+
const client = new EventGridManagementClient(credential);
|
|
199
187
|
const result = yield client.eventSubscriptions.beginUpdateAndWait(scope, eventSubscriptionName, eventSubscriptionUpdateParameters);
|
|
200
188
|
console.log(result);
|
|
201
189
|
});
|
|
@@ -204,12 +192,10 @@ function eventSubscriptionsUpdateForCustomTopicServiceBusTopicDestination() {
|
|
|
204
192
|
* This sample demonstrates how to Asynchronously updates an existing event subscription.
|
|
205
193
|
*
|
|
206
194
|
* @summary Asynchronously updates an existing event subscription.
|
|
207
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
195
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_UpdateForCustomTopic_StorageQueueDestination.json
|
|
208
196
|
*/
|
|
209
197
|
function eventSubscriptionsUpdateForCustomTopicStorageQueueDestination() {
|
|
210
198
|
return __awaiter(this, void 0, void 0, function* () {
|
|
211
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
212
|
-
"00000000-0000-0000-0000-000000000000";
|
|
213
199
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
|
|
214
200
|
const eventSubscriptionName = "examplesubscription1";
|
|
215
201
|
const eventSubscriptionUpdateParameters = {
|
|
@@ -231,7 +217,7 @@ function eventSubscriptionsUpdateForCustomTopicStorageQueueDestination() {
|
|
|
231
217
|
}
|
|
232
218
|
};
|
|
233
219
|
const credential = new DefaultAzureCredential();
|
|
234
|
-
const client = new EventGridManagementClient(credential
|
|
220
|
+
const client = new EventGridManagementClient(credential);
|
|
235
221
|
const result = yield client.eventSubscriptions.beginUpdateAndWait(scope, eventSubscriptionName, eventSubscriptionUpdateParameters);
|
|
236
222
|
console.log(result);
|
|
237
223
|
});
|
|
@@ -240,12 +226,10 @@ function eventSubscriptionsUpdateForCustomTopicStorageQueueDestination() {
|
|
|
240
226
|
* This sample demonstrates how to Asynchronously updates an existing event subscription.
|
|
241
227
|
*
|
|
242
228
|
* @summary Asynchronously updates an existing event subscription.
|
|
243
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
229
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_UpdateForCustomTopic_WebhookDestination.json
|
|
244
230
|
*/
|
|
245
231
|
function eventSubscriptionsUpdateForCustomTopicWebhookDestination() {
|
|
246
232
|
return __awaiter(this, void 0, void 0, function* () {
|
|
247
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
248
|
-
"00000000-0000-0000-0000-000000000000";
|
|
249
233
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
|
|
250
234
|
const eventSubscriptionName = "examplesubscription1";
|
|
251
235
|
const eventSubscriptionUpdateParameters = {
|
|
@@ -261,7 +245,7 @@ function eventSubscriptionsUpdateForCustomTopicWebhookDestination() {
|
|
|
261
245
|
labels: ["label1", "label2"]
|
|
262
246
|
};
|
|
263
247
|
const credential = new DefaultAzureCredential();
|
|
264
|
-
const client = new EventGridManagementClient(credential
|
|
248
|
+
const client = new EventGridManagementClient(credential);
|
|
265
249
|
const result = yield client.eventSubscriptions.beginUpdateAndWait(scope, eventSubscriptionName, eventSubscriptionUpdateParameters);
|
|
266
250
|
console.log(result);
|
|
267
251
|
});
|
|
@@ -270,12 +254,10 @@ function eventSubscriptionsUpdateForCustomTopicWebhookDestination() {
|
|
|
270
254
|
* This sample demonstrates how to Asynchronously updates an existing event subscription.
|
|
271
255
|
*
|
|
272
256
|
* @summary Asynchronously updates an existing event subscription.
|
|
273
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
257
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_UpdateForResource.json
|
|
274
258
|
*/
|
|
275
259
|
function eventSubscriptionsUpdateForResource() {
|
|
276
260
|
return __awaiter(this, void 0, void 0, function* () {
|
|
277
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
278
|
-
"00000000-0000-0000-0000-000000000000";
|
|
279
261
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1";
|
|
280
262
|
const eventSubscriptionName = "examplesubscription1";
|
|
281
263
|
const eventSubscriptionUpdateParameters = {
|
|
@@ -291,7 +273,7 @@ function eventSubscriptionsUpdateForResource() {
|
|
|
291
273
|
labels: ["label1", "label2"]
|
|
292
274
|
};
|
|
293
275
|
const credential = new DefaultAzureCredential();
|
|
294
|
-
const client = new EventGridManagementClient(credential
|
|
276
|
+
const client = new EventGridManagementClient(credential);
|
|
295
277
|
const result = yield client.eventSubscriptions.beginUpdateAndWait(scope, eventSubscriptionName, eventSubscriptionUpdateParameters);
|
|
296
278
|
console.log(result);
|
|
297
279
|
});
|
|
@@ -300,12 +282,10 @@ function eventSubscriptionsUpdateForResource() {
|
|
|
300
282
|
* This sample demonstrates how to Asynchronously updates an existing event subscription.
|
|
301
283
|
*
|
|
302
284
|
* @summary Asynchronously updates an existing event subscription.
|
|
303
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
285
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_UpdateForResourceGroup.json
|
|
304
286
|
*/
|
|
305
287
|
function eventSubscriptionsUpdateForResourceGroup() {
|
|
306
288
|
return __awaiter(this, void 0, void 0, function* () {
|
|
307
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
308
|
-
"00000000-0000-0000-0000-000000000000";
|
|
309
289
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg";
|
|
310
290
|
const eventSubscriptionName = "examplesubscription2";
|
|
311
291
|
const eventSubscriptionUpdateParameters = {
|
|
@@ -321,7 +301,7 @@ function eventSubscriptionsUpdateForResourceGroup() {
|
|
|
321
301
|
labels: ["label1", "label2"]
|
|
322
302
|
};
|
|
323
303
|
const credential = new DefaultAzureCredential();
|
|
324
|
-
const client = new EventGridManagementClient(credential
|
|
304
|
+
const client = new EventGridManagementClient(credential);
|
|
325
305
|
const result = yield client.eventSubscriptions.beginUpdateAndWait(scope, eventSubscriptionName, eventSubscriptionUpdateParameters);
|
|
326
306
|
console.log(result);
|
|
327
307
|
});
|
|
@@ -330,12 +310,10 @@ function eventSubscriptionsUpdateForResourceGroup() {
|
|
|
330
310
|
* This sample demonstrates how to Asynchronously updates an existing event subscription.
|
|
331
311
|
*
|
|
332
312
|
* @summary Asynchronously updates an existing event subscription.
|
|
333
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
313
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_UpdateForSubscription.json
|
|
334
314
|
*/
|
|
335
315
|
function eventSubscriptionsUpdateForSubscription() {
|
|
336
316
|
return __awaiter(this, void 0, void 0, function* () {
|
|
337
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
338
|
-
"00000000-0000-0000-0000-000000000000";
|
|
339
317
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
340
318
|
const eventSubscriptionName = "examplesubscription3";
|
|
341
319
|
const eventSubscriptionUpdateParameters = {
|
|
@@ -351,7 +329,7 @@ function eventSubscriptionsUpdateForSubscription() {
|
|
|
351
329
|
labels: ["label1", "label2"]
|
|
352
330
|
};
|
|
353
331
|
const credential = new DefaultAzureCredential();
|
|
354
|
-
const client = new EventGridManagementClient(credential
|
|
332
|
+
const client = new EventGridManagementClient(credential);
|
|
355
333
|
const result = yield client.eventSubscriptions.beginUpdateAndWait(scope, eventSubscriptionName, eventSubscriptionUpdateParameters);
|
|
356
334
|
console.log(result);
|
|
357
335
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventSubscriptionsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsUpdateSample.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,sCAAsC;;QACnD,MAAM,
|
|
1
|
+
{"version":3,"file":"eventSubscriptionsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsUpdateSample.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,sCAAsC;;QACnD,MAAM,KAAK,GACT,gIAAgI,CAAC;QACnI,MAAM,qBAAqB,GAAG,sBAAsB,CAAC;QACrD,MAAM,iCAAiC,GAAsC;YAC3E,WAAW,EAAE;gBACX,YAAY,EAAE,SAAS;gBACvB,WAAW,EAAE,8BAA8B;aAC5C;YACD,MAAM,EAAE;gBACN,sBAAsB,EAAE,IAAI;gBAC5B,iBAAiB,EAAE,gBAAgB;gBACnC,eAAe,EAAE,WAAW;aAC7B;YACD,MAAM,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC;SAC7B,CAAC;QACF,MAAM,U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AAE,CAAC;QACzC,8DAA8D,EAAE,CAAC;QACjE,yDAAyD,EAAE,CAAC;QAC5D,iEAAiE,EAAE,CAAC;QACpE,gEAAgE,EAAE,CAAC;QACnE,gEAAgE,EAAE,CAAC;QACnE,6DAA6D,EAAE,CAAC;QAChE,wDAAwD,EAAE,CAAC;QAC3D,mCAAmC,EAAE,CAAC;QACtC,wCAAwC,EAAE,CAAC;QAC3C,uCAAuC,EAAE,CAAC;IAC5C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,15 +16,13 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get the properties of an extension topic.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get the properties of an extension topic.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/ExtensionTopics_Get.json
|
|
20
20
|
*/
|
|
21
21
|
function extensionTopicsGet() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
24
|
-
"00000000-0000-0000-0000-000000000000";
|
|
25
23
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/microsoft.storage/storageaccounts/exampleResourceName/providers/Microsoft.eventgrid/extensionTopics/default";
|
|
26
24
|
const credential = new DefaultAzureCredential();
|
|
27
|
-
const client = new EventGridManagementClient(credential
|
|
25
|
+
const client = new EventGridManagementClient(credential);
|
|
28
26
|
const result = yield client.extensionTopics.get(scope);
|
|
29
27
|
console.log(result);
|
|
30
28
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extensionTopicsGetSample.js","sourceRoot":"","sources":["../../samples-dev/extensionTopicsGetSample.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,kBAAkB;;QAC/B,MAAM,
|
|
1
|
+
{"version":3,"file":"extensionTopicsGetSample.js","sourceRoot":"","sources":["../../samples-dev/extensionTopicsGetSample.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,kBAAkB;;QAC/B,MAAM,KAAK,GACT,mMAAmM,CAAC;QACtM,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACvD,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,kBAAkB,EAAE,CAAC;IACvB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Asynchronously creates or updates an event subscription of a namespace 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 namespace 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/preview/2023-
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/NamespaceTopicEventSubscriptions_CreateOrUpdate.json
|
|
20
20
|
*/
|
|
21
21
|
function namespaceTopicEventSubscriptionsCreateOrUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Delete an existing event subscription of a namespace topic.
|
|
17
17
|
*
|
|
18
18
|
* @summary Delete an existing event subscription of a namespace topic.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/NamespaceTopicEventSubscriptions_Delete.json
|
|
20
20
|
*/
|
|
21
21
|
function namespaceTopicEventSubscriptionsDelete() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetDeliveryAttributesSample.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"namespaceTopicEventSubscriptionsGetDeliveryAttributesSample.d.ts","sourceRoot":"","sources":["../../samples-dev/namespaceTopicEventSubscriptionsGetDeliveryAttributesSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 all delivery attributes for an event subscription of a namespace topic.
|
|
17
|
+
*
|
|
18
|
+
* @summary Get all delivery attributes for an event subscription of a namespace topic.
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/NamespaceTopicEventSubscriptions_GetDeliveryAttributes.json
|
|
20
|
+
*/
|
|
21
|
+
function namespaceTopicEventSubscriptionsGetDeliveryAttributes() {
|
|
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 = "exampleNamespace";
|
|
27
|
+
const topicName = "exampleNamespaceTopic";
|
|
28
|
+
const eventSubscriptionName = "exampleEventSubscriptionName";
|
|
29
|
+
const credential = new DefaultAzureCredential();
|
|
30
|
+
const client = new EventGridManagementClient(credential, subscriptionId);
|
|
31
|
+
const result = yield client.namespaceTopicEventSubscriptions.getDeliveryAttributes(resourceGroupName, namespaceName, topicName, eventSubscriptionName);
|
|
32
|
+
console.log(result);
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
function main() {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
namespaceTopicEventSubscriptionsGetDeliveryAttributes();
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
main().catch(console.error);
|
|
41
|
+
//# sourceMappingURL=namespaceTopicEventSubscriptionsGetDeliveryAttributesSample.js.map
|
package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsGetDeliveryAttributesSample.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"namespaceTopicEventSubscriptionsGetDeliveryAttributesSample.js","sourceRoot":"","sources":["../../samples-dev/namespaceTopicEventSubscriptionsGetDeliveryAttributesSample.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,qDAAqD;;QAClE,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,kBAAkB,CAAC;QACzC,MAAM,SAAS,GAAG,uBAAuB,CAAC;QAC1C,MAAM,qBAAqB,GAAG,8BAA8B,CAAC;QAC7D,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,gCAAgC,CAAC,qBAAqB,CAChF,iBAAiB,EACjB,aAAa,EACb,SAAS,EACT,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,qDAAqD,EAAE,CAAC;IAC1D,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get properties of an event subscription of a namespace topic.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get properties of an event subscription of a namespace topic.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/NamespaceTopicEventSubscriptions_Get.json
|
|
20
20
|
*/
|
|
21
21
|
function namespaceTopicEventSubscriptionsGet() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List event subscriptions that belong to a specific namespace topic.
|
|
17
17
|
*
|
|
18
18
|
* @summary List event subscriptions that belong to a specific namespace topic.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/NamespaceTopicEventSubscriptions_ListByNamespaceTopic.json
|
|
20
20
|
*/
|
|
21
21
|
function namespaceTopicEventSubscriptionsListByNamespaceTopic() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -30,16 +30,11 @@ function namespaceTopicEventSubscriptionsListByNamespaceTopic() {
|
|
|
30
30
|
const client = new EventGridManagementClient(credential, subscriptionId);
|
|
31
31
|
const resArray = new Array();
|
|
32
32
|
try {
|
|
33
|
-
for (var _d = true, _e = __asyncValues(client.namespaceTopicEventSubscriptions.listByNamespaceTopic(resourceGroupName, namespaceName, topicName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
33
|
+
for (var _d = true, _e = __asyncValues(client.namespaceTopicEventSubscriptions.listByNamespaceTopic(resourceGroupName, namespaceName, topicName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
34
34
|
_c = _f.value;
|
|
35
35
|
_d = false;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
resArray.push(item);
|
|
39
|
-
}
|
|
40
|
-
finally {
|
|
41
|
-
_d = true;
|
|
42
|
-
}
|
|
36
|
+
let item = _c;
|
|
37
|
+
resArray.push(item);
|
|
43
38
|
}
|
|
44
39
|
}
|
|
45
40
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
package/dist-esm/samples-dev/namespaceTopicEventSubscriptionsListByNamespaceTopicSample.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"namespaceTopicEventSubscriptionsListByNamespaceTopicSample.js","sourceRoot":"","sources":["../../samples-dev/namespaceTopicEventSubscriptionsListByNamespaceTopicSample.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,oDAAoD;;;QACjE,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,mBAAmB,CAAC;QAC1C,MAAM,SAAS,GAAG,wBAAwB,CAAC;QAC3C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,gCAAgC,CAAC,oBAAoB,CACjF,iBAAiB,EACjB,aAAa,EACb,SAAS,CACV,CAAA,IAAA;
|
|
1
|
+
{"version":3,"file":"namespaceTopicEventSubscriptionsListByNamespaceTopicSample.js","sourceRoot":"","sources":["../../samples-dev/namespaceTopicEventSubscriptionsListByNamespaceTopicSample.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,oDAAoD;;;QACjE,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,mBAAmB,CAAC;QAC1C,MAAM,SAAS,GAAG,wBAAwB,CAAC;QAC3C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,gCAAgC,CAAC,oBAAoB,CACjF,iBAAiB,EACjB,aAAa,EACb,SAAS,CACV,CAAA,IAAA,sDAAE;gBAJoB,cAItB;gBAJsB,WAItB;gBAJU,IAAI,IAAI,KAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,oDAAoD,EAAE,CAAC;IACzD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Update an existing event subscription of a namespace topic.
|
|
17
17
|
*
|
|
18
18
|
* @summary Update an existing event subscription of a namespace topic.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/NamespaceTopicEventSubscriptions_Update.json
|
|
20
20
|
*/
|
|
21
21
|
function namespaceTopicEventSubscriptionsUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Asynchronously creates a new namespace topic with the specified parameters.
|
|
17
17
|
*
|
|
18
18
|
* @summary Asynchronously creates a new namespace topic with the specified parameters.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/NamespaceTopics_CreateOrUpdate.json
|
|
20
20
|
*/
|
|
21
21
|
function namespaceTopicsCreateOrUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Delete existing namespace topic.
|
|
17
17
|
*
|
|
18
18
|
* @summary Delete existing namespace topic.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/NamespaceTopics_Delete.json
|
|
20
20
|
*/
|
|
21
21
|
function namespaceTopicsDelete() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get properties of a namespace topic.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get properties of a namespace topic.
|
|
19
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
19
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/NamespaceTopics_Get.json
|
|
20
20
|
*/
|
|
21
21
|
function namespaceTopicsGet() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|