1. Packages
  2. Dynatrace
  3. API Docs
  4. GenericSetting
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

dynatrace.GenericSetting

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

    Create GenericSetting Resource

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

    Constructor syntax

    new GenericSetting(name: string, args: GenericSettingArgs, opts?: CustomResourceOptions);
    @overload
    def GenericSetting(resource_name: str,
                       args: GenericSettingArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def GenericSetting(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       schema: Optional[str] = None,
                       value: Optional[str] = None,
                       scope: Optional[str] = None)
    func NewGenericSetting(ctx *Context, name string, args GenericSettingArgs, opts ...ResourceOption) (*GenericSetting, error)
    public GenericSetting(string name, GenericSettingArgs args, CustomResourceOptions? opts = null)
    public GenericSetting(String name, GenericSettingArgs args)
    public GenericSetting(String name, GenericSettingArgs args, CustomResourceOptions options)
    
    type: dynatrace:GenericSetting
    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 GenericSettingArgs
    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 GenericSettingArgs
    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 GenericSettingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GenericSettingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GenericSettingArgs
    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 genericSettingResource = new Dynatrace.GenericSetting("genericSettingResource", new()
    {
        Schema = "string",
        Value = "string",
        Scope = "string",
    });
    
    example, err := dynatrace.NewGenericSetting(ctx, "genericSettingResource", &dynatrace.GenericSettingArgs{
    	Schema: pulumi.String("string"),
    	Value:  pulumi.String("string"),
    	Scope:  pulumi.String("string"),
    })
    
    var genericSettingResource = new GenericSetting("genericSettingResource", GenericSettingArgs.builder()
        .schema("string")
        .value("string")
        .scope("string")
        .build());
    
    generic_setting_resource = dynatrace.GenericSetting("genericSettingResource",
        schema="string",
        value="string",
        scope="string")
    
    const genericSettingResource = new dynatrace.GenericSetting("genericSettingResource", {
        schema: "string",
        value: "string",
        scope: "string",
    });
    
    type: dynatrace:GenericSetting
    properties:
        schema: string
        scope: string
        value: string
    

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

    Schema string
    Value string
    Scope string
    Schema string
    Value string
    Scope string
    schema String
    value String
    scope String
    schema string
    value string
    scope string
    schema str
    value str
    scope str
    schema String
    value String
    scope String

    Outputs

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

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

    Look up Existing GenericSetting Resource

    Get an existing GenericSetting 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?: GenericSettingState, opts?: CustomResourceOptions): GenericSetting
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            local_storage: Optional[str] = None,
            schema: Optional[str] = None,
            scope: Optional[str] = None,
            value: Optional[str] = None) -> GenericSetting
    func GetGenericSetting(ctx *Context, name string, id IDInput, state *GenericSettingState, opts ...ResourceOption) (*GenericSetting, error)
    public static GenericSetting Get(string name, Input<string> id, GenericSettingState? state, CustomResourceOptions? opts = null)
    public static GenericSetting get(String name, Output<String> id, GenericSettingState 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:
    LocalStorage string
    Schema string
    Scope string
    Value string
    LocalStorage string
    Schema string
    Scope string
    Value string
    localStorage String
    schema String
    scope String
    value String
    localStorage string
    schema string
    scope string
    value string
    localStorage String
    schema String
    scope String
    value String

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse