@microsoft/dev-tunnels-contracts 1.0.8 → 1.0.7302

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 (60) 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 +53 -53
  38. package/tunnelConstraints.js +61 -61
  39. package/tunnelEndpoint.d.ts +72 -72
  40. package/tunnelEndpoint.js +20 -20
  41. package/tunnelEndpointStatics.d.ts +19 -19
  42. package/tunnelEndpointStatics.js +48 -48
  43. package/tunnelHeaderNames.d.ts +27 -27
  44. package/tunnelHeaderNames.js +35 -35
  45. package/tunnelOptions.d.ts +11 -11
  46. package/tunnelOptions.js +6 -6
  47. package/tunnelPort.d.ts +70 -70
  48. package/tunnelPort.js +6 -6
  49. package/tunnelPortStatus.d.ts +39 -39
  50. package/tunnelPortStatus.js +6 -6
  51. package/tunnelProtocol.d.ts +33 -33
  52. package/tunnelProtocol.js +41 -41
  53. package/tunnelRelayTunnelEndpoint.d.ts +14 -14
  54. package/tunnelRelayTunnelEndpoint.js +6 -6
  55. package/tunnelServiceProperties.d.ts +99 -99
  56. package/tunnelServiceProperties.js +77 -77
  57. package/tunnelServicePropertiesStatics.d.ts +17 -17
  58. package/tunnelServicePropertiesStatics.js +55 -55
  59. package/tunnelStatus.d.ts +66 -66
  60. package/tunnelStatus.js +6 -6
@@ -1,28 +1,28 @@
1
- /**
2
- * Header names for http requests that Tunnel Service can handle
3
- */
4
- export declare enum TunnelHeaderNames {
5
- /**
6
- * Additional authorization header that can be passed to tunnel web forwarding to
7
- * authenticate and authorize the client. The format of the value is the same as
8
- * Authorization header that is sent to the Tunnel service by the tunnel SDK.
9
- * Supported schemes: "tunnel" with the tunnel access JWT good for 'Connect' scope.
10
- */
11
- XTunnelAuthorization = "X-Tunnel-Authorization",
12
- /**
13
- * Request ID header that nginx ingress controller adds to all requests if it's not
14
- * there.
15
- */
16
- XRequestID = "X-Request-ID",
17
- /**
18
- * Github Ssh public key which can be used to validate if it belongs to tunnel's
19
- * owner.
20
- */
21
- XGithubSshKey = "X-Github-Ssh-Key",
22
- /**
23
- * Header that will skip the antiphishing page when connection to a tunnel through web
24
- * forwarding.
25
- */
26
- XTunnelSkipPhishing = "X-Tunnel-Skip-Phishing-Page"
27
- }
1
+ /**
2
+ * Header names for http requests that Tunnel Service can handle
3
+ */
4
+ export declare enum TunnelHeaderNames {
5
+ /**
6
+ * Additional authorization header that can be passed to tunnel web forwarding to
7
+ * authenticate and authorize the client. The format of the value is the same as
8
+ * Authorization header that is sent to the Tunnel service by the tunnel SDK.
9
+ * Supported schemes: "tunnel" with the tunnel access JWT good for 'Connect' scope.
10
+ */
11
+ XTunnelAuthorization = "X-Tunnel-Authorization",
12
+ /**
13
+ * Request ID header that nginx ingress controller adds to all requests if it's not
14
+ * there.
15
+ */
16
+ XRequestID = "X-Request-ID",
17
+ /**
18
+ * Github Ssh public key which can be used to validate if it belongs to tunnel's
19
+ * owner.
20
+ */
21
+ XGithubSshKey = "X-Github-Ssh-Key",
22
+ /**
23
+ * Header that will skip the antiphishing page when connection to a tunnel through web
24
+ * forwarding.
25
+ */
26
+ XTunnelSkipPhishing = "X-Tunnel-Skip-Phishing-Page"
27
+ }
28
28
  //# sourceMappingURL=tunnelHeaderNames.d.ts.map
