@azure/arm-eventgrid 12.0.0 → 13.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 +11 -0
- package/{LICENSE.txt → LICENSE} +1 -1
- package/README.md +70 -82
- package/dist/index.js +7613 -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 +29 -0
- package/dist-esm/src/eventGridManagementClient.d.ts.map +1 -0
- package/dist-esm/src/eventGridManagementClient.js +62 -0
- package/dist-esm/src/eventGridManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -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 +1943 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +204 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +107 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +1216 -1303
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +42 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +347 -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/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/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- 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/privateEndpointConnections.d.ts +89 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +346 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +50 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +176 -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/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/domainTopics.js} +2 -8
- 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/{src/models/privateLinkResourcesMappers.ts → dist-esm/src/operationsInterfaces/domains.js} +2 -7
- package/dist-esm/src/operationsInterfaces/domains.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/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/eventSubscriptions.js} +2 -2
- 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 +12 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +19 -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/privateEndpointConnections.d.ts +62 -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 +23 -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/{esm/models/index.js → dist-esm/src/operationsInterfaces/topics.js} +2 -1
- package/dist-esm/src/operationsInterfaces/topics.js.map +1 -0
- package/dist-esm/test/eventgrid_examples.d.ts +4 -0
- package/dist-esm/test/eventgrid_examples.d.ts.map +1 -0
- package/dist-esm/test/eventgrid_examples.js +166 -0
- package/dist-esm/test/eventgrid_examples.js.map +1 -0
- package/package.json +65 -32
- package/review/arm-eventgrid.api.md +1777 -0
- package/rollup.config.js +181 -30
- package/src/eventGridManagementClient.ts +107 -53
- package/{esm/models/privateLinkResourcesMappers.js → src/index.ts} +5 -2
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1844 -3910
- package/src/models/mappers.ts +1261 -1339
- package/src/models/parameters.ts +239 -82
- package/src/operations/domainTopics.ts +346 -224
- package/src/operations/domains.ts +545 -454
- package/src/operations/eventSubscriptions.ts +1658 -1236
- package/src/operations/extensionTopics.ts +37 -66
- package/src/operations/index.ts +1 -2
- package/src/operations/operations.ts +65 -43
- package/src/operations/privateEndpointConnections.ts +386 -253
- package/src/operations/privateLinkResources.ts +178 -150
- package/src/operations/systemTopicEventSubscriptions.ts +537 -394
- package/src/operations/systemTopics.ts +505 -349
- package/src/operations/topicTypes.ts +138 -114
- package/src/operations/topics.ts +728 -494
- package/src/operationsInterfaces/domainTopics.ts +105 -0
- package/src/operationsInterfaces/domains.ts +162 -0
- package/src/operationsInterfaces/eventSubscriptions.ts +339 -0
- package/src/operationsInterfaces/extensionTopics.ts +30 -0
- package/src/operationsInterfaces/index.ts +19 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +125 -0
- package/src/operationsInterfaces/privateLinkResources.ts +48 -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 +3 -3
- package/types/arm-eventgrid.d.ts +2998 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-eventgrid.js +0 -6824
- package/dist/arm-eventgrid.js.map +0 -1
- package/dist/arm-eventgrid.min.js +0 -1
- package/dist/arm-eventgrid.min.js.map +0 -1
- package/esm/eventGridManagementClient.d.ts +0 -35
- package/esm/eventGridManagementClient.d.ts.map +0 -1
- package/esm/eventGridManagementClient.js +0 -48
- package/esm/eventGridManagementClient.js.map +0 -1
- package/esm/eventGridManagementClientContext.d.ts +0 -23
- package/esm/eventGridManagementClientContext.d.ts.map +0 -1
- package/esm/eventGridManagementClientContext.js +0 -61
- package/esm/eventGridManagementClientContext.js.map +0 -1
- package/esm/models/domainTopicsMappers.d.ts +0 -2
- package/esm/models/domainTopicsMappers.d.ts.map +0 -1
- package/esm/models/domainTopicsMappers.js +0 -9
- package/esm/models/domainTopicsMappers.js.map +0 -1
- package/esm/models/domainsMappers.d.ts +0 -2
- package/esm/models/domainsMappers.d.ts.map +0 -1
- package/esm/models/domainsMappers.js +0 -9
- package/esm/models/domainsMappers.js.map +0 -1
- package/esm/models/eventSubscriptionsMappers.d.ts +0 -2
- package/esm/models/eventSubscriptionsMappers.d.ts.map +0 -1
- package/esm/models/eventSubscriptionsMappers.js +0 -9
- package/esm/models/eventSubscriptionsMappers.js.map +0 -1
- package/esm/models/extensionTopicsMappers.d.ts +0 -2
- package/esm/models/extensionTopicsMappers.d.ts.map +0 -1
- package/esm/models/extensionTopicsMappers.js +0 -9
- package/esm/models/extensionTopicsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -4080
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -109
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -25
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -245
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
- package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.js +0 -9
- package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
- package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
- package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
- package/esm/models/privateLinkResourcesMappers.js.map +0 -1
- package/esm/models/systemTopicEventSubscriptionsMappers.d.ts +0 -2
- package/esm/models/systemTopicEventSubscriptionsMappers.d.ts.map +0 -1
- package/esm/models/systemTopicEventSubscriptionsMappers.js +0 -9
- package/esm/models/systemTopicEventSubscriptionsMappers.js.map +0 -1
- package/esm/models/systemTopicsMappers.d.ts +0 -2
- package/esm/models/systemTopicsMappers.d.ts.map +0 -1
- package/esm/models/systemTopicsMappers.js +0 -9
- package/esm/models/systemTopicsMappers.js.map +0 -1
- package/esm/models/topicTypesMappers.d.ts +0 -2
- package/esm/models/topicTypesMappers.d.ts.map +0 -1
- package/esm/models/topicTypesMappers.js +0 -9
- package/esm/models/topicTypesMappers.js.map +0 -1
- package/esm/models/topicsMappers.d.ts +0 -2
- package/esm/models/topicsMappers.d.ts.map +0 -1
- package/esm/models/topicsMappers.js +0 -9
- package/esm/models/topicsMappers.js.map +0 -1
- package/esm/operations/domainTopics.d.ts +0 -120
- package/esm/operations/domainTopics.d.ts.map +0 -1
- package/esm/operations/domainTopics.js +0 -233
- package/esm/operations/domainTopics.js.map +0 -1
- package/esm/operations/domains.d.ts +0 -214
- package/esm/operations/domains.d.ts.map +0 -1
- package/esm/operations/domains.js +0 -415
- package/esm/operations/domains.js.map +0 -1
- package/esm/operations/eventSubscriptions.d.ts +0 -666
- package/esm/operations/eventSubscriptions.d.ts.map +0 -1
- package/esm/operations/eventSubscriptions.js +0 -969
- package/esm/operations/eventSubscriptions.js.map +0 -1
- package/esm/operations/extensionTopics.d.ts +0 -47
- package/esm/operations/extensionTopics.d.ts.map +0 -1
- package/esm/operations/extensionTopics.js +0 -54
- package/esm/operations/extensionTopics.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -29
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -50
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/privateEndpointConnections.d.ts +0 -152
- package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
- package/esm/operations/privateEndpointConnections.js +0 -263
- package/esm/operations/privateEndpointConnections.js.map +0 -1
- package/esm/operations/privateLinkResources.d.ts +0 -91
- package/esm/operations/privateLinkResources.d.ts.map +0 -1
- package/esm/operations/privateLinkResources.js +0 -127
- package/esm/operations/privateLinkResources.js.map +0 -1
- package/esm/operations/systemTopicEventSubscriptions.d.ts +0 -213
- package/esm/operations/systemTopicEventSubscriptions.d.ts.map +0 -1
- package/esm/operations/systemTopicEventSubscriptions.js +0 -379
- package/esm/operations/systemTopicEventSubscriptions.js.map +0 -1
- package/esm/operations/systemTopics.d.ts +0 -167
- package/esm/operations/systemTopics.d.ts.map +0 -1
- package/esm/operations/systemTopics.js +0 -353
- package/esm/operations/systemTopics.js.map +0 -1
- package/esm/operations/topicTypes.d.ts +0 -67
- package/esm/operations/topicTypes.d.ts.map +0 -1
- package/esm/operations/topicTypes.js +0 -106
- package/esm/operations/topicTypes.js.map +0 -1
- package/esm/operations/topics.d.ts +0 -237
- package/esm/operations/topics.d.ts.map +0 -1
- package/esm/operations/topics.js +0 -471
- package/esm/operations/topics.js.map +0 -1
- package/src/eventGridManagementClientContext.ts +0 -68
- package/src/models/domainTopicsMappers.ts +0 -66
- package/src/models/domainsMappers.ts +0 -69
- package/src/models/eventSubscriptionsMappers.ts +0 -69
- package/src/models/extensionTopicsMappers.ts +0 -65
- package/src/models/privateEndpointConnectionsMappers.ts +0 -66
- package/src/models/systemTopicEventSubscriptionsMappers.ts +0 -69
- package/src/models/systemTopicsMappers.ts +0 -67
- package/src/models/topicTypesMappers.ts +0 -67
- package/src/models/topicsMappers.ts +0 -70
|
@@ -3,620 +3,711 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
7
|
*/
|
|
9
8
|
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import * as
|
|
13
|
-
import * as Mappers from "../models/
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { Domains } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
14
13
|
import * as Parameters from "../models/parameters";
|
|
15
|
-
import {
|
|
14
|
+
import { EventGridManagementClient } from "../eventGridManagementClient";
|
|
15
|
+
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
|
+
import { LroImpl } from "../lroImpl";
|
|
17
|
+
import {
|
|
18
|
+
Domain,
|
|
19
|
+
DomainsListBySubscriptionNextOptionalParams,
|
|
20
|
+
DomainsListBySubscriptionOptionalParams,
|
|
21
|
+
DomainsListByResourceGroupNextOptionalParams,
|
|
22
|
+
DomainsListByResourceGroupOptionalParams,
|
|
23
|
+
DomainsGetOptionalParams,
|
|
24
|
+
DomainsGetResponse,
|
|
25
|
+
DomainsCreateOrUpdateOptionalParams,
|
|
26
|
+
DomainsCreateOrUpdateResponse,
|
|
27
|
+
DomainsDeleteOptionalParams,
|
|
28
|
+
DomainUpdateParameters,
|
|
29
|
+
DomainsUpdateOptionalParams,
|
|
30
|
+
DomainsListBySubscriptionResponse,
|
|
31
|
+
DomainsListByResourceGroupResponse,
|
|
32
|
+
DomainsListSharedAccessKeysOptionalParams,
|
|
33
|
+
DomainsListSharedAccessKeysResponse,
|
|
34
|
+
DomainRegenerateKeyRequest,
|
|
35
|
+
DomainsRegenerateKeyOptionalParams,
|
|
36
|
+
DomainsRegenerateKeyResponse,
|
|
37
|
+
DomainsListBySubscriptionNextResponse,
|
|
38
|
+
DomainsListByResourceGroupNextResponse
|
|
39
|
+
} from "../models";
|
|
16
40
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
41
|
+
/// <reference lib="esnext.asynciterable" />
|
|
42
|
+
/** Class containing Domains operations. */
|
|
43
|
+
export class DomainsImpl implements Domains {
|
|
44
|
+
private readonly client: EventGridManagementClient;
|
|
20
45
|
|
|
21
46
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
47
|
+
* Initialize a new instance of the class Domains class.
|
|
48
|
+
* @param client Reference to the service client
|
|
24
49
|
*/
|
|
25
|
-
constructor(client:
|
|
50
|
+
constructor(client: EventGridManagementClient) {
|
|
26
51
|
this.client = client;
|
|
27
52
|
}
|
|
28
53
|
|
|
29
54
|
/**
|
|
30
|
-
*
|
|
31
|
-
* @
|
|
32
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
33
|
-
* @param domainName Name of the domain.
|
|
34
|
-
* @param [options] The optional parameters
|
|
35
|
-
* @returns Promise<Models.DomainsGetResponse>
|
|
55
|
+
* List all the domains under an Azure subscription.
|
|
56
|
+
* @param options The options parameters.
|
|
36
57
|
*/
|
|
37
|
-
|
|
58
|
+
public listBySubscription(
|
|
59
|
+
options?: DomainsListBySubscriptionOptionalParams
|
|
60
|
+
): PagedAsyncIterableIterator<Domain> {
|
|
61
|
+
const iter = this.listBySubscriptionPagingAll(options);
|
|
62
|
+
return {
|
|
63
|
+
next() {
|
|
64
|
+
return iter.next();
|
|
65
|
+
},
|
|
66
|
+
[Symbol.asyncIterator]() {
|
|
67
|
+
return this;
|
|
68
|
+
},
|
|
69
|
+
byPage: () => {
|
|
70
|
+
return this.listBySubscriptionPagingPage(options);
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
private async *listBySubscriptionPagingPage(
|
|
76
|
+
options?: DomainsListBySubscriptionOptionalParams
|
|
77
|
+
): AsyncIterableIterator<Domain[]> {
|
|
78
|
+
let result = await this._listBySubscription(options);
|
|
79
|
+
yield result.value || [];
|
|
80
|
+
let continuationToken = result.nextLink;
|
|
81
|
+
while (continuationToken) {
|
|
82
|
+
result = await this._listBySubscriptionNext(continuationToken, options);
|
|
83
|
+
continuationToken = result.nextLink;
|
|
84
|
+
yield result.value || [];
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
private async *listBySubscriptionPagingAll(
|
|
89
|
+
options?: DomainsListBySubscriptionOptionalParams
|
|
90
|
+
): AsyncIterableIterator<Domain> {
|
|
91
|
+
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
92
|
+
yield* page;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
38
96
|
/**
|
|
97
|
+
* List all the domains under a resource group.
|
|
39
98
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
40
|
-
* @param
|
|
41
|
-
* @param callback The callback
|
|
99
|
+
* @param options The options parameters.
|
|
42
100
|
*/
|
|
43
|
-
|
|
101
|
+
public listByResourceGroup(
|
|
102
|
+
resourceGroupName: string,
|
|
103
|
+
options?: DomainsListByResourceGroupOptionalParams
|
|
104
|
+
): PagedAsyncIterableIterator<Domain> {
|
|
105
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
106
|
+
return {
|
|
107
|
+
next() {
|
|
108
|
+
return iter.next();
|
|
109
|
+
},
|
|
110
|
+
[Symbol.asyncIterator]() {
|
|
111
|
+
return this;
|
|
112
|
+
},
|
|
113
|
+
byPage: () => {
|
|
114
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
private async *listByResourceGroupPagingPage(
|
|
120
|
+
resourceGroupName: string,
|
|
121
|
+
options?: DomainsListByResourceGroupOptionalParams
|
|
122
|
+
): AsyncIterableIterator<Domain[]> {
|
|
123
|
+
let result = await this._listByResourceGroup(resourceGroupName, options);
|
|
124
|
+
yield result.value || [];
|
|
125
|
+
let continuationToken = result.nextLink;
|
|
126
|
+
while (continuationToken) {
|
|
127
|
+
result = await this._listByResourceGroupNext(
|
|
128
|
+
resourceGroupName,
|
|
129
|
+
continuationToken,
|
|
130
|
+
options
|
|
131
|
+
);
|
|
132
|
+
continuationToken = result.nextLink;
|
|
133
|
+
yield result.value || [];
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
private async *listByResourceGroupPagingAll(
|
|
138
|
+
resourceGroupName: string,
|
|
139
|
+
options?: DomainsListByResourceGroupOptionalParams
|
|
140
|
+
): AsyncIterableIterator<Domain> {
|
|
141
|
+
for await (const page of this.listByResourceGroupPagingPage(
|
|
142
|
+
resourceGroupName,
|
|
143
|
+
options
|
|
144
|
+
)) {
|
|
145
|
+
yield* page;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
44
149
|
/**
|
|
150
|
+
* Get properties of a domain.
|
|
45
151
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
46
152
|
* @param domainName Name of the domain.
|
|
47
|
-
* @param options The
|
|
48
|
-
* @param callback The callback
|
|
153
|
+
* @param options The options parameters.
|
|
49
154
|
*/
|
|
50
|
-
get(
|
|
51
|
-
|
|
155
|
+
get(
|
|
156
|
+
resourceGroupName: string,
|
|
157
|
+
domainName: string,
|
|
158
|
+
options?: DomainsGetOptionalParams
|
|
159
|
+
): Promise<DomainsGetResponse> {
|
|
52
160
|
return this.client.sendOperationRequest(
|
|
53
|
-
{
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
options
|
|
57
|
-
},
|
|
58
|
-
getOperationSpec,
|
|
59
|
-
callback) as Promise<Models.DomainsGetResponse>;
|
|
161
|
+
{ resourceGroupName, domainName, options },
|
|
162
|
+
getOperationSpec
|
|
163
|
+
);
|
|
60
164
|
}
|
|
61
165
|
|
|
62
166
|
/**
|
|
63
167
|
* Asynchronously creates or updates a new domain with the specified parameters.
|
|
64
|
-
* @summary Create or update a domain.
|
|
65
168
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
66
169
|
* @param domainName Name of the domain.
|
|
67
170
|
* @param domainInfo Domain information.
|
|
68
|
-
* @param
|
|
69
|
-
* @returns Promise<Models.DomainsCreateOrUpdateResponse>
|
|
171
|
+
* @param options The options parameters.
|
|
70
172
|
*/
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
173
|
+
async beginCreateOrUpdate(
|
|
174
|
+
resourceGroupName: string,
|
|
175
|
+
domainName: string,
|
|
176
|
+
domainInfo: Domain,
|
|
177
|
+
options?: DomainsCreateOrUpdateOptionalParams
|
|
178
|
+
): Promise<
|
|
179
|
+
PollerLike<
|
|
180
|
+
PollOperationState<DomainsCreateOrUpdateResponse>,
|
|
181
|
+
DomainsCreateOrUpdateResponse
|
|
182
|
+
>
|
|
183
|
+
> {
|
|
184
|
+
const directSendOperation = async (
|
|
185
|
+
args: coreClient.OperationArguments,
|
|
186
|
+
spec: coreClient.OperationSpec
|
|
187
|
+
): Promise<DomainsCreateOrUpdateResponse> => {
|
|
188
|
+
return this.client.sendOperationRequest(args, spec);
|
|
189
|
+
};
|
|
190
|
+
const sendOperation = async (
|
|
191
|
+
args: coreClient.OperationArguments,
|
|
192
|
+
spec: coreClient.OperationSpec
|
|
193
|
+
) => {
|
|
194
|
+
let currentRawResponse:
|
|
195
|
+
| coreClient.FullOperationResponse
|
|
196
|
+
| undefined = undefined;
|
|
197
|
+
const providedCallback = args.options?.onResponse;
|
|
198
|
+
const callback: coreClient.RawResponseCallback = (
|
|
199
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
200
|
+
flatResponse: unknown
|
|
201
|
+
) => {
|
|
202
|
+
currentRawResponse = rawResponse;
|
|
203
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
204
|
+
};
|
|
205
|
+
const updatedArgs = {
|
|
206
|
+
...args,
|
|
207
|
+
options: {
|
|
208
|
+
...args.options,
|
|
209
|
+
onResponse: callback
|
|
210
|
+
}
|
|
211
|
+
};
|
|
212
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
213
|
+
return {
|
|
214
|
+
flatResponse,
|
|
215
|
+
rawResponse: {
|
|
216
|
+
statusCode: currentRawResponse!.status,
|
|
217
|
+
body: currentRawResponse!.parsedBody,
|
|
218
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
219
|
+
}
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
|
|
223
|
+
const lro = new LroImpl(
|
|
224
|
+
sendOperation,
|
|
225
|
+
{ resourceGroupName, domainName, domainInfo, options },
|
|
226
|
+
createOrUpdateOperationSpec
|
|
227
|
+
);
|
|
228
|
+
return new LroEngine(lro, {
|
|
229
|
+
resumeFrom: options?.resumeFrom,
|
|
230
|
+
intervalInMs: options?.updateIntervalInMs
|
|
231
|
+
});
|
|
74
232
|
}
|
|
75
233
|
|
|
76
234
|
/**
|
|
77
|
-
*
|
|
78
|
-
* @summary Delete a domain.
|
|
235
|
+
* Asynchronously creates or updates a new domain with the specified parameters.
|
|
79
236
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
80
237
|
* @param domainName Name of the domain.
|
|
81
|
-
* @param
|
|
82
|
-
* @
|
|
238
|
+
* @param domainInfo Domain information.
|
|
239
|
+
* @param options The options parameters.
|
|
83
240
|
*/
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
241
|
+
async beginCreateOrUpdateAndWait(
|
|
242
|
+
resourceGroupName: string,
|
|
243
|
+
domainName: string,
|
|
244
|
+
domainInfo: Domain,
|
|
245
|
+
options?: DomainsCreateOrUpdateOptionalParams
|
|
246
|
+
): Promise<DomainsCreateOrUpdateResponse> {
|
|
247
|
+
const poller = await this.beginCreateOrUpdate(
|
|
248
|
+
resourceGroupName,
|
|
249
|
+
domainName,
|
|
250
|
+
domainInfo,
|
|
251
|
+
options
|
|
252
|
+
);
|
|
253
|
+
return poller.pollUntilDone();
|
|
87
254
|
}
|
|
88
255
|
|
|
89
256
|
/**
|
|
90
|
-
*
|
|
91
|
-
* @summary Update a domain.
|
|
257
|
+
* Delete existing domain.
|
|
92
258
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
93
259
|
* @param domainName Name of the domain.
|
|
94
|
-
* @param
|
|
95
|
-
* @param [options] The optional parameters
|
|
96
|
-
* @returns Promise<Models.DomainsUpdateResponse>
|
|
260
|
+
* @param options The options parameters.
|
|
97
261
|
*/
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
262
|
+
async beginDelete(
|
|
263
|
+
resourceGroupName: string,
|
|
264
|
+
domainName: string,
|
|
265
|
+
options?: DomainsDeleteOptionalParams
|
|
266
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
267
|
+
const directSendOperation = async (
|
|
268
|
+
args: coreClient.OperationArguments,
|
|
269
|
+
spec: coreClient.OperationSpec
|
|
270
|
+
): Promise<void> => {
|
|
271
|
+
return this.client.sendOperationRequest(args, spec);
|
|
272
|
+
};
|
|
273
|
+
const sendOperation = async (
|
|
274
|
+
args: coreClient.OperationArguments,
|
|
275
|
+
spec: coreClient.OperationSpec
|
|
276
|
+
) => {
|
|
277
|
+
let currentRawResponse:
|
|
278
|
+
| coreClient.FullOperationResponse
|
|
279
|
+
| undefined = undefined;
|
|
280
|
+
const providedCallback = args.options?.onResponse;
|
|
281
|
+
const callback: coreClient.RawResponseCallback = (
|
|
282
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
283
|
+
flatResponse: unknown
|
|
284
|
+
) => {
|
|
285
|
+
currentRawResponse = rawResponse;
|
|
286
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
287
|
+
};
|
|
288
|
+
const updatedArgs = {
|
|
289
|
+
...args,
|
|
290
|
+
options: {
|
|
291
|
+
...args.options,
|
|
292
|
+
onResponse: callback
|
|
293
|
+
}
|
|
294
|
+
};
|
|
295
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
296
|
+
return {
|
|
297
|
+
flatResponse,
|
|
298
|
+
rawResponse: {
|
|
299
|
+
statusCode: currentRawResponse!.status,
|
|
300
|
+
body: currentRawResponse!.parsedBody,
|
|
301
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
302
|
+
}
|
|
303
|
+
};
|
|
304
|
+
};
|
|
102
305
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
*/
|
|
113
|
-
listBySubscription(callback: msRest.ServiceCallback<Models.DomainsListResult>): void;
|
|
114
|
-
/**
|
|
115
|
-
* @param options The optional parameters
|
|
116
|
-
* @param callback The callback
|
|
117
|
-
*/
|
|
118
|
-
listBySubscription(options: Models.DomainsListBySubscriptionOptionalParams, callback: msRest.ServiceCallback<Models.DomainsListResult>): void;
|
|
119
|
-
listBySubscription(options?: Models.DomainsListBySubscriptionOptionalParams | msRest.ServiceCallback<Models.DomainsListResult>, callback?: msRest.ServiceCallback<Models.DomainsListResult>): Promise<Models.DomainsListBySubscriptionResponse> {
|
|
120
|
-
return this.client.sendOperationRequest(
|
|
121
|
-
{
|
|
122
|
-
options
|
|
123
|
-
},
|
|
124
|
-
listBySubscriptionOperationSpec,
|
|
125
|
-
callback) as Promise<Models.DomainsListBySubscriptionResponse>;
|
|
306
|
+
const lro = new LroImpl(
|
|
307
|
+
sendOperation,
|
|
308
|
+
{ resourceGroupName, domainName, options },
|
|
309
|
+
deleteOperationSpec
|
|
310
|
+
);
|
|
311
|
+
return new LroEngine(lro, {
|
|
312
|
+
resumeFrom: options?.resumeFrom,
|
|
313
|
+
intervalInMs: options?.updateIntervalInMs
|
|
314
|
+
});
|
|
126
315
|
}
|
|
127
316
|
|
|
128
317
|
/**
|
|
129
|
-
*
|
|
130
|
-
* @summary List domains under a resource group.
|
|
131
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
132
|
-
* @param [options] The optional parameters
|
|
133
|
-
* @returns Promise<Models.DomainsListByResourceGroupResponse>
|
|
134
|
-
*/
|
|
135
|
-
listByResourceGroup(resourceGroupName: string, options?: Models.DomainsListByResourceGroupOptionalParams): Promise<Models.DomainsListByResourceGroupResponse>;
|
|
136
|
-
/**
|
|
137
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
138
|
-
* @param callback The callback
|
|
139
|
-
*/
|
|
140
|
-
listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.DomainsListResult>): void;
|
|
141
|
-
/**
|
|
318
|
+
* Delete existing domain.
|
|
142
319
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
143
|
-
* @param
|
|
144
|
-
* @param
|
|
320
|
+
* @param domainName Name of the domain.
|
|
321
|
+
* @param options The options parameters.
|
|
145
322
|
*/
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
323
|
+
async beginDeleteAndWait(
|
|
324
|
+
resourceGroupName: string,
|
|
325
|
+
domainName: string,
|
|
326
|
+
options?: DomainsDeleteOptionalParams
|
|
327
|
+
): Promise<void> {
|
|
328
|
+
const poller = await this.beginDelete(
|
|
329
|
+
resourceGroupName,
|
|
330
|
+
domainName,
|
|
331
|
+
options
|
|
332
|
+
);
|
|
333
|
+
return poller.pollUntilDone();
|
|
155
334
|
}
|
|
156
335
|
|
|
157
336
|
/**
|
|
158
|
-
*
|
|
159
|
-
* @summary List keys for a domain.
|
|
160
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
161
|
-
* @param domainName Name of the domain.
|
|
162
|
-
* @param [options] The optional parameters
|
|
163
|
-
* @returns Promise<Models.DomainsListSharedAccessKeysResponse>
|
|
164
|
-
*/
|
|
165
|
-
listSharedAccessKeys(resourceGroupName: string, domainName: string, options?: msRest.RequestOptionsBase): Promise<Models.DomainsListSharedAccessKeysResponse>;
|
|
166
|
-
/**
|
|
167
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
168
|
-
* @param domainName Name of the domain.
|
|
169
|
-
* @param callback The callback
|
|
170
|
-
*/
|
|
171
|
-
listSharedAccessKeys(resourceGroupName: string, domainName: string, callback: msRest.ServiceCallback<Models.DomainSharedAccessKeys>): void;
|
|
172
|
-
/**
|
|
337
|
+
* Asynchronously updates a domain with the specified parameters.
|
|
173
338
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
174
339
|
* @param domainName Name of the domain.
|
|
175
|
-
* @param
|
|
176
|
-
* @param
|
|
340
|
+
* @param domainUpdateParameters Domain update information.
|
|
341
|
+
* @param options The options parameters.
|
|
177
342
|
*/
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
343
|
+
async beginUpdate(
|
|
344
|
+
resourceGroupName: string,
|
|
345
|
+
domainName: string,
|
|
346
|
+
domainUpdateParameters: DomainUpdateParameters,
|
|
347
|
+
options?: DomainsUpdateOptionalParams
|
|
348
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
349
|
+
const directSendOperation = async (
|
|
350
|
+
args: coreClient.OperationArguments,
|
|
351
|
+
spec: coreClient.OperationSpec
|
|
352
|
+
): Promise<void> => {
|
|
353
|
+
return this.client.sendOperationRequest(args, spec);
|
|
354
|
+
};
|
|
355
|
+
const sendOperation = async (
|
|
356
|
+
args: coreClient.OperationArguments,
|
|
357
|
+
spec: coreClient.OperationSpec
|
|
358
|
+
) => {
|
|
359
|
+
let currentRawResponse:
|
|
360
|
+
| coreClient.FullOperationResponse
|
|
361
|
+
| undefined = undefined;
|
|
362
|
+
const providedCallback = args.options?.onResponse;
|
|
363
|
+
const callback: coreClient.RawResponseCallback = (
|
|
364
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
365
|
+
flatResponse: unknown
|
|
366
|
+
) => {
|
|
367
|
+
currentRawResponse = rawResponse;
|
|
368
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
369
|
+
};
|
|
370
|
+
const updatedArgs = {
|
|
371
|
+
...args,
|
|
372
|
+
options: {
|
|
373
|
+
...args.options,
|
|
374
|
+
onResponse: callback
|
|
375
|
+
}
|
|
376
|
+
};
|
|
377
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
378
|
+
return {
|
|
379
|
+
flatResponse,
|
|
380
|
+
rawResponse: {
|
|
381
|
+
statusCode: currentRawResponse!.status,
|
|
382
|
+
body: currentRawResponse!.parsedBody,
|
|
383
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
384
|
+
}
|
|
385
|
+
};
|
|
386
|
+
};
|
|
387
|
+
|
|
388
|
+
const lro = new LroImpl(
|
|
389
|
+
sendOperation,
|
|
390
|
+
{ resourceGroupName, domainName, domainUpdateParameters, options },
|
|
391
|
+
updateOperationSpec
|
|
392
|
+
);
|
|
393
|
+
return new LroEngine(lro, {
|
|
394
|
+
resumeFrom: options?.resumeFrom,
|
|
395
|
+
intervalInMs: options?.updateIntervalInMs
|
|
396
|
+
});
|
|
188
397
|
}
|
|
189
398
|
|
|
190
399
|
/**
|
|
191
|
-
*
|
|
192
|
-
* @summary Regenerate key for a domain.
|
|
193
|
-
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
194
|
-
* @param domainName Name of the domain.
|
|
195
|
-
* @param regenerateKeyRequest Request body to regenerate key.
|
|
196
|
-
* @param [options] The optional parameters
|
|
197
|
-
* @returns Promise<Models.DomainsRegenerateKeyResponse>
|
|
198
|
-
*/
|
|
199
|
-
regenerateKey(resourceGroupName: string, domainName: string, regenerateKeyRequest: Models.DomainRegenerateKeyRequest, options?: msRest.RequestOptionsBase): Promise<Models.DomainsRegenerateKeyResponse>;
|
|
200
|
-
/**
|
|
400
|
+
* Asynchronously updates a domain with the specified parameters.
|
|
201
401
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
202
402
|
* @param domainName Name of the domain.
|
|
203
|
-
* @param
|
|
204
|
-
* @param
|
|
403
|
+
* @param domainUpdateParameters Domain update information.
|
|
404
|
+
* @param options The options parameters.
|
|
205
405
|
*/
|
|
206
|
-
|
|
406
|
+
async beginUpdateAndWait(
|
|
407
|
+
resourceGroupName: string,
|
|
408
|
+
domainName: string,
|
|
409
|
+
domainUpdateParameters: DomainUpdateParameters,
|
|
410
|
+
options?: DomainsUpdateOptionalParams
|
|
411
|
+
): Promise<void> {
|
|
412
|
+
const poller = await this.beginUpdate(
|
|
413
|
+
resourceGroupName,
|
|
414
|
+
domainName,
|
|
415
|
+
domainUpdateParameters,
|
|
416
|
+
options
|
|
417
|
+
);
|
|
418
|
+
return poller.pollUntilDone();
|
|
419
|
+
}
|
|
420
|
+
|
|
207
421
|
/**
|
|
208
|
-
*
|
|
209
|
-
* @param
|
|
210
|
-
* @param regenerateKeyRequest Request body to regenerate key.
|
|
211
|
-
* @param options The optional parameters
|
|
212
|
-
* @param callback The callback
|
|
422
|
+
* List all the domains under an Azure subscription.
|
|
423
|
+
* @param options The options parameters.
|
|
213
424
|
*/
|
|
214
|
-
|
|
215
|
-
|
|
425
|
+
private _listBySubscription(
|
|
426
|
+
options?: DomainsListBySubscriptionOptionalParams
|
|
427
|
+
): Promise<DomainsListBySubscriptionResponse> {
|
|
216
428
|
return this.client.sendOperationRequest(
|
|
217
|
-
{
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
regenerateKeyRequest,
|
|
221
|
-
options
|
|
222
|
-
},
|
|
223
|
-
regenerateKeyOperationSpec,
|
|
224
|
-
callback) as Promise<Models.DomainsRegenerateKeyResponse>;
|
|
429
|
+
{ options },
|
|
430
|
+
listBySubscriptionOperationSpec
|
|
431
|
+
);
|
|
225
432
|
}
|
|
226
433
|
|
|
227
434
|
/**
|
|
228
|
-
*
|
|
229
|
-
* @summary Create or update a domain.
|
|
435
|
+
* List all the domains under a resource group.
|
|
230
436
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
231
|
-
* @param
|
|
232
|
-
* @param domainInfo Domain information.
|
|
233
|
-
* @param [options] The optional parameters
|
|
234
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
437
|
+
* @param options The options parameters.
|
|
235
438
|
*/
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
beginCreateOrUpdateOperationSpec,
|
|
245
|
-
options);
|
|
439
|
+
private _listByResourceGroup(
|
|
440
|
+
resourceGroupName: string,
|
|
441
|
+
options?: DomainsListByResourceGroupOptionalParams
|
|
442
|
+
): Promise<DomainsListByResourceGroupResponse> {
|
|
443
|
+
return this.client.sendOperationRequest(
|
|
444
|
+
{ resourceGroupName, options },
|
|
445
|
+
listByResourceGroupOperationSpec
|
|
446
|
+
);
|
|
246
447
|
}
|
|
247
448
|
|
|
248
449
|
/**
|
|
249
|
-
*
|
|
250
|
-
* @summary Delete a domain.
|
|
450
|
+
* List the two keys used to publish to a domain.
|
|
251
451
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
252
452
|
* @param domainName Name of the domain.
|
|
253
|
-
* @param
|
|
254
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
453
|
+
* @param options The options parameters.
|
|
255
454
|
*/
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
},
|
|
263
|
-
|
|
264
|
-
|
|
455
|
+
listSharedAccessKeys(
|
|
456
|
+
resourceGroupName: string,
|
|
457
|
+
domainName: string,
|
|
458
|
+
options?: DomainsListSharedAccessKeysOptionalParams
|
|
459
|
+
): Promise<DomainsListSharedAccessKeysResponse> {
|
|
460
|
+
return this.client.sendOperationRequest(
|
|
461
|
+
{ resourceGroupName, domainName, options },
|
|
462
|
+
listSharedAccessKeysOperationSpec
|
|
463
|
+
);
|
|
265
464
|
}
|
|
266
465
|
|
|
267
466
|
/**
|
|
268
|
-
*
|
|
269
|
-
* @summary Update a domain.
|
|
467
|
+
* Regenerate a shared access key for a domain.
|
|
270
468
|
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
271
469
|
* @param domainName Name of the domain.
|
|
272
|
-
* @param
|
|
273
|
-
* @param
|
|
274
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
470
|
+
* @param regenerateKeyRequest Request body to regenerate key.
|
|
471
|
+
* @param options The options parameters.
|
|
275
472
|
*/
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
},
|
|
284
|
-
|
|
285
|
-
|
|
473
|
+
regenerateKey(
|
|
474
|
+
resourceGroupName: string,
|
|
475
|
+
domainName: string,
|
|
476
|
+
regenerateKeyRequest: DomainRegenerateKeyRequest,
|
|
477
|
+
options?: DomainsRegenerateKeyOptionalParams
|
|
478
|
+
): Promise<DomainsRegenerateKeyResponse> {
|
|
479
|
+
return this.client.sendOperationRequest(
|
|
480
|
+
{ resourceGroupName, domainName, regenerateKeyRequest, options },
|
|
481
|
+
regenerateKeyOperationSpec
|
|
482
|
+
);
|
|
286
483
|
}
|
|
287
484
|
|
|
288
485
|
/**
|
|
289
|
-
*
|
|
290
|
-
* @
|
|
291
|
-
* @param
|
|
292
|
-
* @param [options] The optional parameters
|
|
293
|
-
* @returns Promise<Models.DomainsListBySubscriptionNextResponse>
|
|
294
|
-
*/
|
|
295
|
-
listBySubscriptionNext(nextPageLink: string, options?: Models.DomainsListBySubscriptionNextOptionalParams): Promise<Models.DomainsListBySubscriptionNextResponse>;
|
|
296
|
-
/**
|
|
297
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
298
|
-
* @param callback The callback
|
|
299
|
-
*/
|
|
300
|
-
listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.DomainsListResult>): void;
|
|
301
|
-
/**
|
|
302
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
303
|
-
* @param options The optional parameters
|
|
304
|
-
* @param callback The callback
|
|
486
|
+
* ListBySubscriptionNext
|
|
487
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
488
|
+
* @param options The options parameters.
|
|
305
489
|
*/
|
|
306
|
-
|
|
307
|
-
|
|
490
|
+
private _listBySubscriptionNext(
|
|
491
|
+
nextLink: string,
|
|
492
|
+
options?: DomainsListBySubscriptionNextOptionalParams
|
|
493
|
+
): Promise<DomainsListBySubscriptionNextResponse> {
|
|
308
494
|
return this.client.sendOperationRequest(
|
|
309
|
-
{
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
},
|
|
313
|
-
listBySubscriptionNextOperationSpec,
|
|
314
|
-
callback) as Promise<Models.DomainsListBySubscriptionNextResponse>;
|
|
495
|
+
{ nextLink, options },
|
|
496
|
+
listBySubscriptionNextOperationSpec
|
|
497
|
+
);
|
|
315
498
|
}
|
|
316
499
|
|
|
317
500
|
/**
|
|
318
|
-
*
|
|
319
|
-
* @
|
|
320
|
-
* @param
|
|
321
|
-
* @param
|
|
322
|
-
* @returns Promise<Models.DomainsListByResourceGroupNextResponse>
|
|
323
|
-
*/
|
|
324
|
-
listByResourceGroupNext(nextPageLink: string, options?: Models.DomainsListByResourceGroupNextOptionalParams): Promise<Models.DomainsListByResourceGroupNextResponse>;
|
|
325
|
-
/**
|
|
326
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
327
|
-
* @param callback The callback
|
|
328
|
-
*/
|
|
329
|
-
listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.DomainsListResult>): void;
|
|
330
|
-
/**
|
|
331
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
332
|
-
* @param options The optional parameters
|
|
333
|
-
* @param callback The callback
|
|
501
|
+
* ListByResourceGroupNext
|
|
502
|
+
* @param resourceGroupName The name of the resource group within the user's subscription.
|
|
503
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
504
|
+
* @param options The options parameters.
|
|
334
505
|
*/
|
|
335
|
-
|
|
336
|
-
|
|
506
|
+
private _listByResourceGroupNext(
|
|
507
|
+
resourceGroupName: string,
|
|
508
|
+
nextLink: string,
|
|
509
|
+
options?: DomainsListByResourceGroupNextOptionalParams
|
|
510
|
+
): Promise<DomainsListByResourceGroupNextResponse> {
|
|
337
511
|
return this.client.sendOperationRequest(
|
|
338
|
-
{
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
},
|
|
342
|
-
listByResourceGroupNextOperationSpec,
|
|
343
|
-
callback) as Promise<Models.DomainsListByResourceGroupNextResponse>;
|
|
512
|
+
{ resourceGroupName, nextLink, options },
|
|
513
|
+
listByResourceGroupNextOperationSpec
|
|
514
|
+
);
|
|
344
515
|
}
|
|
345
516
|
}
|
|
346
|
-
|
|
347
517
|
// Operation Specifications
|
|
348
|
-
const serializer =
|
|
349
|
-
|
|
518
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
519
|
+
|
|
520
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
521
|
+
path:
|
|
522
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}",
|
|
350
523
|
httpMethod: "GET",
|
|
351
|
-
|
|
524
|
+
responses: {
|
|
525
|
+
200: {
|
|
526
|
+
bodyMapper: Mappers.Domain
|
|
527
|
+
},
|
|
528
|
+
default: {}
|
|
529
|
+
},
|
|
530
|
+
queryParameters: [Parameters.apiVersion],
|
|
352
531
|
urlParameters: [
|
|
532
|
+
Parameters.$host,
|
|
353
533
|
Parameters.subscriptionId,
|
|
354
534
|
Parameters.resourceGroupName,
|
|
355
535
|
Parameters.domainName
|
|
356
536
|
],
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
537
|
+
headerParameters: [Parameters.accept],
|
|
538
|
+
serializer
|
|
539
|
+
};
|
|
540
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
541
|
+
path:
|
|
542
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}",
|
|
543
|
+
httpMethod: "PUT",
|
|
363
544
|
responses: {
|
|
364
545
|
200: {
|
|
365
546
|
bodyMapper: Mappers.Domain
|
|
366
547
|
},
|
|
367
|
-
|
|
368
|
-
bodyMapper: Mappers.
|
|
369
|
-
}
|
|
548
|
+
201: {
|
|
549
|
+
bodyMapper: Mappers.Domain
|
|
550
|
+
},
|
|
551
|
+
202: {
|
|
552
|
+
bodyMapper: Mappers.Domain
|
|
553
|
+
},
|
|
554
|
+
204: {
|
|
555
|
+
bodyMapper: Mappers.Domain
|
|
556
|
+
},
|
|
557
|
+
default: {}
|
|
370
558
|
},
|
|
559
|
+
requestBody: Parameters.domainInfo,
|
|
560
|
+
queryParameters: [Parameters.apiVersion],
|
|
561
|
+
urlParameters: [
|
|
562
|
+
Parameters.$host,
|
|
563
|
+
Parameters.subscriptionId,
|
|
564
|
+
Parameters.resourceGroupName,
|
|
565
|
+
Parameters.domainName
|
|
566
|
+
],
|
|
567
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
568
|
+
mediaType: "json",
|
|
371
569
|
serializer
|
|
372
570
|
};
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
571
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
572
|
+
path:
|
|
573
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}",
|
|
574
|
+
httpMethod: "DELETE",
|
|
575
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
|
576
|
+
queryParameters: [Parameters.apiVersion],
|
|
377
577
|
urlParameters: [
|
|
378
|
-
Parameters
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
Parameters.
|
|
382
|
-
Parameters.filter,
|
|
383
|
-
Parameters.top
|
|
578
|
+
Parameters.$host,
|
|
579
|
+
Parameters.subscriptionId,
|
|
580
|
+
Parameters.resourceGroupName,
|
|
581
|
+
Parameters.domainName
|
|
384
582
|
],
|
|
385
|
-
|
|
386
|
-
|
|
583
|
+
serializer
|
|
584
|
+
};
|
|
585
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
|
586
|
+
path:
|
|
587
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}",
|
|
588
|
+
httpMethod: "PATCH",
|
|
589
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
|
590
|
+
requestBody: Parameters.domainUpdateParameters,
|
|
591
|
+
queryParameters: [Parameters.apiVersion],
|
|
592
|
+
urlParameters: [
|
|
593
|
+
Parameters.$host,
|
|
594
|
+
Parameters.subscriptionId,
|
|
595
|
+
Parameters.resourceGroupName,
|
|
596
|
+
Parameters.domainName
|
|
387
597
|
],
|
|
598
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
599
|
+
mediaType: "json",
|
|
600
|
+
serializer
|
|
601
|
+
};
|
|
602
|
+
const listBySubscriptionOperationSpec: coreClient.OperationSpec = {
|
|
603
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/domains",
|
|
604
|
+
httpMethod: "GET",
|
|
388
605
|
responses: {
|
|
389
606
|
200: {
|
|
390
607
|
bodyMapper: Mappers.DomainsListResult
|
|
391
608
|
},
|
|
392
|
-
default: {
|
|
393
|
-
bodyMapper: Mappers.CloudError
|
|
394
|
-
}
|
|
609
|
+
default: {}
|
|
395
610
|
},
|
|
611
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
612
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
613
|
+
headerParameters: [Parameters.accept],
|
|
396
614
|
serializer
|
|
397
615
|
};
|
|
398
|
-
|
|
399
|
-
|
|
616
|
+
const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
617
|
+
path:
|
|
618
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains",
|
|
400
619
|
httpMethod: "GET",
|
|
401
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains",
|
|
402
|
-
urlParameters: [
|
|
403
|
-
Parameters.subscriptionId,
|
|
404
|
-
Parameters.resourceGroupName
|
|
405
|
-
],
|
|
406
|
-
queryParameters: [
|
|
407
|
-
Parameters.apiVersion,
|
|
408
|
-
Parameters.filter,
|
|
409
|
-
Parameters.top
|
|
410
|
-
],
|
|
411
|
-
headerParameters: [
|
|
412
|
-
Parameters.acceptLanguage
|
|
413
|
-
],
|
|
414
620
|
responses: {
|
|
415
621
|
200: {
|
|
416
622
|
bodyMapper: Mappers.DomainsListResult
|
|
417
623
|
},
|
|
418
|
-
default: {
|
|
419
|
-
bodyMapper: Mappers.CloudError
|
|
420
|
-
}
|
|
624
|
+
default: {}
|
|
421
625
|
},
|
|
422
|
-
|
|
423
|
-
};
|
|
424
|
-
|
|
425
|
-
const listSharedAccessKeysOperationSpec: msRest.OperationSpec = {
|
|
426
|
-
httpMethod: "POST",
|
|
427
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/listKeys",
|
|
626
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
428
627
|
urlParameters: [
|
|
628
|
+
Parameters.$host,
|
|
429
629
|
Parameters.subscriptionId,
|
|
430
|
-
Parameters.resourceGroupName
|
|
431
|
-
Parameters.domainName
|
|
432
|
-
],
|
|
433
|
-
queryParameters: [
|
|
434
|
-
Parameters.apiVersion
|
|
435
|
-
],
|
|
436
|
-
headerParameters: [
|
|
437
|
-
Parameters.acceptLanguage
|
|
630
|
+
Parameters.resourceGroupName
|
|
438
631
|
],
|
|
439
|
-
|
|
440
|
-
200: {
|
|
441
|
-
bodyMapper: Mappers.DomainSharedAccessKeys
|
|
442
|
-
},
|
|
443
|
-
default: {
|
|
444
|
-
bodyMapper: Mappers.CloudError
|
|
445
|
-
}
|
|
446
|
-
},
|
|
632
|
+
headerParameters: [Parameters.accept],
|
|
447
633
|
serializer
|
|
448
634
|
};
|
|
449
|
-
|
|
450
|
-
|
|
635
|
+
const listSharedAccessKeysOperationSpec: coreClient.OperationSpec = {
|
|
636
|
+
path:
|
|
637
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/listKeys",
|
|
451
638
|
httpMethod: "POST",
|
|
452
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/regenerateKey",
|
|
453
|
-
urlParameters: [
|
|
454
|
-
Parameters.subscriptionId,
|
|
455
|
-
Parameters.resourceGroupName,
|
|
456
|
-
Parameters.domainName
|
|
457
|
-
],
|
|
458
|
-
queryParameters: [
|
|
459
|
-
Parameters.apiVersion
|
|
460
|
-
],
|
|
461
|
-
headerParameters: [
|
|
462
|
-
Parameters.acceptLanguage
|
|
463
|
-
],
|
|
464
|
-
requestBody: {
|
|
465
|
-
parameterPath: "regenerateKeyRequest",
|
|
466
|
-
mapper: {
|
|
467
|
-
...Mappers.DomainRegenerateKeyRequest,
|
|
468
|
-
required: true
|
|
469
|
-
}
|
|
470
|
-
},
|
|
471
639
|
responses: {
|
|
472
640
|
200: {
|
|
473
641
|
bodyMapper: Mappers.DomainSharedAccessKeys
|
|
474
642
|
},
|
|
475
|
-
default: {
|
|
476
|
-
bodyMapper: Mappers.CloudError
|
|
477
|
-
}
|
|
643
|
+
default: {}
|
|
478
644
|
},
|
|
479
|
-
|
|
480
|
-
};
|
|
481
|
-
|
|
482
|
-
const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
483
|
-
httpMethod: "PUT",
|
|
484
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}",
|
|
645
|
+
queryParameters: [Parameters.apiVersion],
|
|
485
646
|
urlParameters: [
|
|
647
|
+
Parameters.$host,
|
|
486
648
|
Parameters.subscriptionId,
|
|
487
649
|
Parameters.resourceGroupName,
|
|
488
650
|
Parameters.domainName
|
|
489
651
|
],
|
|
490
|
-
|
|
491
|
-
Parameters.apiVersion
|
|
492
|
-
],
|
|
493
|
-
headerParameters: [
|
|
494
|
-
Parameters.acceptLanguage
|
|
495
|
-
],
|
|
496
|
-
requestBody: {
|
|
497
|
-
parameterPath: "domainInfo",
|
|
498
|
-
mapper: {
|
|
499
|
-
...Mappers.Domain,
|
|
500
|
-
required: true
|
|
501
|
-
}
|
|
502
|
-
},
|
|
503
|
-
responses: {
|
|
504
|
-
201: {
|
|
505
|
-
bodyMapper: Mappers.Domain
|
|
506
|
-
},
|
|
507
|
-
default: {
|
|
508
|
-
bodyMapper: Mappers.CloudError
|
|
509
|
-
}
|
|
510
|
-
},
|
|
652
|
+
headerParameters: [Parameters.accept],
|
|
511
653
|
serializer
|
|
512
654
|
};
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
urlParameters: [
|
|
518
|
-
Parameters.subscriptionId,
|
|
519
|
-
Parameters.resourceGroupName,
|
|
520
|
-
Parameters.domainName
|
|
521
|
-
],
|
|
522
|
-
queryParameters: [
|
|
523
|
-
Parameters.apiVersion
|
|
524
|
-
],
|
|
525
|
-
headerParameters: [
|
|
526
|
-
Parameters.acceptLanguage
|
|
527
|
-
],
|
|
655
|
+
const regenerateKeyOperationSpec: coreClient.OperationSpec = {
|
|
656
|
+
path:
|
|
657
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/regenerateKey",
|
|
658
|
+
httpMethod: "POST",
|
|
528
659
|
responses: {
|
|
529
|
-
200: {
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
default: {
|
|
533
|
-
bodyMapper: Mappers.CloudError
|
|
534
|
-
}
|
|
660
|
+
200: {
|
|
661
|
+
bodyMapper: Mappers.DomainSharedAccessKeys
|
|
662
|
+
},
|
|
663
|
+
default: {}
|
|
535
664
|
},
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
const beginUpdateOperationSpec: msRest.OperationSpec = {
|
|
540
|
-
httpMethod: "PATCH",
|
|
541
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}",
|
|
665
|
+
requestBody: Parameters.regenerateKeyRequest,
|
|
666
|
+
queryParameters: [Parameters.apiVersion],
|
|
542
667
|
urlParameters: [
|
|
668
|
+
Parameters.$host,
|
|
543
669
|
Parameters.subscriptionId,
|
|
544
670
|
Parameters.resourceGroupName,
|
|
545
671
|
Parameters.domainName
|
|
546
672
|
],
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
],
|
|
550
|
-
headerParameters: [
|
|
551
|
-
Parameters.acceptLanguage
|
|
552
|
-
],
|
|
553
|
-
requestBody: {
|
|
554
|
-
parameterPath: "domainUpdateParameters",
|
|
555
|
-
mapper: {
|
|
556
|
-
...Mappers.DomainUpdateParameters,
|
|
557
|
-
required: true
|
|
558
|
-
}
|
|
559
|
-
},
|
|
560
|
-
responses: {
|
|
561
|
-
200: {},
|
|
562
|
-
201: {
|
|
563
|
-
bodyMapper: Mappers.Domain
|
|
564
|
-
},
|
|
565
|
-
default: {
|
|
566
|
-
bodyMapper: Mappers.CloudError
|
|
567
|
-
}
|
|
568
|
-
},
|
|
673
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
674
|
+
mediaType: "json",
|
|
569
675
|
serializer
|
|
570
676
|
};
|
|
571
|
-
|
|
572
|
-
const listBySubscriptionNextOperationSpec: msRest.OperationSpec = {
|
|
573
|
-
httpMethod: "GET",
|
|
574
|
-
baseUrl: "https://management.azure.com",
|
|
677
|
+
const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {
|
|
575
678
|
path: "{nextLink}",
|
|
576
|
-
|
|
577
|
-
Parameters.nextPageLink
|
|
578
|
-
],
|
|
579
|
-
queryParameters: [
|
|
580
|
-
Parameters.apiVersion,
|
|
581
|
-
Parameters.filter,
|
|
582
|
-
Parameters.top
|
|
583
|
-
],
|
|
584
|
-
headerParameters: [
|
|
585
|
-
Parameters.acceptLanguage
|
|
586
|
-
],
|
|
679
|
+
httpMethod: "GET",
|
|
587
680
|
responses: {
|
|
588
681
|
200: {
|
|
589
682
|
bodyMapper: Mappers.DomainsListResult
|
|
590
683
|
},
|
|
591
|
-
default: {
|
|
592
|
-
bodyMapper: Mappers.CloudError
|
|
593
|
-
}
|
|
684
|
+
default: {}
|
|
594
685
|
},
|
|
686
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
687
|
+
urlParameters: [
|
|
688
|
+
Parameters.$host,
|
|
689
|
+
Parameters.subscriptionId,
|
|
690
|
+
Parameters.nextLink
|
|
691
|
+
],
|
|
692
|
+
headerParameters: [Parameters.accept],
|
|
595
693
|
serializer
|
|
596
694
|
};
|
|
597
|
-
|
|
598
|
-
const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
|
|
599
|
-
httpMethod: "GET",
|
|
600
|
-
baseUrl: "https://management.azure.com",
|
|
695
|
+
const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
601
696
|
path: "{nextLink}",
|
|
602
|
-
|
|
603
|
-
Parameters.nextPageLink
|
|
604
|
-
],
|
|
605
|
-
queryParameters: [
|
|
606
|
-
Parameters.apiVersion,
|
|
607
|
-
Parameters.filter,
|
|
608
|
-
Parameters.top
|
|
609
|
-
],
|
|
610
|
-
headerParameters: [
|
|
611
|
-
Parameters.acceptLanguage
|
|
612
|
-
],
|
|
697
|
+
httpMethod: "GET",
|
|
613
698
|
responses: {
|
|
614
699
|
200: {
|
|
615
700
|
bodyMapper: Mappers.DomainsListResult
|
|
616
701
|
},
|
|
617
|
-
default: {
|
|
618
|
-
bodyMapper: Mappers.CloudError
|
|
619
|
-
}
|
|
702
|
+
default: {}
|
|
620
703
|
},
|
|
704
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
705
|
+
urlParameters: [
|
|
706
|
+
Parameters.$host,
|
|
707
|
+
Parameters.subscriptionId,
|
|
708
|
+
Parameters.resourceGroupName,
|
|
709
|
+
Parameters.nextLink
|
|
710
|
+
],
|
|
711
|
+
headerParameters: [Parameters.accept],
|
|
621
712
|
serializer
|
|
622
713
|
};
|