fastly.ConfigstoreEntries
Explore with Pulumi AI
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
This property is required. string - The unique name of the resource.
- args
This property is required. ConfigstoreEntriesArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. ConfigstoreEntriesArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ConfigstoreEntriesArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. 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
This property is required. Dictionary<string, string> - A map representing an entry in the Config Store, (key/value)
- Store
Id This property is required. string - An alphanumeric string identifying the Config Store.
- Manage
Entries bool
- Entries
This property is required. map[string]string - A map representing an entry in the Config Store, (key/value)
- Store
Id This property is required. string - An alphanumeric string identifying the Config Store.
- Manage
Entries bool
- entries
This property is required. Map<String,String> - A map representing an entry in the Config Store, (key/value)
- store
Id This property is required. String - An alphanumeric string identifying the Config Store.
- manage
Entries Boolean
- entries
This property is required. {[key: string]: string} - A map representing an entry in the Config Store, (key/value)
- store
Id This property is required. string - An alphanumeric string identifying the Config Store.
- manage
Entries boolean
- entries
This property is required. Mapping[str, str] - A map representing an entry in the Config Store, (key/value)
- store_
id This property is required. str - An alphanumeric string identifying the Config Store.
- manage_
entries bool
- entries
This property is required. Map<String> - A map representing an entry in the Config Store, (key/value)
- store
Id This property is required. String - An alphanumeric string identifying the Config Store.
- manage
Entries 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)
resources: _: type: fastly:ConfigstoreEntries get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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.
- Entries Dictionary<string, string>
- A map representing an entry in the Config Store, (key/value)
- Manage
Entries bool - Store
Id string - An alphanumeric string identifying the Config Store.
- Entries map[string]string
- A map representing an entry in the Config Store, (key/value)
- Manage
Entries bool - Store
Id string - An alphanumeric string identifying the Config Store.
- entries Map<String,String>
- A map representing an entry in the Config Store, (key/value)
- manage
Entries Boolean - store
Id String - An alphanumeric string identifying the Config Store.
- entries {[key: string]: string}
- A map representing an entry in the Config Store, (key/value)
- manage
Entries boolean - store
Id 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)
- manage
Entries Boolean - store
Id 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.