@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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eventChannels.d.ts","sourceRoot":"","sources":["../../../src/operations/eventChannels.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAIxD,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OA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IAUhB;;;;;OAKG;IACH,OAAO,CAAC,uBAAuB;IAW/B;;;;;;OAMG;IACH,OAAO,CAAC,2BAA2B;CAWpC"}
|
|
@@ -1,271 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
|
|
9
|
-
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
12
|
-
import { LroEngine } from "@azure/core-lro";
|
|
13
|
-
import { LroImpl } from "../lroImpl";
|
|
14
|
-
/// <reference lib="esnext.asynciterable" />
|
|
15
|
-
/** Class containing EventChannels operations. */
|
|
16
|
-
export class EventChannelsImpl {
|
|
17
|
-
/**
|
|
18
|
-
* Initialize a new instance of the class EventChannels class.
|
|
19
|
-
* @param client Reference to the service client
|
|
20
|
-
*/
|
|
21
|
-
constructor(client) {
|
|
22
|
-
this.client = client;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* List all the event channels in a partner namespace.
|
|
26
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
27
|
-
* @param partnerNamespaceName Name of the partner namespace.
|
|
28
|
-
* @param options The options parameters.
|
|
29
|
-
*/
|
|
30
|
-
listByPartnerNamespace(resourceGroupName, partnerNamespaceName, options) {
|
|
31
|
-
const iter = this.listByPartnerNamespacePagingAll(resourceGroupName, partnerNamespaceName, options);
|
|
32
|
-
return {
|
|
33
|
-
next() {
|
|
34
|
-
return iter.next();
|
|
35
|
-
},
|
|
36
|
-
[Symbol.asyncIterator]() {
|
|
37
|
-
return this;
|
|
38
|
-
},
|
|
39
|
-
byPage: () => {
|
|
40
|
-
return this.listByPartnerNamespacePagingPage(resourceGroupName, partnerNamespaceName, options);
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
listByPartnerNamespacePagingPage(resourceGroupName, partnerNamespaceName, options) {
|
|
45
|
-
return __asyncGenerator(this, arguments, function* listByPartnerNamespacePagingPage_1() {
|
|
46
|
-
let result = yield __await(this._listByPartnerNamespace(resourceGroupName, partnerNamespaceName, options));
|
|
47
|
-
yield yield __await(result.value || []);
|
|
48
|
-
let continuationToken = result.nextLink;
|
|
49
|
-
while (continuationToken) {
|
|
50
|
-
result = yield __await(this._listByPartnerNamespaceNext(resourceGroupName, partnerNamespaceName, continuationToken, options));
|
|
51
|
-
continuationToken = result.nextLink;
|
|
52
|
-
yield yield __await(result.value || []);
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
listByPartnerNamespacePagingAll(resourceGroupName, partnerNamespaceName, options) {
|
|
57
|
-
return __asyncGenerator(this, arguments, function* listByPartnerNamespacePagingAll_1() {
|
|
58
|
-
var e_1, _a;
|
|
59
|
-
try {
|
|
60
|
-
for (var _b = __asyncValues(this.listByPartnerNamespacePagingPage(resourceGroupName, partnerNamespaceName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
61
|
-
const page = _c.value;
|
|
62
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
66
|
-
finally {
|
|
67
|
-
try {
|
|
68
|
-
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
69
|
-
}
|
|
70
|
-
finally { if (e_1) throw e_1.error; }
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* Get properties of an event channel.
|
|
76
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
77
|
-
* @param partnerNamespaceName Name of the partner namespace.
|
|
78
|
-
* @param eventChannelName Name of the event channel.
|
|
79
|
-
* @param options The options parameters.
|
|
80
|
-
*/
|
|
81
|
-
get(resourceGroupName, partnerNamespaceName, eventChannelName, options) {
|
|
82
|
-
return this.client.sendOperationRequest({ resourceGroupName, partnerNamespaceName, eventChannelName, options }, getOperationSpec);
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* Asynchronously creates a new event channel with the specified parameters.
|
|
86
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
87
|
-
* @param partnerNamespaceName Name of the partner namespace.
|
|
88
|
-
* @param eventChannelName Name of the event channel.
|
|
89
|
-
* @param eventChannelInfo EventChannel information.
|
|
90
|
-
* @param options The options parameters.
|
|
91
|
-
*/
|
|
92
|
-
createOrUpdate(resourceGroupName, partnerNamespaceName, eventChannelName, eventChannelInfo, options) {
|
|
93
|
-
return this.client.sendOperationRequest({
|
|
94
|
-
resourceGroupName,
|
|
95
|
-
partnerNamespaceName,
|
|
96
|
-
eventChannelName,
|
|
97
|
-
eventChannelInfo,
|
|
98
|
-
options
|
|
99
|
-
}, createOrUpdateOperationSpec);
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* Delete existing event channel.
|
|
103
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
104
|
-
* @param partnerNamespaceName Name of the partner namespace.
|
|
105
|
-
* @param eventChannelName Name of the event channel.
|
|
106
|
-
* @param options The options parameters.
|
|
107
|
-
*/
|
|
108
|
-
beginDelete(resourceGroupName, partnerNamespaceName, eventChannelName, options) {
|
|
109
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
110
|
-
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
111
|
-
return this.client.sendOperationRequest(args, spec);
|
|
112
|
-
});
|
|
113
|
-
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
114
|
-
var _a;
|
|
115
|
-
let currentRawResponse = undefined;
|
|
116
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
117
|
-
const callback = (rawResponse, flatResponse) => {
|
|
118
|
-
currentRawResponse = rawResponse;
|
|
119
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
120
|
-
};
|
|
121
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
122
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
123
|
-
return {
|
|
124
|
-
flatResponse,
|
|
125
|
-
rawResponse: {
|
|
126
|
-
statusCode: currentRawResponse.status,
|
|
127
|
-
body: currentRawResponse.parsedBody,
|
|
128
|
-
headers: currentRawResponse.headers.toJSON()
|
|
129
|
-
}
|
|
130
|
-
};
|
|
131
|
-
});
|
|
132
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, partnerNamespaceName, eventChannelName, options }, deleteOperationSpec);
|
|
133
|
-
const poller = new LroEngine(lro, {
|
|
134
|
-
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
135
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
136
|
-
});
|
|
137
|
-
yield poller.poll();
|
|
138
|
-
return poller;
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
/**
|
|
142
|
-
* Delete existing event channel.
|
|
143
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
144
|
-
* @param partnerNamespaceName Name of the partner namespace.
|
|
145
|
-
* @param eventChannelName Name of the event channel.
|
|
146
|
-
* @param options The options parameters.
|
|
147
|
-
*/
|
|
148
|
-
beginDeleteAndWait(resourceGroupName, partnerNamespaceName, eventChannelName, options) {
|
|
149
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
150
|
-
const poller = yield this.beginDelete(resourceGroupName, partnerNamespaceName, eventChannelName, options);
|
|
151
|
-
return poller.pollUntilDone();
|
|
152
|
-
});
|
|
153
|
-
}
|
|
154
|
-
/**
|
|
155
|
-
* List all the event channels in a partner namespace.
|
|
156
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
157
|
-
* @param partnerNamespaceName Name of the partner namespace.
|
|
158
|
-
* @param options The options parameters.
|
|
159
|
-
*/
|
|
160
|
-
_listByPartnerNamespace(resourceGroupName, partnerNamespaceName, options) {
|
|
161
|
-
return this.client.sendOperationRequest({ resourceGroupName, partnerNamespaceName, options }, listByPartnerNamespaceOperationSpec);
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* ListByPartnerNamespaceNext
|
|
165
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
166
|
-
* @param partnerNamespaceName Name of the partner namespace.
|
|
167
|
-
* @param nextLink The nextLink from the previous successful call to the ListByPartnerNamespace method.
|
|
168
|
-
* @param options The options parameters.
|
|
169
|
-
*/
|
|
170
|
-
_listByPartnerNamespaceNext(resourceGroupName, partnerNamespaceName, nextLink, options) {
|
|
171
|
-
return this.client.sendOperationRequest({ resourceGroupName, partnerNamespaceName, nextLink, options }, listByPartnerNamespaceNextOperationSpec);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
// Operation Specifications
|
|
175
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
176
|
-
const getOperationSpec = {
|
|
177
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceName}/eventChannels/{eventChannelName}",
|
|
178
|
-
httpMethod: "GET",
|
|
179
|
-
responses: {
|
|
180
|
-
200: {
|
|
181
|
-
bodyMapper: Mappers.EventChannel
|
|
182
|
-
},
|
|
183
|
-
default: {}
|
|
184
|
-
},
|
|
185
|
-
queryParameters: [Parameters.apiVersion],
|
|
186
|
-
urlParameters: [
|
|
187
|
-
Parameters.$host,
|
|
188
|
-
Parameters.subscriptionId,
|
|
189
|
-
Parameters.resourceGroupName,
|
|
190
|
-
Parameters.partnerNamespaceName,
|
|
191
|
-
Parameters.eventChannelName
|
|
192
|
-
],
|
|
193
|
-
headerParameters: [Parameters.accept],
|
|
194
|
-
serializer
|
|
195
|
-
};
|
|
196
|
-
const createOrUpdateOperationSpec = {
|
|
197
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceName}/eventChannels/{eventChannelName}",
|
|
198
|
-
httpMethod: "PUT",
|
|
199
|
-
responses: {
|
|
200
|
-
200: {
|
|
201
|
-
bodyMapper: Mappers.EventChannel
|
|
202
|
-
},
|
|
203
|
-
default: {}
|
|
204
|
-
},
|
|
205
|
-
requestBody: Parameters.eventChannelInfo,
|
|
206
|
-
queryParameters: [Parameters.apiVersion],
|
|
207
|
-
urlParameters: [
|
|
208
|
-
Parameters.$host,
|
|
209
|
-
Parameters.subscriptionId,
|
|
210
|
-
Parameters.resourceGroupName,
|
|
211
|
-
Parameters.partnerNamespaceName,
|
|
212
|
-
Parameters.eventChannelName
|
|
213
|
-
],
|
|
214
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
215
|
-
mediaType: "json",
|
|
216
|
-
serializer
|
|
217
|
-
};
|
|
218
|
-
const deleteOperationSpec = {
|
|
219
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceName}/eventChannels/{eventChannelName}",
|
|
220
|
-
httpMethod: "DELETE",
|
|
221
|
-
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
|
222
|
-
queryParameters: [Parameters.apiVersion],
|
|
223
|
-
urlParameters: [
|
|
224
|
-
Parameters.$host,
|
|
225
|
-
Parameters.subscriptionId,
|
|
226
|
-
Parameters.resourceGroupName,
|
|
227
|
-
Parameters.partnerNamespaceName,
|
|
228
|
-
Parameters.eventChannelName
|
|
229
|
-
],
|
|
230
|
-
serializer
|
|
231
|
-
};
|
|
232
|
-
const listByPartnerNamespaceOperationSpec = {
|
|
233
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceName}/eventChannels",
|
|
234
|
-
httpMethod: "GET",
|
|
235
|
-
responses: {
|
|
236
|
-
200: {
|
|
237
|
-
bodyMapper: Mappers.EventChannelsListResult
|
|
238
|
-
},
|
|
239
|
-
default: {}
|
|
240
|
-
},
|
|
241
|
-
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
242
|
-
urlParameters: [
|
|
243
|
-
Parameters.$host,
|
|
244
|
-
Parameters.subscriptionId,
|
|
245
|
-
Parameters.resourceGroupName,
|
|
246
|
-
Parameters.partnerNamespaceName
|
|
247
|
-
],
|
|
248
|
-
headerParameters: [Parameters.accept],
|
|
249
|
-
serializer
|
|
250
|
-
};
|
|
251
|
-
const listByPartnerNamespaceNextOperationSpec = {
|
|
252
|
-
path: "{nextLink}",
|
|
253
|
-
httpMethod: "GET",
|
|
254
|
-
responses: {
|
|
255
|
-
200: {
|
|
256
|
-
bodyMapper: Mappers.EventChannelsListResult
|
|
257
|
-
},
|
|
258
|
-
default: {}
|
|
259
|
-
},
|
|
260
|
-
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
261
|
-
urlParameters: [
|
|
262
|
-
Parameters.$host,
|
|
263
|
-
Parameters.subscriptionId,
|
|
264
|
-
Parameters.resourceGroupName,
|
|
265
|
-
Parameters.partnerNamespaceName,
|
|
266
|
-
Parameters.nextLink
|
|
267
|
-
],
|
|
268
|
-
headerParameters: [Parameters.accept],
|
|
269
|
-
serializer
|
|
270
|
-
};
|
|
271
|
-
//# sourceMappingURL=eventChannels.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eventChannels.js","sourceRoot":"","sources":["../../../src/operations/eventChannels.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,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U,EAAE,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,GAAG,CAAC;IAC3E,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,oBAAoB;KAChC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,uCAAuC,GAA6B;IACxE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE,EAAE;KACZ;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,GAAG,CAAC;IAC3E,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,oBAAoB;QAC/B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { PartnerDestinations } from "../operationsInterfaces";
|
|
3
|
-
import { EventGridManagementClient } from "../eventGridManagementClient";
|
|
4
|
-
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
5
|
-
import { PartnerDestination, PartnerDestinationsListBySubscriptionOptionalParams, PartnerDestinationsListByResourceGroupOptionalParams, PartnerDestinationsGetOptionalParams, PartnerDestinationsGetResponse, PartnerDestinationsCreateOrUpdateOptionalParams, PartnerDestinationsCreateOrUpdateResponse, PartnerDestinationsDeleteOptionalParams, PartnerDestinationUpdateParameters, PartnerDestinationsUpdateOptionalParams, PartnerDestinationsUpdateResponse, PartnerDestinationsActivateOptionalParams, PartnerDestinationsActivateResponse } from "../models";
|
|
6
|
-
/** Class containing PartnerDestinations operations. */
|
|
7
|
-
export declare class PartnerDestinationsImpl implements PartnerDestinations {
|
|
8
|
-
private readonly client;
|
|
9
|
-
/**
|
|
10
|
-
* Initialize a new instance of the class PartnerDestinations class.
|
|
11
|
-
* @param client Reference to the service client
|
|
12
|
-
*/
|
|
13
|
-
constructor(client: EventGridManagementClient);
|
|
14
|
-
/**
|
|
15
|
-
* List all the partner destinations under an Azure subscription.
|
|
16
|
-
* @param options The options parameters.
|
|
17
|
-
*/
|
|
18
|
-
listBySubscription(options?: PartnerDestinationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<PartnerDestination>;
|
|
19
|
-
private listBySubscriptionPagingPage;
|
|
20
|
-
private listBySubscriptionPagingAll;
|
|
21
|
-
/**
|
|
22
|
-
* List all the partner destinations under a resource group.
|
|
23
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
24
|
-
* @param options The options parameters.
|
|
25
|
-
*/
|
|
26
|
-
listByResourceGroup(resourceGroupName: string, options?: PartnerDestinationsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<PartnerDestination>;
|
|
27
|
-
private listByResourceGroupPagingPage;
|
|
28
|
-
private listByResourceGroupPagingAll;
|
|
29
|
-
/**
|
|
30
|
-
* Get properties of a partner destination.
|
|
31
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
32
|
-
* @param partnerDestinationName Name of the partner destination.
|
|
33
|
-
* @param options The options parameters.
|
|
34
|
-
*/
|
|
35
|
-
get(resourceGroupName: string, partnerDestinationName: string, options?: PartnerDestinationsGetOptionalParams): Promise<PartnerDestinationsGetResponse>;
|
|
36
|
-
/**
|
|
37
|
-
* Asynchronously creates a new partner destination with the specified parameters.
|
|
38
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
39
|
-
* @param partnerDestinationName Name of the partner destination.
|
|
40
|
-
* @param partnerDestination Partner destination create information.
|
|
41
|
-
* @param options The options parameters.
|
|
42
|
-
*/
|
|
43
|
-
createOrUpdate(resourceGroupName: string, partnerDestinationName: string, partnerDestination: PartnerDestination, options?: PartnerDestinationsCreateOrUpdateOptionalParams): Promise<PartnerDestinationsCreateOrUpdateResponse>;
|
|
44
|
-
/**
|
|
45
|
-
* Delete existing partner destination.
|
|
46
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
47
|
-
* @param partnerDestinationName Name of the partner destination.
|
|
48
|
-
* @param options The options parameters.
|
|
49
|
-
*/
|
|
50
|
-
beginDelete(resourceGroupName: string, partnerDestinationName: string, options?: PartnerDestinationsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
51
|
-
/**
|
|
52
|
-
* Delete existing partner destination.
|
|
53
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
54
|
-
* @param partnerDestinationName Name of the partner destination.
|
|
55
|
-
* @param options The options parameters.
|
|
56
|
-
*/
|
|
57
|
-
beginDeleteAndWait(resourceGroupName: string, partnerDestinationName: string, options?: PartnerDestinationsDeleteOptionalParams): Promise<void>;
|
|
58
|
-
/**
|
|
59
|
-
* Asynchronously updates a partner destination with the specified parameters.
|
|
60
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
61
|
-
* @param partnerDestinationName Name of the partner destination.
|
|
62
|
-
* @param partnerDestinationUpdateParameters Partner destination update information.
|
|
63
|
-
* @param options The options parameters.
|
|
64
|
-
*/
|
|
65
|
-
update(resourceGroupName: string, partnerDestinationName: string, partnerDestinationUpdateParameters: PartnerDestinationUpdateParameters, options?: PartnerDestinationsUpdateOptionalParams): Promise<PartnerDestinationsUpdateResponse>;
|
|
66
|
-
/**
|
|
67
|
-
* List all the partner destinations under an Azure subscription.
|
|
68
|
-
* @param options The options parameters.
|
|
69
|
-
*/
|
|
70
|
-
private _listBySubscription;
|
|
71
|
-
/**
|
|
72
|
-
* List all the partner destinations under a resource group.
|
|
73
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
74
|
-
* @param options The options parameters.
|
|
75
|
-
*/
|
|
76
|
-
private _listByResourceGroup;
|
|
77
|
-
/**
|
|
78
|
-
* Activate a newly created partner destination.
|
|
79
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
80
|
-
* @param partnerDestinationName Name of the partner destination.
|
|
81
|
-
* @param options The options parameters.
|
|
82
|
-
*/
|
|
83
|
-
activate(resourceGroupName: string, partnerDestinationName: string, options?: PartnerDestinationsActivateOptionalParams): Promise<PartnerDestinationsActivateResponse>;
|
|
84
|
-
/**
|
|
85
|
-
* ListBySubscriptionNext
|
|
86
|
-
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
87
|
-
* @param options The options parameters.
|
|
88
|
-
*/
|
|
89
|
-
private _listBySubscriptionNext;
|
|
90
|
-
/**
|
|
91
|
-
* ListByResourceGroupNext
|
|
92
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
93
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
94
|
-
* @param options The options parameters.
|
|
95
|
-
*/
|
|
96
|
-
private _listByResourceGroupNext;
|
|
97
|
-
}
|
|
98
|
-
//# sourceMappingURL=partnerDestinations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"partnerDestinations.d.ts","sourceRoot":"","sources":["../../../src/operations/partnerDestinations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAI9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,kBAAkB,EAElB,mDAAmD,EAEnD,oDAAoD,EACpD,oCAAoC,EACpC,8BAA8B,EAC9B,+CAA+C,EAC/C,yCAAyC,EACzC,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