import * as pulumi from "@pulumi/pulumi"; import * as enums from "../../types/enums"; /** * Creates a new source in a given project and location. * Auto-naming is currently not supported for this resource. */ export declare class Source extends pulumi.CustomResource { /** * Get an existing Source 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Source; /** * Returns true if the given object is an instance of Source. 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 Source; /** * The timestamp when the source was created. */ readonly createTime: pulumi.Output; /** * Free-text description. */ readonly description: pulumi.Output; /** * User-friendly display name. */ readonly displayName: pulumi.Output; /** * The number of frames that were reported by the source and contained errors. */ readonly errorFrameCount: pulumi.Output; readonly location: pulumi.Output; /** * If `true`, the source is managed by other service(s). */ readonly managed: pulumi.Output; /** * The full name of the source. */ readonly name: pulumi.Output; /** * Number of frames that are still being processed. */ readonly pendingFrameCount: pulumi.Output; /** * The information confidence of the source. The higher the value, the higher the confidence. */ readonly priority: pulumi.Output; readonly project: pulumi.Output; /** * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ readonly requestId: pulumi.Output; /** * Required. User specified ID for the source. It will become the last component of the source name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression: `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`. */ readonly sourceId: pulumi.Output; /** * The state of the source. */ readonly state: pulumi.Output; /** * Data source type. */ readonly type: pulumi.Output; /** * The timestamp when the source was last updated. */ readonly updateTime: pulumi.Output; /** * Create a Source 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: SourceArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Source resource. */ export interface SourceArgs { /** * Free-text description. */ description?: pulumi.Input; /** * User-friendly display name. */ displayName?: pulumi.Input; location?: pulumi.Input; /** * If `true`, the source is managed by other service(s). */ managed?: pulumi.Input; /** * The information confidence of the source. The higher the value, the higher the confidence. */ priority?: pulumi.Input; project?: pulumi.Input; /** * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ requestId?: pulumi.Input; /** * Required. User specified ID for the source. It will become the last component of the source name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression: `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`. */ sourceId: pulumi.Input; /** * Data source type. */ type?: pulumi.Input; }