@microsoft/dev-tunnels-contracts 1.0.8 → 1.0.7303
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/index.d.ts +17 -17
- package/index.js +21 -21
- package/localNetworkTunnelEndpoint.d.ts +20 -20
- package/localNetworkTunnelEndpoint.js +6 -6
- package/package.json +1 -1
- package/problemDetails.d.ts +24 -24
- package/problemDetails.js +6 -6
- package/rateStatus.d.ts +19 -20
- package/rateStatus.d.ts.map +1 -1
- package/rateStatus.js +6 -6
- package/resourceStatus.d.ts +17 -17
- 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 +78 -78
- package/tunnel.js +6 -6
- package/tunnelAccessControl.d.ts +27 -27
- package/tunnelAccessControl.js +13 -13
- package/tunnelAccessControlEntry.d.ts +79 -79
- package/tunnelAccessControlEntry.js +39 -39
- 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 +17 -17
- package/tunnelAuthenticationSchemes.js +25 -25
- package/tunnelConnectionMode.d.ts +19 -19
- package/tunnelConnectionMode.js +27 -27
- package/tunnelConstraints.d.ts +63 -53
- package/tunnelConstraints.d.ts.map +1 -1
- package/tunnelConstraints.js +71 -61
- package/tunnelConstraints.js.map +1 -1
- package/tunnelEndpoint.d.ts +72 -72
- package/tunnelEndpoint.js +20 -20
- package/tunnelEndpointStatics.d.ts +19 -19
- package/tunnelEndpointStatics.js +48 -48
- package/tunnelHeaderNames.d.ts +27 -27
- package/tunnelHeaderNames.js +35 -35
- package/tunnelOptions.d.ts +11 -11
- package/tunnelOptions.js +6 -6
- package/tunnelPort.d.ts +70 -70
- package/tunnelPort.js +6 -6
- package/tunnelPortStatus.d.ts +39 -39
- package/tunnelPortStatus.js +6 -6
- package/tunnelProtocol.d.ts +33 -33
- package/tunnelProtocol.js +41 -41
- package/tunnelRelayTunnelEndpoint.d.ts +14 -14
- package/tunnelRelayTunnelEndpoint.js +6 -6
- package/tunnelServiceProperties.d.ts +99 -99
- package/tunnelServiceProperties.js +77 -77
- package/tunnelServicePropertiesStatics.d.ts +17 -17
- package/tunnelServicePropertiesStatics.js +55 -55
- package/tunnelStatus.d.ts +66 -66
- package/tunnelStatus.js +6 -6
package/tunnelStatus.d.ts
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
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 transferred via the
|
|
50
|
-
* tunnel.
|
|
51
|
-
*
|
|
52
|
-
* This includes both sending and receiving. All types of tunnel and port connections
|
|
53
|
-
* contribute to this rate.
|
|
54
|
-
*/
|
|
55
|
-
dataTransferRate?: RateStatus;
|
|
56
|
-
/**
|
|
57
|
-
* Gets or sets the current value and limit for the rate of management API read
|
|
58
|
-
* operations for the tunnel or tunnel ports.
|
|
59
|
-
*/
|
|
60
|
-
apiReadRate?: RateStatus;
|
|
61
|
-
/**
|
|
62
|
-
* Gets or sets the current value and limit for the rate of management API update
|
|
63
|
-
* operations for the tunnel or tunnel ports.
|
|
64
|
-
*/
|
|
65
|
-
apiUpdateRate?: RateStatus;
|
|
66
|
-
}
|
|
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 transferred via the
|
|
50
|
+
* tunnel.
|
|
51
|
+
*
|
|
52
|
+
* This includes both sending and receiving. All types of tunnel and port connections
|
|
53
|
+
* contribute to this rate.
|
|
54
|
+
*/
|
|
55
|
+
dataTransferRate?: RateStatus;
|
|
56
|
+
/**
|
|
57
|
+
* Gets or sets the current value and limit for the rate of management API read
|
|
58
|
+
* operations for the tunnel or tunnel ports.
|
|
59
|
+
*/
|
|
60
|
+
apiReadRate?: RateStatus;
|
|
61
|
+
/**
|
|
62
|
+
* Gets or sets the current value and limit for the rate of management API update
|
|
63
|
+
* operations for the tunnel or tunnel ports.
|
|
64
|
+
*/
|
|
65
|
+
apiUpdateRate?: RateStatus;
|
|
66
|
+
}
|
|
67
67
|
//# 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
|