@microsoft/dev-tunnels-contracts 1.3.6 → 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.
- package/README.md +2 -2
- package/clusterDetails.d.ts +19 -19
- package/clusterDetails.js +6 -6
- package/errorCodes.d.ts +17 -17
- package/errorCodes.js +25 -25
- package/errorDetail.d.ts +27 -27
- package/errorDetail.js +6 -6
- package/index.d.ts +24 -24
- package/index.js +29 -29
- package/innerErrorDetail.d.ts +15 -15
- package/innerErrorDetail.js +6 -6
- package/localNetworkTunnelEndpoint.d.ts +20 -20
- package/localNetworkTunnelEndpoint.js +6 -6
- package/namedRateStatus.d.ts +10 -10
- package/namedRateStatus.js +6 -6
- package/package.json +1 -1
- package/problemDetails.d.ts +24 -24
- package/problemDetails.js +6 -6
- package/rateStatus.d.ts +19 -19
- package/rateStatus.js +6 -6
- package/resourceStatus.d.ts +22 -22
- 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 +87 -87
- package/tunnel.js +6 -6
- package/tunnelAccessControl.d.ts +27 -27
- package/tunnelAccessControl.js +13 -13
- package/tunnelAccessControlEntry.d.ts +116 -116
- package/tunnelAccessControlEntry.js +40 -40
- 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 +21 -21
- package/tunnelAuthenticationSchemes.js +29 -29
- package/tunnelConnectionMode.d.ts +19 -19
- package/tunnelConnectionMode.js +27 -27
- package/tunnelConstraints.d.ts +268 -253
- package/tunnelConstraints.d.ts.map +1 -1
- package/tunnelConstraints.js +276 -261
- package/tunnelConstraints.js.map +1 -1
- package/tunnelEndpoint.d.ts +76 -76
- package/tunnelEndpoint.js +20 -20
- package/tunnelEndpointStatics.d.ts +19 -19
- package/tunnelEndpointStatics.js +48 -48
- package/tunnelEvent.d.ts +48 -48
- package/tunnelEvent.js +24 -24
- package/tunnelHeaderNames.d.ts +27 -27
- package/tunnelHeaderNames.js +35 -35
- package/tunnelListByRegion.d.ts +23 -23
- package/tunnelListByRegion.js +6 -6
- package/tunnelListByRegionResponse.d.ts +14 -14
- package/tunnelListByRegionResponse.js +6 -6
- package/tunnelOptions.d.ts +99 -78
- package/tunnelOptions.d.ts.map +1 -1
- package/tunnelOptions.js +6 -6
- package/tunnelPort.d.ts +93 -93
- package/tunnelPort.js +6 -6
- package/tunnelPortListResponse.d.ts +14 -14
- package/tunnelPortListResponse.js +6 -6
- package/tunnelPortStatus.d.ts +39 -39
- package/tunnelPortStatus.js +6 -6
- package/tunnelProgress.d.ts +45 -45
- package/tunnelProgress.js +53 -53
- package/tunnelProtocol.d.ts +33 -33
- package/tunnelProtocol.js +41 -41
- package/tunnelRelayTunnelEndpoint.d.ts +14 -14
- package/tunnelRelayTunnelEndpoint.js +6 -6
- package/tunnelReportProgressEventArgs.d.ts +15 -15
- package/tunnelReportProgressEventArgs.js +6 -6
- package/tunnelServiceProperties.d.ts +107 -106
- package/tunnelServiceProperties.d.ts.map +1 -1
- package/tunnelServiceProperties.js +85 -84
- package/tunnelServiceProperties.js.map +1 -1
- package/tunnelServicePropertiesStatics.d.ts +17 -17
- package/tunnelServicePropertiesStatics.js +55 -55
- package/tunnelStatus.d.ts +100 -100
- package/tunnelStatus.js +6 -6
|
@@ -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
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
|
|
62
|
-
* in the DEV service environment
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
* service
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* service
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
* in the
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tunnelServiceProperties.d.ts","sourceRoot":"","sources":["../../../src/contracts/tunnelServiceProperties.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;;;;OAKG;IACH,iBAAiB,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,4CAA4C,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,UAAU,gDAAgD,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,UAAU,+CAA+C,CAAC;AAEvE;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,yCAAyC,CAAC;AAE1E;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,yCAAyC,CAAC;AAEzE
|
|
1
|
+
{"version":3,"file":"tunnelServiceProperties.d.ts","sourceRoot":"","sources":["../../../src/contracts/tunnelServiceProperties.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;;;;OAKG;IACH,iBAAiB,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,4CAA4C,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,UAAU,gDAAgD,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,UAAU,+CAA+C,CAAC;AAEvE;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,yCAAyC,CAAC;AAE1E;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,yCAAyC,CAAC;AAEzE;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,yCAAyC,CAAC;AAEzE;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,yCAAyC,CAAC;AAE1E;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,yCAAyC,CAAC;AAEzE;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,yCAAyC,CAAC;AAEzE;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,yBAAyB,CAAC;AAE5D;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,yBAAyB,CAAC;AAI/D,OAAO,EAIH,WAAW,EACd,MAAM,kCAAkC,CAAC;AAE1C,eAAO,MAAM,uBAAuB;;;;;CAKnC,CAAC"}
|
|
@@ -1,85 +1,86 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT license.
|
|
4
|
-
// Generated from ../../../cs/src/Contracts/TunnelServiceProperties.cs
|
|
5
|
-
/* eslint-disable */
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.TunnelServiceProperties = exports.nonProdGitHubAppClientId = exports.prodGitHubAppClientId = exports.devThirdPartyAppId = exports.ppeThirdPartyAppId = exports.prodThirdPartyAppId = exports.devFirstPartyAppId = exports.ppeFirstPartyAppId = exports.prodFirstPartyAppId = exports.devDnsName = exports.ppeDnsName = exports.prodDnsName = void 0;
|
|
8
|
-
/**
|
|
9
|
-
* Global DNS name of the production tunnel service.
|
|
10
|
-
*/
|
|
11
|
-
exports.prodDnsName = 'global.rel.tunnels.api.visualstudio.com';
|
|
12
|
-
/**
|
|
13
|
-
* Global DNS name of the pre-production tunnel service.
|
|
14
|
-
*/
|
|
15
|
-
exports.ppeDnsName = 'global.rel.tunnels.ppe.api.visualstudio.com';
|
|
16
|
-
/**
|
|
17
|
-
* Global DNS name of the development tunnel service.
|
|
18
|
-
*/
|
|
19
|
-
exports.devDnsName = 'global.ci.tunnels.dev.api.visualstudio.com';
|
|
20
|
-
/**
|
|
21
|
-
* First-party app ID: `Visual Studio Tunnel Service`
|
|
22
|
-
*
|
|
23
|
-
* Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
|
|
24
|
-
* in the PROD service environment.
|
|
25
|
-
*/
|
|
26
|
-
exports.prodFirstPartyAppId = '46da2f7e-b5ef-422a-88d4-2a7f9de6a0b2';
|
|
27
|
-
/**
|
|
28
|
-
* First-party app ID: `Visual Studio Tunnel Service - Test`
|
|
29
|
-
*
|
|
30
|
-
* Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
|
|
31
|
-
* in the PPE service environments.
|
|
32
|
-
*/
|
|
33
|
-
exports.ppeFirstPartyAppId = '54c45752-bacd-424a-b928-652f3eca2b18';
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
|
|
38
|
-
* in the DEV service environment
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
* service
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* service
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
* in the
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
//
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
// Generated from ../../../cs/src/Contracts/TunnelServiceProperties.cs
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.TunnelServiceProperties = exports.nonProdGitHubAppClientId = exports.prodGitHubAppClientId = exports.devThirdPartyAppId = exports.ppeThirdPartyAppId = exports.prodThirdPartyAppId = exports.devFirstPartyAppId = exports.ppeFirstPartyAppId = exports.prodFirstPartyAppId = exports.devDnsName = exports.ppeDnsName = exports.prodDnsName = void 0;
|
|
8
|
+
/**
|
|
9
|
+
* Global DNS name of the production tunnel service.
|
|
10
|
+
*/
|
|
11
|
+
exports.prodDnsName = 'global.rel.tunnels.api.visualstudio.com';
|
|
12
|
+
/**
|
|
13
|
+
* Global DNS name of the pre-production tunnel service.
|
|
14
|
+
*/
|
|
15
|
+
exports.ppeDnsName = 'global.rel.tunnels.ppe.api.visualstudio.com';
|
|
16
|
+
/**
|
|
17
|
+
* Global DNS name of the development tunnel service.
|
|
18
|
+
*/
|
|
19
|
+
exports.devDnsName = 'global.ci.tunnels.dev.api.visualstudio.com';
|
|
20
|
+
/**
|
|
21
|
+
* First-party app ID: `Visual Studio Tunnel Service`
|
|
22
|
+
*
|
|
23
|
+
* Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
|
|
24
|
+
* in the PROD service environment.
|
|
25
|
+
*/
|
|
26
|
+
exports.prodFirstPartyAppId = '46da2f7e-b5ef-422a-88d4-2a7f9de6a0b2';
|
|
27
|
+
/**
|
|
28
|
+
* First-party app ID: `Visual Studio Tunnel Service - Test`
|
|
29
|
+
*
|
|
30
|
+
* Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
|
|
31
|
+
* in the PPE service environments.
|
|
32
|
+
*/
|
|
33
|
+
exports.ppeFirstPartyAppId = '54c45752-bacd-424a-b928-652f3eca2b18';
|
|
34
|
+
/**
|
|
35
|
+
* Third-party app ID: `DEV-VSTunnelService-3P`
|
|
36
|
+
*
|
|
37
|
+
* Used for authenticating AAD/MSA users, and service principals outside the AME tenant,
|
|
38
|
+
* in the DEV service environment. This is a 3P app registration in the Microsoft corp
|
|
39
|
+
* tenant, replacing the former 1P FPA.
|
|
40
|
+
*/
|
|
41
|
+
exports.devFirstPartyAppId = '906ce216-6f2e-40be-875d-7fe1a9bc288a';
|
|
42
|
+
/**
|
|
43
|
+
* Third-party app ID: `tunnels-prod-app-sp`
|
|
44
|
+
*
|
|
45
|
+
* Used for authenticating internal AAD service principals in the AME tenant, in the PROD
|
|
46
|
+
* service environment.
|
|
47
|
+
*/
|
|
48
|
+
exports.prodThirdPartyAppId = 'ce65d243-a913-4cae-a7dd-cb52e9f77647';
|
|
49
|
+
/**
|
|
50
|
+
* Third-party app ID: `tunnels-ppe-app-sp`
|
|
51
|
+
*
|
|
52
|
+
* Used for authenticating internal AAD service principals in the AME tenant, in the PPE
|
|
53
|
+
* service environment.
|
|
54
|
+
*/
|
|
55
|
+
exports.ppeThirdPartyAppId = '544167a6-f431-4518-aac6-2fd50071928e';
|
|
56
|
+
/**
|
|
57
|
+
* Third-party app ID: `tunnels-dev-app-sp`
|
|
58
|
+
*
|
|
59
|
+
* Used for authenticating internal AAD service principals in the corp tenant (not AME!),
|
|
60
|
+
* in the DEV service environment.
|
|
61
|
+
*/
|
|
62
|
+
exports.devThirdPartyAppId = 'a118c979-0249-44bb-8f95-eb0457127aeb';
|
|
63
|
+
/**
|
|
64
|
+
* GitHub App Client ID for 'Visual Studio Tunnel Service'
|
|
65
|
+
*
|
|
66
|
+
* Used by client apps that authenticate tunnel users with GitHub, in the PROD service
|
|
67
|
+
* environment.
|
|
68
|
+
*/
|
|
69
|
+
exports.prodGitHubAppClientId = 'Iv1.e7b89e013f801f03';
|
|
70
|
+
/**
|
|
71
|
+
* GitHub App Client ID for 'Visual Studio Tunnel Service - Test'
|
|
72
|
+
*
|
|
73
|
+
* Used by client apps that authenticate tunnel users with GitHub, in the PPE and DEV
|
|
74
|
+
* service environments.
|
|
75
|
+
*/
|
|
76
|
+
exports.nonProdGitHubAppClientId = 'Iv1.b231c327f1eaa229';
|
|
77
|
+
// Import static members from a non-generated file,
|
|
78
|
+
// and re-export them as an object with the same name as the interface.
|
|
79
|
+
const tunnelServicePropertiesStatics_1 = require("./tunnelServicePropertiesStatics");
|
|
80
|
+
exports.TunnelServiceProperties = {
|
|
81
|
+
production: tunnelServicePropertiesStatics_1.production,
|
|
82
|
+
staging: tunnelServicePropertiesStatics_1.staging,
|
|
83
|
+
development: tunnelServicePropertiesStatics_1.development,
|
|
84
|
+
environment: tunnelServicePropertiesStatics_1.environment,
|
|
85
|
+
};
|
|
85
86
|
//# sourceMappingURL=tunnelServiceProperties.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tunnelServiceProperties.js","sourceRoot":"","sources":["../../../src/contracts/tunnelServiceProperties.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAClC,sEAAsE;AACtE,oBAAoB;;;AAqCpB;;GAEG;AACU,QAAA,WAAW,GAAG,yCAAyC,CAAC;AAErE;;GAEG;AACU,QAAA,UAAU,GAAG,6CAA6C,CAAC;AAExE;;GAEG;AACU,QAAA,UAAU,GAAG,4CAA4C,CAAC;AAEvE;;;;;GAKG;AACU,QAAA,mBAAmB,GAAG,sCAAsC,CAAC;AAE1E;;;;;GAKG;AACU,QAAA,kBAAkB,GAAG,sCAAsC,CAAC;AAEzE
|
|
1
|
+
{"version":3,"file":"tunnelServiceProperties.js","sourceRoot":"","sources":["../../../src/contracts/tunnelServiceProperties.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAClC,sEAAsE;AACtE,oBAAoB;;;AAqCpB;;GAEG;AACU,QAAA,WAAW,GAAG,yCAAyC,CAAC;AAErE;;GAEG;AACU,QAAA,UAAU,GAAG,6CAA6C,CAAC;AAExE;;GAEG;AACU,QAAA,UAAU,GAAG,4CAA4C,CAAC;AAEvE;;;;;GAKG;AACU,QAAA,mBAAmB,GAAG,sCAAsC,CAAC;AAE1E;;;;;GAKG;AACU,QAAA,kBAAkB,GAAG,sCAAsC,CAAC;AAEzE;;;;;;GAMG;AACU,QAAA,kBAAkB,GAAG,sCAAsC,CAAC;AAEzE;;;;;GAKG;AACU,QAAA,mBAAmB,GAAG,sCAAsC,CAAC;AAE1E;;;;;GAKG;AACU,QAAA,kBAAkB,GAAG,sCAAsC,CAAC;AAEzE;;;;;GAKG;AACU,QAAA,kBAAkB,GAAG,sCAAsC,CAAC;AAEzE;;;;;GAKG;AACU,QAAA,qBAAqB,GAAG,sBAAsB,CAAC;AAE5D;;;;;GAKG;AACU,QAAA,wBAAwB,GAAG,sBAAsB,CAAC;AAE/D,mDAAmD;AACnD,uEAAuE;AACvE,qFAK0C;AAE7B,QAAA,uBAAuB,GAAG;IACnC,UAAU,EAAV,2CAAU;IACV,OAAO,EAAP,wCAAO;IACP,WAAW,EAAX,4CAAW;IACX,WAAW,EAAX,4CAAW;CACd,CAAC"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { TunnelServiceProperties as ITunnelServiceProperties } from './tunnelServiceProperties';
|
|
2
|
-
/**
|
|
3
|
-
* Gets production service properties.
|
|
4
|
-
*/
|
|
5
|
-
export declare const production: ITunnelServiceProperties;
|
|
6
|
-
/**
|
|
7
|
-
* Gets properties for the service in the staging environment (PPE).
|
|
8
|
-
*/
|
|
9
|
-
export declare const staging: ITunnelServiceProperties;
|
|
10
|
-
/**
|
|
11
|
-
* Gets properties for the service in the development environment.
|
|
12
|
-
*/
|
|
13
|
-
export declare const development: ITunnelServiceProperties;
|
|
14
|
-
/**
|
|
15
|
-
* Gets properties for the service in the specified environment.
|
|
16
|
-
*/
|
|
17
|
-
export declare function environment(environmentName: string): ITunnelServiceProperties;
|
|
1
|
+
import { TunnelServiceProperties as ITunnelServiceProperties } from './tunnelServiceProperties';
|
|
2
|
+
/**
|
|
3
|
+
* Gets production service properties.
|
|
4
|
+
*/
|
|
5
|
+
export declare const production: ITunnelServiceProperties;
|
|
6
|
+
/**
|
|
7
|
+
* Gets properties for the service in the staging environment (PPE).
|
|
8
|
+
*/
|
|
9
|
+
export declare const staging: ITunnelServiceProperties;
|
|
10
|
+
/**
|
|
11
|
+
* Gets properties for the service in the development environment.
|
|
12
|
+
*/
|
|
13
|
+
export declare const development: ITunnelServiceProperties;
|
|
14
|
+
/**
|
|
15
|
+
* Gets properties for the service in the specified environment.
|
|
16
|
+
*/
|
|
17
|
+
export declare function environment(environmentName: string): ITunnelServiceProperties;
|
|
18
18
|
//# sourceMappingURL=tunnelServicePropertiesStatics.d.ts.map
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT license.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.environment = exports.development = exports.staging = exports.production = void 0;
|
|
6
|
-
const tunnelServiceProperties_1 = require("./tunnelServiceProperties");
|
|
7
|
-
/**
|
|
8
|
-
* Gets production service properties.
|
|
9
|
-
*/
|
|
10
|
-
exports.production = {
|
|
11
|
-
serviceUri: `https://${tunnelServiceProperties_1.prodDnsName}/`,
|
|
12
|
-
serviceAppId: tunnelServiceProperties_1.prodFirstPartyAppId,
|
|
13
|
-
serviceInternalAppId: tunnelServiceProperties_1.prodThirdPartyAppId,
|
|
14
|
-
gitHubAppClientId: tunnelServiceProperties_1.prodGitHubAppClientId,
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Gets properties for the service in the staging environment (PPE).
|
|
18
|
-
*/
|
|
19
|
-
exports.staging = {
|
|
20
|
-
serviceUri: `https://${tunnelServiceProperties_1.ppeDnsName}/`,
|
|
21
|
-
serviceAppId: tunnelServiceProperties_1.ppeFirstPartyAppId,
|
|
22
|
-
serviceInternalAppId: tunnelServiceProperties_1.ppeThirdPartyAppId,
|
|
23
|
-
gitHubAppClientId: tunnelServiceProperties_1.nonProdGitHubAppClientId,
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* Gets properties for the service in the development environment.
|
|
27
|
-
*/
|
|
28
|
-
exports.development = {
|
|
29
|
-
serviceUri: `https://${tunnelServiceProperties_1.devDnsName}/`,
|
|
30
|
-
serviceAppId: tunnelServiceProperties_1.devFirstPartyAppId,
|
|
31
|
-
serviceInternalAppId: tunnelServiceProperties_1.devThirdPartyAppId,
|
|
32
|
-
gitHubAppClientId: tunnelServiceProperties_1.nonProdGitHubAppClientId,
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Gets properties for the service in the specified environment.
|
|
36
|
-
*/
|
|
37
|
-
function environment(environmentName) {
|
|
38
|
-
if (!environmentName) {
|
|
39
|
-
throw new Error(`Invalid argument: ${environmentName}`);
|
|
40
|
-
}
|
|
41
|
-
switch (environmentName.toLowerCase()) {
|
|
42
|
-
case 'prod':
|
|
43
|
-
case 'production':
|
|
44
|
-
return exports.production;
|
|
45
|
-
case 'ppe':
|
|
46
|
-
case 'preprod':
|
|
47
|
-
return exports.staging;
|
|
48
|
-
case 'dev':
|
|
49
|
-
case 'development':
|
|
50
|
-
return exports.development;
|
|
51
|
-
default:
|
|
52
|
-
throw new Error(`Invalid service environment: ${environmentName}`);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
exports.environment = environment;
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.environment = exports.development = exports.staging = exports.production = void 0;
|
|
6
|
+
const tunnelServiceProperties_1 = require("./tunnelServiceProperties");
|
|
7
|
+
/**
|
|
8
|
+
* Gets production service properties.
|
|
9
|
+
*/
|
|
10
|
+
exports.production = {
|
|
11
|
+
serviceUri: `https://${tunnelServiceProperties_1.prodDnsName}/`,
|
|
12
|
+
serviceAppId: tunnelServiceProperties_1.prodFirstPartyAppId,
|
|
13
|
+
serviceInternalAppId: tunnelServiceProperties_1.prodThirdPartyAppId,
|
|
14
|
+
gitHubAppClientId: tunnelServiceProperties_1.prodGitHubAppClientId,
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Gets properties for the service in the staging environment (PPE).
|
|
18
|
+
*/
|
|
19
|
+
exports.staging = {
|
|
20
|
+
serviceUri: `https://${tunnelServiceProperties_1.ppeDnsName}/`,
|
|
21
|
+
serviceAppId: tunnelServiceProperties_1.ppeFirstPartyAppId,
|
|
22
|
+
serviceInternalAppId: tunnelServiceProperties_1.ppeThirdPartyAppId,
|
|
23
|
+
gitHubAppClientId: tunnelServiceProperties_1.nonProdGitHubAppClientId,
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Gets properties for the service in the development environment.
|
|
27
|
+
*/
|
|
28
|
+
exports.development = {
|
|
29
|
+
serviceUri: `https://${tunnelServiceProperties_1.devDnsName}/`,
|
|
30
|
+
serviceAppId: tunnelServiceProperties_1.devFirstPartyAppId,
|
|
31
|
+
serviceInternalAppId: tunnelServiceProperties_1.devThirdPartyAppId,
|
|
32
|
+
gitHubAppClientId: tunnelServiceProperties_1.nonProdGitHubAppClientId,
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Gets properties for the service in the specified environment.
|
|
36
|
+
*/
|
|
37
|
+
function environment(environmentName) {
|
|
38
|
+
if (!environmentName) {
|
|
39
|
+
throw new Error(`Invalid argument: ${environmentName}`);
|
|
40
|
+
}
|
|
41
|
+
switch (environmentName.toLowerCase()) {
|
|
42
|
+
case 'prod':
|
|
43
|
+
case 'production':
|
|
44
|
+
return exports.production;
|
|
45
|
+
case 'ppe':
|
|
46
|
+
case 'preprod':
|
|
47
|
+
return exports.staging;
|
|
48
|
+
case 'dev':
|
|
49
|
+
case 'development':
|
|
50
|
+
return exports.development;
|
|
51
|
+
default:
|
|
52
|
+
throw new Error(`Invalid service environment: ${environmentName}`);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
exports.environment = environment;
|
|
56
56
|
//# sourceMappingURL=tunnelServicePropertiesStatics.js.map
|