@microsoft/dev-tunnels-contracts 1.3.6 → 1.3.37

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 (84) hide show
  1. package/README.md +2 -2
  2. package/clusterDetails.d.ts +19 -19
  3. package/clusterDetails.js +6 -6
  4. package/errorCodes.d.ts +17 -17
  5. package/errorCodes.js +25 -25
  6. package/errorDetail.d.ts +27 -27
  7. package/errorDetail.js +6 -6
  8. package/index.d.ts +24 -24
  9. package/index.js +29 -29
  10. package/innerErrorDetail.d.ts +15 -15
  11. package/innerErrorDetail.js +6 -6
  12. package/localNetworkTunnelEndpoint.d.ts +20 -20
  13. package/localNetworkTunnelEndpoint.js +6 -6
  14. package/namedRateStatus.d.ts +10 -10
  15. package/namedRateStatus.js +6 -6
  16. package/package.json +1 -1
  17. package/problemDetails.d.ts +24 -24
  18. package/problemDetails.js +6 -6
  19. package/rateStatus.d.ts +19 -19
  20. package/rateStatus.js +6 -6
  21. package/resourceStatus.d.ts +22 -22
  22. package/resourceStatus.js +6 -6
  23. package/serviceVersionDetails.d.ts +26 -26
  24. package/serviceVersionDetails.js +6 -6
  25. package/tsbuildinfo.json +1 -1
  26. package/tunnel.d.ts +87 -87
  27. package/tunnel.js +6 -6
  28. package/tunnelAccessControl.d.ts +27 -27
  29. package/tunnelAccessControl.js +13 -13
  30. package/tunnelAccessControlEntry.d.ts +116 -116
  31. package/tunnelAccessControlEntry.js +40 -40
  32. package/tunnelAccessControlEntryType.d.ts +45 -45
  33. package/tunnelAccessControlEntryType.js +53 -53
  34. package/tunnelAccessControlStatics.d.ts +10 -10
  35. package/tunnelAccessControlStatics.js +46 -46
  36. package/tunnelAccessScopes.d.ts +38 -38
  37. package/tunnelAccessScopes.js +46 -46
  38. package/tunnelAccessSubject.d.ts +39 -39
  39. package/tunnelAccessSubject.js +6 -6
  40. package/tunnelAuthenticationSchemes.d.ts +21 -21
  41. package/tunnelAuthenticationSchemes.js +29 -29
  42. package/tunnelConnectionMode.d.ts +19 -19
  43. package/tunnelConnectionMode.js +27 -27
  44. package/tunnelConstraints.d.ts +268 -253
  45. package/tunnelConstraints.d.ts.map +1 -1
  46. package/tunnelConstraints.js +276 -261
  47. package/tunnelConstraints.js.map +1 -1
  48. package/tunnelEndpoint.d.ts +76 -76
  49. package/tunnelEndpoint.js +20 -20
  50. package/tunnelEndpointStatics.d.ts +19 -19
  51. package/tunnelEndpointStatics.js +48 -48
  52. package/tunnelEvent.d.ts +48 -48
  53. package/tunnelEvent.js +24 -24
  54. package/tunnelHeaderNames.d.ts +27 -27
  55. package/tunnelHeaderNames.js +35 -35
  56. package/tunnelListByRegion.d.ts +23 -23
  57. package/tunnelListByRegion.js +6 -6
  58. package/tunnelListByRegionResponse.d.ts +14 -14
  59. package/tunnelListByRegionResponse.js +6 -6
  60. package/tunnelOptions.d.ts +99 -78
  61. package/tunnelOptions.d.ts.map +1 -1
  62. package/tunnelOptions.js +6 -6
  63. package/tunnelPort.d.ts +93 -93
  64. package/tunnelPort.js +6 -6
  65. package/tunnelPortListResponse.d.ts +14 -14
  66. package/tunnelPortListResponse.js +6 -6
  67. package/tunnelPortStatus.d.ts +39 -39
  68. package/tunnelPortStatus.js +6 -6
  69. package/tunnelProgress.d.ts +45 -45
  70. package/tunnelProgress.js +53 -53
  71. package/tunnelProtocol.d.ts +33 -33
  72. package/tunnelProtocol.js +41 -41
  73. package/tunnelRelayTunnelEndpoint.d.ts +14 -14
  74. package/tunnelRelayTunnelEndpoint.js +6 -6
  75. package/tunnelReportProgressEventArgs.d.ts +15 -15
  76. package/tunnelReportProgressEventArgs.js +6 -6
  77. package/tunnelServiceProperties.d.ts +107 -106
  78. package/tunnelServiceProperties.d.ts.map +1 -1
  79. package/tunnelServiceProperties.js +85 -84
  80. package/tunnelServiceProperties.js.map +1 -1
  81. package/tunnelServicePropertiesStatics.d.ts +17 -17
  82. package/tunnelServicePropertiesStatics.js +55 -55
  83. package/tunnelStatus.d.ts +100 -100
  84. 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