1. Packages
  2. Dynatrace
  3. API Docs
  4. ManagementZoneV2
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

dynatrace.ManagementZoneV2

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

    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
    LegacyId 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.PulumiPackage.Dynatrace.Inputs.ManagementZoneV2Rules
    Rules
    Description string
    Description
    LegacyId 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 ManagementZoneV2RulesArgs
    Rules
    description String
    Description
    legacyId 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 ManagementZoneV2Rules
    Rules
    description string
    Description
    legacyId 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 ManagementZoneV2Rules
    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 ManagementZoneV2RulesArgs
    Rules
    description String
    Description
    legacyId 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.
    The following state arguments are supported:
    Description string
    Description
    LegacyId 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.PulumiPackage.Dynatrace.Inputs.ManagementZoneV2Rules
    Rules
    Description string
    Description
    LegacyId 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 ManagementZoneV2RulesArgs
    Rules
    description String
    Description
    legacyId 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 ManagementZoneV2Rules
    Rules
    description string
    Description
    legacyId 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 ManagementZoneV2Rules
    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 ManagementZoneV2RulesArgs
    Rules
    description String
    Description
    legacyId 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 []ManagementZoneV2RulesRule
    A management zone rule
    rules ManagementZoneV2RulesRule[]
    A management zone rule
    rules List<Property Map>
    A management zone rule

    ManagementZoneV2RulesRule, ManagementZoneV2RulesRuleArgs

    ManagementZoneV2RulesRuleAttributeRule, ManagementZoneV2RulesRuleAttributeRuleArgs

    ManagementZoneV2RulesRuleAttributeRuleAttributeConditions, ManagementZoneV2RulesRuleAttributeRuleAttributeConditionsArgs

    ManagementZoneV2RulesRuleAttributeRuleAttributeConditionsCondition, ManagementZoneV2RulesRuleAttributeRuleAttributeConditionsConditionArgs

    Key string
    Operator string
    CaseSensitive bool
    DynamicKey string
    DynamicKeySource string
    EntityId string
    EnumValue string
    IntegerValue int
    StringValue string
    Tag string
    Key string
    Operator string
    CaseSensitive bool
    DynamicKey string
    DynamicKeySource string
    EntityId string
    EnumValue string
    IntegerValue int
    StringValue string
    Tag string
    key String
    operator String
    caseSensitive Boolean
    dynamicKey String
    dynamicKeySource String
    entityId String
    enumValue String
    integerValue Integer
    stringValue String
    tag String
    key string
    operator string
    caseSensitive boolean
    dynamicKey string
    dynamicKeySource string
    entityId string
    enumValue string
    integerValue number
    stringValue string
    tag string
    key String
    operator String
    caseSensitive Boolean
    dynamicKey String
    dynamicKeySource String
    entityId String
    enumValue String
    integerValue Number
    stringValue String
    tag String

    ManagementZoneV2RulesRuleDimensionRule, ManagementZoneV2RulesRuleDimensionRuleArgs

    ManagementZoneV2RulesRuleDimensionRuleDimensionConditions, ManagementZoneV2RulesRuleDimensionRuleDimensionConditionsArgs

    ManagementZoneV2RulesRuleDimensionRuleDimensionConditionsCondition, ManagementZoneV2RulesRuleDimensionRuleDimensionConditionsConditionArgs

    ConditionType string
    RuleMatcher string
    Value string
    Key string
    ConditionType string
    RuleMatcher string
    Value string
    Key string
    conditionType String
    ruleMatcher String
    value String
    key String
    conditionType string
    ruleMatcher string
    value string
    key string
    conditionType String
    ruleMatcher 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.
    dynatrace logo
    Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs