@microsoft/dev-tunnels-contracts 1.0.7316-gf98d631190
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 -0
- package/clusterDetails.d.ts +20 -0
- package/clusterDetails.d.ts.map +1 -0
- package/clusterDetails.js +7 -0
- package/clusterDetails.js.map +1 -0
- package/index.d.ts +18 -0
- package/index.d.ts.map +1 -0
- package/index.js +22 -0
- package/index.js.map +1 -0
- package/localNetworkTunnelEndpoint.d.ts +21 -0
- package/localNetworkTunnelEndpoint.d.ts.map +1 -0
- package/localNetworkTunnelEndpoint.js +7 -0
- package/localNetworkTunnelEndpoint.js.map +1 -0
- package/package.json +15 -0
- package/problemDetails.d.ts +25 -0
- package/problemDetails.d.ts.map +1 -0
- package/problemDetails.js +7 -0
- package/problemDetails.js.map +1 -0
- package/rateStatus.d.ts +21 -0
- package/rateStatus.d.ts.map +1 -0
- package/rateStatus.js +7 -0
- package/rateStatus.js.map +1 -0
- package/resourceStatus.d.ts +18 -0
- package/resourceStatus.d.ts.map +1 -0
- package/resourceStatus.js +7 -0
- package/resourceStatus.js.map +1 -0
- package/serviceVersionDetails.d.ts +27 -0
- package/serviceVersionDetails.d.ts.map +1 -0
- package/serviceVersionDetails.js +7 -0
- package/serviceVersionDetails.js.map +1 -0
- package/tsbuildinfo.json +1 -0
- package/tunnel.d.ts +79 -0
- package/tunnel.d.ts.map +1 -0
- package/tunnel.js +7 -0
- package/tunnel.js.map +1 -0
- package/tunnelAccessControl.d.ts +28 -0
- package/tunnelAccessControl.d.ts.map +1 -0
- package/tunnelAccessControl.js +14 -0
- package/tunnelAccessControl.js.map +1 -0
- package/tunnelAccessControlEntry.d.ts +80 -0
- package/tunnelAccessControlEntry.d.ts.map +1 -0
- package/tunnelAccessControlEntry.js +40 -0
- package/tunnelAccessControlEntry.js.map +1 -0
- package/tunnelAccessControlEntryType.d.ts +46 -0
- package/tunnelAccessControlEntryType.d.ts.map +1 -0
- package/tunnelAccessControlEntryType.js +54 -0
- package/tunnelAccessControlEntryType.js.map +1 -0
- package/tunnelAccessControlStatics.d.ts +11 -0
- package/tunnelAccessControlStatics.d.ts.map +1 -0
- package/tunnelAccessControlStatics.js +47 -0
- package/tunnelAccessControlStatics.js.map +1 -0
- package/tunnelAccessScopes.d.ts +39 -0
- package/tunnelAccessScopes.d.ts.map +1 -0
- package/tunnelAccessScopes.js +47 -0
- package/tunnelAccessScopes.js.map +1 -0
- package/tunnelAccessSubject.d.ts +40 -0
- package/tunnelAccessSubject.d.ts.map +1 -0
- package/tunnelAccessSubject.js +7 -0
- package/tunnelAccessSubject.js.map +1 -0
- package/tunnelAuthenticationSchemes.d.ts +18 -0
- package/tunnelAuthenticationSchemes.d.ts.map +1 -0
- package/tunnelAuthenticationSchemes.js +26 -0
- package/tunnelAuthenticationSchemes.js.map +1 -0
- package/tunnelConnectionMode.d.ts +20 -0
- package/tunnelConnectionMode.d.ts.map +1 -0
- package/tunnelConnectionMode.js +28 -0
- package/tunnelConnectionMode.js.map +1 -0
- package/tunnelConstraints.d.ts +54 -0
- package/tunnelConstraints.d.ts.map +1 -0
- package/tunnelConstraints.js +62 -0
- package/tunnelConstraints.js.map +1 -0
- package/tunnelEndpoint.d.ts +73 -0
- package/tunnelEndpoint.d.ts.map +1 -0
- package/tunnelEndpoint.js +21 -0
- package/tunnelEndpoint.js.map +1 -0
- package/tunnelEndpointStatics.d.ts +20 -0
- package/tunnelEndpointStatics.d.ts.map +1 -0
- package/tunnelEndpointStatics.js +49 -0
- package/tunnelEndpointStatics.js.map +1 -0
- package/tunnelHeaderNames.d.ts +28 -0
- package/tunnelHeaderNames.d.ts.map +1 -0
- package/tunnelHeaderNames.js +36 -0
- package/tunnelHeaderNames.js.map +1 -0
- package/tunnelOptions.d.ts +12 -0
- package/tunnelOptions.d.ts.map +1 -0
- package/tunnelOptions.js +7 -0
- package/tunnelOptions.js.map +1 -0
- package/tunnelPort.d.ts +71 -0
- package/tunnelPort.d.ts.map +1 -0
- package/tunnelPort.js +7 -0
- package/tunnelPort.js.map +1 -0
- package/tunnelPortStatus.d.ts +40 -0
- package/tunnelPortStatus.d.ts.map +1 -0
- package/tunnelPortStatus.js +7 -0
- package/tunnelPortStatus.js.map +1 -0
- package/tunnelProtocol.d.ts +34 -0
- package/tunnelProtocol.d.ts.map +1 -0
- package/tunnelProtocol.js +42 -0
- package/tunnelProtocol.js.map +1 -0
- package/tunnelRelayTunnelEndpoint.d.ts +15 -0
- package/tunnelRelayTunnelEndpoint.d.ts.map +1 -0
- package/tunnelRelayTunnelEndpoint.js +7 -0
- package/tunnelRelayTunnelEndpoint.js.map +1 -0
- package/tunnelServiceProperties.d.ts +100 -0
- package/tunnelServiceProperties.d.ts.map +1 -0
- package/tunnelServiceProperties.js +78 -0
- package/tunnelServiceProperties.js.map +1 -0
- package/tunnelServicePropertiesStatics.d.ts +18 -0
- package/tunnelServicePropertiesStatics.d.ts.map +1 -0
- package/tunnelServicePropertiesStatics.js +56 -0
- package/tunnelServicePropertiesStatics.js.map +1 -0
- package/tunnelStatus.d.ts +67 -0
- package/tunnelStatus.d.ts.map +1 -0
- package/tunnelStatus.js +7 -0
- package/tunnelStatus.js.map +1 -0
package/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Details of a tunneling service cluster. Each cluster represents an instance of the
|
|
3
|
+
* tunneling service running in a particular Azure region. New tunnels are created in the
|
|
4
|
+
* current region unless otherwise specified.
|
|
5
|
+
*/
|
|
6
|
+
export interface ClusterDetails {
|
|
7
|
+
/**
|
|
8
|
+
* A cluster identifier based on its region.
|
|
9
|
+
*/
|
|
10
|
+
clusterId: string;
|
|
11
|
+
/**
|
|
12
|
+
* The URI of the service cluster.
|
|
13
|
+
*/
|
|
14
|
+
uri: string;
|
|
15
|
+
/**
|
|
16
|
+
* The Azure location of the cluster.
|
|
17
|
+
*/
|
|
18
|
+
azureLocation: string;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=clusterDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clusterDetails.d.ts","sourceRoot":"","sources":["../../../src/contracts/clusterDetails.ts"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;CACzB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
// Generated from ../../../cs/src/Contracts/ClusterDetails.cs
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
//# sourceMappingURL=clusterDetails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clusterDetails.js","sourceRoot":"","sources":["../../../src/contracts/clusterDetails.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAClC,6DAA6D;AAC7D,oBAAoB"}
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { Tunnel } from './tunnel';
|
|
2
|
+
export { ProblemDetails } from './problemDetails';
|
|
3
|
+
export { TunnelAccessControl } from './tunnelAccessControl';
|
|
4
|
+
export { TunnelAccessControlEntry } from './tunnelAccessControlEntry';
|
|
5
|
+
export { TunnelAccessControlEntryType } from './tunnelAccessControlEntryType';
|
|
6
|
+
export { TunnelAccessScopes } from './tunnelAccessScopes';
|
|
7
|
+
export { TunnelConnectionMode } from './tunnelConnectionMode';
|
|
8
|
+
export { TunnelEndpoint } from './tunnelEndpoint';
|
|
9
|
+
export { TunnelHeaderNames } from './tunnelHeaderNames';
|
|
10
|
+
export { TunnelOptions } from './tunnelOptions';
|
|
11
|
+
export { TunnelPort } from './tunnelPort';
|
|
12
|
+
export { TunnelPortStatus } from './tunnelPortStatus';
|
|
13
|
+
export { TunnelProtocol } from './tunnelProtocol';
|
|
14
|
+
export { TunnelRelayTunnelEndpoint } from './tunnelRelayTunnelEndpoint';
|
|
15
|
+
export { TunnelServiceProperties } from './tunnelServiceProperties';
|
|
16
|
+
export { TunnelStatus } from './tunnelStatus';
|
|
17
|
+
export { ClusterDetails } from './clusterDetails';
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contracts/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
package/index.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.TunnelServiceProperties = exports.TunnelProtocol = exports.TunnelHeaderNames = exports.TunnelEndpoint = exports.TunnelConnectionMode = exports.TunnelAccessScopes = exports.TunnelAccessControlEntryType = exports.TunnelAccessControl = void 0;
|
|
6
|
+
var tunnelAccessControl_1 = require("./tunnelAccessControl");
|
|
7
|
+
Object.defineProperty(exports, "TunnelAccessControl", { enumerable: true, get: function () { return tunnelAccessControl_1.TunnelAccessControl; } });
|
|
8
|
+
var tunnelAccessControlEntryType_1 = require("./tunnelAccessControlEntryType");
|
|
9
|
+
Object.defineProperty(exports, "TunnelAccessControlEntryType", { enumerable: true, get: function () { return tunnelAccessControlEntryType_1.TunnelAccessControlEntryType; } });
|
|
10
|
+
var tunnelAccessScopes_1 = require("./tunnelAccessScopes");
|
|
11
|
+
Object.defineProperty(exports, "TunnelAccessScopes", { enumerable: true, get: function () { return tunnelAccessScopes_1.TunnelAccessScopes; } });
|
|
12
|
+
var tunnelConnectionMode_1 = require("./tunnelConnectionMode");
|
|
13
|
+
Object.defineProperty(exports, "TunnelConnectionMode", { enumerable: true, get: function () { return tunnelConnectionMode_1.TunnelConnectionMode; } });
|
|
14
|
+
var tunnelEndpoint_1 = require("./tunnelEndpoint");
|
|
15
|
+
Object.defineProperty(exports, "TunnelEndpoint", { enumerable: true, get: function () { return tunnelEndpoint_1.TunnelEndpoint; } });
|
|
16
|
+
var tunnelHeaderNames_1 = require("./tunnelHeaderNames");
|
|
17
|
+
Object.defineProperty(exports, "TunnelHeaderNames", { enumerable: true, get: function () { return tunnelHeaderNames_1.TunnelHeaderNames; } });
|
|
18
|
+
var tunnelProtocol_1 = require("./tunnelProtocol");
|
|
19
|
+
Object.defineProperty(exports, "TunnelProtocol", { enumerable: true, get: function () { return tunnelProtocol_1.TunnelProtocol; } });
|
|
20
|
+
var tunnelServiceProperties_1 = require("./tunnelServiceProperties");
|
|
21
|
+
Object.defineProperty(exports, "TunnelServiceProperties", { enumerable: true, get: function () { return tunnelServiceProperties_1.TunnelServiceProperties; } });
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
package/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/contracts/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAIlC,6DAA4D;AAAnD,0HAAA,mBAAmB,OAAA;AAE5B,+EAA8E;AAArE,4IAAA,4BAA4B,OAAA;AACrC,2DAA0D;AAAjD,wHAAA,kBAAkB,OAAA;AAC3B,+DAA8D;AAArD,4HAAA,oBAAoB,OAAA;AAC7B,mDAAkD;AAAzC,gHAAA,cAAc,OAAA;AACvB,yDAAwD;AAA/C,sHAAA,iBAAiB,OAAA;AAI1B,mDAAkD;AAAzC,gHAAA,cAAc,OAAA;AAEvB,qEAAoE;AAA3D,kIAAA,uBAAuB,OAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { TunnelEndpoint } from './tunnelEndpoint';
|
|
2
|
+
/**
|
|
3
|
+
* Parameters for connecting to a tunnel via a local network connection.
|
|
4
|
+
*
|
|
5
|
+
* While a direct connection is technically not "tunneling", tunnel hosts may accept
|
|
6
|
+
* connections via the local network as an optional more-efficient alternative to a relay.
|
|
7
|
+
*/
|
|
8
|
+
export interface LocalNetworkTunnelEndpoint extends TunnelEndpoint {
|
|
9
|
+
/**
|
|
10
|
+
* Gets or sets a list of IP endpoints where the host may accept connections.
|
|
11
|
+
*
|
|
12
|
+
* A host may accept connections on multiple IP endpoints simultaneously if there are
|
|
13
|
+
* multiple network interfaces on the host system and/or if the host supports both
|
|
14
|
+
* IPv4 and IPv6. Each item in the list is a URI consisting of a scheme (which gives
|
|
15
|
+
* an indication of the network connection protocol), an IP address (IPv4 or IPv6) and
|
|
16
|
+
* a port number. The URIs do not typically include any paths, because the connection
|
|
17
|
+
* is not normally HTTP-based.
|
|
18
|
+
*/
|
|
19
|
+
hostEndpoints: string[];
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=localNetworkTunnelEndpoint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"localNetworkTunnelEndpoint.d.ts","sourceRoot":"","sources":["../../../src/contracts/localNetworkTunnelEndpoint.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD;;;;;GAKG;AACH,MAAM,WAAW,0BAA2B,SAAQ,cAAc;IAC9D;;;;;;;;;OASG;IACH,aAAa,EAAE,MAAM,EAAE,CAAC;CAC3B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
// Generated from ../../../cs/src/Contracts/LocalNetworkTunnelEndpoint.cs
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
//# sourceMappingURL=localNetworkTunnelEndpoint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"localNetworkTunnelEndpoint.js","sourceRoot":"","sources":["../../../src/contracts/localNetworkTunnelEndpoint.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAClC,yEAAyE;AACzE,oBAAoB"}
|
package/package.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@microsoft/dev-tunnels-contracts",
|
|
3
|
+
"version": "1.0.7316-gf98d631190",
|
|
4
|
+
"description": "Tunnels library for Visual Studio tools",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"Tunnels"
|
|
7
|
+
],
|
|
8
|
+
"dependencies": {
|
|
9
|
+
"buffer": "^5.2.1",
|
|
10
|
+
"debug": "^4.1.1",
|
|
11
|
+
"vscode-jsonrpc": "^4.0.0"
|
|
12
|
+
},
|
|
13
|
+
"author": "Microsoft",
|
|
14
|
+
"main": "./index.js"
|
|
15
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Structure of error details returned by the tunnel service, including validation errors.
|
|
3
|
+
*
|
|
4
|
+
* This object may be returned with a response status code of 400 (or other 4xx code). It
|
|
5
|
+
* is compatible with RFC 7807 Problem Details (https://tools.ietf.org/html/rfc7807) and
|
|
6
|
+
* https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.problemdetails but
|
|
7
|
+
* doesn't require adding a dependency on that package.
|
|
8
|
+
*/
|
|
9
|
+
export interface ProblemDetails {
|
|
10
|
+
/**
|
|
11
|
+
* Gets or sets the error title.
|
|
12
|
+
*/
|
|
13
|
+
title?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets the error detail.
|
|
16
|
+
*/
|
|
17
|
+
detail?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets additional details about individual request properties.
|
|
20
|
+
*/
|
|
21
|
+
errors?: {
|
|
22
|
+
[property: string]: string[];
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=problemDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"problemDetails.d.ts","sourceRoot":"","sources":["../../../src/contracts/problemDetails.ts"],"names":[],"mappings":"AAKA;;;;;;;GAOG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE;QAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;KAAE,CAAC;CAC7C"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
// Generated from ../../../cs/src/Contracts/ProblemDetails.cs
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
//# sourceMappingURL=problemDetails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"problemDetails.js","sourceRoot":"","sources":["../../../src/contracts/problemDetails.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAClC,6DAA6D;AAC7D,oBAAoB"}
|
package/rateStatus.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ResourceStatus } from './resourceStatus';
|
|
2
|
+
/**
|
|
3
|
+
* Current value and limit information for a rate-limited operation related to a tunnel or
|
|
4
|
+
* port.
|
|
5
|
+
*/
|
|
6
|
+
export interface RateStatus extends ResourceStatus {
|
|
7
|
+
/**
|
|
8
|
+
* Gets or sets the length of each period, in seconds, over which the rate is
|
|
9
|
+
* measured.
|
|
10
|
+
*
|
|
11
|
+
* For rates that are limited by month (or billing period), this value may represent
|
|
12
|
+
* an estimate, since the actual duration may vary by the calendar.
|
|
13
|
+
*/
|
|
14
|
+
periodSeconds?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Gets or sets the number of seconds until the current measurement period ends and
|
|
17
|
+
* the current rate value resets.
|
|
18
|
+
*/
|
|
19
|
+
resetSeconds?: number;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=rateStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rateStatus.d.ts","sourceRoot":"","sources":["../../../src/contracts/rateStatus.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD;;;GAGG;AACH,MAAM,WAAW,UAAW,SAAQ,cAAc;IAC9C;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB"}
|
package/rateStatus.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
// Generated from ../../../cs/src/Contracts/RateStatus.cs
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
//# sourceMappingURL=rateStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rateStatus.js","sourceRoot":"","sources":["../../../src/contracts/rateStatus.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAClC,yDAAyD;AACzD,oBAAoB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Current value and limit for a limited resource related to a tunnel or tunnel port.
|
|
3
|
+
*/
|
|
4
|
+
export interface ResourceStatus {
|
|
5
|
+
/**
|
|
6
|
+
* Gets or sets the current value.
|
|
7
|
+
*/
|
|
8
|
+
current: number;
|
|
9
|
+
/**
|
|
10
|
+
* Gets or sets the limit enforced by the service, or null if there is no limit.
|
|
11
|
+
*
|
|
12
|
+
* Any requests that would cause the limit to be exceeded may be denied by the
|
|
13
|
+
* service. For HTTP requests, the response is generally a 403 Forbidden status, with
|
|
14
|
+
* details about the limit in the response body.
|
|
15
|
+
*/
|
|
16
|
+
limit?: number;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=resourceStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resourceStatus.d.ts","sourceRoot":"","sources":["../../../src/contracts/resourceStatus.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
// Generated from ../../../cs/src/Contracts/ResourceStatus.cs
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
//# sourceMappingURL=resourceStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resourceStatus.js","sourceRoot":"","sources":["../../../src/contracts/resourceStatus.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAClC,6DAA6D;AAC7D,oBAAoB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Data contract for service version details.
|
|
3
|
+
*/
|
|
4
|
+
export interface ServiceVersionDetails {
|
|
5
|
+
/**
|
|
6
|
+
* Gets or sets the version of the service. E.g. "1.0.6615.53976". The version
|
|
7
|
+
* corresponds to the build number.
|
|
8
|
+
*/
|
|
9
|
+
version?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Gets or sets the commit ID of the service.
|
|
12
|
+
*/
|
|
13
|
+
commitId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets the commit date of the service.
|
|
16
|
+
*/
|
|
17
|
+
commitDate?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets the cluster ID of the service that handled the request.
|
|
20
|
+
*/
|
|
21
|
+
clusterId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Gets or sets the Azure location of the service that handled the request.
|
|
24
|
+
*/
|
|
25
|
+
azureLocation?: string;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=serviceVersionDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceVersionDetails.d.ts","sourceRoot":"","sources":["../../../src/contracts/serviceVersionDetails.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
// Generated from ../../../cs/src/Contracts/ServiceVersionDetails.cs
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
//# sourceMappingURL=serviceVersionDetails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceVersionDetails.js","sourceRoot":"","sources":["../../../src/contracts/serviceVersionDetails.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAClC,oEAAoE;AACpE,oBAAoB"}
|
package/tsbuildinfo.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../src/contracts/clusterDetails.ts","../../../src/contracts/tunnelAccessControlEntryType.ts","../../../src/contracts/tunnelAccessControlEntry.ts","../../../src/contracts/tunnelAccessScopes.ts","../../../src/contracts/tunnelAccessControlStatics.ts","../../../src/contracts/tunnelAccessControl.ts","../../../src/contracts/tunnelConnectionMode.ts","../../../src/contracts/tunnelEndpointStatics.ts","../../../src/contracts/tunnelEndpoint.ts","../../../src/contracts/tunnelOptions.ts","../../../src/contracts/resourceStatus.ts","../../../src/contracts/rateStatus.ts","../../../src/contracts/tunnelPortStatus.ts","../../../src/contracts/tunnelPort.ts","../../../src/contracts/tunnelStatus.ts","../../../src/contracts/tunnel.ts","../../../src/contracts/problemDetails.ts","../../../src/contracts/tunnelHeaderNames.ts","../../../src/contracts/tunnelProtocol.ts","../../../src/contracts/tunnelRelayTunnelEndpoint.ts","../../../src/contracts/tunnelServicePropertiesStatics.ts","../../../src/contracts/tunnelServiceProperties.ts","../../../src/contracts/index.ts","../../../src/contracts/localNetworkTunnelEndpoint.ts","../../../src/contracts/serviceVersionDetails.ts","../../../src/contracts/tunnelAccessSubject.ts","../../../src/contracts/tunnelAuthenticationSchemes.ts","../../../src/contracts/tunnelConstraints.ts","../../../src/contracts/package.json","../../../node_modules/@types/ms/index.d.ts","../../../node_modules/@types/debug/index.d.ts","../../../node_modules/@types/events/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/mocha/index.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/tmp/index.d.ts","../../../node_modules/@types/uuid/interfaces.d.ts","../../../node_modules/@types/uuid/index.d.ts","../../../node_modules/@types/websocket/index.d.ts","../../../node_modules/@types/yargs-parser/index.d.ts","../../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06",{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"51b8b27c21c066bf877646e320bf6a722b80d1ade65e686923cd9d4494aef1ca","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"2c8c5ee58f30e7c944e04ab1fb5506fdbb4dd507c9efa6972cf4b91cec90c503","affectsGlobalScope":true},{"version":"2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"4632665b87204bb1caa8b44d165bce0c50dfab177df5b561b345a567cabacf9a","affectsGlobalScope":true},"864ee1bc7420d9569eda0774206caa5e810c30d8830a05cd07bc07ba87b9c801","443d21e321bf1d982a48478ac024614585eabf4c63c5bf4c50e1eb27adc095de","cb330aff9e7e4eb3e733fa9a44d89831752156afb8528770aec92038ecdd315a","8728dfa2a51932c9cf55afacf1bb36b5a1b60d758de1c12ceb10e27dff857fcd","9a9b952280f724e06d41f986cbb619c64141b533c99e4168d1efa1cb8f503be5","1b8aa2adcf5e395aac7fe20c565ca7c6adf4c59de904db78ec991dd487da5922","3076e0a4e20b1f79fec9c2034368c976972a4386c0aee7895ceb6b26aa5cf7cc","234b3723ccfbcda61a7b08816c51cf18bc14acdeec2ab3a3a23520ceec854f08","507a47ee8f17731d20d4496b5c004bc238e174b6dde891f52edb78996378bda5","6b04389927907f94e12e54bc88c5216f35cdadc4a3f7591180a4fbd8cde7a237","e30b9604ad88bda38348ade33d9be447c291d0a4de06b54f5b308adfb69754f8","8590d60a140b382844fcfdca9c7c143304b47a57a8792b9c5eb88b066cf71612","bbffb9b32829f65f0a7dcfff115b64390b95c519663e399b3375cff10cfa3b16","c26d392cf00cbdb77843e25f5f2bb7d94b5b4347e0dd31058a6819d652625c6e","317eb80f2eec1afb3ef43919c6b906fc26daf237ae8fe19d6660de728ea869a2","73d33737a7abc56f8eef84fd5a71c399d269a98e9fdf3baf9e52679e4ba64a79","5f61640c915438f7719fdb720e4ec4eddbe286618a1096cf2451c5c6d20a8bd7","13311d0ef98707e0143bc141c567bbbbdc63fc0cf63cba359ad4b7a441a375a3","2ddcf13fa2931136aeeee3242d285fcd52f268e76884c772bc0bd0a85fb99e28","f4fde861f1e5761990d8437c0cd8b386139fc06cc75a3f3b5cf9433c9d2f6cf7","3f5742d65f3066795212842bb2843a6bf04c82c2015f5c0827befc43fe801a3a","fef53e7fc161b6c45b6d241c3dec742cbc9040314f9411bee4c0a7b3cf1fb820","79c451e5e4c374b8ff57ea91ae67aa04ef2d286d5f67c6e9309c6f263fb0defc","4f685a8666057b8f48dd0b51409a005a14ddda7541eb152e8ffbe309b8232593","3c6066a8b9f0204b9f9d84b757a1f80be50046f925cb0ff350f14f656386d2ff","37048936de449cacf7eb9b97cfef270a0139027d4c2af619af78c6f8ade12b44","718a6f8e60d947b1a2262e1faff17ca69b26345638aa335e0be2121eacd9e547",{"version":"57516a1e22ac78c56e83a1be447e38a43de1407cea88614b2ebf4a963cf2746f","affectsGlobalScope":true},"4feaf2af651e7fbfb05afdf5f357b17a300732da825af2daf362867e7b1c6783","6a9c5127096b35264eb7cd21b2417bfc1d42cceca9ba4ce2bb0c3410b7816042","78828b06c0d3b586954015e9ebde5480b009e166c71244763bda328ec0920f41","400db42c3a46984118bff14260d60cec580057dc1ab4c2d7310beb643e4f5935","0359682c54e487c4cab2b53b2b4d35cc8dea4d9914bc6abcdb5701f8b8e745a4",{"version":"c4c03cf65951d980ba618ae9601d10438730803fc9c8a1f7b34af8739981e205","affectsGlobalScope":true},"0ce65cf5b36034006f2b315f379179f07bd5a6027f6538c7aed4ac5be6742fc7",{"version":"23533216d80ee2a361476d23848e89e9e448243efd39c866d7aa45f749e1f10c","affectsGlobalScope":true},"0721418a90edc5fca466672f266ab6de12cb50a9db29998fc58765481a3c82ef","97b39f33e966bcf9762bccdaca76c94825199f3fef153ebea9bdfd3fcd2413b6","029ac7b8f8e02c0932ed881aac7321a65064d6bc84964d8fa3c5ab36f18d8a80","c41eff6b8e1f91104ae974ccd2bc37c723a462b30ca1df942b2c5b0158ef1df3","2e341737e0711c12040e83047487240b1693a6774253b8142d1a0500a805b7a1","e08e97c2865750e880fea09b150a702ccfa84163382daa0221f5597185a554bf","7ec6b45fc1f5f012ac226b44d0eeaf5a0e90947431ad7c6d1f244ba080b2870d","cb9602b051a0cb72e2a77160f95315cd3a51521d79bc53c6baa9e7b9afcaba17","8296198bc72e7ef2221b0e140738ce56004e8d1323cd08b0ac1a15295fe911b5","baeda1fadac9fd31920480b85340ab9c4266a25ad08403dee8e15fd0751101fb","12c4e8e811f4310b0dcaa3d1f843a35dc985f78941886cad4950453ad6753959","c4a89c5697132de27809abfb629c0f0add74b4592405f28af8909830390cab85","31544b63117232151ea2268088a7045a2acda55c091e489053803bfa8ed07bd2","318e46e7f7893360bf389abd8e33259a81a424038163a11493c4f2771e5645fe","a3586135924c800f21f739a1da43acace1acfdba124deb0871cbd6d04d7dfd1b","afe65de64262cec0469be9d7b93e751f52125aacd1ab600fbbd79b829a8e30d7","4ec74fe565d13fd219884cfacf903c89477cc54148887e51c5bead4dae7dc4fd","64bac41b1ecd4578543db0c244addd3fa59ada4cedd6e761cdae0e2fc2e340f2","a46d8aa9e561fb135d253e1657a0cd0f6c18377676305eb0ca28e418358b229c","5a168a15e7a423011b10da472ee3b6d92b27227c192cdaf1e09b30f58806856d","ad107fa472d28e615af522b31653e75caad12b834b257c1a83f6c4acff2de9bf",{"version":"07cfc938dfbb5a7b5ba3c363366db93d5728b0fcad1aa08a12052a1b3b72817a","affectsGlobalScope":true},"7f77304372efe3c9967e5f9ea2061f1b4bf41dc3cda3c83cdd676f2e5af6b7e6","67cf04da598e6407427a17d828e9e02d8f5ae5a8466dc73d1585073b8dc29160","d2df4329291a761edc8ebf536b1ff2179aa8871d55ae65a0bd74a44586a84f3e","140b05c89cbd5fc75c4e9c1780d85dfb4ea73a2b11dd345f8f944afd002ad74f","5019dc3aca34da91b66286bf0e906d229f02d835e68cd99e282cb70aba1b2f97","5b0df2143d96172bf207ed187627e8c58b15a1a8f97bdbc2ede942b36b39fc98","75409a3abea76ea586c6fb7f2e9f1a7dc007140e2d4ee26ab127735c4f9154e4","e4cd1b0962728076cb75389e6afe280342da5258347210ae04665ba9095dc6c4","7df562288f949945cf69c21cd912100c2afedeeb7cdb219085f7f4b46cb7dde4","9d16690485ff1eb4f6fc57aebe237728fd8e03130c460919da3a35f4d9bd97f5","807bf667365224f909aed5111ac8527e8e148f37fc73c61f70c762b920fb62c7","3d87bdaed72f86b91f99401e6e04729afbb5916064778cf324b3d9b51c3a6d91","8ca837d16a31d6d01b13328ca9e6a39e424b4bf294d3b73349dccacea51be730","a9d40247ec6c68a47effbb1d8acd8df288bcee7b6bf29c17cf4161e5ef609a0c","caf38c850b924a0af08a893d06f68fcae3d5a41780b50cc6df9481beeca8e9a3","7152c46a63e7f9ac7db6cd8d4dbf85d90f051a0db60e650573fae576580cbf9a","496370c58ed054e51a68517846c28a695bf84df2873556cca7fe51e297b32420",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"763a53af78c82d989191758ea6e5541deb4724e49c44117dac773832c503e399","e2e10045d93d3b029dcd62784bafb7200d4eb51b1ef6a98b77baa763b9a5e1d3","4116dff2582ecc8645c3a90d26707ec6fd9ede6631f63fb65f11d42806bb47f1","8486ee0cb2ef80c6555941e2e0d081b27e9a07eca9df720c99f001f5220f14b5","6e40a3a87126255d4c1aa4d613923b6e3c5c28273d018a8591af338232f393ab","f7e133b20ee2669b6c0e5d7f0cd510868c57cd64b283e68c7f598e30ce9d76d2","f5eeb7afb84f4e74ed655e5bf5455b7b192ee3d79cc8e869ce854fd5f554d2b5"],"options":{"composite":true,"declaration":true,"declarationMap":true,"experimentalDecorators":true,"module":1,"outDir":"./","rootDir":"../../../src/contracts","sourceMap":true,"strict":true,"stripInternal":true,"target":4,"tsBuildInfoFile":"./tsbuildinfo.json"},"fileIdsList":[[58],[75,82,91],[67,75,82],[91],[73,75,82],[75],[75,91,97],[82,91,97],[75,76,77,82,91,94,97],[77,91,94,97],[63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],[73,75,91],[65],[96],[89,98,100],[82],[88],[75,76,91,100],[107],[75,77,79,82,97,105],[110],[29,30,31,32,34,35,37,38,41,42,43,44,45,46,47,48,50],[37],[39],[34,37,38,42,43],[31,33],[30],[32],[35,36],[34,38,41],[39,40],[49],[50]],"referencedMap":[[59,1],[67,2],[68,3],[71,4],[72,5],[74,6],[75,6],[76,7],[77,8],[78,9],[79,10],[105,11],[80,6],[82,12],[85,13],[86,14],[89,6],[90,15],[91,6],[94,16],[96,16],[97,17],[99,4],[102,18],[103,4],[108,19],[109,20],[111,21],[51,22],[52,23],[40,24],[44,25],[34,26],[31,27],[33,28],[54,27],[37,29],[36,23],[42,30],[41,31],[48,23],[50,32],[49,33],[43,31]],"exportedModulesMap":[[59,1],[67,2],[68,3],[71,4],[72,5],[74,6],[75,6],[76,7],[77,8],[78,9],[79,10],[105,11],[80,6],[82,12],[85,13],[86,14],[89,6],[90,15],[91,6],[94,16],[96,16],[97,17],[99,4],[102,18],[103,4],[108,19],[109,20],[111,21],[51,22],[52,23],[40,24],[44,25],[34,26],[31,27],[33,28],[54,27],[37,29],[36,23],[42,30],[41,31],[48,23],[50,32],[49,33],[43,31]],"semanticDiagnosticsPerFile":[59,60,61,62,58,63,65,66,67,68,69,70,71,72,73,74,75,76,64,104,77,78,79,105,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,106,108,107,109,110,111,6,8,7,2,9,10,11,12,13,14,15,16,3,4,20,17,18,19,21,22,23,5,24,25,26,27,1,28,29,51,52,57,45,40,39,53,44,34,31,30,33,32,54,55,35,56,37,36,46,38,42,41,47,48,50,49,43]},"version":"4.4.2"}
|
package/tunnel.d.ts
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { TunnelAccessControl } from './tunnelAccessControl';
|
|
2
|
+
import { TunnelEndpoint } from './tunnelEndpoint';
|
|
3
|
+
import { TunnelOptions } from './tunnelOptions';
|
|
4
|
+
import { TunnelPort } from './tunnelPort';
|
|
5
|
+
import { TunnelStatus } from './tunnelStatus';
|
|
6
|
+
/**
|
|
7
|
+
* Data contract for tunnel objects managed through the tunnel service REST API.
|
|
8
|
+
*/
|
|
9
|
+
export interface Tunnel {
|
|
10
|
+
/**
|
|
11
|
+
* Gets or sets the ID of the cluster the tunnel was created in.
|
|
12
|
+
*/
|
|
13
|
+
clusterId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets the generated ID of the tunnel, unique within the cluster.
|
|
16
|
+
*/
|
|
17
|
+
tunnelId?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets the optional short name (alias) of the tunnel.
|
|
20
|
+
*
|
|
21
|
+
* The name must be globally unique within the parent domain, and must be a valid
|
|
22
|
+
* subdomain.
|
|
23
|
+
*/
|
|
24
|
+
name?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Gets or sets the description of the tunnel.
|
|
27
|
+
*/
|
|
28
|
+
description?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Gets or sets the tags of the tunnel.
|
|
31
|
+
*/
|
|
32
|
+
tags?: string[];
|
|
33
|
+
/**
|
|
34
|
+
* Gets or sets the optional parent domain of the tunnel, if it is not using the
|
|
35
|
+
* default parent domain.
|
|
36
|
+
*/
|
|
37
|
+
domain?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Gets or sets a dictionary mapping from scopes to tunnel access tokens.
|
|
40
|
+
*/
|
|
41
|
+
accessTokens?: {
|
|
42
|
+
[scope: string]: string;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Gets or sets access control settings for the tunnel.
|
|
46
|
+
*
|
|
47
|
+
* See {@link TunnelAccessControl} documentation for details about the access control
|
|
48
|
+
* model.
|
|
49
|
+
*/
|
|
50
|
+
accessControl?: TunnelAccessControl;
|
|
51
|
+
/**
|
|
52
|
+
* Gets or sets default options for the tunnel.
|
|
53
|
+
*/
|
|
54
|
+
options?: TunnelOptions;
|
|
55
|
+
/**
|
|
56
|
+
* Gets or sets current connection status of the tunnel.
|
|
57
|
+
*/
|
|
58
|
+
status?: TunnelStatus;
|
|
59
|
+
/**
|
|
60
|
+
* Gets or sets an array of endpoints where hosts are currently accepting client
|
|
61
|
+
* connections to the tunnel.
|
|
62
|
+
*/
|
|
63
|
+
endpoints?: TunnelEndpoint[];
|
|
64
|
+
/**
|
|
65
|
+
* Gets or sets a list of ports in the tunnel.
|
|
66
|
+
*
|
|
67
|
+
* This optional property enables getting info about all ports in a tunnel at the same
|
|
68
|
+
* time as getting tunnel info, or creating one or more ports at the same time as
|
|
69
|
+
* creating a tunnel. It is omitted when listing (multiple) tunnels, or when updating
|
|
70
|
+
* tunnel properties. (For the latter, use APIs to create/update/delete individual
|
|
71
|
+
* ports instead.)
|
|
72
|
+
*/
|
|
73
|
+
ports?: TunnelPort[];
|
|
74
|
+
/**
|
|
75
|
+
* Gets or sets the time in UTC of tunnel creation.
|
|
76
|
+
*/
|
|
77
|
+
created?: Date;
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=tunnel.d.ts.map
|
package/tunnel.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tunnel.d.ts","sourceRoot":"","sources":["../../../src/contracts/tunnel.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;GAEG;AACH,MAAM,WAAW,MAAM;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAEhB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,YAAY,CAAC,EAAE;QAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAE3C;;;;;OAKG;IACH,aAAa,CAAC,EAAE,mBAAmB,CAAC;IAEpC;;OAEG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;IAExB;;OAEG;IACH,MAAM,CAAC,EAAE,YAAY,CAAC;IAEtB;;;OAGG;IACH,SAAS,CAAC,EAAE,cAAc,EAAE,CAAC;IAE7B;;;;;;;;OAQG;IACH,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,IAAI,CAAC;CAClB"}
|
package/tunnel.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
// Generated from ../../../cs/src/Contracts/Tunnel.cs
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
//# sourceMappingURL=tunnel.js.map
|
package/tunnel.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tunnel.js","sourceRoot":"","sources":["../../../src/contracts/tunnel.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAClC,qDAAqD;AACrD,oBAAoB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { TunnelAccessControlEntry } from './tunnelAccessControlEntry';
|
|
2
|
+
/**
|
|
3
|
+
* Data contract for access control on a {@link Tunnel} or {@link TunnelPort}.
|
|
4
|
+
*
|
|
5
|
+
* Tunnels and tunnel ports can each optionally have an access-control property set on
|
|
6
|
+
* them. An access-control object contains a list (ACL) of entries (ACEs) that specify the
|
|
7
|
+
* access scopes granted or denied to some subjects. Tunnel ports inherit the ACL from the
|
|
8
|
+
* tunnel, though ports may include ACEs that augment or override the inherited rules.
|
|
9
|
+
* Currently there is no capability to define "roles" for tunnel access (where a role
|
|
10
|
+
* specifies a set of related access scopes), and assign roles to users. That feature may
|
|
11
|
+
* be added in the future. (It should be represented as a separate `RoleAssignments`
|
|
12
|
+
* property on this class.)
|
|
13
|
+
*/
|
|
14
|
+
export interface TunnelAccessControl {
|
|
15
|
+
/**
|
|
16
|
+
* Gets or sets the list of access control entries.
|
|
17
|
+
*
|
|
18
|
+
* The order of entries is significant: later entries override earlier entries that
|
|
19
|
+
* apply to the same subject. However, deny rules are always processed after allow
|
|
20
|
+
* rules, therefore an allow rule cannot override a deny rule for the same subject.
|
|
21
|
+
*/
|
|
22
|
+
entries: TunnelAccessControlEntry[];
|
|
23
|
+
}
|
|
24
|
+
import { validateScopes } from './tunnelAccessControlStatics';
|
|
25
|
+
export declare const TunnelAccessControl: {
|
|
26
|
+
validateScopes: typeof validateScopes;
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=tunnelAccessControl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tunnelAccessControl.d.ts","sourceRoot":"","sources":["../../../src/contracts/tunnelAccessControl.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;;;OAMG;IACH,OAAO,EAAE,wBAAwB,EAAE,CAAC;CACvC;AAID,OAAO,EACH,cAAc,EACjB,MAAM,8BAA8B,CAAC;AAEtC,eAAO,MAAM,mBAAmB;;CAE/B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright (c) Microsoft Corporation.
|
|
3
|
+
// Licensed under the MIT license.
|
|
4
|
+
// Generated from ../../../cs/src/Contracts/TunnelAccessControl.cs
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.TunnelAccessControl = void 0;
|
|
8
|
+
// Import static members from a non-generated file,
|
|
9
|
+
// and re-export them as an object with the same name as the interface.
|
|
10
|
+
const tunnelAccessControlStatics_1 = require("./tunnelAccessControlStatics");
|
|
11
|
+
exports.TunnelAccessControl = {
|
|
12
|
+
validateScopes: tunnelAccessControlStatics_1.validateScopes,
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=tunnelAccessControl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tunnelAccessControl.js","sourceRoot":"","sources":["../../../src/contracts/tunnelAccessControl.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAClC,kEAAkE;AAClE,oBAAoB;;;AA2BpB,mDAAmD;AACnD,uEAAuE;AACvE,6EAEsC;AAEzB,QAAA,mBAAmB,GAAG;IAC/B,cAAc,EAAd,2CAAc;CACjB,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { TunnelAccessControlEntryType } from './tunnelAccessControlEntryType';
|
|
2
|
+
/**
|
|
3
|
+
* Data contract for an access control entry on a {@link Tunnel} or {@link TunnelPort}.
|
|
4
|
+
*
|
|
5
|
+
* An access control entry (ACE) grants or denies one or more access scopes to one or more
|
|
6
|
+
* subjects. Tunnel ports inherit access control entries from their tunnel, and they may
|
|
7
|
+
* have additional port-specific entries that augment or override those access rules.
|
|
8
|
+
*/
|
|
9
|
+
export interface TunnelAccessControlEntry {
|
|
10
|
+
/**
|
|
11
|
+
* Gets or sets the access control entry type.
|
|
12
|
+
*/
|
|
13
|
+
type: TunnelAccessControlEntryType;
|
|
14
|
+
/**
|
|
15
|
+
* Gets or sets the provider of the subjects in this access control entry. The
|
|
16
|
+
* provider impacts how the subject identifiers are resolved and displayed. The
|
|
17
|
+
* provider may be an identity provider such as AAD, or a system or standard such as
|
|
18
|
+
* "ssh" or "ipv4".
|
|
19
|
+
*
|
|
20
|
+
* For user, group, or org ACEs, this value is the name of the identity provider of
|
|
21
|
+
* the user/group/org IDs. It may be one of the well-known provider names in {@link
|
|
22
|
+
* TunnelAccessControlEntry.providers}, or (in the future) a custom identity provider.
|
|
23
|
+
* For public key ACEs, this value is the type of public key, e.g. "ssh". For IP
|
|
24
|
+
* address range ACEs, this value is the IP address version, "ipv4" or "ipv6", or
|
|
25
|
+
* "service-tag" if the range is defined by an Azure service tag. For anonymous ACEs,
|
|
26
|
+
* this value is null.
|
|
27
|
+
*/
|
|
28
|
+
provider?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Gets or sets a value indicating whether this is an access control entry on a tunnel
|
|
31
|
+
* port that is inherited from the tunnel's access control list.
|
|
32
|
+
*/
|
|
33
|
+
isInherited?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Gets or sets a value indicating whether this entry is a deny rule that blocks
|
|
36
|
+
* access to the specified users. Otherwise it is an allow rule.
|
|
37
|
+
*
|
|
38
|
+
* All deny rules (including inherited rules) are processed after all allow rules.
|
|
39
|
+
* Therefore a deny ACE cannot be overridden by an allow ACE that is later in the list
|
|
40
|
+
* or on a more-specific resource. In other words, inherited deny ACEs cannot be
|
|
41
|
+
* overridden.
|
|
42
|
+
*/
|
|
43
|
+
isDeny?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Gets or sets a value indicating whether this entry applies to all subjects that are
|
|
46
|
+
* NOT in the {@link TunnelAccessControlEntry.subjects} list.
|
|
47
|
+
*
|
|
48
|
+
* Examples: an inverse organizations ACE applies to all users who are not members of
|
|
49
|
+
* the listed organization(s); an inverse anonymous ACE applies to all authenticated
|
|
50
|
+
* users; an inverse IP address ranges ACE applies to all clients that are not within
|
|
51
|
+
* any of the listed IP address ranges. The inverse option is often useful in policies
|
|
52
|
+
* in combination with {@link TunnelAccessControlEntry.isDeny}, for example a policy
|
|
53
|
+
* could deny access to users who are not members of an organization or are outside of
|
|
54
|
+
* an IP address range, effectively blocking any tunnels from allowing outside access
|
|
55
|
+
* (because inherited deny ACEs cannot be overridden).
|
|
56
|
+
*/
|
|
57
|
+
isInverse?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Gets or sets an optional organization context for all subjects of this entry. The
|
|
60
|
+
* use and meaning of this value depends on the {@link TunnelAccessControlEntry.type}
|
|
61
|
+
* and {@link TunnelAccessControlEntry.provider} of this entry.
|
|
62
|
+
*
|
|
63
|
+
* For AAD users and group ACEs, this value is the AAD tenant ID. It is not currently
|
|
64
|
+
* used with any other types of ACEs.
|
|
65
|
+
*/
|
|
66
|
+
organization?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Gets or sets the subjects for the entry, such as user or group IDs. The format of
|
|
69
|
+
* the values depends on the {@link TunnelAccessControlEntry.type} and {@link
|
|
70
|
+
* TunnelAccessControlEntry.provider} of this entry.
|
|
71
|
+
*/
|
|
72
|
+
subjects: string[];
|
|
73
|
+
/**
|
|
74
|
+
* Gets or sets the access scopes that this entry grants or denies to the subjects.
|
|
75
|
+
*
|
|
76
|
+
* These must be one or more values from {@link TunnelAccessScopes}.
|
|
77
|
+
*/
|
|
78
|
+
scopes: string[];
|
|
79
|
+
}
|
|
80
|
+
//# sourceMappingURL=tunnelAccessControlEntry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tunnelAccessControlEntry.d.ts","sourceRoot":"","sources":["../../../src/contracts/tunnelAccessControlEntry.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAE9E;;;;;;GAMG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,IAAI,EAAE,4BAA4B,CAAC;IAEnC;;;;;;;;;;;;;OAaG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;;;;;;;;;;OAYG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;;;;;OAOG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,EAAE,CAAC;IAEnB;;;;OAIG;IACH,MAAM,EAAE,MAAM,EAAE,CAAC;CACpB"}
|