@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
|
@@ -1,799 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as Models from "../models";
|
|
13
|
-
import * as Mappers from "../models/hybridConnectionsMappers";
|
|
14
|
-
import * as Parameters from "../models/parameters";
|
|
15
|
-
import { RelayManagementClientContext } from "../relayManagementClientContext";
|
|
16
|
-
|
|
17
|
-
/** Class representing a HybridConnections. */
|
|
18
|
-
export class HybridConnections {
|
|
19
|
-
private readonly client: RelayManagementClientContext;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Create a HybridConnections.
|
|
23
|
-
* @param {RelayManagementClientContext} client Reference to the service client.
|
|
24
|
-
*/
|
|
25
|
-
constructor(client: RelayManagementClientContext) {
|
|
26
|
-
this.client = client;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Lists the hybrid connection within the namespace.
|
|
31
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
32
|
-
* @param namespaceName The namespace name
|
|
33
|
-
* @param [options] The optional parameters
|
|
34
|
-
* @returns Promise<Models.HybridConnectionsListByNamespaceResponse>
|
|
35
|
-
*/
|
|
36
|
-
listByNamespace(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase): Promise<Models.HybridConnectionsListByNamespaceResponse>;
|
|
37
|
-
/**
|
|
38
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
39
|
-
* @param namespaceName The namespace name
|
|
40
|
-
* @param callback The callback
|
|
41
|
-
*/
|
|
42
|
-
listByNamespace(resourceGroupName: string, namespaceName: string, callback: msRest.ServiceCallback<Models.HybridConnectionListResult>): void;
|
|
43
|
-
/**
|
|
44
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
45
|
-
* @param namespaceName The namespace name
|
|
46
|
-
* @param options The optional parameters
|
|
47
|
-
* @param callback The callback
|
|
48
|
-
*/
|
|
49
|
-
listByNamespace(resourceGroupName: string, namespaceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.HybridConnectionListResult>): void;
|
|
50
|
-
listByNamespace(resourceGroupName: string, namespaceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.HybridConnectionListResult>, callback?: msRest.ServiceCallback<Models.HybridConnectionListResult>): Promise<Models.HybridConnectionsListByNamespaceResponse> {
|
|
51
|
-
return this.client.sendOperationRequest(
|
|
52
|
-
{
|
|
53
|
-
resourceGroupName,
|
|
54
|
-
namespaceName,
|
|
55
|
-
options
|
|
56
|
-
},
|
|
57
|
-
listByNamespaceOperationSpec,
|
|
58
|
-
callback) as Promise<Models.HybridConnectionsListByNamespaceResponse>;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Creates or updates a service hybrid connection. This operation is idempotent.
|
|
63
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
64
|
-
* @param namespaceName The namespace name
|
|
65
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
66
|
-
* @param parameters Parameters supplied to create a hybrid connection.
|
|
67
|
-
* @param [options] The optional parameters
|
|
68
|
-
* @returns Promise<Models.HybridConnectionsCreateOrUpdateResponse>
|
|
69
|
-
*/
|
|
70
|
-
createOrUpdate(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, parameters: Models.HybridConnection, options?: msRest.RequestOptionsBase): Promise<Models.HybridConnectionsCreateOrUpdateResponse>;
|
|
71
|
-
/**
|
|
72
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
73
|
-
* @param namespaceName The namespace name
|
|
74
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
75
|
-
* @param parameters Parameters supplied to create a hybrid connection.
|
|
76
|
-
* @param callback The callback
|
|
77
|
-
*/
|
|
78
|
-
createOrUpdate(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, parameters: Models.HybridConnection, callback: msRest.ServiceCallback<Models.HybridConnection>): void;
|
|
79
|
-
/**
|
|
80
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
81
|
-
* @param namespaceName The namespace name
|
|
82
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
83
|
-
* @param parameters Parameters supplied to create a hybrid connection.
|
|
84
|
-
* @param options The optional parameters
|
|
85
|
-
* @param callback The callback
|
|
86
|
-
*/
|
|
87
|
-
createOrUpdate(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, parameters: Models.HybridConnection, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.HybridConnection>): void;
|
|
88
|
-
createOrUpdate(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, parameters: Models.HybridConnection, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.HybridConnection>, callback?: msRest.ServiceCallback<Models.HybridConnection>): Promise<Models.HybridConnectionsCreateOrUpdateResponse> {
|
|
89
|
-
return this.client.sendOperationRequest(
|
|
90
|
-
{
|
|
91
|
-
resourceGroupName,
|
|
92
|
-
namespaceName,
|
|
93
|
-
hybridConnectionName,
|
|
94
|
-
parameters,
|
|
95
|
-
options
|
|
96
|
-
},
|
|
97
|
-
createOrUpdateOperationSpec,
|
|
98
|
-
callback) as Promise<Models.HybridConnectionsCreateOrUpdateResponse>;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* Deletes a hybrid connection.
|
|
103
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
104
|
-
* @param namespaceName The namespace name
|
|
105
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
106
|
-
* @param [options] The optional parameters
|
|
107
|
-
* @returns Promise<msRest.RestResponse>
|
|
108
|
-
*/
|
|
109
|
-
deleteMethod(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
110
|
-
/**
|
|
111
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
112
|
-
* @param namespaceName The namespace name
|
|
113
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
114
|
-
* @param callback The callback
|
|
115
|
-
*/
|
|
116
|
-
deleteMethod(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, callback: msRest.ServiceCallback<void>): void;
|
|
117
|
-
/**
|
|
118
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
119
|
-
* @param namespaceName The namespace name
|
|
120
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
121
|
-
* @param options The optional parameters
|
|
122
|
-
* @param callback The callback
|
|
123
|
-
*/
|
|
124
|
-
deleteMethod(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
125
|
-
deleteMethod(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
|
|
126
|
-
return this.client.sendOperationRequest(
|
|
127
|
-
{
|
|
128
|
-
resourceGroupName,
|
|
129
|
-
namespaceName,
|
|
130
|
-
hybridConnectionName,
|
|
131
|
-
options
|
|
132
|
-
},
|
|
133
|
-
deleteMethodOperationSpec,
|
|
134
|
-
callback);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* Returns the description for the specified hybrid connection.
|
|
139
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
140
|
-
* @param namespaceName The namespace name
|
|
141
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
142
|
-
* @param [options] The optional parameters
|
|
143
|
-
* @returns Promise<Models.HybridConnectionsGetResponse>
|
|
144
|
-
*/
|
|
145
|
-
get(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options?: msRest.RequestOptionsBase): Promise<Models.HybridConnectionsGetResponse>;
|
|
146
|
-
/**
|
|
147
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
148
|
-
* @param namespaceName The namespace name
|
|
149
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
150
|
-
* @param callback The callback
|
|
151
|
-
*/
|
|
152
|
-
get(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, callback: msRest.ServiceCallback<Models.HybridConnection>): void;
|
|
153
|
-
/**
|
|
154
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
155
|
-
* @param namespaceName The namespace name
|
|
156
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
157
|
-
* @param options The optional parameters
|
|
158
|
-
* @param callback The callback
|
|
159
|
-
*/
|
|
160
|
-
get(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.HybridConnection>): void;
|
|
161
|
-
get(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.HybridConnection>, callback?: msRest.ServiceCallback<Models.HybridConnection>): Promise<Models.HybridConnectionsGetResponse> {
|
|
162
|
-
return this.client.sendOperationRequest(
|
|
163
|
-
{
|
|
164
|
-
resourceGroupName,
|
|
165
|
-
namespaceName,
|
|
166
|
-
hybridConnectionName,
|
|
167
|
-
options
|
|
168
|
-
},
|
|
169
|
-
getOperationSpec,
|
|
170
|
-
callback) as Promise<Models.HybridConnectionsGetResponse>;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* Authorization rules for a hybrid connection.
|
|
175
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
176
|
-
* @param namespaceName The namespace name
|
|
177
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
178
|
-
* @param [options] The optional parameters
|
|
179
|
-
* @returns Promise<Models.HybridConnectionsListAuthorizationRulesResponse>
|
|
180
|
-
*/
|
|
181
|
-
listAuthorizationRules(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options?: msRest.RequestOptionsBase): Promise<Models.HybridConnectionsListAuthorizationRulesResponse>;
|
|
182
|
-
/**
|
|
183
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
184
|
-
* @param namespaceName The namespace name
|
|
185
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
186
|
-
* @param callback The callback
|
|
187
|
-
*/
|
|
188
|
-
listAuthorizationRules(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, callback: msRest.ServiceCallback<Models.AuthorizationRuleListResult>): void;
|
|
189
|
-
/**
|
|
190
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
191
|
-
* @param namespaceName The namespace name
|
|
192
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
193
|
-
* @param options The optional parameters
|
|
194
|
-
* @param callback The callback
|
|
195
|
-
*/
|
|
196
|
-
listAuthorizationRules(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AuthorizationRuleListResult>): void;
|
|
197
|
-
listAuthorizationRules(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.AuthorizationRuleListResult>, callback?: msRest.ServiceCallback<Models.AuthorizationRuleListResult>): Promise<Models.HybridConnectionsListAuthorizationRulesResponse> {
|
|
198
|
-
return this.client.sendOperationRequest(
|
|
199
|
-
{
|
|
200
|
-
resourceGroupName,
|
|
201
|
-
namespaceName,
|
|
202
|
-
hybridConnectionName,
|
|
203
|
-
options
|
|
204
|
-
},
|
|
205
|
-
listAuthorizationRulesOperationSpec,
|
|
206
|
-
callback) as Promise<Models.HybridConnectionsListAuthorizationRulesResponse>;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* Creates or updates an authorization rule for a hybrid connection.
|
|
211
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
212
|
-
* @param namespaceName The namespace name
|
|
213
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
214
|
-
* @param authorizationRuleName The authorization rule name.
|
|
215
|
-
* @param parameters The authorization rule parameters.
|
|
216
|
-
* @param [options] The optional parameters
|
|
217
|
-
* @returns Promise<Models.HybridConnectionsCreateOrUpdateAuthorizationRuleResponse>
|
|
218
|
-
*/
|
|
219
|
-
createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, parameters: Models.AuthorizationRule, options?: msRest.RequestOptionsBase): Promise<Models.HybridConnectionsCreateOrUpdateAuthorizationRuleResponse>;
|
|
220
|
-
/**
|
|
221
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
222
|
-
* @param namespaceName The namespace name
|
|
223
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
224
|
-
* @param authorizationRuleName The authorization rule name.
|
|
225
|
-
* @param parameters The authorization rule parameters.
|
|
226
|
-
* @param callback The callback
|
|
227
|
-
*/
|
|
228
|
-
createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, parameters: Models.AuthorizationRule, callback: msRest.ServiceCallback<Models.AuthorizationRule>): void;
|
|
229
|
-
/**
|
|
230
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
231
|
-
* @param namespaceName The namespace name
|
|
232
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
233
|
-
* @param authorizationRuleName The authorization rule name.
|
|
234
|
-
* @param parameters The authorization rule parameters.
|
|
235
|
-
* @param options The optional parameters
|
|
236
|
-
* @param callback The callback
|
|
237
|
-
*/
|
|
238
|
-
createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, parameters: Models.AuthorizationRule, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AuthorizationRule>): void;
|
|
239
|
-
createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, parameters: Models.AuthorizationRule, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.AuthorizationRule>, callback?: msRest.ServiceCallback<Models.AuthorizationRule>): Promise<Models.HybridConnectionsCreateOrUpdateAuthorizationRuleResponse> {
|
|
240
|
-
return this.client.sendOperationRequest(
|
|
241
|
-
{
|
|
242
|
-
resourceGroupName,
|
|
243
|
-
namespaceName,
|
|
244
|
-
hybridConnectionName,
|
|
245
|
-
authorizationRuleName,
|
|
246
|
-
parameters,
|
|
247
|
-
options
|
|
248
|
-
},
|
|
249
|
-
createOrUpdateAuthorizationRuleOperationSpec,
|
|
250
|
-
callback) as Promise<Models.HybridConnectionsCreateOrUpdateAuthorizationRuleResponse>;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* Deletes a hybrid connection authorization rule.
|
|
255
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
256
|
-
* @param namespaceName The namespace name
|
|
257
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
258
|
-
* @param authorizationRuleName The authorization rule name.
|
|
259
|
-
* @param [options] The optional parameters
|
|
260
|
-
* @returns Promise<msRest.RestResponse>
|
|
261
|
-
*/
|
|
262
|
-
deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
263
|
-
/**
|
|
264
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
265
|
-
* @param namespaceName The namespace name
|
|
266
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
267
|
-
* @param authorizationRuleName The authorization rule name.
|
|
268
|
-
* @param callback The callback
|
|
269
|
-
*/
|
|
270
|
-
deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, callback: msRest.ServiceCallback<void>): void;
|
|
271
|
-
/**
|
|
272
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
273
|
-
* @param namespaceName The namespace name
|
|
274
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
275
|
-
* @param authorizationRuleName The authorization rule name.
|
|
276
|
-
* @param options The optional parameters
|
|
277
|
-
* @param callback The callback
|
|
278
|
-
*/
|
|
279
|
-
deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
280
|
-
deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
|
|
281
|
-
return this.client.sendOperationRequest(
|
|
282
|
-
{
|
|
283
|
-
resourceGroupName,
|
|
284
|
-
namespaceName,
|
|
285
|
-
hybridConnectionName,
|
|
286
|
-
authorizationRuleName,
|
|
287
|
-
options
|
|
288
|
-
},
|
|
289
|
-
deleteAuthorizationRuleOperationSpec,
|
|
290
|
-
callback);
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
/**
|
|
294
|
-
* Hybrid connection authorization rule for a hybrid connection by name.
|
|
295
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
296
|
-
* @param namespaceName The namespace name
|
|
297
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
298
|
-
* @param authorizationRuleName The authorization rule name.
|
|
299
|
-
* @param [options] The optional parameters
|
|
300
|
-
* @returns Promise<Models.HybridConnectionsGetAuthorizationRuleResponse>
|
|
301
|
-
*/
|
|
302
|
-
getAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase): Promise<Models.HybridConnectionsGetAuthorizationRuleResponse>;
|
|
303
|
-
/**
|
|
304
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
305
|
-
* @param namespaceName The namespace name
|
|
306
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
307
|
-
* @param authorizationRuleName The authorization rule name.
|
|
308
|
-
* @param callback The callback
|
|
309
|
-
*/
|
|
310
|
-
getAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, callback: msRest.ServiceCallback<Models.AuthorizationRule>): void;
|
|
311
|
-
/**
|
|
312
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
313
|
-
* @param namespaceName The namespace name
|
|
314
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
315
|
-
* @param authorizationRuleName The authorization rule name.
|
|
316
|
-
* @param options The optional parameters
|
|
317
|
-
* @param callback The callback
|
|
318
|
-
*/
|
|
319
|
-
getAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AuthorizationRule>): void;
|
|
320
|
-
getAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.AuthorizationRule>, callback?: msRest.ServiceCallback<Models.AuthorizationRule>): Promise<Models.HybridConnectionsGetAuthorizationRuleResponse> {
|
|
321
|
-
return this.client.sendOperationRequest(
|
|
322
|
-
{
|
|
323
|
-
resourceGroupName,
|
|
324
|
-
namespaceName,
|
|
325
|
-
hybridConnectionName,
|
|
326
|
-
authorizationRuleName,
|
|
327
|
-
options
|
|
328
|
-
},
|
|
329
|
-
getAuthorizationRuleOperationSpec,
|
|
330
|
-
callback) as Promise<Models.HybridConnectionsGetAuthorizationRuleResponse>;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
/**
|
|
334
|
-
* Primary and secondary connection strings to the hybrid connection.
|
|
335
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
336
|
-
* @param namespaceName The namespace name
|
|
337
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
338
|
-
* @param authorizationRuleName The authorization rule name.
|
|
339
|
-
* @param [options] The optional parameters
|
|
340
|
-
* @returns Promise<Models.HybridConnectionsListKeysResponse>
|
|
341
|
-
*/
|
|
342
|
-
listKeys(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase): Promise<Models.HybridConnectionsListKeysResponse>;
|
|
343
|
-
/**
|
|
344
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
345
|
-
* @param namespaceName The namespace name
|
|
346
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
347
|
-
* @param authorizationRuleName The authorization rule name.
|
|
348
|
-
* @param callback The callback
|
|
349
|
-
*/
|
|
350
|
-
listKeys(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, callback: msRest.ServiceCallback<Models.AccessKeys>): void;
|
|
351
|
-
/**
|
|
352
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
353
|
-
* @param namespaceName The namespace name
|
|
354
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
355
|
-
* @param authorizationRuleName The authorization rule name.
|
|
356
|
-
* @param options The optional parameters
|
|
357
|
-
* @param callback The callback
|
|
358
|
-
*/
|
|
359
|
-
listKeys(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AccessKeys>): void;
|
|
360
|
-
listKeys(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.AccessKeys>, callback?: msRest.ServiceCallback<Models.AccessKeys>): Promise<Models.HybridConnectionsListKeysResponse> {
|
|
361
|
-
return this.client.sendOperationRequest(
|
|
362
|
-
{
|
|
363
|
-
resourceGroupName,
|
|
364
|
-
namespaceName,
|
|
365
|
-
hybridConnectionName,
|
|
366
|
-
authorizationRuleName,
|
|
367
|
-
options
|
|
368
|
-
},
|
|
369
|
-
listKeysOperationSpec,
|
|
370
|
-
callback) as Promise<Models.HybridConnectionsListKeysResponse>;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
/**
|
|
374
|
-
* Regenerates the primary or secondary connection strings to the hybrid connection.
|
|
375
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
376
|
-
* @param namespaceName The namespace name
|
|
377
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
378
|
-
* @param authorizationRuleName The authorization rule name.
|
|
379
|
-
* @param parameters Parameters supplied to regenerate authorization rule.
|
|
380
|
-
* @param [options] The optional parameters
|
|
381
|
-
* @returns Promise<Models.HybridConnectionsRegenerateKeysResponse>
|
|
382
|
-
*/
|
|
383
|
-
regenerateKeys(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options?: msRest.RequestOptionsBase): Promise<Models.HybridConnectionsRegenerateKeysResponse>;
|
|
384
|
-
/**
|
|
385
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
386
|
-
* @param namespaceName The namespace name
|
|
387
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
388
|
-
* @param authorizationRuleName The authorization rule name.
|
|
389
|
-
* @param parameters Parameters supplied to regenerate authorization rule.
|
|
390
|
-
* @param callback The callback
|
|
391
|
-
*/
|
|
392
|
-
regenerateKeys(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, callback: msRest.ServiceCallback<Models.AccessKeys>): void;
|
|
393
|
-
/**
|
|
394
|
-
* @param resourceGroupName Name of the Resource group within the Azure subscription.
|
|
395
|
-
* @param namespaceName The namespace name
|
|
396
|
-
* @param hybridConnectionName The hybrid connection name.
|
|
397
|
-
* @param authorizationRuleName The authorization rule name.
|
|
398
|
-
* @param parameters Parameters supplied to regenerate authorization rule.
|
|
399
|
-
* @param options The optional parameters
|
|
400
|
-
* @param callback The callback
|
|
401
|
-
*/
|
|
402
|
-
regenerateKeys(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AccessKeys>): void;
|
|
403
|
-
regenerateKeys(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, parameters: Models.RegenerateAccessKeyParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.AccessKeys>, callback?: msRest.ServiceCallback<Models.AccessKeys>): Promise<Models.HybridConnectionsRegenerateKeysResponse> {
|
|
404
|
-
return this.client.sendOperationRequest(
|
|
405
|
-
{
|
|
406
|
-
resourceGroupName,
|
|
407
|
-
namespaceName,
|
|
408
|
-
hybridConnectionName,
|
|
409
|
-
authorizationRuleName,
|
|
410
|
-
parameters,
|
|
411
|
-
options
|
|
412
|
-
},
|
|
413
|
-
regenerateKeysOperationSpec,
|
|
414
|
-
callback) as Promise<Models.HybridConnectionsRegenerateKeysResponse>;
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
* Lists the hybrid connection within the namespace.
|
|
419
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
420
|
-
* @param [options] The optional parameters
|
|
421
|
-
* @returns Promise<Models.HybridConnectionsListByNamespaceNextResponse>
|
|
422
|
-
*/
|
|
423
|
-
listByNamespaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.HybridConnectionsListByNamespaceNextResponse>;
|
|
424
|
-
/**
|
|
425
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
426
|
-
* @param callback The callback
|
|
427
|
-
*/
|
|
428
|
-
listByNamespaceNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.HybridConnectionListResult>): void;
|
|
429
|
-
/**
|
|
430
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
431
|
-
* @param options The optional parameters
|
|
432
|
-
* @param callback The callback
|
|
433
|
-
*/
|
|
434
|
-
listByNamespaceNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.HybridConnectionListResult>): void;
|
|
435
|
-
listByNamespaceNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.HybridConnectionListResult>, callback?: msRest.ServiceCallback<Models.HybridConnectionListResult>): Promise<Models.HybridConnectionsListByNamespaceNextResponse> {
|
|
436
|
-
return this.client.sendOperationRequest(
|
|
437
|
-
{
|
|
438
|
-
nextPageLink,
|
|
439
|
-
options
|
|
440
|
-
},
|
|
441
|
-
listByNamespaceNextOperationSpec,
|
|
442
|
-
callback) as Promise<Models.HybridConnectionsListByNamespaceNextResponse>;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
/**
|
|
446
|
-
* Authorization rules for a hybrid connection.
|
|
447
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
448
|
-
* @param [options] The optional parameters
|
|
449
|
-
* @returns Promise<Models.HybridConnectionsListAuthorizationRulesNextResponse>
|
|
450
|
-
*/
|
|
451
|
-
listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.HybridConnectionsListAuthorizationRulesNextResponse>;
|
|
452
|
-
/**
|
|
453
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
454
|
-
* @param callback The callback
|
|
455
|
-
*/
|
|
456
|
-
listAuthorizationRulesNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.AuthorizationRuleListResult>): void;
|
|
457
|
-
/**
|
|
458
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
459
|
-
* @param options The optional parameters
|
|
460
|
-
* @param callback The callback
|
|
461
|
-
*/
|
|
462
|
-
listAuthorizationRulesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.AuthorizationRuleListResult>): void;
|
|
463
|
-
listAuthorizationRulesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.AuthorizationRuleListResult>, callback?: msRest.ServiceCallback<Models.AuthorizationRuleListResult>): Promise<Models.HybridConnectionsListAuthorizationRulesNextResponse> {
|
|
464
|
-
return this.client.sendOperationRequest(
|
|
465
|
-
{
|
|
466
|
-
nextPageLink,
|
|
467
|
-
options
|
|
468
|
-
},
|
|
469
|
-
listAuthorizationRulesNextOperationSpec,
|
|
470
|
-
callback) as Promise<Models.HybridConnectionsListAuthorizationRulesNextResponse>;
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
// Operation Specifications
|
|
475
|
-
const serializer = new msRest.Serializer(Mappers);
|
|
476
|
-
const listByNamespaceOperationSpec: msRest.OperationSpec = {
|
|
477
|
-
httpMethod: "GET",
|
|
478
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections",
|
|
479
|
-
urlParameters: [
|
|
480
|
-
Parameters.resourceGroupName,
|
|
481
|
-
Parameters.namespaceName,
|
|
482
|
-
Parameters.subscriptionId
|
|
483
|
-
],
|
|
484
|
-
queryParameters: [
|
|
485
|
-
Parameters.apiVersion
|
|
486
|
-
],
|
|
487
|
-
headerParameters: [
|
|
488
|
-
Parameters.acceptLanguage
|
|
489
|
-
],
|
|
490
|
-
responses: {
|
|
491
|
-
200: {
|
|
492
|
-
bodyMapper: Mappers.HybridConnectionListResult
|
|
493
|
-
},
|
|
494
|
-
default: {
|
|
495
|
-
bodyMapper: Mappers.ErrorResponse
|
|
496
|
-
}
|
|
497
|
-
},
|
|
498
|
-
serializer
|
|
499
|
-
};
|
|
500
|
-
|
|
501
|
-
const createOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
502
|
-
httpMethod: "PUT",
|
|
503
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}",
|
|
504
|
-
urlParameters: [
|
|
505
|
-
Parameters.resourceGroupName,
|
|
506
|
-
Parameters.namespaceName,
|
|
507
|
-
Parameters.hybridConnectionName,
|
|
508
|
-
Parameters.subscriptionId
|
|
509
|
-
],
|
|
510
|
-
queryParameters: [
|
|
511
|
-
Parameters.apiVersion
|
|
512
|
-
],
|
|
513
|
-
headerParameters: [
|
|
514
|
-
Parameters.acceptLanguage
|
|
515
|
-
],
|
|
516
|
-
requestBody: {
|
|
517
|
-
parameterPath: "parameters",
|
|
518
|
-
mapper: {
|
|
519
|
-
...Mappers.HybridConnection,
|
|
520
|
-
required: true
|
|
521
|
-
}
|
|
522
|
-
},
|
|
523
|
-
responses: {
|
|
524
|
-
200: {
|
|
525
|
-
bodyMapper: Mappers.HybridConnection
|
|
526
|
-
},
|
|
527
|
-
default: {
|
|
528
|
-
bodyMapper: Mappers.ErrorResponse
|
|
529
|
-
}
|
|
530
|
-
},
|
|
531
|
-
serializer
|
|
532
|
-
};
|
|
533
|
-
|
|
534
|
-
const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
535
|
-
httpMethod: "DELETE",
|
|
536
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}",
|
|
537
|
-
urlParameters: [
|
|
538
|
-
Parameters.resourceGroupName,
|
|
539
|
-
Parameters.namespaceName,
|
|
540
|
-
Parameters.hybridConnectionName,
|
|
541
|
-
Parameters.subscriptionId
|
|
542
|
-
],
|
|
543
|
-
queryParameters: [
|
|
544
|
-
Parameters.apiVersion
|
|
545
|
-
],
|
|
546
|
-
headerParameters: [
|
|
547
|
-
Parameters.acceptLanguage
|
|
548
|
-
],
|
|
549
|
-
responses: {
|
|
550
|
-
200: {},
|
|
551
|
-
204: {},
|
|
552
|
-
default: {
|
|
553
|
-
bodyMapper: Mappers.ErrorResponse
|
|
554
|
-
}
|
|
555
|
-
},
|
|
556
|
-
serializer
|
|
557
|
-
};
|
|
558
|
-
|
|
559
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
560
|
-
httpMethod: "GET",
|
|
561
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}",
|
|
562
|
-
urlParameters: [
|
|
563
|
-
Parameters.resourceGroupName,
|
|
564
|
-
Parameters.namespaceName,
|
|
565
|
-
Parameters.hybridConnectionName,
|
|
566
|
-
Parameters.subscriptionId
|
|
567
|
-
],
|
|
568
|
-
queryParameters: [
|
|
569
|
-
Parameters.apiVersion
|
|
570
|
-
],
|
|
571
|
-
headerParameters: [
|
|
572
|
-
Parameters.acceptLanguage
|
|
573
|
-
],
|
|
574
|
-
responses: {
|
|
575
|
-
200: {
|
|
576
|
-
bodyMapper: Mappers.HybridConnection
|
|
577
|
-
},
|
|
578
|
-
default: {
|
|
579
|
-
bodyMapper: Mappers.ErrorResponse
|
|
580
|
-
}
|
|
581
|
-
},
|
|
582
|
-
serializer
|
|
583
|
-
};
|
|
584
|
-
|
|
585
|
-
const listAuthorizationRulesOperationSpec: msRest.OperationSpec = {
|
|
586
|
-
httpMethod: "GET",
|
|
587
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules",
|
|
588
|
-
urlParameters: [
|
|
589
|
-
Parameters.resourceGroupName,
|
|
590
|
-
Parameters.namespaceName,
|
|
591
|
-
Parameters.hybridConnectionName,
|
|
592
|
-
Parameters.subscriptionId
|
|
593
|
-
],
|
|
594
|
-
queryParameters: [
|
|
595
|
-
Parameters.apiVersion
|
|
596
|
-
],
|
|
597
|
-
headerParameters: [
|
|
598
|
-
Parameters.acceptLanguage
|
|
599
|
-
],
|
|
600
|
-
responses: {
|
|
601
|
-
200: {
|
|
602
|
-
bodyMapper: Mappers.AuthorizationRuleListResult
|
|
603
|
-
},
|
|
604
|
-
default: {
|
|
605
|
-
bodyMapper: Mappers.ErrorResponse
|
|
606
|
-
}
|
|
607
|
-
},
|
|
608
|
-
serializer
|
|
609
|
-
};
|
|
610
|
-
|
|
611
|
-
const createOrUpdateAuthorizationRuleOperationSpec: msRest.OperationSpec = {
|
|
612
|
-
httpMethod: "PUT",
|
|
613
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules/{authorizationRuleName}",
|
|
614
|
-
urlParameters: [
|
|
615
|
-
Parameters.resourceGroupName,
|
|
616
|
-
Parameters.namespaceName,
|
|
617
|
-
Parameters.hybridConnectionName,
|
|
618
|
-
Parameters.authorizationRuleName,
|
|
619
|
-
Parameters.subscriptionId
|
|
620
|
-
],
|
|
621
|
-
queryParameters: [
|
|
622
|
-
Parameters.apiVersion
|
|
623
|
-
],
|
|
624
|
-
headerParameters: [
|
|
625
|
-
Parameters.acceptLanguage
|
|
626
|
-
],
|
|
627
|
-
requestBody: {
|
|
628
|
-
parameterPath: "parameters",
|
|
629
|
-
mapper: {
|
|
630
|
-
...Mappers.AuthorizationRule,
|
|
631
|
-
required: true
|
|
632
|
-
}
|
|
633
|
-
},
|
|
634
|
-
responses: {
|
|
635
|
-
200: {
|
|
636
|
-
bodyMapper: Mappers.AuthorizationRule
|
|
637
|
-
},
|
|
638
|
-
default: {
|
|
639
|
-
bodyMapper: Mappers.ErrorResponse
|
|
640
|
-
}
|
|
641
|
-
},
|
|
642
|
-
serializer
|
|
643
|
-
};
|
|
644
|
-
|
|
645
|
-
const deleteAuthorizationRuleOperationSpec: msRest.OperationSpec = {
|
|
646
|
-
httpMethod: "DELETE",
|
|
647
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules/{authorizationRuleName}",
|
|
648
|
-
urlParameters: [
|
|
649
|
-
Parameters.resourceGroupName,
|
|
650
|
-
Parameters.namespaceName,
|
|
651
|
-
Parameters.hybridConnectionName,
|
|
652
|
-
Parameters.authorizationRuleName,
|
|
653
|
-
Parameters.subscriptionId
|
|
654
|
-
],
|
|
655
|
-
queryParameters: [
|
|
656
|
-
Parameters.apiVersion
|
|
657
|
-
],
|
|
658
|
-
headerParameters: [
|
|
659
|
-
Parameters.acceptLanguage
|
|
660
|
-
],
|
|
661
|
-
responses: {
|
|
662
|
-
200: {},
|
|
663
|
-
204: {},
|
|
664
|
-
default: {
|
|
665
|
-
bodyMapper: Mappers.ErrorResponse
|
|
666
|
-
}
|
|
667
|
-
},
|
|
668
|
-
serializer
|
|
669
|
-
};
|
|
670
|
-
|
|
671
|
-
const getAuthorizationRuleOperationSpec: msRest.OperationSpec = {
|
|
672
|
-
httpMethod: "GET",
|
|
673
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules/{authorizationRuleName}",
|
|
674
|
-
urlParameters: [
|
|
675
|
-
Parameters.resourceGroupName,
|
|
676
|
-
Parameters.namespaceName,
|
|
677
|
-
Parameters.hybridConnectionName,
|
|
678
|
-
Parameters.authorizationRuleName,
|
|
679
|
-
Parameters.subscriptionId
|
|
680
|
-
],
|
|
681
|
-
queryParameters: [
|
|
682
|
-
Parameters.apiVersion
|
|
683
|
-
],
|
|
684
|
-
headerParameters: [
|
|
685
|
-
Parameters.acceptLanguage
|
|
686
|
-
],
|
|
687
|
-
responses: {
|
|
688
|
-
200: {
|
|
689
|
-
bodyMapper: Mappers.AuthorizationRule
|
|
690
|
-
},
|
|
691
|
-
default: {
|
|
692
|
-
bodyMapper: Mappers.ErrorResponse
|
|
693
|
-
}
|
|
694
|
-
},
|
|
695
|
-
serializer
|
|
696
|
-
};
|
|
697
|
-
|
|
698
|
-
const listKeysOperationSpec: msRest.OperationSpec = {
|
|
699
|
-
httpMethod: "POST",
|
|
700
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules/{authorizationRuleName}/listKeys",
|
|
701
|
-
urlParameters: [
|
|
702
|
-
Parameters.resourceGroupName,
|
|
703
|
-
Parameters.namespaceName,
|
|
704
|
-
Parameters.hybridConnectionName,
|
|
705
|
-
Parameters.authorizationRuleName,
|
|
706
|
-
Parameters.subscriptionId
|
|
707
|
-
],
|
|
708
|
-
queryParameters: [
|
|
709
|
-
Parameters.apiVersion
|
|
710
|
-
],
|
|
711
|
-
headerParameters: [
|
|
712
|
-
Parameters.acceptLanguage
|
|
713
|
-
],
|
|
714
|
-
responses: {
|
|
715
|
-
200: {
|
|
716
|
-
bodyMapper: Mappers.AccessKeys
|
|
717
|
-
},
|
|
718
|
-
default: {
|
|
719
|
-
bodyMapper: Mappers.ErrorResponse
|
|
720
|
-
}
|
|
721
|
-
},
|
|
722
|
-
serializer
|
|
723
|
-
};
|
|
724
|
-
|
|
725
|
-
const regenerateKeysOperationSpec: msRest.OperationSpec = {
|
|
726
|
-
httpMethod: "POST",
|
|
727
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules/{authorizationRuleName}/regenerateKeys",
|
|
728
|
-
urlParameters: [
|
|
729
|
-
Parameters.resourceGroupName,
|
|
730
|
-
Parameters.namespaceName,
|
|
731
|
-
Parameters.hybridConnectionName,
|
|
732
|
-
Parameters.authorizationRuleName,
|
|
733
|
-
Parameters.subscriptionId
|
|
734
|
-
],
|
|
735
|
-
queryParameters: [
|
|
736
|
-
Parameters.apiVersion
|
|
737
|
-
],
|
|
738
|
-
headerParameters: [
|
|
739
|
-
Parameters.acceptLanguage
|
|
740
|
-
],
|
|
741
|
-
requestBody: {
|
|
742
|
-
parameterPath: "parameters",
|
|
743
|
-
mapper: {
|
|
744
|
-
...Mappers.RegenerateAccessKeyParameters,
|
|
745
|
-
required: true
|
|
746
|
-
}
|
|
747
|
-
},
|
|
748
|
-
responses: {
|
|
749
|
-
200: {
|
|
750
|
-
bodyMapper: Mappers.AccessKeys
|
|
751
|
-
},
|
|
752
|
-
default: {
|
|
753
|
-
bodyMapper: Mappers.ErrorResponse
|
|
754
|
-
}
|
|
755
|
-
},
|
|
756
|
-
serializer
|
|
757
|
-
};
|
|
758
|
-
|
|
759
|
-
const listByNamespaceNextOperationSpec: msRest.OperationSpec = {
|
|
760
|
-
httpMethod: "GET",
|
|
761
|
-
baseUrl: "https://management.azure.com",
|
|
762
|
-
path: "{nextLink}",
|
|
763
|
-
urlParameters: [
|
|
764
|
-
Parameters.nextPageLink
|
|
765
|
-
],
|
|
766
|
-
headerParameters: [
|
|
767
|
-
Parameters.acceptLanguage
|
|
768
|
-
],
|
|
769
|
-
responses: {
|
|
770
|
-
200: {
|
|
771
|
-
bodyMapper: Mappers.HybridConnectionListResult
|
|
772
|
-
},
|
|
773
|
-
default: {
|
|
774
|
-
bodyMapper: Mappers.ErrorResponse
|
|
775
|
-
}
|
|
776
|
-
},
|
|
777
|
-
serializer
|
|
778
|
-
};
|
|
779
|
-
|
|
780
|
-
const listAuthorizationRulesNextOperationSpec: msRest.OperationSpec = {
|
|
781
|
-
httpMethod: "GET",
|
|
782
|
-
baseUrl: "https://management.azure.com",
|
|
783
|
-
path: "{nextLink}",
|
|
784
|
-
urlParameters: [
|
|
785
|
-
Parameters.nextPageLink
|
|
786
|
-
],
|
|
787
|
-
headerParameters: [
|
|
788
|
-
Parameters.acceptLanguage
|
|
789
|
-
],
|
|
790
|
-
responses: {
|
|
791
|
-
200: {
|
|
792
|
-
bodyMapper: Mappers.AuthorizationRuleListResult
|
|
793
|
-
},
|
|
794
|
-
default: {
|
|
795
|
-
bodyMapper: Mappers.ErrorResponse
|
|
796
|
-
}
|
|
797
|
-
},
|
|
798
|
-
serializer
|
|
799
|
-
};
|