@pulumi/ns1
Version:
A Pulumi package for creating and managing ns1 cloud resources.
123 lines (122 loc) • 4.49 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* Provides a NS1 Pulsar application resource. This can be used to create, modify, and delete applications.
*
* ## Import
*
* ```sh
* $ pulumi import ns1:index/application:Application `ns1_application`
* ```
*
* So for the example above:
*
* ```sh
* $ pulumi import ns1:index/application:Application example terraform.example.io`
* ```
*/
export declare class Application extends pulumi.CustomResource {
/**
* Get an existing Application 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?: ApplicationState, opts?: pulumi.CustomResourceOptions): Application;
/**
* Returns true if the given object is an instance of Application. 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 Application;
/**
* Indicates whether or not this application is currently active and usable for traffic
* steering.
*/
readonly active: pulumi.Output<boolean | undefined>;
/**
* The amount of time (in milliseconds) the browser should wait before running
* measurements.
*/
readonly browserWaitMillis: pulumi.Output<number | undefined>;
/**
* Default job configuration. If a field is present here and not on a specific job
* associated with this application, the default value specified here is used..
*/
readonly defaultConfig: pulumi.Output<outputs.ApplicationDefaultConfig>;
/**
* Number of jobs to measure per user impression.
*/
readonly jobsPerTransaction: pulumi.Output<number | undefined>;
/**
* Descriptive name for this Pulsar app.
*/
readonly name: pulumi.Output<string>;
/**
* Create a Application 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?: ApplicationArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Application resources.
*/
export interface ApplicationState {
/**
* Indicates whether or not this application is currently active and usable for traffic
* steering.
*/
active?: pulumi.Input<boolean>;
/**
* The amount of time (in milliseconds) the browser should wait before running
* measurements.
*/
browserWaitMillis?: pulumi.Input<number>;
/**
* Default job configuration. If a field is present here and not on a specific job
* associated with this application, the default value specified here is used..
*/
defaultConfig?: pulumi.Input<inputs.ApplicationDefaultConfig>;
/**
* Number of jobs to measure per user impression.
*/
jobsPerTransaction?: pulumi.Input<number>;
/**
* Descriptive name for this Pulsar app.
*/
name?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Application resource.
*/
export interface ApplicationArgs {
/**
* Indicates whether or not this application is currently active and usable for traffic
* steering.
*/
active?: pulumi.Input<boolean>;
/**
* The amount of time (in milliseconds) the browser should wait before running
* measurements.
*/
browserWaitMillis?: pulumi.Input<number>;
/**
* Default job configuration. If a field is present here and not on a specific job
* associated with this application, the default value specified here is used..
*/
defaultConfig?: pulumi.Input<inputs.ApplicationDefaultConfig>;
/**
* Number of jobs to measure per user impression.
*/
jobsPerTransaction?: pulumi.Input<number>;
/**
* Descriptive name for this Pulsar app.
*/
name?: pulumi.Input<string>;
}