UNPKG

@pulumi/fastly

Version:

A Pulumi package for creating and managing fastly cloud resources.. Based on terraform-provider-fastly: version v4

79 lines (78 loc) 3.27 kB
import * as pulumi from "@pulumi/pulumi"; /** * ## Import * * Fastly Compute ACL entries can be imported using the format `<compute_acl_id>/entries`, e.g. * * ```sh * $ pulumi import fastly:index/computeAclEntries:ComputeAclEntries example <compute_acl_id>/entries * ``` */ export declare class ComputeAclEntries extends pulumi.CustomResource { /** * Get an existing ComputeAclEntries 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<pulumi.ID>, state?: ComputeAclEntriesState, opts?: pulumi.CustomResourceOptions): ComputeAclEntries; /** * Returns true if the given object is an instance of ComputeAclEntries. 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 ComputeAclEntries; /** * Manages entries for a Fastly Compute Access Control List (ACL). To import, use the format \n\n/entries. */ readonly computeAclId: pulumi.Output<string>; /** * A map representing the entries in the Compute ACL, where the keys are the prefixes and the values are the actions (ALLOW or BLOCK). */ readonly entries: pulumi.Output<{ [key: string]: string; }>; readonly manageEntries: pulumi.Output<boolean | undefined>; /** * Create a ComputeAclEntries 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: ComputeAclEntriesArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ComputeAclEntries resources. */ export interface ComputeAclEntriesState { /** * Manages entries for a Fastly Compute Access Control List (ACL). To import, use the format \n\n/entries. */ computeAclId?: pulumi.Input<string>; /** * A map representing the entries in the Compute ACL, where the keys are the prefixes and the values are the actions (ALLOW or BLOCK). */ entries?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; manageEntries?: pulumi.Input<boolean>; } /** * The set of arguments for constructing a ComputeAclEntries resource. */ export interface ComputeAclEntriesArgs { /** * Manages entries for a Fastly Compute Access Control List (ACL). To import, use the format \n\n/entries. */ computeAclId: pulumi.Input<string>; /** * A map representing the entries in the Compute ACL, where the keys are the prefixes and the values are the actions (ALLOW or BLOCK). */ entries: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; manageEntries?: pulumi.Input<boolean>; }