1. Registry
  2. Packages
  3. Dynatrace
  4. API Docs
  5. NetworkZoneV2
Viewing docs for Dynatrace v0.44.0
published on Friday, Oct 2, 2026 by Pulumiverse
dynatrace logo Dynatrace
Viewing docs for Dynatrace v0.44.0
published on Friday, Oct 2, 2026 by Pulumiverse

    This resource requires the API token scopes Read settings (settings.read) and Write settings (settings.write) or the OAuth scopes settings:objects:read and settings:objects:write

    Dynatrace Documentation

    • Network zones - https://www.dynatrace.com/support/help/setup-and-configuration/network-zones

    • Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: builtin:networkzones.zones)

    Export Example Usage

    • terraform-provider-dynatrace -export dynatrace.NetworkZoneV2 downloads all existing network zone configuration

    The full documentation of the export feature is available here.

    Create NetworkZoneV2 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new NetworkZoneV2(name: string, args: NetworkZoneV2Args, opts?: CustomResourceOptions);
    @overload
    def NetworkZoneV2(resource_name: str,
                      args: NetworkZoneV2Args,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def NetworkZoneV2(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      fallback_mode: Optional[str] = None,
                      identifier: Optional[str] = None,
                      alternative_zones: Optional[Sequence[str]] = None,
                      description: Optional[str] = None)
    func NewNetworkZoneV2(ctx *Context, name string, args NetworkZoneV2Args, opts ...ResourceOption) (*NetworkZoneV2, error)
    public NetworkZoneV2(string name, NetworkZoneV2Args args, CustomResourceOptions? opts = null)
    public NetworkZoneV2(String name, NetworkZoneV2Args args)
    public NetworkZoneV2(String name, NetworkZoneV2Args args, CustomResourceOptions options)
    
    type: dynatrace:NetworkZoneV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "dynatrace_network_zone_v2" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args NetworkZoneV2Args
    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 NetworkZoneV2Args
    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 NetworkZoneV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NetworkZoneV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NetworkZoneV2Args
    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 networkZoneV2Resource = new Dynatrace.NetworkZoneV2("networkZoneV2Resource", new()
    {
        FallbackMode = "string",
        Identifier = "string",
        AlternativeZones = new[]
        {
            "string",
        },
        Description = "string",
    });
    
    example, err := dynatrace.NewNetworkZoneV2(ctx, "networkZoneV2Resource", &dynatrace.NetworkZoneV2Args{
    	FallbackMode: pulumi.String("string"),
    	Identifier:   pulumi.String("string"),
    	AlternativeZones: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    })
    
    resource "dynatrace_network_zone_v2" "networkZoneV2Resource" {
      lifecycle {
        create_before_destroy = true
      }
      fallback_mode     = "string"
      identifier        = "string"
      alternative_zones = ["string"]
      description       = "string"
    }
    
    var networkZoneV2Resource = new NetworkZoneV2("networkZoneV2Resource", NetworkZoneV2Args.builder()
        .fallbackMode("string")
        .identifier("string")
        .alternativeZones("string")
        .description("string")
        .build());
    
    network_zone_v2_resource = dynatrace.NetworkZoneV2("networkZoneV2Resource",
        fallback_mode="string",
        identifier="string",
        alternative_zones=["string"],
        description="string")
    
    const networkZoneV2Resource = new dynatrace.NetworkZoneV2("networkZoneV2Resource", {
        fallbackMode: "string",
        identifier: "string",
        alternativeZones: ["string"],
        description: "string",
    });
    
    type: dynatrace:NetworkZoneV2
    properties:
        alternativeZones:
            - string
        description: string
        fallbackMode: string
        identifier: string
    

    NetworkZoneV2 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 NetworkZoneV2 resource accepts the following input properties:

    FallbackMode string
    Determines the network zone fallback behavior in case the primary and alternative zones are not available. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    Identifier string
    A lowercase string limited to 256 characters that can contain alphanumerics (0-9, a-z), hyphens (-), underscores (_), and dots (.), but can not start with a dot.
    AlternativeZones List<string>
    Network zones that should be used when the primary zone is not available.
    Description string
    Description
    FallbackMode string
    Determines the network zone fallback behavior in case the primary and alternative zones are not available. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    Identifier string
    A lowercase string limited to 256 characters that can contain alphanumerics (0-9, a-z), hyphens (-), underscores (_), and dots (.), but can not start with a dot.
    AlternativeZones []string
    Network zones that should be used when the primary zone is not available.
    Description string
    Description
    fallback_mode string
    Determines the network zone fallback behavior in case the primary and alternative zones are not available. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    identifier string
    A lowercase string limited to 256 characters that can contain alphanumerics (0-9, a-z), hyphens (-), underscores (_), and dots (.), but can not start with a dot.
    alternative_zones list(string)
    Network zones that should be used when the primary zone is not available.
    description string
    Description
    fallbackMode String
    Determines the network zone fallback behavior in case the primary and alternative zones are not available. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    identifier String
    A lowercase string limited to 256 characters that can contain alphanumerics (0-9, a-z), hyphens (-), underscores (_), and dots (.), but can not start with a dot.
    alternativeZones List<String>
    Network zones that should be used when the primary zone is not available.
    description String
    Description
    fallbackMode string
    Determines the network zone fallback behavior in case the primary and alternative zones are not available. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    identifier string
    A lowercase string limited to 256 characters that can contain alphanumerics (0-9, a-z), hyphens (-), underscores (_), and dots (.), but can not start with a dot.
    alternativeZones string[]
    Network zones that should be used when the primary zone is not available.
    description string
    Description
    fallback_mode str
    Determines the network zone fallback behavior in case the primary and alternative zones are not available. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    identifier str
    A lowercase string limited to 256 characters that can contain alphanumerics (0-9, a-z), hyphens (-), underscores (_), and dots (.), but can not start with a dot.
    alternative_zones Sequence[str]
    Network zones that should be used when the primary zone is not available.
    description str
    Description
    fallbackMode String
    Determines the network zone fallback behavior in case the primary and alternative zones are not available. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    identifier String
    A lowercase string limited to 256 characters that can contain alphanumerics (0-9, a-z), hyphens (-), underscores (_), and dots (.), but can not start with a dot.
    alternativeZones List<String>
    Network zones that should be used when the primary zone is not available.
    description String
    Description

    Outputs

    All input properties are implicitly available as output properties. Additionally, the NetworkZoneV2 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 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 NetworkZoneV2 Resource

    Get an existing NetworkZoneV2 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?: NetworkZoneV2State, opts?: CustomResourceOptions): NetworkZoneV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alternative_zones: Optional[Sequence[str]] = None,
            description: Optional[str] = None,
            fallback_mode: Optional[str] = None,
            identifier: Optional[str] = None) -> NetworkZoneV2
    func GetNetworkZoneV2(ctx *Context, name string, id IDInput, state *NetworkZoneV2State, opts ...ResourceOption) (*NetworkZoneV2, error)
    public static NetworkZoneV2 Get(string name, Input<string> id, NetworkZoneV2State? state, CustomResourceOptions? opts = null)
    public static NetworkZoneV2 get(String name, Output<String> id, NetworkZoneV2State state, CustomResourceOptions options)
    resources:  _:    type: dynatrace:NetworkZoneV2    get:      id: ${id}
    import {
      to = dynatrace_network_zone_v2.example
      id = "${id}"
    }
    
    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:
    AlternativeZones List<string>
    Network zones that should be used when the primary zone is not available.
    Description string
    Description
    FallbackMode string
    Determines the network zone fallback behavior in case the primary and alternative zones are not available. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    Identifier string
    A lowercase string limited to 256 characters that can contain alphanumerics (0-9, a-z), hyphens (-), underscores (_), and dots (.), but can not start with a dot.
    AlternativeZones []string
    Network zones that should be used when the primary zone is not available.
    Description string
    Description
    FallbackMode string
    Determines the network zone fallback behavior in case the primary and alternative zones are not available. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    Identifier string
    A lowercase string limited to 256 characters that can contain alphanumerics (0-9, a-z), hyphens (-), underscores (_), and dots (.), but can not start with a dot.
    alternative_zones list(string)
    Network zones that should be used when the primary zone is not available.
    description string
    Description
    fallback_mode string
    Determines the network zone fallback behavior in case the primary and alternative zones are not available. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    identifier string
    A lowercase string limited to 256 characters that can contain alphanumerics (0-9, a-z), hyphens (-), underscores (_), and dots (.), but can not start with a dot.
    alternativeZones List<String>
    Network zones that should be used when the primary zone is not available.
    description String
    Description
    fallbackMode String
    Determines the network zone fallback behavior in case the primary and alternative zones are not available. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    identifier String
    A lowercase string limited to 256 characters that can contain alphanumerics (0-9, a-z), hyphens (-), underscores (_), and dots (.), but can not start with a dot.
    alternativeZones string[]
    Network zones that should be used when the primary zone is not available.
    description string
    Description
    fallbackMode string
    Determines the network zone fallback behavior in case the primary and alternative zones are not available. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    identifier string
    A lowercase string limited to 256 characters that can contain alphanumerics (0-9, a-z), hyphens (-), underscores (_), and dots (.), but can not start with a dot.
    alternative_zones Sequence[str]
    Network zones that should be used when the primary zone is not available.
    description str
    Description
    fallback_mode str
    Determines the network zone fallback behavior in case the primary and alternative zones are not available. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    identifier str
    A lowercase string limited to 256 characters that can contain alphanumerics (0-9, a-z), hyphens (-), underscores (_), and dots (.), but can not start with a dot.
    alternativeZones List<String>
    Network zones that should be used when the primary zone is not available.
    description String
    Description
    fallbackMode String
    Determines the network zone fallback behavior in case the primary and alternative zones are not available. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    identifier String
    A lowercase string limited to 256 characters that can contain alphanumerics (0-9, a-z), hyphens (-), underscores (_), and dots (.), but can not start with a dot.

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo Dynatrace
    Viewing docs for Dynatrace v0.44.0
    published on Friday, Oct 2, 2026 by Pulumiverse

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial