@microsoft/dev-tunnels-contracts 1.0.7319-gfaa93b949c → 1.0.7322

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/dev-tunnels-contracts",
3
- "version": "1.0.7319-gfaa93b949c",
3
+ "version": "1.0.7322",
4
4
  "description": "Tunnels library for Visual Studio tools",
5
5
  "keywords": [
6
6
  "Tunnels"
package/rateStatus.d.ts CHANGED
@@ -13,9 +13,8 @@ export interface RateStatus extends ResourceStatus {
13
13
  */
14
14
  periodSeconds?: number;
15
15
  /**
16
- * Gets or sets the number of seconds until the current measurement period ends and
17
- * the current rate value resets.
16
+ * Gets or sets the unix time when this status will be reset.
18
17
  */
19
- resetSeconds?: number;
18
+ resetTime?: number;
20
19
  }
21
20
  //# sourceMappingURL=rateStatus.d.ts.map
@@ -1 +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"}
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;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB"}
package/tsbuildinfo.json CHANGED
@@ -1 +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"}
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","9ad0f021c92f0682f1ea01654dadf50155d51b8c0c6fd42eb07451ce19991e6d","e30b9604ad88bda38348ade33d9be447c291d0a4de06b54f5b308adfb69754f8","bb8e4f8bce83e9cde8383c0b5bf3a6788985277a4ac4ec6afafb81b5d4a0e1a7","bbffb9b32829f65f0a7dcfff115b64390b95c519663e399b3375cff10cfa3b16","c26d392cf00cbdb77843e25f5f2bb7d94b5b4347e0dd31058a6819d652625c6e","a449833f06f30312ace356d9d72ca991120b34afd18ed46eaeaefdfe8ce082b0","1c1a74e94cab30049b0f6bcc398a9e474e015ce9714a723febf808ba6aa63222","5f61640c915438f7719fdb720e4ec4eddbe286618a1096cf2451c5c6d20a8bd7","7cba2e844ffdee583282eb51796206a44639d99306d52946fb8b04092d498337","2ddcf13fa2931136aeeee3242d285fcd52f268e76884c772bc0bd0a85fb99e28","f4fde861f1e5761990d8437c0cd8b386139fc06cc75a3f3b5cf9433c9d2f6cf7","3f5742d65f3066795212842bb2843a6bf04c82c2015f5c0827befc43fe801a3a","fef53e7fc161b6c45b6d241c3dec742cbc9040314f9411bee4c0a7b3cf1fb820","79c451e5e4c374b8ff57ea91ae67aa04ef2d286d5f67c6e9309c6f263fb0defc","4f685a8666057b8f48dd0b51409a005a14ddda7541eb152e8ffbe309b8232593","3c6066a8b9f0204b9f9d84b757a1f80be50046f925cb0ff350f14f656386d2ff","37048936de449cacf7eb9b97cfef270a0139027d4c2af619af78c6f8ade12b44","718a6f8e60d947b1a2262e1faff17ca69b26345638aa335e0be2121eacd9e547",{"version":"9fe451249ad20ccd55702a32b3e2ccfa2960a8f92cbbe8aaf04db66209cf46c8","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 CHANGED
@@ -75,5 +75,9 @@ export interface Tunnel {
75
75
  * Gets or sets the time in UTC of tunnel creation.
76
76
  */
77
77
  created?: Date;
78
+ /**
79
+ * Gets or the time the tunnel will be deleted if it is not used or updated.
80
+ */
81
+ expiration?: Date;
78
82
  }
79
83
  //# sourceMappingURL=tunnel.d.ts.map
package/tunnel.d.ts.map CHANGED
@@ -1 +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"}
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;IAEf;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC;CACrB"}
@@ -10,11 +10,6 @@ declare namespace TunnelConstraints {
10
10
  * Max length of tunnel cluster ID.
11
11
  */
12
12
  const clusterIdMaxLength: number;
13
- /**
14
- * Characters that are valid in tunnel id. Vowels and 'y' are excluded to avoid
15
- * accidentally generating any random words.
16
- */
17
- const tunnelIdChars: string;
18
13
  /**
19
14
  * Length of tunnel id.
20
15
  */
@@ -28,27 +23,151 @@ declare namespace TunnelConstraints {
28
23
  */
29
24
  const tunnelNameMaxLength: number;
30
25
  /**
31
- * Gets a regular expression that can match or validate tunnel cluster ID strings.
26
+ * Max length of tunnel or port description.
27
+ */
28
+ const descriptionMaxLength: number;
29
+ /**
30
+ * Min length of a single tunnel or port tag.
31
+ */
32
+ const tagMinLength: number;
33
+ /**
34
+ * Max length of a single tunnel or port tag.
35
+ */
36
+ const tagMaxLength: number;
37
+ /**
38
+ * Maximum number of tags that can be applied to a tunnel or port.
39
+ */
40
+ const maxTags: number;
41
+ /**
42
+ * Min length of a tunnel domain.
43
+ */
44
+ const tunnelDomainMinLength: number;
45
+ /**
46
+ * Max length of a tunnel domain.
47
+ */
48
+ const tunnelDomainMaxLength: number;
49
+ /**
50
+ * Maximum number of items allowed in the tunnel ports array. The actual limit on
51
+ * number of ports that can be created may be much lower, and may depend on various
52
+ * resource limitations or policies.
53
+ */
54
+ const tunnelMaxPorts: number;
55
+ /**
56
+ * Maximum number of access control entries (ACEs) in a tunnel or tunnel port access
57
+ * control list (ACL).
58
+ */
59
+ const accessControlMaxEntries: number;
60
+ /**
61
+ * Maximum number of subjects (such as user IDs) in a tunnel or tunnel port access
62
+ * control entry (ACE).
63
+ */
64
+ const accessControlMaxSubjects: number;
65
+ /**
66
+ * Max length of an access control subject or organization ID.
67
+ */
68
+ const accessControlSubjectMaxLength: number;
69
+ /**
70
+ * Max length of an access control subject name, when resolving names to IDs.
71
+ */
72
+ const accessControlSubjectNameMaxLength: number;
73
+ /**
74
+ * Maximum number of scopes in an access control entry.
75
+ */
76
+ const accessControlMaxScopes: number;
77
+ /**
78
+ * Regular expression that can match or validate tunnel cluster ID strings.
79
+ *
80
+ * Cluster IDs are alphanumeric; hyphens are not permitted.
81
+ */
82
+ const clusterIdPattern: string;
83
+ /**
84
+ * Regular expression that can match or validate tunnel cluster ID strings.
32
85
  *
33
86
  * Cluster IDs are alphanumeric; hyphens are not permitted.
34
87
  */
35
88
  const clusterIdRegex: RegExp;
36
89
  /**
37
- * Gets a regular expression that can match or validate tunnel ID strings.
90
+ * Characters that are valid in tunnel IDs. Includes numbers and lowercase letters,
91
+ * excluding vowels and 'y' (to avoid accidentally generating any random words).
92
+ */
93
+ const tunnelIdChars: string;
94
+ /**
95
+ * Regular expression that can match or validate tunnel ID strings.
96
+ *
97
+ * Tunnel IDs are fixed-length and have a limited character set of numbers and
98
+ * lowercase letters (minus vowels and y).
99
+ */
100
+ const tunnelIdPattern: string;
101
+ /**
102
+ * Regular expression that can match or validate tunnel ID strings.
38
103
  *
39
- * Tunnel IDs are fixed-length and have a limited character set of numbers and some
40
- * lowercase letters (minus vowels).
104
+ * Tunnel IDs are fixed-length and have a limited character set of numbers and
105
+ * lowercase letters (minus vowels and y).
41
106
  */
42
107
  const tunnelIdRegex: RegExp;
43
108
  /**
44
- * Gets a regular expression that can match or validate tunnel names.
109
+ * Regular expression that can match or validate tunnel names.
45
110
  *
46
- * Tunnel names are alphanumeric and may contain hyphens.
111
+ * Tunnel names are alphanumeric and may contain hyphens. The pattern also allows an
112
+ * empty string because tunnels may be unnamed.
113
+ */
114
+ const tunnelNamePattern: string;
115
+ /**
116
+ * Regular expression that can match or validate tunnel names.
117
+ *
118
+ * Tunnel names are alphanumeric and may contain hyphens. The pattern also allows an
119
+ * empty string because tunnels may be unnamed.
47
120
  */
48
121
  const tunnelNameRegex: RegExp;
49
122
  /**
50
- * Gets a regular expression that can match or validate tunnel names.
123
+ * Regular expression that can match or validate tunnel or port tags.
124
+ */
125
+ const tagPattern: string;
126
+ /**
127
+ * Regular expression that can match or validate tunnel or port tags.
128
+ */
129
+ const tagRegex: RegExp;
130
+ /**
131
+ * Regular expression that can match or validate tunnel domains.
132
+ *
133
+ * The tunnel service may perform additional contextual validation at the time the
134
+ * domain is registered.
135
+ */
136
+ const tunnelDomainPattern: string;
137
+ /**
138
+ * Regular expression that can match or validate tunnel domains.
139
+ *
140
+ * The tunnel service may perform additional contextual validation at the time the
141
+ * domain is registered.
142
+ */
143
+ const tunnelDomainRegex: RegExp;
144
+ /**
145
+ * Regular expression that can match or validate an access control subject or
146
+ * organization ID.
147
+ *
148
+ * The : and / characters are allowed because subjects may include IP addresses and
149
+ * ranges. The @ character is allowed because MSA subjects may be identified by email
150
+ * address.
151
+ */
152
+ const accessControlSubjectPattern: string;
153
+ /**
154
+ * Regular expression that can match or validate an access control subject or
155
+ * organization ID.
156
+ */
157
+ const accessControlSubjectRegex: RegExp;
158
+ /**
159
+ * Regular expression that can match or validate an access control subject name, when
160
+ * resolving subject names to IDs.
161
+ *
162
+ * Note angle-brackets are only allowed when they wrap an email address as part of a
163
+ * formatted name with email. The service will block any other use of angle-brackets,
164
+ * to avoid any XSS risks.
165
+ */
166
+ const accessControlSubjectNamePattern: string;
167
+ /**
168
+ * Regular expression that can match or validate an access control subject name, when
169
+ * resolving subject names to IDs.
51
170
  */
52
- const tunnelTagRegex: RegExp;
171
+ const accessControlSubjectNameRegex: RegExp;
53
172
  }
54
173
  //# sourceMappingURL=tunnelConstraints.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tunnelConstraints.d.ts","sourceRoot":"","sources":["../../../src/contracts/tunnelConstraints.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,kBAAU,iBAAiB,CAAC;IACxB;;OAEG;IACI,MAAM,kBAAkB,EAAE,MAAU,CAAC;IAE5C;;OAEG;IACI,MAAM,kBAAkB,EAAE,MAAW,CAAC;IAE7C;;;OAGG;IACI,MAAM,aAAa,EAAE,MAAyC,CAAC;IAEtE;;OAEG;IACI,MAAM,cAAc,EAAE,MAAU,CAAC;IAExC;;OAEG;IACI,MAAM,mBAAmB,EAAE,MAAU,CAAC;IAE7C;;OAEG;IACI,MAAM,mBAAmB,EAAE,MAAW,CAAC;IAE9C;;;;OAIG;IACI,MAAM,cAAc,EAAE,MAC0D,CAAC;IAExF;;;;;OAKG;IACI,MAAM,aAAa,EAAE,MACuD,CAAC;IAEpF;;;;OAIG;IACI,MAAM,eAAe,EAAE,MAGd,CAAC;IAEjB;;OAEG;IACI,MAAM,cAAc,EAAE,MAAiC,CAAC;CAClE"}
1
+ {"version":3,"file":"tunnelConstraints.d.ts","sourceRoot":"","sources":["../../../src/contracts/tunnelConstraints.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,kBAAU,iBAAiB,CAAC;IACxB;;OAEG;IACI,MAAM,kBAAkB,EAAE,MAAU,CAAC;IAE5C;;OAEG;IACI,MAAM,kBAAkB,EAAE,MAAW,CAAC;IAE7C;;OAEG;IACI,MAAM,cAAc,EAAE,MAAU,CAAC;IAExC;;OAEG;IACI,MAAM,mBAAmB,EAAE,MAAU,CAAC;IAE7C;;OAEG;IACI,MAAM,mBAAmB,EAAE,MAAW,CAAC;IAE9C;;OAEG;IACI,MAAM,oBAAoB,EAAE,MAAY,CAAC;IAEhD;;OAEG;IACI,MAAM,YAAY,EAAE,MAAU,CAAC;IAEtC;;OAEG;IACI,MAAM,YAAY,EAAE,MAAW,CAAC;IAEvC;;OAEG;IACI,MAAM,OAAO,EAAE,MAAY,CAAC;IAEnC;;OAEG;IACI,MAAM,qBAAqB,EAAE,MAAU,CAAC;IAE/C;;OAEG;IACI,MAAM,qBAAqB,EAAE,MAAY,CAAC;IAEjD;;;;OAIG;IACI,MAAM,cAAc,EAAE,MAAa,CAAC;IAE3C;;;OAGG;IACI,MAAM,uBAAuB,EAAE,MAAW,CAAC;IAElD;;;OAGG;IACI,MAAM,wBAAwB,EAAE,MAAY,CAAC;IAEpD;;OAEG;IACI,MAAM,6BAA6B,EAAE,MAAY,CAAC;IAEzD;;OAEG;IACI,MAAM,iCAAiC,EAAE,MAAY,CAAC;IAE7D;;OAEG;IACI,MAAM,sBAAsB,EAAE,MAAW,CAAC;IAEjD;;;;OAIG;IACI,MAAM,gBAAgB,EAAE,MAA8B,CAAC;IAE9D;;;;OAIG;IACI,MAAM,cAAc,EAAE,MAAuD,CAAC;IAErF;;;OAGG;IACI,MAAM,aAAa,EAAE,MAAyC,CAAC;IAEtE;;;;;OAKG;IACI,MAAM,eAAe,EAAE,MAAuD,CAAC;IAEtF;;;;;OAKG;IACI,MAAM,aAAa,EAAE,MAAsD,CAAC;IAEnF;;;;;OAKG;IACI,MAAM,iBAAiB,EAAE,MAA6C,CAAC;IAE9E;;;;;OAKG;IACI,MAAM,eAAe,EAAE,MAAwD,CAAC;IAEvF;;OAEG;IACI,MAAM,UAAU,EAAE,MAAwB,CAAC;IAElD;;OAEG;IACI,MAAM,QAAQ,EAAE,MAAiD,CAAC;IAEzE;;;;;OAKG;IACI,MAAM,mBAAmB,EAAE,MAA4C,CAAC;IAE/E;;;;;OAKG;IACI,MAAM,iBAAiB,EAAE,MAA0D,CAAC;IAE3F;;;;;;;OAOG;IACI,MAAM,2BAA2B,EAAE,MAAmC,CAAC;IAE9E;;;OAGG;IACI,MAAM,yBAAyB,EAAE,MAAkE,CAAC;IAE3G;;;;;;;OAOG;IACI,MAAM,+BAA+B,EAAE,MAAwC,CAAC;IAEvF;;;OAGG;IACI,MAAM,6BAA6B,EAAE,MAAsE,CAAC;CACtH"}
@@ -16,11 +16,6 @@ var TunnelConstraints;
16
16
  * Max length of tunnel cluster ID.
17
17
  */
18
18
  TunnelConstraints.clusterIdMaxLength = 12;
19
- /**
20
- * Characters that are valid in tunnel id. Vowels and 'y' are excluded to avoid
21
- * accidentally generating any random words.
22
- */
23
- TunnelConstraints.tunnelIdChars = '0123456789bcdfghjklmnpqrstvwxz';
24
19
  /**
25
20
  * Length of tunnel id.
26
21
  */
@@ -34,29 +29,151 @@ var TunnelConstraints;
34
29
  */
35
30
  TunnelConstraints.tunnelNameMaxLength = 60;
36
31
  /**
37
- * Gets a regular expression that can match or validate tunnel cluster ID strings.
32
+ * Max length of tunnel or port description.
33
+ */
34
+ TunnelConstraints.descriptionMaxLength = 400;
35
+ /**
36
+ * Min length of a single tunnel or port tag.
37
+ */
38
+ TunnelConstraints.tagMinLength = 1;
39
+ /**
40
+ * Max length of a single tunnel or port tag.
41
+ */
42
+ TunnelConstraints.tagMaxLength = 50;
43
+ /**
44
+ * Maximum number of tags that can be applied to a tunnel or port.
45
+ */
46
+ TunnelConstraints.maxTags = 100;
47
+ /**
48
+ * Min length of a tunnel domain.
49
+ */
50
+ TunnelConstraints.tunnelDomainMinLength = 4;
51
+ /**
52
+ * Max length of a tunnel domain.
53
+ */
54
+ TunnelConstraints.tunnelDomainMaxLength = 180;
55
+ /**
56
+ * Maximum number of items allowed in the tunnel ports array. The actual limit on
57
+ * number of ports that can be created may be much lower, and may depend on various
58
+ * resource limitations or policies.
59
+ */
60
+ TunnelConstraints.tunnelMaxPorts = 1000;
61
+ /**
62
+ * Maximum number of access control entries (ACEs) in a tunnel or tunnel port access
63
+ * control list (ACL).
64
+ */
65
+ TunnelConstraints.accessControlMaxEntries = 40;
66
+ /**
67
+ * Maximum number of subjects (such as user IDs) in a tunnel or tunnel port access
68
+ * control entry (ACE).
69
+ */
70
+ TunnelConstraints.accessControlMaxSubjects = 100;
71
+ /**
72
+ * Max length of an access control subject or organization ID.
73
+ */
74
+ TunnelConstraints.accessControlSubjectMaxLength = 200;
75
+ /**
76
+ * Max length of an access control subject name, when resolving names to IDs.
77
+ */
78
+ TunnelConstraints.accessControlSubjectNameMaxLength = 200;
79
+ /**
80
+ * Maximum number of scopes in an access control entry.
81
+ */
82
+ TunnelConstraints.accessControlMaxScopes = 10;
83
+ /**
84
+ * Regular expression that can match or validate tunnel cluster ID strings.
85
+ *
86
+ * Cluster IDs are alphanumeric; hyphens are not permitted.
87
+ */
88
+ TunnelConstraints.clusterIdPattern = '[a-z][a-z0-9]{2,11}';
89
+ /**
90
+ * Regular expression that can match or validate tunnel cluster ID strings.
38
91
  *
39
92
  * Cluster IDs are alphanumeric; hyphens are not permitted.
40
93
  */
41
- TunnelConstraints.clusterIdRegex = new RegExp('[a-z][a-z0-9]{' + (TunnelConstraints.clusterIdMinLength - 1) + ',' + (TunnelConstraints.clusterIdMaxLength - 1) + '}');
94
+ TunnelConstraints.clusterIdRegex = new RegExp(TunnelConstraints.clusterIdPattern);
95
+ /**
96
+ * Characters that are valid in tunnel IDs. Includes numbers and lowercase letters,
97
+ * excluding vowels and 'y' (to avoid accidentally generating any random words).
98
+ */
99
+ TunnelConstraints.tunnelIdChars = '0123456789bcdfghjklmnpqrstvwxz';
100
+ /**
101
+ * Regular expression that can match or validate tunnel ID strings.
102
+ *
103
+ * Tunnel IDs are fixed-length and have a limited character set of numbers and
104
+ * lowercase letters (minus vowels and y).
105
+ */
106
+ TunnelConstraints.tunnelIdPattern = '[' + TunnelConstraints.tunnelIdChars + ']{8}';
42
107
  /**
43
- * Gets a regular expression that can match or validate tunnel ID strings.
108
+ * Regular expression that can match or validate tunnel ID strings.
44
109
  *
45
- * Tunnel IDs are fixed-length and have a limited character set of numbers and some
46
- * lowercase letters (minus vowels).
110
+ * Tunnel IDs are fixed-length and have a limited character set of numbers and
111
+ * lowercase letters (minus vowels and y).
112
+ */
113
+ TunnelConstraints.tunnelIdRegex = new RegExp(TunnelConstraints.tunnelIdPattern);
114
+ /**
115
+ * Regular expression that can match or validate tunnel names.
116
+ *
117
+ * Tunnel names are alphanumeric and may contain hyphens. The pattern also allows an
118
+ * empty string because tunnels may be unnamed.
119
+ */
120
+ TunnelConstraints.tunnelNamePattern = '([a-z0-9][a-z0-9-]{1,58}[a-z0-9])|';
121
+ /**
122
+ * Regular expression that can match or validate tunnel names.
123
+ *
124
+ * Tunnel names are alphanumeric and may contain hyphens. The pattern also allows an
125
+ * empty string because tunnels may be unnamed.
126
+ */
127
+ TunnelConstraints.tunnelNameRegex = new RegExp(TunnelConstraints.tunnelNamePattern);
128
+ /**
129
+ * Regular expression that can match or validate tunnel or port tags.
130
+ */
131
+ TunnelConstraints.tagPattern = '[\\w-=]{1,50}';
132
+ /**
133
+ * Regular expression that can match or validate tunnel or port tags.
134
+ */
135
+ TunnelConstraints.tagRegex = new RegExp(TunnelConstraints.tagPattern);
136
+ /**
137
+ * Regular expression that can match or validate tunnel domains.
138
+ *
139
+ * The tunnel service may perform additional contextual validation at the time the
140
+ * domain is registered.
141
+ */
142
+ TunnelConstraints.tunnelDomainPattern = '[0-9a-z][0-9a-z-.]{1,158}[0-9a-z]';
143
+ /**
144
+ * Regular expression that can match or validate tunnel domains.
145
+ *
146
+ * The tunnel service may perform additional contextual validation at the time the
147
+ * domain is registered.
148
+ */
149
+ TunnelConstraints.tunnelDomainRegex = new RegExp(TunnelConstraints.tunnelDomainPattern);
150
+ /**
151
+ * Regular expression that can match or validate an access control subject or
152
+ * organization ID.
153
+ *
154
+ * The : and / characters are allowed because subjects may include IP addresses and
155
+ * ranges. The @ character is allowed because MSA subjects may be identified by email
156
+ * address.
157
+ */
158
+ TunnelConstraints.accessControlSubjectPattern = '[0-9a-zA-Z-._:/@]{0,200}';
159
+ /**
160
+ * Regular expression that can match or validate an access control subject or
161
+ * organization ID.
47
162
  */
48
- TunnelConstraints.tunnelIdRegex = new RegExp('[' + TunnelConstraints.tunnelIdChars.replace('0123456789', '0-9') + ']{' + TunnelConstraints.tunnelIdLength + '}');
163
+ TunnelConstraints.accessControlSubjectRegex = new RegExp(TunnelConstraints.accessControlSubjectPattern);
49
164
  /**
50
- * Gets a regular expression that can match or validate tunnel names.
165
+ * Regular expression that can match or validate an access control subject name, when
166
+ * resolving subject names to IDs.
51
167
  *
52
- * Tunnel names are alphanumeric and may contain hyphens.
168
+ * Note angle-brackets are only allowed when they wrap an email address as part of a
169
+ * formatted name with email. The service will block any other use of angle-brackets,
170
+ * to avoid any XSS risks.
53
171
  */
54
- TunnelConstraints.tunnelNameRegex = new RegExp('[a-z0-9][a-z0-9-]{' +
55
- (TunnelConstraints.tunnelNameMinLength - 2) + ',' + (TunnelConstraints.tunnelNameMaxLength - 2) +
56
- '}[a-z0-9]');
172
+ TunnelConstraints.accessControlSubjectNamePattern = '[ \\w\\d-.,/\'"_@()<>]{0,200}';
57
173
  /**
58
- * Gets a regular expression that can match or validate tunnel names.
174
+ * Regular expression that can match or validate an access control subject name, when
175
+ * resolving subject names to IDs.
59
176
  */
60
- TunnelConstraints.tunnelTagRegex = new RegExp('^[\\w-=]+$');
177
+ TunnelConstraints.accessControlSubjectNameRegex = new RegExp(TunnelConstraints.accessControlSubjectNamePattern);
61
178
  })(TunnelConstraints || (TunnelConstraints = {}));
62
179
  //# sourceMappingURL=tunnelConstraints.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tunnelConstraints.js","sourceRoot":"","sources":["../../../src/contracts/tunnelConstraints.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAClC,gEAAgE;AAChE,oBAAoB;AAEpB;;GAEG;AACH,IAAU,iBAAiB,CA+D1B;AA/DD,WAAU,iBAAiB;IACvB;;OAEG;IACU,oCAAkB,GAAW,CAAC,CAAC;IAE5C;;OAEG;IACU,oCAAkB,GAAW,EAAE,CAAC;IAE7C;;;OAGG;IACU,+BAAa,GAAW,gCAAgC,CAAC;IAEtE;;OAEG;IACU,gCAAc,GAAW,CAAC,CAAC;IAExC;;OAEG;IACU,qCAAmB,GAAW,CAAC,CAAC;IAE7C;;OAEG;IACU,qCAAmB,GAAW,EAAE,CAAC;IAE9C;;;;OAIG;IACU,gCAAc,GAAW,IAAI,MAAM,CAC5C,gBAAgB,GAAG,CAAC,kBAAA,kBAAkB,GAAG,CAAC,CAAC,GAAG,GAAG,GAAG,CAAC,kBAAA,kBAAkB,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC;IAExF;;;;;OAKG;IACU,+BAAa,GAAW,IAAI,MAAM,CAC3C,GAAG,GAAG,kBAAA,aAAa,CAAC,OAAO,CAAC,YAAY,EAAE,KAAK,CAAC,GAAG,IAAI,GAAG,kBAAA,cAAc,GAAG,GAAG,CAAC,CAAC;IAEpF;;;;OAIG;IACU,iCAAe,GAAW,IAAI,MAAM,CAC7C,oBAAoB;QACpB,CAAC,kBAAA,mBAAmB,GAAG,CAAC,CAAC,GAAG,GAAG,GAAG,CAAC,kBAAA,mBAAmB,GAAG,CAAC,CAAC;QAC3D,WAAW,CAAC,CAAC;IAEjB;;OAEG;IACU,gCAAc,GAAW,IAAI,MAAM,CAAC,YAAY,CAAC,CAAC;AACnE,CAAC,EA/DS,iBAAiB,KAAjB,iBAAiB,QA+D1B"}
1
+ {"version":3,"file":"tunnelConstraints.js","sourceRoot":"","sources":["../../../src/contracts/tunnelConstraints.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAClC,gEAAgE;AAChE,oBAAoB;AAEpB;;GAEG;AACH,IAAU,iBAAiB,CAuM1B;AAvMD,WAAU,iBAAiB;IACvB;;OAEG;IACU,oCAAkB,GAAW,CAAC,CAAC;IAE5C;;OAEG;IACU,oCAAkB,GAAW,EAAE,CAAC;IAE7C;;OAEG;IACU,gCAAc,GAAW,CAAC,CAAC;IAExC;;OAEG;IACU,qCAAmB,GAAW,CAAC,CAAC;IAE7C;;OAEG;IACU,qCAAmB,GAAW,EAAE,CAAC;IAE9C;;OAEG;IACU,sCAAoB,GAAW,GAAG,CAAC;IAEhD;;OAEG;IACU,8BAAY,GAAW,CAAC,CAAC;IAEtC;;OAEG;IACU,8BAAY,GAAW,EAAE,CAAC;IAEvC;;OAEG;IACU,yBAAO,GAAW,GAAG,CAAC;IAEnC;;OAEG;IACU,uCAAqB,GAAW,CAAC,CAAC;IAE/C;;OAEG;IACU,uCAAqB,GAAW,GAAG,CAAC;IAEjD;;;;OAIG;IACU,gCAAc,GAAW,IAAI,CAAC;IAE3C;;;OAGG;IACU,yCAAuB,GAAW,EAAE,CAAC;IAElD;;;OAGG;IACU,0CAAwB,GAAW,GAAG,CAAC;IAEpD;;OAEG;IACU,+CAA6B,GAAW,GAAG,CAAC;IAEzD;;OAEG;IACU,mDAAiC,GAAW,GAAG,CAAC;IAE7D;;OAEG;IACU,wCAAsB,GAAW,EAAE,CAAC;IAEjD;;;;OAIG;IACU,kCAAgB,GAAW,qBAAqB,CAAC;IAE9D;;;;OAIG;IACU,gCAAc,GAAW,IAAI,MAAM,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IAErF;;;OAGG;IACU,+BAAa,GAAW,gCAAgC,CAAC;IAEtE;;;;;OAKG;IACU,iCAAe,GAAW,GAAG,GAAG,iBAAiB,CAAC,aAAa,GAAG,MAAM,CAAC;IAEtF;;;;;OAKG;IACU,+BAAa,GAAW,IAAI,MAAM,CAAC,iBAAiB,CAAC,eAAe,CAAC,CAAC;IAEnF;;;;;OAKG;IACU,mCAAiB,GAAW,oCAAoC,CAAC;IAE9E;;;;;OAKG;IACU,iCAAe,GAAW,IAAI,MAAM,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IAEvF;;OAEG;IACU,4BAAU,GAAW,eAAe,CAAC;IAElD;;OAEG;IACU,0BAAQ,GAAW,IAAI,MAAM,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;IAEzE;;;;;OAKG;IACU,qCAAmB,GAAW,mCAAmC,CAAC;IAE/E;;;;;OAKG;IACU,mCAAiB,GAAW,IAAI,MAAM,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,CAAC;IAE3F;;;;;;;OAOG;IACU,6CAA2B,GAAW,0BAA0B,CAAC;IAE9E;;;OAGG;IACU,2CAAyB,GAAW,IAAI,MAAM,CAAC,iBAAiB,CAAC,2BAA2B,CAAC,CAAC;IAE3G;;;;;;;OAOG;IACU,iDAA+B,GAAW,+BAA+B,CAAC;IAEvF;;;OAGG;IACU,+CAA6B,GAAW,IAAI,MAAM,CAAC,iBAAiB,CAAC,+BAA+B,CAAC,CAAC;AACvH,CAAC,EAvMS,iBAAiB,KAAjB,iBAAiB,QAuM1B"}
@@ -23,6 +23,6 @@ export declare enum TunnelHeaderNames {
23
23
  * Header that will skip the antiphishing page when connection to a tunnel through web
24
24
  * forwarding.
25
25
  */
26
- XTunnelSkipPhishing = "X-Tunnel-Skip-Phishing-Page"
26
+ XTunnelSkipAntiPhishingPage = "X-Tunnel-Skip-AntiPhishing-Page"
27
27
  }
28
28
  //# sourceMappingURL=tunnelHeaderNames.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tunnelHeaderNames.d.ts","sourceRoot":"","sources":["../../../src/contracts/tunnelHeaderNames.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,oBAAY,iBAAiB;IACzB;;;;;OAKG;IACH,oBAAoB,2BAA2B;IAE/C;;;OAGG;IACH,UAAU,iBAAiB;IAE3B;;;OAGG;IACH,aAAa,qBAAqB;IAElC;;;OAGG;IACH,mBAAmB,gCAAgC;CACtD"}
1
+ {"version":3,"file":"tunnelHeaderNames.d.ts","sourceRoot":"","sources":["../../../src/contracts/tunnelHeaderNames.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,oBAAY,iBAAiB;IACzB;;;;;OAKG;IACH,oBAAoB,2BAA2B;IAE/C;;;OAGG;IACH,UAAU,iBAAiB;IAE3B;;;OAGG;IACH,aAAa,qBAAqB;IAElC;;;OAGG;IACH,2BAA2B,oCAAoC;CAClE"}
@@ -31,6 +31,6 @@ var TunnelHeaderNames;
31
31
  * Header that will skip the antiphishing page when connection to a tunnel through web
32
32
  * forwarding.
33
33
  */
34
- TunnelHeaderNames["XTunnelSkipPhishing"] = "X-Tunnel-Skip-Phishing-Page";
34
+ TunnelHeaderNames["XTunnelSkipAntiPhishingPage"] = "X-Tunnel-Skip-AntiPhishing-Page";
35
35
  })(TunnelHeaderNames = exports.TunnelHeaderNames || (exports.TunnelHeaderNames = {}));
36
36
  //# sourceMappingURL=tunnelHeaderNames.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tunnelHeaderNames.js","sourceRoot":"","sources":["../../../src/contracts/tunnelHeaderNames.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAClC,gEAAgE;AAChE,oBAAoB;;;AAEpB;;GAEG;AACH,IAAY,iBA0BX;AA1BD,WAAY,iBAAiB;IACzB;;;;;OAKG;IACH,oEAA+C,CAAA;IAE/C;;;OAGG;IACH,gDAA2B,CAAA;IAE3B;;;OAGG;IACH,uDAAkC,CAAA;IAElC;;;OAGG;IACH,wEAAmD,CAAA;AACvD,CAAC,EA1BW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA0B5B"}
1
+ {"version":3,"file":"tunnelHeaderNames.js","sourceRoot":"","sources":["../../../src/contracts/tunnelHeaderNames.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAClC,gEAAgE;AAChE,oBAAoB;;;AAEpB;;GAEG;AACH,IAAY,iBA0BX;AA1BD,WAAY,iBAAiB;IACzB;;;;;OAKG;IACH,oEAA+C,CAAA;IAE/C;;;OAGG;IACH,gDAA2B,CAAA;IAE3B;;;OAGG;IACH,uDAAkC,CAAA;IAElC;;;OAGG;IACH,oFAA+D,CAAA;AACnE,CAAC,EA1BW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA0B5B"}
@@ -8,5 +8,40 @@ export interface TunnelOptions {
8
8
  * applicable if the tunnel has a name and web-forwarding uses it.
9
9
  */
10
10
  isGloballyAvailable?: boolean;
11
+ /**
12
+ * Gets or sets a value for `Host` header rewriting to use in web-forwarding of this
13
+ * tunnel or port. By default, with this property null or empty, web-forwarding uses
14
+ * "localhost" to rewrite the header. Web-fowarding will use this property instead if
15
+ * it is not null or empty. Port-level option, if set, takes precedence over this
16
+ * option on the tunnel level. The option is ignored if IsHostHeaderUnchanged is true.
17
+ */
18
+ hostHeader?: string;
19
+ /**
20
+ * Gets or sets a value indicating whether `Host` header is rewritten or the header
21
+ * value stays intact. By default, if false, web-forwarding rewrites the host header
22
+ * with the value from HostHeader property or "localhost". If true, the host header
23
+ * will be whatever the tunnel's web-forwarding host is, e.g.
24
+ * tunnel-name-8080.devtunnels.ms. Port-level option, if set, takes precedence over
25
+ * this option on the tunnel level.
26
+ */
27
+ isHostHeaderUnchanged?: boolean;
28
+ /**
29
+ * Gets or sets a value for `Origin` header rewriting to use in web-forwarding of this
30
+ * tunnel or port. By default, with this property null or empty, web-forwarding uses
31
+ * "http(s)://localhost" to rewrite the header. Web-fowarding will use this property
32
+ * instead if it is not null or empty. Port-level option, if set, takes precedence
33
+ * over this option on the tunnel level. The option is ignored if
34
+ * IsOriginHeaderUnchanged is true.
35
+ */
36
+ originHeader?: string;
37
+ /**
38
+ * Gets or sets a value indicating whether `Origin` header is rewritten or the header
39
+ * value stays intact. By default, if false, web-forwarding rewrites the origin header
40
+ * with the value from OriginHeader property or "http(s)://localhost". If true, the
41
+ * Origin header will be whatever the tunnel's web-forwarding Origin is, e.g.
42
+ * https://tunnel-name-8080.devtunnels.ms. Port-level option, if set, takes precedence
43
+ * over this option on the tunnel level.
44
+ */
45
+ isOriginHeaderUnchanged?: boolean;
11
46
  }
12
47
  //# sourceMappingURL=tunnelOptions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tunnelOptions.d.ts","sourceRoot":"","sources":["../../../src/contracts/tunnelOptions.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACjC"}
1
+ {"version":3,"file":"tunnelOptions.d.ts","sourceRoot":"","sources":["../../../src/contracts/tunnelOptions.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;;;OAOG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;;;;;;OAOG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;;;;OAOG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACrC"}
package/tunnelStatus.d.ts CHANGED
@@ -46,13 +46,47 @@ export interface TunnelStatus {
46
46
  */
47
47
  clientConnectionRate?: RateStatus;
48
48
  /**
49
- * Gets or sets the current value and limit for the rate of bytes transferred via the
50
- * tunnel.
49
+ * Gets or sets the current value and limit for the rate of bytes being received by
50
+ * the tunnel host and uploaded by tunnel clients.
51
+ *
52
+ * All types of tunnel and port connections, from potentially multiple clients, can
53
+ * contribute to this rate. The reported rate may differ slightly from the rate
54
+ * measurable by applications, due to protocol overhead. Data rate status reporting is
55
+ * delayed by a few seconds, so this value is a snapshot of the data transfer rate
56
+ * from a few seconds earlier.
57
+ */
58
+ uploadRate?: RateStatus;
59
+ /**
60
+ * Gets or sets the current value and limit for the rate of bytes being sent by the
61
+ * tunnel host and downloaded by tunnel clients.
62
+ *
63
+ * All types of tunnel and port connections, from potentially multiple clients, can
64
+ * contribute to this rate. The reported rate may differ slightly from the rate
65
+ * measurable by applications, due to protocol overhead. Data rate status reporting is
66
+ * delayed by a few seconds, so this value is a snapshot of the data transfer rate
67
+ * from a few seconds earlier.
68
+ */
69
+ downloadRate?: RateStatus;
70
+ /**
71
+ * Gets or sets the total number of bytes received by the tunnel host and uploaded by
72
+ * tunnel clients, over the lifetime of the tunnel.
73
+ *
74
+ * All types of tunnel and port connections, from potentially multiple clients, can
75
+ * contribute to this total. The reported value may differ slightly from the value
76
+ * measurable by applications, due to protocol overhead. Data transfer status
77
+ * reporting is delayed by a few seconds.
78
+ */
79
+ uploadTotal?: number;
80
+ /**
81
+ * Gets or sets the total number of bytes sent by the tunnel host and downloaded by
82
+ * tunnel clients, over the lifetime of the tunnel.
51
83
  *
52
- * This includes both sending and receiving. All types of tunnel and port connections
53
- * contribute to this rate.
84
+ * All types of tunnel and port connections, from potentially multiple clients, can
85
+ * contribute to this total. The reported value may differ slightly from the value
86
+ * measurable by applications, due to protocol overhead. Data transfer status
87
+ * reporting is delayed by a few seconds.
54
88
  */
55
- dataTransferRate?: RateStatus;
89
+ downloadTotal?: number;
56
90
  /**
57
91
  * Gets or sets the current value and limit for the rate of management API read
58
92
  * operations for the tunnel or tunnel ports.
@@ -1 +1 @@
1
- {"version":3,"file":"tunnelStatus.d.ts","sourceRoot":"","sources":["../../../src/contracts/tunnelStatus.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC;IAEpC;;;;;;OAMG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC;IAE9C;;;OAGG;IACH,sBAAsB,CAAC,EAAE,IAAI,CAAC;IAE9B;;;;;;OAMG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC;IAEhD;;;;;;OAMG;IACH,wBAAwB,CAAC,EAAE,IAAI,CAAC;IAEhC;;;;;;OAMG;IACH,oBAAoB,CAAC,EAAE,UAAU,CAAC;IAElC;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,UAAU,CAAC;IAE9B;;;OAGG;IACH,WAAW,CAAC,EAAE,UAAU,CAAC;IAEzB;;;OAGG;IACH,aAAa,CAAC,EAAE,UAAU,CAAC;CAC9B"}
1
+ {"version":3,"file":"tunnelStatus.d.ts","sourceRoot":"","sources":["../../../src/contracts/tunnelStatus.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC;IAEpC;;;;;;OAMG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC;IAE9C;;;OAGG;IACH,sBAAsB,CAAC,EAAE,IAAI,CAAC;IAE9B;;;;;;OAMG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC;IAEhD;;;;;;OAMG;IACH,wBAAwB,CAAC,EAAE,IAAI,CAAC;IAEhC;;;;;;OAMG;IACH,oBAAoB,CAAC,EAAE,UAAU,CAAC;IAElC;;;;;;;;;OASG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB;;;;;;;;;OASG;IACH,YAAY,CAAC,EAAE,UAAU,CAAC;IAE1B;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;;;OAQG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,WAAW,CAAC,EAAE,UAAU,CAAC;IAEzB;;;OAGG;IACH,aAAa,CAAC,EAAE,UAAU,CAAC;CAC9B"}