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

gcp.clouddeploy.DeliveryPipelineIamMember

Explore with Pulumi AI

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

    Create DeliveryPipelineIamMember Resource

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

    Constructor syntax

    new DeliveryPipelineIamMember(name: string, args: DeliveryPipelineIamMemberArgs, opts?: CustomResourceOptions);
    @overload
    def DeliveryPipelineIamMember(resource_name: str,
                                  args: DeliveryPipelineIamMemberArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def DeliveryPipelineIamMember(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  member: Optional[str] = None,
                                  role: Optional[str] = None,
                                  condition: Optional[DeliveryPipelineIamMemberConditionArgs] = None,
                                  location: Optional[str] = None,
                                  name: Optional[str] = None,
                                  project: Optional[str] = None)
    func NewDeliveryPipelineIamMember(ctx *Context, name string, args DeliveryPipelineIamMemberArgs, opts ...ResourceOption) (*DeliveryPipelineIamMember, error)
    public DeliveryPipelineIamMember(string name, DeliveryPipelineIamMemberArgs args, CustomResourceOptions? opts = null)
    public DeliveryPipelineIamMember(String name, DeliveryPipelineIamMemberArgs args)
    public DeliveryPipelineIamMember(String name, DeliveryPipelineIamMemberArgs args, CustomResourceOptions options)
    
    type: gcp:clouddeploy:DeliveryPipelineIamMember
    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 DeliveryPipelineIamMemberArgs
    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 DeliveryPipelineIamMemberArgs
    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 DeliveryPipelineIamMemberArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DeliveryPipelineIamMemberArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DeliveryPipelineIamMemberArgs
    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 deliveryPipelineIamMemberResource = new Gcp.CloudDeploy.DeliveryPipelineIamMember("deliveryPipelineIamMemberResource", new()
    {
        Member = "string",
        Role = "string",
        Condition = new Gcp.CloudDeploy.Inputs.DeliveryPipelineIamMemberConditionArgs
        {
            Expression = "string",
            Title = "string",
            Description = "string",
        },
        Location = "string",
        Name = "string",
        Project = "string",
    });
    
    example, err := clouddeploy.NewDeliveryPipelineIamMember(ctx, "deliveryPipelineIamMemberResource", &clouddeploy.DeliveryPipelineIamMemberArgs{
    	Member: pulumi.String("string"),
    	Role:   pulumi.String("string"),
    	Condition: &clouddeploy.DeliveryPipelineIamMemberConditionArgs{
    		Expression:  pulumi.String("string"),
    		Title:       pulumi.String("string"),
    		Description: pulumi.String("string"),
    	},
    	Location: pulumi.String("string"),
    	Name:     pulumi.String("string"),
    	Project:  pulumi.String("string"),
    })
    
    var deliveryPipelineIamMemberResource = new DeliveryPipelineIamMember("deliveryPipelineIamMemberResource", DeliveryPipelineIamMemberArgs.builder()
        .member("string")
        .role("string")
        .condition(DeliveryPipelineIamMemberConditionArgs.builder()
            .expression("string")
            .title("string")
            .description("string")
            .build())
        .location("string")
        .name("string")
        .project("string")
        .build());
    
    delivery_pipeline_iam_member_resource = gcp.clouddeploy.DeliveryPipelineIamMember("deliveryPipelineIamMemberResource",
        member="string",
        role="string",
        condition={
            "expression": "string",
            "title": "string",
            "description": "string",
        },
        location="string",
        name="string",
        project="string")
    
    const deliveryPipelineIamMemberResource = new gcp.clouddeploy.DeliveryPipelineIamMember("deliveryPipelineIamMemberResource", {
        member: "string",
        role: "string",
        condition: {
            expression: "string",
            title: "string",
            description: "string",
        },
        location: "string",
        name: "string",
        project: "string",
    });
    
    type: gcp:clouddeploy:DeliveryPipelineIamMember
    properties:
        condition:
            description: string
            expression: string
            title: string
        location: string
        member: string
        name: string
        project: string
        role: string
    

    DeliveryPipelineIamMember 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 DeliveryPipelineIamMember resource accepts the following input properties:

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

    Outputs

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

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

    DeliveryPipelineIamMemberCondition, DeliveryPipelineIamMemberConditionArgs

    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