@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.
Files changed (62) hide show
  1. package/README.md +2 -2
  2. package/clusterDetails.d.ts +19 -19
  3. package/clusterDetails.js +6 -6
  4. package/index.d.ts +17 -17
  5. package/index.js +21 -21
  6. package/localNetworkTunnelEndpoint.d.ts +20 -20
  7. package/localNetworkTunnelEndpoint.js +6 -6
  8. package/package.json +1 -1
  9. package/problemDetails.d.ts +24 -24
  10. package/problemDetails.js +6 -6
  11. package/rateStatus.d.ts +19 -20
  12. package/rateStatus.d.ts.map +1 -1
  13. package/rateStatus.js +6 -6
  14. package/resourceStatus.d.ts +17 -17
  15. package/resourceStatus.js +6 -6
  16. package/serviceVersionDetails.d.ts +26 -26
  17. package/serviceVersionDetails.js +6 -6
  18. package/tsbuildinfo.json +1 -1
  19. package/tunnel.d.ts +78 -78
  20. package/tunnel.js +6 -6
  21. package/tunnelAccessControl.d.ts +27 -27
  22. package/tunnelAccessControl.js +13 -13
  23. package/tunnelAccessControlEntry.d.ts +79 -79
  24. package/tunnelAccessControlEntry.js +39 -39
  25. package/tunnelAccessControlEntryType.d.ts +45 -45
  26. package/tunnelAccessControlEntryType.js +53 -53
  27. package/tunnelAccessControlStatics.d.ts +10 -10
  28. package/tunnelAccessControlStatics.js +46 -46
  29. package/tunnelAccessScopes.d.ts +38 -38
  30. package/tunnelAccessScopes.js +46 -46
  31. package/tunnelAccessSubject.d.ts +39 -39
  32. package/tunnelAccessSubject.js +6 -6
  33. package/tunnelAuthenticationSchemes.d.ts +17 -17
  34. package/tunnelAuthenticationSchemes.js +25 -25
  35. package/tunnelConnectionMode.d.ts +19 -19
  36. package/tunnelConnectionMode.js +27 -27
  37. package/tunnelConstraints.d.ts +63 -53
  38. package/tunnelConstraints.d.ts.map +1 -1
  39. package/tunnelConstraints.js +71 -61
  40. package/tunnelConstraints.js.map +1 -1
  41. package/tunnelEndpoint.d.ts +72 -72
  42. package/tunnelEndpoint.js +20 -20
  43. package/tunnelEndpointStatics.d.ts +19 -19
  44. package/tunnelEndpointStatics.js +48 -48
  45. package/tunnelHeaderNames.d.ts +27 -27
  46. package/tunnelHeaderNames.js +35 -35
  47. package/tunnelOptions.d.ts +11 -11
  48. package/tunnelOptions.js +6 -6
  49. package/tunnelPort.d.ts +70 -70
  50. package/tunnelPort.js +6 -6
  51. package/tunnelPortStatus.d.ts +39 -39
  52. package/tunnelPortStatus.js +6 -6
  53. package/tunnelProtocol.d.ts +33 -33
  54. package/tunnelProtocol.js +41 -41
  55. package/tunnelRelayTunnelEndpoint.d.ts +14 -14
  56. package/tunnelRelayTunnelEndpoint.js +6 -6
  57. package/tunnelServiceProperties.d.ts +99 -99
  58. package/tunnelServiceProperties.js +77 -77
  59. package/tunnelServicePropertiesStatics.d.ts +17 -17
  60. package/tunnelServicePropertiesStatics.js +55 -55
  61. package/tunnelStatus.d.ts +66 -66
  62. 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