@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 Asynchronously creates or updates a new domain with the specified parameters.
|
|
17
17
|
*
|
|
18
18
|
* @summary Asynchronously creates or updates a new domain 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/Domains_CreateOrUpdate.json
|
|
20
20
|
*/
|
|
21
21
|
function domainsCreateOrUpdate() {
|
|
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 domain.
|
|
17
17
|
*
|
|
18
18
|
* @summary Delete existing domain.
|
|
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/Domains_Delete.json
|
|
20
20
|
*/
|
|
21
21
|
function domainsDelete() {
|
|
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 domain.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get properties of a domain.
|
|
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/Domains_Get.json
|
|
20
20
|
*/
|
|
21
21
|
function domainsGet() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List all the domains under a resource group.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all the domains under a 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/Domains_ListByResourceGroup.json
|
|
20
20
|
*/
|
|
21
21
|
function domainsListByResourceGroup() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -28,16 +28,11 @@ function domainsListByResourceGroup() {
|
|
|
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.domains.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
31
|
+
for (var _d = true, _e = __asyncValues(client.domains.listByResourceGroup(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":"domainsListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/domainsListByResourceGroupSample.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,0BAA0B;;;QACvC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,WAAW,CAAC;QACzD,MAAM,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,OAAO,CAAC,mBAAmB,CACvD,iBAAiB,CAClB,CAAA,IAAA;
|
|
1
|
+
{"version":3,"file":"domainsListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/domainsListByResourceGroupSample.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,0BAA0B;;;QACvC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;YACxC,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,WAAW,CAAC;QACzD,MAAM,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,OAAO,CAAC,mBAAmB,CACvD,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,0BAA0B,EAAE,CAAC;IAC/B,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 the domains under an Azure subscription.
|
|
17
17
|
*
|
|
18
18
|
* @summary List all the domains under an 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/Domains_ListBySubscription.json
|
|
20
20
|
*/
|
|
21
21
|
function domainsListBySubscription() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -27,16 +27,11 @@ function domainsListBySubscription() {
|
|
|
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.domains.listBySubscription()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
30
|
+
for (var _d = true, _e = __asyncValues(client.domains.listBySubscription()), _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":"domainsListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/domainsListBySubscriptionSample.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,yBAAyB;;;QACtC,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,OAAO,CAAC,kBAAkB,EAAE,CAAA,IAAA;
|
|
1
|
+
{"version":3,"file":"domainsListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/domainsListBySubscriptionSample.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,yBAAyB;;;QACtC,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,OAAO,CAAC,kBAAkB,EAAE,CAAA,IAAA,sDAAE;gBAArC,cAAmC;gBAAnC,WAAmC;gBAA/C,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,yBAAyB,EAAE,CAAC;IAC9B,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 the two keys used to publish to a domain.
|
|
17
17
|
*
|
|
18
18
|
* @summary List the two keys used to publish to a domain.
|
|
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/Domains_ListSharedAccessKeys.json
|
|
20
20
|
*/
|
|
21
21
|
function domainsListSharedAccessKeys() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Regenerate a shared access key for a domain.
|
|
17
17
|
*
|
|
18
18
|
* @summary Regenerate a shared access key for a domain.
|
|
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/Domains_RegenerateKey.json
|
|
20
20
|
*/
|
|
21
21
|
function domainsRegenerateKey() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Asynchronously updates a domain with the specified parameters.
|
|
17
17
|
*
|
|
18
18
|
* @summary Asynchronously updates a domain 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/Domains_Update.json
|
|
20
20
|
*/
|
|
21
21
|
function domainsUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,12 +16,10 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
17
17
|
*
|
|
18
18
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
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_CreateOrUpdateForCustomTopic.json
|
|
20
20
|
*/
|
|
21
21
|
function eventSubscriptionsCreateOrUpdateForCustomTopic() {
|
|
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/exampletopic1";
|
|
26
24
|
const eventSubscriptionName = "examplesubscription1";
|
|
27
25
|
const eventSubscriptionInfo = {
|
|
@@ -36,7 +34,7 @@ function eventSubscriptionsCreateOrUpdateForCustomTopic() {
|
|
|
36
34
|
}
|
|
37
35
|
};
|
|
38
36
|
const credential = new DefaultAzureCredential();
|
|
39
|
-
const client = new EventGridManagementClient(credential
|
|
37
|
+
const client = new EventGridManagementClient(credential);
|
|
40
38
|
const result = yield client.eventSubscriptions.beginCreateOrUpdateAndWait(scope, eventSubscriptionName, eventSubscriptionInfo);
|
|
41
39
|
console.log(result);
|
|
42
40
|
});
|
|
@@ -45,12 +43,10 @@ function eventSubscriptionsCreateOrUpdateForCustomTopic() {
|
|
|
45
43
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
46
44
|
*
|
|
47
45
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
48
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
46
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_AzureFunctionDestination.json
|
|
49
47
|
*/
|
|
50
48
|
function eventSubscriptionsCreateOrUpdateForCustomTopicAzureFunctionDestination() {
|
|
51
49
|
return __awaiter(this, void 0, void 0, function* () {
|
|
52
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
53
|
-
"00000000-0000-0000-0000-000000000000";
|
|
54
50
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
|
|
55
51
|
const eventSubscriptionName = "examplesubscription1";
|
|
56
52
|
const eventSubscriptionInfo = {
|
|
@@ -70,7 +66,7 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicAzureFunctionDestination(
|
|
|
70
66
|
}
|
|
71
67
|
};
|
|
72
68
|
const credential = new DefaultAzureCredential();
|
|
73
|
-
const client = new EventGridManagementClient(credential
|
|
69
|
+
const client = new EventGridManagementClient(credential);
|
|
74
70
|
const result = yield client.eventSubscriptions.beginCreateOrUpdateAndWait(scope, eventSubscriptionName, eventSubscriptionInfo);
|
|
75
71
|
console.log(result);
|
|
76
72
|
});
|
|
@@ -79,12 +75,10 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicAzureFunctionDestination(
|
|
|
79
75
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
80
76
|
*
|
|
81
77
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
82
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
78
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json
|
|
83
79
|
*/
|
|
84
80
|
function eventSubscriptionsCreateOrUpdateForCustomTopicEventHubDestination() {
|
|
85
81
|
return __awaiter(this, void 0, void 0, function* () {
|
|
86
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
87
|
-
"00000000-0000-0000-0000-000000000000";
|
|
88
82
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
|
|
89
83
|
const eventSubscriptionName = "examplesubscription1";
|
|
90
84
|
const eventSubscriptionInfo = {
|
|
@@ -104,7 +98,7 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicEventHubDestination() {
|
|
|
104
98
|
}
|
|
105
99
|
};
|
|
106
100
|
const credential = new DefaultAzureCredential();
|
|
107
|
-
const client = new EventGridManagementClient(credential
|
|
101
|
+
const client = new EventGridManagementClient(credential);
|
|
108
102
|
const result = yield client.eventSubscriptions.beginCreateOrUpdateAndWait(scope, eventSubscriptionName, eventSubscriptionInfo);
|
|
109
103
|
console.log(result);
|
|
110
104
|
});
|
|
@@ -113,12 +107,10 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicEventHubDestination() {
|
|
|
113
107
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
114
108
|
*
|
|
115
109
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
116
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
110
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json
|
|
117
111
|
*/
|
|
118
112
|
function eventSubscriptionsCreateOrUpdateForCustomTopicHybridConnectionDestination() {
|
|
119
113
|
return __awaiter(this, void 0, void 0, function* () {
|
|
120
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
121
|
-
"00000000-0000-0000-0000-000000000000";
|
|
122
114
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
|
|
123
115
|
const eventSubscriptionName = "examplesubscription1";
|
|
124
116
|
const eventSubscriptionInfo = {
|
|
@@ -138,7 +130,7 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicHybridConnectionDestinati
|
|
|
138
130
|
}
|
|
139
131
|
};
|
|
140
132
|
const credential = new DefaultAzureCredential();
|
|
141
|
-
const client = new EventGridManagementClient(credential
|
|
133
|
+
const client = new EventGridManagementClient(credential);
|
|
142
134
|
const result = yield client.eventSubscriptions.beginCreateOrUpdateAndWait(scope, eventSubscriptionName, eventSubscriptionInfo);
|
|
143
135
|
console.log(result);
|
|
144
136
|
});
|
|
@@ -147,12 +139,10 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicHybridConnectionDestinati
|
|
|
147
139
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
148
140
|
*
|
|
149
141
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
150
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
142
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_ServiceBusQueueDestination.json
|
|
151
143
|
*/
|
|
152
144
|
function eventSubscriptionsCreateOrUpdateForCustomTopicServiceBusQueueDestination() {
|
|
153
145
|
return __awaiter(this, void 0, void 0, function* () {
|
|
154
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
155
|
-
"00000000-0000-0000-0000-000000000000";
|
|
156
146
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
|
|
157
147
|
const eventSubscriptionName = "examplesubscription1";
|
|
158
148
|
const eventSubscriptionInfo = {
|
|
@@ -172,7 +162,7 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicServiceBusQueueDestinatio
|
|
|
172
162
|
}
|
|
173
163
|
};
|
|
174
164
|
const credential = new DefaultAzureCredential();
|
|
175
|
-
const client = new EventGridManagementClient(credential
|
|
165
|
+
const client = new EventGridManagementClient(credential);
|
|
176
166
|
const result = yield client.eventSubscriptions.beginCreateOrUpdateAndWait(scope, eventSubscriptionName, eventSubscriptionInfo);
|
|
177
167
|
console.log(result);
|
|
178
168
|
});
|
|
@@ -181,12 +171,10 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicServiceBusQueueDestinatio
|
|
|
181
171
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
182
172
|
*
|
|
183
173
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
184
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
174
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_ServiceBusTopicDestination.json
|
|
185
175
|
*/
|
|
186
176
|
function eventSubscriptionsCreateOrUpdateForCustomTopicServiceBusTopicDestination() {
|
|
187
177
|
return __awaiter(this, void 0, void 0, function* () {
|
|
188
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
189
|
-
"00000000-0000-0000-0000-000000000000";
|
|
190
178
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
|
|
191
179
|
const eventSubscriptionName = "examplesubscription1";
|
|
192
180
|
const eventSubscriptionInfo = {
|
|
@@ -206,7 +194,7 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicServiceBusTopicDestinatio
|
|
|
206
194
|
}
|
|
207
195
|
};
|
|
208
196
|
const credential = new DefaultAzureCredential();
|
|
209
|
-
const client = new EventGridManagementClient(credential
|
|
197
|
+
const client = new EventGridManagementClient(credential);
|
|
210
198
|
const result = yield client.eventSubscriptions.beginCreateOrUpdateAndWait(scope, eventSubscriptionName, eventSubscriptionInfo);
|
|
211
199
|
console.log(result);
|
|
212
200
|
});
|
|
@@ -215,12 +203,10 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicServiceBusTopicDestinatio
|
|
|
215
203
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
216
204
|
*
|
|
217
205
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
218
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
206
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json
|
|
219
207
|
*/
|
|
220
208
|
function eventSubscriptionsCreateOrUpdateForCustomTopicStorageQueueDestination() {
|
|
221
209
|
return __awaiter(this, void 0, void 0, function* () {
|
|
222
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
223
|
-
"00000000-0000-0000-0000-000000000000";
|
|
224
210
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
|
|
225
211
|
const eventSubscriptionName = "examplesubscription1";
|
|
226
212
|
const eventSubscriptionInfo = {
|
|
@@ -242,7 +228,7 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicStorageQueueDestination()
|
|
|
242
228
|
}
|
|
243
229
|
};
|
|
244
230
|
const credential = new DefaultAzureCredential();
|
|
245
|
-
const client = new EventGridManagementClient(credential
|
|
231
|
+
const client = new EventGridManagementClient(credential);
|
|
246
232
|
const result = yield client.eventSubscriptions.beginCreateOrUpdateAndWait(scope, eventSubscriptionName, eventSubscriptionInfo);
|
|
247
233
|
console.log(result);
|
|
248
234
|
});
|
|
@@ -251,12 +237,10 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicStorageQueueDestination()
|
|
|
251
237
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
252
238
|
*
|
|
253
239
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
254
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
240
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json
|
|
255
241
|
*/
|
|
256
242
|
function eventSubscriptionsCreateOrUpdateForCustomTopicWebhookDestination() {
|
|
257
243
|
return __awaiter(this, void 0, void 0, function* () {
|
|
258
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
259
|
-
"00000000-0000-0000-0000-000000000000";
|
|
260
244
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1";
|
|
261
245
|
const eventSubscriptionName = "examplesubscription1";
|
|
262
246
|
const eventSubscriptionInfo = {
|
|
@@ -271,7 +255,7 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicWebhookDestination() {
|
|
|
271
255
|
}
|
|
272
256
|
};
|
|
273
257
|
const credential = new DefaultAzureCredential();
|
|
274
|
-
const client = new EventGridManagementClient(credential
|
|
258
|
+
const client = new EventGridManagementClient(credential);
|
|
275
259
|
const result = yield client.eventSubscriptions.beginCreateOrUpdateAndWait(scope, eventSubscriptionName, eventSubscriptionInfo);
|
|
276
260
|
console.log(result);
|
|
277
261
|
});
|
|
@@ -280,12 +264,10 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicWebhookDestination() {
|
|
|
280
264
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
281
265
|
*
|
|
282
266
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
283
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
267
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_CreateOrUpdateForResource.json
|
|
284
268
|
*/
|
|
285
269
|
function eventSubscriptionsCreateOrUpdateForResource() {
|
|
286
270
|
return __awaiter(this, void 0, void 0, function* () {
|
|
287
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
288
|
-
"00000000-0000-0000-0000-000000000000";
|
|
289
271
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1";
|
|
290
272
|
const eventSubscriptionName = "examplesubscription10";
|
|
291
273
|
const eventSubscriptionInfo = {
|
|
@@ -300,7 +282,7 @@ function eventSubscriptionsCreateOrUpdateForResource() {
|
|
|
300
282
|
}
|
|
301
283
|
};
|
|
302
284
|
const credential = new DefaultAzureCredential();
|
|
303
|
-
const client = new EventGridManagementClient(credential
|
|
285
|
+
const client = new EventGridManagementClient(credential);
|
|
304
286
|
const result = yield client.eventSubscriptions.beginCreateOrUpdateAndWait(scope, eventSubscriptionName, eventSubscriptionInfo);
|
|
305
287
|
console.log(result);
|
|
306
288
|
});
|
|
@@ -309,12 +291,10 @@ function eventSubscriptionsCreateOrUpdateForResource() {
|
|
|
309
291
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
310
292
|
*
|
|
311
293
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
312
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
294
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_CreateOrUpdateForResourceGroup.json
|
|
313
295
|
*/
|
|
314
296
|
function eventSubscriptionsCreateOrUpdateForResourceGroup() {
|
|
315
297
|
return __awaiter(this, void 0, void 0, function* () {
|
|
316
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
317
|
-
"00000000-0000-0000-0000-000000000000";
|
|
318
298
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40/resourceGroups/examplerg";
|
|
319
299
|
const eventSubscriptionName = "examplesubscription2";
|
|
320
300
|
const eventSubscriptionInfo = {
|
|
@@ -329,7 +309,7 @@ function eventSubscriptionsCreateOrUpdateForResourceGroup() {
|
|
|
329
309
|
}
|
|
330
310
|
};
|
|
331
311
|
const credential = new DefaultAzureCredential();
|
|
332
|
-
const client = new EventGridManagementClient(credential
|
|
312
|
+
const client = new EventGridManagementClient(credential);
|
|
333
313
|
const result = yield client.eventSubscriptions.beginCreateOrUpdateAndWait(scope, eventSubscriptionName, eventSubscriptionInfo);
|
|
334
314
|
console.log(result);
|
|
335
315
|
});
|
|
@@ -338,12 +318,10 @@ function eventSubscriptionsCreateOrUpdateForResourceGroup() {
|
|
|
338
318
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
339
319
|
*
|
|
340
320
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
341
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-
|
|
321
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/preview/2023-12-15-preview/examples/EventSubscriptions_CreateOrUpdateForSubscription.json
|
|
342
322
|
*/
|
|
343
323
|
function eventSubscriptionsCreateOrUpdateForSubscription() {
|
|
344
324
|
return __awaiter(this, void 0, void 0, function* () {
|
|
345
|
-
const subscriptionId = process.env["EVENTGRID_SUBSCRIPTION_ID"] ||
|
|
346
|
-
"00000000-0000-0000-0000-000000000000";
|
|
347
325
|
const scope = "subscriptions/8f6b6269-84f2-4d09-9e31-1127efcd1e40";
|
|
348
326
|
const eventSubscriptionName = "examplesubscription3";
|
|
349
327
|
const eventSubscriptionInfo = {
|
|
@@ -354,7 +332,7 @@ function eventSubscriptionsCreateOrUpdateForSubscription() {
|
|
|
354
332
|
filter: { isSubjectCaseSensitive: false }
|
|
355
333
|
};
|
|
356
334
|
const credential = new DefaultAzureCredential();
|
|
357
|
-
const client = new EventGridManagementClient(credential
|
|
335
|
+
const client = new EventGridManagementClient(credential);
|
|
358
336
|
const result = yield client.eventSubscriptions.beginCreateOrUpdateAndWait(scope, eventSubscriptionName, eventSubscriptionInfo);
|
|
359
337
|
console.log(result);
|
|
360
338
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventSubscriptionsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsCreateOrUpdateSample.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,8CAA8C;;QAC3D,MAAM,
|
|
1
|
+
{"version":3,"file":"eventSubscriptionsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsCreateOrUpdateSample.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,8CAA8C;;QAC3D,MAAM,KAAK,GACT,gIAAgI,CAAC;QACnI,MAAM,qBAAqB,GAAG,sBAAsB,CAAC;QACrD,MAAM,qBAAqB,GAAsB;YAC/C,WAAW,EAAE;gBACX,YAAY,EAAE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CAAA;AAED,SAAe,IAAI;;QACjB,8CAA8C,EAAE,CAAC;QACjD,sEAAsE,EAAE,CAAC;QACzE,iEAAiE,EAAE,CAAC;QACpE,yEAAyE,EAAE,CAAC;QAC5E,wEAAwE,EAAE,CAAC;QAC3E,wEAAwE,EAAE,CAAC;QAC3E,qEAAqE,EAAE,CAAC;QACxE,gEAAgE,EAAE,CAAC;QACnE,2CAA2C,EAAE,CAAC;QAC9C,gDAAgD,EAAE,CAAC;QACnD,+CAA+C,EAAE,CAAC;IACpD,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 Delete an existing event subscription.
|
|
17
17
|
*
|
|
18
18
|
* @summary Delete 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_DeleteForCustomTopic.json
|
|
20
20
|
*/
|
|
21
21
|
function eventSubscriptionsDeleteForCustomTopic() {
|
|
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/exampletopic1";
|
|
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.beginDeleteAndWait(scope, eventSubscriptionName);
|
|
30
28
|
console.log(result);
|
|
31
29
|
});
|
|
@@ -34,16 +32,14 @@ function eventSubscriptionsDeleteForCustomTopic() {
|
|
|
34
32
|
* This sample demonstrates how to Delete an existing event subscription.
|
|
35
33
|
*
|
|
36
34
|
* @summary Delete an existing 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_DeleteForResource.json
|
|
38
36
|
*/
|
|
39
37
|
function eventSubscriptionsDeleteForResource() {
|
|
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 = "examplesubscription10";
|
|
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.beginDeleteAndWait(scope, eventSubscriptionName);
|
|
48
44
|
console.log(result);
|
|
49
45
|
});
|
|
@@ -52,16 +48,14 @@ function eventSubscriptionsDeleteForResource() {
|
|
|
52
48
|
* This sample demonstrates how to Delete an existing event subscription.
|
|
53
49
|
*
|
|
54
50
|
* @summary Delete an existing 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_DeleteForResourceGroup.json
|
|
56
52
|
*/
|
|
57
53
|
function eventSubscriptionsDeleteForResourceGroup() {
|
|
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.beginDeleteAndWait(scope, eventSubscriptionName);
|
|
66
60
|
console.log(result);
|
|
67
61
|
});
|
|
@@ -70,16 +64,14 @@ function eventSubscriptionsDeleteForResourceGroup() {
|
|
|
70
64
|
* This sample demonstrates how to Delete an existing event subscription.
|
|
71
65
|
*
|
|
72
66
|
* @summary Delete an existing 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_DeleteForSubscription.json
|
|
74
68
|
*/
|
|
75
69
|
function eventSubscriptionsDeleteForSubscription() {
|
|
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.beginDeleteAndWait(scope, eventSubscriptionName);
|
|
84
76
|
console.log(result);
|
|
85
77
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventSubscriptionsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsDeleteSample.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,sCAAsC;;QACnD,MAAM,
|
|
1
|
+
{"version":3,"file":"eventSubscriptionsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsDeleteSample.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,sCAAsC;;QACnD,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,kBAAkB,CAC/D,KAAK,EACL,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED;;;;;GAKG;AACH,SAAe,mCAAmC;;QAChD,MAAM,KAAK,GACT,uIAAuI,CAAC;QAC1I,MAAM,qBAAqB,GAAG,uBAAuB,CAAC;QACtD,MAAM,UAAU,GA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,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,16 +16,14 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get all delivery attributes for an event subscription.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get all delivery attributes 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_GetDeliveryAttributes.json
|
|
20
20
|
*/
|
|
21
21
|
function eventSubscriptionsGetDeliveryAttributes() {
|
|
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.getDeliveryAttributes(scope, eventSubscriptionName);
|
|
30
28
|
console.log(result);
|
|
31
29
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventSubscriptionsGetDeliveryAttributesSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsGetDeliveryAttributesSample.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,uCAAuC;;QACpD,MAAM,
|
|
1
|
+
{"version":3,"file":"eventSubscriptionsGetDeliveryAttributesSample.js","sourceRoot":"","sources":["../../samples-dev/eventSubscriptionsGetDeliveryAttributesSample.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,uCAAuC;;QACpD,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,qBAAqB,CAClE,KAAK,EACL,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,uCAAuC,EAAE,CAAC;IAC5C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|