Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.logging/v2.getBucketView
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets a view on a log bucket.
Using getBucketView
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBucketView(args: GetBucketViewArgs, opts?: InvokeOptions): Promise<GetBucketViewResult>
function getBucketViewOutput(args: GetBucketViewOutputArgs, opts?: InvokeOptions): Output<GetBucketViewResult>def get_bucket_view(bucket_id: Optional[str] = None,
                    location: Optional[str] = None,
                    project: Optional[str] = None,
                    view_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetBucketViewResult
def get_bucket_view_output(bucket_id: Optional[pulumi.Input[str]] = None,
                    location: Optional[pulumi.Input[str]] = None,
                    project: Optional[pulumi.Input[str]] = None,
                    view_id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetBucketViewResult]func LookupBucketView(ctx *Context, args *LookupBucketViewArgs, opts ...InvokeOption) (*LookupBucketViewResult, error)
func LookupBucketViewOutput(ctx *Context, args *LookupBucketViewOutputArgs, opts ...InvokeOption) LookupBucketViewResultOutput> Note: This function is named LookupBucketView in the Go SDK.
public static class GetBucketView 
{
    public static Task<GetBucketViewResult> InvokeAsync(GetBucketViewArgs args, InvokeOptions? opts = null)
    public static Output<GetBucketViewResult> Invoke(GetBucketViewInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBucketViewResult> getBucketView(GetBucketViewArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:logging/v2:getBucketView
  arguments:
    # arguments dictionaryThe following arguments are supported:
getBucketView Result
The following output properties are available:
- Create
Time string - The creation timestamp of the view.
 - Description string
 - Describes this view.
 - Filter string
 - Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
 - Name string
 - The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
 - Update
Time string - The last update timestamp of the view.
 
- Create
Time string - The creation timestamp of the view.
 - Description string
 - Describes this view.
 - Filter string
 - Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
 - Name string
 - The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
 - Update
Time string - The last update timestamp of the view.
 
- create
Time String - The creation timestamp of the view.
 - description String
 - Describes this view.
 - filter String
 - Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
 - name String
 - The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
 - update
Time String - The last update timestamp of the view.
 
- create
Time string - The creation timestamp of the view.
 - description string
 - Describes this view.
 - filter string
 - Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
 - name string
 - The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
 - update
Time string - The last update timestamp of the view.
 
- create_
time str - The creation timestamp of the view.
 - description str
 - Describes this view.
 - filter str
 - Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
 - name str
 - The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
 - update_
time str - The last update timestamp of the view.
 
- create
Time String - The creation timestamp of the view.
 - description String
 - Describes this view.
 - filter String
 - Filter that restricts which log entries in a bucket are visible in this view.Filters are restricted to be a logical AND of ==/!= of any of the following: originating project/folder/organization/billing account. resource type log idFor example:SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
 - name String
 - The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
 - update
Time String - The last update timestamp of the view.
 
Package Details
- Repository
 - Google Cloud Native pulumi/pulumi-google-native
 - License
 - Apache-2.0
 
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi