@komminarlabs/cratedb
Version:
A Pulumi package for creating and managing CrateDB resources.
102 lines (101 loc) • 3.3 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* Creates and manages an organization.
*/
export declare class Organization extends pulumi.CustomResource {
/**
* Get an existing Organization 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?: OrganizationState, opts?: pulumi.CustomResourceOptions): Organization;
/**
* Returns true if the given object is an instance of Organization. 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 Organization;
/**
* The DublinCore of the organization.
*/
readonly dc: pulumi.Output<outputs.OrganizationDc>;
/**
* The notification email used in the organization.
*/
readonly email: pulumi.Output<string>;
/**
* The name of the organization.
*/
readonly name: pulumi.Output<string>;
/**
* Whether notifications enabled for the organization.
*/
readonly notificationsEnabled: pulumi.Output<boolean>;
/**
* The support plan type used in the organization.
*/
readonly planType: pulumi.Output<number>;
/**
* The project count in the organization.
*/
readonly projectCount: pulumi.Output<number>;
/**
* The role FQN.
*/
readonly roleFqn: pulumi.Output<string>;
/**
* Create a Organization 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?: OrganizationArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Organization resources.
*/
export interface OrganizationState {
/**
* The DublinCore of the organization.
*/
dc?: pulumi.Input<inputs.OrganizationDc>;
/**
* The notification email used in the organization.
*/
email?: pulumi.Input<string>;
/**
* The name of the organization.
*/
name?: pulumi.Input<string>;
/**
* Whether notifications enabled for the organization.
*/
notificationsEnabled?: pulumi.Input<boolean>;
/**
* The support plan type used in the organization.
*/
planType?: pulumi.Input<number>;
/**
* The project count in the organization.
*/
projectCount?: pulumi.Input<number>;
/**
* The role FQN.
*/
roleFqn?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Organization resource.
*/
export interface OrganizationArgs {
/**
* The name of the organization.
*/
name?: pulumi.Input<string>;
}