Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs
dynatrace.AutotagV2
Explore with Pulumi AI
Create AutotagV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AutotagV2(name: string, args?: AutotagV2Args, opts?: CustomResourceOptions);
@overload
def AutotagV2(resource_name: str,
args: Optional[AutotagV2Args] = None,
opts: Optional[ResourceOptions] = None)
@overload
def AutotagV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
name: Optional[str] = None,
rules: Optional[AutotagV2RulesArgs] = None)
func NewAutotagV2(ctx *Context, name string, args *AutotagV2Args, opts ...ResourceOption) (*AutotagV2, error)
public AutotagV2(string name, AutotagV2Args? args = null, CustomResourceOptions? opts = null)
public AutotagV2(String name, AutotagV2Args args)
public AutotagV2(String name, AutotagV2Args args, CustomResourceOptions options)
type: dynatrace:AutotagV2
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 AutotagV2Args
- 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 AutotagV2Args
- 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 AutotagV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AutotagV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AutotagV2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Example
The following reference example uses placeholder values for all input properties.
var autotagV2Resource = new Dynatrace.AutotagV2("autotagV2Resource", new()
{
Description = "string",
Name = "string",
Rules = new Dynatrace.Inputs.AutotagV2RulesArgs
{
Rules = new[]
{
new Dynatrace.Inputs.AutotagV2RulesRuleArgs
{
Enabled = false,
Type = "string",
ValueNormalization = "string",
AttributeRule = new Dynatrace.Inputs.AutotagV2RulesRuleAttributeRuleArgs
{
Conditions = new Dynatrace.Inputs.AutotagV2RulesRuleAttributeRuleConditionsArgs
{
Conditions = new[]
{
new Dynatrace.Inputs.AutotagV2RulesRuleAttributeRuleConditionsConditionArgs
{
Key = "string",
Operator = "string",
CaseSensitive = false,
DynamicKey = "string",
DynamicKeySource = "string",
EntityId = "string",
EnumValue = "string",
IntegerValue = 0,
StringValue = "string",
Tag = "string",
},
},
},
EntityType = "string",
AzureToPgpropagation = false,
AzureToServicePropagation = false,
HostToPgpropagation = false,
PgToHostPropagation = false,
PgToServicePropagation = false,
ServiceToHostPropagation = false,
ServiceToPgpropagation = false,
},
EntitySelector = "string",
ValueFormat = "string",
},
},
},
});
example, err := dynatrace.NewAutotagV2(ctx, "autotagV2Resource", &dynatrace.AutotagV2Args{
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Rules: &dynatrace.AutotagV2RulesArgs{
Rules: dynatrace.AutotagV2RulesRuleArray{
&dynatrace.AutotagV2RulesRuleArgs{
Enabled: pulumi.Bool(false),
Type: pulumi.String("string"),
ValueNormalization: pulumi.String("string"),
AttributeRule: &dynatrace.AutotagV2RulesRuleAttributeRuleArgs{
Conditions: &dynatrace.AutotagV2RulesRuleAttributeRuleConditionsArgs{
Conditions: dynatrace.AutotagV2RulesRuleAttributeRuleConditionsConditionArray{
&dynatrace.AutotagV2RulesRuleAttributeRuleConditionsConditionArgs{
Key: pulumi.String("string"),
Operator: pulumi.String("string"),
CaseSensitive: pulumi.Bool(false),
DynamicKey: pulumi.String("string"),
DynamicKeySource: pulumi.String("string"),
EntityId: pulumi.String("string"),
EnumValue: pulumi.String("string"),
IntegerValue: pulumi.Int(0),
StringValue: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
},
EntityType: pulumi.String("string"),
AzureToPgpropagation: pulumi.Bool(false),
AzureToServicePropagation: pulumi.Bool(false),
HostToPgpropagation: pulumi.Bool(false),
PgToHostPropagation: pulumi.Bool(false),
PgToServicePropagation: pulumi.Bool(false),
ServiceToHostPropagation: pulumi.Bool(false),
ServiceToPgpropagation: pulumi.Bool(false),
},
EntitySelector: pulumi.String("string"),
ValueFormat: pulumi.String("string"),
},
},
},
})
var autotagV2Resource = new AutotagV2("autotagV2Resource", AutotagV2Args.builder()
.description("string")
.name("string")
.rules(AutotagV2RulesArgs.builder()
.rules(AutotagV2RulesRuleArgs.builder()
.enabled(false)
.type("string")
.valueNormalization("string")
.attributeRule(AutotagV2RulesRuleAttributeRuleArgs.builder()
.conditions(AutotagV2RulesRuleAttributeRuleConditionsArgs.builder()
.conditions(AutotagV2RulesRuleAttributeRuleConditionsConditionArgs.builder()
.key("string")
.operator("string")
.caseSensitive(false)
.dynamicKey("string")
.dynamicKeySource("string")
.entityId("string")
.enumValue("string")
.integerValue(0)
.stringValue("string")
.tag("string")
.build())
.build())
.entityType("string")
.azureToPgpropagation(false)
.azureToServicePropagation(false)
.hostToPgpropagation(false)
.pgToHostPropagation(false)
.pgToServicePropagation(false)
.serviceToHostPropagation(false)
.serviceToPgpropagation(false)
.build())
.entitySelector("string")
.valueFormat("string")
.build())
.build())
.build());
autotag_v2_resource = dynatrace.AutotagV2("autotagV2Resource",
description="string",
name="string",
rules=dynatrace.AutotagV2RulesArgs(
rules=[dynatrace.AutotagV2RulesRuleArgs(
enabled=False,
type="string",
value_normalization="string",
attribute_rule=dynatrace.AutotagV2RulesRuleAttributeRuleArgs(
conditions=dynatrace.AutotagV2RulesRuleAttributeRuleConditionsArgs(
conditions=[dynatrace.AutotagV2RulesRuleAttributeRuleConditionsConditionArgs(
key="string",
operator="string",
case_sensitive=False,
dynamic_key="string",
dynamic_key_source="string",
entity_id="string",
enum_value="string",
integer_value=0,
string_value="string",
tag="string",
)],
),
entity_type="string",
azure_to_pgpropagation=False,
azure_to_service_propagation=False,
host_to_pgpropagation=False,
pg_to_host_propagation=False,
pg_to_service_propagation=False,
service_to_host_propagation=False,
service_to_pgpropagation=False,
),
entity_selector="string",
value_format="string",
)],
))
const autotagV2Resource = new dynatrace.AutotagV2("autotagV2Resource", {
description: "string",
name: "string",
rules: {
rules: [{
enabled: false,
type: "string",
valueNormalization: "string",
attributeRule: {
conditions: {
conditions: [{
key: "string",
operator: "string",
caseSensitive: false,
dynamicKey: "string",
dynamicKeySource: "string",
entityId: "string",
enumValue: "string",
integerValue: 0,
stringValue: "string",
tag: "string",
}],
},
entityType: "string",
azureToPgpropagation: false,
azureToServicePropagation: false,
hostToPgpropagation: false,
pgToHostPropagation: false,
pgToServicePropagation: false,
serviceToHostPropagation: false,
serviceToPgpropagation: false,
},
entitySelector: "string",
valueFormat: "string",
}],
},
});
type: dynatrace:AutotagV2
properties:
description: string
name: string
rules:
rules:
- attributeRule:
azureToPgpropagation: false
azureToServicePropagation: false
conditions:
conditions:
- caseSensitive: false
dynamicKey: string
dynamicKeySource: string
entityId: string
enumValue: string
integerValue: 0
key: string
operator: string
stringValue: string
tag: string
entityType: string
hostToPgpropagation: false
pgToHostPropagation: false
pgToServicePropagation: false
serviceToHostPropagation: false
serviceToPgpropagation: false
enabled: false
entitySelector: string
type: string
valueFormat: string
valueNormalization: string
AutotagV2 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 AutotagV2 resource accepts the following input properties:
- Description string
- Description
- Name string
- Tag name
- Rules
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Autotag V2Rules - Rules
- Description string
- Description
- Name string
- Tag name
- Rules
Autotag
V2Rules Args - Rules
- description String
- Description
- name String
- Tag name
- rules
Autotag
V2Rules - Rules
- description string
- Description
- name string
- Tag name
- rules
Autotag
V2Rules - Rules
- description str
- Description
- name str
- Tag name
- rules
Autotag
V2Rules Args - Rules
- description String
- Description
- name String
- Tag name
- rules Property Map
- Rules
Outputs
All input properties are implicitly available as output properties. Additionally, the AutotagV2 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 AutotagV2 Resource
Get an existing AutotagV2 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?: AutotagV2State, opts?: CustomResourceOptions): AutotagV2
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
name: Optional[str] = None,
rules: Optional[AutotagV2RulesArgs] = None) -> AutotagV2
func GetAutotagV2(ctx *Context, name string, id IDInput, state *AutotagV2State, opts ...ResourceOption) (*AutotagV2, error)
public static AutotagV2 Get(string name, Input<string> id, AutotagV2State? state, CustomResourceOptions? opts = null)
public static AutotagV2 get(String name, Output<String> id, AutotagV2State 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.
- Description string
- Description
- Name string
- Tag name
- Rules
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Autotag V2Rules - Rules
- Description string
- Description
- Name string
- Tag name
- Rules
Autotag
V2Rules Args - Rules
- description String
- Description
- name String
- Tag name
- rules
Autotag
V2Rules - Rules
- description string
- Description
- name string
- Tag name
- rules
Autotag
V2Rules - Rules
- description str
- Description
- name str
- Tag name
- rules
Autotag
V2Rules Args - Rules
- description String
- Description
- name String
- Tag name
- rules Property Map
- Rules
Supporting Types
AutotagV2Rules, AutotagV2RulesArgs
AutotagV2RulesRule, AutotagV2RulesRuleArgs
- Enabled bool
- Type string
- Value
Normalization string - Attribute
Rule AutotagV2Rules Rule Attribute Rule - Entity
Selector string - Value
Format string
- enabled Boolean
- type String
- value
Normalization String - attribute
Rule AutotagV2Rules Rule Attribute Rule - entity
Selector String - value
Format String
- enabled boolean
- type string
- value
Normalization string - attribute
Rule AutotagV2Rules Rule Attribute Rule - entity
Selector string - value
Format string
- enabled Boolean
- type String
- value
Normalization String - attribute
Rule Property Map - entity
Selector String - value
Format String
AutotagV2RulesRuleAttributeRule, AutotagV2RulesRuleAttributeRuleArgs
- conditions
Autotag
V2Rules Rule Attribute Rule Conditions - entity
Type String - azure
To BooleanPgpropagation - azure
To BooleanService Propagation - host
To BooleanPgpropagation - pg
To BooleanHost Propagation - pg
To BooleanService Propagation - service
To BooleanHost Propagation - service
To BooleanPgpropagation
- conditions
Autotag
V2Rules Rule Attribute Rule Conditions - entity
Type string - azure
To booleanPgpropagation - azure
To booleanService Propagation - host
To booleanPgpropagation - pg
To booleanHost Propagation - pg
To booleanService Propagation - service
To booleanHost Propagation - service
To booleanPgpropagation
- conditions Property Map
- entity
Type String - azure
To BooleanPgpropagation - azure
To BooleanService Propagation - host
To BooleanPgpropagation - pg
To BooleanHost Propagation - pg
To BooleanService Propagation - service
To BooleanHost Propagation - service
To BooleanPgpropagation
AutotagV2RulesRuleAttributeRuleConditions, AutotagV2RulesRuleAttributeRuleConditionsArgs
AutotagV2RulesRuleAttributeRuleConditionsCondition, AutotagV2RulesRuleAttributeRuleConditionsConditionArgs
- Key string
- Operator string
- Case
Sensitive bool - Dynamic
Key string - Dynamic
Key stringSource - Entity
Id string - Enum
Value string - Integer
Value int - String
Value string - Tag string
- Key string
- Operator string
- Case
Sensitive bool - Dynamic
Key string - Dynamic
Key stringSource - Entity
Id string - Enum
Value string - Integer
Value int - String
Value string - Tag string
- key String
- operator String
- case
Sensitive Boolean - dynamic
Key String - dynamic
Key StringSource - entity
Id String - enum
Value String - integer
Value Integer - string
Value String - tag String
- key string
- operator string
- case
Sensitive boolean - dynamic
Key string - dynamic
Key stringSource - entity
Id string - enum
Value string - integer
Value number - string
Value string - tag string
- key str
- operator str
- case_
sensitive bool - dynamic_
key str - dynamic_
key_ strsource - entity_
id str - enum_
value str - integer_
value int - string_
value str - tag str
- key String
- operator String
- case
Sensitive Boolean - dynamic
Key String - dynamic
Key StringSource - entity
Id String - enum
Value String - integer
Value Number - string
Value String - tag String
Package Details
- Repository
- dynatrace lbrlabs/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.