Google Cloud Classic v7.29.0 published on Wednesday, Jun 26, 2024 by Pulumi
gcp.logging.getLogViewIamPolicy
Explore with Pulumi AI
Using getLogViewIamPolicy
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 getLogViewIamPolicy(args: GetLogViewIamPolicyArgs, opts?: InvokeOptions): Promise<GetLogViewIamPolicyResult>
function getLogViewIamPolicyOutput(args: GetLogViewIamPolicyOutputArgs, opts?: InvokeOptions): Output<GetLogViewIamPolicyResult>
def get_log_view_iam_policy(bucket: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
parent: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLogViewIamPolicyResult
def get_log_view_iam_policy_output(bucket: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
parent: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLogViewIamPolicyResult]
func LookupLogViewIamPolicy(ctx *Context, args *LookupLogViewIamPolicyArgs, opts ...InvokeOption) (*LookupLogViewIamPolicyResult, error)
func LookupLogViewIamPolicyOutput(ctx *Context, args *LookupLogViewIamPolicyOutputArgs, opts ...InvokeOption) LookupLogViewIamPolicyResultOutput
> Note: This function is named LookupLogViewIamPolicy
in the Go SDK.
public static class GetLogViewIamPolicy
{
public static Task<GetLogViewIamPolicyResult> InvokeAsync(GetLogViewIamPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetLogViewIamPolicyResult> Invoke(GetLogViewIamPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLogViewIamPolicyResult> getLogViewIamPolicy(GetLogViewIamPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: gcp:logging/getLogViewIamPolicy:getLogViewIamPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Bucket string
- The bucket of the resource Used to find the parent resource to bind the IAM policy to
- Name string
- Used to find the parent resource to bind the IAM policy to
- Parent string
- The parent of the resource. Used to find the parent resource to bind the IAM policy to
- Location string
- The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no location is specified, it is taken from the provider configuration.
- Bucket string
- The bucket of the resource Used to find the parent resource to bind the IAM policy to
- Name string
- Used to find the parent resource to bind the IAM policy to
- Parent string
- The parent of the resource. Used to find the parent resource to bind the IAM policy to
- Location string
- The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no location is specified, it is taken from the provider configuration.
- bucket String
- The bucket of the resource Used to find the parent resource to bind the IAM policy to
- name String
- Used to find the parent resource to bind the IAM policy to
- parent String
- The parent of the resource. Used to find the parent resource to bind the IAM policy to
- location String
- The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no location is specified, it is taken from the provider configuration.
- bucket string
- The bucket of the resource Used to find the parent resource to bind the IAM policy to
- name string
- Used to find the parent resource to bind the IAM policy to
- parent string
- The parent of the resource. Used to find the parent resource to bind the IAM policy to
- location string
- The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no location is specified, it is taken from the provider configuration.
- bucket str
- The bucket of the resource Used to find the parent resource to bind the IAM policy to
- name str
- Used to find the parent resource to bind the IAM policy to
- parent str
- The parent of the resource. Used to find the parent resource to bind the IAM policy to
- location str
- The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no location is specified, it is taken from the provider configuration.
- bucket String
- The bucket of the resource Used to find the parent resource to bind the IAM policy to
- name String
- Used to find the parent resource to bind the IAM policy to
- parent String
- The parent of the resource. Used to find the parent resource to bind the IAM policy to
- location String
- The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no location is specified, it is taken from the provider configuration.
getLogViewIamPolicy Result
The following output properties are available:
- Bucket string
- Etag string
- (Computed) The etag of the IAM policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- Name string
- Parent string
- Policy
Data string - (Required only by
gcp.logging.LogViewIamPolicy
) The policy data generated by agcp.organizations.getIAMPolicy
data source.
- Bucket string
- Etag string
- (Computed) The etag of the IAM policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- Name string
- Parent string
- Policy
Data string - (Required only by
gcp.logging.LogViewIamPolicy
) The policy data generated by agcp.organizations.getIAMPolicy
data source.
- bucket String
- etag String
- (Computed) The etag of the IAM policy.
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- name String
- parent String
- policy
Data String - (Required only by
gcp.logging.LogViewIamPolicy
) The policy data generated by agcp.organizations.getIAMPolicy
data source.
- bucket string
- etag string
- (Computed) The etag of the IAM policy.
- id string
- The provider-assigned unique ID for this managed resource.
- location string
- name string
- parent string
- policy
Data string - (Required only by
gcp.logging.LogViewIamPolicy
) The policy data generated by agcp.organizations.getIAMPolicy
data source.
- bucket String
- etag String
- (Computed) The etag of the IAM policy.
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- name String
- parent String
- policy
Data String - (Required only by
gcp.logging.LogViewIamPolicy
) The policy data generated by agcp.organizations.getIAMPolicy
data source.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.