import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ## Import * * ```sh * $ pulumi import cloudflare:index/magicTransitSiteAcl:MagicTransitSiteAcl example '//' * ``` */ export declare class MagicTransitSiteAcl extends pulumi.CustomResource { /** * Get an existing MagicTransitSiteAcl resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: MagicTransitSiteAclState, opts?: pulumi.CustomResourceOptions): MagicTransitSiteAcl; /** * Returns true if the given object is an instance of MagicTransitSiteAcl. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is MagicTransitSiteAcl; /** * Identifier */ readonly accountId: pulumi.Output; /** * Description for the ACL. */ readonly description: pulumi.Output; /** * The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false. */ readonly forwardLocally: pulumi.Output; readonly lan1: pulumi.Output; readonly lan2: pulumi.Output; /** * The name of the ACL. */ readonly name: pulumi.Output; readonly protocols: pulumi.Output; /** * Identifier */ readonly siteId: pulumi.Output; /** * The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false. */ readonly unidirectional: pulumi.Output; /** * Create a MagicTransitSiteAcl resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: MagicTransitSiteAclArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MagicTransitSiteAcl resources. */ export interface MagicTransitSiteAclState { /** * Identifier */ accountId?: pulumi.Input; /** * Description for the ACL. */ description?: pulumi.Input; /** * The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false. */ forwardLocally?: pulumi.Input; lan1?: pulumi.Input; lan2?: pulumi.Input; /** * The name of the ACL. */ name?: pulumi.Input; protocols?: pulumi.Input[]>; /** * Identifier */ siteId?: pulumi.Input; /** * The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false. */ unidirectional?: pulumi.Input; } /** * The set of arguments for constructing a MagicTransitSiteAcl resource. */ export interface MagicTransitSiteAclArgs { /** * Identifier */ accountId: pulumi.Input; /** * Description for the ACL. */ description?: pulumi.Input; /** * The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false. */ forwardLocally?: pulumi.Input; lan1: pulumi.Input; lan2: pulumi.Input; /** * The name of the ACL. */ name: pulumi.Input; protocols?: pulumi.Input[]>; /** * Identifier */ siteId: pulumi.Input; /** * The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false. */ unidirectional?: pulumi.Input; }