@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
76 lines (75 loc) • 2.65 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const policy = gcp.vertex.getAiFeaturestoreEntitytypeIamPolicy({
* featurestore: entity.featurestore,
* entitytype: entity.name,
* });
* ```
*/
export declare function getAiFeaturestoreEntitytypeIamPolicy(args: GetAiFeaturestoreEntitytypeIamPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetAiFeaturestoreEntitytypeIamPolicyResult>;
/**
* A collection of arguments for invoking getAiFeaturestoreEntitytypeIamPolicy.
*/
export interface GetAiFeaturestoreEntitytypeIamPolicyArgs {
/**
* Used to find the parent resource to bind the IAM policy to
*/
entitytype: string;
/**
* The name of the Featurestore to use, in the format projects/{project}/locations/{location}/featurestores/{featurestore}. Used to find the parent resource to bind the IAM policy to
*/
featurestore: string;
}
/**
* A collection of values returned by getAiFeaturestoreEntitytypeIamPolicy.
*/
export interface GetAiFeaturestoreEntitytypeIamPolicyResult {
readonly entitytype: string;
/**
* (Computed) The etag of the IAM policy.
*/
readonly etag: string;
readonly featurestore: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* (Required only by `gcp.vertex.AiFeatureStoreEntityTypeIamPolicy`) The policy data generated by
* a `gcp.organizations.getIAMPolicy` data source.
*/
readonly policyData: string;
}
/**
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const policy = gcp.vertex.getAiFeaturestoreEntitytypeIamPolicy({
* featurestore: entity.featurestore,
* entitytype: entity.name,
* });
* ```
*/
export declare function getAiFeaturestoreEntitytypeIamPolicyOutput(args: GetAiFeaturestoreEntitytypeIamPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAiFeaturestoreEntitytypeIamPolicyResult>;
/**
* A collection of arguments for invoking getAiFeaturestoreEntitytypeIamPolicy.
*/
export interface GetAiFeaturestoreEntitytypeIamPolicyOutputArgs {
/**
* Used to find the parent resource to bind the IAM policy to
*/
entitytype: pulumi.Input<string>;
/**
* The name of the Featurestore to use, in the format projects/{project}/locations/{location}/featurestores/{featurestore}. Used to find the parent resource to bind the IAM policy to
*/
featurestore: pulumi.Input<string>;
}