@azure/arm-eventgrid 30.0.0-alpha.20210929.1
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 +14 -0
- package/LICENSE +21 -0
- package/README.md +94 -0
- package/dist/index.js +10620 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/eventGridManagementClient.d.ts +31 -0
- package/dist-esm/src/eventGridManagementClient.d.ts.map +1 -0
- package/dist-esm/src/eventGridManagementClient.js +38 -0
- package/dist-esm/src/eventGridManagementClient.js.map +1 -0
- package/dist-esm/src/eventGridManagementClientContext.d.ts +17 -0
- package/dist-esm/src/eventGridManagementClientContext.d.ts.map +1 -0
- package/dist-esm/src/eventGridManagementClientContext.js +50 -0
- package/dist-esm/src/eventGridManagementClientContext.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +2765 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +289 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +139 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +2979 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +53 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +415 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/domainTopics.d.ts +79 -0
- package/dist-esm/src/operations/domainTopics.d.ts.map +1 -0
- package/dist-esm/src/operations/domainTopics.js +310 -0
- package/dist-esm/src/operations/domainTopics.js.map +1 -0
- package/dist-esm/src/operations/domains.d.ts +122 -0
- package/dist-esm/src/operations/domains.d.ts.map +1 -0
- package/dist-esm/src/operations/domains.js +522 -0
- package/dist-esm/src/operations/domains.js.map +1 -0
- package/dist-esm/src/operations/eventChannels.d.ts +72 -0
- package/dist-esm/src/operations/eventChannels.d.ts.map +1 -0
- package/dist-esm/src/operations/eventChannels.js +269 -0
- package/dist-esm/src/operations/eventChannels.js.map +1 -0
- package/dist-esm/src/operations/eventSubscriptions.d.ts +404 -0
- package/dist-esm/src/operations/eventSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/eventSubscriptions.js +1504 -0
- package/dist-esm/src/operations/eventSubscriptions.js.map +1 -0
- package/dist-esm/src/operations/extensionTopics.d.ts +24 -0
- package/dist-esm/src/operations/extensionTopics.d.ts.map +1 -0
- package/dist-esm/src/operations/extensionTopics.js +50 -0
- package/dist-esm/src/operations/extensionTopics.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +17 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +24 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +88 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/partnerNamespaces.d.ts +122 -0
- package/dist-esm/src/operations/partnerNamespaces.d.ts.map +1 -0
- package/dist-esm/src/operations/partnerNamespaces.js +537 -0
- package/dist-esm/src/operations/partnerNamespaces.js.map +1 -0
- package/dist-esm/src/operations/partnerRegistrations.d.ts +83 -0
- package/dist-esm/src/operations/partnerRegistrations.d.ts.map +1 -0
- package/dist-esm/src/operations/partnerRegistrations.js +349 -0
- package/dist-esm/src/operations/partnerRegistrations.js.map +1 -0
- package/dist-esm/src/operations/partnerTopicEventSubscriptions.d.ts +128 -0
- package/dist-esm/src/operations/partnerTopicEventSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/partnerTopicEventSubscriptions.js +483 -0
- package/dist-esm/src/operations/partnerTopicEventSubscriptions.js.map +1 -0
- package/dist-esm/src/operations/partnerTopics.d.ts +97 -0
- package/dist-esm/src/operations/partnerTopics.d.ts.map +1 -0
- package/dist-esm/src/operations/partnerTopics.js +408 -0
- package/dist-esm/src/operations/partnerTopics.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +105 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +362 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +58 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +184 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/systemTopicEventSubscriptions.d.ts +128 -0
- package/dist-esm/src/operations/systemTopicEventSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/systemTopicEventSubscriptions.js +483 -0
- package/dist-esm/src/operations/systemTopicEventSubscriptions.js.map +1 -0
- package/dist-esm/src/operations/systemTopics.d.ts +107 -0
- package/dist-esm/src/operations/systemTopics.d.ts.map +1 -0
- package/dist-esm/src/operations/systemTopics.js +482 -0
- package/dist-esm/src/operations/systemTopics.js.map +1 -0
- package/dist-esm/src/operations/topicTypes.d.ts +46 -0
- package/dist-esm/src/operations/topicTypes.d.ts.map +1 -0
- package/dist-esm/src/operations/topicTypes.js +175 -0
- package/dist-esm/src/operations/topicTypes.js.map +1 -0
- package/dist-esm/src/operations/topics.d.ts +150 -0
- package/dist-esm/src/operations/topics.d.ts.map +1 -0
- package/dist-esm/src/operations/topics.js +656 -0
- package/dist-esm/src/operations/topics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/domainTopics.d.ts +54 -0
- package/dist-esm/src/operationsInterfaces/domainTopics.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/domainTopics.js +9 -0
- package/dist-esm/src/operationsInterfaces/domainTopics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/domains.d.ts +86 -0
- package/dist-esm/src/operationsInterfaces/domains.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/domains.js +9 -0
- package/dist-esm/src/operationsInterfaces/domains.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/eventChannels.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/eventChannels.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/eventChannels.js +9 -0
- package/dist-esm/src/operationsInterfaces/eventChannels.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/eventSubscriptions.d.ts +217 -0
- package/dist-esm/src/operationsInterfaces/eventSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/eventSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/eventSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/extensionTopics.d.ts +16 -0
- package/dist-esm/src/operationsInterfaces/extensionTopics.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/extensionTopics.js +9 -0
- package/dist-esm/src/operationsInterfaces/extensionTopics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +24 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/partnerNamespaces.d.ts +86 -0
- package/dist-esm/src/operationsInterfaces/partnerNamespaces.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/partnerNamespaces.js +9 -0
- package/dist-esm/src/operationsInterfaces/partnerNamespaces.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/partnerRegistrations.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/partnerRegistrations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/partnerRegistrations.js +9 -0
- package/dist-esm/src/operationsInterfaces/partnerRegistrations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/partnerTopicEventSubscriptions.d.ts +103 -0
- package/dist-esm/src/operationsInterfaces/partnerTopicEventSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/partnerTopicEventSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/partnerTopicEventSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/partnerTopics.d.ts +61 -0
- package/dist-esm/src/operationsInterfaces/partnerTopics.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/partnerTopics.js +9 -0
- package/dist-esm/src/operationsInterfaces/partnerTopics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +27 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.d.ts +103 -0
- package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/systemTopicEventSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/systemTopics.d.ts +71 -0
- package/dist-esm/src/operationsInterfaces/systemTopics.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/systemTopics.js +9 -0
- package/dist-esm/src/operationsInterfaces/systemTopics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/topicTypes.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/topicTypes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/topicTypes.js +9 -0
- package/dist-esm/src/operationsInterfaces/topicTypes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/topics.d.ts +103 -0
- package/dist-esm/src/operationsInterfaces/topics.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/topics.js +9 -0
- package/dist-esm/src/operationsInterfaces/topics.js.map +1 -0
- package/dist-esm/test/eventgrid_examples.d.ts +2 -0
- package/dist-esm/test/eventgrid_examples.d.ts.map +1 -0
- package/dist-esm/test/eventgrid_examples.js +163 -0
- package/dist-esm/test/eventgrid_examples.js.map +1 -0
- package/package.json +102 -0
- package/review/arm-eventgrid.api.md +2518 -0
- package/rollup.config.js +188 -0
- package/src/eventGridManagementClient.ts +101 -0
- package/src/eventGridManagementClientContext.ts +71 -0
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +3297 -0
- package/src/models/mappers.ts +3334 -0
- package/src/models/parameters.ts +490 -0
- package/src/operations/domainTopics.ts +452 -0
- package/src/operations/domains.ts +713 -0
- package/src/operations/eventChannels.ts +382 -0
- package/src/operations/eventSubscriptions.ts +2077 -0
- package/src/operations/extensionTopics.ts +67 -0
- package/src/operations/index.ts +24 -0
- package/src/operations/operations.ts +96 -0
- package/src/operations/partnerNamespaces.ts +729 -0
- package/src/operations/partnerRegistrations.ts +440 -0
- package/src/operations/partnerTopicEventSubscriptions.ts +699 -0
- package/src/operations/partnerTopics.ts +532 -0
- package/src/operations/privateEndpointConnections.ts +529 -0
- package/src/operations/privateLinkResources.ts +259 -0
- package/src/operations/systemTopicEventSubscriptions.ts +699 -0
- package/src/operations/systemTopics.ts +656 -0
- package/src/operations/topicTypes.ts +202 -0
- package/src/operations/topics.ts +921 -0
- package/src/operationsInterfaces/domainTopics.ts +105 -0
- package/src/operationsInterfaces/domains.ts +162 -0
- package/src/operationsInterfaces/eventChannels.ts +89 -0
- package/src/operationsInterfaces/eventSubscriptions.ts +339 -0
- package/src/operationsInterfaces/extensionTopics.ts +30 -0
- package/src/operationsInterfaces/index.ts +24 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/partnerNamespaces.ts +162 -0
- package/src/operationsInterfaces/partnerRegistrations.ts +91 -0
- package/src/operationsInterfaces/partnerTopicEventSubscriptions.ts +190 -0
- package/src/operationsInterfaces/partnerTopics.ts +114 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +137 -0
- package/src/operationsInterfaces/privateLinkResources.ts +52 -0
- package/src/operationsInterfaces/systemTopicEventSubscriptions.ts +190 -0
- package/src/operationsInterfaces/systemTopics.ts +139 -0
- package/src/operationsInterfaces/topicTypes.ts +47 -0
- package/src/operationsInterfaces/topics.ts +197 -0
- package/tsconfig.json +19 -0
- package/types/arm-eventgrid.d.ts +4299 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,339 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
EventSubscription,
|
|
13
|
+
EventSubscriptionsListGlobalBySubscriptionOptionalParams,
|
|
14
|
+
EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams,
|
|
15
|
+
EventSubscriptionsListGlobalByResourceGroupOptionalParams,
|
|
16
|
+
EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams,
|
|
17
|
+
EventSubscriptionsListRegionalBySubscriptionOptionalParams,
|
|
18
|
+
EventSubscriptionsListRegionalByResourceGroupOptionalParams,
|
|
19
|
+
EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams,
|
|
20
|
+
EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams,
|
|
21
|
+
EventSubscriptionsListByResourceOptionalParams,
|
|
22
|
+
EventSubscriptionsListByDomainTopicOptionalParams,
|
|
23
|
+
EventSubscriptionsGetOptionalParams,
|
|
24
|
+
EventSubscriptionsGetResponse,
|
|
25
|
+
EventSubscriptionsCreateOrUpdateOptionalParams,
|
|
26
|
+
EventSubscriptionsCreateOrUpdateResponse,
|
|
27
|
+
EventSubscriptionsDeleteOptionalParams,
|
|
28
|
+
EventSubscriptionUpdateParameters,
|
|
29
|
+
EventSubscriptionsUpdateOptionalParams,
|
|
30
|
+
EventSubscriptionsUpdateResponse,
|
|
31
|
+
EventSubscriptionsGetFullUrlOptionalParams,
|
|
32
|
+
EventSubscriptionsGetFullUrlResponse,
|
|
33
|
+
EventSubscriptionsGetDeliveryAttributesOptionalParams,
|
|
34
|
+
EventSubscriptionsGetDeliveryAttributesResponse
|
|
35
|
+
} from "../models";
|
|
36
|
+
|
|
37
|
+
/// <reference lib="esnext.asynciterable" />
|
|
38
|
+
/** Interface representing a EventSubscriptions. */
|
|
39
|
+
export interface EventSubscriptions {
|
|
40
|
+
/**
|
|
41
|
+
* List all aggregated global event subscriptions under a specific Azure subscription.
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
listGlobalBySubscription(
|
|
45
|
+
options?: EventSubscriptionsListGlobalBySubscriptionOptionalParams
|
|
46
|
+
): PagedAsyncIterableIterator<EventSubscription>;
|
|
47
|
+
/**
|
|
48
|
+
* List all global event subscriptions under an Azure subscription for a topic type.
|
|
49
|
+
* @param topicTypeName Name of the topic type.
|
|
50
|
+
* @param options The options parameters.
|
|
51
|
+
*/
|
|
52
|
+
listGlobalBySubscriptionForTopicType(
|
|
53
|
+
topicTypeName: string,
|
|
54
|
+
options?: EventSubscriptionsListGlobalBySubscriptionForTopicTypeOptionalParams
|
|
55
|
+
): PagedAsyncIterableIterator<EventSubscription>;
|
|
56
|
+
/**
|
|
57
|
+
* List all global event subscriptions under a specific Azure subscription and resource group.
|
|
58
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
59
|
+
* @param options The options parameters.
|
|
60
|
+
*/
|
|
61
|
+
listGlobalByResourceGroup(
|
|
62
|
+
resourceGroupName: string,
|
|
63
|
+
options?: EventSubscriptionsListGlobalByResourceGroupOptionalParams
|
|
64
|
+
): PagedAsyncIterableIterator<EventSubscription>;
|
|
65
|
+
/**
|
|
66
|
+
* List all global event subscriptions under a resource group for a specific topic type.
|
|
67
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
68
|
+
* @param topicTypeName Name of the topic type.
|
|
69
|
+
* @param options The options parameters.
|
|
70
|
+
*/
|
|
71
|
+
listGlobalByResourceGroupForTopicType(
|
|
72
|
+
resourceGroupName: string,
|
|
73
|
+
topicTypeName: string,
|
|
74
|
+
options?: EventSubscriptionsListGlobalByResourceGroupForTopicTypeOptionalParams
|
|
75
|
+
): PagedAsyncIterableIterator<EventSubscription>;
|
|
76
|
+
/**
|
|
77
|
+
* List all event subscriptions from the given location under a specific Azure subscription.
|
|
78
|
+
* @param location Name of the location.
|
|
79
|
+
* @param options The options parameters.
|
|
80
|
+
*/
|
|
81
|
+
listRegionalBySubscription(
|
|
82
|
+
location: string,
|
|
83
|
+
options?: EventSubscriptionsListRegionalBySubscriptionOptionalParams
|
|
84
|
+
): PagedAsyncIterableIterator<EventSubscription>;
|
|
85
|
+
/**
|
|
86
|
+
* List all event subscriptions from the given location under a specific Azure subscription and
|
|
87
|
+
* resource group.
|
|
88
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
89
|
+
* @param location Name of the location.
|
|
90
|
+
* @param options The options parameters.
|
|
91
|
+
*/
|
|
92
|
+
listRegionalByResourceGroup(
|
|
93
|
+
resourceGroupName: string,
|
|
94
|
+
location: string,
|
|
95
|
+
options?: EventSubscriptionsListRegionalByResourceGroupOptionalParams
|
|
96
|
+
): PagedAsyncIterableIterator<EventSubscription>;
|
|
97
|
+
/**
|
|
98
|
+
* List all event subscriptions from the given location under a specific Azure subscription and topic
|
|
99
|
+
* type.
|
|
100
|
+
* @param location Name of the location.
|
|
101
|
+
* @param topicTypeName Name of the topic type.
|
|
102
|
+
* @param options The options parameters.
|
|
103
|
+
*/
|
|
104
|
+
listRegionalBySubscriptionForTopicType(
|
|
105
|
+
location: string,
|
|
106
|
+
topicTypeName: string,
|
|
107
|
+
options?: EventSubscriptionsListRegionalBySubscriptionForTopicTypeOptionalParams
|
|
108
|
+
): PagedAsyncIterableIterator<EventSubscription>;
|
|
109
|
+
/**
|
|
110
|
+
* List all event subscriptions from the given location under a specific Azure subscription and
|
|
111
|
+
* resource group and topic type.
|
|
112
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
113
|
+
* @param location Name of the location.
|
|
114
|
+
* @param topicTypeName Name of the topic type.
|
|
115
|
+
* @param options The options parameters.
|
|
116
|
+
*/
|
|
117
|
+
listRegionalByResourceGroupForTopicType(
|
|
118
|
+
resourceGroupName: string,
|
|
119
|
+
location: string,
|
|
120
|
+
topicTypeName: string,
|
|
121
|
+
options?: EventSubscriptionsListRegionalByResourceGroupForTopicTypeOptionalParams
|
|
122
|
+
): PagedAsyncIterableIterator<EventSubscription>;
|
|
123
|
+
/**
|
|
124
|
+
* List all event subscriptions that have been created for a specific topic.
|
|
125
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
126
|
+
* @param providerNamespace Namespace of the provider of the topic.
|
|
127
|
+
* @param resourceTypeName Name of the resource type.
|
|
128
|
+
* @param resourceName Name of the resource.
|
|
129
|
+
* @param options The options parameters.
|
|
130
|
+
*/
|
|
131
|
+
listByResource(
|
|
132
|
+
resourceGroupName: string,
|
|
133
|
+
providerNamespace: string,
|
|
134
|
+
resourceTypeName: string,
|
|
135
|
+
resourceName: string,
|
|
136
|
+
options?: EventSubscriptionsListByResourceOptionalParams
|
|
137
|
+
): PagedAsyncIterableIterator<EventSubscription>;
|
|
138
|
+
/**
|
|
139
|
+
* List all event subscriptions that have been created for a specific domain topic.
|
|
140
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
141
|
+
* @param domainName Name of the top level domain.
|
|
142
|
+
* @param topicName Name of the domain topic.
|
|
143
|
+
* @param options The options parameters.
|
|
144
|
+
*/
|
|
145
|
+
listByDomainTopic(
|
|
146
|
+
resourceGroupName: string,
|
|
147
|
+
domainName: string,
|
|
148
|
+
topicName: string,
|
|
149
|
+
options?: EventSubscriptionsListByDomainTopicOptionalParams
|
|
150
|
+
): PagedAsyncIterableIterator<EventSubscription>;
|
|
151
|
+
/**
|
|
152
|
+
* Get properties of an event subscription.
|
|
153
|
+
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
154
|
+
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
|
|
155
|
+
* For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
156
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
157
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
158
|
+
* for a resource, and
|
|
159
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
160
|
+
* for an EventGrid topic.
|
|
161
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
162
|
+
* @param options The options parameters.
|
|
163
|
+
*/
|
|
164
|
+
get(
|
|
165
|
+
scope: string,
|
|
166
|
+
eventSubscriptionName: string,
|
|
167
|
+
options?: EventSubscriptionsGetOptionalParams
|
|
168
|
+
): Promise<EventSubscriptionsGetResponse>;
|
|
169
|
+
/**
|
|
170
|
+
* Asynchronously creates a new event subscription or updates an existing event subscription based on
|
|
171
|
+
* the specified scope.
|
|
172
|
+
* @param scope The identifier of the resource to which the event subscription needs to be created or
|
|
173
|
+
* updated. The scope can be a subscription, or a resource group, or a top level resource belonging to
|
|
174
|
+
* a resource provider namespace, or an EventGrid topic. For example, use
|
|
175
|
+
* '/subscriptions/{subscriptionId}/' for a subscription,
|
|
176
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
177
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
178
|
+
* for a resource, and
|
|
179
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
180
|
+
* for an EventGrid topic.
|
|
181
|
+
* @param eventSubscriptionName Name of the event subscription. Event subscription names must be
|
|
182
|
+
* between 3 and 64 characters in length and should use alphanumeric letters only.
|
|
183
|
+
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter
|
|
184
|
+
* information.
|
|
185
|
+
* @param options The options parameters.
|
|
186
|
+
*/
|
|
187
|
+
beginCreateOrUpdate(
|
|
188
|
+
scope: string,
|
|
189
|
+
eventSubscriptionName: string,
|
|
190
|
+
eventSubscriptionInfo: EventSubscription,
|
|
191
|
+
options?: EventSubscriptionsCreateOrUpdateOptionalParams
|
|
192
|
+
): Promise<
|
|
193
|
+
PollerLike<
|
|
194
|
+
PollOperationState<EventSubscriptionsCreateOrUpdateResponse>,
|
|
195
|
+
EventSubscriptionsCreateOrUpdateResponse
|
|
196
|
+
>
|
|
197
|
+
>;
|
|
198
|
+
/**
|
|
199
|
+
* Asynchronously creates a new event subscription or updates an existing event subscription based on
|
|
200
|
+
* the specified scope.
|
|
201
|
+
* @param scope The identifier of the resource to which the event subscription needs to be created or
|
|
202
|
+
* updated. The scope can be a subscription, or a resource group, or a top level resource belonging to
|
|
203
|
+
* a resource provider namespace, or an EventGrid topic. For example, use
|
|
204
|
+
* '/subscriptions/{subscriptionId}/' for a subscription,
|
|
205
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
206
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
207
|
+
* for a resource, and
|
|
208
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
209
|
+
* for an EventGrid topic.
|
|
210
|
+
* @param eventSubscriptionName Name of the event subscription. Event subscription names must be
|
|
211
|
+
* between 3 and 64 characters in length and should use alphanumeric letters only.
|
|
212
|
+
* @param eventSubscriptionInfo Event subscription properties containing the destination and filter
|
|
213
|
+
* information.
|
|
214
|
+
* @param options The options parameters.
|
|
215
|
+
*/
|
|
216
|
+
beginCreateOrUpdateAndWait(
|
|
217
|
+
scope: string,
|
|
218
|
+
eventSubscriptionName: string,
|
|
219
|
+
eventSubscriptionInfo: EventSubscription,
|
|
220
|
+
options?: EventSubscriptionsCreateOrUpdateOptionalParams
|
|
221
|
+
): Promise<EventSubscriptionsCreateOrUpdateResponse>;
|
|
222
|
+
/**
|
|
223
|
+
* Delete an existing event subscription.
|
|
224
|
+
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
225
|
+
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
|
|
226
|
+
* For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
227
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
228
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
229
|
+
* for a resource, and
|
|
230
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
231
|
+
* for an EventGrid topic.
|
|
232
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
233
|
+
* @param options The options parameters.
|
|
234
|
+
*/
|
|
235
|
+
beginDelete(
|
|
236
|
+
scope: string,
|
|
237
|
+
eventSubscriptionName: string,
|
|
238
|
+
options?: EventSubscriptionsDeleteOptionalParams
|
|
239
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
240
|
+
/**
|
|
241
|
+
* Delete an existing event subscription.
|
|
242
|
+
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
243
|
+
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
|
|
244
|
+
* For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
245
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
246
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
247
|
+
* for a resource, and
|
|
248
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
249
|
+
* for an EventGrid topic.
|
|
250
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
251
|
+
* @param options The options parameters.
|
|
252
|
+
*/
|
|
253
|
+
beginDeleteAndWait(
|
|
254
|
+
scope: string,
|
|
255
|
+
eventSubscriptionName: string,
|
|
256
|
+
options?: EventSubscriptionsDeleteOptionalParams
|
|
257
|
+
): Promise<void>;
|
|
258
|
+
/**
|
|
259
|
+
* Asynchronously updates an existing event subscription.
|
|
260
|
+
* @param scope The scope of existing event subscription. The scope can be a subscription, or a
|
|
261
|
+
* resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid
|
|
262
|
+
* topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
263
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
264
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
265
|
+
* for a resource, and
|
|
266
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
267
|
+
* for an EventGrid topic.
|
|
268
|
+
* @param eventSubscriptionName Name of the event subscription to be updated.
|
|
269
|
+
* @param eventSubscriptionUpdateParameters Updated event subscription information.
|
|
270
|
+
* @param options The options parameters.
|
|
271
|
+
*/
|
|
272
|
+
beginUpdate(
|
|
273
|
+
scope: string,
|
|
274
|
+
eventSubscriptionName: string,
|
|
275
|
+
eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,
|
|
276
|
+
options?: EventSubscriptionsUpdateOptionalParams
|
|
277
|
+
): Promise<
|
|
278
|
+
PollerLike<
|
|
279
|
+
PollOperationState<EventSubscriptionsUpdateResponse>,
|
|
280
|
+
EventSubscriptionsUpdateResponse
|
|
281
|
+
>
|
|
282
|
+
>;
|
|
283
|
+
/**
|
|
284
|
+
* Asynchronously updates an existing event subscription.
|
|
285
|
+
* @param scope The scope of existing event subscription. The scope can be a subscription, or a
|
|
286
|
+
* resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid
|
|
287
|
+
* topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
288
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
289
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
290
|
+
* for a resource, and
|
|
291
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
292
|
+
* for an EventGrid topic.
|
|
293
|
+
* @param eventSubscriptionName Name of the event subscription to be updated.
|
|
294
|
+
* @param eventSubscriptionUpdateParameters Updated event subscription information.
|
|
295
|
+
* @param options The options parameters.
|
|
296
|
+
*/
|
|
297
|
+
beginUpdateAndWait(
|
|
298
|
+
scope: string,
|
|
299
|
+
eventSubscriptionName: string,
|
|
300
|
+
eventSubscriptionUpdateParameters: EventSubscriptionUpdateParameters,
|
|
301
|
+
options?: EventSubscriptionsUpdateOptionalParams
|
|
302
|
+
): Promise<EventSubscriptionsUpdateResponse>;
|
|
303
|
+
/**
|
|
304
|
+
* Get the full endpoint URL for an event subscription.
|
|
305
|
+
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
306
|
+
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
|
|
307
|
+
* For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
308
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
309
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
310
|
+
* for a resource, and
|
|
311
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
312
|
+
* for an EventGrid topic.
|
|
313
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
314
|
+
* @param options The options parameters.
|
|
315
|
+
*/
|
|
316
|
+
getFullUrl(
|
|
317
|
+
scope: string,
|
|
318
|
+
eventSubscriptionName: string,
|
|
319
|
+
options?: EventSubscriptionsGetFullUrlOptionalParams
|
|
320
|
+
): Promise<EventSubscriptionsGetFullUrlResponse>;
|
|
321
|
+
/**
|
|
322
|
+
* Get all delivery attributes for an event subscription.
|
|
323
|
+
* @param scope The scope of the event subscription. The scope can be a subscription, or a resource
|
|
324
|
+
* group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic.
|
|
325
|
+
* For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
326
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
327
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
328
|
+
* for a resource, and
|
|
329
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
|
|
330
|
+
* for an EventGrid topic.
|
|
331
|
+
* @param eventSubscriptionName Name of the event subscription.
|
|
332
|
+
* @param options The options parameters.
|
|
333
|
+
*/
|
|
334
|
+
getDeliveryAttributes(
|
|
335
|
+
scope: string,
|
|
336
|
+
eventSubscriptionName: string,
|
|
337
|
+
options?: EventSubscriptionsGetDeliveryAttributesOptionalParams
|
|
338
|
+
): Promise<EventSubscriptionsGetDeliveryAttributesResponse>;
|
|
339
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
|
|
9
|
+
import {
|
|
10
|
+
ExtensionTopicsGetOptionalParams,
|
|
11
|
+
ExtensionTopicsGetResponse
|
|
12
|
+
} from "../models";
|
|
13
|
+
|
|
14
|
+
/** Interface representing a ExtensionTopics. */
|
|
15
|
+
export interface ExtensionTopics {
|
|
16
|
+
/**
|
|
17
|
+
* Get the properties of an extension topic.
|
|
18
|
+
* @param scope The identifier of the resource to which extension topic is queried. The scope can be a
|
|
19
|
+
* subscription, or a resource group, or a top level resource belonging to a resource provider
|
|
20
|
+
* namespace. For example, use '/subscriptions/{subscriptionId}/' for a subscription,
|
|
21
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and
|
|
22
|
+
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
|
|
23
|
+
* for Azure resource.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
get(
|
|
27
|
+
scope: string,
|
|
28
|
+
options?: ExtensionTopicsGetOptionalParams
|
|
29
|
+
): Promise<ExtensionTopicsGetResponse>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
|
|
9
|
+
export * from "./domains";
|
|
10
|
+
export * from "./domainTopics";
|
|
11
|
+
export * from "./eventChannels";
|
|
12
|
+
export * from "./eventSubscriptions";
|
|
13
|
+
export * from "./systemTopicEventSubscriptions";
|
|
14
|
+
export * from "./partnerTopicEventSubscriptions";
|
|
15
|
+
export * from "./operations";
|
|
16
|
+
export * from "./partnerNamespaces";
|
|
17
|
+
export * from "./partnerRegistrations";
|
|
18
|
+
export * from "./partnerTopics";
|
|
19
|
+
export * from "./privateEndpointConnections";
|
|
20
|
+
export * from "./privateLinkResources";
|
|
21
|
+
export * from "./systemTopics";
|
|
22
|
+
export * from "./topics";
|
|
23
|
+
export * from "./extensionTopics";
|
|
24
|
+
export * from "./topicTypes";
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { Operation, OperationsListOptionalParams } from "../models";
|
|
11
|
+
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Interface representing a Operations. */
|
|
14
|
+
export interface Operations {
|
|
15
|
+
/**
|
|
16
|
+
* List the available operations supported by the Microsoft.EventGrid resource provider.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
list(
|
|
20
|
+
options?: OperationsListOptionalParams
|
|
21
|
+
): PagedAsyncIterableIterator<Operation>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
PartnerNamespace,
|
|
13
|
+
PartnerNamespacesListBySubscriptionOptionalParams,
|
|
14
|
+
PartnerNamespacesListByResourceGroupOptionalParams,
|
|
15
|
+
PartnerNamespacesGetOptionalParams,
|
|
16
|
+
PartnerNamespacesGetResponse,
|
|
17
|
+
PartnerNamespacesCreateOrUpdateOptionalParams,
|
|
18
|
+
PartnerNamespacesCreateOrUpdateResponse,
|
|
19
|
+
PartnerNamespacesDeleteOptionalParams,
|
|
20
|
+
PartnerNamespaceUpdateParameters,
|
|
21
|
+
PartnerNamespacesUpdateOptionalParams,
|
|
22
|
+
PartnerNamespacesListSharedAccessKeysOptionalParams,
|
|
23
|
+
PartnerNamespacesListSharedAccessKeysResponse,
|
|
24
|
+
PartnerNamespaceRegenerateKeyRequest,
|
|
25
|
+
PartnerNamespacesRegenerateKeyOptionalParams,
|
|
26
|
+
PartnerNamespacesRegenerateKeyResponse
|
|
27
|
+
} from "../models";
|
|
28
|
+
|
|
29
|
+
/// <reference lib="esnext.asynciterable" />
|
|
30
|
+
/** Interface representing a PartnerNamespaces. */
|
|
31
|
+
export interface PartnerNamespaces {
|
|
32
|
+
/**
|
|
33
|
+
* List all the partner namespaces under an Azure subscription.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
listBySubscription(
|
|
37
|
+
options?: PartnerNamespacesListBySubscriptionOptionalParams
|
|
38
|
+
): PagedAsyncIterableIterator<PartnerNamespace>;
|
|
39
|
+
/**
|
|
40
|
+
* List all the partner namespaces under a resource group.
|
|
41
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
listByResourceGroup(
|
|
45
|
+
resourceGroupName: string,
|
|
46
|
+
options?: PartnerNamespacesListByResourceGroupOptionalParams
|
|
47
|
+
): PagedAsyncIterableIterator<PartnerNamespace>;
|
|
48
|
+
/**
|
|
49
|
+
* Get properties of a partner namespace.
|
|
50
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
51
|
+
* @param partnerNamespaceName Name of the partner namespace.
|
|
52
|
+
* @param options The options parameters.
|
|
53
|
+
*/
|
|
54
|
+
get(
|
|
55
|
+
resourceGroupName: string,
|
|
56
|
+
partnerNamespaceName: string,
|
|
57
|
+
options?: PartnerNamespacesGetOptionalParams
|
|
58
|
+
): Promise<PartnerNamespacesGetResponse>;
|
|
59
|
+
/**
|
|
60
|
+
* Asynchronously creates a new partner namespace with the specified parameters.
|
|
61
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
62
|
+
* @param partnerNamespaceName Name of the partner namespace.
|
|
63
|
+
* @param partnerNamespaceInfo PartnerNamespace information.
|
|
64
|
+
* @param options The options parameters.
|
|
65
|
+
*/
|
|
66
|
+
beginCreateOrUpdate(
|
|
67
|
+
resourceGroupName: string,
|
|
68
|
+
partnerNamespaceName: string,
|
|
69
|
+
partnerNamespaceInfo: PartnerNamespace,
|
|
70
|
+
options?: PartnerNamespacesCreateOrUpdateOptionalParams
|
|
71
|
+
): Promise<
|
|
72
|
+
PollerLike<
|
|
73
|
+
PollOperationState<PartnerNamespacesCreateOrUpdateResponse>,
|
|
74
|
+
PartnerNamespacesCreateOrUpdateResponse
|
|
75
|
+
>
|
|
76
|
+
>;
|
|
77
|
+
/**
|
|
78
|
+
* Asynchronously creates a new partner namespace with the specified parameters.
|
|
79
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
80
|
+
* @param partnerNamespaceName Name of the partner namespace.
|
|
81
|
+
* @param partnerNamespaceInfo PartnerNamespace information.
|
|
82
|
+
* @param options The options parameters.
|
|
83
|
+
*/
|
|
84
|
+
beginCreateOrUpdateAndWait(
|
|
85
|
+
resourceGroupName: string,
|
|
86
|
+
partnerNamespaceName: string,
|
|
87
|
+
partnerNamespaceInfo: PartnerNamespace,
|
|
88
|
+
options?: PartnerNamespacesCreateOrUpdateOptionalParams
|
|
89
|
+
): Promise<PartnerNamespacesCreateOrUpdateResponse>;
|
|
90
|
+
/**
|
|
91
|
+
* Delete existing partner namespace.
|
|
92
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
93
|
+
* @param partnerNamespaceName Name of the partner namespace.
|
|
94
|
+
* @param options The options parameters.
|
|
95
|
+
*/
|
|
96
|
+
beginDelete(
|
|
97
|
+
resourceGroupName: string,
|
|
98
|
+
partnerNamespaceName: string,
|
|
99
|
+
options?: PartnerNamespacesDeleteOptionalParams
|
|
100
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
101
|
+
/**
|
|
102
|
+
* Delete existing partner namespace.
|
|
103
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
104
|
+
* @param partnerNamespaceName Name of the partner namespace.
|
|
105
|
+
* @param options The options parameters.
|
|
106
|
+
*/
|
|
107
|
+
beginDeleteAndWait(
|
|
108
|
+
resourceGroupName: string,
|
|
109
|
+
partnerNamespaceName: string,
|
|
110
|
+
options?: PartnerNamespacesDeleteOptionalParams
|
|
111
|
+
): Promise<void>;
|
|
112
|
+
/**
|
|
113
|
+
* Asynchronously updates a partner namespace with the specified parameters.
|
|
114
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
115
|
+
* @param partnerNamespaceName Name of the partner namespace.
|
|
116
|
+
* @param partnerNamespaceUpdateParameters Partner namespace update information.
|
|
117
|
+
* @param options The options parameters.
|
|
118
|
+
*/
|
|
119
|
+
beginUpdate(
|
|
120
|
+
resourceGroupName: string,
|
|
121
|
+
partnerNamespaceName: string,
|
|
122
|
+
partnerNamespaceUpdateParameters: PartnerNamespaceUpdateParameters,
|
|
123
|
+
options?: PartnerNamespacesUpdateOptionalParams
|
|
124
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
125
|
+
/**
|
|
126
|
+
* Asynchronously updates a partner namespace with the specified parameters.
|
|
127
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
128
|
+
* @param partnerNamespaceName Name of the partner namespace.
|
|
129
|
+
* @param partnerNamespaceUpdateParameters Partner namespace update information.
|
|
130
|
+
* @param options The options parameters.
|
|
131
|
+
*/
|
|
132
|
+
beginUpdateAndWait(
|
|
133
|
+
resourceGroupName: string,
|
|
134
|
+
partnerNamespaceName: string,
|
|
135
|
+
partnerNamespaceUpdateParameters: PartnerNamespaceUpdateParameters,
|
|
136
|
+
options?: PartnerNamespacesUpdateOptionalParams
|
|
137
|
+
): Promise<void>;
|
|
138
|
+
/**
|
|
139
|
+
* List the two keys used to publish to a partner namespace.
|
|
140
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
141
|
+
* @param partnerNamespaceName Name of the partner namespace.
|
|
142
|
+
* @param options The options parameters.
|
|
143
|
+
*/
|
|
144
|
+
listSharedAccessKeys(
|
|
145
|
+
resourceGroupName: string,
|
|
146
|
+
partnerNamespaceName: string,
|
|
147
|
+
options?: PartnerNamespacesListSharedAccessKeysOptionalParams
|
|
148
|
+
): Promise<PartnerNamespacesListSharedAccessKeysResponse>;
|
|
149
|
+
/**
|
|
150
|
+
* Regenerate a shared access key for a partner namespace.
|
|
151
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
152
|
+
* @param partnerNamespaceName Name of the partner namespace.
|
|
153
|
+
* @param regenerateKeyRequest Request body to regenerate key.
|
|
154
|
+
* @param options The options parameters.
|
|
155
|
+
*/
|
|
156
|
+
regenerateKey(
|
|
157
|
+
resourceGroupName: string,
|
|
158
|
+
partnerNamespaceName: string,
|
|
159
|
+
regenerateKeyRequest: PartnerNamespaceRegenerateKeyRequest,
|
|
160
|
+
options?: PartnerNamespacesRegenerateKeyOptionalParams
|
|
161
|
+
): Promise<PartnerNamespacesRegenerateKeyResponse>;
|
|
162
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
PartnerRegistration,
|
|
12
|
+
PartnerRegistrationsListBySubscriptionOptionalParams,
|
|
13
|
+
PartnerRegistrationsListByResourceGroupOptionalParams,
|
|
14
|
+
PartnerRegistrationsGetOptionalParams,
|
|
15
|
+
PartnerRegistrationsGetResponse,
|
|
16
|
+
PartnerRegistrationsCreateOrUpdateOptionalParams,
|
|
17
|
+
PartnerRegistrationsCreateOrUpdateResponse,
|
|
18
|
+
PartnerRegistrationsDeleteOptionalParams,
|
|
19
|
+
PartnerRegistrationUpdateParameters,
|
|
20
|
+
PartnerRegistrationsUpdateOptionalParams,
|
|
21
|
+
PartnerRegistrationsUpdateResponse
|
|
22
|
+
} from "../models";
|
|
23
|
+
|
|
24
|
+
/// <reference lib="esnext.asynciterable" />
|
|
25
|
+
/** Interface representing a PartnerRegistrations. */
|
|
26
|
+
export interface PartnerRegistrations {
|
|
27
|
+
/**
|
|
28
|
+
* List all the partner registrations under an Azure subscription.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
listBySubscription(
|
|
32
|
+
options?: PartnerRegistrationsListBySubscriptionOptionalParams
|
|
33
|
+
): PagedAsyncIterableIterator<PartnerRegistration>;
|
|
34
|
+
/**
|
|
35
|
+
* List all the partner registrations under a resource group.
|
|
36
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
listByResourceGroup(
|
|
40
|
+
resourceGroupName: string,
|
|
41
|
+
options?: PartnerRegistrationsListByResourceGroupOptionalParams
|
|
42
|
+
): PagedAsyncIterableIterator<PartnerRegistration>;
|
|
43
|
+
/**
|
|
44
|
+
* Gets a partner registration with the specified parameters.
|
|
45
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
46
|
+
* @param partnerRegistrationName Name of the partner registration.
|
|
47
|
+
* @param options The options parameters.
|
|
48
|
+
*/
|
|
49
|
+
get(
|
|
50
|
+
resourceGroupName: string,
|
|
51
|
+
partnerRegistrationName: string,
|
|
52
|
+
options?: PartnerRegistrationsGetOptionalParams
|
|
53
|
+
): Promise<PartnerRegistrationsGetResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* Creates a new partner registration with the specified parameters.
|
|
56
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
57
|
+
* @param partnerRegistrationName Name of the partner registration.
|
|
58
|
+
* @param partnerRegistrationInfo PartnerRegistration information.
|
|
59
|
+
* @param options The options parameters.
|
|
60
|
+
*/
|
|
61
|
+
createOrUpdate(
|
|
62
|
+
resourceGroupName: string,
|
|
63
|
+
partnerRegistrationName: string,
|
|
64
|
+
partnerRegistrationInfo: PartnerRegistration,
|
|
65
|
+
options?: PartnerRegistrationsCreateOrUpdateOptionalParams
|
|
66
|
+
): Promise<PartnerRegistrationsCreateOrUpdateResponse>;
|
|
67
|
+
/**
|
|
68
|
+
* Deletes a partner registration with the specified parameters.
|
|
69
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
70
|
+
* @param partnerRegistrationName Name of the partner registration.
|
|
71
|
+
* @param options The options parameters.
|
|
72
|
+
*/
|
|
73
|
+
delete(
|
|
74
|
+
resourceGroupName: string,
|
|
75
|
+
partnerRegistrationName: string,
|
|
76
|
+
options?: PartnerRegistrationsDeleteOptionalParams
|
|
77
|
+
): Promise<void>;
|
|
78
|
+
/**
|
|
79
|
+
* Updates a partner registration with the specified parameters.
|
|
80
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
81
|
+
* @param partnerRegistrationName Name of the partner registration.
|
|
82
|
+
* @param partnerRegistrationUpdateParameters Partner registration update information.
|
|
83
|
+
* @param options The options parameters.
|
|
84
|
+
*/
|
|
85
|
+
update(
|
|
86
|
+
resourceGroupName: string,
|
|
87
|
+
partnerRegistrationName: string,
|
|
88
|
+
partnerRegistrationUpdateParameters: PartnerRegistrationUpdateParameters,
|
|
89
|
+
options?: PartnerRegistrationsUpdateOptionalParams
|
|
90
|
+
): Promise<PartnerRegistrationsUpdateResponse>;
|
|
91
|
+
}
|