1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. dataform
  5. RepositoryIamMember
Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi

gcp.dataform.RepositoryIamMember

Explore with Pulumi AI

gcp logo
Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi

    Create RepositoryIamMember Resource

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

    Constructor syntax

    new RepositoryIamMember(name: string, args: RepositoryIamMemberArgs, opts?: CustomResourceOptions);
    @overload
    def RepositoryIamMember(resource_name: str,
                            args: RepositoryIamMemberArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def RepositoryIamMember(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            member: Optional[str] = None,
                            repository: Optional[str] = None,
                            role: Optional[str] = None,
                            condition: Optional[RepositoryIamMemberConditionArgs] = None,
                            project: Optional[str] = None,
                            region: Optional[str] = None)
    func NewRepositoryIamMember(ctx *Context, name string, args RepositoryIamMemberArgs, opts ...ResourceOption) (*RepositoryIamMember, error)
    public RepositoryIamMember(string name, RepositoryIamMemberArgs args, CustomResourceOptions? opts = null)
    public RepositoryIamMember(String name, RepositoryIamMemberArgs args)
    public RepositoryIamMember(String name, RepositoryIamMemberArgs args, CustomResourceOptions options)
    
    type: gcp:dataform:RepositoryIamMember
    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 RepositoryIamMemberArgs
    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 RepositoryIamMemberArgs
    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 RepositoryIamMemberArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RepositoryIamMemberArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RepositoryIamMemberArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

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

    var gcpRepositoryIamMemberResource = new Gcp.Dataform.RepositoryIamMember("gcpRepositoryIamMemberResource", new()
    {
        Member = "string",
        Repository = "string",
        Role = "string",
        Condition = new Gcp.Dataform.Inputs.RepositoryIamMemberConditionArgs
        {
            Expression = "string",
            Title = "string",
            Description = "string",
        },
        Project = "string",
        Region = "string",
    });
    
    example, err := dataform.NewRepositoryIamMember(ctx, "gcpRepositoryIamMemberResource", &dataform.RepositoryIamMemberArgs{
    	Member:     pulumi.String("string"),
    	Repository: pulumi.String("string"),
    	Role:       pulumi.String("string"),
    	Condition: &dataform.RepositoryIamMemberConditionArgs{
    		Expression:  pulumi.String("string"),
    		Title:       pulumi.String("string"),
    		Description: pulumi.String("string"),
    	},
    	Project: pulumi.String("string"),
    	Region:  pulumi.String("string"),
    })
    
    var gcpRepositoryIamMemberResource = new RepositoryIamMember("gcpRepositoryIamMemberResource", RepositoryIamMemberArgs.builder()
        .member("string")
        .repository("string")
        .role("string")
        .condition(RepositoryIamMemberConditionArgs.builder()
            .expression("string")
            .title("string")
            .description("string")
            .build())
        .project("string")
        .region("string")
        .build());
    
    gcp_repository_iam_member_resource = gcp.dataform.RepositoryIamMember("gcpRepositoryIamMemberResource",
        member="string",
        repository="string",
        role="string",
        condition={
            "expression": "string",
            "title": "string",
            "description": "string",
        },
        project="string",
        region="string")
    
    const gcpRepositoryIamMemberResource = new gcp.dataform.RepositoryIamMember("gcpRepositoryIamMemberResource", {
        member: "string",
        repository: "string",
        role: "string",
        condition: {
            expression: "string",
            title: "string",
            description: "string",
        },
        project: "string",
        region: "string",
    });
    
    type: gcp:dataform:RepositoryIamMember
    properties:
        condition:
            description: string
            expression: string
            title: string
        member: string
        project: string
        region: string
        repository: string
        role: string
    

    RepositoryIamMember Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The RepositoryIamMember resource accepts the following input properties:

    member String
    repository String
    role String
    condition Property Map
    project String
    region String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RepositoryIamMember 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 RepositoryIamMember Resource

    Get an existing RepositoryIamMember 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?: RepositoryIamMemberState, opts?: CustomResourceOptions): RepositoryIamMember
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            condition: Optional[RepositoryIamMemberConditionArgs] = None,
            etag: Optional[str] = None,
            member: Optional[str] = None,
            project: Optional[str] = None,
            region: Optional[str] = None,
            repository: Optional[str] = None,
            role: Optional[str] = None) -> RepositoryIamMember
    func GetRepositoryIamMember(ctx *Context, name string, id IDInput, state *RepositoryIamMemberState, opts ...ResourceOption) (*RepositoryIamMember, error)
    public static RepositoryIamMember Get(string name, Input<string> id, RepositoryIamMemberState? state, CustomResourceOptions? opts = null)
    public static RepositoryIamMember get(String name, Output<String> id, RepositoryIamMemberState 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

    RepositoryIamMemberCondition, RepositoryIamMemberConditionArgs

    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 v8.9.3 published on Monday, Nov 18, 2024 by Pulumi