Dynatrace v0.16.0 published on Tuesday, Sep 10, 2024 by Pulumiverse
dynatrace.GenericSetting
Explore with Pulumi AI
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
The GenericSetting resource accepts the following input properties:
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.
- Local
Storage string
- Id string
- The provider-assigned unique ID for this managed resource.
- Local
Storage string
- id String
- The provider-assigned unique ID for this managed resource.
- local
Storage String
- id string
- The provider-assigned unique ID for this managed resource.
- local
Storage 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.
- local
Storage 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.
- Local
Storage string - Schema string
- Scope string
- Value string
- Local
Storage string - Schema string
- Scope string
- Value string
- local
Storage String - schema String
- scope String
- value String
- local
Storage string - schema string
- scope string
- value string
- local_
storage str - schema str
- scope str
- value str
- local
Storage 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.