@azure/arm-relay 0.1.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/{LICENSE.txt → LICENSE} +21 -21
- package/README.md +98 -96
- package/dist/index.js +2907 -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/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 +493 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +9 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +23 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +369 -416
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +20 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +169 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/hybridConnections.d.ts +137 -0
- package/dist-esm/src/operations/hybridConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/hybridConnections.js +571 -0
- package/dist-esm/src/operations/hybridConnections.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +3 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/namespaces.d.ts +174 -0
- package/dist-esm/src/operations/namespaces.d.ts.map +1 -0
- package/dist-esm/src/operations/namespaces.js +771 -0
- package/dist-esm/src/operations/namespaces.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/wCFRelays.d.ts +137 -0
- package/dist-esm/src/operations/wCFRelays.d.ts.map +1 -0
- package/dist-esm/src/operations/wCFRelays.js +554 -0
- package/dist-esm/src/operations/wCFRelays.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/hybridConnections.d.ts +93 -0
- package/dist-esm/src/operationsInterfaces/hybridConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/hybridConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/hybridConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +12 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/namespaces.d.ts +121 -0
- package/dist-esm/src/operationsInterfaces/namespaces.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/namespaces.js +9 -0
- package/dist-esm/src/operationsInterfaces/namespaces.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/wCFRelays.d.ts +93 -0
- package/dist-esm/src/operationsInterfaces/wCFRelays.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/wCFRelays.js +9 -0
- package/dist-esm/src/operationsInterfaces/wCFRelays.js.map +1 -0
- package/dist-esm/src/relayAPI.d.ts +22 -0
- package/dist-esm/src/relayAPI.d.ts.map +1 -0
- package/dist-esm/src/relayAPI.js +55 -0
- package/dist-esm/src/relayAPI.js.map +1 -0
- package/dist-esm/test/relay_examples.d.ts +4 -0
- package/dist-esm/test/relay_examples.d.ts.map +1 -0
- package/dist-esm/test/relay_examples.js +240 -0
- package/dist-esm/test/relay_examples.js.map +1 -0
- package/package.json +71 -34
- package/review/arm-relay.api.md +539 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +611 -0
- package/{lib → src}/models/mappers.ts +366 -413
- package/src/models/parameters.ts +200 -0
- package/src/operations/hybridConnections.ts +780 -0
- package/{lib → src}/operations/index.ts +3 -5
- package/src/operations/namespaces.ts +1028 -0
- package/src/operations/operations.ts +137 -0
- package/src/operations/wCFRelays.ts +763 -0
- package/src/operationsInterfaces/hybridConnections.ts +179 -0
- package/src/operationsInterfaces/index.ts +12 -0
- package/src/operationsInterfaces/namespaces.ts +228 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/wCFRelays.ts +179 -0
- package/src/relayAPI.ts +92 -0
- package/tsconfig.json +4 -4
- package/types/arm-relay.d.ts +931 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-relay.js +0 -2593
- package/dist/arm-relay.js.map +0 -1
- package/dist/arm-relay.min.js +0 -1
- package/dist/arm-relay.min.js.map +0 -1
- package/esm/models/hybridConnectionsMappers.d.ts +0 -2
- package/esm/models/hybridConnectionsMappers.d.ts.map +0 -1
- package/esm/models/hybridConnectionsMappers.js +0 -11
- package/esm/models/hybridConnectionsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1231
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -25
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/namespacesMappers.d.ts +0 -2
- package/esm/models/namespacesMappers.d.ts.map +0 -1
- package/esm/models/namespacesMappers.js +0 -11
- package/esm/models/namespacesMappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -11
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -118
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/wCFRelaysMappers.d.ts +0 -2
- package/esm/models/wCFRelaysMappers.d.ts.map +0 -1
- package/esm/models/wCFRelaysMappers.js +0 -11
- package/esm/models/wCFRelaysMappers.js.map +0 -1
- package/esm/operations/hybridConnections.d.ts +0 -310
- package/esm/operations/hybridConnections.d.ts.map +0 -1
- package/esm/operations/hybridConnections.js +0 -431
- package/esm/operations/hybridConnections.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/namespaces.d.ts +0 -348
- package/esm/operations/namespaces.d.ts.map +0 -1
- package/esm/operations/namespaces.js +0 -579
- package/esm/operations/namespaces.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/wCFRelays.d.ts +0 -310
- package/esm/operations/wCFRelays.d.ts.map +0 -1
- package/esm/operations/wCFRelays.js +0 -432
- package/esm/operations/wCFRelays.js.map +0 -1
- package/esm/relayManagementClient.d.ts +0 -22
- package/esm/relayManagementClient.d.ts.map +0 -1
- package/esm/relayManagementClient.js +0 -37
- package/esm/relayManagementClient.js.map +0 -1
- package/esm/relayManagementClientContext.d.ts +0 -17
- package/esm/relayManagementClientContext.d.ts.map +0 -1
- package/esm/relayManagementClientContext.js +0 -57
- package/esm/relayManagementClientContext.js.map +0 -1
- package/lib/models/hybridConnectionsMappers.ts +0 -28
- package/lib/models/index.ts +0 -1304
- package/lib/models/namespacesMappers.ts +0 -30
- package/lib/models/operationsMappers.ts +0 -17
- package/lib/models/parameters.ts +0 -120
- package/lib/models/wCFRelaysMappers.ts +0 -29
- package/lib/operations/hybridConnections.ts +0 -799
- package/lib/operations/namespaces.ts +0 -977
- package/lib/operations/operations.ts +0 -123
- package/lib/operations/wCFRelays.ts +0 -800
- package/lib/relayManagementClient.ts +0 -49
- package/lib/relayManagementClientContext.ts +0 -63
|
@@ -0,0 +1,763 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { WCFRelays } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
13
|
+
import * as Parameters from "../models/parameters";
|
|
14
|
+
import { RelayAPI } from "../relayAPI";
|
|
15
|
+
import {
|
|
16
|
+
WcfRelay,
|
|
17
|
+
WCFRelaysListByNamespaceNextOptionalParams,
|
|
18
|
+
WCFRelaysListByNamespaceOptionalParams,
|
|
19
|
+
AuthorizationRule,
|
|
20
|
+
WCFRelaysListAuthorizationRulesNextOptionalParams,
|
|
21
|
+
WCFRelaysListAuthorizationRulesOptionalParams,
|
|
22
|
+
WCFRelaysListByNamespaceResponse,
|
|
23
|
+
WCFRelaysCreateOrUpdateOptionalParams,
|
|
24
|
+
WCFRelaysCreateOrUpdateResponse,
|
|
25
|
+
WCFRelaysDeleteOptionalParams,
|
|
26
|
+
WCFRelaysGetOptionalParams,
|
|
27
|
+
WCFRelaysGetResponse,
|
|
28
|
+
WCFRelaysListAuthorizationRulesResponse,
|
|
29
|
+
WCFRelaysCreateOrUpdateAuthorizationRuleOptionalParams,
|
|
30
|
+
WCFRelaysCreateOrUpdateAuthorizationRuleResponse,
|
|
31
|
+
WCFRelaysDeleteAuthorizationRuleOptionalParams,
|
|
32
|
+
WCFRelaysGetAuthorizationRuleOptionalParams,
|
|
33
|
+
WCFRelaysGetAuthorizationRuleResponse,
|
|
34
|
+
WCFRelaysListKeysOptionalParams,
|
|
35
|
+
WCFRelaysListKeysResponse,
|
|
36
|
+
RegenerateAccessKeyParameters,
|
|
37
|
+
WCFRelaysRegenerateKeysOptionalParams,
|
|
38
|
+
WCFRelaysRegenerateKeysResponse,
|
|
39
|
+
WCFRelaysListByNamespaceNextResponse,
|
|
40
|
+
WCFRelaysListAuthorizationRulesNextResponse
|
|
41
|
+
} from "../models";
|
|
42
|
+
|
|
43
|
+
/// <reference lib="esnext.asynciterable" />
|
|
44
|
+
/** Class containing WCFRelays operations. */
|
|
45
|
+
export class WCFRelaysImpl implements WCFRelays {
|
|
46
|
+
private readonly client: RelayAPI;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Initialize a new instance of the class WCFRelays class.
|
|
50
|
+
* @param client Reference to the service client
|
|
51
|
+
*/
|
|
52
|
+
constructor(client: RelayAPI) {
|
|
53
|
+
this.client = client;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Lists the WCF relays within the namespace.
|
|
58
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
59
|
+
* @param namespaceName The namespace name
|
|
60
|
+
* @param options The options parameters.
|
|
61
|
+
*/
|
|
62
|
+
public listByNamespace(
|
|
63
|
+
resourceGroupName: string,
|
|
64
|
+
namespaceName: string,
|
|
65
|
+
options?: WCFRelaysListByNamespaceOptionalParams
|
|
66
|
+
): PagedAsyncIterableIterator<WcfRelay> {
|
|
67
|
+
const iter = this.listByNamespacePagingAll(
|
|
68
|
+
resourceGroupName,
|
|
69
|
+
namespaceName,
|
|
70
|
+
options
|
|
71
|
+
);
|
|
72
|
+
return {
|
|
73
|
+
next() {
|
|
74
|
+
return iter.next();
|
|
75
|
+
},
|
|
76
|
+
[Symbol.asyncIterator]() {
|
|
77
|
+
return this;
|
|
78
|
+
},
|
|
79
|
+
byPage: () => {
|
|
80
|
+
return this.listByNamespacePagingPage(
|
|
81
|
+
resourceGroupName,
|
|
82
|
+
namespaceName,
|
|
83
|
+
options
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
private async *listByNamespacePagingPage(
|
|
90
|
+
resourceGroupName: string,
|
|
91
|
+
namespaceName: string,
|
|
92
|
+
options?: WCFRelaysListByNamespaceOptionalParams
|
|
93
|
+
): AsyncIterableIterator<WcfRelay[]> {
|
|
94
|
+
let result = await this._listByNamespace(
|
|
95
|
+
resourceGroupName,
|
|
96
|
+
namespaceName,
|
|
97
|
+
options
|
|
98
|
+
);
|
|
99
|
+
yield result.value || [];
|
|
100
|
+
let continuationToken = result.nextLink;
|
|
101
|
+
while (continuationToken) {
|
|
102
|
+
result = await this._listByNamespaceNext(
|
|
103
|
+
resourceGroupName,
|
|
104
|
+
namespaceName,
|
|
105
|
+
continuationToken,
|
|
106
|
+
options
|
|
107
|
+
);
|
|
108
|
+
continuationToken = result.nextLink;
|
|
109
|
+
yield result.value || [];
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
private async *listByNamespacePagingAll(
|
|
114
|
+
resourceGroupName: string,
|
|
115
|
+
namespaceName: string,
|
|
116
|
+
options?: WCFRelaysListByNamespaceOptionalParams
|
|
117
|
+
): AsyncIterableIterator<WcfRelay> {
|
|
118
|
+
for await (const page of this.listByNamespacePagingPage(
|
|
119
|
+
resourceGroupName,
|
|
120
|
+
namespaceName,
|
|
121
|
+
options
|
|
122
|
+
)) {
|
|
123
|
+
yield* page;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Authorization rules for a WCF relay.
|
|
129
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
130
|
+
* @param namespaceName The namespace name
|
|
131
|
+
* @param relayName The relay name.
|
|
132
|
+
* @param options The options parameters.
|
|
133
|
+
*/
|
|
134
|
+
public listAuthorizationRules(
|
|
135
|
+
resourceGroupName: string,
|
|
136
|
+
namespaceName: string,
|
|
137
|
+
relayName: string,
|
|
138
|
+
options?: WCFRelaysListAuthorizationRulesOptionalParams
|
|
139
|
+
): PagedAsyncIterableIterator<AuthorizationRule> {
|
|
140
|
+
const iter = this.listAuthorizationRulesPagingAll(
|
|
141
|
+
resourceGroupName,
|
|
142
|
+
namespaceName,
|
|
143
|
+
relayName,
|
|
144
|
+
options
|
|
145
|
+
);
|
|
146
|
+
return {
|
|
147
|
+
next() {
|
|
148
|
+
return iter.next();
|
|
149
|
+
},
|
|
150
|
+
[Symbol.asyncIterator]() {
|
|
151
|
+
return this;
|
|
152
|
+
},
|
|
153
|
+
byPage: () => {
|
|
154
|
+
return this.listAuthorizationRulesPagingPage(
|
|
155
|
+
resourceGroupName,
|
|
156
|
+
namespaceName,
|
|
157
|
+
relayName,
|
|
158
|
+
options
|
|
159
|
+
);
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
private async *listAuthorizationRulesPagingPage(
|
|
165
|
+
resourceGroupName: string,
|
|
166
|
+
namespaceName: string,
|
|
167
|
+
relayName: string,
|
|
168
|
+
options?: WCFRelaysListAuthorizationRulesOptionalParams
|
|
169
|
+
): AsyncIterableIterator<AuthorizationRule[]> {
|
|
170
|
+
let result = await this._listAuthorizationRules(
|
|
171
|
+
resourceGroupName,
|
|
172
|
+
namespaceName,
|
|
173
|
+
relayName,
|
|
174
|
+
options
|
|
175
|
+
);
|
|
176
|
+
yield result.value || [];
|
|
177
|
+
let continuationToken = result.nextLink;
|
|
178
|
+
while (continuationToken) {
|
|
179
|
+
result = await this._listAuthorizationRulesNext(
|
|
180
|
+
resourceGroupName,
|
|
181
|
+
namespaceName,
|
|
182
|
+
relayName,
|
|
183
|
+
continuationToken,
|
|
184
|
+
options
|
|
185
|
+
);
|
|
186
|
+
continuationToken = result.nextLink;
|
|
187
|
+
yield result.value || [];
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
private async *listAuthorizationRulesPagingAll(
|
|
192
|
+
resourceGroupName: string,
|
|
193
|
+
namespaceName: string,
|
|
194
|
+
relayName: string,
|
|
195
|
+
options?: WCFRelaysListAuthorizationRulesOptionalParams
|
|
196
|
+
): AsyncIterableIterator<AuthorizationRule> {
|
|
197
|
+
for await (const page of this.listAuthorizationRulesPagingPage(
|
|
198
|
+
resourceGroupName,
|
|
199
|
+
namespaceName,
|
|
200
|
+
relayName,
|
|
201
|
+
options
|
|
202
|
+
)) {
|
|
203
|
+
yield* page;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Lists the WCF relays within the namespace.
|
|
209
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
210
|
+
* @param namespaceName The namespace name
|
|
211
|
+
* @param options The options parameters.
|
|
212
|
+
*/
|
|
213
|
+
private _listByNamespace(
|
|
214
|
+
resourceGroupName: string,
|
|
215
|
+
namespaceName: string,
|
|
216
|
+
options?: WCFRelaysListByNamespaceOptionalParams
|
|
217
|
+
): Promise<WCFRelaysListByNamespaceResponse> {
|
|
218
|
+
return this.client.sendOperationRequest(
|
|
219
|
+
{ resourceGroupName, namespaceName, options },
|
|
220
|
+
listByNamespaceOperationSpec
|
|
221
|
+
);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Creates or updates a WCF relay. This operation is idempotent.
|
|
226
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
227
|
+
* @param namespaceName The namespace name
|
|
228
|
+
* @param relayName The relay name.
|
|
229
|
+
* @param parameters Parameters supplied to create a WCF relay.
|
|
230
|
+
* @param options The options parameters.
|
|
231
|
+
*/
|
|
232
|
+
createOrUpdate(
|
|
233
|
+
resourceGroupName: string,
|
|
234
|
+
namespaceName: string,
|
|
235
|
+
relayName: string,
|
|
236
|
+
parameters: WcfRelay,
|
|
237
|
+
options?: WCFRelaysCreateOrUpdateOptionalParams
|
|
238
|
+
): Promise<WCFRelaysCreateOrUpdateResponse> {
|
|
239
|
+
return this.client.sendOperationRequest(
|
|
240
|
+
{ resourceGroupName, namespaceName, relayName, parameters, options },
|
|
241
|
+
createOrUpdateOperationSpec
|
|
242
|
+
);
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Deletes a WCF relay.
|
|
247
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
248
|
+
* @param namespaceName The namespace name
|
|
249
|
+
* @param relayName The relay name.
|
|
250
|
+
* @param options The options parameters.
|
|
251
|
+
*/
|
|
252
|
+
delete(
|
|
253
|
+
resourceGroupName: string,
|
|
254
|
+
namespaceName: string,
|
|
255
|
+
relayName: string,
|
|
256
|
+
options?: WCFRelaysDeleteOptionalParams
|
|
257
|
+
): Promise<void> {
|
|
258
|
+
return this.client.sendOperationRequest(
|
|
259
|
+
{ resourceGroupName, namespaceName, relayName, options },
|
|
260
|
+
deleteOperationSpec
|
|
261
|
+
);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Returns the description for the specified WCF relay.
|
|
266
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
267
|
+
* @param namespaceName The namespace name
|
|
268
|
+
* @param relayName The relay name.
|
|
269
|
+
* @param options The options parameters.
|
|
270
|
+
*/
|
|
271
|
+
get(
|
|
272
|
+
resourceGroupName: string,
|
|
273
|
+
namespaceName: string,
|
|
274
|
+
relayName: string,
|
|
275
|
+
options?: WCFRelaysGetOptionalParams
|
|
276
|
+
): Promise<WCFRelaysGetResponse> {
|
|
277
|
+
return this.client.sendOperationRequest(
|
|
278
|
+
{ resourceGroupName, namespaceName, relayName, options },
|
|
279
|
+
getOperationSpec
|
|
280
|
+
);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Authorization rules for a WCF relay.
|
|
285
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
286
|
+
* @param namespaceName The namespace name
|
|
287
|
+
* @param relayName The relay name.
|
|
288
|
+
* @param options The options parameters.
|
|
289
|
+
*/
|
|
290
|
+
private _listAuthorizationRules(
|
|
291
|
+
resourceGroupName: string,
|
|
292
|
+
namespaceName: string,
|
|
293
|
+
relayName: string,
|
|
294
|
+
options?: WCFRelaysListAuthorizationRulesOptionalParams
|
|
295
|
+
): Promise<WCFRelaysListAuthorizationRulesResponse> {
|
|
296
|
+
return this.client.sendOperationRequest(
|
|
297
|
+
{ resourceGroupName, namespaceName, relayName, options },
|
|
298
|
+
listAuthorizationRulesOperationSpec
|
|
299
|
+
);
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Creates or updates an authorization rule for a WCF relay.
|
|
304
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
305
|
+
* @param namespaceName The namespace name
|
|
306
|
+
* @param relayName The relay name.
|
|
307
|
+
* @param authorizationRuleName The authorization rule name.
|
|
308
|
+
* @param parameters The authorization rule parameters.
|
|
309
|
+
* @param options The options parameters.
|
|
310
|
+
*/
|
|
311
|
+
createOrUpdateAuthorizationRule(
|
|
312
|
+
resourceGroupName: string,
|
|
313
|
+
namespaceName: string,
|
|
314
|
+
relayName: string,
|
|
315
|
+
authorizationRuleName: string,
|
|
316
|
+
parameters: AuthorizationRule,
|
|
317
|
+
options?: WCFRelaysCreateOrUpdateAuthorizationRuleOptionalParams
|
|
318
|
+
): Promise<WCFRelaysCreateOrUpdateAuthorizationRuleResponse> {
|
|
319
|
+
return this.client.sendOperationRequest(
|
|
320
|
+
{
|
|
321
|
+
resourceGroupName,
|
|
322
|
+
namespaceName,
|
|
323
|
+
relayName,
|
|
324
|
+
authorizationRuleName,
|
|
325
|
+
parameters,
|
|
326
|
+
options
|
|
327
|
+
},
|
|
328
|
+
createOrUpdateAuthorizationRuleOperationSpec
|
|
329
|
+
);
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* Deletes a WCF relay authorization rule.
|
|
334
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
335
|
+
* @param namespaceName The namespace name
|
|
336
|
+
* @param relayName The relay name.
|
|
337
|
+
* @param authorizationRuleName The authorization rule name.
|
|
338
|
+
* @param options The options parameters.
|
|
339
|
+
*/
|
|
340
|
+
deleteAuthorizationRule(
|
|
341
|
+
resourceGroupName: string,
|
|
342
|
+
namespaceName: string,
|
|
343
|
+
relayName: string,
|
|
344
|
+
authorizationRuleName: string,
|
|
345
|
+
options?: WCFRelaysDeleteAuthorizationRuleOptionalParams
|
|
346
|
+
): Promise<void> {
|
|
347
|
+
return this.client.sendOperationRequest(
|
|
348
|
+
{
|
|
349
|
+
resourceGroupName,
|
|
350
|
+
namespaceName,
|
|
351
|
+
relayName,
|
|
352
|
+
authorizationRuleName,
|
|
353
|
+
options
|
|
354
|
+
},
|
|
355
|
+
deleteAuthorizationRuleOperationSpec
|
|
356
|
+
);
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Get authorizationRule for a WCF relay by name.
|
|
361
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
362
|
+
* @param namespaceName The namespace name
|
|
363
|
+
* @param relayName The relay name.
|
|
364
|
+
* @param authorizationRuleName The authorization rule name.
|
|
365
|
+
* @param options The options parameters.
|
|
366
|
+
*/
|
|
367
|
+
getAuthorizationRule(
|
|
368
|
+
resourceGroupName: string,
|
|
369
|
+
namespaceName: string,
|
|
370
|
+
relayName: string,
|
|
371
|
+
authorizationRuleName: string,
|
|
372
|
+
options?: WCFRelaysGetAuthorizationRuleOptionalParams
|
|
373
|
+
): Promise<WCFRelaysGetAuthorizationRuleResponse> {
|
|
374
|
+
return this.client.sendOperationRequest(
|
|
375
|
+
{
|
|
376
|
+
resourceGroupName,
|
|
377
|
+
namespaceName,
|
|
378
|
+
relayName,
|
|
379
|
+
authorizationRuleName,
|
|
380
|
+
options
|
|
381
|
+
},
|
|
382
|
+
getAuthorizationRuleOperationSpec
|
|
383
|
+
);
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Primary and secondary connection strings to the WCF relay.
|
|
388
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
389
|
+
* @param namespaceName The namespace name
|
|
390
|
+
* @param relayName The relay name.
|
|
391
|
+
* @param authorizationRuleName The authorization rule name.
|
|
392
|
+
* @param options The options parameters.
|
|
393
|
+
*/
|
|
394
|
+
listKeys(
|
|
395
|
+
resourceGroupName: string,
|
|
396
|
+
namespaceName: string,
|
|
397
|
+
relayName: string,
|
|
398
|
+
authorizationRuleName: string,
|
|
399
|
+
options?: WCFRelaysListKeysOptionalParams
|
|
400
|
+
): Promise<WCFRelaysListKeysResponse> {
|
|
401
|
+
return this.client.sendOperationRequest(
|
|
402
|
+
{
|
|
403
|
+
resourceGroupName,
|
|
404
|
+
namespaceName,
|
|
405
|
+
relayName,
|
|
406
|
+
authorizationRuleName,
|
|
407
|
+
options
|
|
408
|
+
},
|
|
409
|
+
listKeysOperationSpec
|
|
410
|
+
);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* Regenerates the primary or secondary connection strings to the WCF relay.
|
|
415
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
416
|
+
* @param namespaceName The namespace name
|
|
417
|
+
* @param relayName The relay name.
|
|
418
|
+
* @param authorizationRuleName The authorization rule name.
|
|
419
|
+
* @param parameters Parameters supplied to regenerate authorization rule.
|
|
420
|
+
* @param options The options parameters.
|
|
421
|
+
*/
|
|
422
|
+
regenerateKeys(
|
|
423
|
+
resourceGroupName: string,
|
|
424
|
+
namespaceName: string,
|
|
425
|
+
relayName: string,
|
|
426
|
+
authorizationRuleName: string,
|
|
427
|
+
parameters: RegenerateAccessKeyParameters,
|
|
428
|
+
options?: WCFRelaysRegenerateKeysOptionalParams
|
|
429
|
+
): Promise<WCFRelaysRegenerateKeysResponse> {
|
|
430
|
+
return this.client.sendOperationRequest(
|
|
431
|
+
{
|
|
432
|
+
resourceGroupName,
|
|
433
|
+
namespaceName,
|
|
434
|
+
relayName,
|
|
435
|
+
authorizationRuleName,
|
|
436
|
+
parameters,
|
|
437
|
+
options
|
|
438
|
+
},
|
|
439
|
+
regenerateKeysOperationSpec
|
|
440
|
+
);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* ListByNamespaceNext
|
|
445
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
446
|
+
* @param namespaceName The namespace name
|
|
447
|
+
* @param nextLink The nextLink from the previous successful call to the ListByNamespace method.
|
|
448
|
+
* @param options The options parameters.
|
|
449
|
+
*/
|
|
450
|
+
private _listByNamespaceNext(
|
|
451
|
+
resourceGroupName: string,
|
|
452
|
+
namespaceName: string,
|
|
453
|
+
nextLink: string,
|
|
454
|
+
options?: WCFRelaysListByNamespaceNextOptionalParams
|
|
455
|
+
): Promise<WCFRelaysListByNamespaceNextResponse> {
|
|
456
|
+
return this.client.sendOperationRequest(
|
|
457
|
+
{ resourceGroupName, namespaceName, nextLink, options },
|
|
458
|
+
listByNamespaceNextOperationSpec
|
|
459
|
+
);
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* ListAuthorizationRulesNext
|
|
464
|
+
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
465
|
+
* @param namespaceName The namespace name
|
|
466
|
+
* @param relayName The relay name.
|
|
467
|
+
* @param nextLink The nextLink from the previous successful call to the ListAuthorizationRules method.
|
|
468
|
+
* @param options The options parameters.
|
|
469
|
+
*/
|
|
470
|
+
private _listAuthorizationRulesNext(
|
|
471
|
+
resourceGroupName: string,
|
|
472
|
+
namespaceName: string,
|
|
473
|
+
relayName: string,
|
|
474
|
+
nextLink: string,
|
|
475
|
+
options?: WCFRelaysListAuthorizationRulesNextOptionalParams
|
|
476
|
+
): Promise<WCFRelaysListAuthorizationRulesNextResponse> {
|
|
477
|
+
return this.client.sendOperationRequest(
|
|
478
|
+
{ resourceGroupName, namespaceName, relayName, nextLink, options },
|
|
479
|
+
listAuthorizationRulesNextOperationSpec
|
|
480
|
+
);
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
// Operation Specifications
|
|
484
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
485
|
+
|
|
486
|
+
const listByNamespaceOperationSpec: coreClient.OperationSpec = {
|
|
487
|
+
path:
|
|
488
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays",
|
|
489
|
+
httpMethod: "GET",
|
|
490
|
+
responses: {
|
|
491
|
+
200: {
|
|
492
|
+
bodyMapper: Mappers.WcfRelaysListResult
|
|
493
|
+
},
|
|
494
|
+
default: {
|
|
495
|
+
bodyMapper: Mappers.ErrorResponse
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
queryParameters: [Parameters.apiVersion],
|
|
499
|
+
urlParameters: [
|
|
500
|
+
Parameters.$host,
|
|
501
|
+
Parameters.subscriptionId,
|
|
502
|
+
Parameters.resourceGroupName,
|
|
503
|
+
Parameters.namespaceName
|
|
504
|
+
],
|
|
505
|
+
headerParameters: [Parameters.accept],
|
|
506
|
+
serializer
|
|
507
|
+
};
|
|
508
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
509
|
+
path:
|
|
510
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}",
|
|
511
|
+
httpMethod: "PUT",
|
|
512
|
+
responses: {
|
|
513
|
+
200: {
|
|
514
|
+
bodyMapper: Mappers.WcfRelay
|
|
515
|
+
},
|
|
516
|
+
default: {
|
|
517
|
+
bodyMapper: Mappers.ErrorResponse
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
requestBody: Parameters.parameters6,
|
|
521
|
+
queryParameters: [Parameters.apiVersion],
|
|
522
|
+
urlParameters: [
|
|
523
|
+
Parameters.$host,
|
|
524
|
+
Parameters.subscriptionId,
|
|
525
|
+
Parameters.resourceGroupName,
|
|
526
|
+
Parameters.namespaceName,
|
|
527
|
+
Parameters.relayName
|
|
528
|
+
],
|
|
529
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
530
|
+
mediaType: "json",
|
|
531
|
+
serializer
|
|
532
|
+
};
|
|
533
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
534
|
+
path:
|
|
535
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}",
|
|
536
|
+
httpMethod: "DELETE",
|
|
537
|
+
responses: {
|
|
538
|
+
200: {},
|
|
539
|
+
204: {},
|
|
540
|
+
default: {
|
|
541
|
+
bodyMapper: Mappers.ErrorResponse
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
queryParameters: [Parameters.apiVersion],
|
|
545
|
+
urlParameters: [
|
|
546
|
+
Parameters.$host,
|
|
547
|
+
Parameters.subscriptionId,
|
|
548
|
+
Parameters.resourceGroupName,
|
|
549
|
+
Parameters.namespaceName,
|
|
550
|
+
Parameters.relayName
|
|
551
|
+
],
|
|
552
|
+
headerParameters: [Parameters.accept],
|
|
553
|
+
serializer
|
|
554
|
+
};
|
|
555
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
556
|
+
path:
|
|
557
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}",
|
|
558
|
+
httpMethod: "GET",
|
|
559
|
+
responses: {
|
|
560
|
+
200: {
|
|
561
|
+
bodyMapper: Mappers.WcfRelay
|
|
562
|
+
},
|
|
563
|
+
204: {},
|
|
564
|
+
default: {
|
|
565
|
+
bodyMapper: Mappers.ErrorResponse
|
|
566
|
+
}
|
|
567
|
+
},
|
|
568
|
+
queryParameters: [Parameters.apiVersion],
|
|
569
|
+
urlParameters: [
|
|
570
|
+
Parameters.$host,
|
|
571
|
+
Parameters.subscriptionId,
|
|
572
|
+
Parameters.resourceGroupName,
|
|
573
|
+
Parameters.namespaceName,
|
|
574
|
+
Parameters.relayName
|
|
575
|
+
],
|
|
576
|
+
headerParameters: [Parameters.accept],
|
|
577
|
+
serializer
|
|
578
|
+
};
|
|
579
|
+
const listAuthorizationRulesOperationSpec: coreClient.OperationSpec = {
|
|
580
|
+
path:
|
|
581
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules",
|
|
582
|
+
httpMethod: "GET",
|
|
583
|
+
responses: {
|
|
584
|
+
200: {
|
|
585
|
+
bodyMapper: Mappers.AuthorizationRuleListResult
|
|
586
|
+
}
|
|
587
|
+
},
|
|
588
|
+
queryParameters: [Parameters.apiVersion],
|
|
589
|
+
urlParameters: [
|
|
590
|
+
Parameters.$host,
|
|
591
|
+
Parameters.subscriptionId,
|
|
592
|
+
Parameters.resourceGroupName,
|
|
593
|
+
Parameters.namespaceName,
|
|
594
|
+
Parameters.relayName
|
|
595
|
+
],
|
|
596
|
+
headerParameters: [Parameters.accept],
|
|
597
|
+
serializer
|
|
598
|
+
};
|
|
599
|
+
const createOrUpdateAuthorizationRuleOperationSpec: coreClient.OperationSpec = {
|
|
600
|
+
path:
|
|
601
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}",
|
|
602
|
+
httpMethod: "PUT",
|
|
603
|
+
responses: {
|
|
604
|
+
200: {
|
|
605
|
+
bodyMapper: Mappers.AuthorizationRule
|
|
606
|
+
},
|
|
607
|
+
default: {
|
|
608
|
+
bodyMapper: Mappers.ErrorResponse
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
requestBody: Parameters.parameters3,
|
|
612
|
+
queryParameters: [Parameters.apiVersion],
|
|
613
|
+
urlParameters: [
|
|
614
|
+
Parameters.$host,
|
|
615
|
+
Parameters.subscriptionId,
|
|
616
|
+
Parameters.resourceGroupName,
|
|
617
|
+
Parameters.namespaceName,
|
|
618
|
+
Parameters.authorizationRuleName,
|
|
619
|
+
Parameters.relayName
|
|
620
|
+
],
|
|
621
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
622
|
+
mediaType: "json",
|
|
623
|
+
serializer
|
|
624
|
+
};
|
|
625
|
+
const deleteAuthorizationRuleOperationSpec: coreClient.OperationSpec = {
|
|
626
|
+
path:
|
|
627
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}",
|
|
628
|
+
httpMethod: "DELETE",
|
|
629
|
+
responses: {
|
|
630
|
+
200: {},
|
|
631
|
+
204: {},
|
|
632
|
+
default: {
|
|
633
|
+
bodyMapper: Mappers.ErrorResponse
|
|
634
|
+
}
|
|
635
|
+
},
|
|
636
|
+
queryParameters: [Parameters.apiVersion],
|
|
637
|
+
urlParameters: [
|
|
638
|
+
Parameters.$host,
|
|
639
|
+
Parameters.subscriptionId,
|
|
640
|
+
Parameters.resourceGroupName,
|
|
641
|
+
Parameters.namespaceName,
|
|
642
|
+
Parameters.authorizationRuleName,
|
|
643
|
+
Parameters.relayName
|
|
644
|
+
],
|
|
645
|
+
headerParameters: [Parameters.accept],
|
|
646
|
+
serializer
|
|
647
|
+
};
|
|
648
|
+
const getAuthorizationRuleOperationSpec: coreClient.OperationSpec = {
|
|
649
|
+
path:
|
|
650
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}",
|
|
651
|
+
httpMethod: "GET",
|
|
652
|
+
responses: {
|
|
653
|
+
200: {
|
|
654
|
+
bodyMapper: Mappers.AuthorizationRule
|
|
655
|
+
},
|
|
656
|
+
default: {
|
|
657
|
+
bodyMapper: Mappers.ErrorResponse
|
|
658
|
+
}
|
|
659
|
+
},
|
|
660
|
+
queryParameters: [Parameters.apiVersion],
|
|
661
|
+
urlParameters: [
|
|
662
|
+
Parameters.$host,
|
|
663
|
+
Parameters.subscriptionId,
|
|
664
|
+
Parameters.resourceGroupName,
|
|
665
|
+
Parameters.namespaceName,
|
|
666
|
+
Parameters.authorizationRuleName,
|
|
667
|
+
Parameters.relayName
|
|
668
|
+
],
|
|
669
|
+
headerParameters: [Parameters.accept],
|
|
670
|
+
serializer
|
|
671
|
+
};
|
|
672
|
+
const listKeysOperationSpec: coreClient.OperationSpec = {
|
|
673
|
+
path:
|
|
674
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}/listKeys",
|
|
675
|
+
httpMethod: "POST",
|
|
676
|
+
responses: {
|
|
677
|
+
200: {
|
|
678
|
+
bodyMapper: Mappers.AccessKeys
|
|
679
|
+
},
|
|
680
|
+
default: {
|
|
681
|
+
bodyMapper: Mappers.ErrorResponse
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
queryParameters: [Parameters.apiVersion],
|
|
685
|
+
urlParameters: [
|
|
686
|
+
Parameters.$host,
|
|
687
|
+
Parameters.subscriptionId,
|
|
688
|
+
Parameters.resourceGroupName,
|
|
689
|
+
Parameters.namespaceName,
|
|
690
|
+
Parameters.authorizationRuleName,
|
|
691
|
+
Parameters.relayName
|
|
692
|
+
],
|
|
693
|
+
headerParameters: [Parameters.accept],
|
|
694
|
+
serializer
|
|
695
|
+
};
|
|
696
|
+
const regenerateKeysOperationSpec: coreClient.OperationSpec = {
|
|
697
|
+
path:
|
|
698
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}/regenerateKeys",
|
|
699
|
+
httpMethod: "POST",
|
|
700
|
+
responses: {
|
|
701
|
+
200: {
|
|
702
|
+
bodyMapper: Mappers.AccessKeys
|
|
703
|
+
},
|
|
704
|
+
default: {
|
|
705
|
+
bodyMapper: Mappers.ErrorResponse
|
|
706
|
+
}
|
|
707
|
+
},
|
|
708
|
+
requestBody: Parameters.parameters4,
|
|
709
|
+
queryParameters: [Parameters.apiVersion],
|
|
710
|
+
urlParameters: [
|
|
711
|
+
Parameters.$host,
|
|
712
|
+
Parameters.subscriptionId,
|
|
713
|
+
Parameters.resourceGroupName,
|
|
714
|
+
Parameters.namespaceName,
|
|
715
|
+
Parameters.authorizationRuleName,
|
|
716
|
+
Parameters.relayName
|
|
717
|
+
],
|
|
718
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
719
|
+
mediaType: "json",
|
|
720
|
+
serializer
|
|
721
|
+
};
|
|
722
|
+
const listByNamespaceNextOperationSpec: coreClient.OperationSpec = {
|
|
723
|
+
path: "{nextLink}",
|
|
724
|
+
httpMethod: "GET",
|
|
725
|
+
responses: {
|
|
726
|
+
200: {
|
|
727
|
+
bodyMapper: Mappers.WcfRelaysListResult
|
|
728
|
+
},
|
|
729
|
+
default: {
|
|
730
|
+
bodyMapper: Mappers.ErrorResponse
|
|
731
|
+
}
|
|
732
|
+
},
|
|
733
|
+
queryParameters: [Parameters.apiVersion],
|
|
734
|
+
urlParameters: [
|
|
735
|
+
Parameters.$host,
|
|
736
|
+
Parameters.nextLink,
|
|
737
|
+
Parameters.subscriptionId,
|
|
738
|
+
Parameters.resourceGroupName,
|
|
739
|
+
Parameters.namespaceName
|
|
740
|
+
],
|
|
741
|
+
headerParameters: [Parameters.accept],
|
|
742
|
+
serializer
|
|
743
|
+
};
|
|
744
|
+
const listAuthorizationRulesNextOperationSpec: coreClient.OperationSpec = {
|
|
745
|
+
path: "{nextLink}",
|
|
746
|
+
httpMethod: "GET",
|
|
747
|
+
responses: {
|
|
748
|
+
200: {
|
|
749
|
+
bodyMapper: Mappers.AuthorizationRuleListResult
|
|
750
|
+
}
|
|
751
|
+
},
|
|
752
|
+
queryParameters: [Parameters.apiVersion],
|
|
753
|
+
urlParameters: [
|
|
754
|
+
Parameters.$host,
|
|
755
|
+
Parameters.nextLink,
|
|
756
|
+
Parameters.subscriptionId,
|
|
757
|
+
Parameters.resourceGroupName,
|
|
758
|
+
Parameters.namespaceName,
|
|
759
|
+
Parameters.relayName
|
|
760
|
+
],
|
|
761
|
+
headerParameters: [Parameters.accept],
|
|
762
|
+
serializer
|
|
763
|
+
};
|