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

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

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 the description of an exclusion in the _Default sink.

Using getBillingAccountExclusion

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 getBillingAccountExclusion(args: GetBillingAccountExclusionArgs, opts?: InvokeOptions): Promise<GetBillingAccountExclusionResult>
function getBillingAccountExclusionOutput(args: GetBillingAccountExclusionOutputArgs, opts?: InvokeOptions): Output<GetBillingAccountExclusionResult>
Copy
def get_billing_account_exclusion(billing_account_id: Optional[str] = None,
                                  exclusion_id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetBillingAccountExclusionResult
def get_billing_account_exclusion_output(billing_account_id: Optional[pulumi.Input[str]] = None,
                                  exclusion_id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetBillingAccountExclusionResult]
Copy
func LookupBillingAccountExclusion(ctx *Context, args *LookupBillingAccountExclusionArgs, opts ...InvokeOption) (*LookupBillingAccountExclusionResult, error)
func LookupBillingAccountExclusionOutput(ctx *Context, args *LookupBillingAccountExclusionOutputArgs, opts ...InvokeOption) LookupBillingAccountExclusionResultOutput
Copy

> Note: This function is named LookupBillingAccountExclusion in the Go SDK.

public static class GetBillingAccountExclusion 
{
    public static Task<GetBillingAccountExclusionResult> InvokeAsync(GetBillingAccountExclusionArgs args, InvokeOptions? opts = null)
    public static Output<GetBillingAccountExclusionResult> Invoke(GetBillingAccountExclusionInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetBillingAccountExclusionResult> getBillingAccountExclusion(GetBillingAccountExclusionArgs args, InvokeOptions options)
public static Output<GetBillingAccountExclusionResult> getBillingAccountExclusion(GetBillingAccountExclusionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:logging/v2:getBillingAccountExclusion
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

BillingAccountId This property is required. string
ExclusionId This property is required. string
BillingAccountId This property is required. string
ExclusionId This property is required. string
billingAccountId This property is required. String
exclusionId This property is required. String
billingAccountId This property is required. string
exclusionId This property is required. string
billing_account_id This property is required. str
exclusion_id This property is required. str
billingAccountId This property is required. String
exclusionId This property is required. String

getBillingAccountExclusion Result

The following output properties are available:

CreateTime string
The creation timestamp of the exclusion.This field may not be present for older exclusions.
Description string
Optional. A description of this exclusion.
Disabled bool
Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
Filter string
An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)
Name string
A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
UpdateTime string
The last update timestamp of the exclusion.This field may not be present for older exclusions.
CreateTime string
The creation timestamp of the exclusion.This field may not be present for older exclusions.
Description string
Optional. A description of this exclusion.
Disabled bool
Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
Filter string
An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)
Name string
A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
UpdateTime string
The last update timestamp of the exclusion.This field may not be present for older exclusions.
createTime String
The creation timestamp of the exclusion.This field may not be present for older exclusions.
description String
Optional. A description of this exclusion.
disabled Boolean
Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
filter String
An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)
name String
A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
updateTime String
The last update timestamp of the exclusion.This field may not be present for older exclusions.
createTime string
The creation timestamp of the exclusion.This field may not be present for older exclusions.
description string
Optional. A description of this exclusion.
disabled boolean
Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
filter string
An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)
name string
A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
updateTime string
The last update timestamp of the exclusion.This field may not be present for older exclusions.
create_time str
The creation timestamp of the exclusion.This field may not be present for older exclusions.
description str
Optional. A description of this exclusion.
disabled bool
Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
filter str
An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)
name str
A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
update_time str
The last update timestamp of the exclusion.This field may not be present for older exclusions.
createTime String
The creation timestamp of the exclusion.This field may not be present for older exclusions.
description String
Optional. A description of this exclusion.
disabled Boolean
Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.
filter String
An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)
name String
A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
updateTime String
The last update timestamp of the exclusion.This field may not be present for older exclusions.

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