@@ -1,36 +1,36 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- // Generated from ../../../cs/src/Contracts/TunnelHeaderNames.cs
5
- /* eslint-disable */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.TunnelHeaderNames = void 0;
8
- /**
9
- * Header names for http requests that Tunnel Service can handle
10
- */
11
- var TunnelHeaderNames;
12
- (function (TunnelHeaderNames) {
13
- /**
14
- * Additional authorization header that can be passed to tunnel web forwarding to
15
- * authenticate and authorize the client. The format of the value is the same as
16
- * Authorization header that is sent to the Tunnel service by the tunnel SDK.
17
- * Supported schemes: "tunnel" with the tunnel access JWT good for 'Connect' scope.
18
- */
19
- TunnelHeaderNames["XTunnelAuthorization"] = "X-Tunnel-Authorization";
20
- /**
21
- * Request ID header that nginx ingress controller adds to all requests if it's not
22
- * there.
23
- */
24
- TunnelHeaderNames["XRequestID"] = "X-Request-ID";
25
- /**
26
- * Github Ssh public key which can be used to validate if it belongs to tunnel's
27
- * owner.
28
- */
29
- TunnelHeaderNames["XGithubSshKey"] = "X-Github-Ssh-Key";
30
- /**
31
- * Header that will skip the antiphishing page when connection to a tunnel through web
32
- * forwarding.
33
- */
34
- TunnelHeaderNames["XTunnelSkipPhishing"] = "X-Tunnel-Skip-Phishing-Page";
35
- })(TunnelHeaderNames = exports.TunnelHeaderNames || (exports.TunnelHeaderNames = {}));
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ // Generated from ../../../cs/src/Contracts/TunnelHeaderNames.cs
5
+ /* eslint-disable */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.TunnelHeaderNames = void 0;
8
+ /**
9
+ * Header names for http requests that Tunnel Service can handle
10
+ */
11
+ var TunnelHeaderNames;
12
+ (function (TunnelHeaderNames) {
13
+ /**
14
+ * Additional authorization header that can be passed to tunnel web forwarding to
15
+ * authenticate and authorize the client. The format of the value is the same as
16
+ * Authorization header that is sent to the Tunnel service by the tunnel SDK.
17
+ * Supported schemes: "tunnel" with the tunnel access JWT good for 'Connect' scope.
18
+ */
19
+ TunnelHeaderNames["XTunnelAuthorization"] = "X-Tunnel-Authorization";
20
+ /**
21
+ * Request ID header that nginx ingress controller adds to all requests if it's not
22
+ * there.
23
+ */
24
+ TunnelHeaderNames["XRequestID"] = "X-Request-ID";
25
+ /**
26
+ * Github Ssh public key which can be used to validate if it belongs to tunnel's
27
+ * owner.
28
+ */
29
+ TunnelHeaderNames["XGithubSshKey"] = "X-Github-Ssh-Key";
30
+ /**
31
+ * Header that will skip the antiphishing page when connection to a tunnel through web
32
+ * forwarding.
33
+ */
34
+ TunnelHeaderNames["XTunnelSkipPhishing"] = "X-Tunnel-Skip-Phishing-Page";
35
+ })(TunnelHeaderNames = exports.TunnelHeaderNames || (exports.TunnelHeaderNames = {}));
36
36
  //# sourceMappingURL=tunnelHeaderNames.js.map
@@ -1,12 +1,12 @@
1
- /**
2
- * Data contract for {@link Tunnel} or {@link TunnelPort} options.
3
- */
4
- export interface TunnelOptions {
5
- /**
6
- * Gets or sets a value indicating whether web-forwarding of this tunnel can run on
7
- * any cluster (region) without redirecting to the home cluster. This is only
8
- * applicable if the tunnel has a name and web-forwarding uses it.
9
- */
10
- isGloballyAvailable?: boolean;
11
- }
1
+ /**
2
+ * Data contract for {@link Tunnel} or {@link TunnelPort} options.
3
+ */
4
+ export interface TunnelOptions {
5
+ /**
6
+ * Gets or sets a value indicating whether web-forwarding of this tunnel can run on
7
+ * any cluster (region) without redirecting to the home cluster. This is only
8
+ * applicable if the tunnel has a name and web-forwarding uses it.
9
+ */
10
+ isGloballyAvailable?: boolean;
11
+ }
12
12
  //# sourceMappingURL=tunnelOptions.d.ts.map
