1. Packages
  2. Dynatrace
  3. API Docs
  4. DiscoveryFeatureFlags
Dynatrace v0.27.0 published on Friday, Mar 21, 2025 by Pulumiverse

dynatrace.DiscoveryFeatureFlags

Explore with Pulumi AI

Create DiscoveryFeatureFlags Resource

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

Constructor syntax

new DiscoveryFeatureFlags(name: string, args: DiscoveryFeatureFlagsArgs, opts?: CustomResourceOptions);
@overload
def DiscoveryFeatureFlags(resource_name: str,
                          args: DiscoveryFeatureFlagsArgs,
                          opts: Optional[ResourceOptions] = None)

@overload
def DiscoveryFeatureFlags(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          type: Optional[str] = None,
                          boolean_value: Optional[bool] = None,
                          name: Optional[str] = None,
                          number_value: Optional[int] = None,
                          string_value: Optional[str] = None)
func NewDiscoveryFeatureFlags(ctx *Context, name string, args DiscoveryFeatureFlagsArgs, opts ...ResourceOption) (*DiscoveryFeatureFlags, error)
public DiscoveryFeatureFlags(string name, DiscoveryFeatureFlagsArgs args, CustomResourceOptions? opts = null)
public DiscoveryFeatureFlags(String name, DiscoveryFeatureFlagsArgs args)
public DiscoveryFeatureFlags(String name, DiscoveryFeatureFlagsArgs args, CustomResourceOptions options)
type: dynatrace:DiscoveryFeatureFlags
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. DiscoveryFeatureFlagsArgs
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. DiscoveryFeatureFlagsArgs
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. DiscoveryFeatureFlagsArgs
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. DiscoveryFeatureFlagsArgs
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. DiscoveryFeatureFlagsArgs
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 discoveryFeatureFlagsResource = new Dynatrace.DiscoveryFeatureFlags("discoveryFeatureFlagsResource", new()
{
    Type = "string",
    BooleanValue = false,
    Name = "string",
    NumberValue = 0,
    StringValue = "string",
});
Copy
example, err := dynatrace.NewDiscoveryFeatureFlags(ctx, "discoveryFeatureFlagsResource", &dynatrace.DiscoveryFeatureFlagsArgs{
	Type:         pulumi.String("string"),
	BooleanValue: pulumi.Bool(false),
	Name:         pulumi.String("string"),
	NumberValue:  pulumi.Int(0),
	StringValue:  pulumi.String("string"),
})
Copy
var discoveryFeatureFlagsResource = new DiscoveryFeatureFlags("discoveryFeatureFlagsResource", DiscoveryFeatureFlagsArgs.builder()
    .type("string")
    .booleanValue(false)
    .name("string")
    .numberValue(0)
    .stringValue("string")
    .build());
Copy
discovery_feature_flags_resource = dynatrace.DiscoveryFeatureFlags("discoveryFeatureFlagsResource",
    type="string",
    boolean_value=False,
    name="string",
    number_value=0,
    string_value="string")
Copy
const discoveryFeatureFlagsResource = new dynatrace.DiscoveryFeatureFlags("discoveryFeatureFlagsResource", {
    type: "string",
    booleanValue: false,
    name: "string",
    numberValue: 0,
    stringValue: "string",
});
Copy
type: dynatrace:DiscoveryFeatureFlags
properties:
    booleanValue: false
    name: string
    numberValue: 0
    stringValue: string
    type: string
Copy

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

Type This property is required. string
Possible Values: Boolean, Number, String
BooleanValue bool
State of boolean feature
Name string
Name of the feature
NumberValue int
State of numeric feature
StringValue string
State of textual feature
Type This property is required. string
Possible Values: Boolean, Number, String
BooleanValue bool
State of boolean feature
Name string
Name of the feature
NumberValue int
State of numeric feature
StringValue string
State of textual feature
type This property is required. String
Possible Values: Boolean, Number, String
booleanValue Boolean
State of boolean feature
name String
Name of the feature
numberValue Integer
State of numeric feature
stringValue String
State of textual feature
type This property is required. string
Possible Values: Boolean, Number, String
booleanValue boolean
State of boolean feature
name string
Name of the feature
numberValue number
State of numeric feature
stringValue string
State of textual feature
type This property is required. str
Possible Values: Boolean, Number, String
boolean_value bool
State of boolean feature
name str
Name of the feature
number_value int
State of numeric feature
string_value str
State of textual feature
type This property is required. String
Possible Values: Boolean, Number, String
booleanValue Boolean
State of boolean feature
name String
Name of the feature
numberValue Number
State of numeric feature
stringValue String
State of textual feature

Outputs

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

Get an existing DiscoveryFeatureFlags 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?: DiscoveryFeatureFlagsState, opts?: CustomResourceOptions): DiscoveryFeatureFlags
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        boolean_value: Optional[bool] = None,
        name: Optional[str] = None,
        number_value: Optional[int] = None,
        string_value: Optional[str] = None,
        type: Optional[str] = None) -> DiscoveryFeatureFlags
func GetDiscoveryFeatureFlags(ctx *Context, name string, id IDInput, state *DiscoveryFeatureFlagsState, opts ...ResourceOption) (*DiscoveryFeatureFlags, error)
public static DiscoveryFeatureFlags Get(string name, Input<string> id, DiscoveryFeatureFlagsState? state, CustomResourceOptions? opts = null)
public static DiscoveryFeatureFlags get(String name, Output<String> id, DiscoveryFeatureFlagsState state, CustomResourceOptions options)
resources:  _:    type: dynatrace:DiscoveryFeatureFlags    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.
The following state arguments are supported:
BooleanValue bool
State of boolean feature
Name string
Name of the feature
NumberValue int
State of numeric feature
StringValue string
State of textual feature
Type string
Possible Values: Boolean, Number, String
BooleanValue bool
State of boolean feature
Name string
Name of the feature
NumberValue int
State of numeric feature
StringValue string
State of textual feature
Type string
Possible Values: Boolean, Number, String
booleanValue Boolean
State of boolean feature
name String
Name of the feature
numberValue Integer
State of numeric feature
stringValue String
State of textual feature
type String
Possible Values: Boolean, Number, String
booleanValue boolean
State of boolean feature
name string
Name of the feature
numberValue number
State of numeric feature
stringValue string
State of textual feature
type string
Possible Values: Boolean, Number, String
boolean_value bool
State of boolean feature
name str
Name of the feature
number_value int
State of numeric feature
string_value str
State of textual feature
type str
Possible Values: Boolean, Number, String
booleanValue Boolean
State of boolean feature
name String
Name of the feature
numberValue Number
State of numeric feature
stringValue String
State of textual feature
type String
Possible Values: Boolean, Number, String

Package Details

Repository
dynatrace pulumiverse/pulumi-dynatrace
License
Apache-2.0
Notes
This Pulumi package is based on the dynatrace Terraform Provider.