Dynatrace v0.16.0 published on Tuesday, Sep 10, 2024 by Pulumiverse
dynatrace.NetworkZone
Explore with Pulumi AI
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,
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",
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"),
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")
.name("string")
.numOfConfiguredActivegates(0)
.numOfConfiguredOneagents(0)
.numOfOneagentsFromOtherZones(0)
.numOfOneagentsUsing(0)
.build());
network_zone_resource = dynatrace.NetworkZone("networkZoneResource",
alternative_zones=["string"],
description="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",
name: "string",
numOfConfiguredActivegates: 0,
numOfConfiguredOneagents: 0,
numOfOneagentsFromOtherZones: 0,
numOfOneagentsUsing: 0,
});
type: dynatrace:NetworkZone
properties:
alternativeZones:
- string
description: 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
The NetworkZone resource accepts the following input properties:
- Alternative
Zones List<string> - A list of alternative network zones.
- Description string
- A short description of the network 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
- Num
Of intConfigured Activegates - The number of ActiveGates in the network zone.
- Num
Of intConfigured Oneagents - The number of OneAgents that are configured to use the network zone as primary.
- Num
Of intOneagents From Other Zones - The number of OneAgents from other network zones that are using ActiveGates in the network zone.
- Num
Of intOneagents Using - The number of OneAgents that are using ActiveGates in the network zone.
- Alternative
Zones []string - A list of alternative network zones.
- Description string
- A short description of the network 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
- Num
Of intConfigured Activegates - The number of ActiveGates in the network zone.
- Num
Of intConfigured Oneagents - The number of OneAgents that are configured to use the network zone as primary.
- Num
Of intOneagents From Other Zones - The number of OneAgents from other network zones that are using ActiveGates in the network zone.
- Num
Of intOneagents Using - The number of OneAgents that are using ActiveGates in the network zone.
- alternative
Zones List<String> - A list of alternative network zones.
- description String
- A short description of the network 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
- num
Of IntegerConfigured Activegates - The number of ActiveGates in the network zone.
- num
Of IntegerConfigured Oneagents - The number of OneAgents that are configured to use the network zone as primary.
- num
Of IntegerOneagents From Other Zones - The number of OneAgents from other network zones that are using ActiveGates in the network zone.
- num
Of IntegerOneagents Using - The number of OneAgents that are using ActiveGates in the network zone.
- alternative
Zones string[] - A list of alternative network zones.
- description string
- A short description of the network 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
- num
Of numberConfigured Activegates - The number of ActiveGates in the network zone.
- num
Of numberConfigured Oneagents - The number of OneAgents that are configured to use the network zone as primary.
- num
Of numberOneagents From Other Zones - The number of OneAgents from other network zones that are using ActiveGates in the network zone.
- num
Of numberOneagents Using - 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
- 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_ intconfigured_ activegates - The number of ActiveGates in the network zone.
- num_
of_ intconfigured_ oneagents - The number of OneAgents that are configured to use the network zone as primary.
- num_
of_ intoneagents_ from_ other_ zones - The number of OneAgents from other network zones that are using ActiveGates in the network zone.
- num_
of_ intoneagents_ using - The number of OneAgents that are using ActiveGates in the network zone.
- alternative
Zones List<String> - A list of alternative network zones.
- description String
- A short description of the network 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
- num
Of NumberConfigured Activegates - The number of ActiveGates in the network zone.
- num
Of NumberConfigured Oneagents - The number of OneAgents that are configured to use the network zone as primary.
- num
Of NumberOneagents From Other Zones - The number of OneAgents from other network zones that are using ActiveGates in the network zone.
- num
Of NumberOneagents Using - 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,
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.
- Alternative
Zones List<string> - A list of alternative network zones.
- Description string
- A short description of the network 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
- Num
Of intConfigured Activegates - The number of ActiveGates in the network zone.
- Num
Of intConfigured Oneagents - The number of OneAgents that are configured to use the network zone as primary.
- Num
Of intOneagents From Other Zones - The number of OneAgents from other network zones that are using ActiveGates in the network zone.
- Num
Of intOneagents Using - The number of OneAgents that are using ActiveGates in the network zone.
- Alternative
Zones []string - A list of alternative network zones.
- Description string
- A short description of the network 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
- Num
Of intConfigured Activegates - The number of ActiveGates in the network zone.
- Num
Of intConfigured Oneagents - The number of OneAgents that are configured to use the network zone as primary.
- Num
Of intOneagents From Other Zones - The number of OneAgents from other network zones that are using ActiveGates in the network zone.
- Num
Of intOneagents Using - The number of OneAgents that are using ActiveGates in the network zone.
- alternative
Zones List<String> - A list of alternative network zones.
- description String
- A short description of the network 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
- num
Of IntegerConfigured Activegates - The number of ActiveGates in the network zone.
- num
Of IntegerConfigured Oneagents - The number of OneAgents that are configured to use the network zone as primary.
- num
Of IntegerOneagents From Other Zones - The number of OneAgents from other network zones that are using ActiveGates in the network zone.
- num
Of IntegerOneagents Using - The number of OneAgents that are using ActiveGates in the network zone.
- alternative
Zones string[] - A list of alternative network zones.
- description string
- A short description of the network 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
- num
Of numberConfigured Activegates - The number of ActiveGates in the network zone.
- num
Of numberConfigured Oneagents - The number of OneAgents that are configured to use the network zone as primary.
- num
Of numberOneagents From Other Zones - The number of OneAgents from other network zones that are using ActiveGates in the network zone.
- num
Of numberOneagents Using - 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
- 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_ intconfigured_ activegates - The number of ActiveGates in the network zone.
- num_
of_ intconfigured_ oneagents - The number of OneAgents that are configured to use the network zone as primary.
- num_
of_ intoneagents_ from_ other_ zones - The number of OneAgents from other network zones that are using ActiveGates in the network zone.
- num_
of_ intoneagents_ using - The number of OneAgents that are using ActiveGates in the network zone.
- alternative
Zones List<String> - A list of alternative network zones.
- description String
- A short description of the network 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
- num
Of NumberConfigured Activegates - The number of ActiveGates in the network zone.
- num
Of NumberConfigured Oneagents - The number of OneAgents that are configured to use the network zone as primary.
- num
Of NumberOneagents From Other Zones - The number of OneAgents from other network zones that are using ActiveGates in the network zone.
- num
Of NumberOneagents Using - 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.