@azure/arm-eventgrid 14.0.0-beta.2 → 14.0.0
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 +6 -80
- package/README.md +1 -1
- package/dist/index.js +4289 -5700
- 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/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 +1 -1
- package/dist-esm/samples-dev/channelsUpdateSample.js +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 +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 +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 +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 +1 -1
- package/dist-esm/samples-dev/domainsListBySubscriptionSample.js +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 +13 -14
- package/dist-esm/samples-dev/eventSubscriptionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsDeleteSample.js +4 -4
- package/dist-esm/samples-dev/eventSubscriptionsGetDeliveryAttributesSample.js +3 -3
- package/dist-esm/samples-dev/eventSubscriptionsGetDeliveryAttributesSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsGetFullUrlSample.js +4 -4
- package/dist-esm/samples-dev/eventSubscriptionsGetSample.js +11 -11
- package/dist-esm/samples-dev/eventSubscriptionsListByDomainTopicSample.js +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListByResourceSample.js +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupForTopicTypeSample.js +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionForTopicTypeSample.js +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListGlobalBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupForTopicTypeSample.js +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionForTopicTypeSample.js +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsListRegionalBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/eventSubscriptionsUpdateSample.js +11 -11
- package/dist-esm/samples-dev/extensionTopicsGetSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +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 +1 -1
- package/dist-esm/samples-dev/partnerConfigurationsListBySubscriptionSample.js +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/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 +1 -1
- package/dist-esm/samples-dev/partnerNamespacesListBySubscriptionSample.js +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 -8
- package/dist-esm/samples-dev/partnerRegistrationsCreateOrUpdateSample.js.map +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 +1 -1
- package/dist-esm/samples-dev/partnerRegistrationsListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/partnerRegistrationsUpdateSample.js +2 -3
- package/dist-esm/samples-dev/partnerRegistrationsUpdateSample.js.map +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 +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 +1 -1
- package/dist-esm/samples-dev/partnerTopicsListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/partnerTopicsUpdateSample.js +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 +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 +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 +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 +1 -1
- package/dist-esm/samples-dev/systemTopicsListBySubscriptionSample.js +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 +1 -1
- package/dist-esm/samples-dev/topicEventSubscriptionsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/topicTypesGetSample.js +1 -1
- package/dist-esm/samples-dev/topicTypesListEventTypesSample.js +1 -1
- package/dist-esm/samples-dev/topicTypesListSample.js +1 -1
- package/dist-esm/samples-dev/topicsCreateOrUpdateSample.js +1 -29
- package/dist-esm/samples-dev/topicsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/topicsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/topicsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/topicsGetSample.js +1 -1
- package/dist-esm/samples-dev/topicsListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/topicsListBySubscriptionSample.js +1 -1
- package/dist-esm/samples-dev/topicsListEventTypesSample.js +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 +1 -1
- package/dist-esm/samples-dev/verifiedPartnersListSample.js +1 -1
- package/dist-esm/src/eventGridManagementClient.d.ts +6 -6
- package/dist-esm/src/eventGridManagementClient.d.ts.map +1 -1
- package/dist-esm/src/eventGridManagementClient.js +35 -8
- package/dist-esm/src/eventGridManagementClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +520 -1037
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +56 -119
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +28 -53
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +626 -1270
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +6 -11
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +29 -61
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/domainEventSubscriptions.d.ts +9 -9
- package/dist-esm/src/operations/domainEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operations/domainEventSubscriptions.js +30 -30
- package/dist-esm/src/operations/domainEventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/domainTopicEventSubscriptions.js +12 -12
- package/dist-esm/src/operations/domainTopicEventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/eventSubscriptions.js +12 -12
- package/dist-esm/src/operations/eventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +3 -5
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +3 -5
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/partnerNamespaces.js +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +7 -7
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/topicEventSubscriptions.d.ts +9 -9
- package/dist-esm/src/operations/topicEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operations/topicEventSubscriptions.js +40 -40
- package/dist-esm/src/operations/topicEventSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/topics.js +1 -1
- package/dist-esm/src/operationsInterfaces/domainEventSubscriptions.d.ts +9 -9
- package/dist-esm/src/operationsInterfaces/domainEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -5
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +3 -5
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +7 -7
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/topicEventSubscriptions.d.ts +9 -9
- package/dist-esm/src/operationsInterfaces/topicEventSubscriptions.d.ts.map +1 -1
- package/dist-esm/test/eventgrid_examples.d.ts.map +1 -1
- package/dist-esm/test/eventgrid_examples.js +18 -20
- package/dist-esm/test/eventgrid_examples.js.map +1 -1
- package/package.json +9 -5
- package/review/arm-eventgrid.api.md +44 -457
- package/src/eventGridManagementClient.ts +48 -22
- package/src/models/index.ts +582 -1175
- package/src/models/mappers.ts +663 -1384
- package/src/models/parameters.ts +36 -76
- package/src/operations/domainEventSubscriptions.ts +42 -42
- package/src/operations/domainTopicEventSubscriptions.ts +12 -12
- package/src/operations/eventSubscriptions.ts +12 -12
- package/src/operations/index.ts +3 -5
- package/src/operations/partnerNamespaces.ts +1 -1
- package/src/operations/privateEndpointConnections.ts +11 -11
- package/src/operations/topicEventSubscriptions.ts +52 -52
- package/src/operations/topics.ts +1 -1
- package/src/operationsInterfaces/domainEventSubscriptions.ts +16 -16
- package/src/operationsInterfaces/index.ts +3 -5
- package/src/operationsInterfaces/privateEndpointConnections.ts +7 -7
- package/src/operationsInterfaces/topicEventSubscriptions.ts +16 -16
- package/types/arm-eventgrid.d.ts +95 -780
- package/dist-esm/samples-dev/eventChannelsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventChannelsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventChannelsCreateOrUpdateSample.js +0 -40
- package/dist-esm/samples-dev/eventChannelsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/eventChannelsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventChannelsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventChannelsDeleteSample.js +0 -32
- package/dist-esm/samples-dev/eventChannelsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/eventChannelsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventChannelsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventChannelsGetSample.js +0 -32
- package/dist-esm/samples-dev/eventChannelsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/eventChannelsListByPartnerNamespaceSample.d.ts +0 -2
- package/dist-esm/samples-dev/eventChannelsListByPartnerNamespaceSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/eventChannelsListByPartnerNamespaceSample.js +0 -45
- package/dist-esm/samples-dev/eventChannelsListByPartnerNamespaceSample.js.map +0 -1
- package/dist-esm/samples-dev/partnerDestinationsActivateSample.d.ts +0 -2
- package/dist-esm/samples-dev/partnerDestinationsActivateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/partnerDestinationsActivateSample.js +0 -31
- package/dist-esm/samples-dev/partnerDestinationsActivateSample.js.map +0 -1
- package/dist-esm/samples-dev/partnerDestinationsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/partnerDestinationsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/partnerDestinationsCreateOrUpdateSample.js +0 -39
- package/dist-esm/samples-dev/partnerDestinationsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/partnerDestinationsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/partnerDestinationsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/partnerDestinationsDeleteSample.js +0 -31
- package/dist-esm/samples-dev/partnerDestinationsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/partnerDestinationsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/partnerDestinationsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/partnerDestinationsGetSample.js +0 -31
- package/dist-esm/samples-dev/partnerDestinationsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.js +0 -44
- package/dist-esm/samples-dev/partnerDestinationsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.js +0 -43
- package/dist-esm/samples-dev/partnerDestinationsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/partnerDestinationsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/partnerDestinationsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/partnerDestinationsUpdateSample.js +0 -34
- package/dist-esm/samples-dev/partnerDestinationsUpdateSample.js.map +0 -1
- package/dist-esm/src/operations/eventChannels.d.ts +0 -72
- package/dist-esm/src/operations/eventChannels.d.ts.map +0 -1
- package/dist-esm/src/operations/eventChannels.js +0 -271
- package/dist-esm/src/operations/eventChannels.js.map +0 -1
- package/dist-esm/src/operations/partnerDestinations.d.ts +0 -98
- package/dist-esm/src/operations/partnerDestinations.d.ts.map +0 -1
- package/dist-esm/src/operations/partnerDestinations.js +0 -421
- package/dist-esm/src/operations/partnerDestinations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/eventChannels.d.ts +0 -47
- package/dist-esm/src/operationsInterfaces/eventChannels.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/eventChannels.js +0 -9
- package/dist-esm/src/operationsInterfaces/eventChannels.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/partnerDestinations.d.ts +0 -62
- package/dist-esm/src/operationsInterfaces/partnerDestinations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/partnerDestinations.js +0 -9
- package/dist-esm/src/operationsInterfaces/partnerDestinations.js.map +0 -1
- package/src/operations/eventChannels.ts +0 -384
- package/src/operations/partnerDestinations.ts +0 -546
- package/src/operationsInterfaces/eventChannels.ts +0 -89
- package/src/operationsInterfaces/partnerDestinations.ts +0 -116
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Synchronously creates or updates a new channel with the specified parameters.
|
|
15
15
|
*
|
|
16
16
|
* @summary Synchronously creates or updates a new channel with the specified parameters.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Channels_CreateOrUpdate.json
|
|
18
18
|
*/
|
|
19
19
|
function channelsCreateOrUpdate() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Delete an existing channel.
|
|
15
15
|
*
|
|
16
16
|
* @summary Delete an existing channel.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Channels_Delete.json
|
|
18
18
|
*/
|
|
19
19
|
function channelsDelete() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Get the full endpoint URL of a partner destination channel.
|
|
15
15
|
*
|
|
16
16
|
* @summary Get the full endpoint URL of a partner destination channel.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Channels_GetFullUrl.json
|
|
18
18
|
*/
|
|
19
19
|
function channelsGetFullUrl() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Get properties of a channel.
|
|
15
15
|
*
|
|
16
16
|
* @summary Get properties of a channel.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Channels_Get.json
|
|
18
18
|
*/
|
|
19
19
|
function channelsGet() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to List all the channels in a partner namespace.
|
|
15
15
|
*
|
|
16
16
|
* @summary List all the channels in a partner namespace.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Channels_ListByPartnerNamespace.json
|
|
18
18
|
*/
|
|
19
19
|
function channelsListByPartnerNamespace() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Synchronously updates a channel with the specified parameters.
|
|
15
15
|
*
|
|
16
16
|
* @summary Synchronously updates a channel with the specified parameters.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Channels_Update.json
|
|
18
18
|
*/
|
|
19
19
|
function channelsUpdate() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription.
|
|
15
15
|
*
|
|
16
16
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainEventSubscriptions_CreateOrUpdate.json
|
|
18
18
|
*/
|
|
19
19
|
function domainEventSubscriptionsCreateOrUpdate() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Delete an existing event subscription for a domain.
|
|
15
15
|
*
|
|
16
16
|
* @summary Delete an existing event subscription for a domain.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainEventSubscriptions_Delete.json
|
|
18
18
|
*/
|
|
19
19
|
function domainEventSubscriptionsDelete() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Get all delivery attributes for an event subscription for domain.
|
|
15
15
|
*
|
|
16
16
|
* @summary Get all delivery attributes for an event subscription for domain.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainEventSubscriptions_GetDeliveryAttributes.json
|
|
18
18
|
*/
|
|
19
19
|
function domainEventSubscriptionsGetDeliveryAttributes() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Get the full endpoint URL for an event subscription for domain.
|
|
15
15
|
*
|
|
16
16
|
* @summary Get the full endpoint URL for an event subscription for domain.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainEventSubscriptions_GetFullUrl.json
|
|
18
18
|
*/
|
|
19
19
|
function domainEventSubscriptionsGetFullUrl() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Get properties of an event subscription of a domain.
|
|
15
15
|
*
|
|
16
16
|
* @summary Get properties of an event subscription of a domain.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainEventSubscriptions_Get.json
|
|
18
18
|
*/
|
|
19
19
|
function domainEventSubscriptionsGet() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to List all event subscriptions that have been created for a specific topic.
|
|
15
15
|
*
|
|
16
16
|
* @summary List all event subscriptions that have been created for a specific topic.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainEventSubscriptions_List.json
|
|
18
18
|
*/
|
|
19
19
|
function domainEventSubscriptionsList() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Update an existing event subscription for a topic.
|
|
15
15
|
*
|
|
16
16
|
* @summary Update an existing event subscription for a topic.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainEventSubscriptions_Update.json
|
|
18
18
|
*/
|
|
19
19
|
function domainEventSubscriptionsUpdate() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription.
|
|
15
15
|
*
|
|
16
16
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainTopicEventSubscriptions_CreateOrUpdate.json
|
|
18
18
|
*/
|
|
19
19
|
function domainTopicEventSubscriptionsCreateOrUpdate() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Delete a nested existing event subscription for a domain topic.
|
|
15
15
|
*
|
|
16
16
|
* @summary Delete a nested existing event subscription for a domain topic.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainTopicEventSubscriptions_Delete.json
|
|
18
18
|
*/
|
|
19
19
|
function domainTopicEventSubscriptionsDelete() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Get all delivery attributes for an event subscription for domain topic.
|
|
15
15
|
*
|
|
16
16
|
* @summary Get all delivery attributes for an event subscription for domain topic.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainTopicEventSubscriptions_GetDeliveryAttributes.json
|
|
18
18
|
*/
|
|
19
19
|
function domainTopicEventSubscriptionsGetDeliveryAttributes() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Get the full endpoint URL for a nested event subscription for domain topic.
|
|
15
15
|
*
|
|
16
16
|
* @summary Get the full endpoint URL for a nested event subscription for domain topic.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainTopicEventSubscriptions_GetFullUrl.json
|
|
18
18
|
*/
|
|
19
19
|
function domainTopicEventSubscriptionsGetFullUrl() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Get properties of a nested event subscription for a domain topic.
|
|
15
15
|
*
|
|
16
16
|
* @summary Get properties of a nested event subscription for a domain topic.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainTopicEventSubscriptions_Get.json
|
|
18
18
|
*/
|
|
19
19
|
function domainTopicEventSubscriptionsGet() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to List all event subscriptions that have been created for a specific domain topic.
|
|
15
15
|
*
|
|
16
16
|
* @summary List all event subscriptions that have been created for a specific domain topic.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainTopicEventSubscriptions_List.json
|
|
18
18
|
*/
|
|
19
19
|
function domainTopicEventSubscriptionsList() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Update an existing event subscription for a domain topic.
|
|
15
15
|
*
|
|
16
16
|
* @summary Update an existing event subscription for a domain topic.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainTopicEventSubscriptions_Update.json
|
|
18
18
|
*/
|
|
19
19
|
function domainTopicEventSubscriptionsUpdate() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Asynchronously creates or updates a new domain topic with the specified parameters.
|
|
15
15
|
*
|
|
16
16
|
* @summary Asynchronously creates or updates a new domain topic with the specified parameters.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainTopics_CreateOrUpdate.json
|
|
18
18
|
*/
|
|
19
19
|
function domainTopicsCreateOrUpdate() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Delete existing domain topic.
|
|
15
15
|
*
|
|
16
16
|
* @summary Delete existing domain topic.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainTopics_Delete.json
|
|
18
18
|
*/
|
|
19
19
|
function domainTopicsDelete() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Get properties of a domain topic.
|
|
15
15
|
*
|
|
16
16
|
* @summary Get properties of a domain topic.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainTopics_Get.json
|
|
18
18
|
*/
|
|
19
19
|
function domainTopicsGet() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to List all the topics in a domain.
|
|
15
15
|
*
|
|
16
16
|
* @summary List all the topics in a domain.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/DomainTopics_ListByDomain.json
|
|
18
18
|
*/
|
|
19
19
|
function domainTopicsListByDomain() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Asynchronously creates or updates a new domain with the specified parameters.
|
|
15
15
|
*
|
|
16
16
|
* @summary Asynchronously creates or updates a new domain with the specified parameters.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Domains_CreateOrUpdate.json
|
|
18
18
|
*/
|
|
19
19
|
function domainsCreateOrUpdate() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Delete existing domain.
|
|
15
15
|
*
|
|
16
16
|
* @summary Delete existing domain.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Domains_Delete.json
|
|
18
18
|
*/
|
|
19
19
|
function domainsDelete() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Get properties of a domain.
|
|
15
15
|
*
|
|
16
16
|
* @summary Get properties of a domain.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Domains_Get.json
|
|
18
18
|
*/
|
|
19
19
|
function domainsGet() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to List all the domains under a resource group.
|
|
15
15
|
*
|
|
16
16
|
* @summary List all the domains under a resource group.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Domains_ListByResourceGroup.json
|
|
18
18
|
*/
|
|
19
19
|
function domainsListByResourceGroup() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to List all the domains under an Azure subscription.
|
|
15
15
|
*
|
|
16
16
|
* @summary List all the domains under an Azure subscription.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Domains_ListBySubscription.json
|
|
18
18
|
*/
|
|
19
19
|
function domainsListBySubscription() {
|
|
20
20
|
var e_1, _a;
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to List the two keys used to publish to a domain.
|
|
15
15
|
*
|
|
16
16
|
* @summary List the two keys used to publish to a domain.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Domains_ListSharedAccessKeys.json
|
|
18
18
|
*/
|
|
19
19
|
function domainsListSharedAccessKeys() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Regenerate a shared access key for a domain.
|
|
15
15
|
*
|
|
16
16
|
* @summary Regenerate a shared access key for a domain.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Domains_RegenerateKey.json
|
|
18
18
|
*/
|
|
19
19
|
function domainsRegenerateKey() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Asynchronously updates a domain with the specified parameters.
|
|
15
15
|
*
|
|
16
16
|
* @summary Asynchronously updates a domain with the specified parameters.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/Domains_Update.json
|
|
18
18
|
*/
|
|
19
19
|
function domainsUpdate() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
15
15
|
*
|
|
16
16
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic.json
|
|
18
18
|
*/
|
|
19
19
|
function eventSubscriptionsCreateOrUpdateForCustomTopic() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -43,7 +43,7 @@ eventSubscriptionsCreateOrUpdateForCustomTopic().catch(console.error);
|
|
|
43
43
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
44
44
|
*
|
|
45
45
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
46
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
46
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_AzureFunctionDestination.json
|
|
47
47
|
*/
|
|
48
48
|
function eventSubscriptionsCreateOrUpdateForCustomTopicAzureFunctionDestination() {
|
|
49
49
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -77,7 +77,7 @@ eventSubscriptionsCreateOrUpdateForCustomTopicAzureFunctionDestination().catch(c
|
|
|
77
77
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
78
78
|
*
|
|
79
79
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
80
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
80
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json
|
|
81
81
|
*/
|
|
82
82
|
function eventSubscriptionsCreateOrUpdateForCustomTopicEventHubDestination() {
|
|
83
83
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -111,7 +111,7 @@ eventSubscriptionsCreateOrUpdateForCustomTopicEventHubDestination().catch(consol
|
|
|
111
111
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
112
112
|
*
|
|
113
113
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
114
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
114
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json
|
|
115
115
|
*/
|
|
116
116
|
function eventSubscriptionsCreateOrUpdateForCustomTopicHybridConnectionDestination() {
|
|
117
117
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -145,7 +145,7 @@ eventSubscriptionsCreateOrUpdateForCustomTopicHybridConnectionDestination().catc
|
|
|
145
145
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
146
146
|
*
|
|
147
147
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
148
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
148
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_ServiceBusQueueDestination.json
|
|
149
149
|
*/
|
|
150
150
|
function eventSubscriptionsCreateOrUpdateForCustomTopicServiceBusQueueDestination() {
|
|
151
151
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -179,7 +179,7 @@ eventSubscriptionsCreateOrUpdateForCustomTopicServiceBusQueueDestination().catch
|
|
|
179
179
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
180
180
|
*
|
|
181
181
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
182
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
182
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_ServiceBusTopicDestination.json
|
|
183
183
|
*/
|
|
184
184
|
function eventSubscriptionsCreateOrUpdateForCustomTopicServiceBusTopicDestination() {
|
|
185
185
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -213,7 +213,7 @@ eventSubscriptionsCreateOrUpdateForCustomTopicServiceBusTopicDestination().catch
|
|
|
213
213
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
214
214
|
*
|
|
215
215
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
216
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
216
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json
|
|
217
217
|
*/
|
|
218
218
|
function eventSubscriptionsCreateOrUpdateForCustomTopicStorageQueueDestination() {
|
|
219
219
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -228,7 +228,6 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicStorageQueueDestination()
|
|
|
228
228
|
},
|
|
229
229
|
destination: {
|
|
230
230
|
endpointType: "StorageQueue",
|
|
231
|
-
queueMessageTimeToLiveInSeconds: 300,
|
|
232
231
|
queueName: "queue1",
|
|
233
232
|
resourceId: "/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg"
|
|
234
233
|
},
|
|
@@ -249,7 +248,7 @@ eventSubscriptionsCreateOrUpdateForCustomTopicStorageQueueDestination().catch(co
|
|
|
249
248
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
250
249
|
*
|
|
251
250
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
252
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
251
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json
|
|
253
252
|
*/
|
|
254
253
|
function eventSubscriptionsCreateOrUpdateForCustomTopicWebhookDestination() {
|
|
255
254
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -258,8 +257,8 @@ function eventSubscriptionsCreateOrUpdateForCustomTopicWebhookDestination() {
|
|
|
258
257
|
const eventSubscriptionName = "examplesubscription1";
|
|
259
258
|
const eventSubscriptionInfo = {
|
|
260
259
|
destination: {
|
|
261
|
-
endpointType: "
|
|
262
|
-
|
|
260
|
+
endpointType: "WebHook",
|
|
261
|
+
endpointUrl: "https://azurefunctionexample.azurewebsites.net/runtime/webhooks/EventGrid?functionName=EventGridTrigger1&code=PASSWORDCODE"
|
|
263
262
|
},
|
|
264
263
|
filter: {
|
|
265
264
|
isSubjectCaseSensitive: false,
|
|
@@ -278,7 +277,7 @@ eventSubscriptionsCreateOrUpdateForCustomTopicWebhookDestination().catch(console
|
|
|
278
277
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
279
278
|
*
|
|
280
279
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
281
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
280
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForResource.json
|
|
282
281
|
*/
|
|
283
282
|
function eventSubscriptionsCreateOrUpdateForResource() {
|
|
284
283
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -307,7 +306,7 @@ eventSubscriptionsCreateOrUpdateForResource().catch(console.error);
|
|
|
307
306
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
308
307
|
*
|
|
309
308
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
310
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
309
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForResourceGroup.json
|
|
311
310
|
*/
|
|
312
311
|
function eventSubscriptionsCreateOrUpdateForResourceGroup() {
|
|
313
312
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -336,7 +335,7 @@ eventSubscriptionsCreateOrUpdateForResourceGroup().catch(console.error);
|
|
|
336
335
|
* This sample demonstrates how to Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
337
336
|
*
|
|
338
337
|
* @summary Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.
|
|
339
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
338
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_CreateOrUpdateForSubscription.json
|
|
340
339
|
*/
|
|
341
340
|
function eventSubscriptionsCreateOrUpdateForSubscription() {
|
|
342
341
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -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;AAEzD;;;;;GAKG;AACH,SAAe,8CAA8C;;QAC3D,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,KAAK,GACT,gIAAgI,CAA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C;AAEF;;;;;GAKG;AACH,SAAe,qEAAqE;;QAClF,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,KAAK,GACT,gIAAgI,CAAC;QACnI,MAAM,qBAAqB,GAAG,sBAAsB,CAAC;QACrD,MAAM,qBAAqB,GAAsB;YAC/C,qBAAqB,EAAE;gBACrB,iBAAiB,EAAE,kBAAkB;gBACrC,YAAY,EAAE,aAAa;gBAC3B,UAAU,EACR,kIAAkI;aACrI;YACD,WAAW,EAAE;gBACX,YAAY,EAAE,cAAc;gBAC5B
|
|
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;AAEzD;;;;;GAKG;AACH,SAAe,8CAA8C;;QAC3D,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,KAAK,GACT,gIAAgI,CAAC;QACnI,MAAM,qBAAqB,GAAG,sBAAsB,CAAC;QACrD,MAAM,qBAAqB,GAAsB;YAC/C,WAAW,EAAE;gBACX,YAAY,EAAE,UAAU;gBACxB,UAAU,EACR,kJAAkJ;aACrJ;YACD,MAAM,EAAE;gBACN,sBAAsB,EAAE,KAAK;gBAC7B,iBAAiB,EAAE,eAAe;gBAClC,eAAe,EAAE,eAAe;aACjC;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,0BAA0B,CACvE,KAAK,EACL,qBAAqB,EACrB,qBAAqB,CACt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EACL,qBAAqB,EACrB,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,gDAAgD,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAExE;;;;;GAKG;AACH,SAAe,+CAA+C;;QAC5D,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,KAAK,GAAG,oDAAoD,CAAC;QACnE,MAAM,qBAAqB,GAAG,sBAAsB,CAAC;QACrD,MAAM,qBAAqB,GAAsB;YAC/C,WAAW,EAAE;gBACX,YAAY,EAAE,SAAS;gBACvB,WAAW,EAAE,8BAA8B;aAC5C;YACD,MAAM,EAAE,EAAE,sBAAsB,EAAE,KAAK,EAAE;SAC1C,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,0BAA0B,CACvE,KAAK,EACL,qBAAqB,EACrB,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,+CAA+C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -14,7 +14,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Delete an existing event subscription.
|
|
15
15
|
*
|
|
16
16
|
* @summary Delete an existing event subscription.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_DeleteForCustomTopic.json
|
|
18
18
|
*/
|
|
19
19
|
function eventSubscriptionsDeleteForCustomTopic() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -32,7 +32,7 @@ eventSubscriptionsDeleteForCustomTopic().catch(console.error);
|
|
|
32
32
|
* This sample demonstrates how to Delete an existing event subscription.
|
|
33
33
|
*
|
|
34
34
|
* @summary Delete an existing event subscription.
|
|
35
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
35
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_DeleteForResource.json
|
|
36
36
|
*/
|
|
37
37
|
function eventSubscriptionsDeleteForResource() {
|
|
38
38
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -50,7 +50,7 @@ eventSubscriptionsDeleteForResource().catch(console.error);
|
|
|
50
50
|
* This sample demonstrates how to Delete an existing event subscription.
|
|
51
51
|
*
|
|
52
52
|
* @summary Delete an existing event subscription.
|
|
53
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
53
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_DeleteForResourceGroup.json
|
|
54
54
|
*/
|
|
55
55
|
function eventSubscriptionsDeleteForResourceGroup() {
|
|
56
56
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -68,7 +68,7 @@ eventSubscriptionsDeleteForResourceGroup().catch(console.error);
|
|
|
68
68
|
* This sample demonstrates how to Delete an existing event subscription.
|
|
69
69
|
*
|
|
70
70
|
* @summary Delete an existing event subscription.
|
|
71
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
71
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_DeleteForSubscription.json
|
|
72
72
|
*/
|
|
73
73
|
function eventSubscriptionsDeleteForSubscription() {
|
|
74
74
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14,13 +14,13 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
14
14
|
* This sample demonstrates how to Get all delivery attributes for an event subscription.
|
|
15
15
|
*
|
|
16
16
|
* @summary Get all delivery attributes for an event subscription.
|
|
17
|
-
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/
|
|
17
|
+
* x-ms-original-file: specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2022-06-15/examples/EventSubscriptions_GetDeliveryAttributes.json
|
|
18
18
|
*/
|
|
19
19
|
function eventSubscriptionsGetDeliveryAttributes() {
|
|
20
20
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21
21
|
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
22
|
-
const scope = "
|
|
23
|
-
const eventSubscriptionName = "
|
|
22
|
+
const scope = "aaaaaaaaaaaaaaaaaaaaaaaaa";
|
|
23
|
+
const eventSubscriptionName = "aaaaaaaaaaaaaaaaaa";
|
|
24
24
|
const credential = new DefaultAzureCredential();
|
|
25
25
|
const client = new EventGridManagementClient(credential, subscriptionId);
|
|
26
26
|
const result = yield client.eventSubscriptions.getDeliveryAttributes(scope, eventSubscriptionName);
|
|
@@ -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;AAEzD;;;;;GAKG;AACH,SAAe,uCAAuC;;QACpD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,KAAK,
|
|
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;AAEzD;;;;;GAKG;AACH,SAAe,uCAAuC;;QACpD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,KAAK,GAAG,2BAA2B,CAAC;QAC1C,MAAM,qBAAqB,GAAG,oBAAoB,CAAC;QACnD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,yBAAyB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACzE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,kBAAkB,CAAC,qBAAqB,CAClE,KAAK,EACL,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uCAAuC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|