1. Packages
  2. Google Cloud Native
  3. API Docs
  4. logging
  5. logging/v2
  6. OrganizationBucketView

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.OrganizationBucketView

Explore with Pulumi AI

google-native logo

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

    Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views. Auto-naming is currently not supported for this resource.

    Create OrganizationBucketView Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new OrganizationBucketView(name: string, args: OrganizationBucketViewArgs, opts?: CustomResourceOptions);
    @overload
    def OrganizationBucketView(resource_name: str,
                               args: OrganizationBucketViewArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def OrganizationBucketView(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               bucket_id: Optional[str] = None,
                               organization_id: Optional[str] = None,
                               view_id: Optional[str] = None,
                               description: Optional[str] = None,
                               filter: Optional[str] = None,
                               location: Optional[str] = None,
                               name: Optional[str] = None)
    func NewOrganizationBucketView(ctx *Context, name string, args OrganizationBucketViewArgs, opts ...ResourceOption) (*OrganizationBucketView, error)
    public OrganizationBucketView(string name, OrganizationBucketViewArgs args, CustomResourceOptions? opts = null)
    public OrganizationBucketView(String name, OrganizationBucketViewArgs args)
    public OrganizationBucketView(String name, OrganizationBucketViewArgs args, CustomResourceOptions options)
    
    type: google-native:logging/v2:OrganizationBucketView
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args OrganizationBucketViewArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args OrganizationBucketViewArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args OrganizationBucketViewArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OrganizationBucketViewArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OrganizationBucketViewArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var organizationBucketViewResource = new GoogleNative.Logging.V2.OrganizationBucketView("organizationBucketViewResource", new()
    {
        BucketId = "string",
        OrganizationId = "string",
        ViewId = "string",
        Description = "string",
        Filter = "string",
        Location = "string",
        Name = "string",
    });
    
    example, err := logging.NewOrganizationBucketView(ctx, "organizationBucketViewResource", &logging.OrganizationBucketViewArgs{
    BucketId: pulumi.String("string"),
    OrganizationId: pulumi.String("string"),
    ViewId: pulumi.String("string"),
    Description: pulumi.String("string"),
    Filter: pulumi.String("string"),
    Location: pulumi.String("string"),
    Name: pulumi.String("string"),
    })
    
    var organizationBucketViewResource = new OrganizationBucketView("organizationBucketViewResource", OrganizationBucketViewArgs.builder()
        .bucketId("string")
        .organizationId("string")
        .viewId("string")
        .description("string")
        .filter("string")
        .location("string")
        .name("string")
        .build());
    
    organization_bucket_view_resource = google_native.logging.v2.OrganizationBucketView("organizationBucketViewResource",
        bucket_id="string",
        organization_id="string",
        view_id="string",
        description="string",
        filter="string",
        location="string",
        name="string")
    
    const organizationBucketViewResource = new google_native.logging.v2.OrganizationBucketView("organizationBucketViewResource", {
        bucketId: "string",
        organizationId: "string",
        viewId: "string",
        description: "string",
        filter: "string",
        location: "string",
        name: "string",
    });
    
    type: google-native:logging/v2:OrganizationBucketView
    properties:
        bucketId: string
        description: string
        filter: string
        location: string
        name: string
        organizationId: string
        viewId: string
    

    OrganizationBucketView Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The OrganizationBucketView resource accepts the following input properties:

    BucketId string
    OrganizationId string
    ViewId string
    Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
    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")
    Location string
    Name string
    The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
    BucketId string
    OrganizationId string
    ViewId string
    Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
    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")
    Location string
    Name string
    The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
    bucketId String
    organizationId String
    viewId String
    Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
    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")
    location String
    name String
    The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
    bucketId string
    organizationId string
    viewId string
    Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
    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")
    location string
    name string
    The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
    bucket_id str
    organization_id str
    view_id str
    Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
    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")
    location str
    name str
    The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view
    bucketId String
    organizationId String
    viewId String
    Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
    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")
    location String
    name String
    The resource name of the view.For example:projects/my-project/locations/global/buckets/my-bucket/views/my-view

    Outputs

    All input properties are implicitly available as output properties. Additionally, the OrganizationBucketView resource produces the following output properties:

    CreateTime string
    The creation timestamp of the view.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateTime string
    The last update timestamp of the view.
    CreateTime string
    The creation timestamp of the view.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateTime string
    The last update timestamp of the view.
    createTime String
    The creation timestamp of the view.
    id String
    The provider-assigned unique ID for this managed resource.
    updateTime String
    The last update timestamp of the view.
    createTime string
    The creation timestamp of the view.
    id string
    The provider-assigned unique ID for this managed resource.
    updateTime string
    The last update timestamp of the view.
    create_time str
    The creation timestamp of the view.
    id str
    The provider-assigned unique ID for this managed resource.
    update_time str
    The last update timestamp of the view.
    createTime String
    The creation timestamp of the view.
    id String
    The provider-assigned unique ID for this managed resource.
    updateTime String
    The last update timestamp of the view.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    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