UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

102 lines 2.81 kB
import * as pulumi from "@pulumi/pulumi"; /** * Get information about a Google Cloud Logging Log View. For more information, see the * [official documentation](https://cloud.google.com/logging/docs/apis) * and [API](https://cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets.views). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const _default = gcp.logging.getLogView({ * parent: "projects/my-project", * location: "global", * bucket: "_Default", * name: "my-view", * }); * ``` */ export declare function getLogView(args: GetLogViewArgs, opts?: pulumi.InvokeOptions): Promise<GetLogViewResult>; /** * A collection of arguments for invoking getLogView. */ export interface GetLogViewArgs { /** * The bucket of the resource. */ bucket: string; /** * The location of the resource. */ location: string; /** * The resource name of the view. */ name: string; /** * The parent of the resource. */ parent: string; } /** * A collection of values returned by getLogView. */ export interface GetLogViewResult { readonly bucket: string; readonly createTime: string; readonly deletionPolicy: string; readonly description: string; readonly filter: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly location: string; readonly name: string; readonly parent: string; readonly updateTime: string; } /** * Get information about a Google Cloud Logging Log View. For more information, see the * [official documentation](https://cloud.google.com/logging/docs/apis) * and [API](https://cloud.google.com/logging/docs/reference/v2/rest/v2/projects.locations.buckets.views). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const _default = gcp.logging.getLogView({ * parent: "projects/my-project", * location: "global", * bucket: "_Default", * name: "my-view", * }); * ``` */ export declare function getLogViewOutput(args: GetLogViewOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLogViewResult>; /** * A collection of arguments for invoking getLogView. */ export interface GetLogViewOutputArgs { /** * The bucket of the resource. */ bucket: pulumi.Input<string>; /** * The location of the resource. */ location: pulumi.Input<string>; /** * The resource name of the view. */ name: pulumi.Input<string>; /** * The parent of the resource. */ parent: pulumi.Input<string>; } //# sourceMappingURL=getLogView.d.ts.map