Outlook_Addin_LLM/node_modules/@microsoft/dev-tunnels-contracts/tunnelAccessScopes.js

47 lines
1.8 KiB
JavaScript

"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
// Generated from ../../../cs/src/Contracts/TunnelAccessScopes.cs
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.TunnelAccessScopes = void 0;
/**
* Defines scopes for tunnel access tokens.
*
* A tunnel access token with one or more of these scopes typically also has cluster ID
* and tunnel ID claims that limit the access scope to a specific tunnel, and may also
* have one or more port claims that further limit the access to particular ports of the
* tunnel.
*/
var TunnelAccessScopes;
(function (TunnelAccessScopes) {
/**
* Allows creating tunnels. This scope is valid only in policies at the global,
* domain, or organization level; it is not relevant to an already-created tunnel or
* tunnel port. (Creation of ports requires "manage" or "host" access to the tunnel.)
*/
TunnelAccessScopes["Create"] = "create";
/**
* Allows management operations on tunnels and tunnel ports.
*/
TunnelAccessScopes["Manage"] = "manage";
/**
* Allows management operations on all ports of a tunnel, but does not allow updating
* any other tunnel properties or deleting the tunnel.
*/
TunnelAccessScopes["ManagePorts"] = "manage:ports";
/**
* Allows accepting connections on tunnels as a host. Includes access to update tunnel
* endpoints and ports.
*/
TunnelAccessScopes["Host"] = "host";
/**
* Allows inspecting tunnel connection activity and data.
*/
TunnelAccessScopes["Inspect"] = "inspect";
/**
* Allows connecting to tunnels or ports as a client.
*/
TunnelAccessScopes["Connect"] = "connect";
})(TunnelAccessScopes = exports.TunnelAccessScopes || (exports.TunnelAccessScopes = {}));
//# sourceMappingURL=tunnelAccessScopes.js.map