Application management boundary.
To get more information about Boundary, see:
- API documentation
- How-to Guides
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.
- Crm
Node 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.
- Crm
Node 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.
- crm
Node 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.
- crm
Node 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.
- crm
Node 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:
- Create
Time 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.
- Update
Time string - Update time.
- Create
Time 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.
- Update
Time string - Update time.
- create
Time 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.
- update
Time String - Update time.
- create
Time 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.
- update
Time 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.
- create
Time 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.
- update
Time 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) -> Boundaryfunc 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.
- Create
Time string - Create time.
- Crm
Node 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.
- Update
Time string - Update time.
- Create
Time string - Create time.
- Crm
Node 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.
- Update
Time string - Update time.
- create
Time String - Create time.
- crm
Node 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.
- update
Time String - Update time.
- create
Time string - Create time.
- crm
Node 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.
- update
Time 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.
- create
Time String - Create time.
- crm
Node 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.
- update
Time 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-betaTerraform Provider.
