@microsoft/dev-tunnels-contracts 1.3.5 → 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.
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 -67
  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
@@ -1,46 +1,46 @@
1
- /**
2
- * Specifies the tunnel progress events that are reported.
3
- */
4
- export declare enum TunnelProgress {
5
- /**
6
- * Starting refresh ports.
7
- */
8
- StartingRefreshPorts = "StartingRefreshPorts",
9
- /**
10
- * Completed refresh ports.
11
- */
12
- CompletedRefreshPorts = "CompletedRefreshPorts",
13
- /**
14
- * Starting request uri for a tunnel service request.
15
- */
16
- StartingRequestUri = "StartingRequestUri",
17
- /**
18
- * Starting request configuration for a tunnel service request.
19
- */
20
- StartingRequestConfig = "StartingRequestConfig",
21
- /**
22
- * Starting to send tunnel service request.
23
- */
24
- StartingSendTunnelRequest = "StartingSendTunnelRequest",
25
- /**
26
- * Completed sending a tunnel service request.
27
- */
28
- CompletedSendTunnelRequest = "CompletedSendTunnelRequest",
29
- /**
30
- * Starting create tunnel port.
31
- */
32
- StartingCreateTunnelPort = "StartingCreateTunnelPort",
33
- /**
34
- * Completed create tunnel port.
35
- */
36
- CompletedCreateTunnelPort = "CompletedCreateTunnelPort",
37
- /**
38
- * Starting get tunnel port.
39
- */
40
- StartingGetTunnelPort = "StartingGetTunnelPort",
41
- /**
42
- * Completed get tunnel port.
43
- */
44
- CompletedGetTunnelPort = "CompletedGetTunnelPort"
45
- }
1
+ /**
2
+ * Specifies the tunnel progress events that are reported.
3
+ */
4
+ export declare enum TunnelProgress {
5
+ /**
6
+ * Starting refresh ports.
7
+ */
8
+ StartingRefreshPorts = "StartingRefreshPorts",
9
+ /**
10
+ * Completed refresh ports.
11
+ */
12
+ CompletedRefreshPorts = "CompletedRefreshPorts",
13
+ /**
14
+ * Starting request uri for a tunnel service request.
15
+ */
16
+ StartingRequestUri = "StartingRequestUri",
17
+ /**
18
+ * Starting request configuration for a tunnel service request.
19
+ */
20
+ StartingRequestConfig = "StartingRequestConfig",
21
+ /**
22
+ * Starting to send tunnel service request.
23
+ */
24
+ StartingSendTunnelRequest = "StartingSendTunnelRequest",
25
+ /**
26
+ * Completed sending a tunnel service request.
27
+ */
28
+ CompletedSendTunnelRequest = "CompletedSendTunnelRequest",
29
+ /**
30
+ * Starting create tunnel port.
31
+ */
32
+ StartingCreateTunnelPort = "StartingCreateTunnelPort",
33
+ /**
34
+ * Completed create tunnel port.
35
+ */
36
+ CompletedCreateTunnelPort = "CompletedCreateTunnelPort",
37
+ /**
38
+ * Starting get tunnel port.
39
+ */
40
+ StartingGetTunnelPort = "StartingGetTunnelPort",
41
+ /**
42
+ * Completed get tunnel port.
43
+ */
44
+ CompletedGetTunnelPort = "CompletedGetTunnelPort"
45
+ }
46
46
  //# sourceMappingURL=tunnelProgress.d.ts.map
