1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. clouddeploy
  5. DeliveryPipelineIamPolicy
Google Cloud Classic v8.10.0 published on Wednesday, Nov 20, 2024 by Pulumi

gcp.clouddeploy.DeliveryPipelineIamPolicy

Explore with Pulumi AI

gcp logo
Google Cloud Classic v8.10.0 published on Wednesday, Nov 20, 2024 by Pulumi

    Create DeliveryPipelineIamPolicy Resource

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

    Constructor syntax

    new DeliveryPipelineIamPolicy(name: string, args: DeliveryPipelineIamPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def DeliveryPipelineIamPolicy(resource_name: str,
                                  args: DeliveryPipelineIamPolicyArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def DeliveryPipelineIamPolicy(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  policy_data: Optional[str] = None,
                                  location: Optional[str] = None,
                                  name: Optional[str] = None,
                                  project: Optional[str] = None)
    func NewDeliveryPipelineIamPolicy(ctx *Context, name string, args DeliveryPipelineIamPolicyArgs, opts ...ResourceOption) (*DeliveryPipelineIamPolicy, error)
    public DeliveryPipelineIamPolicy(string name, DeliveryPipelineIamPolicyArgs args, CustomResourceOptions? opts = null)
    public DeliveryPipelineIamPolicy(String name, DeliveryPipelineIamPolicyArgs args)
    public DeliveryPipelineIamPolicy(String name, DeliveryPipelineIamPolicyArgs args, CustomResourceOptions options)
    
    type: gcp:clouddeploy:DeliveryPipelineIamPolicy
    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 DeliveryPipelineIamPolicyArgs
    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 DeliveryPipelineIamPolicyArgs
    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 DeliveryPipelineIamPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DeliveryPipelineIamPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DeliveryPipelineIamPolicyArgs
    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 deliveryPipelineIamPolicyResource = new Gcp.CloudDeploy.DeliveryPipelineIamPolicy("deliveryPipelineIamPolicyResource", new()
    {
        PolicyData = "string",
        Location = "string",
        Name = "string",
        Project = "string",
    });
    
    example, err := clouddeploy.NewDeliveryPipelineIamPolicy(ctx, "deliveryPipelineIamPolicyResource", &clouddeploy.DeliveryPipelineIamPolicyArgs{
    	PolicyData: pulumi.String("string"),
    	Location:   pulumi.String("string"),
    	Name:       pulumi.String("string"),
    	Project:    pulumi.String("string"),
    })
    
    var deliveryPipelineIamPolicyResource = new DeliveryPipelineIamPolicy("deliveryPipelineIamPolicyResource", DeliveryPipelineIamPolicyArgs.builder()
        .policyData("string")
        .location("string")
        .name("string")
        .project("string")
        .build());
    
    delivery_pipeline_iam_policy_resource = gcp.clouddeploy.DeliveryPipelineIamPolicy("deliveryPipelineIamPolicyResource",
        policy_data="string",
        location="string",
        name="string",
        project="string")
    
    const deliveryPipelineIamPolicyResource = new gcp.clouddeploy.DeliveryPipelineIamPolicy("deliveryPipelineIamPolicyResource", {
        policyData: "string",
        location: "string",
        name: "string",
        project: "string",
    });
    
    type: gcp:clouddeploy:DeliveryPipelineIamPolicy
    properties:
        location: string
        name: string
        policyData: string
        project: string
    

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

    PolicyData string
    Location string
    Name string
    Project string
    PolicyData string
    Location string
    Name string
    Project string
    policyData String
    location String
    name String
    project String
    policyData string
    location string
    name string
    project string
    policyData String
    location String
    name String
    project String

    Outputs

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

    Get an existing DeliveryPipelineIamPolicy 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?: DeliveryPipelineIamPolicyState, opts?: CustomResourceOptions): DeliveryPipelineIamPolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            etag: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            policy_data: Optional[str] = None,
            project: Optional[str] = None) -> DeliveryPipelineIamPolicy
    func GetDeliveryPipelineIamPolicy(ctx *Context, name string, id IDInput, state *DeliveryPipelineIamPolicyState, opts ...ResourceOption) (*DeliveryPipelineIamPolicy, error)
    public static DeliveryPipelineIamPolicy Get(string name, Input<string> id, DeliveryPipelineIamPolicyState? state, CustomResourceOptions? opts = null)
    public static DeliveryPipelineIamPolicy get(String name, Output<String> id, DeliveryPipelineIamPolicyState 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.
    The following state arguments are supported:
    Etag string
    Location string
    Name string
    PolicyData string
    Project string
    Etag string
    Location string
    Name string
    PolicyData string
    Project string
    etag String
    location String
    name String
    policyData String
    project String
    etag string
    location string
    name string
    policyData string
    project string
    etag String
    location String
    name String
    policyData String
    project 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.10.0 published on Wednesday, Nov 20, 2024 by Pulumi