package/tunnelOptions.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/TunnelOptions.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/TunnelOptions.cs
5
+ /* eslint-disable */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  //# sourceMappingURL=tunnelOptions.js.map
package/tunnelPort.d.ts CHANGED
@@ -1,71 +1,71 @@
1
- import { TunnelAccessControl } from './tunnelAccessControl';
2
- import { TunnelOptions } from './tunnelOptions';
3
- import { TunnelPortStatus } from './tunnelPortStatus';
4
- /**
5
- * Data contract for tunnel port objects managed through the tunnel service REST API.
6
- */
7
- export interface TunnelPort {
8
- /**
9
- * Gets or sets the ID of the cluster the tunnel was created in.
10
- */
11
- clusterId?: string;
12
- /**
13
- * Gets or sets the generated ID of the tunnel, unique within the cluster.
14
- */
15
- tunnelId?: string;
16
- /**
17
- * Gets or sets the IP port number of the tunnel port.
18
- */
19
- portNumber: number;
20
- /**
21
- * Gets or sets the optional short name of the port.
22
- *
23
- * The name must be unique among named ports of the same tunnel.
24
- */
25
- name?: string;
26
- /**
27
- * Gets or sets the optional description of the port.
28
- */
29
- description?: string;
30
- /**
31
- * Gets or sets the tags of the port.
32
- */
33
- tags?: string[];
34
- /**
35
- * Gets or sets the protocol of the tunnel port.
36
- *
37
- * Should be one of the string constants from {@link TunnelProtocol}.
38
- */
39
- protocol?: string;
40
- /**
41
- * Gets or sets a dictionary mapping from scopes to tunnel access tokens.
42
- *
43
- * Unlike the tokens in {@link Tunnel.accessTokens}, these tokens are restricted to
44
- * the individual port.
45
- */
46
- accessTokens?: {
47
- [scope: string]: string;
48
- };
49
- /**
50
- * Gets or sets access control settings for the tunnel port.
51
- *
52
- * See {@link TunnelAccessControl} documentation for details about the access control
53
- * model.
54
- */
55
- accessControl?: TunnelAccessControl;
56
- /**
57
- * Gets or sets options for the tunnel port.
58
- */
59
- options?: TunnelOptions;
60
- /**
61
- * Gets or sets current connection status of the tunnel port.
62
- */
63
- status?: TunnelPortStatus;
64
- /**
65
- * Gets or sets the username for the ssh service user is trying to forward.
66
- *
67
- * Should be provided if the {@link TunnelProtocol} is Ssh.
68
- */
69
- sshUser?: string;
70
- }
1
+ import { TunnelAccessControl } from './tunnelAccessControl';
2
+ import { TunnelOptions } from './tunnelOptions';
3
+ import { TunnelPortStatus } from './tunnelPortStatus';
4
+ /**
5
+ * Data contract for tunnel port objects managed through the tunnel service REST API.
6
+ */
7
+ export interface TunnelPort {
8
+ /**
9
+ * Gets or sets the ID of the cluster the tunnel was created in.
10
+ */
11
+ clusterId?: string;
12
+ /**
13
+ * Gets or sets the generated ID of the tunnel, unique within the cluster.
14
+ */
15
+ tunnelId?: string;
16
+ /**
17
+ * Gets or sets the IP port number of the tunnel port.
18
+ */
19
+ portNumber: number;
20
+ /**
21
+ * Gets or sets the optional short name of the port.
22
+ *
23
+ * The name must be unique among named ports of the same tunnel.
24
+ */
25
+ name?: string;
26
+ /**
27
+ * Gets or sets the optional description of the port.
28
+ */
29
+ description?: string;
30
+ /**
31
+ * Gets or sets the tags of the port.
32
+ */
33
+ tags?: string[];
34
+ /**
35
+ * Gets or sets the protocol of the tunnel port.
36
+ *
37
+ * Should be one of the string constants from {@link TunnelProtocol}.
38
+ */
39
+ protocol?: string;
40
+ /**
41
+ * Gets or sets a dictionary mapping from scopes to tunnel access tokens.
42
+ *
43
+ * Unlike the tokens in {@link Tunnel.accessTokens}, these tokens are restricted to
44
+ * the individual port.
45
+ */
46
+ accessTokens?: {
47
+ [scope: string]: string;
48
+ };
49
+ /**
50
+ * Gets or sets access control settings for the tunnel port.
51
+ *
52
+ * See {@link TunnelAccessControl} documentation for details about the access control
53
+ * model.
54
+ */
55
+ accessControl?: TunnelAccessControl;
56
+ /**
57
+ * Gets or sets options for the tunnel port.
58
+ */
59
+ options?: TunnelOptions;
60
+ /**
61
+ * Gets or sets current connection status of the tunnel port.
62
+ */
63
+ status?: TunnelPortStatus;
64
+ /**
65
+ * Gets or sets the username for the ssh service user is trying to forward.
66
+ *
67
+ * Should be provided if the {@link TunnelProtocol} is Ssh.
68
+ */
69
+ sshUser?: string;
70
+ }
71
71
  //# sourceMappingURL=tunnelPort.d.ts.map
