Dynatrace v0.16.0 published on Tuesday, Sep 10, 2024 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 string
- The unique name of the resource.
- args DiscoveryFeatureFlagsArgs
- 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 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 string
- The unique name of the resource.
- args DiscoveryFeatureFlagsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DiscoveryFeatureFlagsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
var discoveryFeatureFlagsResource = new DiscoveryFeatureFlags("discoveryFeatureFlagsResource", DiscoveryFeatureFlagsArgs.builder()
.type("string")
.booleanValue(false)
.name("string")
.numberValue(0)
.stringValue("string")
.build());
discovery_feature_flags_resource = dynatrace.DiscoveryFeatureFlags("discoveryFeatureFlagsResource",
type="string",
boolean_value=False,
name="string",
number_value=0,
string_value="string")
const discoveryFeatureFlagsResource = new dynatrace.DiscoveryFeatureFlags("discoveryFeatureFlagsResource", {
type: "string",
booleanValue: false,
name: "string",
numberValue: 0,
stringValue: "string",
});
type: dynatrace:DiscoveryFeatureFlags
properties:
booleanValue: false
name: string
numberValue: 0
stringValue: string
type: string
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
The DiscoveryFeatureFlags resource accepts the following input properties:
- Type string
- Possible Values:
Boolean
,Number
,String
- Boolean
Value bool - State of boolean feature
- Name string
- Name of the feature
- Number
Value int - State of numeric feature
- String
Value string - State of textual feature
- Type string
- Possible Values:
Boolean
,Number
,String
- Boolean
Value bool - State of boolean feature
- Name string
- Name of the feature
- Number
Value int - State of numeric feature
- String
Value string - State of textual feature
- type String
- Possible Values:
Boolean
,Number
,String
- boolean
Value Boolean - State of boolean feature
- name String
- Name of the feature
- number
Value Integer - State of numeric feature
- string
Value String - State of textual feature
- type string
- Possible Values:
Boolean
,Number
,String
- boolean
Value boolean - State of boolean feature
- name string
- Name of the feature
- number
Value number - State of numeric feature
- string
Value string - State of textual feature
- type 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 String
- Possible Values:
Boolean
,Number
,String
- boolean
Value Boolean - State of boolean feature
- name String
- Name of the feature
- number
Value Number - State of numeric feature
- string
Value 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)
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.
- Boolean
Value bool - State of boolean feature
- Name string
- Name of the feature
- Number
Value int - State of numeric feature
- String
Value string - State of textual feature
- Type string
- Possible Values:
Boolean
,Number
,String
- Boolean
Value bool - State of boolean feature
- Name string
- Name of the feature
- Number
Value int - State of numeric feature
- String
Value string - State of textual feature
- Type string
- Possible Values:
Boolean
,Number
,String
- boolean
Value Boolean - State of boolean feature
- name String
- Name of the feature
- number
Value Integer - State of numeric feature
- string
Value String - State of textual feature
- type String
- Possible Values:
Boolean
,Number
,String
- boolean
Value boolean - State of boolean feature
- name string
- Name of the feature
- number
Value number - State of numeric feature
- string
Value 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
- boolean
Value Boolean - State of boolean feature
- name String
- Name of the feature
- number
Value Number - State of numeric feature
- string
Value 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.