@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
105 lines (104 loc) • 4.85 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
export declare class Autotag extends pulumi.CustomResource {
/**
* Get an existing Autotag 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?: AutotagState, opts?: pulumi.CustomResourceOptions): Autotag;
/**
* Returns true if the given object is an instance of Autotag. 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 Autotag;
/**
* The description of the auto-tag.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* A list of entity-selector based rules for management zone usage. If several rules are specified, the `or` logic applies
*/
readonly entitySelectorBasedRules: pulumi.Output<outputs.AutotagEntitySelectorBasedRule[] | undefined>;
/**
* The name of the auto-tag, which is applied to entities. Additionally you can specify a **valueFormat** in the tag rule.
* In that case the tag is used in the `name:valueFormat` format. For example you can extend the `Infrastructure` tag to
* `Infrastructure:Windows` and `Infrastructure:Linux`.
*/
readonly name: pulumi.Output<string>;
/**
* A list of rules for management zone usage. Each rule is evaluated independently of all other rules
*/
readonly rules: pulumi.Output<outputs.AutotagRule[] | undefined>;
/**
* allows for configuring properties that are not explicitly supported by the current version of this provider
*/
readonly unknowns: pulumi.Output<string | undefined>;
/**
* Create a Autotag 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?: AutotagArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Autotag resources.
*/
export interface AutotagState {
/**
* The description of the auto-tag.
*/
description?: pulumi.Input<string>;
/**
* A list of entity-selector based rules for management zone usage. If several rules are specified, the `or` logic applies
*/
entitySelectorBasedRules?: pulumi.Input<pulumi.Input<inputs.AutotagEntitySelectorBasedRule>[]>;
/**
* The name of the auto-tag, which is applied to entities. Additionally you can specify a **valueFormat** in the tag rule.
* In that case the tag is used in the `name:valueFormat` format. For example you can extend the `Infrastructure` tag to
* `Infrastructure:Windows` and `Infrastructure:Linux`.
*/
name?: pulumi.Input<string>;
/**
* A list of rules for management zone usage. Each rule is evaluated independently of all other rules
*/
rules?: pulumi.Input<pulumi.Input<inputs.AutotagRule>[]>;
/**
* allows for configuring properties that are not explicitly supported by the current version of this provider
*/
unknowns?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Autotag resource.
*/
export interface AutotagArgs {
/**
* The description of the auto-tag.
*/
description?: pulumi.Input<string>;
/**
* A list of entity-selector based rules for management zone usage. If several rules are specified, the `or` logic applies
*/
entitySelectorBasedRules?: pulumi.Input<pulumi.Input<inputs.AutotagEntitySelectorBasedRule>[]>;
/**
* The name of the auto-tag, which is applied to entities. Additionally you can specify a **valueFormat** in the tag rule.
* In that case the tag is used in the `name:valueFormat` format. For example you can extend the `Infrastructure` tag to
* `Infrastructure:Windows` and `Infrastructure:Linux`.
*/
name?: pulumi.Input<string>;
/**
* A list of rules for management zone usage. Each rule is evaluated independently of all other rules
*/
rules?: pulumi.Input<pulumi.Input<inputs.AutotagRule>[]>;
/**
* allows for configuring properties that are not explicitly supported by the current version of this provider
*/
unknowns?: pulumi.Input<string>;
}