package/tunnelPort.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/TunnelPort.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/TunnelPort.cs
5
+ /* eslint-disable */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  //# sourceMappingURL=tunnelPort.js.map
@@ -1,40 +1,40 @@
1
- import { RateStatus } from './rateStatus';
2
- import { ResourceStatus } from './resourceStatus';
3
- /**
4
- * Data contract for {@link TunnelPort} status.
5
- */
6
- export interface TunnelPortStatus {
7
- /**
8
- * Gets or sets the current value and limit for the number of clients connected to the
9
- * port.
10
- *
11
- * This client connection count does not include non-port-specific connections such as
12
- * SDK and SSH clients. See {@link TunnelStatus.clientConnectionCount} for status of
13
- * those connections. This count also does not include HTTP client connections,
14
- * unless they are upgraded to websockets. HTTP connections are counted per-request
15
- * rather than per-connection: see {@link TunnelPortStatus.httpRequestRate}.
16
- */
17
- clientConnectionCount?: number | ResourceStatus;
18
- /**
19
- * Gets or sets the UTC date time when a client was last connected to the port, or
20
- * null if a client has never connected.
21
- */
22
- lastClientConnectionTime?: Date;
23
- /**
24
- * Gets or sets the current value and limit for the rate of client connections to the
25
- * tunnel port.
26
- *
27
- * This client connection rate does not count non-port-specific connections such as
28
- * SDK and SSH clients. See {@link TunnelStatus.clientConnectionRate} for those
29
- * connection types. This also does not include HTTP connections, unless they are
30
- * upgraded to websockets. HTTP connections are counted per-request rather than
31
- * per-connection: see {@link TunnelPortStatus.httpRequestRate}.
32
- */
33
- clientConnectionRate?: RateStatus;
34
- /**
35
- * Gets or sets the current value and limit for the rate of HTTP requests to the
36
- * tunnel port.
37
- */
38
- httpRequestRate?: RateStatus;
39
- }
1
+ import { RateStatus } from './rateStatus';
2
+ import { ResourceStatus } from './resourceStatus';
3
+ /**
4
+ * Data contract for {@link TunnelPort} status.
5
+ */
6
+ export interface TunnelPortStatus {
7
+ /**
8
+ * Gets or sets the current value and limit for the number of clients connected to the
9
+ * port.
10
+ *
11
+ * This client connection count does not include non-port-specific connections such as
12
+ * SDK and SSH clients. See {@link TunnelStatus.clientConnectionCount} for status of
13
+ * those connections. This count also does not include HTTP client connections,
14
+ * unless they are upgraded to websockets. HTTP connections are counted per-request
15
+ * rather than per-connection: see {@link TunnelPortStatus.httpRequestRate}.
16
+ */
17
+ clientConnectionCount?: number | ResourceStatus;
18
+ /**
19
+ * Gets or sets the UTC date time when a client was last connected to the port, or
20
+ * null if a client has never connected.
21
+ */
22
+ lastClientConnectionTime?: Date;
23
+ /**
24
+ * Gets or sets the current value and limit for the rate of client connections to the
25
+ * tunnel port.
26
+ *
27
+ * This client connection rate does not count non-port-specific connections such as
28
+ * SDK and SSH clients. See {@link TunnelStatus.clientConnectionRate} for those
29
+ * connection types. This also does not include HTTP connections, unless they are
30
+ * upgraded to websockets. HTTP connections are counted per-request rather than
31
+ * per-connection: see {@link TunnelPortStatus.httpRequestRate}.
32
+ */
33
+ clientConnectionRate?: RateStatus;
34
+ /**
35
+ * Gets or sets the current value and limit for the rate of HTTP requests to the
36
+ * tunnel port.
37
+ */
38
+ httpRequestRate?: RateStatus;
39
+ }
40
40
  //# sourceMappingURL=tunnelPortStatus.d.ts.map
