gcp.networksecurity.InterceptEndpointGroupAssociation
Explore with Pulumi AI
Example Usage
Network Security Intercept Endpoint Group Association Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const producerNetwork = new gcp.compute.Network("producer_network", {
    name: "example-prod-network",
    autoCreateSubnetworks: false,
});
const consumerNetwork = new gcp.compute.Network("consumer_network", {
    name: "example-cons-network",
    autoCreateSubnetworks: false,
});
const deploymentGroup = new gcp.networksecurity.InterceptDeploymentGroup("deployment_group", {
    interceptDeploymentGroupId: "example-dg",
    location: "global",
    network: producerNetwork.id,
});
const endpointGroup = new gcp.networksecurity.InterceptEndpointGroup("endpoint_group", {
    interceptEndpointGroupId: "example-eg",
    location: "global",
    interceptDeploymentGroup: deploymentGroup.id,
});
const _default = new gcp.networksecurity.InterceptEndpointGroupAssociation("default", {
    interceptEndpointGroupAssociationId: "example-ega",
    location: "global",
    network: consumerNetwork.id,
    interceptEndpointGroup: endpointGroup.id,
    labels: {
        foo: "bar",
    },
});
import pulumi
import pulumi_gcp as gcp
producer_network = gcp.compute.Network("producer_network",
    name="example-prod-network",
    auto_create_subnetworks=False)
consumer_network = gcp.compute.Network("consumer_network",
    name="example-cons-network",
    auto_create_subnetworks=False)
deployment_group = gcp.networksecurity.InterceptDeploymentGroup("deployment_group",
    intercept_deployment_group_id="example-dg",
    location="global",
    network=producer_network.id)
endpoint_group = gcp.networksecurity.InterceptEndpointGroup("endpoint_group",
    intercept_endpoint_group_id="example-eg",
    location="global",
    intercept_deployment_group=deployment_group.id)
