@azure/arm-appservice 30.0.0-alpha.20211001.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 +27 -0
- package/LICENSE +21 -0
- package/README.md +96 -0
- package/dist/index.js +59024 -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/index.d.ts +6 -0
- package/dist-esm/index.d.ts.map +1 -0
- package/dist-esm/index.js +13 -0
- package/dist-esm/index.js.map +1 -0
- package/dist-esm/lroImpl.d.ts +16 -0
- package/dist-esm/lroImpl.d.ts.map +1 -0
- package/dist-esm/lroImpl.js +29 -0
- package/dist-esm/lroImpl.js.map +1 -0
- package/dist-esm/models/index.d.ts +12050 -0
- package/dist-esm/models/index.d.ts.map +1 -0
- package/dist-esm/models/index.js +227 -0
- package/dist-esm/models/index.js.map +1 -0
- package/dist-esm/models/mappers.d.ts +405 -0
- package/dist-esm/models/mappers.d.ts.map +1 -0
- package/dist-esm/models/mappers.js +19668 -0
- package/dist-esm/models/mappers.js.map +1 -0
- package/dist-esm/models/parameters.d.ts +183 -0
- package/dist-esm/models/parameters.d.ts.map +1 -0
- package/dist-esm/models/parameters.js +1382 -0
- package/dist-esm/models/parameters.js.map +1 -0
- package/dist-esm/operations/appServiceCertificateOrders.d.ts +233 -0
- package/dist-esm/operations/appServiceCertificateOrders.d.ts.map +1 -0
- package/dist-esm/operations/appServiceCertificateOrders.js +1024 -0
- package/dist-esm/operations/appServiceCertificateOrders.js.map +1 -0
- package/dist-esm/operations/appServiceEnvironments.d.ts +780 -0
- package/dist-esm/operations/appServiceEnvironments.d.ts.map +1 -0
- package/dist-esm/operations/appServiceEnvironments.js +3646 -0
- package/dist-esm/operations/appServiceEnvironments.js.map +1 -0
- package/dist-esm/operations/appServicePlans.d.ts +339 -0
- package/dist-esm/operations/appServicePlans.d.ts.map +1 -0
- package/dist-esm/operations/appServicePlans.js +1490 -0
- package/dist-esm/operations/appServicePlans.js.map +1 -0
- package/dist-esm/operations/certificateOrdersDiagnostics.d.ts +48 -0
- package/dist-esm/operations/certificateOrdersDiagnostics.d.ts.map +1 -0
- package/dist-esm/operations/certificateOrdersDiagnostics.js +176 -0
- package/dist-esm/operations/certificateOrdersDiagnostics.js.map +1 -0
- package/dist-esm/operations/certificateRegistrationProvider.d.ts +35 -0
- package/dist-esm/operations/certificateRegistrationProvider.d.ts.map +1 -0
- package/dist-esm/operations/certificateRegistrationProvider.js +123 -0
- package/dist-esm/operations/certificateRegistrationProvider.js.map +1 -0
- package/dist-esm/operations/certificates.d.ts +84 -0
- package/dist-esm/operations/certificates.d.ts.map +1 -0
- package/dist-esm/operations/certificates.js +357 -0
- package/dist-esm/operations/certificates.js.map +1 -0
- package/dist-esm/operations/deletedWebApps.d.ts +61 -0
- package/dist-esm/operations/deletedWebApps.d.ts.map +1 -0
- package/dist-esm/operations/deletedWebApps.js +262 -0
- package/dist-esm/operations/deletedWebApps.js.map +1 -0
- package/dist-esm/operations/diagnostics.d.ts +378 -0
- package/dist-esm/operations/diagnostics.d.ts.map +1 -0
- package/dist-esm/operations/diagnostics.js +1624 -0
- package/dist-esm/operations/diagnostics.js.map +1 -0
- package/dist-esm/operations/domainRegistrationProvider.d.ts +35 -0
- package/dist-esm/operations/domainRegistrationProvider.d.ts.map +1 -0
- package/dist-esm/operations/domainRegistrationProvider.js +123 -0
- package/dist-esm/operations/domainRegistrationProvider.js.map +1 -0
- package/dist-esm/operations/domains.d.ts +193 -0
- package/dist-esm/operations/domains.d.ts.map +1 -0
- package/dist-esm/operations/domains.js +856 -0
- package/dist-esm/operations/domains.js.map +1 -0
- package/dist-esm/operations/global.d.ts +32 -0
- package/dist-esm/operations/global.d.ts.map +1 -0
- package/dist-esm/operations/global.js +112 -0
- package/dist-esm/operations/global.js.map +1 -0
- package/dist-esm/operations/index.d.ts +19 -0
- package/dist-esm/operations/index.d.ts.map +1 -0
- package/dist-esm/operations/index.js +26 -0
- package/dist-esm/operations/index.js.map +1 -0
- package/dist-esm/operations/kubeEnvironments.d.ts +100 -0
- package/dist-esm/operations/kubeEnvironments.d.ts.map +1 -0
- package/dist-esm/operations/kubeEnvironments.js +454 -0
- package/dist-esm/operations/kubeEnvironments.js.map +1 -0
- package/dist-esm/operations/provider.d.ts +152 -0
- package/dist-esm/operations/provider.d.ts.map +1 -0
- package/dist-esm/operations/provider.js +706 -0
- package/dist-esm/operations/provider.js.map +1 -0
- package/dist-esm/operations/recommendations.d.ts +206 -0
- package/dist-esm/operations/recommendations.d.ts.map +1 -0
- package/dist-esm/operations/recommendations.js +912 -0
- package/dist-esm/operations/recommendations.js.map +1 -0
- package/dist-esm/operations/resourceHealthMetadataOperations.d.ts +126 -0
- package/dist-esm/operations/resourceHealthMetadataOperations.d.ts.map +1 -0
- package/dist-esm/operations/resourceHealthMetadataOperations.js +529 -0
- package/dist-esm/operations/resourceHealthMetadataOperations.js.map +1 -0
- package/dist-esm/operations/staticSites.d.ts +702 -0
- package/dist-esm/operations/staticSites.d.ts.map +1 -0
- package/dist-esm/operations/staticSites.js +3069 -0
- package/dist-esm/operations/staticSites.js.map +1 -0
- package/dist-esm/operations/topLevelDomains.d.ts +63 -0
- package/dist-esm/operations/topLevelDomains.d.ts.map +1 -0
- package/dist-esm/operations/topLevelDomains.js +258 -0
- package/dist-esm/operations/topLevelDomains.js.map +1 -0
- package/dist-esm/operations/webApps.d.ts +5070 -0
- package/dist-esm/operations/webApps.d.ts.map +1 -0
- package/dist-esm/operations/webApps.js +20820 -0
- package/dist-esm/operations/webApps.js.map +1 -0
- package/dist-esm/operationsInterfaces/appServiceCertificateOrders.d.ts +180 -0
- package/dist-esm/operationsInterfaces/appServiceCertificateOrders.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/appServiceCertificateOrders.js +9 -0
- package/dist-esm/operationsInterfaces/appServiceCertificateOrders.js.map +1 -0
- package/dist-esm/operationsInterfaces/appServiceEnvironments.d.ts +380 -0
- package/dist-esm/operationsInterfaces/appServiceEnvironments.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/appServiceEnvironments.js +9 -0
- package/dist-esm/operationsInterfaces/appServiceEnvironments.js.map +1 -0
- package/dist-esm/operationsInterfaces/appServicePlans.d.ts +230 -0
- package/dist-esm/operationsInterfaces/appServicePlans.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/appServicePlans.js +9 -0
- package/dist-esm/operationsInterfaces/appServicePlans.js.map +1 -0
- package/dist-esm/operationsInterfaces/certificateOrdersDiagnostics.d.ts +22 -0
- package/dist-esm/operationsInterfaces/certificateOrdersDiagnostics.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/certificateOrdersDiagnostics.js +9 -0
- package/dist-esm/operationsInterfaces/certificateOrdersDiagnostics.js.map +1 -0
- package/dist-esm/operationsInterfaces/certificateRegistrationProvider.d.ts +13 -0
- package/dist-esm/operationsInterfaces/certificateRegistrationProvider.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/certificateRegistrationProvider.js +9 -0
- package/dist-esm/operationsInterfaces/certificateRegistrationProvider.js.map +1 -0
- package/dist-esm/operationsInterfaces/certificates.d.ts +48 -0
- package/dist-esm/operationsInterfaces/certificates.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/certificates.js +9 -0
- package/dist-esm/operationsInterfaces/certificates.js.map +1 -0
- package/dist-esm/operationsInterfaces/deletedWebApps.d.ts +25 -0
- package/dist-esm/operationsInterfaces/deletedWebApps.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/deletedWebApps.js +9 -0
- package/dist-esm/operationsInterfaces/deletedWebApps.js.map +1 -0
- package/dist-esm/operationsInterfaces/diagnostics.d.ts +196 -0
- package/dist-esm/operationsInterfaces/diagnostics.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/diagnostics.js +9 -0
- package/dist-esm/operationsInterfaces/diagnostics.js.map +1 -0
- package/dist-esm/operationsInterfaces/domainRegistrationProvider.d.ts +13 -0
- package/dist-esm/operationsInterfaces/domainRegistrationProvider.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/domainRegistrationProvider.js +9 -0
- package/dist-esm/operationsInterfaces/domainRegistrationProvider.js.map +1 -0
- package/dist-esm/operationsInterfaces/domains.d.ts +124 -0
- package/dist-esm/operationsInterfaces/domains.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/domains.js +9 -0
- package/dist-esm/operationsInterfaces/domains.js.map +1 -0
- package/dist-esm/operationsInterfaces/global.d.ts +24 -0
- package/dist-esm/operationsInterfaces/global.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/global.js +9 -0
- package/dist-esm/operationsInterfaces/global.js.map +1 -0
- package/dist-esm/operationsInterfaces/index.d.ts +19 -0
- package/dist-esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/index.js +26 -0
- package/dist-esm/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/operationsInterfaces/kubeEnvironments.d.ts +64 -0
- package/dist-esm/operationsInterfaces/kubeEnvironments.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/kubeEnvironments.js +9 -0
- package/dist-esm/operationsInterfaces/kubeEnvironments.js.map +1 -0
- package/dist-esm/operationsInterfaces/provider.d.ts +45 -0
- package/dist-esm/operationsInterfaces/provider.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/provider.js +9 -0
- package/dist-esm/operationsInterfaces/provider.js.map +1 -0
- package/dist-esm/operationsInterfaces/recommendations.d.ts +114 -0
- package/dist-esm/operationsInterfaces/recommendations.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/recommendations.js +9 -0
- package/dist-esm/operationsInterfaces/recommendations.js.map +1 -0
- package/dist-esm/operationsInterfaces/resourceHealthMetadataOperations.d.ts +51 -0
- package/dist-esm/operationsInterfaces/resourceHealthMetadataOperations.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/resourceHealthMetadataOperations.js +9 -0
- package/dist-esm/operationsInterfaces/resourceHealthMetadataOperations.js.map +1 -0
- package/dist-esm/operationsInterfaces/staticSites.d.ts +516 -0
- package/dist-esm/operationsInterfaces/staticSites.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/staticSites.js +9 -0
- package/dist-esm/operationsInterfaces/staticSites.js.map +1 -0
- package/dist-esm/operationsInterfaces/topLevelDomains.d.ts +25 -0
- package/dist-esm/operationsInterfaces/topLevelDomains.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/topLevelDomains.js +9 -0
- package/dist-esm/operationsInterfaces/topLevelDomains.js.map +1 -0
- package/dist-esm/operationsInterfaces/webApps.d.ts +3798 -0
- package/dist-esm/operationsInterfaces/webApps.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/webApps.js +9 -0
- package/dist-esm/operationsInterfaces/webApps.js.map +1 -0
- package/dist-esm/webSiteManagementClient.d.ts +205 -0
- package/dist-esm/webSiteManagementClient.d.ts.map +1 -0
- package/dist-esm/webSiteManagementClient.js +892 -0
- package/dist-esm/webSiteManagementClient.js.map +1 -0
- package/dist-esm/webSiteManagementClientContext.d.ts +17 -0
- package/dist-esm/webSiteManagementClientContext.d.ts.map +1 -0
- package/dist-esm/webSiteManagementClientContext.js +50 -0
- package/dist-esm/webSiteManagementClientContext.js.map +1 -0
- package/package.json +99 -0
- package/review/arm-appservice.api.md +10633 -0
- package/rollup.config.js +188 -0
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +14289 -0
- package/src/models/mappers.ts +21388 -0
- package/src/models/parameters.ts +1647 -0
- package/src/operations/appServiceCertificateOrders.ts +1373 -0
- package/src/operations/appServiceEnvironments.ts +5073 -0
- package/src/operations/appServicePlans.ts +1987 -0
- package/src/operations/certificateOrdersDiagnostics.ts +247 -0
- package/src/operations/certificateRegistrationProvider.ts +144 -0
- package/src/operations/certificates.ts +444 -0
- package/src/operations/deletedWebApps.ts +311 -0
- package/src/operations/diagnostics.ts +2273 -0
- package/src/operations/domainRegistrationProvider.ts +144 -0
- package/src/operations/domains.ts +1122 -0
- package/src/operations/global.ts +150 -0
- package/src/operations/index.ts +26 -0
- package/src/operations/kubeEnvironments.ts +594 -0
- package/src/operations/provider.ts +829 -0
- package/src/operations/recommendations.ts +1210 -0
- package/src/operations/resourceHealthMetadataOperations.ts +679 -0
- package/src/operations/staticSites.ts +4336 -0
- package/src/operations/topLevelDomains.ts +319 -0
- package/src/operations/webApps.ts +28925 -0
- package/src/operationsInterfaces/appServiceCertificateOrders.ts +340 -0
- package/src/operationsInterfaces/appServiceEnvironments.ts +725 -0
- package/src/operationsInterfaces/appServicePlans.ts +433 -0
- package/src/operationsInterfaces/certificateOrdersDiagnostics.ts +47 -0
- package/src/operationsInterfaces/certificateRegistrationProvider.ts +27 -0
- package/src/operationsInterfaces/certificates.ts +92 -0
- package/src/operationsInterfaces/deletedWebApps.ts +49 -0
- package/src/operationsInterfaces/diagnostics.ts +368 -0
- package/src/operationsInterfaces/domainRegistrationProvider.ts +27 -0
- package/src/operationsInterfaces/domains.ts +231 -0
- package/src/operationsInterfaces/global.ts +48 -0
- package/src/operationsInterfaces/index.ts +26 -0
- package/src/operationsInterfaces/kubeEnvironments.ts +122 -0
- package/src/operationsInterfaces/provider.ts +82 -0
- package/src/operationsInterfaces/recommendations.ts +204 -0
- package/src/operationsInterfaces/resourceHealthMetadataOperations.ts +93 -0
- package/src/operationsInterfaces/staticSites.ts +963 -0
- package/src/operationsInterfaces/topLevelDomains.ts +51 -0
- package/src/operationsInterfaces/webApps.ts +6889 -0
- package/src/webSiteManagementClient.ts +1177 -0
- package/src/webSiteManagementClientContext.ts +71 -0
- package/tsconfig.json +19 -0
- package/types/arm-appservice.d.ts +20041 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,1122 @@
|
|
|
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 "@azure/core-paging";
|
|
10
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
11
|
+
import { Domains } from "../operationsInterfaces";
|
|
12
|
+
import * as coreClient from "@azure/core-client";
|
|
13
|
+
import * as Mappers from "../models/mappers";
|
|
14
|
+
import * as Parameters from "../models/parameters";
|
|
15
|
+
import { WebSiteManagementClientContext } from "../webSiteManagementClientContext";
|
|
16
|
+
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
17
|
+
import { LroImpl } from "../lroImpl";
|
|
18
|
+
import {
|
|
19
|
+
Domain,
|
|
20
|
+
DomainsListNextOptionalParams,
|
|
21
|
+
DomainsListOptionalParams,
|
|
22
|
+
NameIdentifier,
|
|
23
|
+
DomainRecommendationSearchParameters,
|
|
24
|
+
DomainsListRecommendationsNextOptionalParams,
|
|
25
|
+
DomainsListRecommendationsOptionalParams,
|
|
26
|
+
DomainsListByResourceGroupNextOptionalParams,
|
|
27
|
+
DomainsListByResourceGroupOptionalParams,
|
|
28
|
+
DomainOwnershipIdentifier,
|
|
29
|
+
DomainsListOwnershipIdentifiersNextOptionalParams,
|
|
30
|
+
DomainsListOwnershipIdentifiersOptionalParams,
|
|
31
|
+
DomainsCheckAvailabilityOptionalParams,
|
|
32
|
+
DomainsCheckAvailabilityResponse,
|
|
33
|
+
DomainsListResponse,
|
|
34
|
+
DomainsGetControlCenterSsoRequestOptionalParams,
|
|
35
|
+
DomainsGetControlCenterSsoRequestResponse,
|
|
36
|
+
DomainsListRecommendationsResponse,
|
|
37
|
+
DomainsListByResourceGroupResponse,
|
|
38
|
+
DomainsGetOptionalParams,
|
|
39
|
+
DomainsGetResponse,
|
|
40
|
+
DomainsCreateOrUpdateOptionalParams,
|
|
41
|
+
DomainsCreateOrUpdateResponse,
|
|
42
|
+
DomainsDeleteOptionalParams,
|
|
43
|
+
DomainPatchResource,
|
|
44
|
+
DomainsUpdateOptionalParams,
|
|
45
|
+
DomainsUpdateResponse,
|
|
46
|
+
DomainsListOwnershipIdentifiersResponse,
|
|
47
|
+
DomainsGetOwnershipIdentifierOptionalParams,
|
|
48
|
+
DomainsGetOwnershipIdentifierResponse,
|
|
49
|
+
DomainsCreateOrUpdateOwnershipIdentifierOptionalParams,
|
|
50
|
+
DomainsCreateOrUpdateOwnershipIdentifierResponse,
|
|
51
|
+
DomainsDeleteOwnershipIdentifierOptionalParams,
|
|
52
|
+
DomainsUpdateOwnershipIdentifierOptionalParams,
|
|
53
|
+
DomainsUpdateOwnershipIdentifierResponse,
|
|
54
|
+
DomainsRenewOptionalParams,
|
|
55
|
+
DomainsListNextResponse,
|
|
56
|
+
DomainsListRecommendationsNextResponse,
|
|
57
|
+
DomainsListByResourceGroupNextResponse,
|
|
58
|
+
DomainsListOwnershipIdentifiersNextResponse
|
|
59
|
+
} from "../models";
|
|
60
|
+
|
|
61
|
+
/// <reference lib="esnext.asynciterable" />
|
|
62
|
+
/** Class representing a Domains. */
|
|
63
|
+
export class DomainsImpl implements Domains {
|
|
64
|
+
private readonly client: WebSiteManagementClientContext;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Initialize a new instance of the class Domains class.
|
|
68
|
+
* @param client Reference to the service client
|
|
69
|
+
*/
|
|
70
|
+
constructor(client: WebSiteManagementClientContext) {
|
|
71
|
+
this.client = client;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Description for Get all domains in a subscription.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
public list(
|
|
79
|
+
options?: DomainsListOptionalParams
|
|
80
|
+
): PagedAsyncIterableIterator<Domain> {
|
|
81
|
+
const iter = this.listPagingAll(options);
|
|
82
|
+
return {
|
|
83
|
+
next() {
|
|
84
|
+
return iter.next();
|
|
85
|
+
},
|
|
86
|
+
[Symbol.asyncIterator]() {
|
|
87
|
+
return this;
|
|
88
|
+
},
|
|
89
|
+
byPage: () => {
|
|
90
|
+
return this.listPagingPage(options);
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
private async *listPagingPage(
|
|
96
|
+
options?: DomainsListOptionalParams
|
|
97
|
+
): AsyncIterableIterator<Domain[]> {
|
|
98
|
+
let result = await this._list(options);
|
|
99
|
+
yield result.value || [];
|
|
100
|
+
let continuationToken = result.nextLink;
|
|
101
|
+
while (continuationToken) {
|
|
102
|
+
result = await this._listNext(continuationToken, options);
|
|
103
|
+
continuationToken = result.nextLink;
|
|
104
|
+
yield result.value || [];
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
private async *listPagingAll(
|
|
109
|
+
options?: DomainsListOptionalParams
|
|
110
|
+
): AsyncIterableIterator<Domain> {
|
|
111
|
+
for await (const page of this.listPagingPage(options)) {
|
|
112
|
+
yield* page;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Description for Get domain name recommendations based on keywords.
|
|
118
|
+
* @param parameters Search parameters for domain name recommendations.
|
|
119
|
+
* @param options The options parameters.
|
|
120
|
+
*/
|
|
121
|
+
public listRecommendations(
|
|
122
|
+
parameters: DomainRecommendationSearchParameters,
|
|
123
|
+
options?: DomainsListRecommendationsOptionalParams
|
|
124
|
+
): PagedAsyncIterableIterator<NameIdentifier> {
|
|
125
|
+
const iter = this.listRecommendationsPagingAll(parameters, options);
|
|
126
|
+
return {
|
|
127
|
+
next() {
|
|
128
|
+
return iter.next();
|
|
129
|
+
},
|
|
130
|
+
[Symbol.asyncIterator]() {
|
|
131
|
+
return this;
|
|
132
|
+
},
|
|
133
|
+
byPage: () => {
|
|
134
|
+
return this.listRecommendationsPagingPage(parameters, options);
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
private async *listRecommendationsPagingPage(
|
|
140
|
+
parameters: DomainRecommendationSearchParameters,
|
|
141
|
+
options?: DomainsListRecommendationsOptionalParams
|
|
142
|
+
): AsyncIterableIterator<NameIdentifier[]> {
|
|
143
|
+
let result = await this._listRecommendations(parameters, options);
|
|
144
|
+
yield result.value || [];
|
|
145
|
+
let continuationToken = result.nextLink;
|
|
146
|
+
while (continuationToken) {
|
|
147
|
+
result = await this._listRecommendationsNext(
|
|
148
|
+
parameters,
|
|
149
|
+
continuationToken,
|
|
150
|
+
options
|
|
151
|
+
);
|
|
152
|
+
continuationToken = result.nextLink;
|
|
153
|
+
yield result.value || [];
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
private async *listRecommendationsPagingAll(
|
|
158
|
+
parameters: DomainRecommendationSearchParameters,
|
|
159
|
+
options?: DomainsListRecommendationsOptionalParams
|
|
160
|
+
): AsyncIterableIterator<NameIdentifier> {
|
|
161
|
+
for await (const page of this.listRecommendationsPagingPage(
|
|
162
|
+
parameters,
|
|
163
|
+
options
|
|
164
|
+
)) {
|
|
165
|
+
yield* page;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Description for Get all domains in a resource group.
|
|
171
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
172
|
+
* @param options The options parameters.
|
|
173
|
+
*/
|
|
174
|
+
public listByResourceGroup(
|
|
175
|
+
resourceGroupName: string,
|
|
176
|
+
options?: DomainsListByResourceGroupOptionalParams
|
|
177
|
+
): PagedAsyncIterableIterator<Domain> {
|
|
178
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
179
|
+
return {
|
|
180
|
+
next() {
|
|
181
|
+
return iter.next();
|
|
182
|
+
},
|
|
183
|
+
[Symbol.asyncIterator]() {
|
|
184
|
+
return this;
|
|
185
|
+
},
|
|
186
|
+
byPage: () => {
|
|
187
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
|
188
|
+
}
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
private async *listByResourceGroupPagingPage(
|
|
193
|
+
resourceGroupName: string,
|
|
194
|
+
options?: DomainsListByResourceGroupOptionalParams
|
|
195
|
+
): AsyncIterableIterator<Domain[]> {
|
|
196
|
+
let result = await this._listByResourceGroup(resourceGroupName, options);
|
|
197
|
+
yield result.value || [];
|
|
198
|
+
let continuationToken = result.nextLink;
|
|
199
|
+
while (continuationToken) {
|
|
200
|
+
result = await this._listByResourceGroupNext(
|
|
201
|
+
resourceGroupName,
|
|
202
|
+
continuationToken,
|
|
203
|
+
options
|
|
204
|
+
);
|
|
205
|
+
continuationToken = result.nextLink;
|
|
206
|
+
yield result.value || [];
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
private async *listByResourceGroupPagingAll(
|
|
211
|
+
resourceGroupName: string,
|
|
212
|
+
options?: DomainsListByResourceGroupOptionalParams
|
|
213
|
+
): AsyncIterableIterator<Domain> {
|
|
214
|
+
for await (const page of this.listByResourceGroupPagingPage(
|
|
215
|
+
resourceGroupName,
|
|
216
|
+
options
|
|
217
|
+
)) {
|
|
218
|
+
yield* page;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Description for Lists domain ownership identifiers.
|
|
224
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
225
|
+
* @param domainName Name of domain.
|
|
226
|
+
* @param options The options parameters.
|
|
227
|
+
*/
|
|
228
|
+
public listOwnershipIdentifiers(
|
|
229
|
+
resourceGroupName: string,
|
|
230
|
+
domainName: string,
|
|
231
|
+
options?: DomainsListOwnershipIdentifiersOptionalParams
|
|
232
|
+
): PagedAsyncIterableIterator<DomainOwnershipIdentifier> {
|
|
233
|
+
const iter = this.listOwnershipIdentifiersPagingAll(
|
|
234
|
+
resourceGroupName,
|
|
235
|
+
domainName,
|
|
236
|
+
options
|
|
237
|
+
);
|
|
238
|
+
return {
|
|
239
|
+
next() {
|
|
240
|
+
return iter.next();
|
|
241
|
+
},
|
|
242
|
+
[Symbol.asyncIterator]() {
|
|
243
|
+
return this;
|
|
244
|
+
},
|
|
245
|
+
byPage: () => {
|
|
246
|
+
return this.listOwnershipIdentifiersPagingPage(
|
|
247
|
+
resourceGroupName,
|
|
248
|
+
domainName,
|
|
249
|
+
options
|
|
250
|
+
);
|
|
251
|
+
}
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
private async *listOwnershipIdentifiersPagingPage(
|
|
256
|
+
resourceGroupName: string,
|
|
257
|
+
domainName: string,
|
|
258
|
+
options?: DomainsListOwnershipIdentifiersOptionalParams
|
|
259
|
+
): AsyncIterableIterator<DomainOwnershipIdentifier[]> {
|
|
260
|
+
let result = await this._listOwnershipIdentifiers(
|
|
261
|
+
resourceGroupName,
|
|
262
|
+
domainName,
|
|
263
|
+
options
|
|
264
|
+
);
|
|
265
|
+
yield result.value || [];
|
|
266
|
+
let continuationToken = result.nextLink;
|
|
267
|
+
while (continuationToken) {
|
|
268
|
+
result = await this._listOwnershipIdentifiersNext(
|
|
269
|
+
resourceGroupName,
|
|
270
|
+
domainName,
|
|
271
|
+
continuationToken,
|
|
272
|
+
options
|
|
273
|
+
);
|
|
274
|
+
continuationToken = result.nextLink;
|
|
275
|
+
yield result.value || [];
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
private async *listOwnershipIdentifiersPagingAll(
|
|
280
|
+
resourceGroupName: string,
|
|
281
|
+
domainName: string,
|
|
282
|
+
options?: DomainsListOwnershipIdentifiersOptionalParams
|
|
283
|
+
): AsyncIterableIterator<DomainOwnershipIdentifier> {
|
|
284
|
+
for await (const page of this.listOwnershipIdentifiersPagingPage(
|
|
285
|
+
resourceGroupName,
|
|
286
|
+
domainName,
|
|
287
|
+
options
|
|
288
|
+
)) {
|
|
289
|
+
yield* page;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* Description for Check if a domain is available for registration.
|
|
295
|
+
* @param identifier Name of the domain.
|
|
296
|
+
* @param options The options parameters.
|
|
297
|
+
*/
|
|
298
|
+
checkAvailability(
|
|
299
|
+
identifier: NameIdentifier,
|
|
300
|
+
options?: DomainsCheckAvailabilityOptionalParams
|
|
301
|
+
): Promise<DomainsCheckAvailabilityResponse> {
|
|
302
|
+
return this.client.sendOperationRequest(
|
|
303
|
+
{ identifier, options },
|
|
304
|
+
checkAvailabilityOperationSpec
|
|
305
|
+
);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Description for Get all domains in a subscription.
|
|
310
|
+
* @param options The options parameters.
|
|
311
|
+
*/
|
|
312
|
+
private _list(
|
|
313
|
+
options?: DomainsListOptionalParams
|
|
314
|
+
): Promise<DomainsListResponse> {
|
|
315
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Description for Generate a single sign-on request for the domain management portal.
|
|
320
|
+
* @param options The options parameters.
|
|
321
|
+
*/
|
|
322
|
+
getControlCenterSsoRequest(
|
|
323
|
+
options?: DomainsGetControlCenterSsoRequestOptionalParams
|
|
324
|
+
): Promise<DomainsGetControlCenterSsoRequestResponse> {
|
|
325
|
+
return this.client.sendOperationRequest(
|
|
326
|
+
{ options },
|
|
327
|
+
getControlCenterSsoRequestOperationSpec
|
|
328
|
+
);
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Description for Get domain name recommendations based on keywords.
|
|
333
|
+
* @param parameters Search parameters for domain name recommendations.
|
|
334
|
+
* @param options The options parameters.
|
|
335
|
+
*/
|
|
336
|
+
private _listRecommendations(
|
|
337
|
+
parameters: DomainRecommendationSearchParameters,
|
|
338
|
+
options?: DomainsListRecommendationsOptionalParams
|
|
339
|
+
): Promise<DomainsListRecommendationsResponse> {
|
|
340
|
+
return this.client.sendOperationRequest(
|
|
341
|
+
{ parameters, options },
|
|
342
|
+
listRecommendationsOperationSpec
|
|
343
|
+
);
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Description for Get all domains in a resource group.
|
|
348
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
349
|
+
* @param options The options parameters.
|
|
350
|
+
*/
|
|
351
|
+
private _listByResourceGroup(
|
|
352
|
+
resourceGroupName: string,
|
|
353
|
+
options?: DomainsListByResourceGroupOptionalParams
|
|
354
|
+
): Promise<DomainsListByResourceGroupResponse> {
|
|
355
|
+
return this.client.sendOperationRequest(
|
|
356
|
+
{ resourceGroupName, options },
|
|
357
|
+
listByResourceGroupOperationSpec
|
|
358
|
+
);
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* Description for Get a domain.
|
|
363
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
364
|
+
* @param domainName Name of the domain.
|
|
365
|
+
* @param options The options parameters.
|
|
366
|
+
*/
|
|
367
|
+
get(
|
|
368
|
+
resourceGroupName: string,
|
|
369
|
+
domainName: string,
|
|
370
|
+
options?: DomainsGetOptionalParams
|
|
371
|
+
): Promise<DomainsGetResponse> {
|
|
372
|
+
return this.client.sendOperationRequest(
|
|
373
|
+
{ resourceGroupName, domainName, options },
|
|
374
|
+
getOperationSpec
|
|
375
|
+
);
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* Description for Creates or updates a domain.
|
|
380
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
381
|
+
* @param domainName Name of the domain.
|
|
382
|
+
* @param domain Domain registration information.
|
|
383
|
+
* @param options The options parameters.
|
|
384
|
+
*/
|
|
385
|
+
async beginCreateOrUpdate(
|
|
386
|
+
resourceGroupName: string,
|
|
387
|
+
domainName: string,
|
|
388
|
+
domain: Domain,
|
|
389
|
+
options?: DomainsCreateOrUpdateOptionalParams
|
|
390
|
+
): Promise<
|
|
391
|
+
PollerLike<
|
|
392
|
+
PollOperationState<DomainsCreateOrUpdateResponse>,
|
|
393
|
+
DomainsCreateOrUpdateResponse
|
|
394
|
+
>
|
|
395
|
+
> {
|
|
396
|
+
const directSendOperation = async (
|
|
397
|
+
args: coreClient.OperationArguments,
|
|
398
|
+
spec: coreClient.OperationSpec
|
|
399
|
+
): Promise<DomainsCreateOrUpdateResponse> => {
|
|
400
|
+
return this.client.sendOperationRequest(args, spec);
|
|
401
|
+
};
|
|
402
|
+
const sendOperation = async (
|
|
403
|
+
args: coreClient.OperationArguments,
|
|
404
|
+
spec: coreClient.OperationSpec
|
|
405
|
+
) => {
|
|
406
|
+
let currentRawResponse:
|
|
407
|
+
| coreClient.FullOperationResponse
|
|
408
|
+
| undefined = undefined;
|
|
409
|
+
const providedCallback = args.options?.onResponse;
|
|
410
|
+
const callback: coreClient.RawResponseCallback = (
|
|
411
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
412
|
+
flatResponse: unknown
|
|
413
|
+
) => {
|
|
414
|
+
currentRawResponse = rawResponse;
|
|
415
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
416
|
+
};
|
|
417
|
+
const updatedArgs = {
|
|
418
|
+
...args,
|
|
419
|
+
options: {
|
|
420
|
+
...args.options,
|
|
421
|
+
onResponse: callback
|
|
422
|
+
}
|
|
423
|
+
};
|
|
424
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
425
|
+
return {
|
|
426
|
+
flatResponse,
|
|
427
|
+
rawResponse: {
|
|
428
|
+
statusCode: currentRawResponse!.status,
|
|
429
|
+
body: currentRawResponse!.parsedBody,
|
|
430
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
431
|
+
}
|
|
432
|
+
};
|
|
433
|
+
};
|
|
434
|
+
|
|
435
|
+
const lro = new LroImpl(
|
|
436
|
+
sendOperation,
|
|
437
|
+
{ resourceGroupName, domainName, domain, options },
|
|
438
|
+
createOrUpdateOperationSpec
|
|
439
|
+
);
|
|
440
|
+
return new LroEngine(lro, {
|
|
441
|
+
resumeFrom: options?.resumeFrom,
|
|
442
|
+
intervalInMs: options?.updateIntervalInMs
|
|
443
|
+
});
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Description for Creates or updates a domain.
|
|
448
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
449
|
+
* @param domainName Name of the domain.
|
|
450
|
+
* @param domain Domain registration information.
|
|
451
|
+
* @param options The options parameters.
|
|
452
|
+
*/
|
|
453
|
+
async beginCreateOrUpdateAndWait(
|
|
454
|
+
resourceGroupName: string,
|
|
455
|
+
domainName: string,
|
|
456
|
+
domain: Domain,
|
|
457
|
+
options?: DomainsCreateOrUpdateOptionalParams
|
|
458
|
+
): Promise<DomainsCreateOrUpdateResponse> {
|
|
459
|
+
const poller = await this.beginCreateOrUpdate(
|
|
460
|
+
resourceGroupName,
|
|
461
|
+
domainName,
|
|
462
|
+
domain,
|
|
463
|
+
options
|
|
464
|
+
);
|
|
465
|
+
return poller.pollUntilDone();
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* Description for Delete a domain.
|
|
470
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
471
|
+
* @param domainName Name of the domain.
|
|
472
|
+
* @param options The options parameters.
|
|
473
|
+
*/
|
|
474
|
+
delete(
|
|
475
|
+
resourceGroupName: string,
|
|
476
|
+
domainName: string,
|
|
477
|
+
options?: DomainsDeleteOptionalParams
|
|
478
|
+
): Promise<void> {
|
|
479
|
+
return this.client.sendOperationRequest(
|
|
480
|
+
{ resourceGroupName, domainName, options },
|
|
481
|
+
deleteOperationSpec
|
|
482
|
+
);
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* Description for Creates or updates a domain.
|
|
487
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
488
|
+
* @param domainName Name of the domain.
|
|
489
|
+
* @param domain Domain registration information.
|
|
490
|
+
* @param options The options parameters.
|
|
491
|
+
*/
|
|
492
|
+
update(
|
|
493
|
+
resourceGroupName: string,
|
|
494
|
+
domainName: string,
|
|
495
|
+
domain: DomainPatchResource,
|
|
496
|
+
options?: DomainsUpdateOptionalParams
|
|
497
|
+
): Promise<DomainsUpdateResponse> {
|
|
498
|
+
return this.client.sendOperationRequest(
|
|
499
|
+
{ resourceGroupName, domainName, domain, options },
|
|
500
|
+
updateOperationSpec
|
|
501
|
+
);
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* Description for Lists domain ownership identifiers.
|
|
506
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
507
|
+
* @param domainName Name of domain.
|
|
508
|
+
* @param options The options parameters.
|
|
509
|
+
*/
|
|
510
|
+
private _listOwnershipIdentifiers(
|
|
511
|
+
resourceGroupName: string,
|
|
512
|
+
domainName: string,
|
|
513
|
+
options?: DomainsListOwnershipIdentifiersOptionalParams
|
|
514
|
+
): Promise<DomainsListOwnershipIdentifiersResponse> {
|
|
515
|
+
return this.client.sendOperationRequest(
|
|
516
|
+
{ resourceGroupName, domainName, options },
|
|
517
|
+
listOwnershipIdentifiersOperationSpec
|
|
518
|
+
);
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* Description for Get ownership identifier for domain
|
|
523
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
524
|
+
* @param domainName Name of domain.
|
|
525
|
+
* @param name Name of identifier.
|
|
526
|
+
* @param options The options parameters.
|
|
527
|
+
*/
|
|
528
|
+
getOwnershipIdentifier(
|
|
529
|
+
resourceGroupName: string,
|
|
530
|
+
domainName: string,
|
|
531
|
+
name: string,
|
|
532
|
+
options?: DomainsGetOwnershipIdentifierOptionalParams
|
|
533
|
+
): Promise<DomainsGetOwnershipIdentifierResponse> {
|
|
534
|
+
return this.client.sendOperationRequest(
|
|
535
|
+
{ resourceGroupName, domainName, name, options },
|
|
536
|
+
getOwnershipIdentifierOperationSpec
|
|
537
|
+
);
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* Description for Creates an ownership identifier for a domain or updates identifier details for an
|
|
542
|
+
* existing identifier
|
|
543
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
544
|
+
* @param domainName Name of domain.
|
|
545
|
+
* @param name Name of identifier.
|
|
546
|
+
* @param domainOwnershipIdentifier A JSON representation of the domain ownership properties.
|
|
547
|
+
* @param options The options parameters.
|
|
548
|
+
*/
|
|
549
|
+
createOrUpdateOwnershipIdentifier(
|
|
550
|
+
resourceGroupName: string,
|
|
551
|
+
domainName: string,
|
|
552
|
+
name: string,
|
|
553
|
+
domainOwnershipIdentifier: DomainOwnershipIdentifier,
|
|
554
|
+
options?: DomainsCreateOrUpdateOwnershipIdentifierOptionalParams
|
|
555
|
+
): Promise<DomainsCreateOrUpdateOwnershipIdentifierResponse> {
|
|
556
|
+
return this.client.sendOperationRequest(
|
|
557
|
+
{
|
|
558
|
+
resourceGroupName,
|
|
559
|
+
domainName,
|
|
560
|
+
name,
|
|
561
|
+
domainOwnershipIdentifier,
|
|
562
|
+
options
|
|
563
|
+
},
|
|
564
|
+
createOrUpdateOwnershipIdentifierOperationSpec
|
|
565
|
+
);
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* Description for Delete ownership identifier for domain
|
|
570
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
571
|
+
* @param domainName Name of domain.
|
|
572
|
+
* @param name Name of identifier.
|
|
573
|
+
* @param options The options parameters.
|
|
574
|
+
*/
|
|
575
|
+
deleteOwnershipIdentifier(
|
|
576
|
+
resourceGroupName: string,
|
|
577
|
+
domainName: string,
|
|
578
|
+
name: string,
|
|
579
|
+
options?: DomainsDeleteOwnershipIdentifierOptionalParams
|
|
580
|
+
): Promise<void> {
|
|
581
|
+
return this.client.sendOperationRequest(
|
|
582
|
+
{ resourceGroupName, domainName, name, options },
|
|
583
|
+
deleteOwnershipIdentifierOperationSpec
|
|
584
|
+
);
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* Description for Creates an ownership identifier for a domain or updates identifier details for an
|
|
589
|
+
* existing identifier
|
|
590
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
591
|
+
* @param domainName Name of domain.
|
|
592
|
+
* @param name Name of identifier.
|
|
593
|
+
* @param domainOwnershipIdentifier A JSON representation of the domain ownership properties.
|
|
594
|
+
* @param options The options parameters.
|
|
595
|
+
*/
|
|
596
|
+
updateOwnershipIdentifier(
|
|
597
|
+
resourceGroupName: string,
|
|
598
|
+
domainName: string,
|
|
599
|
+
name: string,
|
|
600
|
+
domainOwnershipIdentifier: DomainOwnershipIdentifier,
|
|
601
|
+
options?: DomainsUpdateOwnershipIdentifierOptionalParams
|
|
602
|
+
): Promise<DomainsUpdateOwnershipIdentifierResponse> {
|
|
603
|
+
return this.client.sendOperationRequest(
|
|
604
|
+
{
|
|
605
|
+
resourceGroupName,
|
|
606
|
+
domainName,
|
|
607
|
+
name,
|
|
608
|
+
domainOwnershipIdentifier,
|
|
609
|
+
options
|
|
610
|
+
},
|
|
611
|
+
updateOwnershipIdentifierOperationSpec
|
|
612
|
+
);
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* Description for Renew a domain.
|
|
617
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
618
|
+
* @param domainName Name of the domain.
|
|
619
|
+
* @param options The options parameters.
|
|
620
|
+
*/
|
|
621
|
+
renew(
|
|
622
|
+
resourceGroupName: string,
|
|
623
|
+
domainName: string,
|
|
624
|
+
options?: DomainsRenewOptionalParams
|
|
625
|
+
): Promise<void> {
|
|
626
|
+
return this.client.sendOperationRequest(
|
|
627
|
+
{ resourceGroupName, domainName, options },
|
|
628
|
+
renewOperationSpec
|
|
629
|
+
);
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* ListNext
|
|
634
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
635
|
+
* @param options The options parameters.
|
|
636
|
+
*/
|
|
637
|
+
private _listNext(
|
|
638
|
+
nextLink: string,
|
|
639
|
+
options?: DomainsListNextOptionalParams
|
|
640
|
+
): Promise<DomainsListNextResponse> {
|
|
641
|
+
return this.client.sendOperationRequest(
|
|
642
|
+
{ nextLink, options },
|
|
643
|
+
listNextOperationSpec
|
|
644
|
+
);
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* ListRecommendationsNext
|
|
649
|
+
* @param parameters Search parameters for domain name recommendations.
|
|
650
|
+
* @param nextLink The nextLink from the previous successful call to the ListRecommendations method.
|
|
651
|
+
* @param options The options parameters.
|
|
652
|
+
*/
|
|
653
|
+
private _listRecommendationsNext(
|
|
654
|
+
parameters: DomainRecommendationSearchParameters,
|
|
655
|
+
nextLink: string,
|
|
656
|
+
options?: DomainsListRecommendationsNextOptionalParams
|
|
657
|
+
): Promise<DomainsListRecommendationsNextResponse> {
|
|
658
|
+
return this.client.sendOperationRequest(
|
|
659
|
+
{ parameters, nextLink, options },
|
|
660
|
+
listRecommendationsNextOperationSpec
|
|
661
|
+
);
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* ListByResourceGroupNext
|
|
666
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
667
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
668
|
+
* @param options The options parameters.
|
|
669
|
+
*/
|
|
670
|
+
private _listByResourceGroupNext(
|
|
671
|
+
resourceGroupName: string,
|
|
672
|
+
nextLink: string,
|
|
673
|
+
options?: DomainsListByResourceGroupNextOptionalParams
|
|
674
|
+
): Promise<DomainsListByResourceGroupNextResponse> {
|
|
675
|
+
return this.client.sendOperationRequest(
|
|
676
|
+
{ resourceGroupName, nextLink, options },
|
|
677
|
+
listByResourceGroupNextOperationSpec
|
|
678
|
+
);
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* ListOwnershipIdentifiersNext
|
|
683
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
684
|
+
* @param domainName Name of domain.
|
|
685
|
+
* @param nextLink The nextLink from the previous successful call to the ListOwnershipIdentifiers
|
|
686
|
+
* method.
|
|
687
|
+
* @param options The options parameters.
|
|
688
|
+
*/
|
|
689
|
+
private _listOwnershipIdentifiersNext(
|
|
690
|
+
resourceGroupName: string,
|
|
691
|
+
domainName: string,
|
|
692
|
+
nextLink: string,
|
|
693
|
+
options?: DomainsListOwnershipIdentifiersNextOptionalParams
|
|
694
|
+
): Promise<DomainsListOwnershipIdentifiersNextResponse> {
|
|
695
|
+
return this.client.sendOperationRequest(
|
|
696
|
+
{ resourceGroupName, domainName, nextLink, options },
|
|
697
|
+
listOwnershipIdentifiersNextOperationSpec
|
|
698
|
+
);
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
// Operation Specifications
|
|
702
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
703
|
+
|
|
704
|
+
const checkAvailabilityOperationSpec: coreClient.OperationSpec = {
|
|
705
|
+
path:
|
|
706
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/checkDomainAvailability",
|
|
707
|
+
httpMethod: "POST",
|
|
708
|
+
responses: {
|
|
709
|
+
200: {
|
|
710
|
+
bodyMapper: Mappers.DomainAvailabilityCheckResult
|
|
711
|
+
},
|
|
712
|
+
default: {
|
|
713
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
714
|
+
}
|
|
715
|
+
},
|
|
716
|
+
requestBody: Parameters.identifier,
|
|
717
|
+
queryParameters: [Parameters.apiVersion],
|
|
718
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
719
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
720
|
+
mediaType: "json",
|
|
721
|
+
serializer
|
|
722
|
+
};
|
|
723
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
724
|
+
path:
|
|
725
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/domains",
|
|
726
|
+
httpMethod: "GET",
|
|
727
|
+
responses: {
|
|
728
|
+
200: {
|
|
729
|
+
bodyMapper: Mappers.DomainCollection
|
|
730
|
+
},
|
|
731
|
+
default: {
|
|
732
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
queryParameters: [Parameters.apiVersion],
|
|
736
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
737
|
+
headerParameters: [Parameters.accept],
|
|
738
|
+
serializer
|
|
739
|
+
};
|
|
740
|
+
const getControlCenterSsoRequestOperationSpec: coreClient.OperationSpec = {
|
|
741
|
+
path:
|
|
742
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/generateSsoRequest",
|
|
743
|
+
httpMethod: "POST",
|
|
744
|
+
responses: {
|
|
745
|
+
200: {
|
|
746
|
+
bodyMapper: Mappers.DomainControlCenterSsoRequest
|
|
747
|
+
},
|
|
748
|
+
default: {
|
|
749
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
750
|
+
}
|
|
751
|
+
},
|
|
752
|
+
queryParameters: [Parameters.apiVersion],
|
|
753
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
754
|
+
headerParameters: [Parameters.accept],
|
|
755
|
+
serializer
|
|
756
|
+
};
|
|
757
|
+
const listRecommendationsOperationSpec: coreClient.OperationSpec = {
|
|
758
|
+
path:
|
|
759
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/listDomainRecommendations",
|
|
760
|
+
httpMethod: "POST",
|
|
761
|
+
responses: {
|
|
762
|
+
200: {
|
|
763
|
+
bodyMapper: Mappers.NameIdentifierCollection
|
|
764
|
+
},
|
|
765
|
+
default: {
|
|
766
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
767
|
+
}
|
|
768
|
+
},
|
|
769
|
+
requestBody: Parameters.parameters,
|
|
770
|
+
queryParameters: [Parameters.apiVersion],
|
|
771
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
772
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
773
|
+
mediaType: "json",
|
|
774
|
+
serializer
|
|
775
|
+
};
|
|
776
|
+
const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
777
|
+
path:
|
|
778
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains",
|
|
779
|
+
httpMethod: "GET",
|
|
780
|
+
responses: {
|
|
781
|
+
200: {
|
|
782
|
+
bodyMapper: Mappers.DomainCollection
|
|
783
|
+
},
|
|
784
|
+
default: {
|
|
785
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
786
|
+
}
|
|
787
|
+
},
|
|
788
|
+
queryParameters: [Parameters.apiVersion],
|
|
789
|
+
urlParameters: [
|
|
790
|
+
Parameters.$host,
|
|
791
|
+
Parameters.subscriptionId,
|
|
792
|
+
Parameters.resourceGroupName
|
|
793
|
+
],
|
|
794
|
+
headerParameters: [Parameters.accept],
|
|
795
|
+
serializer
|
|
796
|
+
};
|
|
797
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
798
|
+
path:
|
|
799
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}",
|
|
800
|
+
httpMethod: "GET",
|
|
801
|
+
responses: {
|
|
802
|
+
200: {
|
|
803
|
+
bodyMapper: Mappers.Domain
|
|
804
|
+
},
|
|
805
|
+
default: {
|
|
806
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
807
|
+
}
|
|
808
|
+
},
|
|
809
|
+
queryParameters: [Parameters.apiVersion],
|
|
810
|
+
urlParameters: [
|
|
811
|
+
Parameters.$host,
|
|
812
|
+
Parameters.subscriptionId,
|
|
813
|
+
Parameters.resourceGroupName,
|
|
814
|
+
Parameters.domainName
|
|
815
|
+
],
|
|
816
|
+
headerParameters: [Parameters.accept],
|
|
817
|
+
serializer
|
|
818
|
+
};
|
|
819
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
820
|
+
path:
|
|
821
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}",
|
|
822
|
+
httpMethod: "PUT",
|
|
823
|
+
responses: {
|
|
824
|
+
200: {
|
|
825
|
+
bodyMapper: Mappers.Domain
|
|
826
|
+
},
|
|
827
|
+
201: {
|
|
828
|
+
bodyMapper: Mappers.Domain
|
|
829
|
+
},
|
|
830
|
+
202: {
|
|
831
|
+
bodyMapper: Mappers.Domain
|
|
832
|
+
},
|
|
833
|
+
204: {
|
|
834
|
+
bodyMapper: Mappers.Domain
|
|
835
|
+
},
|
|
836
|
+
default: {
|
|
837
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
838
|
+
}
|
|
839
|
+
},
|
|
840
|
+
requestBody: Parameters.domain,
|
|
841
|
+
queryParameters: [Parameters.apiVersion],
|
|
842
|
+
urlParameters: [
|
|
843
|
+
Parameters.$host,
|
|
844
|
+
Parameters.subscriptionId,
|
|
845
|
+
Parameters.resourceGroupName,
|
|
846
|
+
Parameters.domainName1
|
|
847
|
+
],
|
|
848
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
849
|
+
mediaType: "json",
|
|
850
|
+
serializer
|
|
851
|
+
};
|
|
852
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
853
|
+
path:
|
|
854
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}",
|
|
855
|
+
httpMethod: "DELETE",
|
|
856
|
+
responses: {
|
|
857
|
+
200: {},
|
|
858
|
+
204: {},
|
|
859
|
+
default: {
|
|
860
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
861
|
+
}
|
|
862
|
+
},
|
|
863
|
+
queryParameters: [Parameters.apiVersion, Parameters.forceHardDeleteDomain],
|
|
864
|
+
urlParameters: [
|
|
865
|
+
Parameters.$host,
|
|
866
|
+
Parameters.subscriptionId,
|
|
867
|
+
Parameters.resourceGroupName,
|
|
868
|
+
Parameters.domainName
|
|
869
|
+
],
|
|
870
|
+
headerParameters: [Parameters.accept],
|
|
871
|
+
serializer
|
|
872
|
+
};
|
|
873
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
|
874
|
+
path:
|
|
875
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}",
|
|
876
|
+
httpMethod: "PATCH",
|
|
877
|
+
responses: {
|
|
878
|
+
200: {
|
|
879
|
+
bodyMapper: Mappers.Domain
|
|
880
|
+
},
|
|
881
|
+
202: {
|
|
882
|
+
bodyMapper: Mappers.Domain
|
|
883
|
+
},
|
|
884
|
+
default: {
|
|
885
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
886
|
+
}
|
|
887
|
+
},
|
|
888
|
+
requestBody: Parameters.domain1,
|
|
889
|
+
queryParameters: [Parameters.apiVersion],
|
|
890
|
+
urlParameters: [
|
|
891
|
+
Parameters.$host,
|
|
892
|
+
Parameters.subscriptionId,
|
|
893
|
+
Parameters.resourceGroupName,
|
|
894
|
+
Parameters.domainName1
|
|
895
|
+
],
|
|
896
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
897
|
+
mediaType: "json",
|
|
898
|
+
serializer
|
|
899
|
+
};
|
|
900
|
+
const listOwnershipIdentifiersOperationSpec: coreClient.OperationSpec = {
|
|
901
|
+
path:
|
|
902
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers",
|
|
903
|
+
httpMethod: "GET",
|
|
904
|
+
responses: {
|
|
905
|
+
200: {
|
|
906
|
+
bodyMapper: Mappers.DomainOwnershipIdentifierCollection
|
|
907
|
+
},
|
|
908
|
+
default: {
|
|
909
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
910
|
+
}
|
|
911
|
+
},
|
|
912
|
+
queryParameters: [Parameters.apiVersion],
|
|
913
|
+
urlParameters: [
|
|
914
|
+
Parameters.$host,
|
|
915
|
+
Parameters.subscriptionId,
|
|
916
|
+
Parameters.resourceGroupName,
|
|
917
|
+
Parameters.domainName
|
|
918
|
+
],
|
|
919
|
+
headerParameters: [Parameters.accept],
|
|
920
|
+
serializer
|
|
921
|
+
};
|
|
922
|
+
const getOwnershipIdentifierOperationSpec: coreClient.OperationSpec = {
|
|
923
|
+
path:
|
|
924
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}",
|
|
925
|
+
httpMethod: "GET",
|
|
926
|
+
responses: {
|
|
927
|
+
200: {
|
|
928
|
+
bodyMapper: Mappers.DomainOwnershipIdentifier
|
|
929
|
+
},
|
|
930
|
+
default: {
|
|
931
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
932
|
+
}
|
|
933
|
+
},
|
|
934
|
+
queryParameters: [Parameters.apiVersion],
|
|
935
|
+
urlParameters: [
|
|
936
|
+
Parameters.$host,
|
|
937
|
+
Parameters.subscriptionId,
|
|
938
|
+
Parameters.resourceGroupName,
|
|
939
|
+
Parameters.name,
|
|
940
|
+
Parameters.domainName
|
|
941
|
+
],
|
|
942
|
+
headerParameters: [Parameters.accept],
|
|
943
|
+
serializer
|
|
944
|
+
};
|
|
945
|
+
const createOrUpdateOwnershipIdentifierOperationSpec: coreClient.OperationSpec = {
|
|
946
|
+
path:
|
|
947
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}",
|
|
948
|
+
httpMethod: "PUT",
|
|
949
|
+
responses: {
|
|
950
|
+
200: {
|
|
951
|
+
bodyMapper: Mappers.DomainOwnershipIdentifier
|
|
952
|
+
},
|
|
953
|
+
default: {
|
|
954
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
955
|
+
}
|
|
956
|
+
},
|
|
957
|
+
requestBody: Parameters.domainOwnershipIdentifier,
|
|
958
|
+
queryParameters: [Parameters.apiVersion],
|
|
959
|
+
urlParameters: [
|
|
960
|
+
Parameters.$host,
|
|
961
|
+
Parameters.subscriptionId,
|
|
962
|
+
Parameters.resourceGroupName,
|
|
963
|
+
Parameters.name,
|
|
964
|
+
Parameters.domainName
|
|
965
|
+
],
|
|
966
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
967
|
+
mediaType: "json",
|
|
968
|
+
serializer
|
|
969
|
+
};
|
|
970
|
+
const deleteOwnershipIdentifierOperationSpec: coreClient.OperationSpec = {
|
|
971
|
+
path:
|
|
972
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}",
|
|
973
|
+
httpMethod: "DELETE",
|
|
974
|
+
responses: {
|
|
975
|
+
200: {},
|
|
976
|
+
204: {},
|
|
977
|
+
default: {
|
|
978
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
979
|
+
}
|
|
980
|
+
},
|
|
981
|
+
queryParameters: [Parameters.apiVersion],
|
|
982
|
+
urlParameters: [
|
|
983
|
+
Parameters.$host,
|
|
984
|
+
Parameters.subscriptionId,
|
|
985
|
+
Parameters.resourceGroupName,
|
|
986
|
+
Parameters.name,
|
|
987
|
+
Parameters.domainName
|
|
988
|
+
],
|
|
989
|
+
headerParameters: [Parameters.accept],
|
|
990
|
+
serializer
|
|
991
|
+
};
|
|
992
|
+
const updateOwnershipIdentifierOperationSpec: coreClient.OperationSpec = {
|
|
993
|
+
path:
|
|
994
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers/{name}",
|
|
995
|
+
httpMethod: "PATCH",
|
|
996
|
+
responses: {
|
|
997
|
+
200: {
|
|
998
|
+
bodyMapper: Mappers.DomainOwnershipIdentifier
|
|
999
|
+
},
|
|
1000
|
+
default: {
|
|
1001
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1002
|
+
}
|
|
1003
|
+
},
|
|
1004
|
+
requestBody: Parameters.domainOwnershipIdentifier,
|
|
1005
|
+
queryParameters: [Parameters.apiVersion],
|
|
1006
|
+
urlParameters: [
|
|
1007
|
+
Parameters.$host,
|
|
1008
|
+
Parameters.subscriptionId,
|
|
1009
|
+
Parameters.resourceGroupName,
|
|
1010
|
+
Parameters.name,
|
|
1011
|
+
Parameters.domainName
|
|
1012
|
+
],
|
|
1013
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1014
|
+
mediaType: "json",
|
|
1015
|
+
serializer
|
|
1016
|
+
};
|
|
1017
|
+
const renewOperationSpec: coreClient.OperationSpec = {
|
|
1018
|
+
path:
|
|
1019
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/renew",
|
|
1020
|
+
httpMethod: "POST",
|
|
1021
|
+
responses: {
|
|
1022
|
+
200: {},
|
|
1023
|
+
202: {},
|
|
1024
|
+
204: {},
|
|
1025
|
+
default: {
|
|
1026
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1027
|
+
}
|
|
1028
|
+
},
|
|
1029
|
+
queryParameters: [Parameters.apiVersion],
|
|
1030
|
+
urlParameters: [
|
|
1031
|
+
Parameters.$host,
|
|
1032
|
+
Parameters.subscriptionId,
|
|
1033
|
+
Parameters.resourceGroupName,
|
|
1034
|
+
Parameters.domainName
|
|
1035
|
+
],
|
|
1036
|
+
headerParameters: [Parameters.accept],
|
|
1037
|
+
serializer
|
|
1038
|
+
};
|
|
1039
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
1040
|
+
path: "{nextLink}",
|
|
1041
|
+
httpMethod: "GET",
|
|
1042
|
+
responses: {
|
|
1043
|
+
200: {
|
|
1044
|
+
bodyMapper: Mappers.DomainCollection
|
|
1045
|
+
},
|
|
1046
|
+
default: {
|
|
1047
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1048
|
+
}
|
|
1049
|
+
},
|
|
1050
|
+
queryParameters: [Parameters.apiVersion],
|
|
1051
|
+
urlParameters: [
|
|
1052
|
+
Parameters.$host,
|
|
1053
|
+
Parameters.subscriptionId,
|
|
1054
|
+
Parameters.nextLink
|
|
1055
|
+
],
|
|
1056
|
+
headerParameters: [Parameters.accept],
|
|
1057
|
+
serializer
|
|
1058
|
+
};
|
|
1059
|
+
const listRecommendationsNextOperationSpec: coreClient.OperationSpec = {
|
|
1060
|
+
path: "{nextLink}",
|
|
1061
|
+
httpMethod: "GET",
|
|
1062
|
+
responses: {
|
|
1063
|
+
200: {
|
|
1064
|
+
bodyMapper: Mappers.NameIdentifierCollection
|
|
1065
|
+
},
|
|
1066
|
+
default: {
|
|
1067
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1068
|
+
}
|
|
1069
|
+
},
|
|
1070
|
+
queryParameters: [Parameters.apiVersion],
|
|
1071
|
+
urlParameters: [
|
|
1072
|
+
Parameters.$host,
|
|
1073
|
+
Parameters.subscriptionId,
|
|
1074
|
+
Parameters.nextLink
|
|
1075
|
+
],
|
|
1076
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1077
|
+
mediaType: "json",
|
|
1078
|
+
serializer
|
|
1079
|
+
};
|
|
1080
|
+
const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
1081
|
+
path: "{nextLink}",
|
|
1082
|
+
httpMethod: "GET",
|
|
1083
|
+
responses: {
|
|
1084
|
+
200: {
|
|
1085
|
+
bodyMapper: Mappers.DomainCollection
|
|
1086
|
+
},
|
|
1087
|
+
default: {
|
|
1088
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1089
|
+
}
|
|
1090
|
+
},
|
|
1091
|
+
queryParameters: [Parameters.apiVersion],
|
|
1092
|
+
urlParameters: [
|
|
1093
|
+
Parameters.$host,
|
|
1094
|
+
Parameters.subscriptionId,
|
|
1095
|
+
Parameters.resourceGroupName,
|
|
1096
|
+
Parameters.nextLink
|
|
1097
|
+
],
|
|
1098
|
+
headerParameters: [Parameters.accept],
|
|
1099
|
+
serializer
|
|
1100
|
+
};
|
|
1101
|
+
const listOwnershipIdentifiersNextOperationSpec: coreClient.OperationSpec = {
|
|
1102
|
+
path: "{nextLink}",
|
|
1103
|
+
httpMethod: "GET",
|
|
1104
|
+
responses: {
|
|
1105
|
+
200: {
|
|
1106
|
+
bodyMapper: Mappers.DomainOwnershipIdentifierCollection
|
|
1107
|
+
},
|
|
1108
|
+
default: {
|
|
1109
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1110
|
+
}
|
|
1111
|
+
},
|
|
1112
|
+
queryParameters: [Parameters.apiVersion],
|
|
1113
|
+
urlParameters: [
|
|
1114
|
+
Parameters.$host,
|
|
1115
|
+
Parameters.subscriptionId,
|
|
1116
|
+
Parameters.resourceGroupName,
|
|
1117
|
+
Parameters.nextLink,
|
|
1118
|
+
Parameters.domainName
|
|
1119
|
+
],
|
|
1120
|
+
headerParameters: [Parameters.accept],
|
|
1121
|
+
serializer
|
|
1122
|
+
};
|