@@ -1,7 +1,7 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- // Generated from ../../../cs/src/Contracts/TunnelPortStatus.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/TunnelPortStatus.cs
5
+ /* eslint-disable */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  //# sourceMappingURL=tunnelPortStatus.js.map
@@ -1,34 +1,34 @@
1
- /**
2
- * Defines possible values for the protocol of a {@link TunnelPort}.
3
- */
4
- export declare enum TunnelProtocol {
5
- /**
6
- * The protocol is automatically detected. (TODO: Define detection semantics.)
7
- */
8
- Auto = "auto",
9
- /**
10
- * Unknown TCP protocol.
11
- */
12
- Tcp = "tcp",
13
- /**
14
- * Unknown UDP protocol.
15
- */
16
- Udp = "udp",
17
- /**
18
- * SSH protocol.
19
- */
20
- Ssh = "ssh",
21
- /**
22
- * Remote desktop protocol.
23
- */
24
- Rdp = "rdp",
25
- /**
26
- * HTTP protocol.
27
- */
28
- Http = "http",
29
- /**
30
- * HTTPS protocol.
31
- */
32
- Https = "https"
33
- }
1
+ /**
2
+ * Defines possible values for the protocol of a {@link TunnelPort}.
3
+ */
4
+ export declare enum TunnelProtocol {
5
+ /**
6
+ * The protocol is automatically detected. (TODO: Define detection semantics.)
7
+ */
8
+ Auto = "auto",
9
+ /**
10
+ * Unknown TCP protocol.
11
+ */
12
+ Tcp = "tcp",
13
+ /**
14
+ * Unknown UDP protocol.
15
+ */
16
+ Udp = "udp",
17
+ /**
18
+ * SSH protocol.
19
+ */
20
+ Ssh = "ssh",
21
+ /**
22
+ * Remote desktop protocol.
23
+ */
24
+ Rdp = "rdp",
25
+ /**
26
+ * HTTP protocol.
27
+ */
28
+ Http = "http",
29
+ /**
30
+ * HTTPS protocol.
31
+ */
32
+ Https = "https"
33
+ }
34
34
  //# sourceMappingURL=tunnelProtocol.d.ts.map