package/tunnelProgress.js CHANGED
@@ -1,54 +1,54 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- // Generated from ../../../cs/src/Contracts/TunnelReportProgressEventArgs.cs
5
- /* eslint-disable */
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.TunnelProgress = void 0;
8
- /**
9
- * Specifies the tunnel progress events that are reported.
10
- */
11
- var TunnelProgress;
12
- (function (TunnelProgress) {
13
- /**
14
- * Starting refresh ports.
15
- */
16
- TunnelProgress["StartingRefreshPorts"] = "StartingRefreshPorts";
17
- /**
18
- * Completed refresh ports.
19
- */
20
- TunnelProgress["CompletedRefreshPorts"] = "CompletedRefreshPorts";
21
- /**
22
- * Starting request uri for a tunnel service request.
23
- */
24
- TunnelProgress["StartingRequestUri"] = "StartingRequestUri";
25
- /**
26
- * Starting request configuration for a tunnel service request.
27
- */
28
- TunnelProgress["StartingRequestConfig"] = "StartingRequestConfig";
29
- /**
30
- * Starting to send tunnel service request.
31
- */
32
- TunnelProgress["StartingSendTunnelRequest"] = "StartingSendTunnelRequest";
33
- /**
34
- * Completed sending a tunnel service request.
35
- */
36
- TunnelProgress["CompletedSendTunnelRequest"] = "CompletedSendTunnelRequest";
37
- /**
38
- * Starting create tunnel port.
39
- */
40
- TunnelProgress["StartingCreateTunnelPort"] = "StartingCreateTunnelPort";
41
- /**
42
- * Completed create tunnel port.
43
- */
44
- TunnelProgress["CompletedCreateTunnelPort"] = "CompletedCreateTunnelPort";
45
- /**
46
- * Starting get tunnel port.
47
- */
48
- TunnelProgress["StartingGetTunnelPort"] = "StartingGetTunnelPort";
49
- /**
50
- * Completed get tunnel port.
51
- */
52
- TunnelProgress["CompletedGetTunnelPort"] = "CompletedGetTunnelPort";
53
- })(TunnelProgress = exports.TunnelProgress || (exports.TunnelProgress = {}));
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT license.
4
+ // Generated from ../../../cs/src/Contracts/TunnelReportProgressEventArgs.cs
5
+ /* eslint-disable */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.TunnelProgress = void 0;
8
+ /**
9
+ * Specifies the tunnel progress events that are reported.
10
+ */
11
+ var TunnelProgress;
12
+ (function (TunnelProgress) {
13
+ /**
14
+ * Starting refresh ports.
15
+ */
16
+ TunnelProgress["StartingRefreshPorts"] = "StartingRefreshPorts";
17
+ /**
18
+ * Completed refresh ports.
19
+ */
20
+ TunnelProgress["CompletedRefreshPorts"] = "CompletedRefreshPorts";
21
+ /**
22
+ * Starting request uri for a tunnel service request.
23
+ */
24
+ TunnelProgress["StartingRequestUri"] = "StartingRequestUri";
25
+ /**
26
+ * Starting request configuration for a tunnel service request.
27
+ */
28
+ TunnelProgress["StartingRequestConfig"] = "StartingRequestConfig";
29
+ /**
30
+ * Starting to send tunnel service request.
31
+ */
32
+ TunnelProgress["StartingSendTunnelRequest"] = "StartingSendTunnelRequest";
33
+ /**
34
+ * Completed sending a tunnel service request.
35
+ */
36
+ TunnelProgress["CompletedSendTunnelRequest"] = "CompletedSendTunnelRequest";
37
+ /**
38
+ * Starting create tunnel port.
39
+ */
40
+ TunnelProgress["StartingCreateTunnelPort"] = "StartingCreateTunnelPort";
41
+ /**
42
+ * Completed create tunnel port.
43
+ */
44
+ TunnelProgress["CompletedCreateTunnelPort"] = "CompletedCreateTunnelPort";
45
+ /**
46
+ * Starting get tunnel port.
47
+ */
48
+ TunnelProgress["StartingGetTunnelPort"] = "StartingGetTunnelPort";
49
+ /**
50
+ * Completed get tunnel port.
51
+ */
52
+ TunnelProgress["CompletedGetTunnelPort"] = "CompletedGetTunnelPort";
53
+ })(TunnelProgress = exports.TunnelProgress || (exports.TunnelProgress = {}));
54
54
  //# sourceMappingURL=tunnelProgress.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
@@ -1,16 +1,16 @@
1
- /**
2
- * Event args for the tunnel report progress event.
3
- */
4
- export interface TunnelReportProgressEventArgs {
5
- /**
6
- * Specifies the progress event that is being reported. See {@link TunnelProgress} and
7
- * Ssh.Progress for a description of the different progress events that can be
8
- * reported.
9
- */
10
- progress: string;
11
- /**
12
- * The session number associated with an SSH session progress event.
13
- */
14
- sessionNumber?: number;
15
- }
1
+ /**
2
+ * Event args for the tunnel report progress event.
3
+ */
4
+ export interface TunnelReportProgressEventArgs {
5
+ /**
6
+ * Specifies the progress event that is being reported. See {@link TunnelProgress} and
7
+ * Ssh.Progress for a description of the different progress events that can be
8
+ * reported.
9
+ */
10
+ progress: string;
11
+ /**
12
+ * The session number associated with an SSH session progress event.
13
+ */
14
+ sessionNumber?: number;
15
+ }
16
16
  //# sourceMappingURL=tunnelReportProgressEventArgs.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/TunnelReportProgressEventArgs.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/TunnelReportProgressEventArgs.cs
