@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,16 +16,14 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get the full endpoint URL for an event subscription.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get the full endpoint URL for an 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_GetFullUrlForCustomTopic.json
|
|
20
20
|
*/
|
|
21
21
|
function eventSubscriptionsGetFullUrlForCustomTopic() {
|
|
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 credential = new DefaultAzureCredential();
|
|
28
|
-
const client = new EventGridManagementClient(credential
|
|
26
|
+
const client = new EventGridManagementClient(credential);
|
|
29
27
|
const result = yield client.eventSubscriptions.getFullUrl(scope, eventSubscriptionName);
|
|
30
28
|
console.log(result);
|
|
31
29
|
});
|
|
@@ -34,16 +32,14 @@ function eventSubscriptionsGetFullUrlForCustomTopic() {
|
|
|
34
32
|
* This sample demonstrates how to Get the full endpoint URL for an event subscription.
|
|
35
33
|
*
|
|
36
34
|
* @summary Get the full endpoint URL for an event subscription.
|
|
37
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
35
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetFullUrlForResource.json
|
|
38
36
|
*/
|
|
39
37
|
function eventSubscriptionsGetFullUrlForResource() {
|
|
40
38
|
return __awaiter(this, void 0, void 0, function* () {
|
|
41
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
42
|
-
"00000000-0000-0000-0000-000000000000";
|
|
43
39
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1";
|
|
44
40
|
const eventSubscriptionName = "examplesubscription1";
|
|
45
41
|
const credential = new DefaultAzureCredential();
|
|
46
|
-
const client = new EventGridManagementClient(credential
|
|
42
|
+
const client = new EventGridManagementClient(credential);
|
|
47
43
|
const result = yield client.eventSubscriptions.getFullUrl(scope, eventSubscriptionName);
|
|
48
44
|
console.log(result);
|
|
49
45
|
});
|
|
@@ -52,16 +48,14 @@ function eventSubscriptionsGetFullUrlForResource() {
|
|
|
52
48
|
* This sample demonstrates how to Get the full endpoint URL for an event subscription.
|
|
53
49
|
*
|
|
54
50
|
* @summary Get the full endpoint URL for an event subscription.
|
|
55
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
51
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetFullUrlForResourceGroup.json
|
|
56
52
|
*/
|
|
57
53
|
function eventSubscriptionsGetFullUrlForResourceGroup() {
|
|
58
54
|
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
60
|
-
"00000000-0000-0000-0000-000000000000";
|
|
61
55
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg";
|
|
62
56
|
const eventSubscriptionName = "examplesubscription2";
|
|
63
57
|
const credential = new DefaultAzureCredential();
|
|
64
|
-
const client = new EventGridManagementClient(credential
|
|
58
|
+
const client = new EventGridManagementClient(credential);
|
|
65
59
|
const result = yield client.eventSubscriptions.getFullUrl(scope, eventSubscriptionName);
|
|
66
60
|
console.log(result);
|
|
67
61
|
});
|
|
@@ -70,16 +64,14 @@ function eventSubscriptionsGetFullUrlForResourceGroup() {
|
|
|
70
64
|
* This sample demonstrates how to Get the full endpoint URL for an event subscription.
|
|
71
65
|
*
|
|
72
66
|
* @summary Get the full endpoint URL for an event subscription.
|
|
73
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
67
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetFullUrlForSubscription.json
|
|
74
68
|
*/
|
|
75
69
|
function eventSubscriptionsGetFullUrlForSubscription() {
|
|
76
70
|
return __awaiter(this, void 0, void 0, function* () {
|
|
77
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
78
|
-
"00000000-0000-0000-0000-000000000000";
|
|
79
71
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
80
72
|
const eventSubscriptionName = "examplesubscription3";
|
|
81
73
|
const credential = new DefaultAzureCredential();
|
|
82
|
-
const client = new EventGridManagementClient(credential
|
|
74
|
+
const client = new EventGridManagementClient(credential);
|
|
83
75
|
const result = yield client.eventSubscriptions.getFullUrl(scope, eventSubscriptionName);
|
|
84
76
|
console.log(result);
|
|
85
77
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventSubscriptionsGetFullUrlSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsGetFullUrlSample.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,0CAA0C;;QACvD,MAAM,
|
|
1
|
+
{"version":3,"file":"eventSubscriptionsGetFullUrlSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsGetFullUrlSample.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,0CAA0C;;QACvD,MAAM,KAAK,GACT,gIAAgI,CAAC;QACnI,MAAM,qBAAqB,GAAG,sBAAsB,CAAC;QACrD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,UAAU,CACvD,KAAK,EACL,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED;;;;;GAKG;AACH,SAAe,uCAAuC;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EAAE,CAAC;QAC/C,2CAA2C,EAAE,CAAC;IAChD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,16 +16,14 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get properties of an event subscription.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get properties of an 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_GetForCustomTopic.json
|
|
20
20
|
*/
|
|
21
21
|
function eventSubscriptionsGetForCustomTopic() {
|
|
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 credential = new DefaultAzureCredential();
|
|
28
|
-
const client = new EventGridManagementClient(credential
|
|
26
|
+
const client = new EventGridManagementClient(credential);
|
|
29
27
|
const result = yield client.eventSubscriptions.get(scope, eventSubscriptionName);
|
|
30
28
|
console.log(result);
|
|
31
29
|
});
|
|
@@ -34,16 +32,14 @@ function eventSubscriptionsGetForCustomTopic() {
|
|
|
34
32
|
* This sample demonstrates how to Get properties of an event subscription.
|
|
35
33
|
*
|
|
36
34
|
* @summary Get properties of an event subscription.
|
|
37
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
35
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetForCustomTopic_AzureFunctionDestination.json
|
|
38
36
|
*/
|
|
39
37
|
function eventSubscriptionsGetForCustomTopicAzureFunctionDestination() {
|
|
40
38
|
return __awaiter(this, void 0, void 0, function* () {
|
|
41
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
42
|
-
"00000000-0000-0000-0000-000000000000";
|
|
43
39
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
|
|
44
40
|
const eventSubscriptionName = "examplesubscription1";
|
|
45
41
|
const credential = new DefaultAzureCredential();
|
|
46
|
-
const client = new EventGridManagementClient(credential
|
|
42
|
+
const client = new EventGridManagementClient(credential);
|
|
47
43
|
const result = yield client.eventSubscriptions.get(scope, eventSubscriptionName);
|
|
48
44
|
console.log(result);
|
|
49
45
|
});
|
|
@@ -52,16 +48,14 @@ function eventSubscriptionsGetForCustomTopicAzureFunctionDestination() {
|
|
|
52
48
|
* This sample demonstrates how to Get properties of an event subscription.
|
|
53
49
|
*
|
|
54
50
|
* @summary Get properties of an event subscription.
|
|
55
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
51
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetForCustomTopic_EventHubDestination.json
|
|
56
52
|
*/
|
|
57
53
|
function eventSubscriptionsGetForCustomTopicEventHubDestination() {
|
|
58
54
|
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
60
|
-
"00000000-0000-0000-0000-000000000000";
|
|
61
55
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
|
|
62
56
|
const eventSubscriptionName = "examplesubscription1";
|
|
63
57
|
const credential = new DefaultAzureCredential();
|
|
64
|
-
const client = new EventGridManagementClient(credential
|
|
58
|
+
const client = new EventGridManagementClient(credential);
|
|
65
59
|
const result = yield client.eventSubscriptions.get(scope, eventSubscriptionName);
|
|
66
60
|
console.log(result);
|
|
67
61
|
});
|
|
@@ -70,16 +64,14 @@ function eventSubscriptionsGetForCustomTopicEventHubDestination() {
|
|
|
70
64
|
* This sample demonstrates how to Get properties of an event subscription.
|
|
71
65
|
*
|
|
72
66
|
* @summary Get properties of an event subscription.
|
|
73
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
67
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetForCustomTopic_HybridConnectionDestination.json
|
|
74
68
|
*/
|
|
75
69
|
function eventSubscriptionsGetForCustomTopicHybridConnectionDestination() {
|
|
76
70
|
return __awaiter(this, void 0, void 0, function* () {
|
|
77
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
78
|
-
"00000000-0000-0000-0000-000000000000";
|
|
79
71
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
|
|
80
72
|
const eventSubscriptionName = "examplesubscription1";
|
|
81
73
|
const credential = new DefaultAzureCredential();
|
|
82
|
-
const client = new EventGridManagementClient(credential
|
|
74
|
+
const client = new EventGridManagementClient(credential);
|
|
83
75
|
const result = yield client.eventSubscriptions.get(scope, eventSubscriptionName);
|
|
84
76
|
console.log(result);
|
|
85
77
|
});
|
|
@@ -88,16 +80,14 @@ function eventSubscriptionsGetForCustomTopicHybridConnectionDestination() {
|
|
|
88
80
|
* This sample demonstrates how to Get properties of an event subscription.
|
|
89
81
|
*
|
|
90
82
|
* @summary Get properties of an event subscription.
|
|
91
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
83
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetForCustomTopic_ServiceBusQueueDestination.json
|
|
92
84
|
*/
|
|
93
85
|
function eventSubscriptionsGetForCustomTopicServiceBusQueueDestination() {
|
|
94
86
|
return __awaiter(this, void 0, void 0, function* () {
|
|
95
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
96
|
-
"00000000-0000-0000-0000-000000000000";
|
|
97
87
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
|
|
98
88
|
const eventSubscriptionName = "examplesubscription1";
|
|
99
89
|
const credential = new DefaultAzureCredential();
|
|
100
|
-
const client = new EventGridManagementClient(credential
|
|
90
|
+
const client = new EventGridManagementClient(credential);
|
|
101
91
|
const result = yield client.eventSubscriptions.get(scope, eventSubscriptionName);
|
|
102
92
|
console.log(result);
|
|
103
93
|
});
|
|
@@ -106,16 +96,14 @@ function eventSubscriptionsGetForCustomTopicServiceBusQueueDestination() {
|
|
|
106
96
|
* This sample demonstrates how to Get properties of an event subscription.
|
|
107
97
|
*
|
|
108
98
|
* @summary Get properties of an event subscription.
|
|
109
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
99
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetForCustomTopic_ServiceBusTopicDestination.json
|
|
110
100
|
*/
|
|
111
101
|
function eventSubscriptionsGetForCustomTopicServiceBusTopicDestination() {
|
|
112
102
|
return __awaiter(this, void 0, void 0, function* () {
|
|
113
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
114
|
-
"00000000-0000-0000-0000-000000000000";
|
|
115
103
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
|
|
116
104
|
const eventSubscriptionName = "examplesubscription1";
|
|
117
105
|
const credential = new DefaultAzureCredential();
|
|
118
|
-
const client = new EventGridManagementClient(credential
|
|
106
|
+
const client = new EventGridManagementClient(credential);
|
|
119
107
|
const result = yield client.eventSubscriptions.get(scope, eventSubscriptionName);
|
|
120
108
|
console.log(result);
|
|
121
109
|
});
|
|
@@ -124,16 +112,14 @@ function eventSubscriptionsGetForCustomTopicServiceBusTopicDestination() {
|
|
|
124
112
|
* This sample demonstrates how to Get properties of an event subscription.
|
|
125
113
|
*
|
|
126
114
|
* @summary Get properties of an event subscription.
|
|
127
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
115
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetForCustomTopic_StorageQueueDestination.json
|
|
128
116
|
*/
|
|
129
117
|
function eventSubscriptionsGetForCustomTopicStorageQueueDestination() {
|
|
130
118
|
return __awaiter(this, void 0, void 0, function* () {
|
|
131
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
132
|
-
"00000000-0000-0000-0000-000000000000";
|
|
133
119
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
|
|
134
120
|
const eventSubscriptionName = "examplesubscription1";
|
|
135
121
|
const credential = new DefaultAzureCredential();
|
|
136
|
-
const client = new EventGridManagementClient(credential
|
|
122
|
+
const client = new EventGridManagementClient(credential);
|
|
137
123
|
const result = yield client.eventSubscriptions.get(scope, eventSubscriptionName);
|
|
138
124
|
console.log(result);
|
|
139
125
|
});
|
|
@@ -142,16 +128,14 @@ function eventSubscriptionsGetForCustomTopicStorageQueueDestination() {
|
|
|
142
128
|
* This sample demonstrates how to Get properties of an event subscription.
|
|
143
129
|
*
|
|
144
130
|
* @summary Get properties of an event subscription.
|
|
145
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
131
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetForCustomTopic_WebhookDestination.json
|
|
146
132
|
*/
|
|
147
133
|
function eventSubscriptionsGetForCustomTopicWebhookDestination() {
|
|
148
134
|
return __awaiter(this, void 0, void 0, function* () {
|
|
149
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
150
|
-
"00000000-0000-0000-0000-000000000000";
|
|
151
135
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2";
|
|
152
136
|
const eventSubscriptionName = "examplesubscription1";
|
|
153
137
|
const credential = new DefaultAzureCredential();
|
|
154
|
-
const client = new EventGridManagementClient(credential
|
|
138
|
+
const client = new EventGridManagementClient(credential);
|
|
155
139
|
const result = yield client.eventSubscriptions.get(scope, eventSubscriptionName);
|
|
156
140
|
console.log(result);
|
|
157
141
|
});
|
|
@@ -160,16 +144,14 @@ function eventSubscriptionsGetForCustomTopicWebhookDestination() {
|
|
|
160
144
|
* This sample demonstrates how to Get properties of an event subscription.
|
|
161
145
|
*
|
|
162
146
|
* @summary Get properties of an event subscription.
|
|
163
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
147
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetForResource.json
|
|
164
148
|
*/
|
|
165
149
|
function eventSubscriptionsGetForResource() {
|
|
166
150
|
return __awaiter(this, void 0, void 0, function* () {
|
|
167
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
168
|
-
"00000000-0000-0000-0000-000000000000";
|
|
169
151
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1";
|
|
170
152
|
const eventSubscriptionName = "examplesubscription1";
|
|
171
153
|
const credential = new DefaultAzureCredential();
|
|
172
|
-
const client = new EventGridManagementClient(credential
|
|
154
|
+
const client = new EventGridManagementClient(credential);
|
|
173
155
|
const result = yield client.eventSubscriptions.get(scope, eventSubscriptionName);
|
|
174
156
|
console.log(result);
|
|
175
157
|
});
|
|
@@ -178,16 +160,14 @@ function eventSubscriptionsGetForResource() {
|
|
|
178
160
|
* This sample demonstrates how to Get properties of an event subscription.
|
|
179
161
|
*
|
|
180
162
|
* @summary Get properties of an event subscription.
|
|
181
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
163
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetForResourceGroup.json
|
|
182
164
|
*/
|
|
183
165
|
function eventSubscriptionsGetForResourceGroup() {
|
|
184
166
|
return __awaiter(this, void 0, void 0, function* () {
|
|
185
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
186
|
-
"00000000-0000-0000-0000-000000000000";
|
|
187
167
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg";
|
|
188
168
|
const eventSubscriptionName = "examplesubscription2";
|
|
189
169
|
const credential = new DefaultAzureCredential();
|
|
190
|
-
const client = new EventGridManagementClient(credential
|
|
170
|
+
const client = new EventGridManagementClient(credential);
|
|
191
171
|
const result = yield client.eventSubscriptions.get(scope, eventSubscriptionName);
|
|
192
172
|
console.log(result);
|
|
193
173
|
});
|
|
@@ -196,16 +176,14 @@ function eventSubscriptionsGetForResourceGroup() {
|
|
|
196
176
|
* This sample demonstrates how to Get properties of an event subscription.
|
|
197
177
|
*
|
|
198
178
|
* @summary Get properties of an event subscription.
|
|
199
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
179
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_GetForSubscription.json
|
|
200
180
|
*/
|
|
201
181
|
function eventSubscriptionsGetForSubscription() {
|
|
202
182
|
return __awaiter(this, void 0, void 0, function* () {
|
|
203
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
204
|
-
"00000000-0000-0000-0000-000000000000";
|
|
205
183
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
206
184
|
const eventSubscriptionName = "examplesubscription3";
|
|
207
185
|
const credential = new DefaultAzureCredential();
|
|
208
|
-
const client = new EventGridManagementClient(credential
|
|
186
|
+
const client = new EventGridManagementClient(credential);
|
|
209
187
|
const result = yield client.eventSubscriptions.get(scope, eventSubscriptionName);
|
|
210
188
|
console.log(result);
|
|
211
189
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventSubscriptionsGetSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsGetSample.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,mCAAmC;;QAChD,MAAM,
|
|
1
|
+
{"version":3,"file":"eventSubscriptionsGetSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAs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subscriptions that have been created for a specific domain topic.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all event subscriptions that have been created for a specific domain 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/EventSubscriptions_ListByDomainTopic.json
|
|
20
20
|
*/
|
|
21
21
|
function eventSubscriptionsListByDomainTopic() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -30,16 +30,11 @@ function eventSubscriptionsListByDomainTopic() {
|
|
|
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.eventSubscriptions.listByDomainTopic(resourceGroupName, domainName, topicName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
33
|
+
for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listByDomainTopic(resourceGroupName, domainName, 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 }; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventSubscriptionsListByDomainTopicSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListByDomainTopicSample.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,mCAAmC;;;QAChD,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,UAAU,GAAG,SAAS,CAAC;QAC7B,MAAM,SAAS,GAAG,QAAQ,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,iBAAiB,CAChE,iBAAiB,EACjB,UAAU,EACV,SAAS,CACV,CAAA,IAAA;
|
|
1
|
+
{"version":3,"file":"eventSubscriptionsListByDomainTopicSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListByDomainTopicSample.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,mCAAmC;;;QAChD,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,UAAU,GAAG,SAAS,CAAC;QAC7B,MAAM,SAAS,GAAG,QAAQ,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,iBAAiB,CAChE,iBAAiB,EACjB,UAAU,EACV,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,mCAAmC,EAAE,CAAC;IACxC,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 that have been created for a specific resource.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all event subscriptions that have been created for a specific resource.
|
|
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_ListByResource.json
|
|
20
20
|
*/
|
|
21
21
|
function eventSubscriptionsListByResource() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -31,16 +31,11 @@ function eventSubscriptionsListByResource() {
|
|
|
31
31
|
const client = new EventGridManagementClient(credential, subscriptionId);
|
|
32
32
|
const resArray = new Array();
|
|
33
33
|
try {
|
|
34
|
-
for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listByResource(resourceGroupName, providerNamespace, resourceTypeName, resourceName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
34
|
+
for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listByResource(resourceGroupName, providerNamespace, resourceTypeName, resourceName)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
35
35
|
_c = _f.value;
|
|
36
36
|
_d = false;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
resArray.push(item);
|
|
40
|
-
}
|
|
41
|
-
finally {
|
|
42
|
-
_d = true;
|
|
43
|
-
}
|
|
37
|
+
let item = _c;
|
|
38
|
+
resArray.push(item);
|
|
44
39
|
}
|
|
45
40
|
}
|
|
46
41
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventSubscriptionsListByResourceSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListByResourceSample.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,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,iBAAiB,GAAG,qBAAqB,CAAC;QAChD,MAAM,gBAAgB,GAAG,QAAQ,CAAC;QAClC,MAAM,YAAY,GAAG,eAAe,CAAC;QACrC,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,cAAc,CAC7D,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,CACb,CAAA,IAAA;
|
|
1
|
+
{"version":3,"file":"eventSubscriptionsListByResourceSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListByResourceSample.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,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,iBAAiB,GAAG,qBAAqB,CAAC;QAChD,MAAM,gBAAgB,GAAG,QAAQ,CAAC;QAClC,MAAM,YAAY,GAAG,eAAe,CAAC;QACrC,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,cAAc,CAC7D,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,CACb,CAAA,IAAA,sDAAE;gBALoB,cAKtB;gBALsB,WAKtB;gBALU,IAAI,IAAI,KAAA,CAAA;gBAMjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,gCAAgC,EAAE,CAAC;IACrC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupForTopicTypeSample.js
CHANGED
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List all global event subscriptions under a resource group for a specific topic type.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all global event subscriptions under a resource group for a specific 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_ListGlobalByResourceGroupForTopicType.json
|
|
20
20
|
*/
|
|
21
21
|
function eventSubscriptionsListGlobalByResourceGroupForTopicType() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -29,16 +29,11 @@ function eventSubscriptionsListGlobalByResourceGroupForTopicType() {
|
|
|
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.listGlobalByResourceGroupForTopicType(resourceGroupName, topicTypeName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
32
|
+
for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listGlobalByResourceGroupForTopicType(resourceGroupName, 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/eventSubscriptionsListGlobalByResourceGroupForTopicTypeSample.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventSubscriptionsListGlobalByResourceGroupForTopicTypeSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListGlobalByResourceGroupForTopicTypeSample.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,uDAAuD;;;QACpE,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,oCAAoC,CAAC;QAC3D,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,qCAAqC,CACpF,iBAAiB,EACjB,aAAa,CACd,CAAA,IAAA;
|
|
1
|
+
{"version":3,"file":"eventSubscriptionsListGlobalByResourceGroupForTopicTypeSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListGlobalByResourceGroupForTopicTypeSample.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,uDAAuD;;;QACpE,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,oCAAoC,CAAC;QAC3D,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,qCAAqC,CACpF,iBAAiB,EACjB,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,uDAAuD,EAAE,CAAC;IAC5D,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 global event subscriptions under a specific Azure subscription and resource group.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all global event subscriptions 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_ListGlobalByResourceGroup.json
|
|
20
20
|
*/
|
|
21
21
|
function eventSubscriptionsListGlobalByResourceGroup() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -28,16 +28,11 @@ function eventSubscriptionsListGlobalByResourceGroup() {
|
|
|
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.listGlobalByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
31
|
+
for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listGlobalByResourceGroup(resourceGroupName)), _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":"eventSubscriptionsListGlobalByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListGlobalByResourceGroupSample.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,2CAA2C;;;QACxD,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,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,yBAAyB,CACxE,iBAAiB,CAClB,CAAA,IAAA;
|
|
1
|
+
{"version":3,"file":"eventSubscriptionsListGlobalByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListGlobalByResourceGroupSample.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,2CAA2C;;;QACxD,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,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,yBAAyB,CACxE,iBAAiB,CAClB,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,2CAA2C,EAAE,CAAC;IAChD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionForTopicTypeSample.js
CHANGED
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List all global event subscriptions under an Azure subscription for a topic type.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all global event subscriptions under an Azure subscription for a 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_ListGlobalBySubscriptionForTopicType.json
|
|
20
20
|
*/
|
|
21
21
|
function eventSubscriptionsListGlobalBySubscriptionForTopicType() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -28,16 +28,11 @@ function eventSubscriptionsListGlobalBySubscriptionForTopicType() {
|
|
|
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.listGlobalBySubscriptionForTopicType(topicTypeName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
31
|
+
for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listGlobalBySubscriptionForTopicType(topicTypeName)), _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 }; }
|
package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionForTopicTypeSample.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventSubscriptionsListGlobalBySubscriptionForTopicTypeSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListGlobalBySubscriptionForTopicTypeSample.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,sDAAsD;;;QACnE,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,aAAa,GAAG,mCAAmC,CAAC;QAC1D,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,oCAAoC,CACnF,aAAa,CACd,CAAA,IAAA;
|
|
1
|
+
{"version":3,"file":"eventSubscriptionsListGlobalBySubscriptionForTopicTypeSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListGlobalBySubscriptionForTopicTypeSample.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,sDAAsD;;;QACnE,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,aAAa,GAAG,mCAAmC,CAAC;QAC1D,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,oCAAoC,CACnF,aAAa,CACd,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,sDAAsD,EAAE,CAAC;IAC3D,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 aggregated global event subscriptions under a specific Azure subscription.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all aggregated global event subscriptions 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_ListGlobalBySubscription.json
|
|
20
20
|
*/
|
|
21
21
|
function eventSubscriptionsListGlobalBySubscription() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -27,16 +27,11 @@ function eventSubscriptionsListGlobalBySubscription() {
|
|
|
27
27
|
const client = new EventGridManagementClient(credential, subscriptionId);
|
|
28
28
|
const resArray = new Array();
|
|
29
29
|
try {
|
|
30
|
-
for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listGlobalBySubscription()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
30
|
+
for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listGlobalBySubscription()), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
31
31
|
_c = _f.value;
|
|
32
32
|
_d = false;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
resArray.push(item);
|
|
36
|
-
}
|
|
37
|
-
finally {
|
|
38
|
-
_d = true;
|
|
39
|
-
}
|
|
33
|
+
let item = _c;
|
|
34
|
+
resArray.push(item);
|
|
40
35
|
}
|
|
41
36
|
}
|
|
42
37
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventSubscriptionsListGlobalBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListGlobalBySubscriptionSample.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,0CAA0C;;;QACvD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,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,wBAAwB,EAAE,CAAA,IAAA;
|
|
1
|
+
{"version":3,"file":"eventSubscriptionsListGlobalBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListGlobalBySubscriptionSample.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,0CAA0C;;;QACvD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,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,wBAAwB,EAAE,CAAA,IAAA,sDAAE;gBAAtD,cAAoD;gBAApD,WAAoD;gBAAhE,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,0CAA0C,EAAE,CAAC;IAC/C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupForTopicTypeSample.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 resource group and topic type.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all event subscriptions from the given location under a specific Azure subscription and resource group 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_ListRegionalByResourceGroupForTopicType.json
|
|
20
20
|
*/
|
|
21
21
|
function eventSubscriptionsListRegionalByResourceGroupForTopicType() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -30,16 +30,11 @@ function eventSubscriptionsListRegionalByResourceGroupForTopicType() {
|
|
|
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.eventSubscriptions.listRegionalByResourceGroupForTopicType(resourceGroupName, location, topicTypeName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
33
|
+
for (var _d = true, _e = __asyncValues(client.eventSubscriptions.listRegionalByResourceGroupForTopicType(resourceGroupName, location, topicTypeName)), _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/eventSubscriptionsListRegionalByResourceGroupForTopicTypeSample.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventSubscriptionsListRegionalByResourceGroupForTopicTypeSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListRegionalByResourceGroupForTopicTypeSample.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,yDAAyD;;;QACtE,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,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,uCAAuC,CACtF,iBAAiB,EACjB,QAAQ,EACR,aAAa,CACd,CAAA,IAAA;
|
|
1
|
+
{"version":3,"file":"eventSubscriptionsListRegionalByResourceGroupForTopicTypeSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsListRegionalByResourceGroupForTopicTypeSample.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,yDAAyD;;;QACtE,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,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,uCAAuC,CACtF,iBAAiB,EACjB,QAAQ,EACR,aAAa,CACd,CAAA,IAAA,sD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