package/tunnelProtocol.js CHANGED
@@ -1,42 +1,42 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- // Generated from ../../../cs/src/Contracts/TunnelProtocol.cs
5
- /* eslint-disable */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.TunnelProtocol = void 0;
8
- /**
9
- * Defines possible values for the protocol of a {@link TunnelPort}.
10
- */
11
- var TunnelProtocol;
12
- (function (TunnelProtocol) {
13
- /**
14
- * The protocol is automatically detected. (TODO: Define detection semantics.)
15
- */
16
- TunnelProtocol["Auto"] = "auto";
17
- /**
18
- * Unknown TCP protocol.
19
- */
20
- TunnelProtocol["Tcp"] = "tcp";
21
- /**
22
- * Unknown UDP protocol.
23
- */
24
- TunnelProtocol["Udp"] = "udp";
25
- /**
26
- * SSH protocol.
27
- */
28
- TunnelProtocol["Ssh"] = "ssh";
29
- /**
30
- * Remote desktop protocol.
31
- */
32
- TunnelProtocol["Rdp"] = "rdp";
33
- /**
34
- * HTTP protocol.
35
- */
36
- TunnelProtocol["Http"] = "http";
37
- /**
38
- * HTTPS protocol.
39
- */
40
- TunnelProtocol["Https"] = "https";
41
- })(TunnelProtocol = exports.TunnelProtocol || (exports.TunnelProtocol = {}));
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ // Generated from ../../../cs/src/Contracts/TunnelProtocol.cs
5
+ /* eslint-disable */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.TunnelProtocol = void 0;
8
+ /**
9
+ * Defines possible values for the protocol of a {@link TunnelPort}.
10
+ */
11
+ var TunnelProtocol;
12
+ (function (TunnelProtocol) {
13
+ /**
14
+ * The protocol is automatically detected. (TODO: Define detection semantics.)
15
+ */
16
+ TunnelProtocol["Auto"] = "auto";
17
+ /**
18
+ * Unknown TCP protocol.
19
+ */
20
+ TunnelProtocol["Tcp"] = "tcp";
21
+ /**
22
+ * Unknown UDP protocol.
23
+ */
24
+ TunnelProtocol["Udp"] = "udp";
25
+ /**
26
+ * SSH protocol.
27
+ */
28
+ TunnelProtocol["Ssh"] = "ssh";
29
+ /**
30
+ * Remote desktop protocol.
31
+ */
32
+ TunnelProtocol["Rdp"] = "rdp";
33
+ /**
34
+ * HTTP protocol.
35
+ */
36
+ TunnelProtocol["Http"] = "http";
37
+ /**
38
+ * HTTPS protocol.
39
+ */
40
+ TunnelProtocol["Https"] = "https";
41
+ })(TunnelProtocol = exports.TunnelProtocol || (exports.TunnelProtocol = {}));
42
42
  //# sourceMappingURL=tunnelProtocol.js.map
@@ -1,15 +1,15 @@
1
- import { TunnelEndpoint } from './tunnelEndpoint';
2
- /**
3
- * Parameters for connecting to a tunnel via the tunnel service's built-in relay function.
4
- */
5
- export interface TunnelRelayTunnelEndpoint extends TunnelEndpoint {
6
- /**
7
- * Gets or sets the host URI.
8
- */
9
- hostRelayUri?: string;
10
- /**
11
- * Gets or sets the client URI.
12
- */
13
- clientRelayUri?: string;
14
- }
1
+ import { TunnelEndpoint } from './tunnelEndpoint';
2
+ /**
3
+ * Parameters for connecting to a tunnel via the tunnel service's built-in relay function.
4
+ */
5
+ export interface TunnelRelayTunnelEndpoint extends TunnelEndpoint {
6
+ /**
7
+ * Gets or sets the host URI.
8
+ */
9
+ hostRelayUri?: string;
10
+ /**
11
+ * Gets or sets the client URI.
12
+ */
13
+ clientRelayUri?: string;
14
+ }
15
15
  //# sourceMappingURL=tunnelRelayTunnelEndpoint.d.ts.map
@@ -1,7 +1,7 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- // Generated from ../../../cs/src/Contracts/TunnelRelayTunnelEndpoint.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/TunnelRelayTunnelEndpoint.cs
5
+ /* eslint-disable */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  //# sourceMappingURL=tunnelRelayTunnelEndpoint.js.map