dynatrace.OneagentFeatures
Explore with Pulumi AI
Create OneagentFeatures Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OneagentFeatures(name: string, args: OneagentFeaturesArgs, opts?: CustomResourceOptions);
@overload
def OneagentFeatures(resource_name: str,
args: OneagentFeaturesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OneagentFeatures(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
key: Optional[str] = None,
forcible: Optional[bool] = None,
instrumentation: Optional[bool] = None,
scope: Optional[str] = None)
func NewOneagentFeatures(ctx *Context, name string, args OneagentFeaturesArgs, opts ...ResourceOption) (*OneagentFeatures, error)
public OneagentFeatures(string name, OneagentFeaturesArgs args, CustomResourceOptions? opts = null)
public OneagentFeatures(String name, OneagentFeaturesArgs args)
public OneagentFeatures(String name, OneagentFeaturesArgs args, CustomResourceOptions options)
type: dynatrace:OneagentFeatures
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 OneagentFeaturesArgs
- 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 OneagentFeaturesArgs
- 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 OneagentFeaturesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OneagentFeaturesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OneagentFeaturesArgs
- 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 oneagentFeaturesResource = new Dynatrace.OneagentFeatures("oneagentFeaturesResource", new()
{
Enabled = false,
Key = "string",
Forcible = false,
Instrumentation = false,
Scope = "string",
});
example, err := dynatrace.NewOneagentFeatures(ctx, "oneagentFeaturesResource", &dynatrace.OneagentFeaturesArgs{
Enabled: pulumi.Bool(false),
Key: pulumi.String("string"),
Forcible: pulumi.Bool(false),
Instrumentation: pulumi.Bool(false),
Scope: pulumi.String("string"),
})
var oneagentFeaturesResource = new OneagentFeatures("oneagentFeaturesResource", OneagentFeaturesArgs.builder()
.enabled(false)
.key("string")
.forcible(false)
.instrumentation(false)
.scope("string")
.build());
oneagent_features_resource = dynatrace.OneagentFeatures("oneagentFeaturesResource",
enabled=False,
key="string",
forcible=False,
instrumentation=False,
scope="string")
const oneagentFeaturesResource = new dynatrace.OneagentFeatures("oneagentFeaturesResource", {
enabled: false,
key: "string",
forcible: false,
instrumentation: false,
scope: "string",
});
type: dynatrace:OneagentFeatures
properties:
enabled: false
forcible: false
instrumentation: false
key: string
scope: string
OneagentFeatures 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 OneagentFeatures resource accepts the following input properties:
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Key string
- Feature
- Forcible bool
- Activate this feature also in OneAgents only fulfilling the minimum Opt-In version
- Instrumentation bool
- Instrumentation enabled (change needs a process restart)
- Scope string
- The scope of this setting (PROCESSGROUPINSTANCE, PROCESS_GROUP). Omit this property if you want to cover the whole environment.
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Key string
- Feature
- Forcible bool
- Activate this feature also in OneAgents only fulfilling the minimum Opt-In version
- Instrumentation bool
- Instrumentation enabled (change needs a process restart)
- Scope string
- The scope of this setting (PROCESSGROUPINSTANCE, PROCESS_GROUP). Omit this property if you want to cover the whole environment.
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - key String
- Feature
- forcible Boolean
- Activate this feature also in OneAgents only fulfilling the minimum Opt-In version
- instrumentation Boolean
- Instrumentation enabled (change needs a process restart)
- scope String
- The scope of this setting (PROCESSGROUPINSTANCE, PROCESS_GROUP). Omit this property if you want to cover the whole environment.
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - key string
- Feature
- forcible boolean
- Activate this feature also in OneAgents only fulfilling the minimum Opt-In version
- instrumentation boolean
- Instrumentation enabled (change needs a process restart)
- scope string
- The scope of this setting (PROCESSGROUPINSTANCE, PROCESS_GROUP). Omit this property if you want to cover the whole environment.
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - key str
- Feature
- forcible bool
- Activate this feature also in OneAgents only fulfilling the minimum Opt-In version
- instrumentation bool
- Instrumentation enabled (change needs a process restart)
- scope str
- The scope of this setting (PROCESSGROUPINSTANCE, PROCESS_GROUP). Omit this property if you want to cover the whole environment.
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - key String
- Feature
- forcible Boolean
- Activate this feature also in OneAgents only fulfilling the minimum Opt-In version
- instrumentation Boolean
- Instrumentation enabled (change needs a process restart)
- scope String
- The scope of this setting (PROCESSGROUPINSTANCE, PROCESS_GROUP). Omit this property if you want to cover the whole environment.
Outputs
All input properties are implicitly available as output properties. Additionally, the OneagentFeatures resource produces the following output properties:
Look up Existing OneagentFeatures Resource
Get an existing OneagentFeatures 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?: OneagentFeaturesState, opts?: CustomResourceOptions): OneagentFeatures
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
_restore_: Optional[str] = None,
enabled: Optional[bool] = None,
forcible: Optional[bool] = None,
instrumentation: Optional[bool] = None,
key: Optional[str] = None,
scope: Optional[str] = None) -> OneagentFeatures
func GetOneagentFeatures(ctx *Context, name string, id IDInput, state *OneagentFeaturesState, opts ...ResourceOption) (*OneagentFeatures, error)
public static OneagentFeatures Get(string name, Input<string> id, OneagentFeaturesState? state, CustomResourceOptions? opts = null)
public static OneagentFeatures get(String name, Output<String> id, OneagentFeaturesState 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.
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Forcible bool
- Activate this feature also in OneAgents only fulfilling the minimum Opt-In version
- Instrumentation bool
- Instrumentation enabled (change needs a process restart)
- Key string
- Feature
- Scope string
- The scope of this setting (PROCESSGROUPINSTANCE, PROCESS_GROUP). Omit this property if you want to cover the whole environment.
- _
restore_ string
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Forcible bool
- Activate this feature also in OneAgents only fulfilling the minimum Opt-In version
- Instrumentation bool
- Instrumentation enabled (change needs a process restart)
- Key string
- Feature
- Scope string
- The scope of this setting (PROCESSGROUPINSTANCE, PROCESS_GROUP). Omit this property if you want to cover the whole environment.
- _
restore_ string
- _
restore_ String - enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - forcible Boolean
- Activate this feature also in OneAgents only fulfilling the minimum Opt-In version
- instrumentation Boolean
- Instrumentation enabled (change needs a process restart)
- key String
- Feature
- scope String
- The scope of this setting (PROCESSGROUPINSTANCE, PROCESS_GROUP). Omit this property if you want to cover the whole environment.
- _
restore_ string - enabled boolean
- This setting is enabled (
true
) or disabled (false
) - forcible boolean
- Activate this feature also in OneAgents only fulfilling the minimum Opt-In version
- instrumentation boolean
- Instrumentation enabled (change needs a process restart)
- key string
- Feature
- scope string
- The scope of this setting (PROCESSGROUPINSTANCE, PROCESS_GROUP). Omit this property if you want to cover the whole environment.
- _
restore_ str - enabled bool
- This setting is enabled (
true
) or disabled (false
) - forcible bool
- Activate this feature also in OneAgents only fulfilling the minimum Opt-In version
- instrumentation bool
- Instrumentation enabled (change needs a process restart)
- key str
- Feature
- scope str
- The scope of this setting (PROCESSGROUPINSTANCE, PROCESS_GROUP). Omit this property if you want to cover the whole environment.
- _
restore_ String - enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - forcible Boolean
- Activate this feature also in OneAgents only fulfilling the minimum Opt-In version
- instrumentation Boolean
- Instrumentation enabled (change needs a process restart)
- key String
- Feature
- scope String
- The scope of this setting (PROCESSGROUPINSTANCE, PROCESS_GROUP). Omit this property if you want to cover the whole environment.
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.