@pulumi/ns1
Version:
A Pulumi package for creating and managing ns1 cloud resources.
69 lines (68 loc) • 3.12 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
export declare class PulsarJob extends pulumi.CustomResource {
/**
* Get an existing PulsarJob 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?: PulsarJobState, opts?: pulumi.CustomResourceOptions): PulsarJob;
/**
* Returns true if the given object is an instance of PulsarJob. 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 PulsarJob;
readonly active: pulumi.Output<boolean | undefined>;
readonly appId: pulumi.Output<string>;
readonly blendMetricWeights: pulumi.Output<outputs.PulsarJobBlendMetricWeights | undefined>;
readonly community: pulumi.Output<boolean>;
readonly config: pulumi.Output<outputs.PulsarJobConfig | undefined>;
readonly customer: pulumi.Output<number>;
readonly jobId: pulumi.Output<string>;
readonly name: pulumi.Output<string>;
readonly shared: pulumi.Output<boolean | undefined>;
readonly typeId: pulumi.Output<string>;
readonly weights: pulumi.Output<outputs.PulsarJobWeight[] | undefined>;
/**
* Create a PulsarJob 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: PulsarJobArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering PulsarJob resources.
*/
export interface PulsarJobState {
active?: pulumi.Input<boolean>;
appId?: pulumi.Input<string>;
blendMetricWeights?: pulumi.Input<inputs.PulsarJobBlendMetricWeights>;
community?: pulumi.Input<boolean>;
config?: pulumi.Input<inputs.PulsarJobConfig>;
customer?: pulumi.Input<number>;
jobId?: pulumi.Input<string>;
name?: pulumi.Input<string>;
shared?: pulumi.Input<boolean>;
typeId?: pulumi.Input<string>;
weights?: pulumi.Input<pulumi.Input<inputs.PulsarJobWeight>[]>;
}
/**
* The set of arguments for constructing a PulsarJob resource.
*/
export interface PulsarJobArgs {
active?: pulumi.Input<boolean>;
appId: pulumi.Input<string>;
blendMetricWeights?: pulumi.Input<inputs.PulsarJobBlendMetricWeights>;
config?: pulumi.Input<inputs.PulsarJobConfig>;
name?: pulumi.Input<string>;
shared?: pulumi.Input<boolean>;
typeId: pulumi.Input<string>;
weights?: pulumi.Input<pulumi.Input<inputs.PulsarJobWeight>[]>;
}