@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
56 lines • 1.98 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Retrieves the current IAM policy data for serviceconsumers
*/
export declare function getServiceConsumersIamPolicy(args: GetServiceConsumersIamPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceConsumersIamPolicyResult>;
/**
* A collection of arguments for invoking getServiceConsumersIamPolicy.
*/
export interface GetServiceConsumersIamPolicyArgs {
/**
* Used to find the parent resource to bind the IAM policy to
*/
consumerProject: string;
/**
* The name of the service. Used to find the parent resource to bind the IAM policy to
*/
serviceName: string;
}
/**
* A collection of values returned by getServiceConsumersIamPolicy.
*/
export interface GetServiceConsumersIamPolicyResult {
readonly consumerProject: string;
/**
* (Computed) The etag of the IAM policy.
*/
readonly etag: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* (Required only by `gcp.endpoints.ConsumersIamPolicy`) The policy data generated by
* a `gcp.organizations.getIAMPolicy` data source.
*/
readonly policyData: string;
readonly serviceName: string;
}
/**
* Retrieves the current IAM policy data for serviceconsumers
*/
export declare function getServiceConsumersIamPolicyOutput(args: GetServiceConsumersIamPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServiceConsumersIamPolicyResult>;
/**
* A collection of arguments for invoking getServiceConsumersIamPolicy.
*/
export interface GetServiceConsumersIamPolicyOutputArgs {
/**
* Used to find the parent resource to bind the IAM policy to
*/
consumerProject: pulumi.Input<string>;
/**
* The name of the service. Used to find the parent resource to bind the IAM policy to
*/
serviceName: pulumi.Input<string>;
}
//# sourceMappingURL=getServiceConsumersIamPolicy.d.ts.map