@azure/arm-relay 2.2.1 → 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} +2 -2
- package/README.md +69 -80
- 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 +68 -33
- 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 +470 -1163
- package/src/models/mappers.ts +366 -413
- package/src/models/parameters.ts +126 -46
- package/src/operations/hybridConnections.ts +473 -492
- package/src/operations/index.ts +3 -5
- package/src/operations/namespaces.ts +702 -651
- package/src/operations/operations.ts +87 -73
- package/src/operations/wCFRelays.ts +470 -507
- 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 -2603
- 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 -28
- package/esm/relayManagementClient.d.ts.map +0 -1
- package/esm/relayManagementClient.js +0 -42
- package/esm/relayManagementClient.js.map +0 -1
- package/esm/relayManagementClientContext.d.ts +0 -23
- package/esm/relayManagementClientContext.d.ts.map +0 -1
- package/esm/relayManagementClientContext.js +0 -62
- package/esm/relayManagementClientContext.js.map +0 -1
- package/src/models/hybridConnectionsMappers.ts +0 -28
- package/src/models/namespacesMappers.ts +0 -30
- package/src/models/operationsMappers.ts +0 -17
- package/src/models/wCFRelaysMappers.ts +0 -29
- package/src/relayManagementClient.ts +0 -55
- package/src/relayManagementClientContext.ts +0 -69
package/src/models/index.ts
CHANGED
|
@@ -1,1304 +1,611 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* license information.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
5
4
|
*
|
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
9
7
|
*/
|
|
10
8
|
|
|
11
|
-
import
|
|
12
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
13
10
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @interface
|
|
19
|
-
* An interface representing Resource.
|
|
20
|
-
* The resource definition.
|
|
21
|
-
*
|
|
22
|
-
* @extends BaseResource
|
|
23
|
-
*/
|
|
24
|
-
export interface Resource extends BaseResource {
|
|
11
|
+
/** Result of the request to list Relay operations. It contains a list of operations and a URL link to get the next set of results. */
|
|
12
|
+
export interface OperationListResult {
|
|
25
13
|
/**
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* the server.**
|
|
14
|
+
* List of Relay operations supported by resource provider.
|
|
15
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
29
16
|
*/
|
|
30
|
-
readonly
|
|
17
|
+
readonly value?: Operation[];
|
|
31
18
|
/**
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* the server.**
|
|
19
|
+
* URL to get the next set of operation list results if there are any.
|
|
20
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
35
21
|
*/
|
|
36
|
-
readonly
|
|
22
|
+
readonly nextLink?: string;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** A Relay REST API operation. */
|
|
26
|
+
export interface Operation {
|
|
37
27
|
/**
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* the server.**
|
|
28
|
+
* Operation name: {provider}/{resource}/{operation}
|
|
29
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
41
30
|
*/
|
|
42
|
-
readonly
|
|
31
|
+
readonly name?: string;
|
|
32
|
+
/** The object that represents the operation. */
|
|
33
|
+
display?: OperationDisplay;
|
|
43
34
|
}
|
|
44
35
|
|
|
45
|
-
/**
|
|
46
|
-
|
|
47
|
-
* An interface representing TrackedResource.
|
|
48
|
-
* Definition of resource.
|
|
49
|
-
*
|
|
50
|
-
* @extends Resource
|
|
51
|
-
*/
|
|
52
|
-
export interface TrackedResource extends Resource {
|
|
36
|
+
/** The object that represents the operation. */
|
|
37
|
+
export interface OperationDisplay {
|
|
53
38
|
/**
|
|
54
|
-
*
|
|
39
|
+
* Service provider: Relay.
|
|
40
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
55
41
|
*/
|
|
56
|
-
|
|
42
|
+
readonly provider?: string;
|
|
57
43
|
/**
|
|
58
|
-
*
|
|
44
|
+
* Resource on which the operation is performed: Invoice, etc.
|
|
45
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
59
46
|
*/
|
|
60
|
-
|
|
47
|
+
readonly resource?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Operation type: Read, write, delete, etc.
|
|
50
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
51
|
+
*/
|
|
52
|
+
readonly operation?: string;
|
|
61
53
|
}
|
|
62
54
|
|
|
63
|
-
/**
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
55
|
+
/** Error reponse indicates Relay service is not able to process the incoming request. The reason is provided in the error message. */
|
|
56
|
+
export interface ErrorResponse {
|
|
57
|
+
/** Error code. */
|
|
58
|
+
code?: string;
|
|
59
|
+
/** Error message indicating why the operation failed. */
|
|
60
|
+
message?: string;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/** Description of the check name availability request properties. */
|
|
64
|
+
export interface CheckNameAvailability {
|
|
65
|
+
/** The namespace name to check for availability. The namespace name can contain only letters, numbers, and hyphens. The namespace must start with a letter, and it must end with a letter or number. */
|
|
66
|
+
name: string;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/** Description of the check name availability request properties. */
|
|
70
|
+
export interface CheckNameAvailabilityResult {
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* The detailed info regarding the reason associated with the namespace.
|
|
73
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
73
74
|
*/
|
|
74
|
-
|
|
75
|
+
readonly message?: string;
|
|
76
|
+
/** Value indicating namespace is available. Returns true if the namespace is available; otherwise, false. */
|
|
77
|
+
nameAvailable?: boolean;
|
|
78
|
+
/** The reason for unavailability of a namespace. */
|
|
79
|
+
reason?: UnavailableReason;
|
|
75
80
|
}
|
|
76
81
|
|
|
77
|
-
/**
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
/** The response from the list namespace operation. */
|
|
83
|
+
export interface RelayNamespaceListResult {
|
|
84
|
+
/** Result of the list namespace operation. */
|
|
85
|
+
value?: RelayNamespace[];
|
|
86
|
+
/** Link to the next set of results. Not empty if value contains incomplete list of namespaces. */
|
|
87
|
+
nextLink?: string;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/** SKU of the namespace. */
|
|
91
|
+
export interface Sku {
|
|
92
|
+
/** Name of this SKU. */
|
|
93
|
+
name: "Standard";
|
|
94
|
+
/** The tier of this SKU. */
|
|
95
|
+
tier?: "Standard";
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/** The resource definition. */
|
|
99
|
+
export interface Resource {
|
|
85
100
|
/**
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
* the server.**
|
|
101
|
+
* Resource ID.
|
|
102
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
89
103
|
*/
|
|
90
|
-
readonly
|
|
104
|
+
readonly id?: string;
|
|
91
105
|
/**
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
* the server.**
|
|
106
|
+
* Resource name.
|
|
107
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
95
108
|
*/
|
|
96
|
-
readonly
|
|
109
|
+
readonly name?: string;
|
|
97
110
|
/**
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
101
|
-
* the server.**
|
|
111
|
+
* Resource type.
|
|
112
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
102
113
|
*/
|
|
103
|
-
readonly
|
|
114
|
+
readonly type?: string;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/** The response from the list namespace operation. */
|
|
118
|
+
export interface AuthorizationRuleListResult {
|
|
119
|
+
/** Result of the list authorization rules operation. */
|
|
120
|
+
value?: AuthorizationRule[];
|
|
121
|
+
/** Link to the next set of results. Not empty if value contains incomplete list of authorization rules. */
|
|
122
|
+
nextLink?: string;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/** Namespace/Relay Connection String */
|
|
126
|
+
export interface AccessKeys {
|
|
127
|
+
/** Primary connection string of the created namespace authorization rule. */
|
|
128
|
+
primaryConnectionString?: string;
|
|
129
|
+
/** Secondary connection string of the created namespace authorization rule. */
|
|
130
|
+
secondaryConnectionString?: string;
|
|
131
|
+
/** A base64-encoded 256-bit primary key for signing and validating the SAS token. */
|
|
132
|
+
primaryKey?: string;
|
|
133
|
+
/** A base64-encoded 256-bit secondary key for signing and validating the SAS token. */
|
|
134
|
+
secondaryKey?: string;
|
|
135
|
+
/** A string that describes the authorization rule. */
|
|
136
|
+
keyName?: string;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/** Parameters supplied to the regenerate authorization rule operation, specifies which key neeeds to be reset. */
|
|
140
|
+
export interface RegenerateAccessKeyParameters {
|
|
141
|
+
/** The access key to regenerate. */
|
|
142
|
+
keyType: KeyType;
|
|
143
|
+
/** Optional. If the key value is provided, this is set to key type, or autogenerated key value set for key type. */
|
|
144
|
+
key?: string;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/** The response of the list hybrid connection operation. */
|
|
148
|
+
export interface HybridConnectionListResult {
|
|
149
|
+
/** Result of the list hybrid connections. */
|
|
150
|
+
value?: HybridConnection[];
|
|
151
|
+
/** Link to the next set of results. Not empty if value contains incomplete list hybrid connection operation. */
|
|
152
|
+
nextLink?: string;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/** The response of the list WCF relay operation. */
|
|
156
|
+
export interface WcfRelaysListResult {
|
|
157
|
+
/** Result of the list WCF relay operation. */
|
|
158
|
+
value?: WcfRelay[];
|
|
159
|
+
/** Link to the next set of results. Not empty if value contains incomplete list of WCF relays. */
|
|
160
|
+
nextLink?: string;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/** Definition of resource. */
|
|
164
|
+
export type TrackedResource = Resource & {
|
|
165
|
+
/** Resource location. */
|
|
166
|
+
location: string;
|
|
167
|
+
/** Resource tags. */
|
|
168
|
+
tags?: { [propertyName: string]: string };
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
/** Definition of resource. */
|
|
172
|
+
export type ResourceNamespacePatch = Resource & {
|
|
173
|
+
/** Resource tags. */
|
|
174
|
+
tags?: { [propertyName: string]: string };
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
/** Description of a namespace authorization rule. */
|
|
178
|
+
export type AuthorizationRule = Resource & {
|
|
179
|
+
/** The rights associated with the rule. */
|
|
180
|
+
rights: AccessRights[];
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
/** Description of hybrid connection resource. */
|
|
184
|
+
export type HybridConnection = Resource & {
|
|
104
185
|
/**
|
|
105
|
-
*
|
|
106
|
-
*
|
|
186
|
+
* The time the hybrid connection was created.
|
|
187
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
107
188
|
*/
|
|
108
|
-
|
|
189
|
+
readonly createdAt?: Date;
|
|
190
|
+
/**
|
|
191
|
+
* The time the namespace was updated.
|
|
192
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
193
|
+
*/
|
|
194
|
+
readonly updatedAt?: Date;
|
|
109
195
|
/**
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
* it can be used to store descriptive data, such as a list of teams and
|
|
113
|
-
* their contact information. Also, user-defined configuration settings can
|
|
114
|
-
* be stored.
|
|
196
|
+
* The number of listeners for this hybrid connection. Note that min : 1 and max:25 are supported.
|
|
197
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
115
198
|
*/
|
|
199
|
+
readonly listenerCount?: number;
|
|
200
|
+
/** Returns true if client authorization is needed for this hybrid connection; otherwise, false. */
|
|
201
|
+
requiresClientAuthorization?: boolean;
|
|
202
|
+
/** The usermetadata is a placeholder to store user-defined string data for the hybrid connection endpoint. For example, it can be used to store descriptive data, such as a list of teams and their contact information. Also, user-defined configuration settings can be stored. */
|
|
116
203
|
userMetadata?: string;
|
|
117
|
-
}
|
|
204
|
+
};
|
|
118
205
|
|
|
119
|
-
/**
|
|
120
|
-
|
|
121
|
-
* An interface representing WcfRelay.
|
|
122
|
-
* Description of the WCF relay resource.
|
|
123
|
-
*
|
|
124
|
-
* @extends Resource
|
|
125
|
-
*/
|
|
126
|
-
export interface WcfRelay extends Resource {
|
|
206
|
+
/** Description of the WCF relay resource. */
|
|
207
|
+
export type WcfRelay = Resource & {
|
|
127
208
|
/**
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
131
|
-
* the server.**
|
|
209
|
+
* Returns true if the relay is dynamic; otherwise, false.
|
|
210
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
132
211
|
*/
|
|
133
212
|
readonly isDynamic?: boolean;
|
|
134
213
|
/**
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
* the server.**
|
|
214
|
+
* The time the WCF relay was created.
|
|
215
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
138
216
|
*/
|
|
139
217
|
readonly createdAt?: Date;
|
|
140
218
|
/**
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
* the server.**
|
|
219
|
+
* The time the namespace was updated.
|
|
220
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
144
221
|
*/
|
|
145
222
|
readonly updatedAt?: Date;
|
|
146
223
|
/**
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
150
|
-
* the server.**
|
|
224
|
+
* The number of listeners for this relay. Note that min :1 and max:25 are supported.
|
|
225
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
151
226
|
*/
|
|
152
227
|
readonly listenerCount?: number;
|
|
153
|
-
/**
|
|
154
|
-
* @member {Relaytype} [relayType] WCF relay type. Possible values include:
|
|
155
|
-
* 'NetTcp', 'Http'
|
|
156
|
-
*/
|
|
228
|
+
/** WCF relay type. */
|
|
157
229
|
relayType?: Relaytype;
|
|
158
|
-
/**
|
|
159
|
-
* @member {boolean} [requiresClientAuthorization] Returns true if client
|
|
160
|
-
* authorization is needed for this relay; otherwise, false.
|
|
161
|
-
*/
|
|
230
|
+
/** Returns true if client authorization is needed for this relay; otherwise, false. */
|
|
162
231
|
requiresClientAuthorization?: boolean;
|
|
163
|
-
/**
|
|
164
|
-
* @member {boolean} [requiresTransportSecurity] Returns true if transport
|
|
165
|
-
* security is needed for this relay; otherwise, false.
|
|
166
|
-
*/
|
|
232
|
+
/** Returns true if transport security is needed for this relay; otherwise, false. */
|
|
167
233
|
requiresTransportSecurity?: boolean;
|
|
168
|
-
/**
|
|
169
|
-
* @member {string} [userMetadata] The usermetadata is a placeholder to store
|
|
170
|
-
* user-defined string data for the WCF Relay endpoint. For example, it can
|
|
171
|
-
* be used to store descriptive data, such as list of teams and their contact
|
|
172
|
-
* information. Also, user-defined configuration settings can be stored.
|
|
173
|
-
*/
|
|
234
|
+
/** The usermetadata is a placeholder to store user-defined string data for the WCF Relay endpoint. For example, it can be used to store descriptive data, such as list of teams and their contact information. Also, user-defined configuration settings can be stored. */
|
|
174
235
|
userMetadata?: string;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* @interface
|
|
179
|
-
* An interface representing Sku.
|
|
180
|
-
* SKU of the namespace.
|
|
181
|
-
*
|
|
182
|
-
*/
|
|
183
|
-
export interface Sku {
|
|
184
|
-
/**
|
|
185
|
-
* @member {SkuTier} [tier] The tier of this SKU. Possible values include:
|
|
186
|
-
* 'Standard'
|
|
187
|
-
*/
|
|
188
|
-
tier?: SkuTier;
|
|
189
|
-
}
|
|
236
|
+
};
|
|
190
237
|
|
|
191
|
-
/**
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
* Description of a namespace resource.
|
|
195
|
-
*
|
|
196
|
-
* @extends TrackedResource
|
|
197
|
-
*/
|
|
198
|
-
export interface RelayNamespace extends TrackedResource {
|
|
199
|
-
/**
|
|
200
|
-
* @member {Sku} [sku] SKU of the namespace.
|
|
201
|
-
*/
|
|
238
|
+
/** Description of a namespace resource. */
|
|
239
|
+
export type RelayNamespace = TrackedResource & {
|
|
240
|
+
/** SKU of the namespace. */
|
|
202
241
|
sku?: Sku;
|
|
203
|
-
/**
|
|
204
|
-
* @member {ProvisioningStateEnum} [provisioningState] Possible values
|
|
205
|
-
* include: 'Created', 'Succeeded', 'Deleted', 'Failed', 'Updating',
|
|
206
|
-
* 'Unknown'
|
|
207
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
208
|
-
* the server.**
|
|
209
|
-
*/
|
|
242
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
210
243
|
readonly provisioningState?: ProvisioningStateEnum;
|
|
211
244
|
/**
|
|
212
|
-
*
|
|
213
|
-
*
|
|
214
|
-
* the server.**
|
|
245
|
+
* The time the namespace was created.
|
|
246
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
215
247
|
*/
|
|
216
248
|
readonly createdAt?: Date;
|
|
217
249
|
/**
|
|
218
|
-
*
|
|
219
|
-
*
|
|
220
|
-
* the server.**
|
|
250
|
+
* The time the namespace was updated.
|
|
251
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
221
252
|
*/
|
|
222
253
|
readonly updatedAt?: Date;
|
|
223
254
|
/**
|
|
224
|
-
*
|
|
225
|
-
*
|
|
226
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
227
|
-
* the server.**
|
|
255
|
+
* Endpoint you can use to perform Service Bus operations.
|
|
256
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
228
257
|
*/
|
|
229
258
|
readonly serviceBusEndpoint?: string;
|
|
230
259
|
/**
|
|
231
|
-
*
|
|
232
|
-
*
|
|
233
|
-
* the server.**
|
|
260
|
+
* Identifier for Azure Insights metrics.
|
|
261
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
234
262
|
*/
|
|
235
263
|
readonly metricId?: string;
|
|
236
|
-
}
|
|
264
|
+
};
|
|
237
265
|
|
|
238
|
-
/**
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
* Description of a namespace resource.
|
|
242
|
-
*
|
|
243
|
-
* @extends ResourceNamespacePatch
|
|
244
|
-
*/
|
|
245
|
-
export interface RelayUpdateParameters extends ResourceNamespacePatch {
|
|
246
|
-
/**
|
|
247
|
-
* @member {Sku} [sku] SKU of the namespace.
|
|
248
|
-
*/
|
|
266
|
+
/** Description of a namespace resource. */
|
|
267
|
+
export type RelayUpdateParameters = ResourceNamespacePatch & {
|
|
268
|
+
/** SKU of the namespace. */
|
|
249
269
|
sku?: Sku;
|
|
250
|
-
/**
|
|
251
|
-
* @member {ProvisioningStateEnum} [provisioningState] Possible values
|
|
252
|
-
* include: 'Created', 'Succeeded', 'Deleted', 'Failed', 'Updating',
|
|
253
|
-
* 'Unknown'
|
|
254
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
255
|
-
* the server.**
|
|
256
|
-
*/
|
|
270
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
257
271
|
readonly provisioningState?: ProvisioningStateEnum;
|
|
258
272
|
/**
|
|
259
|
-
*
|
|
260
|
-
*
|
|
261
|
-
* the server.**
|
|
273
|
+
* The time the namespace was created.
|
|
274
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
262
275
|
*/
|
|
263
276
|
readonly createdAt?: Date;
|
|
264
277
|
/**
|
|
265
|
-
*
|
|
266
|
-
*
|
|
267
|
-
* the server.**
|
|
278
|
+
* The time the namespace was updated.
|
|
279
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
268
280
|
*/
|
|
269
281
|
readonly updatedAt?: Date;
|
|
270
282
|
/**
|
|
271
|
-
*
|
|
272
|
-
*
|
|
273
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
274
|
-
* the server.**
|
|
283
|
+
* Endpoint you can use to perform Service Bus operations.
|
|
284
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
275
285
|
*/
|
|
276
286
|
readonly serviceBusEndpoint?: string;
|
|
277
287
|
/**
|
|
278
|
-
*
|
|
279
|
-
*
|
|
280
|
-
* the server.**
|
|
288
|
+
* Identifier for Azure Insights metrics.
|
|
289
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
281
290
|
*/
|
|
282
291
|
readonly metricId?: string;
|
|
292
|
+
};
|
|
293
|
+
/** Defines values for UnavailableReason. */
|
|
294
|
+
export type UnavailableReason =
|
|
295
|
+
| "None"
|
|
296
|
+
| "InvalidName"
|
|
297
|
+
| "SubscriptionIsDisabled"
|
|
298
|
+
| "NameInUse"
|
|
299
|
+
| "NameInLockdown"
|
|
300
|
+
| "TooManyNamespaceInCurrentSubscription";
|
|
301
|
+
/** Defines values for ProvisioningStateEnum. */
|
|
302
|
+
export type ProvisioningStateEnum =
|
|
303
|
+
| "Created"
|
|
304
|
+
| "Succeeded"
|
|
305
|
+
| "Deleted"
|
|
306
|
+
| "Failed"
|
|
307
|
+
| "Updating"
|
|
308
|
+
| "Unknown";
|
|
309
|
+
/** Defines values for AccessRights. */
|
|
310
|
+
export type AccessRights = "Manage" | "Send" | "Listen";
|
|
311
|
+
/** Defines values for KeyType. */
|
|
312
|
+
export type KeyType = "PrimaryKey" | "SecondaryKey";
|
|
313
|
+
/** Defines values for Relaytype. */
|
|
314
|
+
export type Relaytype = "NetTcp" | "Http";
|
|
315
|
+
|
|
316
|
+
/** Optional parameters. */
|
|
317
|
+
export interface OperationsListOptionalParams
|
|
318
|
+
extends coreClient.OperationOptions {}
|
|
319
|
+
|
|
320
|
+
/** Contains response data for the list operation. */
|
|
321
|
+
export type OperationsListResponse = OperationListResult;
|
|
322
|
+
|
|
323
|
+
/** Optional parameters. */
|
|
324
|
+
export interface OperationsListNextOptionalParams
|
|
325
|
+
extends coreClient.OperationOptions {}
|
|
326
|
+
|
|
327
|
+
/** Contains response data for the listNext operation. */
|
|
328
|
+
export type OperationsListNextResponse = OperationListResult;
|
|
329
|
+
|
|
330
|
+
/** Optional parameters. */
|
|
331
|
+
export interface NamespacesCheckNameAvailabilityOptionalParams
|
|
332
|
+
extends coreClient.OperationOptions {}
|
|
333
|
+
|
|
334
|
+
/** Contains response data for the checkNameAvailability operation. */
|
|
335
|
+
export type NamespacesCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
|
|
336
|
+
|
|
337
|
+
/** Optional parameters. */
|
|
338
|
+
export interface NamespacesListOptionalParams
|
|
339
|
+
extends coreClient.OperationOptions {}
|
|
340
|
+
|
|
341
|
+
/** Contains response data for the list operation. */
|
|
342
|
+
export type NamespacesListResponse = RelayNamespaceListResult;
|
|
343
|
+
|
|
344
|
+
/** Optional parameters. */
|
|
345
|
+
export interface NamespacesListByResourceGroupOptionalParams
|
|
346
|
+
extends coreClient.OperationOptions {}
|
|
347
|
+
|
|
348
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
349
|
+
export type NamespacesListByResourceGroupResponse = RelayNamespaceListResult;
|
|
350
|
+
|
|
351
|
+
/** Optional parameters. */
|
|
352
|
+
export interface NamespacesCreateOrUpdateOptionalParams
|
|
353
|
+
extends coreClient.OperationOptions {
|
|
354
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
355
|
+
updateIntervalInMs?: number;
|
|
356
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
357
|
+
resumeFrom?: string;
|
|
283
358
|
}
|
|
284
359
|
|
|
285
|
-
/**
|
|
286
|
-
|
|
287
|
-
* An interface representing AuthorizationRule.
|
|
288
|
-
* Description of a namespace authorization rule.
|
|
289
|
-
*
|
|
290
|
-
* @extends Resource
|
|
291
|
-
*/
|
|
292
|
-
export interface AuthorizationRule extends Resource {
|
|
293
|
-
/**
|
|
294
|
-
* @member {AccessRights[]} rights The rights associated with the rule.
|
|
295
|
-
*/
|
|
296
|
-
rights: AccessRights[];
|
|
297
|
-
}
|
|
360
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
361
|
+
export type NamespacesCreateOrUpdateResponse = RelayNamespace;
|
|
298
362
|
|
|
299
|
-
/**
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
*/
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* @member {string} [primaryConnectionString] Primary connection string of
|
|
308
|
-
* the created namespace authorization rule.
|
|
309
|
-
*/
|
|
310
|
-
primaryConnectionString?: string;
|
|
311
|
-
/**
|
|
312
|
-
* @member {string} [secondaryConnectionString] Secondary connection string
|
|
313
|
-
* of the created namespace authorization rule.
|
|
314
|
-
*/
|
|
315
|
-
secondaryConnectionString?: string;
|
|
316
|
-
/**
|
|
317
|
-
* @member {string} [primaryKey] A base64-encoded 256-bit primary key for
|
|
318
|
-
* signing and validating the SAS token.
|
|
319
|
-
*/
|
|
320
|
-
primaryKey?: string;
|
|
321
|
-
/**
|
|
322
|
-
* @member {string} [secondaryKey] A base64-encoded 256-bit secondary key for
|
|
323
|
-
* signing and validating the SAS token.
|
|
324
|
-
*/
|
|
325
|
-
secondaryKey?: string;
|
|
326
|
-
/**
|
|
327
|
-
* @member {string} [keyName] A string that describes the authorization rule.
|
|
328
|
-
*/
|
|
329
|
-
keyName?: string;
|
|
363
|
+
/** Optional parameters. */
|
|
364
|
+
export interface NamespacesDeleteOptionalParams
|
|
365
|
+
extends coreClient.OperationOptions {
|
|
366
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
367
|
+
updateIntervalInMs?: number;
|
|
368
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
369
|
+
resumeFrom?: string;
|
|
330
370
|
}
|
|
331
371
|
|
|
332
|
-
/**
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
* Parameters supplied to the regenerate authorization rule operation,
|
|
336
|
-
* specifies which key neeeds to be reset.
|
|
337
|
-
*
|
|
338
|
-
*/
|
|
339
|
-
export interface RegenerateAccessKeyParameters {
|
|
340
|
-
/**
|
|
341
|
-
* @member {KeyType} keyType The access key to regenerate. Possible values
|
|
342
|
-
* include: 'PrimaryKey', 'SecondaryKey'
|
|
343
|
-
*/
|
|
344
|
-
keyType: KeyType;
|
|
345
|
-
/**
|
|
346
|
-
* @member {string} [key] Optional. If the key value is provided, this is set
|
|
347
|
-
* to key type, or autogenerated key value set for key type.
|
|
348
|
-
*/
|
|
349
|
-
key?: string;
|
|
350
|
-
}
|
|
372
|
+
/** Optional parameters. */
|
|
373
|
+
export interface NamespacesGetOptionalParams
|
|
374
|
+
extends coreClient.OperationOptions {}
|
|
351
375
|
|
|
352
|
-
/**
|
|
353
|
-
|
|
354
|
-
* An interface representing CheckNameAvailability.
|
|
355
|
-
* Description of the check name availability request properties.
|
|
356
|
-
*
|
|
357
|
-
*/
|
|
358
|
-
export interface CheckNameAvailability {
|
|
359
|
-
/**
|
|
360
|
-
* @member {string} name The namespace name to check for availability. The
|
|
361
|
-
* namespace name can contain only letters, numbers, and hyphens. The
|
|
362
|
-
* namespace must start with a letter, and it must end with a letter or
|
|
363
|
-
* number.
|
|
364
|
-
*/
|
|
365
|
-
name: string;
|
|
366
|
-
}
|
|
376
|
+
/** Contains response data for the get operation. */
|
|
377
|
+
export type NamespacesGetResponse = RelayNamespace;
|
|
367
378
|
|
|
368
|
-
/**
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
* Description of the check name availability request properties.
|
|
372
|
-
*
|
|
373
|
-
*/
|
|
374
|
-
export interface CheckNameAvailabilityResult {
|
|
375
|
-
/**
|
|
376
|
-
* @member {string} [message] The detailed info regarding the reason
|
|
377
|
-
* associated with the namespace.
|
|
378
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
379
|
-
* the server.**
|
|
380
|
-
*/
|
|
381
|
-
readonly message?: string;
|
|
382
|
-
/**
|
|
383
|
-
* @member {boolean} [nameAvailable] Value indicating namespace is available.
|
|
384
|
-
* Returns true if the namespace is available; otherwise, false.
|
|
385
|
-
*/
|
|
386
|
-
nameAvailable?: boolean;
|
|
387
|
-
/**
|
|
388
|
-
* @member {UnavailableReason} [reason] The reason for unavailability of a
|
|
389
|
-
* namespace. Possible values include: 'None', 'InvalidName',
|
|
390
|
-
* 'SubscriptionIsDisabled', 'NameInUse', 'NameInLockdown',
|
|
391
|
-
* 'TooManyNamespaceInCurrentSubscription'
|
|
392
|
-
*/
|
|
393
|
-
reason?: UnavailableReason;
|
|
394
|
-
}
|
|
379
|
+
/** Optional parameters. */
|
|
380
|
+
export interface NamespacesUpdateOptionalParams
|
|
381
|
+
extends coreClient.OperationOptions {}
|
|
395
382
|
|
|
396
|
-
/**
|
|
397
|
-
|
|
398
|
-
* An interface representing OperationDisplay.
|
|
399
|
-
* The object that represents the operation.
|
|
400
|
-
*
|
|
401
|
-
*/
|
|
402
|
-
export interface OperationDisplay {
|
|
403
|
-
/**
|
|
404
|
-
* @member {string} [provider] Service provider: Relay.
|
|
405
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
406
|
-
* the server.**
|
|
407
|
-
*/
|
|
408
|
-
readonly provider?: string;
|
|
409
|
-
/**
|
|
410
|
-
* @member {string} [resource] Resource on which the operation is performed:
|
|
411
|
-
* Invoice, etc.
|
|
412
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
413
|
-
* the server.**
|
|
414
|
-
*/
|
|
415
|
-
readonly resource?: string;
|
|
416
|
-
/**
|
|
417
|
-
* @member {string} [operation] Operation type: Read, write, delete, etc.
|
|
418
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
419
|
-
* the server.**
|
|
420
|
-
*/
|
|
421
|
-
readonly operation?: string;
|
|
422
|
-
}
|
|
383
|
+
/** Contains response data for the update operation. */
|
|
384
|
+
export type NamespacesUpdateResponse = RelayNamespace;
|
|
423
385
|
|
|
424
|
-
/**
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
* A Relay REST API operation.
|
|
428
|
-
*
|
|
429
|
-
*/
|
|
430
|
-
export interface Operation {
|
|
431
|
-
/**
|
|
432
|
-
* @member {string} [name] Operation name: {provider}/{resource}/{operation}
|
|
433
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
434
|
-
* the server.**
|
|
435
|
-
*/
|
|
436
|
-
readonly name?: string;
|
|
437
|
-
/**
|
|
438
|
-
* @member {OperationDisplay} [display] The object that represents the
|
|
439
|
-
* operation.
|
|
440
|
-
*/
|
|
441
|
-
display?: OperationDisplay;
|
|
442
|
-
}
|
|
386
|
+
/** Optional parameters. */
|
|
387
|
+
export interface NamespacesListAuthorizationRulesOptionalParams
|
|
388
|
+
extends coreClient.OperationOptions {}
|
|
443
389
|
|
|
444
|
-
/**
|
|
445
|
-
|
|
446
|
-
* An interface representing ErrorResponse.
|
|
447
|
-
* Error reponse indicates Relay service is not able to process the incoming
|
|
448
|
-
* request. The reason is provided in the error message.
|
|
449
|
-
*
|
|
450
|
-
*/
|
|
451
|
-
export interface ErrorResponse {
|
|
452
|
-
/**
|
|
453
|
-
* @member {string} [code] Error code.
|
|
454
|
-
*/
|
|
455
|
-
code?: string;
|
|
456
|
-
/**
|
|
457
|
-
* @member {string} [message] Error message indicating why the operation
|
|
458
|
-
* failed.
|
|
459
|
-
*/
|
|
460
|
-
message?: string;
|
|
461
|
-
}
|
|
390
|
+
/** Contains response data for the listAuthorizationRules operation. */
|
|
391
|
+
export type NamespacesListAuthorizationRulesResponse = AuthorizationRuleListResult;
|
|
462
392
|
|
|
463
|
-
/**
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
* @extends AzureServiceClientOptions
|
|
467
|
-
*/
|
|
468
|
-
export interface RelayManagementClientOptions extends AzureServiceClientOptions {
|
|
469
|
-
/**
|
|
470
|
-
* @member {string} [baseUri]
|
|
471
|
-
*/
|
|
472
|
-
baseUri?: string;
|
|
473
|
-
}
|
|
393
|
+
/** Optional parameters. */
|
|
394
|
+
export interface NamespacesCreateOrUpdateAuthorizationRuleOptionalParams
|
|
395
|
+
extends coreClient.OperationOptions {}
|
|
474
396
|
|
|
397
|
+
/** Contains response data for the createOrUpdateAuthorizationRule operation. */
|
|
398
|
+
export type NamespacesCreateOrUpdateAuthorizationRuleResponse = AuthorizationRule;
|
|
475
399
|
|
|
476
|
-
/**
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
* Result of the request to list Relay operations. It contains a list of
|
|
480
|
-
* operations and a URL link to get the next set of results.
|
|
481
|
-
*
|
|
482
|
-
* @extends Array<Operation>
|
|
483
|
-
*/
|
|
484
|
-
export interface OperationListResult extends Array<Operation> {
|
|
485
|
-
/**
|
|
486
|
-
* @member {string} [nextLink] URL to get the next set of operation list
|
|
487
|
-
* results if there are any.
|
|
488
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
489
|
-
* the server.**
|
|
490
|
-
*/
|
|
491
|
-
readonly nextLink?: string;
|
|
492
|
-
}
|
|
400
|
+
/** Optional parameters. */
|
|
401
|
+
export interface NamespacesDeleteAuthorizationRuleOptionalParams
|
|
402
|
+
extends coreClient.OperationOptions {}
|
|
493
403
|
|
|
494
|
-
/**
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
* The response from the list namespace operation.
|
|
498
|
-
*
|
|
499
|
-
* @extends Array<RelayNamespace>
|
|
500
|
-
*/
|
|
501
|
-
export interface RelayNamespaceListResult extends Array<RelayNamespace> {
|
|
502
|
-
/**
|
|
503
|
-
* @member {string} [nextLink] Link to the next set of results. Not empty if
|
|
504
|
-
* value contains incomplete list of namespaces.
|
|
505
|
-
*/
|
|
506
|
-
nextLink?: string;
|
|
507
|
-
}
|
|
404
|
+
/** Optional parameters. */
|
|
405
|
+
export interface NamespacesGetAuthorizationRuleOptionalParams
|
|
406
|
+
extends coreClient.OperationOptions {}
|
|
508
407
|
|
|
509
|
-
/**
|
|
510
|
-
|
|
511
|
-
* An interface representing the AuthorizationRuleListResult.
|
|
512
|
-
* The response from the list namespace operation.
|
|
513
|
-
*
|
|
514
|
-
* @extends Array<AuthorizationRule>
|
|
515
|
-
*/
|
|
516
|
-
export interface AuthorizationRuleListResult extends Array<AuthorizationRule> {
|
|
517
|
-
/**
|
|
518
|
-
* @member {string} [nextLink] Link to the next set of results. Not empty if
|
|
519
|
-
* value contains incomplete list of authorization rules.
|
|
520
|
-
*/
|
|
521
|
-
nextLink?: string;
|
|
522
|
-
}
|
|
408
|
+
/** Contains response data for the getAuthorizationRule operation. */
|
|
409
|
+
export type NamespacesGetAuthorizationRuleResponse = AuthorizationRule;
|
|
523
410
|
|
|
524
|
-
/**
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
* The response of the list hybrid connection operation.
|
|
528
|
-
*
|
|
529
|
-
* @extends Array<HybridConnection>
|
|
530
|
-
*/
|
|
531
|
-
export interface HybridConnectionListResult extends Array<HybridConnection> {
|
|
532
|
-
/**
|
|
533
|
-
* @member {string} [nextLink] Link to the next set of results. Not empty if
|
|
534
|
-
* value contains incomplete list hybrid connection operation.
|
|
535
|
-
*/
|
|
536
|
-
nextLink?: string;
|
|
537
|
-
}
|
|
411
|
+
/** Optional parameters. */
|
|
412
|
+
export interface NamespacesListKeysOptionalParams
|
|
413
|
+
extends coreClient.OperationOptions {}
|
|
538
414
|
|
|
539
|
-
/**
|
|
540
|
-
|
|
541
|
-
* An interface representing the WcfRelaysListResult.
|
|
542
|
-
* The response of the list WCF relay operation.
|
|
543
|
-
*
|
|
544
|
-
* @extends Array<WcfRelay>
|
|
545
|
-
*/
|
|
546
|
-
export interface WcfRelaysListResult extends Array<WcfRelay> {
|
|
547
|
-
/**
|
|
548
|
-
* @member {string} [nextLink] Link to the next set of results. Not empty if
|
|
549
|
-
* value contains incomplete list of WCF relays.
|
|
550
|
-
*/
|
|
551
|
-
nextLink?: string;
|
|
552
|
-
}
|
|
415
|
+
/** Contains response data for the listKeys operation. */
|
|
416
|
+
export type NamespacesListKeysResponse = AccessKeys;
|
|
553
417
|
|
|
554
|
-
/**
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
* @readonly
|
|
558
|
-
* @enum {string}
|
|
559
|
-
*/
|
|
560
|
-
export type Relaytype = 'NetTcp' | 'Http';
|
|
418
|
+
/** Optional parameters. */
|
|
419
|
+
export interface NamespacesRegenerateKeysOptionalParams
|
|
420
|
+
extends coreClient.OperationOptions {}
|
|
561
421
|
|
|
562
|
-
/**
|
|
563
|
-
|
|
564
|
-
* Possible values include: 'Standard'
|
|
565
|
-
* @readonly
|
|
566
|
-
* @enum {string}
|
|
567
|
-
*/
|
|
568
|
-
export type SkuTier = 'Standard';
|
|
422
|
+
/** Contains response data for the regenerateKeys operation. */
|
|
423
|
+
export type NamespacesRegenerateKeysResponse = AccessKeys;
|
|
569
424
|
|
|
570
|
-
/**
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
* @readonly
|
|
574
|
-
* @enum {string}
|
|
575
|
-
*/
|
|
576
|
-
export type ProvisioningStateEnum = 'Created' | 'Succeeded' | 'Deleted' | 'Failed' | 'Updating' | 'Unknown';
|
|
425
|
+
/** Optional parameters. */
|
|
426
|
+
export interface NamespacesListNextOptionalParams
|
|
427
|
+
extends coreClient.OperationOptions {}
|
|
577
428
|
|
|
578
|
-
/**
|
|
579
|
-
|
|
580
|
-
* Possible values include: 'Manage', 'Send', 'Listen'
|
|
581
|
-
* @readonly
|
|
582
|
-
* @enum {string}
|
|
583
|
-
*/
|
|
584
|
-
export type AccessRights = 'Manage' | 'Send' | 'Listen';
|
|
429
|
+
/** Contains response data for the listNext operation. */
|
|
430
|
+
export type NamespacesListNextResponse = RelayNamespaceListResult;
|
|
585
431
|
|
|
586
|
-
/**
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
* @readonly
|
|
590
|
-
* @enum {string}
|
|
591
|
-
*/
|
|
592
|
-
export type KeyType = 'PrimaryKey' | 'SecondaryKey';
|
|
593
|
-
|
|
594
|
-
/**
|
|
595
|
-
* Defines values for UnavailableReason.
|
|
596
|
-
* Possible values include: 'None', 'InvalidName', 'SubscriptionIsDisabled', 'NameInUse',
|
|
597
|
-
* 'NameInLockdown', 'TooManyNamespaceInCurrentSubscription'
|
|
598
|
-
* @readonly
|
|
599
|
-
* @enum {string}
|
|
600
|
-
*/
|
|
601
|
-
export type UnavailableReason = 'None' | 'InvalidName' | 'SubscriptionIsDisabled' | 'NameInUse' | 'NameInLockdown' | 'TooManyNamespaceInCurrentSubscription';
|
|
432
|
+
/** Optional parameters. */
|
|
433
|
+
export interface NamespacesListByResourceGroupNextOptionalParams
|
|
434
|
+
extends coreClient.OperationOptions {}
|
|
602
435
|
|
|
603
|
-
/**
|
|
604
|
-
|
|
605
|
-
*/
|
|
606
|
-
export type OperationsListResponse = OperationListResult & {
|
|
607
|
-
/**
|
|
608
|
-
* The underlying HTTP response.
|
|
609
|
-
*/
|
|
610
|
-
_response: msRest.HttpResponse & {
|
|
611
|
-
/**
|
|
612
|
-
* The response body as text (string format)
|
|
613
|
-
*/
|
|
614
|
-
bodyAsText: string;
|
|
615
|
-
/**
|
|
616
|
-
* The response body as parsed JSON or XML
|
|
617
|
-
*/
|
|
618
|
-
parsedBody: OperationListResult;
|
|
619
|
-
};
|
|
620
|
-
};
|
|
436
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
437
|
+
export type NamespacesListByResourceGroupNextResponse = RelayNamespaceListResult;
|
|
621
438
|
|
|
622
|
-
/**
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
export type OperationsListNextResponse = OperationListResult & {
|
|
626
|
-
/**
|
|
627
|
-
* The underlying HTTP response.
|
|
628
|
-
*/
|
|
629
|
-
_response: msRest.HttpResponse & {
|
|
630
|
-
/**
|
|
631
|
-
* The response body as text (string format)
|
|
632
|
-
*/
|
|
633
|
-
bodyAsText: string;
|
|
634
|
-
/**
|
|
635
|
-
* The response body as parsed JSON or XML
|
|
636
|
-
*/
|
|
637
|
-
parsedBody: OperationListResult;
|
|
638
|
-
};
|
|
639
|
-
};
|
|
439
|
+
/** Optional parameters. */
|
|
440
|
+
export interface NamespacesListAuthorizationRulesNextOptionalParams
|
|
441
|
+
extends coreClient.OperationOptions {}
|
|
640
442
|
|
|
641
|
-
/**
|
|
642
|
-
|
|
643
|
-
*/
|
|
644
|
-
export type NamespacesCheckNameAvailabilityMethodResponse = CheckNameAvailabilityResult & {
|
|
645
|
-
/**
|
|
646
|
-
* The underlying HTTP response.
|
|
647
|
-
*/
|
|
648
|
-
_response: msRest.HttpResponse & {
|
|
649
|
-
/**
|
|
650
|
-
* The response body as text (string format)
|
|
651
|
-
*/
|
|
652
|
-
bodyAsText: string;
|
|
653
|
-
/**
|
|
654
|
-
* The response body as parsed JSON or XML
|
|
655
|
-
*/
|
|
656
|
-
parsedBody: CheckNameAvailabilityResult;
|
|
657
|
-
};
|
|
658
|
-
};
|
|
443
|
+
/** Contains response data for the listAuthorizationRulesNext operation. */
|
|
444
|
+
export type NamespacesListAuthorizationRulesNextResponse = AuthorizationRuleListResult;
|
|
659
445
|
|
|
660
|
-
/**
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
export type NamespacesListResponse = RelayNamespaceListResult & {
|
|
664
|
-
/**
|
|
665
|
-
* The underlying HTTP response.
|
|
666
|
-
*/
|
|
667
|
-
_response: msRest.HttpResponse & {
|
|
668
|
-
/**
|
|
669
|
-
* The response body as text (string format)
|
|
670
|
-
*/
|
|
671
|
-
bodyAsText: string;
|
|
672
|
-
/**
|
|
673
|
-
* The response body as parsed JSON or XML
|
|
674
|
-
*/
|
|
675
|
-
parsedBody: RelayNamespaceListResult;
|
|
676
|
-
};
|
|
677
|
-
};
|
|
446
|
+
/** Optional parameters. */
|
|
447
|
+
export interface HybridConnectionsListByNamespaceOptionalParams
|
|
448
|
+
extends coreClient.OperationOptions {}
|
|
678
449
|
|
|
679
|
-
/**
|
|
680
|
-
|
|
681
|
-
*/
|
|
682
|
-
export type NamespacesListByResourceGroupResponse = RelayNamespaceListResult & {
|
|
683
|
-
/**
|
|
684
|
-
* The underlying HTTP response.
|
|
685
|
-
*/
|
|
686
|
-
_response: msRest.HttpResponse & {
|
|
687
|
-
/**
|
|
688
|
-
* The response body as text (string format)
|
|
689
|
-
*/
|
|
690
|
-
bodyAsText: string;
|
|
691
|
-
/**
|
|
692
|
-
* The response body as parsed JSON or XML
|
|
693
|
-
*/
|
|
694
|
-
parsedBody: RelayNamespaceListResult;
|
|
695
|
-
};
|
|
696
|
-
};
|
|
450
|
+
/** Contains response data for the listByNamespace operation. */
|
|
451
|
+
export type HybridConnectionsListByNamespaceResponse = HybridConnectionListResult;
|
|
697
452
|
|
|
698
|
-
/**
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
export type NamespacesCreateOrUpdateResponse = RelayNamespace & {
|
|
702
|
-
/**
|
|
703
|
-
* The underlying HTTP response.
|
|
704
|
-
*/
|
|
705
|
-
_response: msRest.HttpResponse & {
|
|
706
|
-
/**
|
|
707
|
-
* The response body as text (string format)
|
|
708
|
-
*/
|
|
709
|
-
bodyAsText: string;
|
|
710
|
-
/**
|
|
711
|
-
* The response body as parsed JSON or XML
|
|
712
|
-
*/
|
|
713
|
-
parsedBody: RelayNamespace;
|
|
714
|
-
};
|
|
715
|
-
};
|
|
453
|
+
/** Optional parameters. */
|
|
454
|
+
export interface HybridConnectionsCreateOrUpdateOptionalParams
|
|
455
|
+
extends coreClient.OperationOptions {}
|
|
716
456
|
|
|
717
|
-
/**
|
|
718
|
-
|
|
719
|
-
*/
|
|
720
|
-
export type NamespacesGetResponse = RelayNamespace & {
|
|
721
|
-
/**
|
|
722
|
-
* The underlying HTTP response.
|
|
723
|
-
*/
|
|
724
|
-
_response: msRest.HttpResponse & {
|
|
725
|
-
/**
|
|
726
|
-
* The response body as text (string format)
|
|
727
|
-
*/
|
|
728
|
-
bodyAsText: string;
|
|
729
|
-
/**
|
|
730
|
-
* The response body as parsed JSON or XML
|
|
731
|
-
*/
|
|
732
|
-
parsedBody: RelayNamespace;
|
|
733
|
-
};
|
|
734
|
-
};
|
|
457
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
458
|
+
export type HybridConnectionsCreateOrUpdateResponse = HybridConnection;
|
|
735
459
|
|
|
736
|
-
/**
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
export type NamespacesUpdateResponse = RelayNamespace & {
|
|
740
|
-
/**
|
|
741
|
-
* The underlying HTTP response.
|
|
742
|
-
*/
|
|
743
|
-
_response: msRest.HttpResponse & {
|
|
744
|
-
/**
|
|
745
|
-
* The response body as text (string format)
|
|
746
|
-
*/
|
|
747
|
-
bodyAsText: string;
|
|
748
|
-
/**
|
|
749
|
-
* The response body as parsed JSON or XML
|
|
750
|
-
*/
|
|
751
|
-
parsedBody: RelayNamespace;
|
|
752
|
-
};
|
|
753
|
-
};
|
|
460
|
+
/** Optional parameters. */
|
|
461
|
+
export interface HybridConnectionsDeleteOptionalParams
|
|
462
|
+
extends coreClient.OperationOptions {}
|
|
754
463
|
|
|
755
|
-
/**
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
export type NamespacesListAuthorizationRulesResponse = AuthorizationRuleListResult & {
|
|
759
|
-
/**
|
|
760
|
-
* The underlying HTTP response.
|
|
761
|
-
*/
|
|
762
|
-
_response: msRest.HttpResponse & {
|
|
763
|
-
/**
|
|
764
|
-
* The response body as text (string format)
|
|
765
|
-
*/
|
|
766
|
-
bodyAsText: string;
|
|
767
|
-
/**
|
|
768
|
-
* The response body as parsed JSON or XML
|
|
769
|
-
*/
|
|
770
|
-
parsedBody: AuthorizationRuleListResult;
|
|
771
|
-
};
|
|
772
|
-
};
|
|
464
|
+
/** Optional parameters. */
|
|
465
|
+
export interface HybridConnectionsGetOptionalParams
|
|
466
|
+
extends coreClient.OperationOptions {}
|
|
773
467
|
|
|
774
|
-
/**
|
|
775
|
-
|
|
776
|
-
*/
|
|
777
|
-
export type NamespacesCreateOrUpdateAuthorizationRuleResponse = AuthorizationRule & {
|
|
778
|
-
/**
|
|
779
|
-
* The underlying HTTP response.
|
|
780
|
-
*/
|
|
781
|
-
_response: msRest.HttpResponse & {
|
|
782
|
-
/**
|
|
783
|
-
* The response body as text (string format)
|
|
784
|
-
*/
|
|
785
|
-
bodyAsText: string;
|
|
786
|
-
/**
|
|
787
|
-
* The response body as parsed JSON or XML
|
|
788
|
-
*/
|
|
789
|
-
parsedBody: AuthorizationRule;
|
|
790
|
-
};
|
|
791
|
-
};
|
|
468
|
+
/** Contains response data for the get operation. */
|
|
469
|
+
export type HybridConnectionsGetResponse = HybridConnection;
|
|
792
470
|
|
|
793
|
-
/**
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
export type NamespacesGetAuthorizationRuleResponse = AuthorizationRule & {
|
|
797
|
-
/**
|
|
798
|
-
* The underlying HTTP response.
|
|
799
|
-
*/
|
|
800
|
-
_response: msRest.HttpResponse & {
|
|
801
|
-
/**
|
|
802
|
-
* The response body as text (string format)
|
|
803
|
-
*/
|
|
804
|
-
bodyAsText: string;
|
|
805
|
-
/**
|
|
806
|
-
* The response body as parsed JSON or XML
|
|
807
|
-
*/
|
|
808
|
-
parsedBody: AuthorizationRule;
|
|
809
|
-
};
|
|
810
|
-
};
|
|
471
|
+
/** Optional parameters. */
|
|
472
|
+
export interface HybridConnectionsListAuthorizationRulesOptionalParams
|
|
473
|
+
extends coreClient.OperationOptions {}
|
|
811
474
|
|
|
812
|
-
/**
|
|
813
|
-
|
|
814
|
-
*/
|
|
815
|
-
export type NamespacesListKeysResponse = AccessKeys & {
|
|
816
|
-
/**
|
|
817
|
-
* The underlying HTTP response.
|
|
818
|
-
*/
|
|
819
|
-
_response: msRest.HttpResponse & {
|
|
820
|
-
/**
|
|
821
|
-
* The response body as text (string format)
|
|
822
|
-
*/
|
|
823
|
-
bodyAsText: string;
|
|
824
|
-
/**
|
|
825
|
-
* The response body as parsed JSON or XML
|
|
826
|
-
*/
|
|
827
|
-
parsedBody: AccessKeys;
|
|
828
|
-
};
|
|
829
|
-
};
|
|
475
|
+
/** Contains response data for the listAuthorizationRules operation. */
|
|
476
|
+
export type HybridConnectionsListAuthorizationRulesResponse = AuthorizationRuleListResult;
|
|
830
477
|
|
|
831
|
-
/**
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
export type NamespacesRegenerateKeysResponse = AccessKeys & {
|
|
835
|
-
/**
|
|
836
|
-
* The underlying HTTP response.
|
|
837
|
-
*/
|
|
838
|
-
_response: msRest.HttpResponse & {
|
|
839
|
-
/**
|
|
840
|
-
* The response body as text (string format)
|
|
841
|
-
*/
|
|
842
|
-
bodyAsText: string;
|
|
843
|
-
/**
|
|
844
|
-
* The response body as parsed JSON or XML
|
|
845
|
-
*/
|
|
846
|
-
parsedBody: AccessKeys;
|
|
847
|
-
};
|
|
848
|
-
};
|
|
478
|
+
/** Optional parameters. */
|
|
479
|
+
export interface HybridConnectionsCreateOrUpdateAuthorizationRuleOptionalParams
|
|
480
|
+
extends coreClient.OperationOptions {}
|
|
849
481
|
|
|
850
|
-
/**
|
|
851
|
-
|
|
852
|
-
*/
|
|
853
|
-
export type NamespacesBeginCreateOrUpdateResponse = RelayNamespace & {
|
|
854
|
-
/**
|
|
855
|
-
* The underlying HTTP response.
|
|
856
|
-
*/
|
|
857
|
-
_response: msRest.HttpResponse & {
|
|
858
|
-
/**
|
|
859
|
-
* The response body as text (string format)
|
|
860
|
-
*/
|
|
861
|
-
bodyAsText: string;
|
|
862
|
-
/**
|
|
863
|
-
* The response body as parsed JSON or XML
|
|
864
|
-
*/
|
|
865
|
-
parsedBody: RelayNamespace;
|
|
866
|
-
};
|
|
867
|
-
};
|
|
482
|
+
/** Contains response data for the createOrUpdateAuthorizationRule operation. */
|
|
483
|
+
export type HybridConnectionsCreateOrUpdateAuthorizationRuleResponse = AuthorizationRule;
|
|
868
484
|
|
|
869
|
-
/**
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
export type NamespacesListNextResponse = RelayNamespaceListResult & {
|
|
873
|
-
/**
|
|
874
|
-
* The underlying HTTP response.
|
|
875
|
-
*/
|
|
876
|
-
_response: msRest.HttpResponse & {
|
|
877
|
-
/**
|
|
878
|
-
* The response body as text (string format)
|
|
879
|
-
*/
|
|
880
|
-
bodyAsText: string;
|
|
881
|
-
/**
|
|
882
|
-
* The response body as parsed JSON or XML
|
|
883
|
-
*/
|
|
884
|
-
parsedBody: RelayNamespaceListResult;
|
|
885
|
-
};
|
|
886
|
-
};
|
|
485
|
+
/** Optional parameters. */
|
|
486
|
+
export interface HybridConnectionsDeleteAuthorizationRuleOptionalParams
|
|
487
|
+
extends coreClient.OperationOptions {}
|
|
887
488
|
|
|
888
|
-
/**
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
export type NamespacesListByResourceGroupNextResponse = RelayNamespaceListResult & {
|
|
892
|
-
/**
|
|
893
|
-
* The underlying HTTP response.
|
|
894
|
-
*/
|
|
895
|
-
_response: msRest.HttpResponse & {
|
|
896
|
-
/**
|
|
897
|
-
* The response body as text (string format)
|
|
898
|
-
*/
|
|
899
|
-
bodyAsText: string;
|
|
900
|
-
/**
|
|
901
|
-
* The response body as parsed JSON or XML
|
|
902
|
-
*/
|
|
903
|
-
parsedBody: RelayNamespaceListResult;
|
|
904
|
-
};
|
|
905
|
-
};
|
|
489
|
+
/** Optional parameters. */
|
|
490
|
+
export interface HybridConnectionsGetAuthorizationRuleOptionalParams
|
|
491
|
+
extends coreClient.OperationOptions {}
|
|
906
492
|
|
|
907
|
-
/**
|
|
908
|
-
|
|
909
|
-
*/
|
|
910
|
-
export type NamespacesListAuthorizationRulesNextResponse = AuthorizationRuleListResult & {
|
|
911
|
-
/**
|
|
912
|
-
* The underlying HTTP response.
|
|
913
|
-
*/
|
|
914
|
-
_response: msRest.HttpResponse & {
|
|
915
|
-
/**
|
|
916
|
-
* The response body as text (string format)
|
|
917
|
-
*/
|
|
918
|
-
bodyAsText: string;
|
|
919
|
-
/**
|
|
920
|
-
* The response body as parsed JSON or XML
|
|
921
|
-
*/
|
|
922
|
-
parsedBody: AuthorizationRuleListResult;
|
|
923
|
-
};
|
|
924
|
-
};
|
|
493
|
+
/** Contains response data for the getAuthorizationRule operation. */
|
|
494
|
+
export type HybridConnectionsGetAuthorizationRuleResponse = AuthorizationRule;
|
|
925
495
|
|
|
926
|
-
/**
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
export type HybridConnectionsListByNamespaceResponse = HybridConnectionListResult & {
|
|
930
|
-
/**
|
|
931
|
-
* The underlying HTTP response.
|
|
932
|
-
*/
|
|
933
|
-
_response: msRest.HttpResponse & {
|
|
934
|
-
/**
|
|
935
|
-
* The response body as text (string format)
|
|
936
|
-
*/
|
|
937
|
-
bodyAsText: string;
|
|
938
|
-
/**
|
|
939
|
-
* The response body as parsed JSON or XML
|
|
940
|
-
*/
|
|
941
|
-
parsedBody: HybridConnectionListResult;
|
|
942
|
-
};
|
|
943
|
-
};
|
|
496
|
+
/** Optional parameters. */
|
|
497
|
+
export interface HybridConnectionsListKeysOptionalParams
|
|
498
|
+
extends coreClient.OperationOptions {}
|
|
944
499
|
|
|
945
|
-
/**
|
|
946
|
-
|
|
947
|
-
*/
|
|
948
|
-
export type HybridConnectionsCreateOrUpdateResponse = HybridConnection & {
|
|
949
|
-
/**
|
|
950
|
-
* The underlying HTTP response.
|
|
951
|
-
*/
|
|
952
|
-
_response: msRest.HttpResponse & {
|
|
953
|
-
/**
|
|
954
|
-
* The response body as text (string format)
|
|
955
|
-
*/
|
|
956
|
-
bodyAsText: string;
|
|
957
|
-
/**
|
|
958
|
-
* The response body as parsed JSON or XML
|
|
959
|
-
*/
|
|
960
|
-
parsedBody: HybridConnection;
|
|
961
|
-
};
|
|
962
|
-
};
|
|
500
|
+
/** Contains response data for the listKeys operation. */
|
|
501
|
+
export type HybridConnectionsListKeysResponse = AccessKeys;
|
|
963
502
|
|
|
964
|
-
/**
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
export type HybridConnectionsGetResponse = HybridConnection & {
|
|
968
|
-
/**
|
|
969
|
-
* The underlying HTTP response.
|
|
970
|
-
*/
|
|
971
|
-
_response: msRest.HttpResponse & {
|
|
972
|
-
/**
|
|
973
|
-
* The response body as text (string format)
|
|
974
|
-
*/
|
|
975
|
-
bodyAsText: string;
|
|
976
|
-
/**
|
|
977
|
-
* The response body as parsed JSON or XML
|
|
978
|
-
*/
|
|
979
|
-
parsedBody: HybridConnection;
|
|
980
|
-
};
|
|
981
|
-
};
|
|
503
|
+
/** Optional parameters. */
|
|
504
|
+
export interface HybridConnectionsRegenerateKeysOptionalParams
|
|
505
|
+
extends coreClient.OperationOptions {}
|
|
982
506
|
|
|
983
|
-
/**
|
|
984
|
-
|
|
985
|
-
*/
|
|
986
|
-
export type HybridConnectionsListAuthorizationRulesResponse = AuthorizationRuleListResult & {
|
|
987
|
-
/**
|
|
988
|
-
* The underlying HTTP response.
|
|
989
|
-
*/
|
|
990
|
-
_response: msRest.HttpResponse & {
|
|
991
|
-
/**
|
|
992
|
-
* The response body as text (string format)
|
|
993
|
-
*/
|
|
994
|
-
bodyAsText: string;
|
|
995
|
-
/**
|
|
996
|
-
* The response body as parsed JSON or XML
|
|
997
|
-
*/
|
|
998
|
-
parsedBody: AuthorizationRuleListResult;
|
|
999
|
-
};
|
|
1000
|
-
};
|
|
507
|
+
/** Contains response data for the regenerateKeys operation. */
|
|
508
|
+
export type HybridConnectionsRegenerateKeysResponse = AccessKeys;
|
|
1001
509
|
|
|
1002
|
-
/**
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
export type HybridConnectionsCreateOrUpdateAuthorizationRuleResponse = AuthorizationRule & {
|
|
1006
|
-
/**
|
|
1007
|
-
* The underlying HTTP response.
|
|
1008
|
-
*/
|
|
1009
|
-
_response: msRest.HttpResponse & {
|
|
1010
|
-
/**
|
|
1011
|
-
* The response body as text (string format)
|
|
1012
|
-
*/
|
|
1013
|
-
bodyAsText: string;
|
|
1014
|
-
/**
|
|
1015
|
-
* The response body as parsed JSON or XML
|
|
1016
|
-
*/
|
|
1017
|
-
parsedBody: AuthorizationRule;
|
|
1018
|
-
};
|
|
1019
|
-
};
|
|
510
|
+
/** Optional parameters. */
|
|
511
|
+
export interface HybridConnectionsListByNamespaceNextOptionalParams
|
|
512
|
+
extends coreClient.OperationOptions {}
|
|
1020
513
|
|
|
1021
|
-
/**
|
|
1022
|
-
|
|
1023
|
-
*/
|
|
1024
|
-
export type HybridConnectionsGetAuthorizationRuleResponse = AuthorizationRule & {
|
|
1025
|
-
/**
|
|
1026
|
-
* The underlying HTTP response.
|
|
1027
|
-
*/
|
|
1028
|
-
_response: msRest.HttpResponse & {
|
|
1029
|
-
/**
|
|
1030
|
-
* The response body as text (string format)
|
|
1031
|
-
*/
|
|
1032
|
-
bodyAsText: string;
|
|
1033
|
-
/**
|
|
1034
|
-
* The response body as parsed JSON or XML
|
|
1035
|
-
*/
|
|
1036
|
-
parsedBody: AuthorizationRule;
|
|
1037
|
-
};
|
|
1038
|
-
};
|
|
514
|
+
/** Contains response data for the listByNamespaceNext operation. */
|
|
515
|
+
export type HybridConnectionsListByNamespaceNextResponse = HybridConnectionListResult;
|
|
1039
516
|
|
|
1040
|
-
/**
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
export type HybridConnectionsListKeysResponse = AccessKeys & {
|
|
1044
|
-
/**
|
|
1045
|
-
* The underlying HTTP response.
|
|
1046
|
-
*/
|
|
1047
|
-
_response: msRest.HttpResponse & {
|
|
1048
|
-
/**
|
|
1049
|
-
* The response body as text (string format)
|
|
1050
|
-
*/
|
|
1051
|
-
bodyAsText: string;
|
|
1052
|
-
/**
|
|
1053
|
-
* The response body as parsed JSON or XML
|
|
1054
|
-
*/
|
|
1055
|
-
parsedBody: AccessKeys;
|
|
1056
|
-
};
|
|
1057
|
-
};
|
|
517
|
+
/** Optional parameters. */
|
|
518
|
+
export interface HybridConnectionsListAuthorizationRulesNextOptionalParams
|
|
519
|
+
extends coreClient.OperationOptions {}
|
|
1058
520
|
|
|
1059
|
-
/**
|
|
1060
|
-
|
|
1061
|
-
*/
|
|
1062
|
-
export type HybridConnectionsRegenerateKeysResponse = AccessKeys & {
|
|
1063
|
-
/**
|
|
1064
|
-
* The underlying HTTP response.
|
|
1065
|
-
*/
|
|
1066
|
-
_response: msRest.HttpResponse & {
|
|
1067
|
-
/**
|
|
1068
|
-
* The response body as text (string format)
|
|
1069
|
-
*/
|
|
1070
|
-
bodyAsText: string;
|
|
1071
|
-
/**
|
|
1072
|
-
* The response body as parsed JSON or XML
|
|
1073
|
-
*/
|
|
1074
|
-
parsedBody: AccessKeys;
|
|
1075
|
-
};
|
|
1076
|
-
};
|
|
521
|
+
/** Contains response data for the listAuthorizationRulesNext operation. */
|
|
522
|
+
export type HybridConnectionsListAuthorizationRulesNextResponse = AuthorizationRuleListResult;
|
|
1077
523
|
|
|
1078
|
-
/**
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
export type HybridConnectionsListByNamespaceNextResponse = HybridConnectionListResult & {
|
|
1082
|
-
/**
|
|
1083
|
-
* The underlying HTTP response.
|
|
1084
|
-
*/
|
|
1085
|
-
_response: msRest.HttpResponse & {
|
|
1086
|
-
/**
|
|
1087
|
-
* The response body as text (string format)
|
|
1088
|
-
*/
|
|
1089
|
-
bodyAsText: string;
|
|
1090
|
-
/**
|
|
1091
|
-
* The response body as parsed JSON or XML
|
|
1092
|
-
*/
|
|
1093
|
-
parsedBody: HybridConnectionListResult;
|
|
1094
|
-
};
|
|
1095
|
-
};
|
|
524
|
+
/** Optional parameters. */
|
|
525
|
+
export interface WCFRelaysListByNamespaceOptionalParams
|
|
526
|
+
extends coreClient.OperationOptions {}
|
|
1096
527
|
|
|
1097
|
-
/**
|
|
1098
|
-
|
|
1099
|
-
*/
|
|
1100
|
-
export type HybridConnectionsListAuthorizationRulesNextResponse = AuthorizationRuleListResult & {
|
|
1101
|
-
/**
|
|
1102
|
-
* The underlying HTTP response.
|
|
1103
|
-
*/
|
|
1104
|
-
_response: msRest.HttpResponse & {
|
|
1105
|
-
/**
|
|
1106
|
-
* The response body as text (string format)
|
|
1107
|
-
*/
|
|
1108
|
-
bodyAsText: string;
|
|
1109
|
-
/**
|
|
1110
|
-
* The response body as parsed JSON or XML
|
|
1111
|
-
*/
|
|
1112
|
-
parsedBody: AuthorizationRuleListResult;
|
|
1113
|
-
};
|
|
1114
|
-
};
|
|
528
|
+
/** Contains response data for the listByNamespace operation. */
|
|
529
|
+
export type WCFRelaysListByNamespaceResponse = WcfRelaysListResult;
|
|
1115
530
|
|
|
1116
|
-
/**
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
export type WCFRelaysListByNamespaceResponse = WcfRelaysListResult & {
|
|
1120
|
-
/**
|
|
1121
|
-
* The underlying HTTP response.
|
|
1122
|
-
*/
|
|
1123
|
-
_response: msRest.HttpResponse & {
|
|
1124
|
-
/**
|
|
1125
|
-
* The response body as text (string format)
|
|
1126
|
-
*/
|
|
1127
|
-
bodyAsText: string;
|
|
1128
|
-
/**
|
|
1129
|
-
* The response body as parsed JSON or XML
|
|
1130
|
-
*/
|
|
1131
|
-
parsedBody: WcfRelaysListResult;
|
|
1132
|
-
};
|
|
1133
|
-
};
|
|
531
|
+
/** Optional parameters. */
|
|
532
|
+
export interface WCFRelaysCreateOrUpdateOptionalParams
|
|
533
|
+
extends coreClient.OperationOptions {}
|
|
1134
534
|
|
|
1135
|
-
/**
|
|
1136
|
-
|
|
1137
|
-
*/
|
|
1138
|
-
export type WCFRelaysCreateOrUpdateResponse = WcfRelay & {
|
|
1139
|
-
/**
|
|
1140
|
-
* The underlying HTTP response.
|
|
1141
|
-
*/
|
|
1142
|
-
_response: msRest.HttpResponse & {
|
|
1143
|
-
/**
|
|
1144
|
-
* The response body as text (string format)
|
|
1145
|
-
*/
|
|
1146
|
-
bodyAsText: string;
|
|
1147
|
-
/**
|
|
1148
|
-
* The response body as parsed JSON or XML
|
|
1149
|
-
*/
|
|
1150
|
-
parsedBody: WcfRelay;
|
|
1151
|
-
};
|
|
1152
|
-
};
|
|
535
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
536
|
+
export type WCFRelaysCreateOrUpdateResponse = WcfRelay;
|
|
1153
537
|
|
|
1154
|
-
/**
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
export type WCFRelaysGetResponse = WcfRelay & {
|
|
1158
|
-
/**
|
|
1159
|
-
* The underlying HTTP response.
|
|
1160
|
-
*/
|
|
1161
|
-
_response: msRest.HttpResponse & {
|
|
1162
|
-
/**
|
|
1163
|
-
* The response body as text (string format)
|
|
1164
|
-
*/
|
|
1165
|
-
bodyAsText: string;
|
|
1166
|
-
/**
|
|
1167
|
-
* The response body as parsed JSON or XML
|
|
1168
|
-
*/
|
|
1169
|
-
parsedBody: WcfRelay;
|
|
1170
|
-
};
|
|
1171
|
-
};
|
|
538
|
+
/** Optional parameters. */
|
|
539
|
+
export interface WCFRelaysDeleteOptionalParams
|
|
540
|
+
extends coreClient.OperationOptions {}
|
|
1172
541
|
|
|
1173
|
-
/**
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
export type WCFRelaysListAuthorizationRulesResponse = AuthorizationRuleListResult & {
|
|
1177
|
-
/**
|
|
1178
|
-
* The underlying HTTP response.
|
|
1179
|
-
*/
|
|
1180
|
-
_response: msRest.HttpResponse & {
|
|
1181
|
-
/**
|
|
1182
|
-
* The response body as text (string format)
|
|
1183
|
-
*/
|
|
1184
|
-
bodyAsText: string;
|
|
1185
|
-
/**
|
|
1186
|
-
* The response body as parsed JSON or XML
|
|
1187
|
-
*/
|
|
1188
|
-
parsedBody: AuthorizationRuleListResult;
|
|
1189
|
-
};
|
|
1190
|
-
};
|
|
542
|
+
/** Optional parameters. */
|
|
543
|
+
export interface WCFRelaysGetOptionalParams
|
|
544
|
+
extends coreClient.OperationOptions {}
|
|
1191
545
|
|
|
1192
|
-
/**
|
|
1193
|
-
|
|
1194
|
-
*/
|
|
1195
|
-
export type WCFRelaysCreateOrUpdateAuthorizationRuleResponse = AuthorizationRule & {
|
|
1196
|
-
/**
|
|
1197
|
-
* The underlying HTTP response.
|
|
1198
|
-
*/
|
|
1199
|
-
_response: msRest.HttpResponse & {
|
|
1200
|
-
/**
|
|
1201
|
-
* The response body as text (string format)
|
|
1202
|
-
*/
|
|
1203
|
-
bodyAsText: string;
|
|
1204
|
-
/**
|
|
1205
|
-
* The response body as parsed JSON or XML
|
|
1206
|
-
*/
|
|
1207
|
-
parsedBody: AuthorizationRule;
|
|
1208
|
-
};
|
|
1209
|
-
};
|
|
546
|
+
/** Contains response data for the get operation. */
|
|
547
|
+
export type WCFRelaysGetResponse = WcfRelay;
|
|
1210
548
|
|
|
1211
|
-
/**
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
export type WCFRelaysGetAuthorizationRuleResponse = AuthorizationRule & {
|
|
1215
|
-
/**
|
|
1216
|
-
* The underlying HTTP response.
|
|
1217
|
-
*/
|
|
1218
|
-
_response: msRest.HttpResponse & {
|
|
1219
|
-
/**
|
|
1220
|
-
* The response body as text (string format)
|
|
1221
|
-
*/
|
|
1222
|
-
bodyAsText: string;
|
|
1223
|
-
/**
|
|
1224
|
-
* The response body as parsed JSON or XML
|
|
1225
|
-
*/
|
|
1226
|
-
parsedBody: AuthorizationRule;
|
|
1227
|
-
};
|
|
1228
|
-
};
|
|
549
|
+
/** Optional parameters. */
|
|
550
|
+
export interface WCFRelaysListAuthorizationRulesOptionalParams
|
|
551
|
+
extends coreClient.OperationOptions {}
|
|
1229
552
|
|
|
1230
|
-
/**
|
|
1231
|
-
|
|
1232
|
-
*/
|
|
1233
|
-
export type WCFRelaysListKeysResponse = AccessKeys & {
|
|
1234
|
-
/**
|
|
1235
|
-
* The underlying HTTP response.
|
|
1236
|
-
*/
|
|
1237
|
-
_response: msRest.HttpResponse & {
|
|
1238
|
-
/**
|
|
1239
|
-
* The response body as text (string format)
|
|
1240
|
-
*/
|
|
1241
|
-
bodyAsText: string;
|
|
1242
|
-
/**
|
|
1243
|
-
* The response body as parsed JSON or XML
|
|
1244
|
-
*/
|
|
1245
|
-
parsedBody: AccessKeys;
|
|
1246
|
-
};
|
|
1247
|
-
};
|
|
553
|
+
/** Contains response data for the listAuthorizationRules operation. */
|
|
554
|
+
export type WCFRelaysListAuthorizationRulesResponse = AuthorizationRuleListResult;
|
|
1248
555
|
|
|
1249
|
-
/**
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
export type WCFRelaysRegenerateKeysResponse = AccessKeys & {
|
|
1253
|
-
/**
|
|
1254
|
-
* The underlying HTTP response.
|
|
1255
|
-
*/
|
|
1256
|
-
_response: msRest.HttpResponse & {
|
|
1257
|
-
/**
|
|
1258
|
-
* The response body as text (string format)
|
|
1259
|
-
*/
|
|
1260
|
-
bodyAsText: string;
|
|
1261
|
-
/**
|
|
1262
|
-
* The response body as parsed JSON or XML
|
|
1263
|
-
*/
|
|
1264
|
-
parsedBody: AccessKeys;
|
|
1265
|
-
};
|
|
1266
|
-
};
|
|
556
|
+
/** Optional parameters. */
|
|
557
|
+
export interface WCFRelaysCreateOrUpdateAuthorizationRuleOptionalParams
|
|
558
|
+
extends coreClient.OperationOptions {}
|
|
1267
559
|
|
|
1268
|
-
/**
|
|
1269
|
-
|
|
1270
|
-
*/
|
|
1271
|
-
export type WCFRelaysListByNamespaceNextResponse = WcfRelaysListResult & {
|
|
1272
|
-
/**
|
|
1273
|
-
* The underlying HTTP response.
|
|
1274
|
-
*/
|
|
1275
|
-
_response: msRest.HttpResponse & {
|
|
1276
|
-
/**
|
|
1277
|
-
* The response body as text (string format)
|
|
1278
|
-
*/
|
|
1279
|
-
bodyAsText: string;
|
|
1280
|
-
/**
|
|
1281
|
-
* The response body as parsed JSON or XML
|
|
1282
|
-
*/
|
|
1283
|
-
parsedBody: WcfRelaysListResult;
|
|
1284
|
-
};
|
|
1285
|
-
};
|
|
560
|
+
/** Contains response data for the createOrUpdateAuthorizationRule operation. */
|
|
561
|
+
export type WCFRelaysCreateOrUpdateAuthorizationRuleResponse = AuthorizationRule;
|
|
1286
562
|
|
|
1287
|
-
/**
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
563
|
+
/** Optional parameters. */
|
|
564
|
+
export interface WCFRelaysDeleteAuthorizationRuleOptionalParams
|
|
565
|
+
extends coreClient.OperationOptions {}
|
|
566
|
+
|
|
567
|
+
/** Optional parameters. */
|
|
568
|
+
export interface WCFRelaysGetAuthorizationRuleOptionalParams
|
|
569
|
+
extends coreClient.OperationOptions {}
|
|
570
|
+
|
|
571
|
+
/** Contains response data for the getAuthorizationRule operation. */
|
|
572
|
+
export type WCFRelaysGetAuthorizationRuleResponse = AuthorizationRule;
|
|
573
|
+
|
|
574
|
+
/** Optional parameters. */
|
|
575
|
+
export interface WCFRelaysListKeysOptionalParams
|
|
576
|
+
extends coreClient.OperationOptions {}
|
|
577
|
+
|
|
578
|
+
/** Contains response data for the listKeys operation. */
|
|
579
|
+
export type WCFRelaysListKeysResponse = AccessKeys;
|
|
580
|
+
|
|
581
|
+
/** Optional parameters. */
|
|
582
|
+
export interface WCFRelaysRegenerateKeysOptionalParams
|
|
583
|
+
extends coreClient.OperationOptions {}
|
|
584
|
+
|
|
585
|
+
/** Contains response data for the regenerateKeys operation. */
|
|
586
|
+
export type WCFRelaysRegenerateKeysResponse = AccessKeys;
|
|
587
|
+
|
|
588
|
+
/** Optional parameters. */
|
|
589
|
+
export interface WCFRelaysListByNamespaceNextOptionalParams
|
|
590
|
+
extends coreClient.OperationOptions {}
|
|
591
|
+
|
|
592
|
+
/** Contains response data for the listByNamespaceNext operation. */
|
|
593
|
+
export type WCFRelaysListByNamespaceNextResponse = WcfRelaysListResult;
|
|
594
|
+
|
|
595
|
+
/** Optional parameters. */
|
|
596
|
+
export interface WCFRelaysListAuthorizationRulesNextOptionalParams
|
|
597
|
+
extends coreClient.OperationOptions {}
|
|
598
|
+
|
|
599
|
+
/** Contains response data for the listAuthorizationRulesNext operation. */
|
|
600
|
+
export type WCFRelaysListAuthorizationRulesNextResponse = AuthorizationRuleListResult;
|
|
601
|
+
|
|
602
|
+
/** Optional parameters. */
|
|
603
|
+
export interface RelayAPIOptionalParams
|
|
604
|
+
extends coreClient.ServiceClientOptions {
|
|
605
|
+
/** server parameter */
|
|
606
|
+
$host?: string;
|
|
607
|
+
/** Api Version */
|
|
608
|
+
apiVersion?: string;
|
|
609
|
+
/** Overrides client endpoint. */
|
|
610
|
+
endpoint?: string;
|
|
611
|
+
}
|