@azure/arm-dnsresolver 1.0.0-beta.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 +5 -0
- package/LICENSE +21 -0
- package/README.md +98 -0
- package/dist/index.js +4086 -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/dnsResolverManagementClient.d.ts +23 -0
- package/dist-esm/src/dnsResolverManagementClient.d.ts.map +1 -0
- package/dist-esm/src/dnsResolverManagementClient.js +56 -0
- package/dist-esm/src/dnsResolverManagementClient.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 +820 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +44 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +32 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +821 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +31 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +236 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/dnsForwardingRulesets.d.ts +133 -0
- package/dist-esm/src/operations/dnsForwardingRulesets.d.ts.map +1 -0
- package/dist-esm/src/operations/dnsForwardingRulesets.js +623 -0
- package/dist-esm/src/operations/dnsForwardingRulesets.js.map +1 -0
- package/dist-esm/src/operations/dnsResolvers.d.ts +131 -0
- package/dist-esm/src/operations/dnsResolvers.d.ts.map +1 -0
- package/dist-esm/src/operations/dnsResolvers.js +621 -0
- package/dist-esm/src/operations/dnsResolvers.js.map +1 -0
- package/dist-esm/src/operations/forwardingRules.d.ts +72 -0
- package/dist-esm/src/operations/forwardingRules.d.ts.map +1 -0
- package/dist-esm/src/operations/forwardingRules.js +304 -0
- package/dist-esm/src/operations/forwardingRules.js.map +1 -0
- package/dist-esm/src/operations/inboundEndpoints.d.ts +99 -0
- package/dist-esm/src/operations/inboundEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operations/inboundEndpoints.js +438 -0
- package/dist-esm/src/operations/inboundEndpoints.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +7 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +14 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/outboundEndpoints.d.ts +99 -0
- package/dist-esm/src/operations/outboundEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operations/outboundEndpoints.js +438 -0
- package/dist-esm/src/operations/outboundEndpoints.js.map +1 -0
- package/dist-esm/src/operations/virtualNetworkLinks.d.ts +101 -0
- package/dist-esm/src/operations/virtualNetworkLinks.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualNetworkLinks.js +450 -0
- package/dist-esm/src/operations/virtualNetworkLinks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dnsForwardingRulesets.d.ts +80 -0
- package/dist-esm/src/operationsInterfaces/dnsForwardingRulesets.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dnsForwardingRulesets.js +9 -0
- package/dist-esm/src/operationsInterfaces/dnsForwardingRulesets.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dnsResolvers.d.ts +78 -0
- package/dist-esm/src/operationsInterfaces/dnsResolvers.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dnsResolvers.js +9 -0
- package/dist-esm/src/operationsInterfaces/dnsResolvers.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/forwardingRules.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/forwardingRules.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/forwardingRules.js +9 -0
- package/dist-esm/src/operationsInterfaces/forwardingRules.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/inboundEndpoints.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/inboundEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/inboundEndpoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/inboundEndpoints.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +7 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +14 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/outboundEndpoints.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/outboundEndpoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/outboundEndpoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/outboundEndpoints.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.d.ts +76 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualNetworkLinks.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +118 -0
- package/review/arm-dnsresolver.api.md +767 -0
- package/rollup.config.js +122 -0
- package/src/dnsResolverManagementClient.ts +99 -0
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +971 -0
- package/src/models/mappers.ts +903 -0
- package/src/models/parameters.ts +283 -0
- package/src/operations/dnsForwardingRulesets.ts +838 -0
- package/src/operations/dnsResolvers.ts +836 -0
- package/src/operations/forwardingRules.ts +406 -0
- package/src/operations/inboundEndpoints.ts +621 -0
- package/src/operations/index.ts +14 -0
- package/src/operations/outboundEndpoints.ts +621 -0
- package/src/operations/virtualNetworkLinks.ts +641 -0
- package/src/operationsInterfaces/dnsForwardingRulesets.ts +154 -0
- package/src/operationsInterfaces/dnsResolvers.ts +152 -0
- package/src/operationsInterfaces/forwardingRules.ts +93 -0
- package/src/operationsInterfaces/inboundEndpoints.ts +147 -0
- package/src/operationsInterfaces/index.ts +14 -0
- package/src/operationsInterfaces/outboundEndpoints.ts +147 -0
- package/src/operationsInterfaces/virtualNetworkLinks.ts +149 -0
- package/tsconfig.json +32 -0
- package/types/arm-dnsresolver.d.ts +1379 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { ForwardingRules } from "../operationsInterfaces";
|
|
3
|
+
import { DnsResolverManagementClient } from "../dnsResolverManagementClient";
|
|
4
|
+
import { ForwardingRule, ForwardingRulesListOptionalParams, ForwardingRulesCreateOrUpdateOptionalParams, ForwardingRulesCreateOrUpdateResponse, ForwardingRulePatch, ForwardingRulesUpdateOptionalParams, ForwardingRulesUpdateResponse, ForwardingRulesDeleteOptionalParams, ForwardingRulesGetOptionalParams, ForwardingRulesGetResponse } from "../models";
|
|
5
|
+
/** Class containing ForwardingRules operations. */
|
|
6
|
+
export declare class ForwardingRulesImpl implements ForwardingRules {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class ForwardingRules class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: DnsResolverManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Lists forwarding rules in a DNS forwarding ruleset.
|
|
15
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
+
* @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
list(resourceGroupName: string, dnsForwardingRulesetName: string, options?: ForwardingRulesListOptionalParams): PagedAsyncIterableIterator<ForwardingRule>;
|
|
20
|
+
private listPagingPage;
|
|
21
|
+
private listPagingAll;
|
|
22
|
+
/**
|
|
23
|
+
* Creates or updates a forwarding rule in a DNS forwarding ruleset.
|
|
24
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
|
+
* @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
|
|
26
|
+
* @param forwardingRuleName The name of the forwarding rule.
|
|
27
|
+
* @param parameters Parameters supplied to the CreateOrUpdate operation.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
createOrUpdate(resourceGroupName: string, dnsForwardingRulesetName: string, forwardingRuleName: string, parameters: ForwardingRule, options?: ForwardingRulesCreateOrUpdateOptionalParams): Promise<ForwardingRulesCreateOrUpdateResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Updates a forwarding rule in a DNS forwarding ruleset.
|
|
33
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
34
|
+
* @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
|
|
35
|
+
* @param forwardingRuleName The name of the forwarding rule.
|
|
36
|
+
* @param parameters Parameters supplied to the Update operation.
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
update(resourceGroupName: string, dnsForwardingRulesetName: string, forwardingRuleName: string, parameters: ForwardingRulePatch, options?: ForwardingRulesUpdateOptionalParams): Promise<ForwardingRulesUpdateResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* Deletes a forwarding rule in a DNS forwarding ruleset. WARNING: This operation cannot be undone.
|
|
42
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
43
|
+
* @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
|
|
44
|
+
* @param forwardingRuleName The name of the forwarding rule.
|
|
45
|
+
* @param options The options parameters.
|
|
46
|
+
*/
|
|
47
|
+
delete(resourceGroupName: string, dnsForwardingRulesetName: string, forwardingRuleName: string, options?: ForwardingRulesDeleteOptionalParams): Promise<void>;
|
|
48
|
+
/**
|
|
49
|
+
* Gets properties of a forwarding rule in a DNS forwarding ruleset.
|
|
50
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
51
|
+
* @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
|
|
52
|
+
* @param forwardingRuleName The name of the forwarding rule.
|
|
53
|
+
* @param options The options parameters.
|
|
54
|
+
*/
|
|
55
|
+
get(resourceGroupName: string, dnsForwardingRulesetName: string, forwardingRuleName: string, options?: ForwardingRulesGetOptionalParams): Promise<ForwardingRulesGetResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* Lists forwarding rules in a DNS forwarding ruleset.
|
|
58
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
59
|
+
* @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
|
|
60
|
+
* @param options The options parameters.
|
|
61
|
+
*/
|
|
62
|
+
private _list;
|
|
63
|
+
/**
|
|
64
|
+
* ListNext
|
|
65
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
66
|
+
* @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
|
|
67
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
68
|
+
* @param options The options parameters.
|
|
69
|
+
*/
|
|
70
|
+
private _listNext;
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=forwardingRules.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forwardingRules.d.ts","sourceRoot":"","sources":["../../../src/operations/forwardingRules.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE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C,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAYtC;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing ForwardingRules operations. */
|
|
14
|
+
export class ForwardingRulesImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class ForwardingRules class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Lists forwarding rules in a DNS forwarding ruleset.
|
|
24
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
|
+
* @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
list(resourceGroupName, dnsForwardingRulesetName, options) {
|
|
29
|
+
const iter = this.listPagingAll(resourceGroupName, dnsForwardingRulesetName, options);
|
|
30
|
+
return {
|
|
31
|
+
next() {
|
|
32
|
+
return iter.next();
|
|
33
|
+
},
|
|
34
|
+
[Symbol.asyncIterator]() {
|
|
35
|
+
return this;
|
|
36
|
+
},
|
|
37
|
+
byPage: () => {
|
|
38
|
+
return this.listPagingPage(resourceGroupName, dnsForwardingRulesetName, options);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
listPagingPage(resourceGroupName, dnsForwardingRulesetName, options) {
|
|
43
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
44
|
+
let result = yield __await(this._list(resourceGroupName, dnsForwardingRulesetName, options));
|
|
45
|
+
yield yield __await(result.value || []);
|
|
46
|
+
let continuationToken = result.nextLink;
|
|
47
|
+
while (continuationToken) {
|
|
48
|
+
result = yield __await(this._listNext(resourceGroupName, dnsForwardingRulesetName, continuationToken, options));
|
|
49
|
+
continuationToken = result.nextLink;
|
|
50
|
+
yield yield __await(result.value || []);
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
listPagingAll(resourceGroupName, dnsForwardingRulesetName, options) {
|
|
55
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
56
|
+
var e_1, _a;
|
|
57
|
+
try {
|
|
58
|
+
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, dnsForwardingRulesetName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
59
|
+
const page = _c.value;
|
|
60
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
64
|
+
finally {
|
|
65
|
+
try {
|
|
66
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
67
|
+
}
|
|
68
|
+
finally { if (e_1) throw e_1.error; }
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Creates or updates a forwarding rule in a DNS forwarding ruleset.
|
|
74
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
75
|
+
* @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
|
|
76
|
+
* @param forwardingRuleName The name of the forwarding rule.
|
|
77
|
+
* @param parameters Parameters supplied to the CreateOrUpdate operation.
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
createOrUpdate(resourceGroupName, dnsForwardingRulesetName, forwardingRuleName, parameters, options) {
|
|
81
|
+
return this.client.sendOperationRequest({
|
|
82
|
+
resourceGroupName,
|
|
83
|
+
dnsForwardingRulesetName,
|
|
84
|
+
forwardingRuleName,
|
|
85
|
+
parameters,
|
|
86
|
+
options
|
|
87
|
+
}, createOrUpdateOperationSpec);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Updates a forwarding rule in a DNS forwarding ruleset.
|
|
91
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
92
|
+
* @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
|
|
93
|
+
* @param forwardingRuleName The name of the forwarding rule.
|
|
94
|
+
* @param parameters Parameters supplied to the Update operation.
|
|
95
|
+
* @param options The options parameters.
|
|
96
|
+
*/
|
|
97
|
+
update(resourceGroupName, dnsForwardingRulesetName, forwardingRuleName, parameters, options) {
|
|
98
|
+
return this.client.sendOperationRequest({
|
|
99
|
+
resourceGroupName,
|
|
100
|
+
dnsForwardingRulesetName,
|
|
101
|
+
forwardingRuleName,
|
|
102
|
+
parameters,
|
|
103
|
+
options
|
|
104
|
+
}, updateOperationSpec);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Deletes a forwarding rule in a DNS forwarding ruleset. WARNING: This operation cannot be undone.
|
|
108
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
109
|
+
* @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
|
|
110
|
+
* @param forwardingRuleName The name of the forwarding rule.
|
|
111
|
+
* @param options The options parameters.
|
|
112
|
+
*/
|
|
113
|
+
delete(resourceGroupName, dnsForwardingRulesetName, forwardingRuleName, options) {
|
|
114
|
+
return this.client.sendOperationRequest({
|
|
115
|
+
resourceGroupName,
|
|
116
|
+
dnsForwardingRulesetName,
|
|
117
|
+
forwardingRuleName,
|
|
118
|
+
options
|
|
119
|
+
}, deleteOperationSpec);
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Gets properties of a forwarding rule in a DNS forwarding ruleset.
|
|
123
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
124
|
+
* @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
|
|
125
|
+
* @param forwardingRuleName The name of the forwarding rule.
|
|
126
|
+
* @param options The options parameters.
|
|
127
|
+
*/
|
|
128
|
+
get(resourceGroupName, dnsForwardingRulesetName, forwardingRuleName, options) {
|
|
129
|
+
return this.client.sendOperationRequest({
|
|
130
|
+
resourceGroupName,
|
|
131
|
+
dnsForwardingRulesetName,
|
|
132
|
+
forwardingRuleName,
|
|
133
|
+
options
|
|
134
|
+
}, getOperationSpec);
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Lists forwarding rules in a DNS forwarding ruleset.
|
|
138
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
139
|
+
* @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
|
|
140
|
+
* @param options The options parameters.
|
|
141
|
+
*/
|
|
142
|
+
_list(resourceGroupName, dnsForwardingRulesetName, options) {
|
|
143
|
+
return this.client.sendOperationRequest({ resourceGroupName, dnsForwardingRulesetName, options }, listOperationSpec);
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* ListNext
|
|
147
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
148
|
+
* @param dnsForwardingRulesetName The name of the DNS forwarding ruleset.
|
|
149
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
150
|
+
* @param options The options parameters.
|
|
151
|
+
*/
|
|
152
|
+
_listNext(resourceGroupName, dnsForwardingRulesetName, nextLink, options) {
|
|
153
|
+
return this.client.sendOperationRequest({ resourceGroupName, dnsForwardingRulesetName, nextLink, options }, listNextOperationSpec);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
// Operation Specifications
|
|
157
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
158
|
+
const createOrUpdateOperationSpec = {
|
|
159
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/forwardingRules/{forwardingRuleName}",
|
|
160
|
+
httpMethod: "PUT",
|
|
161
|
+
responses: {
|
|
162
|
+
200: {
|
|
163
|
+
bodyMapper: Mappers.ForwardingRule
|
|
164
|
+
},
|
|
165
|
+
201: {
|
|
166
|
+
bodyMapper: Mappers.ForwardingRule
|
|
167
|
+
},
|
|
168
|
+
default: {
|
|
169
|
+
bodyMapper: Mappers.CloudError
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
requestBody: Parameters.parameters8,
|
|
173
|
+
queryParameters: [Parameters.apiVersion],
|
|
174
|
+
urlParameters: [
|
|
175
|
+
Parameters.$host,
|
|
176
|
+
Parameters.subscriptionId,
|
|
177
|
+
Parameters.resourceGroupName,
|
|
178
|
+
Parameters.dnsForwardingRulesetName,
|
|
179
|
+
Parameters.forwardingRuleName
|
|
180
|
+
],
|
|
181
|
+
headerParameters: [
|
|
182
|
+
Parameters.contentType,
|
|
183
|
+
Parameters.accept,
|
|
184
|
+
Parameters.ifMatch,
|
|
185
|
+
Parameters.ifNoneMatch
|
|
186
|
+
],
|
|
187
|
+
mediaType: "json",
|
|
188
|
+
serializer
|
|
189
|
+
};
|
|
190
|
+
const updateOperationSpec = {
|
|
191
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/forwardingRules/{forwardingRuleName}",
|
|
192
|
+
httpMethod: "PATCH",
|
|
193
|
+
responses: {
|
|
194
|
+
200: {
|
|
195
|
+
bodyMapper: Mappers.ForwardingRule
|
|
196
|
+
},
|
|
197
|
+
default: {
|
|
198
|
+
bodyMapper: Mappers.CloudError
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
requestBody: Parameters.parameters9,
|
|
202
|
+
queryParameters: [Parameters.apiVersion],
|
|
203
|
+
urlParameters: [
|
|
204
|
+
Parameters.$host,
|
|
205
|
+
Parameters.subscriptionId,
|
|
206
|
+
Parameters.resourceGroupName,
|
|
207
|
+
Parameters.dnsForwardingRulesetName,
|
|
208
|
+
Parameters.forwardingRuleName
|
|
209
|
+
],
|
|
210
|
+
headerParameters: [
|
|
211
|
+
Parameters.contentType,
|
|
212
|
+
Parameters.accept,
|
|
213
|
+
Parameters.ifMatch
|
|
214
|
+
],
|
|
215
|
+
mediaType: "json",
|
|
216
|
+
serializer
|
|
217
|
+
};
|
|
218
|
+
const deleteOperationSpec = {
|
|
219
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/forwardingRules/{forwardingRuleName}",
|
|
220
|
+
httpMethod: "DELETE",
|
|
221
|
+
responses: {
|
|
222
|
+
200: {},
|
|
223
|
+
204: {},
|
|
224
|
+
default: {
|
|
225
|
+
bodyMapper: Mappers.CloudError
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
queryParameters: [Parameters.apiVersion],
|
|
229
|
+
urlParameters: [
|
|
230
|
+
Parameters.$host,
|
|
231
|
+
Parameters.subscriptionId,
|
|
232
|
+
Parameters.resourceGroupName,
|
|
233
|
+
Parameters.dnsForwardingRulesetName,
|
|
234
|
+
Parameters.forwardingRuleName
|
|
235
|
+
],
|
|
236
|
+
headerParameters: [Parameters.accept, Parameters.ifMatch],
|
|
237
|
+
serializer
|
|
238
|
+
};
|
|
239
|
+
const getOperationSpec = {
|
|
240
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/forwardingRules/{forwardingRuleName}",
|
|
241
|
+
httpMethod: "GET",
|
|
242
|
+
responses: {
|
|
243
|
+
200: {
|
|
244
|
+
bodyMapper: Mappers.ForwardingRule
|
|
245
|
+
},
|
|
246
|
+
default: {
|
|
247
|
+
bodyMapper: Mappers.CloudError
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
queryParameters: [Parameters.apiVersion],
|
|
251
|
+
urlParameters: [
|
|
252
|
+
Parameters.$host,
|
|
253
|
+
Parameters.subscriptionId,
|
|
254
|
+
Parameters.resourceGroupName,
|
|
255
|
+
Parameters.dnsForwardingRulesetName,
|
|
256
|
+
Parameters.forwardingRuleName
|
|
257
|
+
],
|
|
258
|
+
headerParameters: [Parameters.accept],
|
|
259
|
+
serializer
|
|
260
|
+
};
|
|
261
|
+
const listOperationSpec = {
|
|
262
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/forwardingRules",
|
|
263
|
+
httpMethod: "GET",
|
|
264
|
+
responses: {
|
|
265
|
+
200: {
|
|
266
|
+
bodyMapper: Mappers.ForwardingRuleListResult
|
|
267
|
+
},
|
|
268
|
+
default: {
|
|
269
|
+
bodyMapper: Mappers.CloudError
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
queryParameters: [Parameters.apiVersion, Parameters.top],
|
|
273
|
+
urlParameters: [
|
|
274
|
+
Parameters.$host,
|
|
275
|
+
Parameters.subscriptionId,
|
|
276
|
+
Parameters.resourceGroupName,
|
|
277
|
+
Parameters.dnsForwardingRulesetName
|
|
278
|
+
],
|
|
279
|
+
headerParameters: [Parameters.accept],
|
|
280
|
+
serializer
|
|
281
|
+
};
|
|
282
|
+
const listNextOperationSpec = {
|
|
283
|
+
path: "{nextLink}",
|
|
284
|
+
httpMethod: "GET",
|
|
285
|
+
responses: {
|
|
286
|
+
200: {
|
|
287
|
+
bodyMapper: Mappers.ForwardingRuleListResult
|
|
288
|
+
},
|
|
289
|
+
default: {
|
|
290
|
+
bodyMapper: Mappers.CloudError
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
queryParameters: [Parameters.apiVersion, Parameters.top],
|
|
294
|
+
urlParameters: [
|
|
295
|
+
Parameters.$host,
|
|
296
|
+
Parameters.subscriptionId,
|
|
297
|
+
Parameters.resourceGroupName,
|
|
298
|
+
Parameters.nextLink,
|
|
299
|
+
Parameters.dnsForwardingRulesetName
|
|
300
|
+
],
|
|
301
|
+
headerParameters: [Parameters.accept],
|
|
302
|
+
serializer
|
|
303
|
+
};
|
|
304
|
+
//# sourceMappingURL=forwardingRules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forwardingRules.js","sourceRoot":"","sources":["../../../src/operations/forwardingRules.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAkBnD,4CAA4C;AAC5C,mDAAmD;AACnD,MAAM,OAAO,mBAAmB;IAG9B;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,wBAAgC,EAChC,OAA2C;QAE3C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,wBAAwB,EACxB,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,wBAAwB,EACxB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EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC;IACxD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,wBAAwB;KACpC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC;IACxD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,wBAAwB;KACpC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { InboundEndpoints } from "../operationsInterfaces";
|
|
3
|
+
import { DnsResolverManagementClient } from "../dnsResolverManagementClient";
|
|
4
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
5
|
+
import { InboundEndpoint, InboundEndpointsListOptionalParams, InboundEndpointsCreateOrUpdateOptionalParams, InboundEndpointsCreateOrUpdateResponse, InboundEndpointPatch, InboundEndpointsUpdateOptionalParams, InboundEndpointsUpdateResponse, InboundEndpointsDeleteOptionalParams, InboundEndpointsGetOptionalParams, InboundEndpointsGetResponse } from "../models";
|
|
6
|
+
/** Class containing InboundEndpoints operations. */
|
|
7
|
+
export declare class InboundEndpointsImpl implements InboundEndpoints {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class InboundEndpoints class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: DnsResolverManagementClient);
|
|
14
|
+
/**
|
|
15
|
+
* Lists inbound endpoints for a DNS resolver.
|
|
16
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
17
|
+
* @param dnsResolverName The name of the DNS resolver.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
list(resourceGroupName: string, dnsResolverName: string, options?: InboundEndpointsListOptionalParams): PagedAsyncIterableIterator<InboundEndpoint>;
|
|
21
|
+
private listPagingPage;
|
|
22
|
+
private listPagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* Creates or updates an inbound endpoint for a DNS resolver.
|
|
25
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
|
+
* @param dnsResolverName The name of the DNS resolver.
|
|
27
|
+
* @param inboundEndpointName The name of the inbound endpoint for the DNS resolver.
|
|
28
|
+
* @param parameters Parameters supplied to the CreateOrUpdate operation.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
beginCreateOrUpdate(resourceGroupName: string, dnsResolverName: string, inboundEndpointName: string, parameters: InboundEndpoint, options?: InboundEndpointsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<InboundEndpointsCreateOrUpdateResponse>, InboundEndpointsCreateOrUpdateResponse>>;
|
|
32
|
+
/**
|
|
33
|
+
* Creates or updates an inbound endpoint for a DNS resolver.
|
|
34
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
35
|
+
* @param dnsResolverName The name of the DNS resolver.
|
|
36
|
+
* @param inboundEndpointName The name of the inbound endpoint for the DNS resolver.
|
|
37
|
+
* @param parameters Parameters supplied to the CreateOrUpdate operation.
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, dnsResolverName: string, inboundEndpointName: string, parameters: InboundEndpoint, options?: InboundEndpointsCreateOrUpdateOptionalParams): Promise<InboundEndpointsCreateOrUpdateResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* Updates an inbound endpoint for a DNS resolver.
|
|
43
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
44
|
+
* @param dnsResolverName The name of the DNS resolver.
|
|
45
|
+
* @param inboundEndpointName The name of the inbound endpoint for the DNS resolver.
|
|
46
|
+
* @param parameters Parameters supplied to the Update operation.
|
|
47
|
+
* @param options The options parameters.
|
|
48
|
+
*/
|
|
49
|
+
beginUpdate(resourceGroupName: string, dnsResolverName: string, inboundEndpointName: string, parameters: InboundEndpointPatch, options?: InboundEndpointsUpdateOptionalParams): Promise<PollerLike<PollOperationState<InboundEndpointsUpdateResponse>, InboundEndpointsUpdateResponse>>;
|
|
50
|
+
/**
|
|
51
|
+
* Updates an inbound endpoint for a DNS resolver.
|
|
52
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
53
|
+
* @param dnsResolverName The name of the DNS resolver.
|
|
54
|
+
* @param inboundEndpointName The name of the inbound endpoint for the DNS resolver.
|
|
55
|
+
* @param parameters Parameters supplied to the Update operation.
|
|
56
|
+
* @param options The options parameters.
|
|
57
|
+
*/
|
|
58
|
+
beginUpdateAndWait(resourceGroupName: string, dnsResolverName: string, inboundEndpointName: string, parameters: InboundEndpointPatch, options?: InboundEndpointsUpdateOptionalParams): Promise<InboundEndpointsUpdateResponse>;
|
|
59
|
+
/**
|
|
60
|
+
* Deletes an inbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.
|
|
61
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
62
|
+
* @param dnsResolverName The name of the DNS resolver.
|
|
63
|
+
* @param inboundEndpointName The name of the inbound endpoint for the DNS resolver.
|
|
64
|
+
* @param options The options parameters.
|
|
65
|
+
*/
|
|
66
|
+
beginDelete(resourceGroupName: string, dnsResolverName: string, inboundEndpointName: string, options?: InboundEndpointsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
67
|
+
/**
|
|
68
|
+
* Deletes an inbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.
|
|
69
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
70
|
+
* @param dnsResolverName The name of the DNS resolver.
|
|
71
|
+
* @param inboundEndpointName The name of the inbound endpoint for the DNS resolver.
|
|
72
|
+
* @param options The options parameters.
|
|
73
|
+
*/
|
|
74
|
+
beginDeleteAndWait(resourceGroupName: string, dnsResolverName: string, inboundEndpointName: string, options?: InboundEndpointsDeleteOptionalParams): Promise<void>;
|
|
75
|
+
/**
|
|
76
|
+
* Gets properties of an inbound endpoint for a DNS resolver.
|
|
77
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
78
|
+
* @param dnsResolverName The name of the DNS resolver.
|
|
79
|
+
* @param inboundEndpointName The name of the inbound endpoint for the DNS resolver.
|
|
80
|
+
* @param options The options parameters.
|
|
81
|
+
*/
|
|
82
|
+
get(resourceGroupName: string, dnsResolverName: string, inboundEndpointName: string, options?: InboundEndpointsGetOptionalParams): Promise<InboundEndpointsGetResponse>;
|
|
83
|
+
/**
|
|
84
|
+
* Lists inbound endpoints for a DNS resolver.
|
|
85
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
86
|
+
* @param dnsResolverName The name of the DNS resolver.
|
|
87
|
+
* @param options The options parameters.
|
|
88
|
+
*/
|
|
89
|
+
private _list;
|
|
90
|
+
/**
|
|
91
|
+
* ListNext
|
|
92
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
93
|
+
* @param dnsResolverName The name of the DNS resolver.
|
|
94
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
95
|
+
* @param options The options parameters.
|
|
96
|
+
*/
|
|
97
|
+
private _listNext;
|
|
98
|
+
}
|
|
99
|
+
//# sourceMappingURL=inboundEndpoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inboundEndpoints.d.ts","sourceRoot":"","sources":["../../../src/operations/inboundEndpoints.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAI3D,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,eAAe,EAEf,kCAAkC,EAClC,4CAA4C,EAC5C,sCAAsC,EACtC,oBAAoB,EACpB,oCAAoC,EACpC,8BAA8B,EAC9B,oCAAoC,EACpC,iCAAiC,EACjC,2BAA2B,EAG5B,MAAM,WAAW,CAAC;AAGnB,oDAAoD;AACpD,qBAAa,oBAAqB,YAAW,gBAAgB;IAC3D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8B;IAErD;;;OAGG;gBACS,MAAM,EAAE,2BAA2B;IAI/C;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,0BAA0B,CAAC,eAAe,CAAC;YAmB/B,cAAc;YAoBd,aAAa;IAc5B;;;;;;;OAOG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,mBAAmB,EAAE,MAAM,EAC3B,UAAU,EAAE,eAAe,EAC3B,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,sCAAsC,CAAC,EAC1D,sCAAsC,CACvC,CACF;IAyDD;;;;;;;OAOG;IACG,0BAA0B,CAC9B,iBAAiB,EAAE,MAAM,EACzB,eAAe,E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