1. Packages
  2. Fastly Provider
  3. API Docs
  4. ConfigstoreEntries
Fastly v8.13.0 published on Wednesday, Nov 13, 2024 by Pulumi

fastly.ConfigstoreEntries

Explore with Pulumi AI

fastly logo
Fastly v8.13.0 published on Wednesday, Nov 13, 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, str]] = 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.

    Constructor example

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

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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ConfigstoreEntries resource accepts the following input properties:

    Entries Dictionary<string, string>
    A map representing an entry in the Config Store, (key/value)
    StoreId string
    An alphanumeric string identifying the Config Store.
    ManageEntries bool
    Entries map[string]string
    A map representing an entry in the Config Store, (key/value)
    StoreId string
    An alphanumeric string identifying the Config Store.
    ManageEntries bool
    entries Map<String,String>
    A map representing an entry in the Config Store, (key/value)
    storeId String
    An alphanumeric string identifying the Config Store.
    manageEntries Boolean
    entries {[key: string]: string}
    A map representing an entry in the Config Store, (key/value)
    storeId string
    An alphanumeric string identifying the Config Store.
    manageEntries boolean
    entries Mapping[str, str]
    A map representing an entry in the Config Store, (key/value)
    store_id str
    An alphanumeric string identifying the Config Store.
    manage_entries bool
    entries Map<String>
    A map representing an entry in the Config Store, (key/value)
    storeId String
    An alphanumeric string identifying the Config Store.
    manageEntries Boolean

    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, str]] = 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, string>
    A map representing an entry in the Config Store, (key/value)
    ManageEntries bool
    StoreId string
    An alphanumeric string identifying the Config Store.
    Entries map[string]string
    A map representing an entry in the Config Store, (key/value)
    ManageEntries bool
    StoreId string
    An alphanumeric string identifying the Config Store.
    entries Map<String,String>
    A map representing an entry in the Config Store, (key/value)
    manageEntries Boolean
    storeId String
    An alphanumeric string identifying the Config Store.
    entries {[key: string]: string}
    A map representing an entry in the Config Store, (key/value)
    manageEntries boolean
    storeId string
    An alphanumeric string identifying the Config Store.
    entries Mapping[str, str]
    A map representing an entry in the Config Store, (key/value)
    manage_entries bool
    store_id str
    An alphanumeric string identifying the Config Store.
    entries Map<String>
    A map representing an entry in the Config Store, (key/value)
    manageEntries Boolean
    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.13.0 published on Wednesday, Nov 13, 2024 by Pulumi