1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. vertex
  5. AiEndpointIamMember
Google Cloud Classic v7.18.0 published on Wednesday, Apr 10, 2024 by Pulumi

gcp.vertex.AiEndpointIamMember

Explore with Pulumi AI

gcp logo
Google Cloud Classic v7.18.0 published on Wednesday, Apr 10, 2024 by Pulumi

    Create AiEndpointIamMember Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AiEndpointIamMember(name: string, args: AiEndpointIamMemberArgs, opts?: CustomResourceOptions);
    @overload
    def AiEndpointIamMember(resource_name: str,
                            args: AiEndpointIamMemberArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def AiEndpointIamMember(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            endpoint: Optional[str] = None,
                            member: Optional[str] = None,
                            role: Optional[str] = None,
                            condition: Optional[AiEndpointIamMemberConditionArgs] = None,
                            location: Optional[str] = None,
                            project: Optional[str] = None)
    func NewAiEndpointIamMember(ctx *Context, name string, args AiEndpointIamMemberArgs, opts ...ResourceOption) (*AiEndpointIamMember, error)
    public AiEndpointIamMember(string name, AiEndpointIamMemberArgs args, CustomResourceOptions? opts = null)
    public AiEndpointIamMember(String name, AiEndpointIamMemberArgs args)
    public AiEndpointIamMember(String name, AiEndpointIamMemberArgs args, CustomResourceOptions options)
    
    type: gcp:vertex:AiEndpointIamMember
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AiEndpointIamMemberArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AiEndpointIamMemberArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AiEndpointIamMemberArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AiEndpointIamMemberArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AiEndpointIamMemberArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var aiEndpointIamMemberResource = new Gcp.Vertex.AiEndpointIamMember("aiEndpointIamMemberResource", new()
    {
        Endpoint = "string",
        Member = "string",
        Role = "string",
        Condition = new Gcp.Vertex.Inputs.AiEndpointIamMemberConditionArgs
        {
            Expression = "string",
            Title = "string",
            Description = "string",
        },
        Location = "string",
        Project = "string",
    });
    
    example, err := vertex.NewAiEndpointIamMember(ctx, "aiEndpointIamMemberResource", &vertex.AiEndpointIamMemberArgs{
    	Endpoint: pulumi.String("string"),
    	Member:   pulumi.String("string"),
    	Role:     pulumi.String("string"),
    	Condition: &vertex.AiEndpointIamMemberConditionArgs{
    		Expression:  pulumi.String("string"),
    		Title:       pulumi.String("string"),
    		Description: pulumi.String("string"),
    	},
    	Location: pulumi.String("string"),
    	Project:  pulumi.String("string"),
    })
    
    var aiEndpointIamMemberResource = new AiEndpointIamMember("aiEndpointIamMemberResource", AiEndpointIamMemberArgs.builder()        
        .endpoint("string")
        .member("string")
        .role("string")
        .condition(AiEndpointIamMemberConditionArgs.builder()
            .expression("string")
            .title("string")
            .description("string")
            .build())
        .location("string")
        .project("string")
        .build());
    
    ai_endpoint_iam_member_resource = gcp.vertex.AiEndpointIamMember("aiEndpointIamMemberResource",
        endpoint="string",
        member="string",
        role="string",
        condition=gcp.vertex.AiEndpointIamMemberConditionArgs(
            expression="string",
            title="string",
            description="string",
        ),
        location="string",
        project="string")
    
    const aiEndpointIamMemberResource = new gcp.vertex.AiEndpointIamMember("aiEndpointIamMemberResource", {
        endpoint: "string",
        member: "string",
        role: "string",
        condition: {
            expression: "string",
            title: "string",
            description: "string",
        },
        location: "string",
        project: "string",
    });
    
    type: gcp:vertex:AiEndpointIamMember
    properties:
        condition:
            description: string
            expression: string
            title: string
        endpoint: string
        location: string
        member: string
        project: string
        role: string
    

    AiEndpointIamMember Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AiEndpointIamMember resource accepts the following input properties:

    endpoint String
    member String
    role String
    condition Property Map
    location String
    project String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AiEndpointIamMember resource produces the following output properties:

    Etag string
    Id string
    The provider-assigned unique ID for this managed resource.
    Etag string
    Id string
    The provider-assigned unique ID for this managed resource.
    etag String
    id String
    The provider-assigned unique ID for this managed resource.
    etag string
    id string
    The provider-assigned unique ID for this managed resource.
    etag str
    id str
    The provider-assigned unique ID for this managed resource.
    etag String
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AiEndpointIamMember Resource

    Get an existing AiEndpointIamMember resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AiEndpointIamMemberState, opts?: CustomResourceOptions): AiEndpointIamMember
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            condition: Optional[AiEndpointIamMemberConditionArgs] = None,
            endpoint: Optional[str] = None,
            etag: Optional[str] = None,
            location: Optional[str] = None,
            member: Optional[str] = None,
            project: Optional[str] = None,
            role: Optional[str] = None) -> AiEndpointIamMember
    func GetAiEndpointIamMember(ctx *Context, name string, id IDInput, state *AiEndpointIamMemberState, opts ...ResourceOption) (*AiEndpointIamMember, error)
    public static AiEndpointIamMember Get(string name, Input<string> id, AiEndpointIamMemberState? state, CustomResourceOptions? opts = null)
    public static AiEndpointIamMember get(String name, Output<String> id, AiEndpointIamMemberState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.

    Supporting Types

    AiEndpointIamMemberCondition, AiEndpointIamMemberConditionArgs

    Expression string
    Title string
    Description string
    Expression string
    Title string
    Description string
    expression String
    title String
    description String
    expression string
    title string
    description string
    expression String
    title String
    description 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.18.0 published on Wednesday, Apr 10, 2024 by Pulumi