@lbrlabs/pulumi-dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
211 lines (210 loc) • 8.9 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare class SyntheticLocation extends pulumi.CustomResource {
/**
* Get an existing SyntheticLocation 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?: SyntheticLocationState, opts?: pulumi.CustomResourceOptions): SyntheticLocation;
/**
* Returns true if the given object is an instance of SyntheticLocation. 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 SyntheticLocation;
/**
* Auto upgrade of Chromium is enabled (`true`) or disabled (`false`)
*/
readonly autoUpdateChromium: pulumi.Output<boolean | undefined>;
/**
* The alerting of location outage is enabled (`true`) or disabled (`false`)
*/
readonly availabilityLocationOutage: pulumi.Output<boolean | undefined>;
/**
* The alerting of node outage is enabled (`true`) or disabled (`false`).
*/
readonly availabilityNodeOutage: pulumi.Output<boolean | undefined>;
/**
* The notifications of location and node outage is enabled (`true`) or disabled (`false`)
*/
readonly availabilityNotificationsEnabled: pulumi.Output<boolean | undefined>;
/**
* The city of the location
*/
readonly city: pulumi.Output<string | undefined>;
/**
* The country code of the location. Use the alpha-2 code of the [ISO 3166-2 standard](https://dt-url.net/iso3166-2), (for
* example, `AT` for Austria or `PL` for Poland)
*/
readonly countryCode: pulumi.Output<string | undefined>;
/**
* The deployment type of the location: * `STANDARD`: The location is deployed on Windows or Linux. * `KUBERNETES`: The
* location is deployed on Kubernetes
*/
readonly deploymentType: pulumi.Output<string | undefined>;
/**
* The latitude of the location in `DDD.dddd` format
*/
readonly latitude: pulumi.Output<number>;
/**
* Alert if the location or node outage lasts longer than *X* minutes. Only applicable when
* **availability_location_outage** or **availability_node_outage** is set to `true`
*/
readonly locationNodeOutageDelayInMinutes: pulumi.Output<number | undefined>;
/**
* The longitude of the location in `DDD.dddd` format
*/
readonly longitude: pulumi.Output<number>;
/**
* The name of the location
*/
readonly name: pulumi.Output<string>;
/**
* A list of synthetic nodes belonging to the location. You can retrieve the list of available nodes with the [GET all
* nodes](https://dt-url.net/miy3rpl) call
*/
readonly nodes: pulumi.Output<string[] | undefined>;
/**
* The region code of the location. For the [USA](https://dt-url.net/iso3166us) or [Canada](https://dt-url.net/iso3166ca)
* use ISO 3166-2 state codes (without `US-` or `CA-` prefix), for example, `VA` for Virginia or `OR` for Oregon. For the
* rest of the world use [FIPS 10-4 codes](https://dt-url.net/fipscodes)
*/
readonly regionCode: pulumi.Output<string | undefined>;
/**
* Create a SyntheticLocation 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: SyntheticLocationArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering SyntheticLocation resources.
*/
export interface SyntheticLocationState {
/**
* Auto upgrade of Chromium is enabled (`true`) or disabled (`false`)
*/
autoUpdateChromium?: pulumi.Input<boolean>;
/**
* The alerting of location outage is enabled (`true`) or disabled (`false`)
*/
availabilityLocationOutage?: pulumi.Input<boolean>;
/**
* The alerting of node outage is enabled (`true`) or disabled (`false`).
*/
availabilityNodeOutage?: pulumi.Input<boolean>;
/**
* The notifications of location and node outage is enabled (`true`) or disabled (`false`)
*/
availabilityNotificationsEnabled?: pulumi.Input<boolean>;
/**
* The city of the location
*/
city?: pulumi.Input<string>;
/**
* The country code of the location. Use the alpha-2 code of the [ISO 3166-2 standard](https://dt-url.net/iso3166-2), (for
* example, `AT` for Austria or `PL` for Poland)
*/
countryCode?: pulumi.Input<string>;
/**
* The deployment type of the location: * `STANDARD`: The location is deployed on Windows or Linux. * `KUBERNETES`: The
* location is deployed on Kubernetes
*/
deploymentType?: pulumi.Input<string>;
/**
* The latitude of the location in `DDD.dddd` format
*/
latitude?: pulumi.Input<number>;
/**
* Alert if the location or node outage lasts longer than *X* minutes. Only applicable when
* **availability_location_outage** or **availability_node_outage** is set to `true`
*/
locationNodeOutageDelayInMinutes?: pulumi.Input<number>;
/**
* The longitude of the location in `DDD.dddd` format
*/
longitude?: pulumi.Input<number>;
/**
* The name of the location
*/
name?: pulumi.Input<string>;
/**
* A list of synthetic nodes belonging to the location. You can retrieve the list of available nodes with the [GET all
* nodes](https://dt-url.net/miy3rpl) call
*/
nodes?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The region code of the location. For the [USA](https://dt-url.net/iso3166us) or [Canada](https://dt-url.net/iso3166ca)
* use ISO 3166-2 state codes (without `US-` or `CA-` prefix), for example, `VA` for Virginia or `OR` for Oregon. For the
* rest of the world use [FIPS 10-4 codes](https://dt-url.net/fipscodes)
*/
regionCode?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a SyntheticLocation resource.
*/
export interface SyntheticLocationArgs {
/**
* Auto upgrade of Chromium is enabled (`true`) or disabled (`false`)
*/
autoUpdateChromium?: pulumi.Input<boolean>;
/**
* The alerting of location outage is enabled (`true`) or disabled (`false`)
*/
availabilityLocationOutage?: pulumi.Input<boolean>;
/**
* The alerting of node outage is enabled (`true`) or disabled (`false`).
*/
availabilityNodeOutage?: pulumi.Input<boolean>;
/**
* The notifications of location and node outage is enabled (`true`) or disabled (`false`)
*/
availabilityNotificationsEnabled?: pulumi.Input<boolean>;
/**
* The city of the location
*/
city?: pulumi.Input<string>;
/**
* The country code of the location. Use the alpha-2 code of the [ISO 3166-2 standard](https://dt-url.net/iso3166-2), (for
* example, `AT` for Austria or `PL` for Poland)
*/
countryCode?: pulumi.Input<string>;
/**
* The deployment type of the location: * `STANDARD`: The location is deployed on Windows or Linux. * `KUBERNETES`: The
* location is deployed on Kubernetes
*/
deploymentType?: pulumi.Input<string>;
/**
* The latitude of the location in `DDD.dddd` format
*/
latitude: pulumi.Input<number>;
/**
* Alert if the location or node outage lasts longer than *X* minutes. Only applicable when
* **availability_location_outage** or **availability_node_outage** is set to `true`
*/
locationNodeOutageDelayInMinutes?: pulumi.Input<number>;
/**
* The longitude of the location in `DDD.dddd` format
*/
longitude: pulumi.Input<number>;
/**
* The name of the location
*/
name?: pulumi.Input<string>;
/**
* A list of synthetic nodes belonging to the location. You can retrieve the list of available nodes with the [GET all
* nodes](https://dt-url.net/miy3rpl) call
*/
nodes?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The region code of the location. For the [USA](https://dt-url.net/iso3166us) or [Canada](https://dt-url.net/iso3166ca)
* use ISO 3166-2 state codes (without `US-` or `CA-` prefix), for example, `VA` for Virginia or `OR` for Oregon. For the
* rest of the world use [FIPS 10-4 codes](https://dt-url.net/fipscodes)
*/
regionCode?: pulumi.Input<string>;
}