@pulumi/ns1
Version:
A Pulumi package for creating and managing ns1 cloud resources.
59 lines (58 loc) • 2.69 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
export declare class Dataset extends pulumi.CustomResource {
/**
* Get an existing Dataset 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?: DatasetState, opts?: pulumi.CustomResourceOptions): Dataset;
/**
* Returns true if the given object is an instance of Dataset. 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 Dataset;
readonly datatype: pulumi.Output<outputs.DatasetDatatype>;
readonly exportType: pulumi.Output<string>;
readonly name: pulumi.Output<string>;
readonly recipientEmails: pulumi.Output<string[] | undefined>;
readonly repeat: pulumi.Output<outputs.DatasetRepeat | undefined>;
readonly reports: pulumi.Output<outputs.DatasetReport[]>;
readonly timeframe: pulumi.Output<outputs.DatasetTimeframe>;
/**
* Create a Dataset 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: DatasetArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Dataset resources.
*/
export interface DatasetState {
datatype?: pulumi.Input<inputs.DatasetDatatype>;
exportType?: pulumi.Input<string>;
name?: pulumi.Input<string>;
recipientEmails?: pulumi.Input<pulumi.Input<string>[]>;
repeat?: pulumi.Input<inputs.DatasetRepeat>;
reports?: pulumi.Input<pulumi.Input<inputs.DatasetReport>[]>;
timeframe?: pulumi.Input<inputs.DatasetTimeframe>;
}
/**
* The set of arguments for constructing a Dataset resource.
*/
export interface DatasetArgs {
datatype: pulumi.Input<inputs.DatasetDatatype>;
exportType: pulumi.Input<string>;
name?: pulumi.Input<string>;
recipientEmails?: pulumi.Input<pulumi.Input<string>[]>;
repeat?: pulumi.Input<inputs.DatasetRepeat>;
timeframe: pulumi.Input<inputs.DatasetTimeframe>;
}