Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi
gcp.apigateway.getApiConfigIamPolicy
Explore with Pulumi AI
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
- Api
Config 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
- Api
Config 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
- api
Config 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
- api
Config 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
- api
Config 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
- Api
Config string - Etag string
- (Computed) The etag of the IAM policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Policy
Data string - (Required only by
gcp.apigateway.ApiConfigIamPolicy
) The policy data generated by agcp.organizations.getIAMPolicy
data source. - Project string
- Api string
- Api
Config string - Etag string
- (Computed) The etag of the IAM policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Policy
Data string - (Required only by
gcp.apigateway.ApiConfigIamPolicy
) The policy data generated by agcp.organizations.getIAMPolicy
data source. - Project string
- api String
- api
Config String - etag String
- (Computed) The etag of the IAM policy.
- id String
- The provider-assigned unique ID for this managed resource.
- policy
Data String - (Required only by
gcp.apigateway.ApiConfigIamPolicy
) The policy data generated by agcp.organizations.getIAMPolicy
data source. - project String
- api string
- api
Config string - etag string
- (Computed) The etag of the IAM policy.
- id string
- The provider-assigned unique ID for this managed resource.
- policy
Data string - (Required only by
gcp.apigateway.ApiConfigIamPolicy
) The policy data generated by agcp.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 agcp.organizations.getIAMPolicy
data source. - project str
- api String
- api
Config String - etag String
- (Computed) The etag of the IAM policy.
- id String
- The provider-assigned unique ID for this managed resource.
- policy
Data String - (Required only by
gcp.apigateway.ApiConfigIamPolicy
) The policy data generated by agcp.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.