UNPKG

@pulumi/fastly

Version:

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

104 lines (103 loc) 4.02 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Import * * This is an example of the import command being applied to the resource named `fastly_service_acl_entries.entries` * * The resource ID is a combined value of the `service_id` and `acl_id` separated by a forward slash. * * ```sh * $ pulumi import fastly:index/serviceACLEntries:ServiceACLEntries entries xxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxx * ``` * * If Terraform is already managing remote acl entries against a resource being imported then the user will be asked to remove it from the existing Terraform state. * * The following is an example of the Terraform state command to remove the resource named `fastly_service_acl_entries.entries` from the Terraform state file. * * $ terraform state rm fastly_service_acl_entries.entries */ export declare class ServiceACLEntries extends pulumi.CustomResource { /** * Get an existing ServiceACLEntries 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?: ServiceACLEntriesState, opts?: pulumi.CustomResourceOptions): ServiceACLEntries; /** * Returns true if the given object is an instance of ServiceACLEntries. 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 ServiceACLEntries; /** * The ID of the ACL that the items belong to */ readonly aclId: pulumi.Output<string>; /** * ACL Entries */ readonly entries: pulumi.Output<outputs.ServiceACLEntriesEntry[] | undefined>; /** * Whether to reapply changes if the state of the entries drifts, i.e. if entries are managed externally */ readonly manageEntries: pulumi.Output<boolean | undefined>; /** * The ID of the Service that the ACL belongs to */ readonly serviceId: pulumi.Output<string>; /** * Create a ServiceACLEntries 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: ServiceACLEntriesArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ServiceACLEntries resources. */ export interface ServiceACLEntriesState { /** * The ID of the ACL that the items belong to */ aclId?: pulumi.Input<string>; /** * ACL Entries */ entries?: pulumi.Input<pulumi.Input<inputs.ServiceACLEntriesEntry>[]>; /** * Whether to reapply changes if the state of the entries drifts, i.e. if entries are managed externally */ manageEntries?: pulumi.Input<boolean>; /** * The ID of the Service that the ACL belongs to */ serviceId?: pulumi.Input<string>; } /** * The set of arguments for constructing a ServiceACLEntries resource. */ export interface ServiceACLEntriesArgs { /** * The ID of the ACL that the items belong to */ aclId: pulumi.Input<string>; /** * ACL Entries */ entries?: pulumi.Input<pulumi.Input<inputs.ServiceACLEntriesEntry>[]>; /** * Whether to reapply changes if the state of the entries drifts, i.e. if entries are managed externally */ manageEntries?: pulumi.Input<boolean>; /** * The ID of the Service that the ACL belongs to */ serviceId: pulumi.Input<string>; }