@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
|
@@ -0,0 +1,539 @@
|
|
|
1
|
+
## API Report File for "@azure/arm-relay"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import * as coreAuth from '@azure/core-auth';
|
|
8
|
+
import * as coreClient from '@azure/core-client';
|
|
9
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
10
|
+
import { PollerLike } from '@azure/core-lro';
|
|
11
|
+
import { PollOperationState } from '@azure/core-lro';
|
|
12
|
+
|
|
13
|
+
// @public
|
|
14
|
+
export interface AccessKeys {
|
|
15
|
+
keyName?: string;
|
|
16
|
+
primaryConnectionString?: string;
|
|
17
|
+
primaryKey?: string;
|
|
18
|
+
secondaryConnectionString?: string;
|
|
19
|
+
secondaryKey?: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// @public
|
|
23
|
+
export type AccessRights = "Manage" | "Send" | "Listen";
|
|
24
|
+
|
|
25
|
+
// @public
|
|
26
|
+
export type AuthorizationRule = Resource & {
|
|
27
|
+
rights: AccessRights[];
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
// @public
|
|
31
|
+
export interface AuthorizationRuleListResult {
|
|
32
|
+
nextLink?: string;
|
|
33
|
+
value?: AuthorizationRule[];
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// @public
|
|
37
|
+
export interface CheckNameAvailability {
|
|
38
|
+
name: string;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// @public
|
|
42
|
+
export interface CheckNameAvailabilityResult {
|
|
43
|
+
readonly message?: string;
|
|
44
|
+
nameAvailable?: boolean;
|
|
45
|
+
reason?: UnavailableReason;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// @public
|
|
49
|
+
export interface ErrorResponse {
|
|
50
|
+
code?: string;
|
|
51
|
+
message?: string;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// @public
|
|
55
|
+
export type HybridConnection = Resource & {
|
|
56
|
+
readonly createdAt?: Date;
|
|
57
|
+
readonly updatedAt?: Date;
|
|
58
|
+
readonly listenerCount?: number;
|
|
59
|
+
requiresClientAuthorization?: boolean;
|
|
60
|
+
userMetadata?: string;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
// @public
|
|
64
|
+
export interface HybridConnectionListResult {
|
|
65
|
+
nextLink?: string;
|
|
66
|
+
value?: HybridConnection[];
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// @public
|
|
70
|
+
export interface HybridConnections {
|
|
71
|
+
createOrUpdate(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, parameters: HybridConnection, options?: HybridConnectionsCreateOrUpdateOptionalParams): Promise<HybridConnectionsCreateOrUpdateResponse>;
|
|
72
|
+
createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, parameters: AuthorizationRule, options?: HybridConnectionsCreateOrUpdateAuthorizationRuleOptionalParams): Promise<HybridConnectionsCreateOrUpdateAuthorizationRuleResponse>;
|
|
73
|
+
delete(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options?: HybridConnectionsDeleteOptionalParams): Promise<void>;
|
|
74
|
+
deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options?: HybridConnectionsDeleteAuthorizationRuleOptionalParams): Promise<void>;
|
|
75
|
+
get(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options?: HybridConnectionsGetOptionalParams): Promise<HybridConnectionsGetResponse>;
|
|
76
|
+
getAuthorizationRule(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options?: HybridConnectionsGetAuthorizationRuleOptionalParams): Promise<HybridConnectionsGetAuthorizationRuleResponse>;
|
|
77
|
+
listAuthorizationRules(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, options?: HybridConnectionsListAuthorizationRulesOptionalParams): PagedAsyncIterableIterator<AuthorizationRule>;
|
|
78
|
+
listByNamespace(resourceGroupName: string, namespaceName: string, options?: HybridConnectionsListByNamespaceOptionalParams): PagedAsyncIterableIterator<HybridConnection>;
|
|
79
|
+
listKeys(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, options?: HybridConnectionsListKeysOptionalParams): Promise<HybridConnectionsListKeysResponse>;
|
|
80
|
+
regenerateKeys(resourceGroupName: string, namespaceName: string, hybridConnectionName: string, authorizationRuleName: string, parameters: RegenerateAccessKeyParameters, options?: HybridConnectionsRegenerateKeysOptionalParams): Promise<HybridConnectionsRegenerateKeysResponse>;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// @public
|
|
84
|
+
export interface HybridConnectionsCreateOrUpdateAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// @public
|
|
88
|
+
export type HybridConnectionsCreateOrUpdateAuthorizationRuleResponse = AuthorizationRule;
|
|
89
|
+
|
|
90
|
+
// @public
|
|
91
|
+
export interface HybridConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// @public
|
|
95
|
+
export type HybridConnectionsCreateOrUpdateResponse = HybridConnection;
|
|
96
|
+
|
|
97
|
+
// @public
|
|
98
|
+
export interface HybridConnectionsDeleteAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// @public
|
|
102
|
+
export interface HybridConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// @public
|
|
106
|
+
export interface HybridConnectionsGetAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// @public
|
|
110
|
+
export type HybridConnectionsGetAuthorizationRuleResponse = AuthorizationRule;
|
|
111
|
+
|
|
112
|
+
// @public
|
|
113
|
+
export interface HybridConnectionsGetOptionalParams extends coreClient.OperationOptions {
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
// @public
|
|
117
|
+
export type HybridConnectionsGetResponse = HybridConnection;
|
|
118
|
+
|
|
119
|
+
// @public
|
|
120
|
+
export interface HybridConnectionsListAuthorizationRulesNextOptionalParams extends coreClient.OperationOptions {
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
// @public
|
|
124
|
+
export type HybridConnectionsListAuthorizationRulesNextResponse = AuthorizationRuleListResult;
|
|
125
|
+
|
|
126
|
+
// @public
|
|
127
|
+
export interface HybridConnectionsListAuthorizationRulesOptionalParams extends coreClient.OperationOptions {
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
// @public
|
|
131
|
+
export type HybridConnectionsListAuthorizationRulesResponse = AuthorizationRuleListResult;
|
|
132
|
+
|
|
133
|
+
// @public
|
|
134
|
+
export interface HybridConnectionsListByNamespaceNextOptionalParams extends coreClient.OperationOptions {
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
// @public
|
|
138
|
+
export type HybridConnectionsListByNamespaceNextResponse = HybridConnectionListResult;
|
|
139
|
+
|
|
140
|
+
// @public
|
|
141
|
+
export interface HybridConnectionsListByNamespaceOptionalParams extends coreClient.OperationOptions {
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
// @public
|
|
145
|
+
export type HybridConnectionsListByNamespaceResponse = HybridConnectionListResult;
|
|
146
|
+
|
|
147
|
+
// @public
|
|
148
|
+
export interface HybridConnectionsListKeysOptionalParams extends coreClient.OperationOptions {
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// @public
|
|
152
|
+
export type HybridConnectionsListKeysResponse = AccessKeys;
|
|
153
|
+
|
|
154
|
+
// @public
|
|
155
|
+
export interface HybridConnectionsRegenerateKeysOptionalParams extends coreClient.OperationOptions {
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
// @public
|
|
159
|
+
export type HybridConnectionsRegenerateKeysResponse = AccessKeys;
|
|
160
|
+
|
|
161
|
+
// @public
|
|
162
|
+
type KeyType_2 = "PrimaryKey" | "SecondaryKey";
|
|
163
|
+
export { KeyType_2 as KeyType }
|
|
164
|
+
|
|
165
|
+
// @public
|
|
166
|
+
export interface Namespaces {
|
|
167
|
+
beginCreateOrUpdate(resourceGroupName: string, namespaceName: string, parameters: RelayNamespace, options?: NamespacesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<NamespacesCreateOrUpdateResponse>, NamespacesCreateOrUpdateResponse>>;
|
|
168
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, namespaceName: string, parameters: RelayNamespace, options?: NamespacesCreateOrUpdateOptionalParams): Promise<NamespacesCreateOrUpdateResponse>;
|
|
169
|
+
beginDelete(resourceGroupName: string, namespaceName: string, options?: NamespacesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
170
|
+
beginDeleteAndWait(resourceGroupName: string, namespaceName: string, options?: NamespacesDeleteOptionalParams): Promise<void>;
|
|
171
|
+
checkNameAvailability(parameters: CheckNameAvailability, options?: NamespacesCheckNameAvailabilityOptionalParams): Promise<NamespacesCheckNameAvailabilityResponse>;
|
|
172
|
+
createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: AuthorizationRule, options?: NamespacesCreateOrUpdateAuthorizationRuleOptionalParams): Promise<NamespacesCreateOrUpdateAuthorizationRuleResponse>;
|
|
173
|
+
deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesDeleteAuthorizationRuleOptionalParams): Promise<void>;
|
|
174
|
+
get(resourceGroupName: string, namespaceName: string, options?: NamespacesGetOptionalParams): Promise<NamespacesGetResponse>;
|
|
175
|
+
getAuthorizationRule(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesGetAuthorizationRuleOptionalParams): Promise<NamespacesGetAuthorizationRuleResponse>;
|
|
176
|
+
list(options?: NamespacesListOptionalParams): PagedAsyncIterableIterator<RelayNamespace>;
|
|
177
|
+
listAuthorizationRules(resourceGroupName: string, namespaceName: string, options?: NamespacesListAuthorizationRulesOptionalParams): PagedAsyncIterableIterator<AuthorizationRule>;
|
|
178
|
+
listByResourceGroup(resourceGroupName: string, options?: NamespacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<RelayNamespace>;
|
|
179
|
+
listKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, options?: NamespacesListKeysOptionalParams): Promise<NamespacesListKeysResponse>;
|
|
180
|
+
regenerateKeys(resourceGroupName: string, namespaceName: string, authorizationRuleName: string, parameters: RegenerateAccessKeyParameters, options?: NamespacesRegenerateKeysOptionalParams): Promise<NamespacesRegenerateKeysResponse>;
|
|
181
|
+
update(resourceGroupName: string, namespaceName: string, parameters: RelayUpdateParameters, options?: NamespacesUpdateOptionalParams): Promise<NamespacesUpdateResponse>;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
// @public
|
|
185
|
+
export interface NamespacesCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
// @public
|
|
189
|
+
export type NamespacesCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
|
|
190
|
+
|
|
191
|
+
// @public
|
|
192
|
+
export interface NamespacesCreateOrUpdateAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
// @public
|
|
196
|
+
export type NamespacesCreateOrUpdateAuthorizationRuleResponse = AuthorizationRule;
|
|
197
|
+
|
|
198
|
+
// @public
|
|
199
|
+
export interface NamespacesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
200
|
+
resumeFrom?: string;
|
|
201
|
+
updateIntervalInMs?: number;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
// @public
|
|
205
|
+
export type NamespacesCreateOrUpdateResponse = RelayNamespace;
|
|
206
|
+
|
|
207
|
+
// @public
|
|
208
|
+
export interface NamespacesDeleteAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
// @public
|
|
212
|
+
export interface NamespacesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
213
|
+
resumeFrom?: string;
|
|
214
|
+
updateIntervalInMs?: number;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
// @public
|
|
218
|
+
export interface NamespacesGetAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
// @public
|
|
222
|
+
export type NamespacesGetAuthorizationRuleResponse = AuthorizationRule;
|
|
223
|
+
|
|
224
|
+
// @public
|
|
225
|
+
export interface NamespacesGetOptionalParams extends coreClient.OperationOptions {
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
// @public
|
|
229
|
+
export type NamespacesGetResponse = RelayNamespace;
|
|
230
|
+
|
|
231
|
+
// @public
|
|
232
|
+
export interface NamespacesListAuthorizationRulesNextOptionalParams extends coreClient.OperationOptions {
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
// @public
|
|
236
|
+
export type NamespacesListAuthorizationRulesNextResponse = AuthorizationRuleListResult;
|
|
237
|
+
|
|
238
|
+
// @public
|
|
239
|
+
export interface NamespacesListAuthorizationRulesOptionalParams extends coreClient.OperationOptions {
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
// @public
|
|
243
|
+
export type NamespacesListAuthorizationRulesResponse = AuthorizationRuleListResult;
|
|
244
|
+
|
|
245
|
+
// @public
|
|
246
|
+
export interface NamespacesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
// @public
|
|
250
|
+
export type NamespacesListByResourceGroupNextResponse = RelayNamespaceListResult;
|
|
251
|
+
|
|
252
|
+
// @public
|
|
253
|
+
export interface NamespacesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
// @public
|
|
257
|
+
export type NamespacesListByResourceGroupResponse = RelayNamespaceListResult;
|
|
258
|
+
|
|
259
|
+
// @public
|
|
260
|
+
export interface NamespacesListKeysOptionalParams extends coreClient.OperationOptions {
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
// @public
|
|
264
|
+
export type NamespacesListKeysResponse = AccessKeys;
|
|
265
|
+
|
|
266
|
+
// @public
|
|
267
|
+
export interface NamespacesListNextOptionalParams extends coreClient.OperationOptions {
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
// @public
|
|
271
|
+
export type NamespacesListNextResponse = RelayNamespaceListResult;
|
|
272
|
+
|
|
273
|
+
// @public
|
|
274
|
+
export interface NamespacesListOptionalParams extends coreClient.OperationOptions {
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
// @public
|
|
278
|
+
export type NamespacesListResponse = RelayNamespaceListResult;
|
|
279
|
+
|
|
280
|
+
// @public
|
|
281
|
+
export interface NamespacesRegenerateKeysOptionalParams extends coreClient.OperationOptions {
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
// @public
|
|
285
|
+
export type NamespacesRegenerateKeysResponse = AccessKeys;
|
|
286
|
+
|
|
287
|
+
// @public
|
|
288
|
+
export interface NamespacesUpdateOptionalParams extends coreClient.OperationOptions {
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
// @public
|
|
292
|
+
export type NamespacesUpdateResponse = RelayNamespace;
|
|
293
|
+
|
|
294
|
+
// @public
|
|
295
|
+
export interface Operation {
|
|
296
|
+
display?: OperationDisplay;
|
|
297
|
+
readonly name?: string;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
// @public
|
|
301
|
+
export interface OperationDisplay {
|
|
302
|
+
readonly operation?: string;
|
|
303
|
+
readonly provider?: string;
|
|
304
|
+
readonly resource?: string;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
// @public
|
|
308
|
+
export interface OperationListResult {
|
|
309
|
+
readonly nextLink?: string;
|
|
310
|
+
readonly value?: Operation[];
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
// @public
|
|
314
|
+
export interface Operations {
|
|
315
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
// @public
|
|
319
|
+
export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
// @public
|
|
323
|
+
export type OperationsListNextResponse = OperationListResult;
|
|
324
|
+
|
|
325
|
+
// @public
|
|
326
|
+
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
// @public
|
|
330
|
+
export type OperationsListResponse = OperationListResult;
|
|
331
|
+
|
|
332
|
+
// @public
|
|
333
|
+
export type ProvisioningStateEnum = "Created" | "Succeeded" | "Deleted" | "Failed" | "Updating" | "Unknown";
|
|
334
|
+
|
|
335
|
+
// @public
|
|
336
|
+
export interface RegenerateAccessKeyParameters {
|
|
337
|
+
key?: string;
|
|
338
|
+
keyType: KeyType_2;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
// @public (undocumented)
|
|
342
|
+
export class RelayAPI extends coreClient.ServiceClient {
|
|
343
|
+
// (undocumented)
|
|
344
|
+
$host: string;
|
|
345
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: RelayAPIOptionalParams);
|
|
346
|
+
// (undocumented)
|
|
347
|
+
apiVersion: string;
|
|
348
|
+
// (undocumented)
|
|
349
|
+
hybridConnections: HybridConnections;
|
|
350
|
+
// (undocumented)
|
|
351
|
+
namespaces: Namespaces;
|
|
352
|
+
// (undocumented)
|
|
353
|
+
operations: Operations;
|
|
354
|
+
// (undocumented)
|
|
355
|
+
subscriptionId: string;
|
|
356
|
+
// (undocumented)
|
|
357
|
+
wCFRelays: WCFRelays;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
// @public
|
|
361
|
+
export interface RelayAPIOptionalParams extends coreClient.ServiceClientOptions {
|
|
362
|
+
$host?: string;
|
|
363
|
+
apiVersion?: string;
|
|
364
|
+
endpoint?: string;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
// @public
|
|
368
|
+
export type RelayNamespace = TrackedResource & {
|
|
369
|
+
sku?: Sku;
|
|
370
|
+
readonly provisioningState?: ProvisioningStateEnum;
|
|
371
|
+
readonly createdAt?: Date;
|
|
372
|
+
readonly updatedAt?: Date;
|
|
373
|
+
readonly serviceBusEndpoint?: string;
|
|
374
|
+
readonly metricId?: string;
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
// @public
|
|
378
|
+
export interface RelayNamespaceListResult {
|
|
379
|
+
nextLink?: string;
|
|
380
|
+
value?: RelayNamespace[];
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
// @public
|
|
384
|
+
export type Relaytype = "NetTcp" | "Http";
|
|
385
|
+
|
|
386
|
+
// @public
|
|
387
|
+
export type RelayUpdateParameters = ResourceNamespacePatch & {
|
|
388
|
+
sku?: Sku;
|
|
389
|
+
readonly provisioningState?: ProvisioningStateEnum;
|
|
390
|
+
readonly createdAt?: Date;
|
|
391
|
+
readonly updatedAt?: Date;
|
|
392
|
+
readonly serviceBusEndpoint?: string;
|
|
393
|
+
readonly metricId?: string;
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
// @public
|
|
397
|
+
export interface Resource {
|
|
398
|
+
readonly id?: string;
|
|
399
|
+
readonly name?: string;
|
|
400
|
+
readonly type?: string;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
// @public
|
|
404
|
+
export type ResourceNamespacePatch = Resource & {
|
|
405
|
+
tags?: {
|
|
406
|
+
[propertyName: string]: string;
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
// @public
|
|
411
|
+
export interface Sku {
|
|
412
|
+
name: "Standard";
|
|
413
|
+
tier?: "Standard";
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
// @public
|
|
417
|
+
export type TrackedResource = Resource & {
|
|
418
|
+
location: string;
|
|
419
|
+
tags?: {
|
|
420
|
+
[propertyName: string]: string;
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
|
+
|
|
424
|
+
// @public
|
|
425
|
+
export type UnavailableReason = "None" | "InvalidName" | "SubscriptionIsDisabled" | "NameInUse" | "NameInLockdown" | "TooManyNamespaceInCurrentSubscription";
|
|
426
|
+
|
|
427
|
+
// @public
|
|
428
|
+
export type WcfRelay = Resource & {
|
|
429
|
+
readonly isDynamic?: boolean;
|
|
430
|
+
readonly createdAt?: Date;
|
|
431
|
+
readonly updatedAt?: Date;
|
|
432
|
+
readonly listenerCount?: number;
|
|
433
|
+
relayType?: Relaytype;
|
|
434
|
+
requiresClientAuthorization?: boolean;
|
|
435
|
+
requiresTransportSecurity?: boolean;
|
|
436
|
+
userMetadata?: string;
|
|
437
|
+
};
|
|
438
|
+
|
|
439
|
+
// @public
|
|
440
|
+
export interface WCFRelays {
|
|
441
|
+
createOrUpdate(resourceGroupName: string, namespaceName: string, relayName: string, parameters: WcfRelay, options?: WCFRelaysCreateOrUpdateOptionalParams): Promise<WCFRelaysCreateOrUpdateResponse>;
|
|
442
|
+
createOrUpdateAuthorizationRule(resourceGroupName: string, namespaceName: string, relayName: string, authorizationRuleName: string, parameters: AuthorizationRule, options?: WCFRelaysCreateOrUpdateAuthorizationRuleOptionalParams): Promise<WCFRelaysCreateOrUpdateAuthorizationRuleResponse>;
|
|
443
|
+
delete(resourceGroupName: string, namespaceName: string, relayName: string, options?: WCFRelaysDeleteOptionalParams): Promise<void>;
|
|
444
|
+
deleteAuthorizationRule(resourceGroupName: string, namespaceName: string, relayName: string, authorizationRuleName: string, options?: WCFRelaysDeleteAuthorizationRuleOptionalParams): Promise<void>;
|
|
445
|
+
get(resourceGroupName: string, namespaceName: string, relayName: string, options?: WCFRelaysGetOptionalParams): Promise<WCFRelaysGetResponse>;
|
|
446
|
+
getAuthorizationRule(resourceGroupName: string, namespaceName: string, relayName: string, authorizationRuleName: string, options?: WCFRelaysGetAuthorizationRuleOptionalParams): Promise<WCFRelaysGetAuthorizationRuleResponse>;
|
|
447
|
+
listAuthorizationRules(resourceGroupName: string, namespaceName: string, relayName: string, options?: WCFRelaysListAuthorizationRulesOptionalParams): PagedAsyncIterableIterator<AuthorizationRule>;
|
|
448
|
+
listByNamespace(resourceGroupName: string, namespaceName: string, options?: WCFRelaysListByNamespaceOptionalParams): PagedAsyncIterableIterator<WcfRelay>;
|
|
449
|
+
listKeys(resourceGroupName: string, namespaceName: string, relayName: string, authorizationRuleName: string, options?: WCFRelaysListKeysOptionalParams): Promise<WCFRelaysListKeysResponse>;
|
|
450
|
+
regenerateKeys(resourceGroupName: string, namespaceName: string, relayName: string, authorizationRuleName: string, parameters: RegenerateAccessKeyParameters, options?: WCFRelaysRegenerateKeysOptionalParams): Promise<WCFRelaysRegenerateKeysResponse>;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
// @public
|
|
454
|
+
export interface WCFRelaysCreateOrUpdateAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
// @public
|
|
458
|
+
export type WCFRelaysCreateOrUpdateAuthorizationRuleResponse = AuthorizationRule;
|
|
459
|
+
|
|
460
|
+
// @public
|
|
461
|
+
export interface WCFRelaysCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
// @public
|
|
465
|
+
export type WCFRelaysCreateOrUpdateResponse = WcfRelay;
|
|
466
|
+
|
|
467
|
+
// @public
|
|
468
|
+
export interface WCFRelaysDeleteAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
// @public
|
|
472
|
+
export interface WCFRelaysDeleteOptionalParams extends coreClient.OperationOptions {
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
// @public
|
|
476
|
+
export interface WCFRelaysGetAuthorizationRuleOptionalParams extends coreClient.OperationOptions {
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
// @public
|
|
480
|
+
export type WCFRelaysGetAuthorizationRuleResponse = AuthorizationRule;
|
|
481
|
+
|
|
482
|
+
// @public
|
|
483
|
+
export interface WCFRelaysGetOptionalParams extends coreClient.OperationOptions {
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
// @public
|
|
487
|
+
export type WCFRelaysGetResponse = WcfRelay;
|
|
488
|
+
|
|
489
|
+
// @public
|
|
490
|
+
export interface WCFRelaysListAuthorizationRulesNextOptionalParams extends coreClient.OperationOptions {
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
// @public
|
|
494
|
+
export type WCFRelaysListAuthorizationRulesNextResponse = AuthorizationRuleListResult;
|
|
495
|
+
|
|
496
|
+
// @public
|
|
497
|
+
export interface WCFRelaysListAuthorizationRulesOptionalParams extends coreClient.OperationOptions {
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
// @public
|
|
501
|
+
export type WCFRelaysListAuthorizationRulesResponse = AuthorizationRuleListResult;
|
|
502
|
+
|
|
503
|
+
// @public
|
|
504
|
+
export interface WCFRelaysListByNamespaceNextOptionalParams extends coreClient.OperationOptions {
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
// @public
|
|
508
|
+
export type WCFRelaysListByNamespaceNextResponse = WcfRelaysListResult;
|
|
509
|
+
|
|
510
|
+
// @public
|
|
511
|
+
export interface WCFRelaysListByNamespaceOptionalParams extends coreClient.OperationOptions {
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
// @public
|
|
515
|
+
export type WCFRelaysListByNamespaceResponse = WcfRelaysListResult;
|
|
516
|
+
|
|
517
|
+
// @public
|
|
518
|
+
export interface WCFRelaysListKeysOptionalParams extends coreClient.OperationOptions {
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
// @public
|
|
522
|
+
export type WCFRelaysListKeysResponse = AccessKeys;
|
|
523
|
+
|
|
524
|
+
// @public
|
|
525
|
+
export interface WcfRelaysListResult {
|
|
526
|
+
nextLink?: string;
|
|
527
|
+
value?: WcfRelay[];
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
// @public
|
|
531
|
+
export interface WCFRelaysRegenerateKeysOptionalParams extends coreClient.OperationOptions {
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
// @public
|
|
535
|
+
export type WCFRelaysRegenerateKeysResponse = AccessKeys;
|
|
536
|
+
|
|
537
|
+
// (No @packageDocumentation comment for this package)
|
|
538
|
+
|
|
539
|
+
```
|