UNPKG

@microsoft/dev-tunnels-contracts

Version:

Tunnels library for Visual Studio tools

54 lines 2.26 kB
"use strict"; // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. // Generated from ../../../cs/src/Contracts/TunnelAccessControlEntryType.cs /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.TunnelAccessControlEntryType = void 0; /** * Specifies the type of {@link TunnelAccessControlEntry}. */ var TunnelAccessControlEntryType; (function (TunnelAccessControlEntryType) { /** * Uninitialized access control entry type. */ TunnelAccessControlEntryType["None"] = "None"; /** * The access control entry refers to all anonymous users. */ TunnelAccessControlEntryType["Anonymous"] = "Anonymous"; /** * The access control entry is a list of user IDs that are allowed (or denied) access. */ TunnelAccessControlEntryType["Users"] = "Users"; /** * The access control entry is a list of groups IDs that are allowed (or denied) * access. */ TunnelAccessControlEntryType["Groups"] = "Groups"; /** * The access control entry is a list of organization IDs that are allowed (or denied) * access. * * All users in the organizations are allowed (or denied) access, unless overridden by * following group or user rules. */ TunnelAccessControlEntryType["Organizations"] = "Organizations"; /** * The access control entry is a list of repositories. Users are allowed access to the * tunnel if they have access to the repo. */ TunnelAccessControlEntryType["Repositories"] = "Repositories"; /** * The access control entry is a list of public keys. Users are allowed access if they * can authenticate using a private key corresponding to one of the public keys. */ TunnelAccessControlEntryType["PublicKeys"] = "PublicKeys"; /** * The access control entry is a list of IP address ranges that are allowed (or * denied) access to the tunnel. Ranges can be IPv4, IPv6, or Azure service tags. */ TunnelAccessControlEntryType["IPAddressRanges"] = "IPAddressRanges"; })(TunnelAccessControlEntryType = exports.TunnelAccessControlEntryType || (exports.TunnelAccessControlEntryType = {})); //# sourceMappingURL=tunnelAccessControlEntryType.js.map