@microsoft/dev-tunnels-contracts 1.3.6 → 1.3.36
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/README.md +2 -2
- package/clusterDetails.d.ts +19 -19
- package/clusterDetails.js +6 -6
- package/errorCodes.d.ts +17 -17
- package/errorCodes.js +25 -25
- package/errorDetail.d.ts +27 -27
- package/errorDetail.js +6 -6
- package/index.d.ts +24 -24
- package/index.js +29 -29
- package/innerErrorDetail.d.ts +15 -15
- package/innerErrorDetail.js +6 -6
- package/localNetworkTunnelEndpoint.d.ts +20 -20
- package/localNetworkTunnelEndpoint.js +6 -6
- package/namedRateStatus.d.ts +10 -10
- package/namedRateStatus.js +6 -6
- package/package.json +1 -1
- package/problemDetails.d.ts +24 -24
- package/problemDetails.js +6 -6
- package/rateStatus.d.ts +19 -19
- package/rateStatus.js +6 -6
- package/resourceStatus.d.ts +22 -22
- package/resourceStatus.js +6 -6
- package/serviceVersionDetails.d.ts +26 -26
- package/serviceVersionDetails.js +6 -6
- package/tsbuildinfo.json +1 -1
- package/tunnel.d.ts +87 -87
- package/tunnel.js +6 -6
- package/tunnelAccessControl.d.ts +27 -27
- package/tunnelAccessControl.js +13 -13
- package/tunnelAccessControlEntry.d.ts +116 -116
- package/tunnelAccessControlEntry.js +40 -40
- package/tunnelAccessControlEntryType.d.ts +45 -45
- package/tunnelAccessControlEntryType.js +53 -53
- package/tunnelAccessControlStatics.d.ts +10 -10
- package/tunnelAccessControlStatics.js +46 -46
- package/tunnelAccessScopes.d.ts +38 -38
- package/tunnelAccessScopes.js +46 -46
- package/tunnelAccessSubject.d.ts +39 -39
- package/tunnelAccessSubject.js +6 -6
- package/tunnelAuthenticationSchemes.d.ts +21 -21
- package/tunnelAuthenticationSchemes.js +29 -29
- package/tunnelConnectionMode.d.ts +19 -19
- package/tunnelConnectionMode.js +27 -27
- package/tunnelConstraints.d.ts +268 -253
- package/tunnelConstraints.d.ts.map +1 -1
- package/tunnelConstraints.js +276 -261
- package/tunnelConstraints.js.map +1 -1
- package/tunnelEndpoint.d.ts +76 -76
- package/tunnelEndpoint.js +20 -20
- package/tunnelEndpointStatics.d.ts +19 -19
- package/tunnelEndpointStatics.js +48 -48
- package/tunnelEvent.d.ts +48 -48
- package/tunnelEvent.js +24 -24
- package/tunnelHeaderNames.d.ts +27 -27
- package/tunnelHeaderNames.js +35 -35
- package/tunnelListByRegion.d.ts +23 -23
- package/tunnelListByRegion.js +6 -6
- package/tunnelListByRegionResponse.d.ts +14 -14
- package/tunnelListByRegionResponse.js +6 -6
- package/tunnelOptions.d.ts +99 -78
- package/tunnelOptions.d.ts.map +1 -1
- package/tunnelOptions.js +6 -6
- package/tunnelPort.d.ts +93 -93
- package/tunnelPort.js +6 -6
- package/tunnelPortListResponse.d.ts +14 -14
- package/tunnelPortListResponse.js +6 -6
- package/tunnelPortStatus.d.ts +39 -39
- package/tunnelPortStatus.js +6 -6
- package/tunnelProgress.d.ts +45 -45
- package/tunnelProgress.js +53 -53
- package/tunnelProtocol.d.ts +33 -33
- package/tunnelProtocol.js +41 -41
- package/tunnelRelayTunnelEndpoint.d.ts +14 -14
- package/tunnelRelayTunnelEndpoint.js +6 -6
- package/tunnelReportProgressEventArgs.d.ts +15 -15
- package/tunnelReportProgressEventArgs.js +6 -6
- package/tunnelServiceProperties.d.ts +107 -106
- package/tunnelServiceProperties.d.ts.map +1 -1
- package/tunnelServiceProperties.js +85 -84
- package/tunnelServiceProperties.js.map +1 -1
- package/tunnelServicePropertiesStatics.d.ts +17 -17
- package/tunnelServicePropertiesStatics.js +55 -55
- package/tunnelStatus.d.ts +100 -100
- package/tunnelStatus.js +6 -6
package/tunnelStatus.d.ts
CHANGED
|
@@ -1,101 +1,101 @@
|
|
|
1
|
-
import { RateStatus } from './rateStatus';
|
|
2
|
-
import { ResourceStatus } from './resourceStatus';
|
|
3
|
-
/**
|
|
4
|
-
* Data contract for {@link Tunnel} status.
|
|
5
|
-
*/
|
|
6
|
-
export interface TunnelStatus {
|
|
7
|
-
/**
|
|
8
|
-
* Gets or sets the current value and limit for the number of ports on the tunnel.
|
|
9
|
-
*/
|
|
10
|
-
portCount?: number | ResourceStatus;
|
|
11
|
-
/**
|
|
12
|
-
* Gets or sets the current value and limit for the number of hosts currently
|
|
13
|
-
* accepting connections to the tunnel.
|
|
14
|
-
*
|
|
15
|
-
* This is typically 0 or 1, but may be more than 1 if the tunnel options allow
|
|
16
|
-
* multiple hosts.
|
|
17
|
-
*/
|
|
18
|
-
hostConnectionCount?: number | ResourceStatus;
|
|
19
|
-
/**
|
|
20
|
-
* Gets or sets the UTC time when a host was last accepting connections to the tunnel,
|
|
21
|
-
* or null if a host has never connected.
|
|
22
|
-
*/
|
|
23
|
-
lastHostConnectionTime?: Date;
|
|
24
|
-
/**
|
|
25
|
-
* Gets or sets the current value and limit for the number of clients connected to the
|
|
26
|
-
* tunnel.
|
|
27
|
-
*
|
|
28
|
-
* This counts non-port-specific client connections, which is SDK and SSH clients. See
|
|
29
|
-
* {@link TunnelPortStatus} for status of per-port client connections.
|
|
30
|
-
*/
|
|
31
|
-
clientConnectionCount?: number | ResourceStatus;
|
|
32
|
-
/**
|
|
33
|
-
* Gets or sets the UTC time when a client last connected to the tunnel, or null if a
|
|
34
|
-
* client has never connected.
|
|
35
|
-
*
|
|
36
|
-
* This reports times for non-port-specific client connections, which is SDK client
|
|
37
|
-
* and SSH clients. See {@link TunnelPortStatus} for per-port client connections.
|
|
38
|
-
*/
|
|
39
|
-
lastClientConnectionTime?: Date;
|
|
40
|
-
/**
|
|
41
|
-
* Gets or sets the current value and limit for the rate of client connections to the
|
|
42
|
-
* tunnel.
|
|
43
|
-
*
|
|
44
|
-
* This counts non-port-specific client connections, which is SDK client and SSH
|
|
45
|
-
* clients. See {@link TunnelPortStatus} for status of per-port client connections.
|
|
46
|
-
*/
|
|
47
|
-
clientConnectionRate?: RateStatus;
|
|
48
|
-
/**
|
|
49
|
-
* Gets or sets the current value and limit for the rate of bytes being received by
|
|
50
|
-
* the tunnel host and uploaded by tunnel clients.
|
|
51
|
-
*
|
|
52
|
-
* All types of tunnel and port connections, from potentially multiple clients, can
|
|
53
|
-
* contribute to this rate. The reported rate may differ slightly from the rate
|
|
54
|
-
* measurable by applications, due to protocol overhead. Data rate status reporting is
|
|
55
|
-
* delayed by a few seconds, so this value is a snapshot of the data transfer rate
|
|
56
|
-
* from a few seconds earlier.
|
|
57
|
-
*/
|
|
58
|
-
uploadRate?: RateStatus;
|
|
59
|
-
/**
|
|
60
|
-
* Gets or sets the current value and limit for the rate of bytes being sent by the
|
|
61
|
-
* tunnel host and downloaded by tunnel clients.
|
|
62
|
-
*
|
|
63
|
-
* All types of tunnel and port connections, from potentially multiple clients, can
|
|
64
|
-
* contribute to this rate. The reported rate may differ slightly from the rate
|
|
65
|
-
* measurable by applications, due to protocol overhead. Data rate status reporting is
|
|
66
|
-
* delayed by a few seconds, so this value is a snapshot of the data transfer rate
|
|
67
|
-
* from a few seconds earlier.
|
|
68
|
-
*/
|
|
69
|
-
downloadRate?: RateStatus;
|
|
70
|
-
/**
|
|
71
|
-
* Gets or sets the total number of bytes received by the tunnel host and uploaded by
|
|
72
|
-
* tunnel clients, over the lifetime of the tunnel.
|
|
73
|
-
*
|
|
74
|
-
* All types of tunnel and port connections, from potentially multiple clients, can
|
|
75
|
-
* contribute to this total. The reported value may differ slightly from the value
|
|
76
|
-
* measurable by applications, due to protocol overhead. Data transfer status
|
|
77
|
-
* reporting is delayed by a few seconds.
|
|
78
|
-
*/
|
|
79
|
-
uploadTotal?: number;
|
|
80
|
-
/**
|
|
81
|
-
* Gets or sets the total number of bytes sent by the tunnel host and downloaded by
|
|
82
|
-
* tunnel clients, over the lifetime of the tunnel.
|
|
83
|
-
*
|
|
84
|
-
* All types of tunnel and port connections, from potentially multiple clients, can
|
|
85
|
-
* contribute to this total. The reported value may differ slightly from the value
|
|
86
|
-
* measurable by applications, due to protocol overhead. Data transfer status
|
|
87
|
-
* reporting is delayed by a few seconds.
|
|
88
|
-
*/
|
|
89
|
-
downloadTotal?: number;
|
|
90
|
-
/**
|
|
91
|
-
* Gets or sets the current value and limit for the rate of management API read
|
|
92
|
-
* operations for the tunnel or tunnel ports.
|
|
93
|
-
*/
|
|
94
|
-
apiReadRate?: RateStatus;
|
|
95
|
-
/**
|
|
96
|
-
* Gets or sets the current value and limit for the rate of management API update
|
|
97
|
-
* operations for the tunnel or tunnel ports.
|
|
98
|
-
*/
|
|
99
|
-
apiUpdateRate?: RateStatus;
|
|
100
|
-
}
|
|
1
|
+
import { RateStatus } from './rateStatus';
|
|
2
|
+
import { ResourceStatus } from './resourceStatus';
|
|
3
|
+
/**
|
|
4
|
+
* Data contract for {@link Tunnel} status.
|
|
5
|
+
*/
|
|
6
|
+
export interface TunnelStatus {
|
|
7
|
+
/**
|
|
8
|
+
* Gets or sets the current value and limit for the number of ports on the tunnel.
|
|
9
|
+
*/
|
|
10
|
+
portCount?: number | ResourceStatus;
|
|
11
|
+
/**
|
|
12
|
+
* Gets or sets the current value and limit for the number of hosts currently
|
|
13
|
+
* accepting connections to the tunnel.
|
|
14
|
+
*
|
|
15
|
+
* This is typically 0 or 1, but may be more than 1 if the tunnel options allow
|
|
16
|
+
* multiple hosts.
|
|
17
|
+
*/
|
|
18
|
+
hostConnectionCount?: number | ResourceStatus;
|
|
19
|
+
/**
|
|
20
|
+
* Gets or sets the UTC time when a host was last accepting connections to the tunnel,
|
|
21
|
+
* or null if a host has never connected.
|
|
22
|
+
*/
|
|
23
|
+
lastHostConnectionTime?: Date;
|
|
24
|
+
/**
|
|
25
|
+
* Gets or sets the current value and limit for the number of clients connected to the
|
|
26
|
+
* tunnel.
|
|
27
|
+
*
|
|
28
|
+
* This counts non-port-specific client connections, which is SDK and SSH clients. See
|
|
29
|
+
* {@link TunnelPortStatus} for status of per-port client connections.
|
|
30
|
+
*/
|
|
31
|
+
clientConnectionCount?: number | ResourceStatus;
|
|
32
|
+
/**
|
|
33
|
+
* Gets or sets the UTC time when a client last connected to the tunnel, or null if a
|
|
34
|
+
* client has never connected.
|
|
35
|
+
*
|
|
36
|
+
* This reports times for non-port-specific client connections, which is SDK client
|
|
37
|
+
* and SSH clients. See {@link TunnelPortStatus} for per-port client connections.
|
|
38
|
+
*/
|
|
39
|
+
lastClientConnectionTime?: Date;
|
|
40
|
+
/**
|
|
41
|
+
* Gets or sets the current value and limit for the rate of client connections to the
|
|
42
|
+
* tunnel.
|
|
43
|
+
*
|
|
44
|
+
* This counts non-port-specific client connections, which is SDK client and SSH
|
|
45
|
+
* clients. See {@link TunnelPortStatus} for status of per-port client connections.
|
|
46
|
+
*/
|
|
47
|
+
clientConnectionRate?: RateStatus;
|
|
48
|
+
/**
|
|
49
|
+
* Gets or sets the current value and limit for the rate of bytes being received by
|
|
50
|
+
* the tunnel host and uploaded by tunnel clients.
|
|
51
|
+
*
|
|
52
|
+
* All types of tunnel and port connections, from potentially multiple clients, can
|
|
53
|
+
* contribute to this rate. The reported rate may differ slightly from the rate
|
|
54
|
+
* measurable by applications, due to protocol overhead. Data rate status reporting is
|
|
55
|
+
* delayed by a few seconds, so this value is a snapshot of the data transfer rate
|
|
56
|
+
* from a few seconds earlier.
|
|
57
|
+
*/
|
|
58
|
+
uploadRate?: RateStatus;
|
|
59
|
+
/**
|
|
60
|
+
* Gets or sets the current value and limit for the rate of bytes being sent by the
|
|
61
|
+
* tunnel host and downloaded by tunnel clients.
|
|
62
|
+
*
|
|
63
|
+
* All types of tunnel and port connections, from potentially multiple clients, can
|
|
64
|
+
* contribute to this rate. The reported rate may differ slightly from the rate
|
|
65
|
+
* measurable by applications, due to protocol overhead. Data rate status reporting is
|
|
66
|
+
* delayed by a few seconds, so this value is a snapshot of the data transfer rate
|
|
67
|
+
* from a few seconds earlier.
|
|
68
|
+
*/
|
|
69
|
+
downloadRate?: RateStatus;
|
|
70
|
+
/**
|
|
71
|
+
* Gets or sets the total number of bytes received by the tunnel host and uploaded by
|
|
72
|
+
* tunnel clients, over the lifetime of the tunnel.
|
|
73
|
+
*
|
|
74
|
+
* All types of tunnel and port connections, from potentially multiple clients, can
|
|
75
|
+
* contribute to this total. The reported value may differ slightly from the value
|
|
76
|
+
* measurable by applications, due to protocol overhead. Data transfer status
|
|
77
|
+
* reporting is delayed by a few seconds.
|
|
78
|
+
*/
|
|
79
|
+
uploadTotal?: number;
|
|
80
|
+
/**
|
|
81
|
+
* Gets or sets the total number of bytes sent by the tunnel host and downloaded by
|
|
82
|
+
* tunnel clients, over the lifetime of the tunnel.
|
|
83
|
+
*
|
|
84
|
+
* All types of tunnel and port connections, from potentially multiple clients, can
|
|
85
|
+
* contribute to this total. The reported value may differ slightly from the value
|
|
86
|
+
* measurable by applications, due to protocol overhead. Data transfer status
|
|
87
|
+
* reporting is delayed by a few seconds.
|
|
88
|
+
*/
|
|
89
|
+
downloadTotal?: number;
|
|
90
|
+
/**
|
|
91
|
+
* Gets or sets the current value and limit for the rate of management API read
|
|
92
|
+
* operations for the tunnel or tunnel ports.
|
|
93
|
+
*/
|
|
94
|
+
apiReadRate?: RateStatus;
|
|
95
|
+
/**
|
|
96
|
+
* Gets or sets the current value and limit for the rate of management API update
|
|
97
|
+
* operations for the tunnel or tunnel ports.
|
|
98
|
+
*/
|
|
99
|
+
apiUpdateRate?: RateStatus;
|
|
100
|
+
}
|
|
101
101
|
//# sourceMappingURL=tunnelStatus.d.ts.map
|
package/tunnelStatus.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT license.
|
|
4
|
-
// Generated from ../../../cs/src/Contracts/TunnelStatus.cs
|
|
5
|
-
/* eslint-disable */
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
// Generated from ../../../cs/src/Contracts/TunnelStatus.cs
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
//# sourceMappingURL=tunnelStatus.js.map
|