1. Packages
  2. Fastly
  3. API Docs
  4. ConfigstoreEntries
Fastly v8.6.0 published on Monday, Apr 22, 2024 by Pulumi

fastly.ConfigstoreEntries

Explore with Pulumi AI

fastly logo
Fastly v8.6.0 published on Monday, Apr 22, 2024 by Pulumi

    Import

    Fastly Config Stores entries can be imported using the corresponding Config Store ID with the /entries suffix, e.g.

    $ pulumi import fastly:index/configstoreEntries:ConfigstoreEntries example xxxxxxxxxxxxxxxxxxxx/entries
    

    Create ConfigstoreEntries Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ConfigstoreEntries(name: string, args: ConfigstoreEntriesArgs, opts?: CustomResourceOptions);
    @overload
    def ConfigstoreEntries(resource_name: str,
                           args: ConfigstoreEntriesArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def ConfigstoreEntries(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           entries: Optional[Mapping[str, Any]] = None,
                           store_id: Optional[str] = None,
                           manage_entries: Optional[bool] = None)
    func NewConfigstoreEntries(ctx *Context, name string, args ConfigstoreEntriesArgs, opts ...ResourceOption) (*ConfigstoreEntries, error)
    public ConfigstoreEntries(string name, ConfigstoreEntriesArgs args, CustomResourceOptions? opts = null)
    public ConfigstoreEntries(String name, ConfigstoreEntriesArgs args)
    public ConfigstoreEntries(String name, ConfigstoreEntriesArgs args, CustomResourceOptions options)
    
    type: fastly:ConfigstoreEntries
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ConfigstoreEntriesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ConfigstoreEntriesArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ConfigstoreEntriesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConfigstoreEntriesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConfigstoreEntriesArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var configstoreEntriesResource = new Fastly.ConfigstoreEntries("configstoreEntriesResource", new()
    {
        Entries = 
        {
            { "string", "any" },
        },
        StoreId = "string",
        ManageEntries = false,
    });
    
    example, err := fastly.NewConfigstoreEntries(ctx, "configstoreEntriesResource", &fastly.ConfigstoreEntriesArgs{
    	Entries: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	StoreId:       pulumi.String("string"),
    	ManageEntries: pulumi.Bool(false),
    })
    
    var configstoreEntriesResource = new ConfigstoreEntries("configstoreEntriesResource", ConfigstoreEntriesArgs.builder()        
        .entries(Map.of("string", "any"))
        .storeId("string")
        .manageEntries(false)
        .build());
    
    configstore_entries_resource = fastly.ConfigstoreEntries("configstoreEntriesResource",
        entries={
            "string": "any",
        },
        store_id="string",
        manage_entries=False)
    
    const configstoreEntriesResource = new fastly.ConfigstoreEntries("configstoreEntriesResource", {
        entries: {
            string: "any",
        },
        storeId: "string",
        manageEntries: false,
    });
    
    type: fastly:ConfigstoreEntries
    properties:
        entries:
            string: any
        manageEntries: false
        storeId: string
    

    ConfigstoreEntries Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ConfigstoreEntries resource accepts the following input properties:

    Entries Dictionary<string, object>
    A map representing an entry in the Config Store, (key/value)
    StoreId string
    An alphanumeric string identifying the Config Store.
    ManageEntries bool
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.
    Entries map[string]interface{}
    A map representing an entry in the Config Store, (key/value)
    StoreId string
    An alphanumeric string identifying the Config Store.
    ManageEntries bool
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.
    entries Map<String,Object>
    A map representing an entry in the Config Store, (key/value)
    storeId String
    An alphanumeric string identifying the Config Store.
    manageEntries Boolean
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.
    entries {[key: string]: any}
    A map representing an entry in the Config Store, (key/value)
    storeId string
    An alphanumeric string identifying the Config Store.
    manageEntries boolean
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.
    entries Mapping[str, Any]
    A map representing an entry in the Config Store, (key/value)
    store_id str
    An alphanumeric string identifying the Config Store.
    manage_entries bool
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.
    entries Map<Any>
    A map representing an entry in the Config Store, (key/value)
    storeId String
    An alphanumeric string identifying the Config Store.
    manageEntries Boolean
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ConfigstoreEntries resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ConfigstoreEntries Resource

    Get an existing ConfigstoreEntries resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ConfigstoreEntriesState, opts?: CustomResourceOptions): ConfigstoreEntries
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            entries: Optional[Mapping[str, Any]] = None,
            manage_entries: Optional[bool] = None,
            store_id: Optional[str] = None) -> ConfigstoreEntries
    func GetConfigstoreEntries(ctx *Context, name string, id IDInput, state *ConfigstoreEntriesState, opts ...ResourceOption) (*ConfigstoreEntries, error)
    public static ConfigstoreEntries Get(string name, Input<string> id, ConfigstoreEntriesState? state, CustomResourceOptions? opts = null)
    public static ConfigstoreEntries get(String name, Output<String> id, ConfigstoreEntriesState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Entries Dictionary<string, object>
    A map representing an entry in the Config Store, (key/value)
    ManageEntries bool
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.
    StoreId string
    An alphanumeric string identifying the Config Store.
    Entries map[string]interface{}
    A map representing an entry in the Config Store, (key/value)
    ManageEntries bool
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.
    StoreId string
    An alphanumeric string identifying the Config Store.
    entries Map<String,Object>
    A map representing an entry in the Config Store, (key/value)
    manageEntries Boolean
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.
    storeId String
    An alphanumeric string identifying the Config Store.
    entries {[key: string]: any}
    A map representing an entry in the Config Store, (key/value)
    manageEntries boolean
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.
    storeId string
    An alphanumeric string identifying the Config Store.
    entries Mapping[str, Any]
    A map representing an entry in the Config Store, (key/value)
    manage_entries bool
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.
    store_id str
    An alphanumeric string identifying the Config Store.
    entries Map<Any>
    A map representing an entry in the Config Store, (key/value)
    manageEntries Boolean
    Have Terraform manage the entries (default: false). If set to true Terraform will remove any entries that were added externally from the config seeded values.
    storeId String
    An alphanumeric string identifying the Config Store.

    Package Details

    Repository
    Fastly pulumi/pulumi-fastly
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fastly Terraform Provider.
    fastly logo
    Fastly v8.6.0 published on Monday, Apr 22, 2024 by Pulumi