default = gcp.networksecurity.InterceptEndpointGroupAssociation("default",
    intercept_endpoint_group_association_id="example-ega",
    location="global",
    network=consumer_network.id,
    intercept_endpoint_group=endpoint_group.id,
    labels={
        "foo": "bar",
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networksecurity"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		producerNetwork, err := compute.NewNetwork(ctx, "producer_network", &compute.NetworkArgs{
			Name:                  pulumi.String("example-prod-network"),
			AutoCreateSubnetworks: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		consumerNetwork, err := compute.NewNetwork(ctx, "consumer_network", &compute.NetworkArgs{
			Name:                  pulumi.String("example-cons-network"),
			AutoCreateSubnetworks: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		deploymentGroup, err := networksecurity.NewInterceptDeploymentGroup(ctx, "deployment_group", &networksecurity.InterceptDeploymentGroupArgs{
			InterceptDeploymentGroupId: pulumi.String("example-dg"),
			Location:                   pulumi.String("global"),
			Network:                    producerNetwork.ID(),
		})
		if err != nil {
			return err
		}
		endpointGroup, err := networksecurity.NewInterceptEndpointGroup(ctx, "endpoint_group", &networksecurity.InterceptEndpointGroupArgs{
			InterceptEndpointGroupId: pulumi.String("example-eg"),
			Location:                 pulumi.String("global"),
			InterceptDeploymentGroup: deploymentGroup.ID(),
		})
		if err != nil {
			return err
		}
		_, err = networksecurity.NewInterceptEndpointGroupAssociation(ctx, "default", &networksecurity.InterceptEndpointGroupAssociationArgs{
			InterceptEndpointGroupAssociationId: pulumi.String("example-ega"),
			Location:                            pulumi.String("global"),
			Network:                             consumerNetwork.ID(),
			InterceptEndpointGroup:              endpointGroup.ID(),
			Labels: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
		})
		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 producerNetwork = new Gcp.Compute.Network("producer_network", new()
    {
        Name = "example-prod-network",
        AutoCreateSubnetworks = false,
    });
    var consumerNetwork = new Gcp.Compute.Network("consumer_network", new()
    {
        Name = "example-cons-network",
        AutoCreateSubnetworks = false,
    });
    var deploymentGroup = new Gcp.NetworkSecurity.InterceptDeploymentGroup("deployment_group", new()
    {
        InterceptDeploymentGroupId = "example-dg",
        Location = "global",
        Network = producerNetwork.Id,
    });
    var endpointGroup = new Gcp.NetworkSecurity.InterceptEndpointGroup("endpoint_group", new()
    {
        InterceptEndpointGroupId = "example-eg",
        Location = "global",
        InterceptDeploymentGroup = deploymentGroup.Id,
    });
    var @default = new Gcp.NetworkSecurity.InterceptEndpointGroupAssociation("default", new()
    {
        InterceptEndpointGroupAssociationId = "example-ega",
        Location = "global",
        Network = consumerNetwork.Id,
        InterceptEndpointGroup = endpointGroup.Id,
        Labels = 
        {
            { "foo", "bar" },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.Network;
import com.pulumi.gcp.compute.NetworkArgs;
import com.pulumi.gcp.networksecurity.InterceptDeploymentGroup;
import com.pulumi.gcp.networksecurity.InterceptDeploymentGroupArgs;
import com.pulumi.gcp.networksecurity.InterceptEndpointGroup;
import com.pulumi.gcp.networksecurity.InterceptEndpointGroupArgs;
import com.pulumi.gcp.networksecurity.InterceptEndpointGroupAssociation;
import com.pulumi.gcp.networksecurity.InterceptEndpointGroupAssociationArgs;
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 producerNetwork = new Network("producerNetwork", NetworkArgs.builder()
            .name("example-prod-network")
            .autoCreateSubnetworks(false)
            .build());
        var consumerNetwork = new Network("consumerNetwork", NetworkArgs.builder()
            .name("example-cons-network")
            .autoCreateSubnetworks(false)
            .build());
        var deploymentGroup = new InterceptDeploymentGroup("deploymentGroup", InterceptDeploymentGroupArgs.builder()
            .interceptDeploymentGroupId("example-dg")
            .location("global")
            .network(producerNetwork.id())
            .build());
        var endpointGroup = new InterceptEndpointGroup("endpointGroup", InterceptEndpointGroupArgs.builder()
            .interceptEndpointGroupId("example-eg")
            .location("global")
            .interceptDeploymentGroup(deploymentGroup.id())
            .build());
        var default_ = new InterceptEndpointGroupAssociation("default", InterceptEndpointGroupAssociationArgs.builder()
            .interceptEndpointGroupAssociationId("example-ega")
            .location("global")
            .network(consumerNetwork.id())
            .interceptEndpointGroup(endpointGroup.id())
            .labels(Map.of("foo", "bar"))
            .build());
    }
}
resources:
  producerNetwork:
    type: gcp:compute:Network
    name: producer_network
    properties:
      name: example-prod-network
      autoCreateSubnetworks: false
  consumerNetwork:
    type: gcp:compute:Network
    name: consumer_network
    properties:
      name: example-cons-network
      autoCreateSubnetworks: false
  deploymentGroup:
    type: gcp:networksecurity:InterceptDeploymentGroup
    name: deployment_group
    properties:
      interceptDeploymentGroupId: example-dg
      location: global
      network: ${producerNetwork.id}
  endpointGroup:
    type: gcp:networksecurity:InterceptEndpointGroup
    name: endpoint_group
    properties:
      interceptEndpointGroupId: example-eg
      location: global
      interceptDeploymentGroup: ${deploymentGroup.id}
  default:
    type: gcp:networksecurity:InterceptEndpointGroupAssociation
    properties:
      interceptEndpointGroupAssociationId: example-ega
      location: global
      network: ${consumerNetwork.id}
      interceptEndpointGroup: ${endpointGroup.id}
      labels:
        foo: bar
Create InterceptEndpointGroupAssociation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InterceptEndpointGroupAssociation(name: string, args: InterceptEndpointGroupAssociationArgs, opts?: CustomResourceOptions);@overload
def InterceptEndpointGroupAssociation(resource_name: str,
                                      args: InterceptEndpointGroupAssociationArgs,
                                      opts: Optional[ResourceOptions] = None)
@overload
def InterceptEndpointGroupAssociation(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      intercept_endpoint_group: Optional[str] = None,
                                      location: Optional[str] = None,
                                      network: Optional[str] = None,
                                      intercept_endpoint_group_association_id: Optional[str] = None,
                                      labels: Optional[Mapping[str, str]] = None,
                                      project: Optional[str] = None)func NewInterceptEndpointGroupAssociation(ctx *Context, name string, args InterceptEndpointGroupAssociationArgs, opts ...ResourceOption) (*InterceptEndpointGroupAssociation, error)public InterceptEndpointGroupAssociation(string name, InterceptEndpointGroupAssociationArgs args, CustomResourceOptions? opts = null)
public InterceptEndpointGroupAssociation(String name, InterceptEndpointGroupAssociationArgs args)
public InterceptEndpointGroupAssociation(String name, InterceptEndpointGroupAssociationArgs args, CustomResourceOptions options)
type: gcp:networksecurity:InterceptEndpointGroupAssociation
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 InterceptEndpointGroupAssociationArgs
- 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 InterceptEndpointGroupAssociationArgs
- 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 InterceptEndpointGroupAssociationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InterceptEndpointGroupAssociationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InterceptEndpointGroupAssociationArgs
- 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 interceptEndpointGroupAssociationResource = new Gcp.NetworkSecurity.InterceptEndpointGroupAssociation("interceptEndpointGroupAssociationResource", new()
{
    InterceptEndpointGroup = "string",
    Location = "string",
    Network = "string",
    InterceptEndpointGroupAssociationId = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Project = "string",
});
example, err := networksecurity.NewInterceptEndpointGroupAssociation(ctx, "interceptEndpointGroupAssociationResource", &networksecurity.InterceptEndpointGroupAssociationArgs{
	InterceptEndpointGroup:              pulumi.String("string"),
	Location:                            pulumi.String("string"),
	Network:                             pulumi.String("string"),
	InterceptEndpointGroupAssociationId: pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Project: pulumi.String("string"),
})
var interceptEndpointGroupAssociationResource = new InterceptEndpointGroupAssociation("interceptEndpointGroupAssociationResource", InterceptEndpointGroupAssociationArgs.builder()
    .interceptEndpointGroup("string")
    .location("string")
    .network("string")
    .interceptEndpointGroupAssociationId("string")
    .labels(Map.of("string", "string"))
    .project("string")
    .build());
intercept_endpoint_group_association_resource = gcp.networksecurity.InterceptEndpointGroupAssociation("interceptEndpointGroupAssociationResource",
    intercept_endpoint_group="string",
    location="string",
    network="string",
    intercept_endpoint_group_association_id="string",
    labels={
        "string": "string",
    },
    project="string")
const interceptEndpointGroupAssociationResource = new gcp.networksecurity.InterceptEndpointGroupAssociation("interceptEndpointGroupAssociationResource", {
    interceptEndpointGroup: "string",
    location: "string",
    network: "string",
    interceptEndpointGroupAssociationId: "string",
    labels: {
        string: "string",
    },
    project: "string",
});
type: gcp:networksecurity:InterceptEndpointGroupAssociation
properties:
    interceptEndpointGroup: string
    interceptEndpointGroupAssociationId: string
    labels:
        string: string
    location: string
    network: string
    project: string
InterceptEndpointGroupAssociation 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 InterceptEndpointGroupAssociation resource accepts the following input properties:
- InterceptEndpoint stringGroup 
- Immutable. The Intercept Endpoint Group that this resource is connected to. Format
is:
projects/{project}/locations/global/interceptEndpointGroups/{interceptEndpointGroup}.
- Location string
- The location of the Intercept Endpoint Group Association, currently restricted to global.
- Network string
- Immutable. The VPC network associated. Format:
projects/{project}/global/networks/{network}.
- InterceptEndpoint stringGroup Association Id 
- ID of the Intercept Endpoint Group Association.
- Labels Dictionary<string, string>
- Optional. Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- InterceptEndpoint stringGroup 
- Immutable. The Intercept Endpoint Group that this resource is connected to. Format
is:
projects/{project}/locations/global/interceptEndpointGroups/{interceptEndpointGroup}.
- Location string
- The location of the Intercept Endpoint Group Association, currently restricted to global.
- Network string
- Immutable. The VPC network associated. Format:
projects/{project}/global/networks/{network}.
- InterceptEndpoint stringGroup Association Id 
- ID of the Intercept Endpoint Group Association.
- Labels map[string]string
- Optional. Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- interceptEndpoint StringGroup 
- Immutable. The Intercept Endpoint Group that this resource is connected to. Format
is:
projects/{project}/locations/global/interceptEndpointGroups/{interceptEndpointGroup}.
- location String
- The location of the Intercept Endpoint Group Association, currently restricted to global.
- network String
- Immutable. The VPC network associated. Format:
projects/{project}/global/networks/{network}.
- interceptEndpoint StringGroup Association Id 
- ID of the Intercept Endpoint Group Association.
- labels Map<String,String>
- Optional. Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- interceptEndpoint stringGroup 
- Immutable. The Intercept Endpoint Group that this resource is connected to. Format
is:
projects/{project}/locations/global/interceptEndpointGroups/{interceptEndpointGroup}.
- location string
- The location of the Intercept Endpoint Group Association, currently restricted to global.
- network string
- Immutable. The VPC network associated. Format:
projects/{project}/global/networks/{network}.
- interceptEndpoint stringGroup Association Id 
- ID of the Intercept Endpoint Group Association.
- labels {[key: string]: string}
- Optional. Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- intercept_endpoint_ strgroup 
- Immutable. The Intercept Endpoint Group that this resource is connected to. Format
is:
projects/{project}/locations/global/interceptEndpointGroups/{interceptEndpointGroup}.
- location str
- The location of the Intercept Endpoint Group Association, currently restricted to global.
- network str
- Immutable. The VPC network associated. Format:
projects/{project}/global/networks/{network}.
- intercept_endpoint_ strgroup_ association_ id 
- ID of the Intercept Endpoint Group Association.
- labels Mapping[str, str]
- Optional. Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- interceptEndpoint StringGroup 
- Immutable. The Intercept Endpoint Group that this resource is connected to. Format
is:
projects/{project}/locations/global/interceptEndpointGroups/{interceptEndpointGroup}.
- location String
- The location of the Intercept Endpoint Group Association, currently restricted to global.
- network String
- Immutable. The VPC network associated. Format:
projects/{project}/global/networks/{network}.
- interceptEndpoint StringGroup Association Id 
- ID of the Intercept Endpoint Group Association.
- labels Map<String>
- Optional. Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- 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 InterceptEndpointGroupAssociation resource produces the following output properties:
- CreateTime string
- Create time stamp.
- EffectiveLabels Dictionary<string, string>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Id string
- The provider-assigned unique ID for this managed resource.
- LocationsDetails List<InterceptEndpoint Group Association Locations Detail> 
- The list of locations that are currently supported by the associated Intercept Deployment Group and their state. Structure is documented below.
- Name string
- Identifier. The name of the Intercept Endpoint Group Association.
- PulumiLabels Dictionary<string, string>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- Reconciling bool
- Whether reconciling is in progress.
- State string
- (Output) The association state in this location. Possible values: STATE_UNSPECIFIED ACTIVE OUT_OF_SYNC
- UpdateTime string
- Update time stamp.
- CreateTime string
- Create time stamp.
- EffectiveLabels map[string]string
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Id string
- The provider-assigned unique ID for this managed resource.
- LocationsDetails []InterceptEndpoint Group Association Locations Detail 
- The list of locations that are currently supported by the associated Intercept Deployment Group and their state. Structure is documented below.
- Name string
- Identifier. The name of the Intercept Endpoint Group Association.
- PulumiLabels map[string]string
- The combination of labels configured directly on the resource and default labels configured on the provider.
- Reconciling bool
- Whether reconciling is in progress.
- State string
- (Output) The association state in this location. Possible values: STATE_UNSPECIFIED ACTIVE OUT_OF_SYNC
- UpdateTime string
- Update time stamp.
- createTime String
- Create time stamp.
- effectiveLabels Map<String,String>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id String
- The provider-assigned unique ID for this managed resource.
- locationsDetails List<InterceptEndpoint Group Association Locations Detail> 
- The list of locations that are currently supported by the associated Intercept Deployment Group and their state. Structure is documented below.
- name String
- Identifier. The name of the Intercept Endpoint Group Association.
- pulumiLabels Map<String,String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling Boolean
- Whether reconciling is in progress.
- state String
- (Output) The association state in this location. Possible values: STATE_UNSPECIFIED ACTIVE OUT_OF_SYNC
- updateTime String
- Update time stamp.
- createTime string
- Create time stamp.
- effectiveLabels {[key: string]: string}
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id string
- The provider-assigned unique ID for this managed resource.
- locationsDetails InterceptEndpoint Group Association Locations Detail[] 
- The list of locations that are currently supported by the associated Intercept Deployment Group and their state. Structure is documented below.
- name string
- Identifier. The name of the Intercept Endpoint Group Association.
- pulumiLabels {[key: string]: string}
- The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling boolean
- Whether reconciling is in progress.
- state string
- (Output) The association state in this location. Possible values: STATE_UNSPECIFIED ACTIVE OUT_OF_SYNC
- updateTime string
- Update time stamp.
- create_time str
- Create time stamp.
- effective_labels Mapping[str, str]
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id str
- The provider-assigned unique ID for this managed resource.
- locations_details Sequence[InterceptEndpoint Group Association Locations Detail] 
- The list of locations that are currently supported by the associated Intercept Deployment Group and their state. Structure is documented below.
- name str
- Identifier. The name of the Intercept Endpoint Group Association.
- pulumi_labels Mapping[str, str]
- The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling bool
- Whether reconciling is in progress.
- state str
- (Output) The association state in this location. Possible values: STATE_UNSPECIFIED ACTIVE OUT_OF_SYNC
- update_time str
- Update time stamp.
- createTime String
- Create time stamp.
- effectiveLabels Map<String>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id String
- The provider-assigned unique ID for this managed resource.
- locationsDetails List<Property Map>
- The list of locations that are currently supported by the associated Intercept Deployment Group and their state. Structure is documented below.
- name String
- Identifier. The name of the Intercept Endpoint Group Association.
- pulumiLabels Map<String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling Boolean
- Whether reconciling is in progress.
- state String
- (Output) The association state in this location. Possible values: STATE_UNSPECIFIED ACTIVE OUT_OF_SYNC
- updateTime String
- Update time stamp.
Look up Existing InterceptEndpointGroupAssociation Resource
Get an existing InterceptEndpointGroupAssociation 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?: InterceptEndpointGroupAssociationState, opts?: CustomResourceOptions): InterceptEndpointGroupAssociation@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        create_time: Optional[str] = None,
        effective_labels: Optional[Mapping[str, str]] = None,
        intercept_endpoint_group: Optional[str] = None,
        intercept_endpoint_group_association_id: Optional[str] = None,
        labels: Optional[Mapping[str, str]] = None,
        location: Optional[str] = None,
        locations_details: Optional[Sequence[InterceptEndpointGroupAssociationLocationsDetailArgs]] = None,
        name: Optional[str] = None,
        network: Optional[str] = None,
        project: Optional[str] = None,
        pulumi_labels: Optional[Mapping[str, str]] = None,
        reconciling: Optional[bool] = None,
        state: Optional[str] = None,
        update_time: Optional[str] = None) -> InterceptEndpointGroupAssociationfunc GetInterceptEndpointGroupAssociation(ctx *Context, name string, id IDInput, state *InterceptEndpointGroupAssociationState, opts ...ResourceOption) (*InterceptEndpointGroupAssociation, error)public static InterceptEndpointGroupAssociation Get(string name, Input<string> id, InterceptEndpointGroupAssociationState? state, CustomResourceOptions? opts = null)public static InterceptEndpointGroupAssociation get(String name, Output<String> id, InterceptEndpointGroupAssociationState state, CustomResourceOptions options)resources:  _:    type: gcp:networksecurity:InterceptEndpointGroupAssociation    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.
- CreateTime string
- Create time stamp.
- EffectiveLabels Dictionary<string, string>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- InterceptEndpoint stringGroup 
- Immutable. The Intercept Endpoint Group that this resource is connected to. Format
is:
projects/{project}/locations/global/interceptEndpointGroups/{interceptEndpointGroup}.
- InterceptEndpoint stringGroup Association Id 
- ID of the Intercept Endpoint Group Association.
- Labels Dictionary<string, string>
- Optional. Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- Location string
- The location of the Intercept Endpoint Group Association, currently restricted to global.
- LocationsDetails List<InterceptEndpoint Group Association Locations Detail> 
- The list of locations that are currently supported by the associated Intercept Deployment Group and their state. Structure is documented below.
- Name string
- Identifier. The name of the Intercept Endpoint Group Association.
- Network string
- Immutable. The VPC network associated. Format:
projects/{project}/global/networks/{network}.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- PulumiLabels Dictionary<string, string>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- Reconciling bool
- Whether reconciling is in progress.
- State string
- (Output) The association state in this location. Possible values: STATE_UNSPECIFIED ACTIVE OUT_OF_SYNC
- UpdateTime string
- Update time stamp.
- CreateTime string
- Create time stamp.
- EffectiveLabels map[string]string
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- InterceptEndpoint stringGroup 
- Immutable. The Intercept Endpoint Group that this resource is connected to. Format
is:
projects/{project}/locations/global/interceptEndpointGroups/{interceptEndpointGroup}.
- InterceptEndpoint stringGroup Association Id 
- ID of the Intercept Endpoint Group Association.
- Labels map[string]string
- Optional. Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- Location string
- The location of the Intercept Endpoint Group Association, currently restricted to global.
- LocationsDetails []InterceptEndpoint Group Association Locations Detail Args 
- The list of locations that are currently supported by the associated Intercept Deployment Group and their state. Structure is documented below.
- Name string
- Identifier. The name of the Intercept Endpoint Group Association.
- Network string
- Immutable. The VPC network associated. Format:
projects/{project}/global/networks/{network}.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- PulumiLabels map[string]string
- The combination of labels configured directly on the resource and default labels configured on the provider.
- Reconciling bool
- Whether reconciling is in progress.
- State string
- (Output) The association state in this location. Possible values: STATE_UNSPECIFIED ACTIVE OUT_OF_SYNC
- UpdateTime string
- Update time stamp.
- createTime String
- Create time stamp.
- effectiveLabels Map<String,String>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- interceptEndpoint StringGroup 
- Immutable. The Intercept Endpoint Group that this resource is connected to. Format
is:
projects/{project}/locations/global/interceptEndpointGroups/{interceptEndpointGroup}.
- interceptEndpoint StringGroup Association Id 
- ID of the Intercept Endpoint Group Association.
- labels Map<String,String>
- Optional. Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- location String
- The location of the Intercept Endpoint Group Association, currently restricted to global.
- locationsDetails List<InterceptEndpoint Group Association Locations Detail> 
- The list of locations that are currently supported by the associated Intercept Deployment Group and their state. Structure is documented below.
- name String
- Identifier. The name of the Intercept Endpoint Group Association.
- network String
- Immutable. The VPC network associated. Format:
projects/{project}/global/networks/{network}.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumiLabels Map<String,String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling Boolean
- Whether reconciling is in progress.
- state String
- (Output) The association state in this location. Possible values: STATE_UNSPECIFIED ACTIVE OUT_OF_SYNC
- updateTime String
- Update time stamp.
- createTime string
- Create time stamp.
- effectiveLabels {[key: string]: string}
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- interceptEndpoint stringGroup 
- Immutable. The Intercept Endpoint Group that this resource is connected to. Format
is:
projects/{project}/locations/global/interceptEndpointGroups/{interceptEndpointGroup}.
- interceptEndpoint stringGroup Association Id 
- ID of the Intercept Endpoint Group Association.
- labels {[key: string]: string}
- Optional. Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- location string
- The location of the Intercept Endpoint Group Association, currently restricted to global.
- locationsDetails InterceptEndpoint Group Association Locations Detail[] 
- The list of locations that are currently supported by the associated Intercept Deployment Group and their state. Structure is documented below.
- name string
- Identifier. The name of the Intercept Endpoint Group Association.
- network string
- Immutable. The VPC network associated. Format:
projects/{project}/global/networks/{network}.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumiLabels {[key: string]: string}
- The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling boolean
- Whether reconciling is in progress.
- state string
- (Output) The association state in this location. Possible values: STATE_UNSPECIFIED ACTIVE OUT_OF_SYNC
- updateTime string
- Update time stamp.
- create_time str
- Create time stamp.
- effective_labels Mapping[str, str]
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- intercept_endpoint_ strgroup 
- Immutable. The Intercept Endpoint Group that this resource is connected to. Format
is:
projects/{project}/locations/global/interceptEndpointGroups/{interceptEndpointGroup}.
- intercept_endpoint_ strgroup_ association_ id 
- ID of the Intercept Endpoint Group Association.
- labels Mapping[str, str]
- Optional. Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- location str
- The location of the Intercept Endpoint Group Association, currently restricted to global.
- locations_details Sequence[InterceptEndpoint Group Association Locations Detail Args] 
- The list of locations that are currently supported by the associated Intercept Deployment Group and their state. Structure is documented below.
- name str
- Identifier. The name of the Intercept Endpoint Group Association.
- network str
- Immutable. The VPC network associated. Format:
projects/{project}/global/networks/{network}.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi_labels Mapping[str, str]
- The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling bool
- Whether reconciling is in progress.
- state str
- (Output) The association state in this location. Possible values: STATE_UNSPECIFIED ACTIVE OUT_OF_SYNC
- update_time str
- Update time stamp.
- createTime String
- Create time stamp.
- effectiveLabels Map<String>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- interceptEndpoint StringGroup 
- Immutable. The Intercept Endpoint Group that this resource is connected to. Format
is:
projects/{project}/locations/global/interceptEndpointGroups/{interceptEndpointGroup}.
- interceptEndpoint StringGroup Association Id 
- ID of the Intercept Endpoint Group Association.
- labels Map<String>
- Optional. Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- location String
- The location of the Intercept Endpoint Group Association, currently restricted to global.
- locationsDetails List<Property Map>
- The list of locations that are currently supported by the associated Intercept Deployment Group and their state. Structure is documented below.
- name String
- Identifier. The name of the Intercept Endpoint Group Association.
- network String
- Immutable. The VPC network associated. Format:
projects/{project}/global/networks/{network}.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumiLabels Map<String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling Boolean
- Whether reconciling is in progress.
- state String
- (Output) The association state in this location. Possible values: STATE_UNSPECIFIED ACTIVE OUT_OF_SYNC
- updateTime String
- Update time stamp.
Supporting Types
InterceptEndpointGroupAssociationLocationsDetail, InterceptEndpointGroupAssociationLocationsDetailArgs            
Import
InterceptEndpointGroupAssociation can be imported using any of these accepted formats:
- projects/{{project}}/locations/{{location}}/interceptEndpointGroupAssociations/{{intercept_endpoint_group_association_id}}
- {{project}}/{{location}}/{{intercept_endpoint_group_association_id}}
- {{location}}/{{intercept_endpoint_group_association_id}}
When using the pulumi import command, InterceptEndpointGroupAssociation can be imported using one of the formats above. For example:
$ pulumi import gcp:networksecurity/interceptEndpointGroupAssociation:InterceptEndpointGroupAssociation default projects/{{project}}/locations/{{location}}/interceptEndpointGroupAssociations/{{intercept_endpoint_group_association_id}}
$ pulumi import gcp:networksecurity/interceptEndpointGroupAssociation:InterceptEndpointGroupAssociation default {{project}}/{{location}}/{{intercept_endpoint_group_association_id}}
$ pulumi import gcp:networksecurity/interceptEndpointGroupAssociation:InterceptEndpointGroupAssociation default {{location}}/{{intercept_endpoint_group_association_id}}
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.