@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,105 @@
|
|
|
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
|
+
DomainTopic,
|
|
13
|
+
DomainTopicsListByDomainOptionalParams,
|
|
14
|
+
DomainTopicsGetOptionalParams,
|
|
15
|
+
DomainTopicsGetResponse,
|
|
16
|
+
DomainTopicsCreateOrUpdateOptionalParams,
|
|
17
|
+
DomainTopicsCreateOrUpdateResponse,
|
|
18
|
+
DomainTopicsDeleteOptionalParams
|
|
19
|
+
} from "../models";
|
|
20
|
+
|
|
21
|
+
/// <reference lib="esnext.asynciterable" />
|
|
22
|
+
/** Interface representing a DomainTopics. */
|
|
23
|
+
export interface DomainTopics {
|
|
24
|
+
/**
|
|
25
|
+
* List all the topics in a domain.
|
|
26
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
27
|
+
* @param domainName Domain name.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
listByDomain(
|
|
31
|
+
resourceGroupName: string,
|
|
32
|
+
domainName: string,
|
|
33
|
+
options?: DomainTopicsListByDomainOptionalParams
|
|
34
|
+
): PagedAsyncIterableIterator<DomainTopic>;
|
|
35
|
+
/**
|
|
36
|
+
* Get properties of a domain topic.
|
|
37
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
38
|
+
* @param domainName Name of the domain.
|
|
39
|
+
* @param domainTopicName Name of the topic.
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
get(
|
|
43
|
+
resourceGroupName: string,
|
|
44
|
+
domainName: string,
|
|
45
|
+
domainTopicName: string,
|
|
46
|
+
options?: DomainTopicsGetOptionalParams
|
|
47
|
+
): Promise<DomainTopicsGetResponse>;
|
|
48
|
+
/**
|
|
49
|
+
* Asynchronously creates or updates a new domain topic with the specified parameters.
|
|
50
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
51
|
+
* @param domainName Name of the domain.
|
|
52
|
+
* @param domainTopicName Name of the domain topic.
|
|
53
|
+
* @param options The options parameters.
|
|
54
|
+
*/
|
|
55
|
+
beginCreateOrUpdate(
|
|
56
|
+
resourceGroupName: string,
|
|
57
|
+
domainName: string,
|
|
58
|
+
domainTopicName: string,
|
|
59
|
+
options?: DomainTopicsCreateOrUpdateOptionalParams
|
|
60
|
+
): Promise<
|
|
61
|
+
PollerLike<
|
|
62
|
+
PollOperationState<DomainTopicsCreateOrUpdateResponse>,
|
|
63
|
+
DomainTopicsCreateOrUpdateResponse
|
|
64
|
+
>
|
|
65
|
+
>;
|
|
66
|
+
/**
|
|
67
|
+
* Asynchronously creates or updates a new domain topic with the specified parameters.
|
|
68
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
69
|
+
* @param domainName Name of the domain.
|
|
70
|
+
* @param domainTopicName Name of the domain topic.
|
|
71
|
+
* @param options The options parameters.
|
|
72
|
+
*/
|
|
73
|
+
beginCreateOrUpdateAndWait(
|
|
74
|
+
resourceGroupName: string,
|
|
75
|
+
domainName: string,
|
|
76
|
+
domainTopicName: string,
|
|
77
|
+
options?: DomainTopicsCreateOrUpdateOptionalParams
|
|
78
|
+
): Promise<DomainTopicsCreateOrUpdateResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* Delete existing domain topic.
|
|
81
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
82
|
+
* @param domainName Name of the domain.
|
|
83
|
+
* @param domainTopicName Name of the domain topic.
|
|
84
|
+
* @param options The options parameters.
|
|
85
|
+
*/
|
|
86
|
+
beginDelete(
|
|
87
|
+
resourceGroupName: string,
|
|
88
|
+
domainName: string,
|
|
89
|
+
domainTopicName: string,
|
|
90
|
+
options?: DomainTopicsDeleteOptionalParams
|
|
91
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
92
|
+
/**
|
|
93
|
+
* Delete existing domain topic.
|
|
94
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
95
|
+
* @param domainName Name of the domain.
|
|
96
|
+
* @param domainTopicName Name of the domain topic.
|
|
97
|
+
* @param options The options parameters.
|
|
98
|
+
*/
|
|
99
|
+
beginDeleteAndWait(
|
|
100
|
+
resourceGroupName: string,
|
|
101
|
+
domainName: string,
|
|
102
|
+
domainTopicName: string,
|
|
103
|
+
options?: DomainTopicsDeleteOptionalParams
|
|
104
|
+
): Promise<void>;
|
|
105
|
+
}
|
|
@@ -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
|
+
Domain,
|
|
13
|
+
DomainsListBySubscriptionOptionalParams,
|
|
14
|
+
DomainsListByResourceGroupOptionalParams,
|
|
15
|
+
DomainsGetOptionalParams,
|
|
16
|
+
DomainsGetResponse,
|
|
17
|
+
DomainsCreateOrUpdateOptionalParams,
|
|
18
|
+
DomainsCreateOrUpdateResponse,
|
|
19
|
+
DomainsDeleteOptionalParams,
|
|
20
|
+
DomainUpdateParameters,
|
|
21
|
+
DomainsUpdateOptionalParams,
|
|
22
|
+
DomainsListSharedAccessKeysOptionalParams,
|
|
23
|
+
DomainsListSharedAccessKeysResponse,
|
|
24
|
+
DomainRegenerateKeyRequest,
|
|
25
|
+
DomainsRegenerateKeyOptionalParams,
|
|
26
|
+
DomainsRegenerateKeyResponse
|
|
27
|
+
} from "../models";
|
|
28
|
+
|
|
29
|
+
/// <reference lib="esnext.asynciterable" />
|
|
30
|
+
/** Interface representing a Domains. */
|
|
31
|
+
export interface Domains {
|
|
32
|
+
/**
|
|
33
|
+
* List all the domains under an Azure subscription.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
listBySubscription(
|
|
37
|
+
options?: DomainsListBySubscriptionOptionalParams
|
|
38
|
+
): PagedAsyncIterableIterator<Domain>;
|
|
39
|
+
/**
|
|
40
|
+
* List all the domains 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?: DomainsListByResourceGroupOptionalParams
|
|
47
|
+
): PagedAsyncIterableIterator<Domain>;
|
|
48
|
+
/**
|
|
49
|
+
* Get properties of a domain.
|
|
50
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
51
|
+
* @param domainName Name of the domain.
|
|
52
|
+
* @param options The options parameters.
|
|
53
|
+
*/
|
|
54
|
+
get(
|
|
55
|
+
resourceGroupName: string,
|
|
56
|
+
domainName: string,
|
|
57
|
+
options?: DomainsGetOptionalParams
|
|
58
|
+
): Promise<DomainsGetResponse>;
|
|
59
|
+
/**
|
|
60
|
+
* Asynchronously creates or updates a new domain with the specified parameters.
|
|
61
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
62
|
+
* @param domainName Name of the domain.
|
|
63
|
+
* @param domainInfo Domain information.
|
|
64
|
+
* @param options The options parameters.
|
|
65
|
+
*/
|
|
66
|
+
beginCreateOrUpdate(
|
|
67
|
+
resourceGroupName: string,
|
|
68
|
+
domainName: string,
|
|
69
|
+
domainInfo: Domain,
|
|
70
|
+
options?: DomainsCreateOrUpdateOptionalParams
|
|
71
|
+
): Promise<
|
|
72
|
+
PollerLike<
|
|
73
|
+
PollOperationState<DomainsCreateOrUpdateResponse>,
|
|
74
|
+
DomainsCreateOrUpdateResponse
|
|
75
|
+
>
|
|
76
|
+
>;
|
|
77
|
+
/**
|
|
78
|
+
* Asynchronously creates or updates a new domain with the specified parameters.
|
|
79
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
80
|
+
* @param domainName Name of the domain.
|
|
81
|
+
* @param domainInfo Domain information.
|
|
82
|
+
* @param options The options parameters.
|
|
83
|
+
*/
|
|
84
|
+
beginCreateOrUpdateAndWait(
|
|
85
|
+
resourceGroupName: string,
|
|
86
|
+
domainName: string,
|
|
87
|
+
domainInfo: Domain,
|
|
88
|
+
options?: DomainsCreateOrUpdateOptionalParams
|
|
89
|
+
): Promise<DomainsCreateOrUpdateResponse>;
|
|
90
|
+
/**
|
|
91
|
+
* Delete existing domain.
|
|
92
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
93
|
+
* @param domainName Name of the domain.
|
|
94
|
+
* @param options The options parameters.
|
|
95
|
+
*/
|
|
96
|
+
beginDelete(
|
|
97
|
+
resourceGroupName: string,
|
|
98
|
+
domainName: string,
|
|
99
|
+
options?: DomainsDeleteOptionalParams
|
|
100
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
101
|
+
/**
|
|
102
|
+
* Delete existing domain.
|
|
103
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
104
|
+
* @param domainName Name of the domain.
|
|
105
|
+
* @param options The options parameters.
|
|
106
|
+
*/
|
|
107
|
+
beginDeleteAndWait(
|
|
108
|
+
resourceGroupName: string,
|
|
109
|
+
domainName: string,
|
|
110
|
+
options?: DomainsDeleteOptionalParams
|
|
111
|
+
): Promise<void>;
|
|
112
|
+
/**
|
|
113
|
+
* Asynchronously updates a domain with the specified parameters.
|
|
114
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
115
|
+
* @param domainName Name of the domain.
|
|
116
|
+
* @param domainUpdateParameters Domain update information.
|
|
117
|
+
* @param options The options parameters.
|
|
118
|
+
*/
|
|
119
|
+
beginUpdate(
|
|
120
|
+
resourceGroupName: string,
|
|
121
|
+
domainName: string,
|
|
122
|
+
domainUpdateParameters: DomainUpdateParameters,
|
|
123
|
+
options?: DomainsUpdateOptionalParams
|
|
124
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
125
|
+
/**
|
|
126
|
+
* Asynchronously updates a domain with the specified parameters.
|
|
127
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
128
|
+
* @param domainName Name of the domain.
|
|
129
|
+
* @param domainUpdateParameters Domain update information.
|
|
130
|
+
* @param options The options parameters.
|
|
131
|
+
*/
|
|
132
|
+
beginUpdateAndWait(
|
|
133
|
+
resourceGroupName: string,
|
|
134
|
+
domainName: string,
|
|
135
|
+
domainUpdateParameters: DomainUpdateParameters,
|
|
136
|
+
options?: DomainsUpdateOptionalParams
|
|
137
|
+
): Promise<void>;
|
|
138
|
+
/**
|
|
139
|
+
* List the two keys used to publish to a domain.
|
|
140
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
141
|
+
* @param domainName Name of the domain.
|
|
142
|
+
* @param options The options parameters.
|
|
143
|
+
*/
|
|
144
|
+
listSharedAccessKeys(
|
|
145
|
+
resourceGroupName: string,
|
|
146
|
+
domainName: string,
|
|
147
|
+
options?: DomainsListSharedAccessKeysOptionalParams
|
|
148
|
+
): Promise<DomainsListSharedAccessKeysResponse>;
|
|
149
|
+
/**
|
|
150
|
+
* Regenerate a shared access key for a domain.
|
|
151
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
152
|
+
* @param domainName Name of the domain.
|
|
153
|
+
* @param regenerateKeyRequest Request body to regenerate key.
|
|
154
|
+
* @param options The options parameters.
|
|
155
|
+
*/
|
|
156
|
+
regenerateKey(
|
|
157
|
+
resourceGroupName: string,
|
|
158
|
+
domainName: string,
|
|
159
|
+
regenerateKeyRequest: DomainRegenerateKeyRequest,
|
|
160
|
+
options?: DomainsRegenerateKeyOptionalParams
|
|
161
|
+
): Promise<DomainsRegenerateKeyResponse>;
|
|
162
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
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
|
+
EventChannel,
|
|
13
|
+
EventChannelsListByPartnerNamespaceOptionalParams,
|
|
14
|
+
EventChannelsGetOptionalParams,
|
|
15
|
+
EventChannelsGetResponse,
|
|
16
|
+
EventChannelsCreateOrUpdateOptionalParams,
|
|
17
|
+
EventChannelsCreateOrUpdateResponse,
|
|
18
|
+
EventChannelsDeleteOptionalParams
|
|
19
|
+
} from "../models";
|
|
20
|
+
|
|
21
|
+
/// <reference lib="esnext.asynciterable" />
|
|
22
|
+
/** Interface representing a EventChannels. */
|
|
23
|
+
export interface EventChannels {
|
|
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(
|
|
31
|
+
resourceGroupName: string,
|
|
32
|
+
partnerNamespaceName: string,
|
|
33
|
+
options?: EventChannelsListByPartnerNamespaceOptionalParams
|
|
34
|
+
): PagedAsyncIterableIterator<EventChannel>;
|
|
35
|
+
/**
|
|
36
|
+
* Get properties of an event channel.
|
|
37
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
38
|
+
* @param partnerNamespaceName Name of the partner namespace.
|
|
39
|
+
* @param eventChannelName Name of the event channel.
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
get(
|
|
43
|
+
resourceGroupName: string,
|
|
44
|
+
partnerNamespaceName: string,
|
|
45
|
+
eventChannelName: string,
|
|
46
|
+
options?: EventChannelsGetOptionalParams
|
|
47
|
+
): Promise<EventChannelsGetResponse>;
|
|
48
|
+
/**
|
|
49
|
+
* Asynchronously creates a new event channel with the specified parameters.
|
|
50
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
51
|
+
* @param partnerNamespaceName Name of the partner namespace.
|
|
52
|
+
* @param eventChannelName Name of the event channel.
|
|
53
|
+
* @param eventChannelInfo EventChannel information.
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
createOrUpdate(
|
|
57
|
+
resourceGroupName: string,
|
|
58
|
+
partnerNamespaceName: string,
|
|
59
|
+
eventChannelName: string,
|
|
60
|
+
eventChannelInfo: EventChannel,
|
|
61
|
+
options?: EventChannelsCreateOrUpdateOptionalParams
|
|
62
|
+
): Promise<EventChannelsCreateOrUpdateResponse>;
|
|
63
|
+
/**
|
|
64
|
+
* Delete existing event channel.
|
|
65
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
66
|
+
* @param partnerNamespaceName Name of the partner namespace.
|
|
67
|
+
* @param eventChannelName Name of the event channel.
|
|
68
|
+
* @param options The options parameters.
|
|
69
|
+
*/
|
|
70
|
+
beginDelete(
|
|
71
|
+
resourceGroupName: string,
|
|
72
|
+
partnerNamespaceName: string,
|
|
73
|
+
eventChannelName: string,
|
|
74
|
+
options?: EventChannelsDeleteOptionalParams
|
|
75
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
76
|
+
/**
|
|
77
|
+
* Delete existing event channel.
|
|
78
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
79
|
+
* @param partnerNamespaceName Name of the partner namespace.
|
|
80
|
+
* @param eventChannelName Name of the event channel.
|
|
81
|
+
* @param options The options parameters.
|
|
82
|
+
*/
|
|
83
|
+
beginDeleteAndWait(
|
|
84
|
+
resourceGroupName: string,
|
|
85
|
+
partnerNamespaceName: string,
|
|
86
|
+
eventChannelName: string,
|
|
87
|
+
options?: EventChannelsDeleteOptionalParams
|
|
88
|
+
): Promise<void>;
|
|
89
|
+
}
|