1. Packages
  2. Dynatrace
  3. API Docs
  4. NetworkZone
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

dynatrace.NetworkZone

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

    Create NetworkZone Resource

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

    Constructor syntax

    new NetworkZone(name: string, args?: NetworkZoneArgs, opts?: CustomResourceOptions);
    @overload
    def NetworkZone(resource_name: str,
                    args: Optional[NetworkZoneArgs] = None,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def NetworkZone(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    alternative_zones: Optional[Sequence[str]] = None,
                    description: Optional[str] = None,
                    fallback_mode: Optional[str] = None,
                    name: Optional[str] = None,
                    num_of_configured_activegates: Optional[int] = None,
                    num_of_configured_oneagents: Optional[int] = None,
                    num_of_oneagents_from_other_zones: Optional[int] = None,
                    num_of_oneagents_using: Optional[int] = None)
    func NewNetworkZone(ctx *Context, name string, args *NetworkZoneArgs, opts ...ResourceOption) (*NetworkZone, error)
    public NetworkZone(string name, NetworkZoneArgs? args = null, CustomResourceOptions? opts = null)
    public NetworkZone(String name, NetworkZoneArgs args)
    public NetworkZone(String name, NetworkZoneArgs args, CustomResourceOptions options)
    
    type: dynatrace:NetworkZone
    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 NetworkZoneArgs
    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 NetworkZoneArgs
    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 NetworkZoneArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NetworkZoneArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NetworkZoneArgs
    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 networkZoneResource = new Dynatrace.NetworkZone("networkZoneResource", new()
    {
        AlternativeZones = new[]
        {
            "string",
        },
        Description = "string",
        FallbackMode = "string",
        Name = "string",
        NumOfConfiguredActivegates = 0,
        NumOfConfiguredOneagents = 0,
        NumOfOneagentsFromOtherZones = 0,
        NumOfOneagentsUsing = 0,
    });
    
    example, err := dynatrace.NewNetworkZone(ctx, "networkZoneResource", &dynatrace.NetworkZoneArgs{
    	AlternativeZones: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Description:                  pulumi.String("string"),
    	FallbackMode:                 pulumi.String("string"),
    	Name:                         pulumi.String("string"),
    	NumOfConfiguredActivegates:   pulumi.Int(0),
    	NumOfConfiguredOneagents:     pulumi.Int(0),
    	NumOfOneagentsFromOtherZones: pulumi.Int(0),
    	NumOfOneagentsUsing:          pulumi.Int(0),
    })
    
    var networkZoneResource = new NetworkZone("networkZoneResource", NetworkZoneArgs.builder()
        .alternativeZones("string")
        .description("string")
        .fallbackMode("string")
        .name("string")
        .numOfConfiguredActivegates(0)
        .numOfConfiguredOneagents(0)
        .numOfOneagentsFromOtherZones(0)
        .numOfOneagentsUsing(0)
        .build());
    
    network_zone_resource = dynatrace.NetworkZone("networkZoneResource",
        alternative_zones=["string"],
        description="string",
        fallback_mode="string",
        name="string",
        num_of_configured_activegates=0,
        num_of_configured_oneagents=0,
        num_of_oneagents_from_other_zones=0,
        num_of_oneagents_using=0)
    
    const networkZoneResource = new dynatrace.NetworkZone("networkZoneResource", {
        alternativeZones: ["string"],
        description: "string",
        fallbackMode: "string",
        name: "string",
        numOfConfiguredActivegates: 0,
        numOfConfiguredOneagents: 0,
        numOfOneagentsFromOtherZones: 0,
        numOfOneagentsUsing: 0,
    });
    
    type: dynatrace:NetworkZone
    properties:
        alternativeZones:
            - string
        description: string
        fallbackMode: string
        name: string
        numOfConfiguredActivegates: 0
        numOfConfiguredOneagents: 0
        numOfOneagentsFromOtherZones: 0
        numOfOneagentsUsing: 0
    

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

    AlternativeZones List<string>
    A list of alternative network zones.
    Description string
    A short description of the network zone
    FallbackMode string
    The fallback mode of the network zone. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    Name string
    Name of the network zone cannot be modified once created. Dynatrace stores the field in lowercase, allowed characters: alphanumeric, hyphen, underscore, dot
    NumOfConfiguredActivegates int
    The number of ActiveGates in the network zone.
    NumOfConfiguredOneagents int
    The number of OneAgents that are configured to use the network zone as primary.
    NumOfOneagentsFromOtherZones int
    The number of OneAgents from other network zones that are using ActiveGates in the network zone.
    NumOfOneagentsUsing int
    The number of OneAgents that are using ActiveGates in the network zone.
    AlternativeZones []string
    A list of alternative network zones.
    Description string
    A short description of the network zone
    FallbackMode string
    The fallback mode of the network zone. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    Name string
    Name of the network zone cannot be modified once created. Dynatrace stores the field in lowercase, allowed characters: alphanumeric, hyphen, underscore, dot
    NumOfConfiguredActivegates int
    The number of ActiveGates in the network zone.
    NumOfConfiguredOneagents int
    The number of OneAgents that are configured to use the network zone as primary.
    NumOfOneagentsFromOtherZones int
    The number of OneAgents from other network zones that are using ActiveGates in the network zone.
    NumOfOneagentsUsing int
    The number of OneAgents that are using ActiveGates in the network zone.
    alternativeZones List<String>
    A list of alternative network zones.
    description String
    A short description of the network zone
    fallbackMode String
    The fallback mode of the network zone. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    name String
    Name of the network zone cannot be modified once created. Dynatrace stores the field in lowercase, allowed characters: alphanumeric, hyphen, underscore, dot
    numOfConfiguredActivegates Integer
    The number of ActiveGates in the network zone.
    numOfConfiguredOneagents Integer
    The number of OneAgents that are configured to use the network zone as primary.
    numOfOneagentsFromOtherZones Integer
    The number of OneAgents from other network zones that are using ActiveGates in the network zone.
    numOfOneagentsUsing Integer
    The number of OneAgents that are using ActiveGates in the network zone.
    alternativeZones string[]
    A list of alternative network zones.
    description string
    A short description of the network zone
    fallbackMode string
    The fallback mode of the network zone. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    name string
    Name of the network zone cannot be modified once created. Dynatrace stores the field in lowercase, allowed characters: alphanumeric, hyphen, underscore, dot
    numOfConfiguredActivegates number
    The number of ActiveGates in the network zone.
    numOfConfiguredOneagents number
    The number of OneAgents that are configured to use the network zone as primary.
    numOfOneagentsFromOtherZones number
    The number of OneAgents from other network zones that are using ActiveGates in the network zone.
    numOfOneagentsUsing number
    The number of OneAgents that are using ActiveGates in the network zone.
    alternative_zones Sequence[str]
    A list of alternative network zones.
    description str
    A short description of the network zone
    fallback_mode str
    The fallback mode of the network zone. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    name str
    Name of the network zone cannot be modified once created. Dynatrace stores the field in lowercase, allowed characters: alphanumeric, hyphen, underscore, dot
    num_of_configured_activegates int
    The number of ActiveGates in the network zone.
    num_of_configured_oneagents int
    The number of OneAgents that are configured to use the network zone as primary.
    num_of_oneagents_from_other_zones int
    The number of OneAgents from other network zones that are using ActiveGates in the network zone.
    num_of_oneagents_using int
    The number of OneAgents that are using ActiveGates in the network zone.
    alternativeZones List<String>
    A list of alternative network zones.
    description String
    A short description of the network zone
    fallbackMode String
    The fallback mode of the network zone. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    name String
    Name of the network zone cannot be modified once created. Dynatrace stores the field in lowercase, allowed characters: alphanumeric, hyphen, underscore, dot
    numOfConfiguredActivegates Number
    The number of ActiveGates in the network zone.
    numOfConfiguredOneagents Number
    The number of OneAgents that are configured to use the network zone as primary.
    numOfOneagentsFromOtherZones Number
    The number of OneAgents from other network zones that are using ActiveGates in the network zone.
    numOfOneagentsUsing Number
    The number of OneAgents that are using ActiveGates in the network zone.

    Outputs

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

    Get an existing NetworkZone 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?: NetworkZoneState, opts?: CustomResourceOptions): NetworkZone
    @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,
            name: Optional[str] = None,
            num_of_configured_activegates: Optional[int] = None,
            num_of_configured_oneagents: Optional[int] = None,
            num_of_oneagents_from_other_zones: Optional[int] = None,
            num_of_oneagents_using: Optional[int] = None) -> NetworkZone
    func GetNetworkZone(ctx *Context, name string, id IDInput, state *NetworkZoneState, opts ...ResourceOption) (*NetworkZone, error)
    public static NetworkZone Get(string name, Input<string> id, NetworkZoneState? state, CustomResourceOptions? opts = null)
    public static NetworkZone get(String name, Output<String> id, NetworkZoneState 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:
    AlternativeZones List<string>
    A list of alternative network zones.
    Description string
    A short description of the network zone
    FallbackMode string
    The fallback mode of the network zone. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    Name string
    Name of the network zone cannot be modified once created. Dynatrace stores the field in lowercase, allowed characters: alphanumeric, hyphen, underscore, dot
    NumOfConfiguredActivegates int
    The number of ActiveGates in the network zone.
    NumOfConfiguredOneagents int
    The number of OneAgents that are configured to use the network zone as primary.
    NumOfOneagentsFromOtherZones int
    The number of OneAgents from other network zones that are using ActiveGates in the network zone.
    NumOfOneagentsUsing int
    The number of OneAgents that are using ActiveGates in the network zone.
    AlternativeZones []string
    A list of alternative network zones.
    Description string
    A short description of the network zone
    FallbackMode string
    The fallback mode of the network zone. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    Name string
    Name of the network zone cannot be modified once created. Dynatrace stores the field in lowercase, allowed characters: alphanumeric, hyphen, underscore, dot
    NumOfConfiguredActivegates int
    The number of ActiveGates in the network zone.
    NumOfConfiguredOneagents int
    The number of OneAgents that are configured to use the network zone as primary.
    NumOfOneagentsFromOtherZones int
    The number of OneAgents from other network zones that are using ActiveGates in the network zone.
    NumOfOneagentsUsing int
    The number of OneAgents that are using ActiveGates in the network zone.
    alternativeZones List<String>
    A list of alternative network zones.
    description String
    A short description of the network zone
    fallbackMode String
    The fallback mode of the network zone. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    name String
    Name of the network zone cannot be modified once created. Dynatrace stores the field in lowercase, allowed characters: alphanumeric, hyphen, underscore, dot
    numOfConfiguredActivegates Integer
    The number of ActiveGates in the network zone.
    numOfConfiguredOneagents Integer
    The number of OneAgents that are configured to use the network zone as primary.
    numOfOneagentsFromOtherZones Integer
    The number of OneAgents from other network zones that are using ActiveGates in the network zone.
    numOfOneagentsUsing Integer
    The number of OneAgents that are using ActiveGates in the network zone.
    alternativeZones string[]
    A list of alternative network zones.
    description string
    A short description of the network zone
    fallbackMode string
    The fallback mode of the network zone. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    name string
    Name of the network zone cannot be modified once created. Dynatrace stores the field in lowercase, allowed characters: alphanumeric, hyphen, underscore, dot
    numOfConfiguredActivegates number
    The number of ActiveGates in the network zone.
    numOfConfiguredOneagents number
    The number of OneAgents that are configured to use the network zone as primary.
    numOfOneagentsFromOtherZones number
    The number of OneAgents from other network zones that are using ActiveGates in the network zone.
    numOfOneagentsUsing number
    The number of OneAgents that are using ActiveGates in the network zone.
    alternative_zones Sequence[str]
    A list of alternative network zones.
    description str
    A short description of the network zone
    fallback_mode str
    The fallback mode of the network zone. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    name str
    Name of the network zone cannot be modified once created. Dynatrace stores the field in lowercase, allowed characters: alphanumeric, hyphen, underscore, dot
    num_of_configured_activegates int
    The number of ActiveGates in the network zone.
    num_of_configured_oneagents int
    The number of OneAgents that are configured to use the network zone as primary.
    num_of_oneagents_from_other_zones int
    The number of OneAgents from other network zones that are using ActiveGates in the network zone.
    num_of_oneagents_using int
    The number of OneAgents that are using ActiveGates in the network zone.
    alternativeZones List<String>
    A list of alternative network zones.
    description String
    A short description of the network zone
    fallbackMode String
    The fallback mode of the network zone. Possible values: ANY_ACTIVE_GATE, NONE, ONLY_DEFAULT_ZONE
    name String
    Name of the network zone cannot be modified once created. Dynatrace stores the field in lowercase, allowed characters: alphanumeric, hyphen, underscore, dot
    numOfConfiguredActivegates Number
    The number of ActiveGates in the network zone.
    numOfConfiguredOneagents Number
    The number of OneAgents that are configured to use the network zone as primary.
    numOfOneagentsFromOtherZones Number
    The number of OneAgents from other network zones that are using ActiveGates in the network zone.
    numOfOneagentsUsing Number
    The number of OneAgents that are using ActiveGates in the network zone.

    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 v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse