1. Packages
  2. Fastly
  3. API Docs
  4. ServiceDictionaryItems
Fastly v8.5.1 published on Monday, Mar 18, 2024 by Pulumi

fastly.ServiceDictionaryItems

Explore with Pulumi AI

fastly logo
Fastly v8.5.1 published on Monday, Mar 18, 2024 by Pulumi

    Import

    This is an example of the import command being applied to the resource named fastly_service_dictionary_items.items

    The resource ID is a combined value of the service_id and dictionary_id separated by a forward slash.

    $ pulumi import fastly:index/serviceDictionaryItems:ServiceDictionaryItems items xxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxx
    

    If Terraform is already managing remote dictionary items 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_dictionary_items.items from the Terraform state file.

    $ terraform state rm fastly_service_dictionary_items.items

    Create ServiceDictionaryItems Resource

    new ServiceDictionaryItems(name: string, args: ServiceDictionaryItemsArgs, opts?: CustomResourceOptions);
    @overload
    def ServiceDictionaryItems(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               dictionary_id: Optional[str] = None,
                               items: Optional[Mapping[str, Any]] = None,
                               manage_items: Optional[bool] = None,
                               service_id: Optional[str] = None)
    @overload
    def ServiceDictionaryItems(resource_name: str,
                               args: ServiceDictionaryItemsArgs,
                               opts: Optional[ResourceOptions] = None)
    func NewServiceDictionaryItems(ctx *Context, name string, args ServiceDictionaryItemsArgs, opts ...ResourceOption) (*ServiceDictionaryItems, error)
    public ServiceDictionaryItems(string name, ServiceDictionaryItemsArgs args, CustomResourceOptions? opts = null)
    public ServiceDictionaryItems(String name, ServiceDictionaryItemsArgs args)
    public ServiceDictionaryItems(String name, ServiceDictionaryItemsArgs args, CustomResourceOptions options)
    
    type: fastly:ServiceDictionaryItems
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args ServiceDictionaryItemsArgs
    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 ServiceDictionaryItemsArgs
    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 ServiceDictionaryItemsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceDictionaryItemsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceDictionaryItemsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ServiceDictionaryItems 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 ServiceDictionaryItems resource accepts the following input properties:

    DictionaryId string
    The ID of the dictionary that the items belong to
    ServiceId string
    The ID of the service that the dictionary belongs to
    Items Dictionary<string, object>
    A map representing an entry in the dictionary, (key/value)
    ManageItems bool
    Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally
    DictionaryId string
    The ID of the dictionary that the items belong to
    ServiceId string
    The ID of the service that the dictionary belongs to
    Items map[string]interface{}
    A map representing an entry in the dictionary, (key/value)
    ManageItems bool
    Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally
    dictionaryId String
    The ID of the dictionary that the items belong to
    serviceId String
    The ID of the service that the dictionary belongs to
    items Map<String,Object>
    A map representing an entry in the dictionary, (key/value)
    manageItems Boolean
    Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally
    dictionaryId string
    The ID of the dictionary that the items belong to
    serviceId string
    The ID of the service that the dictionary belongs to
    items {[key: string]: any}
    A map representing an entry in the dictionary, (key/value)
    manageItems boolean
    Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally
    dictionary_id str
    The ID of the dictionary that the items belong to
    service_id str
    The ID of the service that the dictionary belongs to
    items Mapping[str, Any]
    A map representing an entry in the dictionary, (key/value)
    manage_items bool
    Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally
    dictionaryId String
    The ID of the dictionary that the items belong to
    serviceId String
    The ID of the service that the dictionary belongs to
    items Map<Any>
    A map representing an entry in the dictionary, (key/value)
    manageItems Boolean
    Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ServiceDictionaryItems 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 ServiceDictionaryItems Resource

    Get an existing ServiceDictionaryItems 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?: ServiceDictionaryItemsState, opts?: CustomResourceOptions): ServiceDictionaryItems
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            dictionary_id: Optional[str] = None,
            items: Optional[Mapping[str, Any]] = None,
            manage_items: Optional[bool] = None,
            service_id: Optional[str] = None) -> ServiceDictionaryItems
    func GetServiceDictionaryItems(ctx *Context, name string, id IDInput, state *ServiceDictionaryItemsState, opts ...ResourceOption) (*ServiceDictionaryItems, error)
    public static ServiceDictionaryItems Get(string name, Input<string> id, ServiceDictionaryItemsState? state, CustomResourceOptions? opts = null)
    public static ServiceDictionaryItems get(String name, Output<String> id, ServiceDictionaryItemsState 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:
    DictionaryId string
    The ID of the dictionary that the items belong to
    Items Dictionary<string, object>
    A map representing an entry in the dictionary, (key/value)
    ManageItems bool
    Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally
    ServiceId string
    The ID of the service that the dictionary belongs to
    DictionaryId string
    The ID of the dictionary that the items belong to
    Items map[string]interface{}
    A map representing an entry in the dictionary, (key/value)
    ManageItems bool
    Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally
    ServiceId string
    The ID of the service that the dictionary belongs to
    dictionaryId String
    The ID of the dictionary that the items belong to
    items Map<String,Object>
    A map representing an entry in the dictionary, (key/value)
    manageItems Boolean
    Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally
    serviceId String
    The ID of the service that the dictionary belongs to
    dictionaryId string
    The ID of the dictionary that the items belong to
    items {[key: string]: any}
    A map representing an entry in the dictionary, (key/value)
    manageItems boolean
    Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally
    serviceId string
    The ID of the service that the dictionary belongs to
    dictionary_id str
    The ID of the dictionary that the items belong to
    items Mapping[str, Any]
    A map representing an entry in the dictionary, (key/value)
    manage_items bool
    Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally
    service_id str
    The ID of the service that the dictionary belongs to
    dictionaryId String
    The ID of the dictionary that the items belong to
    items Map<Any>
    A map representing an entry in the dictionary, (key/value)
    manageItems Boolean
    Whether to reapply changes if the state of the items drifts, i.e. if items are managed externally
    serviceId String
    The ID of the service that the dictionary belongs to

    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.5.1 published on Monday, Mar 18, 2024 by Pulumi