pulumi-logtail
Version:
A Pulumi provider for managing Logtail log management and analytics resources, dynamically bridged from the Terraform Logtail provider with support for sources, metrics, and log aggregation.
89 lines (88 loc) • 3.08 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare class SourceGroup extends pulumi.CustomResource {
/**
* Get an existing SourceGroup 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?: SourceGroupState, opts?: pulumi.CustomResourceOptions): SourceGroup;
/**
* Returns true if the given object is an instance of SourceGroup. 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 SourceGroup;
/**
* The time when this source group was created.
*/
readonly createdAt: pulumi.Output<string>;
/**
* The name of this source group.
*/
readonly name: pulumi.Output<string>;
/**
* The sort index of this source group.
*/
readonly sortIndex: pulumi.Output<number | undefined>;
/**
* Used to specify the team the resource should be created in when using global tokens.
*/
readonly teamName: pulumi.Output<string | undefined>;
/**
* The time when this source group was updated.
*/
readonly updatedAt: pulumi.Output<string>;
/**
* Create a SourceGroup 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?: SourceGroupArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering SourceGroup resources.
*/
export interface SourceGroupState {
/**
* The time when this source group was created.
*/
createdAt?: pulumi.Input<string>;
/**
* The name of this source group.
*/
name?: pulumi.Input<string>;
/**
* The sort index of this source group.
*/
sortIndex?: pulumi.Input<number>;
/**
* Used to specify the team the resource should be created in when using global tokens.
*/
teamName?: pulumi.Input<string>;
/**
* The time when this source group was updated.
*/
updatedAt?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a SourceGroup resource.
*/
export interface SourceGroupArgs {
/**
* The name of this source group.
*/
name?: pulumi.Input<string>;
/**
* The sort index of this source group.
*/
sortIndex?: pulumi.Input<number>;
/**
* Used to specify the team the resource should be created in when using global tokens.
*/
teamName?: pulumi.Input<string>;
}