@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
155 lines (154 loc) • 6.15 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* > This resource requires the cluster API token scope **Service Provider API** (`ServiceProviderAPI`)
*
* ## Dynatrace Documentation
*
* - Network zones - https://docs.dynatrace.com/managed/manage/network-zones
*
* - Cluster API v2 - https://www.dynatrace.com/support/help/managed-cluster/cluster-api/cluster-api-v2
*
* ## Resource Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as dynatrace from "@pulumiverse/dynatrace";
*
* const test = new dynatrace.ManagedNetworkZones("test", {
* alternativeZones: ["alternativeexample"],
* description: "This is an example network zone",
* fallbackMode: "ANY_ACTIVE_GATE",
* });
* ```
*/
export declare class ManagedNetworkZones extends pulumi.CustomResource {
/**
* Get an existing ManagedNetworkZones resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ManagedNetworkZonesState, opts?: pulumi.CustomResourceOptions): ManagedNetworkZones;
/**
* Returns true if the given object is an instance of ManagedNetworkZones. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is ManagedNetworkZones;
/**
* A list of alternative network zones.
*/
readonly alternativeZones: pulumi.Output<string[] | undefined>;
/**
* A short description of the network zone
*/
readonly description: pulumi.Output<string | undefined>;
/**
* The fallback mode of the network zone. Possible values: `ANY_ACTIVE_GATE`, `NONE`, `ONLY_DEFAULT_ZONE`
*/
readonly fallbackMode: pulumi.Output<string | undefined>;
/**
* Name of the network zone cannot be modified once created. Dynatrace stores the field in lowercase, allowed characters: alphanumeric, hyphen, underscore, dot
*/
readonly name: pulumi.Output<string>;
/**
* The number of ActiveGates in the network zone.
*/
readonly numOfConfiguredActivegates: pulumi.Output<number | undefined>;
/**
* The number of OneAgents that are configured to use the network zone as primary.
*/
readonly numOfConfiguredOneagents: pulumi.Output<number | undefined>;
/**
* The number of OneAgents from other network zones that are using ActiveGates in the network zone.
*/
readonly numOfOneagentsFromOtherZones: pulumi.Output<number | undefined>;
/**
* The number of OneAgents that are using ActiveGates in the network zone.
*/
readonly numOfOneagentsUsing: pulumi.Output<number | undefined>;
/**
* Create a ManagedNetworkZones resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: ManagedNetworkZonesArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering ManagedNetworkZones resources.
*/
export interface ManagedNetworkZonesState {
/**
* A list of alternative network zones.
*/
alternativeZones?: pulumi.Input<pulumi.Input<string>[]>;
/**
* A short description of the network zone
*/
description?: pulumi.Input<string>;
/**
* The fallback mode of the network zone. Possible values: `ANY_ACTIVE_GATE`, `NONE`, `ONLY_DEFAULT_ZONE`
*/
fallbackMode?: pulumi.Input<string>;
/**
* Name of the network zone cannot be modified once created. Dynatrace stores the field in lowercase, allowed characters: alphanumeric, hyphen, underscore, dot
*/
name?: pulumi.Input<string>;
/**
* The number of ActiveGates in the network zone.
*/
numOfConfiguredActivegates?: pulumi.Input<number>;
/**
* The number of OneAgents that are configured to use the network zone as primary.
*/
numOfConfiguredOneagents?: pulumi.Input<number>;
/**
* The number of OneAgents from other network zones that are using ActiveGates in the network zone.
*/
numOfOneagentsFromOtherZones?: pulumi.Input<number>;
/**
* The number of OneAgents that are using ActiveGates in the network zone.
*/
numOfOneagentsUsing?: pulumi.Input<number>;
}
/**
* The set of arguments for constructing a ManagedNetworkZones resource.
*/
export interface ManagedNetworkZonesArgs {
/**
* A list of alternative network zones.
*/
alternativeZones?: pulumi.Input<pulumi.Input<string>[]>;
/**
* A short description of the network zone
*/
description?: pulumi.Input<string>;
/**
* The fallback mode of the network zone. Possible values: `ANY_ACTIVE_GATE`, `NONE`, `ONLY_DEFAULT_ZONE`
*/
fallbackMode?: pulumi.Input<string>;
/**
* Name of the network zone cannot be modified once created. Dynatrace stores the field in lowercase, allowed characters: alphanumeric, hyphen, underscore, dot
*/
name?: pulumi.Input<string>;
/**
* The number of ActiveGates in the network zone.
*/
numOfConfiguredActivegates?: pulumi.Input<number>;
/**
* The number of OneAgents that are configured to use the network zone as primary.
*/
numOfConfiguredOneagents?: pulumi.Input<number>;
/**
* The number of OneAgents from other network zones that are using ActiveGates in the network zone.
*/
numOfOneagentsFromOtherZones?: pulumi.Input<number>;
/**
* The number of OneAgents that are using ActiveGates in the network zone.
*/
numOfOneagentsUsing?: pulumi.Input<number>;
}