1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. apigateway
  5. getApiConfigIamPolicy
Google Cloud Classic v7.29.0 published on Wednesday, Jun 26, 2024 by Pulumi

gcp.apigateway.getApiConfigIamPolicy

Explore with Pulumi AI

gcp logo
Google Cloud Classic v7.29.0 published on Wednesday, Jun 26, 2024 by Pulumi

    Using getApiConfigIamPolicy

    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 getApiConfigIamPolicy(args: GetApiConfigIamPolicyArgs, opts?: InvokeOptions): Promise<GetApiConfigIamPolicyResult>
    function getApiConfigIamPolicyOutput(args: GetApiConfigIamPolicyOutputArgs, opts?: InvokeOptions): Output<GetApiConfigIamPolicyResult>
    def get_api_config_iam_policy(api: Optional[str] = None,
                                  api_config: Optional[str] = None,
                                  project: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetApiConfigIamPolicyResult
    def get_api_config_iam_policy_output(api: Optional[pulumi.Input[str]] = None,
                                  api_config: Optional[pulumi.Input[str]] = None,
                                  project: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetApiConfigIamPolicyResult]
    func LookupApiConfigIamPolicy(ctx *Context, args *LookupApiConfigIamPolicyArgs, opts ...InvokeOption) (*LookupApiConfigIamPolicyResult, error)
    func LookupApiConfigIamPolicyOutput(ctx *Context, args *LookupApiConfigIamPolicyOutputArgs, opts ...InvokeOption) LookupApiConfigIamPolicyResultOutput

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

    public static class GetApiConfigIamPolicy 
    {
        public static Task<GetApiConfigIamPolicyResult> InvokeAsync(GetApiConfigIamPolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetApiConfigIamPolicyResult> Invoke(GetApiConfigIamPolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetApiConfigIamPolicyResult> getApiConfigIamPolicy(GetApiConfigIamPolicyArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: gcp:apigateway/getApiConfigIamPolicy:getApiConfigIamPolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Api string
    The API to attach the config to. Used to find the parent resource to bind the IAM policy to
    ApiConfig string
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
    Api string
    The API to attach the config to. Used to find the parent resource to bind the IAM policy to
    ApiConfig string
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
    api String
    The API to attach the config to. Used to find the parent resource to bind the IAM policy to
    apiConfig String
    project String
    The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
    api string
    The API to attach the config to. Used to find the parent resource to bind the IAM policy to
    apiConfig string
    project string
    The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
    api str
    The API to attach the config to. Used to find the parent resource to bind the IAM policy to
    api_config str
    project str
    The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
    api String
    The API to attach the config to. Used to find the parent resource to bind the IAM policy to
    apiConfig String
    project String
    The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.

    getApiConfigIamPolicy Result

    The following output properties are available:

    Api string
    ApiConfig string
    Etag string
    (Computed) The etag of the IAM policy.
    Id string
    The provider-assigned unique ID for this managed resource.
    PolicyData string
    (Required only by gcp.apigateway.ApiConfigIamPolicy) The policy data generated by a gcp.organizations.getIAMPolicy data source.
    Project string
    Api string
    ApiConfig string
    Etag string
    (Computed) The etag of the IAM policy.
    Id string
    The provider-assigned unique ID for this managed resource.
    PolicyData string
    (Required only by gcp.apigateway.ApiConfigIamPolicy) The policy data generated by a gcp.organizations.getIAMPolicy data source.
    Project string
    api String
    apiConfig String
    etag String
    (Computed) The etag of the IAM policy.
    id String
    The provider-assigned unique ID for this managed resource.
    policyData String
    (Required only by gcp.apigateway.ApiConfigIamPolicy) The policy data generated by a gcp.organizations.getIAMPolicy data source.
    project String
    api string
    apiConfig string
    etag string
    (Computed) The etag of the IAM policy.
    id string
    The provider-assigned unique ID for this managed resource.
    policyData string
    (Required only by gcp.apigateway.ApiConfigIamPolicy) The policy data generated by a gcp.organizations.getIAMPolicy data source.
    project string
    api str
    api_config str
    etag str
    (Computed) The etag of the IAM policy.
    id str
    The provider-assigned unique ID for this managed resource.
    policy_data str
    (Required only by gcp.apigateway.ApiConfigIamPolicy) The policy data generated by a gcp.organizations.getIAMPolicy data source.
    project str
    api String
    apiConfig String
    etag String
    (Computed) The etag of the IAM policy.
    id String
    The provider-assigned unique ID for this managed resource.
    policyData String
    (Required only by gcp.apigateway.ApiConfigIamPolicy) The policy data generated by a gcp.organizations.getIAMPolicy data source.
    project String

    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.
    gcp logo
    Google Cloud Classic v7.29.0 published on Wednesday, Jun 26, 2024 by Pulumi