5
+ /* eslint-disable */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  //# sourceMappingURL=tunnelReportProgressEventArgs.js.map
@@ -1,107 +1,108 @@
1
- /**
2
- * Provides environment-dependent properties about the service.
3
- */
4
- export interface TunnelServiceProperties {
5
- /**
6
- * Gets the base URI of the service.
7
- */
8
- serviceUri: string;
9
- /**
10
- * Gets the public AAD AppId for the service.
11
- *
12
- * Clients specify this AppId as the audience property when authenticating to the
13
- * service.
14
- */
15
- serviceAppId: string;
16
- /**
17
- * Gets the internal AAD AppId for the service.
18
- *
19
- * Other internal services specify this AppId as the audience property when
20
- * authenticating to the tunnel service. Production services must be in the AME tenant
21
- * to use this appid.
22
- */
23
- serviceInternalAppId: string;
24
- /**
25
- * Gets the client ID for the service's GitHub app.
26
- *
27
- * Clients apps that authenticate tunnel users with GitHub specify this as the client
28
- * ID when requesting a user token.
29
- */
30
- gitHubAppClientId: string;
31
- }
32
- /**
33
- * Global DNS name of the production tunnel service.
34
- */
35
- export declare const prodDnsName = "global.rel.tunnels.api.visualstudio.com";
36
- /**
37
- * Global DNS name of the pre-production tunnel service.
38
- */
39
- export declare const ppeDnsName = "global.rel.tunnels.ppe.api.visualstudio.com";
40
- /**
41
- * Global DNS name of the development tunnel service.
42
- */
43
- export declare const devDnsName = "global.ci.tunnels.dev.api.visualstudio.com";
44
- /**
45
- * First-party app ID: `Visual Studio Tunnel Service`
46
- *
47
- * Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
48
- * in the PROD service environment.
49
- */
50
- export declare const prodFirstPartyAppId = "46da2f7e-b5ef-422a-88d4-2a7f9de6a0b2";
51
- /**
52
- * First-party app ID: `Visual Studio Tunnel Service - Test`
53
- *
54
- * Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
55
- * in the PPE service environments.
56
- */
57
- export declare const ppeFirstPartyAppId = "54c45752-bacd-424a-b928-652f3eca2b18";
58
- /**
59
- * First-party app ID: `DEV-VSTunnels`
60
- *
61
- * Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
62
- * in the DEV service environment
63
- */
64
- export declare const devFirstPartyAppId = "9c63851a-ba2b-40a5-94bd-890be43b9284";
65
- /**
66
- * Third-party app ID: `tunnels-prod-app-sp`
67
- *
68
- * Used for authenticating internal AAD service principals in the AME tenant, in the PROD
69
- * service environment.
70
- */
71
- export declare const prodThirdPartyAppId = "ce65d243-a913-4cae-a7dd-cb52e9f77647";
72
- /**
73
- * Third-party app ID: `tunnels-ppe-app-sp`
74
- *
75
- * Used for authenticating internal AAD service principals in the AME tenant, in the PPE
76
- * service environment.
77
- */
78
- export declare const ppeThirdPartyAppId = "544167a6-f431-4518-aac6-2fd50071928e";
79
- /**
80
- * Third-party app ID: `tunnels-dev-app-sp`
81
- *
82
- * Used for authenticating internal AAD service principals in the corp tenant (not AME!),
83
- * in the DEV service environment.
84
- */
85
- export declare const devThirdPartyAppId = "a118c979-0249-44bb-8f95-eb0457127aeb";
86
- /**
87
- * GitHub App Client ID for 'Visual Studio Tunnel Service'
88
- *
89
- * Used by client apps that authenticate tunnel users with GitHub, in the PROD service
90
- * environment.
91
- */
92
- export declare const prodGitHubAppClientId = "Iv1.e7b89e013f801f03";
93
- /**
94
- * GitHub App Client ID for 'Visual Studio Tunnel Service - Test'
95
- *
96
- * Used by client apps that authenticate tunnel users with GitHub, in the PPE and DEV
97
- * service environments.
98
- */
99
- export declare const nonProdGitHubAppClientId = "Iv1.b231c327f1eaa229";
100
- import { environment } from './tunnelServicePropertiesStatics';
101
- export declare const TunnelServiceProperties: {
102
- production: TunnelServiceProperties;
103
- staging: TunnelServiceProperties;
104
- development: TunnelServiceProperties;
105
- environment: typeof environment;
106
- };
1
+ /**
2
+ * Provides environment-dependent properties about the service.
3
+ */
4
+ export interface TunnelServiceProperties {
5
+ /**
6
+ * Gets the base URI of the service.
7
+ */
8
+ serviceUri: string;
9
+ /**
10
+ * Gets the public AAD AppId for the service.
11
+ *
12
+ * Clients specify this AppId as the audience property when authenticating to the
13
+ * service.
14
+ */
15
+ serviceAppId: string;
16
+ /**
17
+ * Gets the internal AAD AppId for the service.
18
+ *
19
+ * Other internal services specify this AppId as the audience property when
20
+ * authenticating to the tunnel service. Production services must be in the AME tenant
21
+ * to use this appid.
22
+ */
23
+ serviceInternalAppId: string;
24
+ /**
25
+ * Gets the client ID for the service's GitHub app.
26
+ *
27
+ * Clients apps that authenticate tunnel users with GitHub specify this as the client
28
+ * ID when requesting a user token.
29
+ */
30
+ gitHubAppClientId: string;
31
+ }
32
+ /**
33
+ * Global DNS name of the production tunnel service.
34
+ */
35
+ export declare const prodDnsName = "global.rel.tunnels.api.visualstudio.com";
36
+ /**
37
+ * Global DNS name of the pre-production tunnel service.
38
+ */
39
+ export declare const ppeDnsName = "global.rel.tunnels.ppe.api.visualstudio.com";
40
+ /**
41
+ * Global DNS name of the development tunnel service.
42
+ */
43
+ export declare const devDnsName = "global.ci.tunnels.dev.api.visualstudio.com";
44
+ /**
45
+ * First-party app ID: `Visual Studio Tunnel Service`
46
+ *
47
+ * Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
48
+ * in the PROD service environment.
49
+ */
50
+ export declare const prodFirstPartyAppId = "46da2f7e-b5ef-422a-88d4-2a7f9de6a0b2";
51
+ /**
52
+ * First-party app ID: `Visual Studio Tunnel Service - Test`
53
+ *
54
+ * Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
55
+ * in the PPE service environments.
56
+ */
57
+ export declare const ppeFirstPartyAppId = "54c45752-bacd-424a-b928-652f3eca2b18";
58
+ /**
59
+ * Third-party app ID: `DEV-VSTunnelService-3P`
60
+ *
61
+ * Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
62
+ * in the DEV service environment. This is a 3P app registration in the Microsoft corp
63
+ * tenant, replacing the former 1P FPA.
64
+ */
65
+ export declare const devFirstPartyAppId = "906ce216-6f2e-40be-875d-7fe1a9bc288a";
66
+ /**
67
+ * Third-party app ID: `tunnels-prod-app-sp`
68
+ *
69
+ * Used for authenticating internal AAD service principals in the AME tenant, in the PROD
70
+ * service environment.
71
+ */
72
+ export declare const prodThirdPartyAppId = "ce65d243-a913-4cae-a7dd-cb52e9f77647";
73
+ /**
74
+ * Third-party app ID: `tunnels-ppe-app-sp`
75
+ *
76
+ * Used for authenticating internal AAD service principals in the AME tenant, in the PPE
77
+ * service environment.
78
+ */
79
+ export declare const ppeThirdPartyAppId = "544167a6-f431-4518-aac6-2fd50071928e";
80
+ /**
81
+ * Third-party app ID: `tunnels-dev-app-sp`
82
+ *
83
+ * Used for authenticating internal AAD service principals in the corp tenant (not AME!),
84
+ * in the DEV service environment.
85
+ */
86
+ export declare const devThirdPartyAppId = "a118c979-0249-44bb-8f95-eb0457127aeb";
87
+ /**
88
+ * GitHub App Client ID for 'Visual Studio Tunnel Service'
89
+ *
90
+ * Used by client apps that authenticate tunnel users with GitHub, in the PROD service
91
+ * environment.
92
+ */
93
+ export declare const prodGitHubAppClientId = "Iv1.e7b89e013f801f03";
94
+ /**
95
+ * GitHub App Client ID for 'Visual Studio Tunnel Service - Test'
96
+ *
97
+ * Used by client apps that authenticate tunnel users with GitHub, in the PPE and DEV
98
+ * service environments.
99
+ */
100
+ export declare const nonProdGitHubAppClientId = "Iv1.b231c327f1eaa229";
101
+ import { environment } from './tunnelServicePropertiesStatics';
102
+ export declare const TunnelServiceProperties: {
103
+ production: TunnelServiceProperties;
104
+ staging: TunnelServiceProperties;
105
+ development: TunnelServiceProperties;
106
+ environment: typeof environment;
107
+ };
107
108
  //# sourceMappingURL=tunnelServiceProperties.d.ts.map