@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
package/tunnelAccessScopes.d.ts
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines scopes for tunnel access tokens.
|
|
3
|
-
*
|
|
4
|
-
* A tunnel access token with one or more of these scopes typically also has cluster ID
|
|
5
|
-
* and tunnel ID claims that limit the access scope to a specific tunnel, and may also
|
|
6
|
-
* have one or more port claims that further limit the access to particular ports of the
|
|
7
|
-
* tunnel.
|
|
8
|
-
*/
|
|
9
|
-
export declare enum TunnelAccessScopes {
|
|
10
|
-
/**
|
|
11
|
-
* Allows creating tunnels. This scope is valid only in policies at the global,
|
|
12
|
-
* domain, or organization level; it is not relevant to an already-created tunnel or
|
|
13
|
-
* tunnel port. (Creation of ports requires "manage" or "host" access to the tunnel.)
|
|
14
|
-
*/
|
|
15
|
-
Create = "create",
|
|
16
|
-
/**
|
|
17
|
-
* Allows management operations on tunnels and tunnel ports.
|
|
18
|
-
*/
|
|
19
|
-
Manage = "manage",
|
|
20
|
-
/**
|
|
21
|
-
* Allows management operations on all ports of a tunnel, but does not allow updating
|
|
22
|
-
* any other tunnel properties or deleting the tunnel.
|
|
23
|
-
*/
|
|
24
|
-
ManagePorts = "manage:ports",
|
|
25
|
-
/**
|
|
26
|
-
* Allows accepting connections on tunnels as a host. Includes access to update tunnel
|
|
27
|
-
* endpoints and ports.
|
|
28
|
-
*/
|
|
29
|
-
Host = "host",
|
|
30
|
-
/**
|
|
31
|
-
* Allows inspecting tunnel connection activity and data.
|
|
32
|
-
*/
|
|
33
|
-
Inspect = "inspect",
|
|
34
|
-
/**
|
|
35
|
-
* Allows connecting to tunnels or ports as a client.
|
|
36
|
-
*/
|
|
37
|
-
Connect = "connect"
|
|
38
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Defines scopes for tunnel access tokens.
|
|
3
|
+
*
|
|
4
|
+
* A tunnel access token with one or more of these scopes typically also has cluster ID
|
|
5
|
+
* and tunnel ID claims that limit the access scope to a specific tunnel, and may also
|
|
6
|
+
* have one or more port claims that further limit the access to particular ports of the
|
|
7
|
+
* tunnel.
|
|
8
|
+
*/
|
|
9
|
+
export declare enum TunnelAccessScopes {
|
|
10
|
+
/**
|
|
11
|
+
* Allows creating tunnels. This scope is valid only in policies at the global,
|
|
12
|
+
* domain, or organization level; it is not relevant to an already-created tunnel or
|
|
13
|
+
* tunnel port. (Creation of ports requires "manage" or "host" access to the tunnel.)
|
|
14
|
+
*/
|
|
15
|
+
Create = "create",
|
|
16
|
+
/**
|
|
17
|
+
* Allows management operations on tunnels and tunnel ports.
|
|
18
|
+
*/
|
|
19
|
+
Manage = "manage",
|
|
20
|
+
/**
|
|
21
|
+
* Allows management operations on all ports of a tunnel, but does not allow updating
|
|
22
|
+
* any other tunnel properties or deleting the tunnel.
|
|
23
|
+
*/
|
|
24
|
+
ManagePorts = "manage:ports",
|
|
25
|
+
/**
|
|
26
|
+
* Allows accepting connections on tunnels as a host. Includes access to update tunnel
|
|
27
|
+
* endpoints and ports.
|
|
28
|
+
*/
|
|
29
|
+
Host = "host",
|
|
30
|
+
/**
|
|
31
|
+
* Allows inspecting tunnel connection activity and data.
|
|
32
|
+
*/
|
|
33
|
+
Inspect = "inspect",
|
|
34
|
+
/**
|
|
35
|
+
* Allows connecting to tunnels or ports as a client.
|
|
36
|
+
*/
|
|
37
|
+
Connect = "connect"
|
|
38
|
+
}
|
|
39
39
|
//# sourceMappingURL=tunnelAccessScopes.d.ts.map
|
package/tunnelAccessScopes.js
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT license.
|
|
4
|
-
// Generated from ../../../cs/src/Contracts/TunnelAccessScopes.cs
|
|
5
|
-
/* eslint-disable */
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.TunnelAccessScopes = void 0;
|
|
8
|
-
/**
|
|
9
|
-
* Defines scopes for tunnel access tokens.
|
|
10
|
-
*
|
|
11
|
-
* A tunnel access token with one or more of these scopes typically also has cluster ID
|
|
12
|
-
* and tunnel ID claims that limit the access scope to a specific tunnel, and may also
|
|
13
|
-
* have one or more port claims that further limit the access to particular ports of the
|
|
14
|
-
* tunnel.
|
|
15
|
-
*/
|
|
16
|
-
var TunnelAccessScopes;
|
|
17
|
-
(function (TunnelAccessScopes) {
|
|
18
|
-
/**
|
|
19
|
-
* Allows creating tunnels. This scope is valid only in policies at the global,
|
|
20
|
-
* domain, or organization level; it is not relevant to an already-created tunnel or
|
|
21
|
-
* tunnel port. (Creation of ports requires "manage" or "host" access to the tunnel.)
|
|
22
|
-
*/
|
|
23
|
-
TunnelAccessScopes["Create"] = "create";
|
|
24
|
-
/**
|
|
25
|
-
* Allows management operations on tunnels and tunnel ports.
|
|
26
|
-
*/
|
|
27
|
-
TunnelAccessScopes["Manage"] = "manage";
|
|
28
|
-
/**
|
|
29
|
-
* Allows management operations on all ports of a tunnel, but does not allow updating
|
|
30
|
-
* any other tunnel properties or deleting the tunnel.
|
|
31
|
-
*/
|
|
32
|
-
TunnelAccessScopes["ManagePorts"] = "manage:ports";
|
|
33
|
-
/**
|
|
34
|
-
* Allows accepting connections on tunnels as a host. Includes access to update tunnel
|
|
35
|
-
* endpoints and ports.
|
|
36
|
-
*/
|
|
37
|
-
TunnelAccessScopes["Host"] = "host";
|
|
38
|
-
/**
|
|
39
|
-
* Allows inspecting tunnel connection activity and data.
|
|
40
|
-
*/
|
|
41
|
-
TunnelAccessScopes["Inspect"] = "inspect";
|
|
42
|
-
/**
|
|
43
|
-
* Allows connecting to tunnels or ports as a client.
|
|
44
|
-
*/
|
|
45
|
-
TunnelAccessScopes["Connect"] = "connect";
|
|
46
|
-
})(TunnelAccessScopes = exports.TunnelAccessScopes || (exports.TunnelAccessScopes = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
// Generated from ../../../cs/src/Contracts/TunnelAccessScopes.cs
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.TunnelAccessScopes = void 0;
|
|
8
|
+
/**
|
|
9
|
+
* Defines scopes for tunnel access tokens.
|
|
10
|
+
*
|
|
11
|
+
* A tunnel access token with one or more of these scopes typically also has cluster ID
|
|
12
|
+
* and tunnel ID claims that limit the access scope to a specific tunnel, and may also
|
|
13
|
+
* have one or more port claims that further limit the access to particular ports of the
|
|
14
|
+
* tunnel.
|
|
15
|
+
*/
|
|
16
|
+
var TunnelAccessScopes;
|
|
17
|
+
(function (TunnelAccessScopes) {
|
|
18
|
+
/**
|
|
19
|
+
* Allows creating tunnels. This scope is valid only in policies at the global,
|
|
20
|
+
* domain, or organization level; it is not relevant to an already-created tunnel or
|
|
21
|
+
* tunnel port. (Creation of ports requires "manage" or "host" access to the tunnel.)
|
|
22
|
+
*/
|
|
23
|
+
TunnelAccessScopes["Create"] = "create";
|
|
24
|
+
/**
|
|
25
|
+
* Allows management operations on tunnels and tunnel ports.
|
|
26
|
+
*/
|
|
27
|
+
TunnelAccessScopes["Manage"] = "manage";
|
|
28
|
+
/**
|
|
29
|
+
* Allows management operations on all ports of a tunnel, but does not allow updating
|
|
30
|
+
* any other tunnel properties or deleting the tunnel.
|
|
31
|
+
*/
|
|
32
|
+
TunnelAccessScopes["ManagePorts"] = "manage:ports";
|
|
33
|
+
/**
|
|
34
|
+
* Allows accepting connections on tunnels as a host. Includes access to update tunnel
|
|
35
|
+
* endpoints and ports.
|
|
36
|
+
*/
|
|
37
|
+
TunnelAccessScopes["Host"] = "host";
|
|
38
|
+
/**
|
|
39
|
+
* Allows inspecting tunnel connection activity and data.
|
|
40
|
+
*/
|
|
41
|
+
TunnelAccessScopes["Inspect"] = "inspect";
|
|
42
|
+
/**
|
|
43
|
+
* Allows connecting to tunnels or ports as a client.
|
|
44
|
+
*/
|
|
45
|
+
TunnelAccessScopes["Connect"] = "connect";
|
|
46
|
+
})(TunnelAccessScopes = exports.TunnelAccessScopes || (exports.TunnelAccessScopes = {}));
|
|
47
47
|
//# sourceMappingURL=tunnelAccessScopes.js.map
|
package/tunnelAccessSubject.d.ts
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { TunnelAccessControlEntryType } from './tunnelAccessControlEntryType';
|
|
2
|
-
/**
|
|
3
|
-
* Properties about a subject of a tunnel access control entry (ACE), used when resolving
|
|
4
|
-
* subject names to IDs when creating new ACEs, or formatting subject IDs to names when
|
|
5
|
-
* displaying existing ACEs.
|
|
6
|
-
*/
|
|
7
|
-
export interface TunnelAccessSubject {
|
|
8
|
-
/**
|
|
9
|
-
* Gets or sets the type of subject, e.g. user, group, or organization.
|
|
10
|
-
*/
|
|
11
|
-
type: TunnelAccessControlEntryType;
|
|
12
|
-
/**
|
|
13
|
-
* Gets or sets the subject ID.
|
|
14
|
-
*
|
|
15
|
-
* The ID is typically a guid or integer that is unique within the scope of the
|
|
16
|
-
* identity provider or organization, and never changes for that subject.
|
|
17
|
-
*/
|
|
18
|
-
id?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Gets or sets the subject organization ID, which may be required if an organization
|
|
21
|
-
* is not implied by the authentication context.
|
|
22
|
-
*/
|
|
23
|
-
organizationId?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Gets or sets the partial or full subject name.
|
|
26
|
-
*
|
|
27
|
-
* When resolving a subject name to ID, a partial name may be provided, and the full
|
|
28
|
-
* name is returned if the partial name was successfully resolved. When formatting a
|
|
29
|
-
* subject ID to name, the full name is returned if the ID was found.
|
|
30
|
-
*/
|
|
31
|
-
name?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Gets or sets an array of possible subject matches, if a partial name was provided
|
|
34
|
-
* and did not resolve to a single subject.
|
|
35
|
-
*
|
|
36
|
-
* This property applies only when resolving subject names to IDs.
|
|
37
|
-
*/
|
|
38
|
-
matches?: TunnelAccessSubject[];
|
|
39
|
-
}
|
|
1
|
+
import { TunnelAccessControlEntryType } from './tunnelAccessControlEntryType';
|
|
2
|
+
/**
|
|
3
|
+
* Properties about a subject of a tunnel access control entry (ACE), used when resolving
|
|
4
|
+
* subject names to IDs when creating new ACEs, or formatting subject IDs to names when
|
|
5
|
+
* displaying existing ACEs.
|
|
6
|
+
*/
|
|
7
|
+
export interface TunnelAccessSubject {
|
|
8
|
+
/**
|
|
9
|
+
* Gets or sets the type of subject, e.g. user, group, or organization.
|
|
10
|
+
*/
|
|
11
|
+
type: TunnelAccessControlEntryType;
|
|
12
|
+
/**
|
|
13
|
+
* Gets or sets the subject ID.
|
|
14
|
+
*
|
|
15
|
+
* The ID is typically a guid or integer that is unique within the scope of the
|
|
16
|
+
* identity provider or organization, and never changes for that subject.
|
|
17
|
+
*/
|
|
18
|
+
id?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Gets or sets the subject organization ID, which may be required if an organization
|
|
21
|
+
* is not implied by the authentication context.
|
|
22
|
+
*/
|
|
23
|
+
organizationId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Gets or sets the partial or full subject name.
|
|
26
|
+
*
|
|
27
|
+
* When resolving a subject name to ID, a partial name may be provided, and the full
|
|
28
|
+
* name is returned if the partial name was successfully resolved. When formatting a
|
|
29
|
+
* subject ID to name, the full name is returned if the ID was found.
|
|
30
|
+
*/
|
|
31
|
+
name?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Gets or sets an array of possible subject matches, if a partial name was provided
|
|
34
|
+
* and did not resolve to a single subject.
|
|
35
|
+
*
|
|
36
|
+
* This property applies only when resolving subject names to IDs.
|
|
37
|
+
*/
|
|
38
|
+
matches?: TunnelAccessSubject[];
|
|
39
|
+
}
|
|
40
40
|
//# sourceMappingURL=tunnelAccessSubject.d.ts.map
|
package/tunnelAccessSubject.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/TunnelAccessSubject.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/TunnelAccessSubject.cs
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
//# sourceMappingURL=tunnelAccessSubject.js.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines string constants for authentication schemes supported by tunnel service APIs.
|
|
3
|
-
*/
|
|
4
|
-
export declare enum TunnelAuthenticationSchemes {
|
|
5
|
-
/**
|
|
6
|
-
* Authentication scheme for AAD (or Microsoft account) access tokens.
|
|
7
|
-
*/
|
|
8
|
-
Aad = "aad",
|
|
9
|
-
/**
|
|
10
|
-
* Authentication scheme for GitHub access tokens.
|
|
11
|
-
*/
|
|
12
|
-
GitHub = "github",
|
|
13
|
-
/**
|
|
14
|
-
* Authentication scheme for tunnel access tokens.
|
|
15
|
-
*/
|
|
16
|
-
Tunnel = "tunnel",
|
|
17
|
-
/**
|
|
18
|
-
* Authentication scheme for tunnelPlan access tokens.
|
|
19
|
-
*/
|
|
20
|
-
TunnelPlan = "tunnelplan"
|
|
21
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Defines string constants for authentication schemes supported by tunnel service APIs.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum TunnelAuthenticationSchemes {
|
|
5
|
+
/**
|
|
6
|
+
* Authentication scheme for AAD (or Microsoft account) access tokens.
|
|
7
|
+
*/
|
|
8
|
+
Aad = "aad",
|
|
9
|
+
/**
|
|
10
|
+
* Authentication scheme for GitHub access tokens.
|
|
11
|
+
*/
|
|
12
|
+
GitHub = "github",
|
|
13
|
+
/**
|
|
14
|
+
* Authentication scheme for tunnel access tokens.
|
|
15
|
+
*/
|
|
16
|
+
Tunnel = "tunnel",
|
|
17
|
+
/**
|
|
18
|
+
* Authentication scheme for tunnelPlan access tokens.
|
|
19
|
+
*/
|
|
20
|
+
TunnelPlan = "tunnelplan"
|
|
21
|
+
}
|
|
22
22
|
//# sourceMappingURL=tunnelAuthenticationSchemes.d.ts.map
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT license.
|
|
4
|
-
// Generated from ../../../cs/src/Contracts/TunnelAuthenticationSchemes.cs
|
|
5
|
-
/* eslint-disable */
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.TunnelAuthenticationSchemes = void 0;
|
|
8
|
-
/**
|
|
9
|
-
* Defines string constants for authentication schemes supported by tunnel service APIs.
|
|
10
|
-
*/
|
|
11
|
-
var TunnelAuthenticationSchemes;
|
|
12
|
-
(function (TunnelAuthenticationSchemes) {
|
|
13
|
-
/**
|
|
14
|
-
* Authentication scheme for AAD (or Microsoft account) access tokens.
|
|
15
|
-
*/
|
|
16
|
-
TunnelAuthenticationSchemes["Aad"] = "aad";
|
|
17
|
-
/**
|
|
18
|
-
* Authentication scheme for GitHub access tokens.
|
|
19
|
-
*/
|
|
20
|
-
TunnelAuthenticationSchemes["GitHub"] = "github";
|
|
21
|
-
/**
|
|
22
|
-
* Authentication scheme for tunnel access tokens.
|
|
23
|
-
*/
|
|
24
|
-
TunnelAuthenticationSchemes["Tunnel"] = "tunnel";
|
|
25
|
-
/**
|
|
26
|
-
* Authentication scheme for tunnelPlan access tokens.
|
|
27
|
-
*/
|
|
28
|
-
TunnelAuthenticationSchemes["TunnelPlan"] = "tunnelplan";
|
|
29
|
-
})(TunnelAuthenticationSchemes = exports.TunnelAuthenticationSchemes || (exports.TunnelAuthenticationSchemes = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
// Generated from ../../../cs/src/Contracts/TunnelAuthenticationSchemes.cs
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.TunnelAuthenticationSchemes = void 0;
|
|
8
|
+
/**
|
|
9
|
+
* Defines string constants for authentication schemes supported by tunnel service APIs.
|
|
10
|
+
*/
|
|
11
|
+
var TunnelAuthenticationSchemes;
|
|
12
|
+
(function (TunnelAuthenticationSchemes) {
|
|
13
|
+
/**
|
|
14
|
+
* Authentication scheme for AAD (or Microsoft account) access tokens.
|
|
15
|
+
*/
|
|
16
|
+
TunnelAuthenticationSchemes["Aad"] = "aad";
|
|
17
|
+
/**
|
|
18
|
+
* Authentication scheme for GitHub access tokens.
|
|
19
|
+
*/
|
|
20
|
+
TunnelAuthenticationSchemes["GitHub"] = "github";
|
|
21
|
+
/**
|
|
22
|
+
* Authentication scheme for tunnel access tokens.
|
|
23
|
+
*/
|
|
24
|
+
TunnelAuthenticationSchemes["Tunnel"] = "tunnel";
|
|
25
|
+
/**
|
|
26
|
+
* Authentication scheme for tunnelPlan access tokens.
|
|
27
|
+
*/
|
|
28
|
+
TunnelAuthenticationSchemes["TunnelPlan"] = "tunnelplan";
|
|
29
|
+
})(TunnelAuthenticationSchemes = exports.TunnelAuthenticationSchemes || (exports.TunnelAuthenticationSchemes = {}));
|
|
30
30
|
//# sourceMappingURL=tunnelAuthenticationSchemes.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Specifies the connection protocol / implementation for a tunnel.
|
|
3
|
-
*
|
|
4
|
-
* Depending on the connection mode, hosts or clients might need to use different
|
|
5
|
-
* authentication and connection protocols.
|
|
6
|
-
*/
|
|
7
|
-
export declare enum TunnelConnectionMode {
|
|
8
|
-
/**
|
|
9
|
-
* Connect directly to the host over the local network.
|
|
10
|
-
*
|
|
11
|
-
* While it's technically not "tunneling", this mode may be combined with others to
|
|
12
|
-
* enable choosing the most efficient connection mode available.
|
|
13
|
-
*/
|
|
14
|
-
LocalNetwork = "LocalNetwork",
|
|
15
|
-
/**
|
|
16
|
-
* Use the tunnel service's integrated relay function.
|
|
17
|
-
*/
|
|
18
|
-
TunnelRelay = "TunnelRelay"
|
|
19
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Specifies the connection protocol / implementation for a tunnel.
|
|
3
|
+
*
|
|
4
|
+
* Depending on the connection mode, hosts or clients might need to use different
|
|
5
|
+
* authentication and connection protocols.
|
|
6
|
+
*/
|
|
7
|
+
export declare enum TunnelConnectionMode {
|
|
8
|
+
/**
|
|
9
|
+
* Connect directly to the host over the local network.
|
|
10
|
+
*
|
|
11
|
+
* While it's technically not "tunneling", this mode may be combined with others to
|
|
12
|
+
* enable choosing the most efficient connection mode available.
|
|
13
|
+
*/
|
|
14
|
+
LocalNetwork = "LocalNetwork",
|
|
15
|
+
/**
|
|
16
|
+
* Use the tunnel service's integrated relay function.
|
|
17
|
+
*/
|
|
18
|
+
TunnelRelay = "TunnelRelay"
|
|
19
|
+
}
|
|
20
20
|
//# sourceMappingURL=tunnelConnectionMode.d.ts.map
|
package/tunnelConnectionMode.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT license.
|
|
4
|
-
// Generated from ../../../cs/src/Contracts/TunnelConnectionMode.cs
|
|
5
|
-
/* eslint-disable */
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.TunnelConnectionMode = void 0;
|
|
8
|
-
/**
|
|
9
|
-
* Specifies the connection protocol / implementation for a tunnel.
|
|
10
|
-
*
|
|
11
|
-
* Depending on the connection mode, hosts or clients might need to use different
|
|
12
|
-
* authentication and connection protocols.
|
|
13
|
-
*/
|
|
14
|
-
var TunnelConnectionMode;
|
|
15
|
-
(function (TunnelConnectionMode) {
|
|
16
|
-
/**
|
|
17
|
-
* Connect directly to the host over the local network.
|
|
18
|
-
*
|
|
19
|
-
* While it's technically not "tunneling", this mode may be combined with others to
|
|
20
|
-
* enable choosing the most efficient connection mode available.
|
|
21
|
-
*/
|
|
22
|
-
TunnelConnectionMode["LocalNetwork"] = "LocalNetwork";
|
|
23
|
-
/**
|
|
24
|
-
* Use the tunnel service's integrated relay function.
|
|
25
|
-
*/
|
|
26
|
-
TunnelConnectionMode["TunnelRelay"] = "TunnelRelay";
|
|
27
|
-
})(TunnelConnectionMode = exports.TunnelConnectionMode || (exports.TunnelConnectionMode = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
// Generated from ../../../cs/src/Contracts/TunnelConnectionMode.cs
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.TunnelConnectionMode = void 0;
|
|
8
|
+
/**
|
|
9
|
+
* Specifies the connection protocol / implementation for a tunnel.
|
|
10
|
+
*
|
|
11
|
+
* Depending on the connection mode, hosts or clients might need to use different
|
|
12
|
+
* authentication and connection protocols.
|
|
13
|
+
*/
|
|
14
|
+
var TunnelConnectionMode;
|
|
15
|
+
(function (TunnelConnectionMode) {
|
|
16
|
+
/**
|
|
17
|
+
* Connect directly to the host over the local network.
|
|
18
|
+
*
|
|
19
|
+
* While it's technically not "tunneling", this mode may be combined with others to
|
|
20
|
+
* enable choosing the most efficient connection mode available.
|
|
21
|
+
*/
|
|
22
|
+
TunnelConnectionMode["LocalNetwork"] = "LocalNetwork";
|
|
23
|
+
/**
|
|
24
|
+
* Use the tunnel service's integrated relay function.
|
|
25
|
+
*/
|
|
26
|
+
TunnelConnectionMode["TunnelRelay"] = "TunnelRelay";
|
|
27
|
+
})(TunnelConnectionMode = exports.TunnelConnectionMode || (exports.TunnelConnectionMode = {}));
|
|
28
28
|
//# sourceMappingURL=tunnelConnectionMode.js.map
|