dynatrace.DbAppFeatureFlags
Explore with Pulumi AI
Create DbAppFeatureFlags Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DbAppFeatureFlags(name: string, args: DbAppFeatureFlagsArgs, opts?: CustomResourceOptions);
@overload
def DbAppFeatureFlags(resource_name: str,
args: DbAppFeatureFlagsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DbAppFeatureFlags(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 NewDbAppFeatureFlags(ctx *Context, name string, args DbAppFeatureFlagsArgs, opts ...ResourceOption) (*DbAppFeatureFlags, error)
public DbAppFeatureFlags(string name, DbAppFeatureFlagsArgs args, CustomResourceOptions? opts = null)
public DbAppFeatureFlags(String name, DbAppFeatureFlagsArgs args)
public DbAppFeatureFlags(String name, DbAppFeatureFlagsArgs args, CustomResourceOptions options)
type: dynatrace:DbAppFeatureFlags
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 DbAppFeatureFlagsArgs
- 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 DbAppFeatureFlagsArgs
- 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 DbAppFeatureFlagsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DbAppFeatureFlagsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DbAppFeatureFlagsArgs
- 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 dbAppFeatureFlagsResource = new Dynatrace.DbAppFeatureFlags("dbAppFeatureFlagsResource", new()
{
Type = "string",
BooleanValue = false,
Name = "string",
NumberValue = 0,
StringValue = "string",
});
example, err := dynatrace.NewDbAppFeatureFlags(ctx, "dbAppFeatureFlagsResource", &dynatrace.DbAppFeatureFlagsArgs{
Type: pulumi.String("string"),
BooleanValue: pulumi.Bool(false),
Name: pulumi.String("string"),
NumberValue: pulumi.Int(0),
StringValue: pulumi.String("string"),
})
var dbAppFeatureFlagsResource = new DbAppFeatureFlags("dbAppFeatureFlagsResource", DbAppFeatureFlagsArgs.builder()
.type("string")
.booleanValue(false)
.name("string")
.numberValue(0)
.stringValue("string")
.build());
db_app_feature_flags_resource = dynatrace.DbAppFeatureFlags("dbAppFeatureFlagsResource",
type="string",
boolean_value=False,
name="string",
number_value=0,
string_value="string")
const dbAppFeatureFlagsResource = new dynatrace.DbAppFeatureFlags("dbAppFeatureFlagsResource", {
type: "string",
booleanValue: false,
name: "string",
numberValue: 0,
stringValue: "string",
});
type: dynatrace:DbAppFeatureFlags
properties:
booleanValue: false
name: string
numberValue: 0
stringValue: string
type: string
DbAppFeatureFlags 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 DbAppFeatureFlags resource accepts the following input properties:
- Type string
- Possible Values:
Boolean
,Number
,String
- Boolean
Value bool - State of boolean feature flag
- Name string
- Name of the feature
- Number
Value int - State of numeric feature flag
- String
Value string - State of textual feature flag
- Type string
- Possible Values:
Boolean
,Number
,String
- Boolean
Value bool - State of boolean feature flag
- Name string
- Name of the feature
- Number
Value int - State of numeric feature flag
- String
Value string - State of textual feature flag
- type String
- Possible Values:
Boolean
,Number
,String
- boolean
Value Boolean - State of boolean feature flag
- name String
- Name of the feature
- number
Value Integer - State of numeric feature flag
- string
Value String - State of textual feature flag
- type string
- Possible Values:
Boolean
,Number
,String
- boolean
Value boolean - State of boolean feature flag
- name string
- Name of the feature
- number
Value number - State of numeric feature flag
- string
Value string - State of textual feature flag
- type str
- Possible Values:
Boolean
,Number
,String
- boolean_
value bool - State of boolean feature flag
- name str
- Name of the feature
- number_
value int - State of numeric feature flag
- string_
value str - State of textual feature flag
- type String
- Possible Values:
Boolean
,Number
,String
- boolean
Value Boolean - State of boolean feature flag
- name String
- Name of the feature
- number
Value Number - State of numeric feature flag
- string
Value String - State of textual feature flag
Outputs
All input properties are implicitly available as output properties. Additionally, the DbAppFeatureFlags 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 DbAppFeatureFlags Resource
Get an existing DbAppFeatureFlags 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?: DbAppFeatureFlagsState, opts?: CustomResourceOptions): DbAppFeatureFlags
@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) -> DbAppFeatureFlags
func GetDbAppFeatureFlags(ctx *Context, name string, id IDInput, state *DbAppFeatureFlagsState, opts ...ResourceOption) (*DbAppFeatureFlags, error)
public static DbAppFeatureFlags Get(string name, Input<string> id, DbAppFeatureFlagsState? state, CustomResourceOptions? opts = null)
public static DbAppFeatureFlags get(String name, Output<String> id, DbAppFeatureFlagsState 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 flag
- Name string
- Name of the feature
- Number
Value int - State of numeric feature flag
- String
Value string - State of textual feature flag
- Type string
- Possible Values:
Boolean
,Number
,String
- Boolean
Value bool - State of boolean feature flag
- Name string
- Name of the feature
- Number
Value int - State of numeric feature flag
- String
Value string - State of textual feature flag
- Type string
- Possible Values:
Boolean
,Number
,String
- boolean
Value Boolean - State of boolean feature flag
- name String
- Name of the feature
- number
Value Integer - State of numeric feature flag
- string
Value String - State of textual feature flag
- type String
- Possible Values:
Boolean
,Number
,String
- boolean
Value boolean - State of boolean feature flag
- name string
- Name of the feature
- number
Value number - State of numeric feature flag
- string
Value string - State of textual feature flag
- type string
- Possible Values:
Boolean
,Number
,String
- boolean_
value bool - State of boolean feature flag
- name str
- Name of the feature
- number_
value int - State of numeric feature flag
- string_
value str - State of textual feature flag
- type str
- Possible Values:
Boolean
,Number
,String
- boolean
Value Boolean - State of boolean feature flag
- name String
- Name of the feature
- number
Value Number - State of numeric feature flag
- string
Value String - State of textual feature flag
- 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.