1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. apphub
  5. Boundary
Google Cloud v9.10.0 published on Friday, Jan 16, 2026 by Pulumi
gcp logo
Google Cloud v9.10.0 published on Friday, Jan 16, 2026 by Pulumi

    Application management boundary.

    To get more information about Boundary, see:

    Example Usage

    Apphub Boundary Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const example = new gcp.apphub.Boundary("example", {
        location: "global",
        crmNode: "projects/1111111111111",
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    example = gcp.apphub.Boundary("example",
        location="global",
        crm_node="projects/1111111111111")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/apphub"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := apphub.NewBoundary(ctx, "example", &apphub.BoundaryArgs{
    			Location: pulumi.String("global"),
    			CrmNode:  pulumi.String("projects/1111111111111"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Gcp.Apphub.Boundary("example", new()
        {
            Location = "global",
            CrmNode = "projects/1111111111111",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.apphub.Boundary;
    import com.pulumi.gcp.apphub.BoundaryArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new Boundary("example", BoundaryArgs.builder()
                .location("global")
                .crmNode("projects/1111111111111")
                .build());
    
        }
    }
    
    resources:
      example:
        type: gcp:apphub:Boundary
        properties:
          location: global
          crmNode: projects/1111111111111
    

    Create Boundary Resource

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

    Constructor syntax

    new Boundary(name: string, args: BoundaryArgs, opts?: CustomResourceOptions);
    @overload
    def Boundary(resource_name: str,
                 args: BoundaryArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Boundary(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 location: Optional[str] = None,
                 crm_node: Optional[str] = None,
                 project: Optional[str] = None)
    func NewBoundary(ctx *Context, name string, args BoundaryArgs, opts ...ResourceOption) (*Boundary, error)
    public Boundary(string name, BoundaryArgs args, CustomResourceOptions? opts = null)
    public Boundary(String name, BoundaryArgs args)
    public Boundary(String name, BoundaryArgs args, CustomResourceOptions options)
    
    type: gcp:apphub:Boundary
    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 BoundaryArgs
    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 BoundaryArgs
    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 BoundaryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BoundaryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BoundaryArgs
    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 boundaryResource = new Gcp.Apphub.Boundary("boundaryResource", new()
    {
        Location = "string",
        CrmNode = "string",
        Project = "string",
    });
    
    example, err := apphub.NewBoundary(ctx, "boundaryResource", &apphub.BoundaryArgs{
    	Location: pulumi.String("string"),
    	CrmNode:  pulumi.String("string"),
    	Project:  pulumi.String("string"),
    })
    
    var boundaryResource = new Boundary("boundaryResource", BoundaryArgs.builder()
        .location("string")
        .crmNode("string")
        .project("string")
        .build());
    
    boundary_resource = gcp.apphub.Boundary("boundaryResource",
        location="string",
        crm_node="string",
        project="string")
    
    const boundaryResource = new gcp.apphub.Boundary("boundaryResource", {
        location: "string",
        crmNode: "string",
        project: "string",
    });
    
    type: gcp:apphub:Boundary
    properties:
        crmNode: string
        location: string
        project: string
    

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

    Location string
    The location for the Boundary resource. Must be global.
    CrmNode string
    Optional. The resource name of the CRM node being attached to the boundary. Format: projects/{project-number}
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    Location string
    The location for the Boundary resource. Must be global.
    CrmNode string
    Optional. The resource name of the CRM node being attached to the boundary. Format: projects/{project-number}
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    location String
    The location for the Boundary resource. Must be global.
    crmNode String
    Optional. The resource name of the CRM node being attached to the boundary. Format: projects/{project-number}
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    location string
    The location for the Boundary resource. Must be global.
    crmNode string
    Optional. The resource name of the CRM node being attached to the boundary. Format: projects/{project-number}
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    location str
    The location for the Boundary resource. Must be global.
    crm_node str
    Optional. The resource name of the CRM node being attached to the boundary. Format: projects/{project-number}
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    location String
    The location for the Boundary resource. Must be global.
    crmNode String
    Optional. The resource name of the CRM node being attached to the boundary. Format: projects/{project-number}
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    Outputs

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

    CreateTime string
    Create time.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Identifier. The resource name of the boundary. Format: "projects/{project}/locations/{{location}}/boundary"
    Type string
    Boundary type.
    UpdateTime string
    Update time.
    CreateTime string
    Create time.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Identifier. The resource name of the boundary. Format: "projects/{project}/locations/{{location}}/boundary"
    Type string
    Boundary type.
    UpdateTime string
    Update time.
    createTime String
    Create time.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Identifier. The resource name of the boundary. Format: "projects/{project}/locations/{{location}}/boundary"
    type String
    Boundary type.
    updateTime String
    Update time.
    createTime string
    Create time.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Identifier. The resource name of the boundary. Format: "projects/{project}/locations/{{location}}/boundary"
    type string
    Boundary type.
    updateTime string
    Update time.
    create_time str
    Create time.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Identifier. The resource name of the boundary. Format: "projects/{project}/locations/{{location}}/boundary"
    type str
    Boundary type.
    update_time str
    Update time.
    createTime String
    Create time.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Identifier. The resource name of the boundary. Format: "projects/{project}/locations/{{location}}/boundary"
    type String
    Boundary type.
    updateTime String
    Update time.

    Look up Existing Boundary Resource

    Get an existing Boundary 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?: BoundaryState, opts?: CustomResourceOptions): Boundary
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_time: Optional[str] = None,
            crm_node: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            type: Optional[str] = None,
            update_time: Optional[str] = None) -> Boundary
    func GetBoundary(ctx *Context, name string, id IDInput, state *BoundaryState, opts ...ResourceOption) (*Boundary, error)
    public static Boundary Get(string name, Input<string> id, BoundaryState? state, CustomResourceOptions? opts = null)
    public static Boundary get(String name, Output<String> id, BoundaryState state, CustomResourceOptions options)
    resources:  _:    type: gcp:apphub:Boundary    get:      id: ${id}
    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:
    CreateTime string
    Create time.
    CrmNode string
    Optional. The resource name of the CRM node being attached to the boundary. Format: projects/{project-number}
    Location string
    The location for the Boundary resource. Must be global.
    Name string
    Identifier. The resource name of the boundary. Format: "projects/{project}/locations/{{location}}/boundary"
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    Type string
    Boundary type.
    UpdateTime string
    Update time.
    CreateTime string
    Create time.
    CrmNode string
    Optional. The resource name of the CRM node being attached to the boundary. Format: projects/{project-number}
    Location string
    The location for the Boundary resource. Must be global.
    Name string
    Identifier. The resource name of the boundary. Format: "projects/{project}/locations/{{location}}/boundary"
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    Type string
    Boundary type.
    UpdateTime string
    Update time.
    createTime String
    Create time.
    crmNode String
    Optional. The resource name of the CRM node being attached to the boundary. Format: projects/{project-number}
    location String
    The location for the Boundary resource. Must be global.
    name String
    Identifier. The resource name of the boundary. Format: "projects/{project}/locations/{{location}}/boundary"
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    type String
    Boundary type.
    updateTime String
    Update time.
    createTime string
    Create time.
    crmNode string
    Optional. The resource name of the CRM node being attached to the boundary. Format: projects/{project-number}
    location string
    The location for the Boundary resource. Must be global.
    name string
    Identifier. The resource name of the boundary. Format: "projects/{project}/locations/{{location}}/boundary"
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    type string
    Boundary type.
    updateTime string
    Update time.
    create_time str
    Create time.
    crm_node str
    Optional. The resource name of the CRM node being attached to the boundary. Format: projects/{project-number}
    location str
    The location for the Boundary resource. Must be global.
    name str
    Identifier. The resource name of the boundary. Format: "projects/{project}/locations/{{location}}/boundary"
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    type str
    Boundary type.
    update_time str
    Update time.
    createTime String
    Create time.
    crmNode String
    Optional. The resource name of the CRM node being attached to the boundary. Format: projects/{project-number}
    location String
    The location for the Boundary resource. Must be global.
    name String
    Identifier. The resource name of the boundary. Format: "projects/{project}/locations/{{location}}/boundary"
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    type String
    Boundary type.
    updateTime String
    Update time.

    Import

    Boundary can be imported using any of these accepted formats:

    • projects/{{project}}/locations/{{location}}/boundary

    • {{project}}/{{location}}

    • {{location}}

    When using the pulumi import command, Boundary can be imported using one of the formats above. For example:

    $ pulumi import gcp:apphub/boundary:Boundary default projects/{{project}}/locations/{{location}}/boundary
    
    $ pulumi import gcp:apphub/boundary:Boundary default {{project}}/{{location}}
    
    $ pulumi import gcp:apphub/boundary:Boundary default {{location}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    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 v9.10.0 published on Friday, Jan 16, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate