Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs
dynatrace.ManagementZoneV2
Explore with Pulumi AI
Create ManagementZoneV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementZoneV2(name: string, args?: ManagementZoneV2Args, opts?: CustomResourceOptions);
@overload
def ManagementZoneV2(resource_name: str,
args: Optional[ManagementZoneV2Args] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementZoneV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
legacy_id: Optional[str] = None,
name: Optional[str] = None,
rules: Optional[ManagementZoneV2RulesArgs] = None)
func NewManagementZoneV2(ctx *Context, name string, args *ManagementZoneV2Args, opts ...ResourceOption) (*ManagementZoneV2, error)
public ManagementZoneV2(string name, ManagementZoneV2Args? args = null, CustomResourceOptions? opts = null)
public ManagementZoneV2(String name, ManagementZoneV2Args args)
public ManagementZoneV2(String name, ManagementZoneV2Args args, CustomResourceOptions options)
type: dynatrace:ManagementZoneV2
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 ManagementZoneV2Args
- 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 ManagementZoneV2Args
- 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 ManagementZoneV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementZoneV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementZoneV2Args
- 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 managementZoneV2Resource = new Dynatrace.ManagementZoneV2("managementZoneV2Resource", new()
{
Description = "string",
LegacyId = "string",
Name = "string",
Rules = new Dynatrace.Inputs.ManagementZoneV2RulesArgs
{
Rules = new[]
{
new Dynatrace.Inputs.ManagementZoneV2RulesRuleArgs
{
Enabled = false,
Type = "string",
AttributeRule = new Dynatrace.Inputs.ManagementZoneV2RulesRuleAttributeRuleArgs
{
AttributeConditions = new Dynatrace.Inputs.ManagementZoneV2RulesRuleAttributeRuleAttributeConditionsArgs
{
Conditions = new[]
{
new Dynatrace.Inputs.ManagementZoneV2RulesRuleAttributeRuleAttributeConditionsConditionArgs
{
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,
CustomDeviceGroupToCustomDevicePropagation = false,
HostToPgpropagation = false,
PgToHostPropagation = false,
PgToServicePropagation = false,
ServiceToHostPropagation = false,
ServiceToPgpropagation = false,
},
DimensionRule = new Dynatrace.Inputs.ManagementZoneV2RulesRuleDimensionRuleArgs
{
AppliesTo = "string",
DimensionConditions = new Dynatrace.Inputs.ManagementZoneV2RulesRuleDimensionRuleDimensionConditionsArgs
{
Conditions = new[]
{
new Dynatrace.Inputs.ManagementZoneV2RulesRuleDimensionRuleDimensionConditionsConditionArgs
{
ConditionType = "string",
RuleMatcher = "string",
Value = "string",
Key = "string",
},
},
},
},
EntitySelector = "string",
},
},
},
});
example, err := dynatrace.NewManagementZoneV2(ctx, "managementZoneV2Resource", &dynatrace.ManagementZoneV2Args{
Description: pulumi.String("string"),
LegacyId: pulumi.String("string"),
Name: pulumi.String("string"),
Rules: &dynatrace.ManagementZoneV2RulesArgs{
Rules: dynatrace.ManagementZoneV2RulesRuleArray{
&dynatrace.ManagementZoneV2RulesRuleArgs{
Enabled: pulumi.Bool(false),
Type: pulumi.String("string"),
AttributeRule: &dynatrace.ManagementZoneV2RulesRuleAttributeRuleArgs{
AttributeConditions: &dynatrace.ManagementZoneV2RulesRuleAttributeRuleAttributeConditionsArgs{
Conditions: dynatrace.ManagementZoneV2RulesRuleAttributeRuleAttributeConditionsConditionArray{
&dynatrace.ManagementZoneV2RulesRuleAttributeRuleAttributeConditionsConditionArgs{
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),
CustomDeviceGroupToCustomDevicePropagation: pulumi.Bool(false),
HostToPgpropagation: pulumi.Bool(false),
PgToHostPropagation: pulumi.Bool(false),
PgToServicePropagation: pulumi.Bool(false),
ServiceToHostPropagation: pulumi.Bool(false),
ServiceToPgpropagation: pulumi.Bool(false),
},
DimensionRule: &dynatrace.ManagementZoneV2RulesRuleDimensionRuleArgs{
AppliesTo: pulumi.String("string"),
DimensionConditions: &dynatrace.ManagementZoneV2RulesRuleDimensionRuleDimensionConditionsArgs{
Conditions: dynatrace.ManagementZoneV2RulesRuleDimensionRuleDimensionConditionsConditionArray{
&dynatrace.ManagementZoneV2RulesRuleDimensionRuleDimensionConditionsConditionArgs{
ConditionType: pulumi.String("string"),
RuleMatcher: pulumi.String("string"),
Value: pulumi.String("string"),
Key: pulumi.String("string"),
},
},
},
},
EntitySelector: pulumi.String("string"),
},
},
},
})
var managementZoneV2Resource = new ManagementZoneV2("managementZoneV2Resource", ManagementZoneV2Args.builder()
.description("string")
.legacyId("string")
.name("string")
.rules(ManagementZoneV2RulesArgs.builder()
.rules(ManagementZoneV2RulesRuleArgs.builder()
.enabled(false)
.type("string")
.attributeRule(ManagementZoneV2RulesRuleAttributeRuleArgs.builder()
.attributeConditions(ManagementZoneV2RulesRuleAttributeRuleAttributeConditionsArgs.builder()
.conditions(ManagementZoneV2RulesRuleAttributeRuleAttributeConditionsConditionArgs.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)
.customDeviceGroupToCustomDevicePropagation(false)
.hostToPgpropagation(false)
.pgToHostPropagation(false)
.pgToServicePropagation(false)
.serviceToHostPropagation(false)
.serviceToPgpropagation(false)
.build())
.dimensionRule(ManagementZoneV2RulesRuleDimensionRuleArgs.builder()
.appliesTo("string")
.dimensionConditions(ManagementZoneV2RulesRuleDimensionRuleDimensionConditionsArgs.builder()
.conditions(ManagementZoneV2RulesRuleDimensionRuleDimensionConditionsConditionArgs.builder()
.conditionType("string")
.ruleMatcher("string")
.value("string")
.key("string")
.build())
.build())
.build())
.entitySelector("string")
.build())
.build())
.build());
management_zone_v2_resource = dynatrace.ManagementZoneV2("managementZoneV2Resource",
description="string",
legacy_id="string",
name="string",
rules=dynatrace.ManagementZoneV2RulesArgs(
rules=[dynatrace.ManagementZoneV2RulesRuleArgs(
enabled=False,
type="string",
attribute_rule=dynatrace.ManagementZoneV2RulesRuleAttributeRuleArgs(
attribute_conditions=dynatrace.ManagementZoneV2RulesRuleAttributeRuleAttributeConditionsArgs(
conditions=[dynatrace.ManagementZoneV2RulesRuleAttributeRuleAttributeConditionsConditionArgs(
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,
custom_device_group_to_custom_device_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,
),
dimension_rule=dynatrace.ManagementZoneV2RulesRuleDimensionRuleArgs(
applies_to="string",
dimension_conditions=dynatrace.ManagementZoneV2RulesRuleDimensionRuleDimensionConditionsArgs(
conditions=[dynatrace.ManagementZoneV2RulesRuleDimensionRuleDimensionConditionsConditionArgs(
condition_type="string",
rule_matcher="string",
value="string",
key="string",
)],
),
),
entity_selector="string",
)],
))
const managementZoneV2Resource = new dynatrace.ManagementZoneV2("managementZoneV2Resource", {
description: "string",
legacyId: "string",
name: "string",
rules: {
rules: [{
enabled: false,
type: "string",
attributeRule: {
attributeConditions: {
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,
customDeviceGroupToCustomDevicePropagation: false,
hostToPgpropagation: false,
pgToHostPropagation: false,
pgToServicePropagation: false,
serviceToHostPropagation: false,
serviceToPgpropagation: false,
},
dimensionRule: {
appliesTo: "string",
dimensionConditions: {
conditions: [{
conditionType: "string",
ruleMatcher: "string",
value: "string",
key: "string",
}],
},
},
entitySelector: "string",
}],
},
});
type: dynatrace:ManagementZoneV2
properties:
description: string
legacyId: string
name: string
rules:
rules:
- attributeRule:
attributeConditions:
conditions:
- caseSensitive: false
dynamicKey: string
dynamicKeySource: string
entityId: string
enumValue: string
integerValue: 0
key: string
operator: string
stringValue: string
tag: string
azureToPgpropagation: false
azureToServicePropagation: false
customDeviceGroupToCustomDevicePropagation: false
entityType: string
hostToPgpropagation: false
pgToHostPropagation: false
pgToServicePropagation: false
serviceToHostPropagation: false
serviceToPgpropagation: false
dimensionRule:
appliesTo: string
dimensionConditions:
conditions:
- conditionType: string
key: string
ruleMatcher: string
value: string
enabled: false
entitySelector: string
type: string
ManagementZoneV2 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 ManagementZoneV2 resource accepts the following input properties:
- Description string
- Description
- Legacy
Id string - The ID of this setting when referred to by the Config REST API V1
- Name string
- Be careful when renaming - if there are policies that are referencing this Management zone, they will need to be adapted to the new name!
- Rules
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Management Zone V2Rules - Rules
- Description string
- Description
- Legacy
Id string - The ID of this setting when referred to by the Config REST API V1
- Name string
- Be careful when renaming - if there are policies that are referencing this Management zone, they will need to be adapted to the new name!
- Rules
Management
Zone V2Rules Args - Rules
- description String
- Description
- legacy
Id String - The ID of this setting when referred to by the Config REST API V1
- name String
- Be careful when renaming - if there are policies that are referencing this Management zone, they will need to be adapted to the new name!
- rules
Management
Zone V2Rules - Rules
- description string
- Description
- legacy
Id string - The ID of this setting when referred to by the Config REST API V1
- name string
- Be careful when renaming - if there are policies that are referencing this Management zone, they will need to be adapted to the new name!
- rules
Management
Zone V2Rules - Rules
- description str
- Description
- legacy_
id str - The ID of this setting when referred to by the Config REST API V1
- name str
- Be careful when renaming - if there are policies that are referencing this Management zone, they will need to be adapted to the new name!
- rules
Management
Zone V2Rules Args - Rules
- description String
- Description
- legacy
Id String - The ID of this setting when referred to by the Config REST API V1
- name String
- Be careful when renaming - if there are policies that are referencing this Management zone, they will need to be adapted to the new name!
- rules Property Map
- Rules
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementZoneV2 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 ManagementZoneV2 Resource
Get an existing ManagementZoneV2 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?: ManagementZoneV2State, opts?: CustomResourceOptions): ManagementZoneV2
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
legacy_id: Optional[str] = None,
name: Optional[str] = None,
rules: Optional[ManagementZoneV2RulesArgs] = None) -> ManagementZoneV2
func GetManagementZoneV2(ctx *Context, name string, id IDInput, state *ManagementZoneV2State, opts ...ResourceOption) (*ManagementZoneV2, error)
public static ManagementZoneV2 Get(string name, Input<string> id, ManagementZoneV2State? state, CustomResourceOptions? opts = null)
public static ManagementZoneV2 get(String name, Output<String> id, ManagementZoneV2State 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
- Legacy
Id string - The ID of this setting when referred to by the Config REST API V1
- Name string
- Be careful when renaming - if there are policies that are referencing this Management zone, they will need to be adapted to the new name!
- Rules
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Management Zone V2Rules - Rules
- Description string
- Description
- Legacy
Id string - The ID of this setting when referred to by the Config REST API V1
- Name string
- Be careful when renaming - if there are policies that are referencing this Management zone, they will need to be adapted to the new name!
- Rules
Management
Zone V2Rules Args - Rules
- description String
- Description
- legacy
Id String - The ID of this setting when referred to by the Config REST API V1
- name String
- Be careful when renaming - if there are policies that are referencing this Management zone, they will need to be adapted to the new name!
- rules
Management
Zone V2Rules - Rules
- description string
- Description
- legacy
Id string - The ID of this setting when referred to by the Config REST API V1
- name string
- Be careful when renaming - if there are policies that are referencing this Management zone, they will need to be adapted to the new name!
- rules
Management
Zone V2Rules - Rules
- description str
- Description
- legacy_
id str - The ID of this setting when referred to by the Config REST API V1
- name str
- Be careful when renaming - if there are policies that are referencing this Management zone, they will need to be adapted to the new name!
- rules
Management
Zone V2Rules Args - Rules
- description String
- Description
- legacy
Id String - The ID of this setting when referred to by the Config REST API V1
- name String
- Be careful when renaming - if there are policies that are referencing this Management zone, they will need to be adapted to the new name!
- rules Property Map
- Rules
Supporting Types
ManagementZoneV2Rules, ManagementZoneV2RulesArgs
- Rules
List<Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Management Zone V2Rules Rule> - A management zone rule
- Rules
[]Management
Zone V2Rules Rule - A management zone rule
- rules
List<Management
Zone V2Rules Rule> - A management zone rule
- rules
Management
Zone V2Rules Rule[] - A management zone rule
- rules
Sequence[Management
Zone V2Rules Rule] - A management zone rule
- rules List<Property Map>
- A management zone rule
ManagementZoneV2RulesRule, ManagementZoneV2RulesRuleArgs
- enabled Boolean
- type String
- attribute
Rule Property Map - dimension
Rule Property Map - entity
Selector String
ManagementZoneV2RulesRuleAttributeRule, ManagementZoneV2RulesRuleAttributeRuleArgs
- Attribute
Conditions Lbrlabs.Pulumi Package. Dynatrace. Inputs. Management Zone V2Rules Rule Attribute Rule Attribute Conditions - Entity
Type string - Azure
To boolPgpropagation - Azure
To boolService Propagation - Custom
Device boolGroup To Custom Device Propagation - Host
To boolPgpropagation - Pg
To boolHost Propagation - Pg
To boolService Propagation - Service
To boolHost Propagation - Service
To boolPgpropagation
- Attribute
Conditions ManagementZone V2Rules Rule Attribute Rule Attribute Conditions - Entity
Type string - Azure
To boolPgpropagation - Azure
To boolService Propagation - Custom
Device boolGroup To Custom Device Propagation - Host
To boolPgpropagation - Pg
To boolHost Propagation - Pg
To boolService Propagation - Service
To boolHost Propagation - Service
To boolPgpropagation
- attribute
Conditions ManagementZone V2Rules Rule Attribute Rule Attribute Conditions - entity
Type String - azure
To BooleanPgpropagation - azure
To BooleanService Propagation - custom
Device BooleanGroup To Custom Device Propagation - host
To BooleanPgpropagation - pg
To BooleanHost Propagation - pg
To BooleanService Propagation - service
To BooleanHost Propagation - service
To BooleanPgpropagation
- attribute
Conditions ManagementZone V2Rules Rule Attribute Rule Attribute Conditions - entity
Type string - azure
To booleanPgpropagation - azure
To booleanService Propagation - custom
Device booleanGroup To Custom Device Propagation - host
To booleanPgpropagation - pg
To booleanHost Propagation - pg
To booleanService Propagation - service
To booleanHost Propagation - service
To booleanPgpropagation
- attribute_
conditions ManagementZone V2Rules Rule Attribute Rule Attribute Conditions - entity_
type str - azure_
to_ boolpgpropagation - azure_
to_ boolservice_ propagation - custom_
device_ boolgroup_ to_ custom_ device_ propagation - host_
to_ boolpgpropagation - pg_
to_ boolhost_ propagation - pg_
to_ boolservice_ propagation - service_
to_ boolhost_ propagation - service_
to_ boolpgpropagation
- attribute
Conditions Property Map - entity
Type String - azure
To BooleanPgpropagation - azure
To BooleanService Propagation - custom
Device BooleanGroup To Custom Device Propagation - host
To BooleanPgpropagation - pg
To BooleanHost Propagation - pg
To BooleanService Propagation - service
To BooleanHost Propagation - service
To BooleanPgpropagation
ManagementZoneV2RulesRuleAttributeRuleAttributeConditions, ManagementZoneV2RulesRuleAttributeRuleAttributeConditionsArgs
ManagementZoneV2RulesRuleAttributeRuleAttributeConditionsCondition, ManagementZoneV2RulesRuleAttributeRuleAttributeConditionsConditionArgs
- 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
ManagementZoneV2RulesRuleDimensionRule, ManagementZoneV2RulesRuleDimensionRuleArgs
ManagementZoneV2RulesRuleDimensionRuleDimensionConditions, ManagementZoneV2RulesRuleDimensionRuleDimensionConditionsArgs
ManagementZoneV2RulesRuleDimensionRuleDimensionConditionsCondition, ManagementZoneV2RulesRuleDimensionRuleDimensionConditionsConditionArgs
- Condition
Type string - Rule
Matcher string - Value string
- Key string
- Condition
Type string - Rule
Matcher string - Value string
- Key string
- condition
Type String - rule
Matcher String - value String
- key String
- condition
Type string - rule
Matcher string - value string
- key string
- condition_
type str - rule_
matcher str - value str
- key str
- condition
Type String - rule
Matcher String - value String
- key String
Package Details
- Repository
- dynatrace lbrlabs/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.