gcp.networksecurity.FirewallEndpointAssociation
Explore with Pulumi AI
Firewall endpoint association links a firewall endpoint to a VPC network in the same zone. After you define this association, Cloud Firewall forwards the zonal workload traffic in your VPC network that requires layer 7 inspection to the attached firewall endpoint.
To get more information about FirewallEndpointAssociation, see:
Example Usage
Network Security Firewall Endpoint Association Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const _default = new gcp.networksecurity.FirewallEndpoint("default", {
name: "my-firewall-endpoint",
parent: "organizations/123456789",
location: "us-central1-a",
labels: {
foo: "bar",
},
});
const defaultAssociation = new gcp.networksecurity.FirewallEndpointAssociation("default_association", {
name: "my-firewall-endpoint-association",
parent: "projects/my-project-name",
location: "us-central1-a",
labels: {
foo: "bar",
},
});
import pulumi
import pulumi_gcp as gcp
default = gcp.networksecurity.FirewallEndpoint("default",
name="my-firewall-endpoint",
parent="organizations/123456789",
location="us-central1-a",
labels={
"foo": "bar",
})
default_association = gcp.networksecurity.FirewallEndpointAssociation("default_association",
name="my-firewall-endpoint-association",
parent="projects/my-project-name",
location="us-central1-a",
labels={
"foo": "bar",
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/networksecurity"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := networksecurity.NewFirewallEndpoint(ctx, "default", &networksecurity.FirewallEndpointArgs{
Name: pulumi.String("my-firewall-endpoint"),
Parent: pulumi.String("organizations/123456789"),
Location: pulumi.String("us-central1-a"),
Labels: pulumi.StringMap{
"foo": pulumi.String("bar"),
},
})
if err != nil {
return err
}
_, err = networksecurity.NewFirewallEndpointAssociation(ctx, "default_association", &networksecurity.FirewallEndpointAssociationArgs{
Name: pulumi.String("my-firewall-endpoint-association"),
Parent: pulumi.String("projects/my-project-name"),
Location: pulumi.String("us-central1-a"),
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 @default = new Gcp.NetworkSecurity.FirewallEndpoint("default", new()
{
Name = "my-firewall-endpoint",
Parent = "organizations/123456789",
Location = "us-central1-a",
Labels =
{
{ "foo", "bar" },
},
});
var defaultAssociation = new Gcp.NetworkSecurity.FirewallEndpointAssociation("default_association", new()
{
Name = "my-firewall-endpoint-association",
Parent = "projects/my-project-name",
Location = "us-central1-a",
Labels =
{
{ "foo", "bar" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.networksecurity.FirewallEndpoint;
import com.pulumi.gcp.networksecurity.FirewallEndpointArgs;
import com.pulumi.gcp.networksecurity.FirewallEndpointAssociation;
import com.pulumi.gcp.networksecurity.FirewallEndpointAssociationArgs;
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 default_ = new FirewallEndpoint("default", FirewallEndpointArgs.builder()
.name("my-firewall-endpoint")
.parent("organizations/123456789")
.location("us-central1-a")
.labels(Map.of("foo", "bar"))
.build());
var defaultAssociation = new FirewallEndpointAssociation("defaultAssociation", FirewallEndpointAssociationArgs.builder()
.name("my-firewall-endpoint-association")
.parent("projects/my-project-name")
.location("us-central1-a")
.labels(Map.of("foo", "bar"))
.build());
}
}
resources:
default:
type: gcp:networksecurity:FirewallEndpoint
properties:
name: my-firewall-endpoint
parent: organizations/123456789
location: us-central1-a
labels:
foo: bar
defaultAssociation:
type: gcp:networksecurity:FirewallEndpointAssociation
name: default_association
properties:
name: my-firewall-endpoint-association
parent: projects/my-project-name
location: us-central1-a
labels:
foo: bar
Create FirewallEndpointAssociation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FirewallEndpointAssociation(name: string, args: FirewallEndpointAssociationArgs, opts?: CustomResourceOptions);
@overload
def FirewallEndpointAssociation(resource_name: str,
args: FirewallEndpointAssociationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FirewallEndpointAssociation(resource_name: str,
opts: Optional[ResourceOptions] = None,
firewall_endpoint: Optional[str] = None,
location: Optional[str] = None,
network: Optional[str] = None,
disabled: Optional[bool] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
parent: Optional[str] = None,
tls_inspection_policy: Optional[str] = None)
func NewFirewallEndpointAssociation(ctx *Context, name string, args FirewallEndpointAssociationArgs, opts ...ResourceOption) (*FirewallEndpointAssociation, error)
public FirewallEndpointAssociation(string name, FirewallEndpointAssociationArgs args, CustomResourceOptions? opts = null)
public FirewallEndpointAssociation(String name, FirewallEndpointAssociationArgs args)
public FirewallEndpointAssociation(String name, FirewallEndpointAssociationArgs args, CustomResourceOptions options)
type: gcp:networksecurity:FirewallEndpointAssociation
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 FirewallEndpointAssociationArgs
- 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 FirewallEndpointAssociationArgs
- 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 FirewallEndpointAssociationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FirewallEndpointAssociationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FirewallEndpointAssociationArgs
- 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 firewallEndpointAssociationResource = new Gcp.NetworkSecurity.FirewallEndpointAssociation("firewallEndpointAssociationResource", new()
{
FirewallEndpoint = "string",
Location = "string",
Network = "string",
Disabled = false,
Labels =
{
{ "string", "string" },
},
Name = "string",
Parent = "string",
TlsInspectionPolicy = "string",
});
example, err := networksecurity.NewFirewallEndpointAssociation(ctx, "firewallEndpointAssociationResource", &networksecurity.FirewallEndpointAssociationArgs{
FirewallEndpoint: pulumi.String("string"),
Location: pulumi.String("string"),
Network: pulumi.String("string"),
Disabled: pulumi.Bool(false),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
Parent: pulumi.String("string"),
TlsInspectionPolicy: pulumi.String("string"),
})
var firewallEndpointAssociationResource = new FirewallEndpointAssociation("firewallEndpointAssociationResource", FirewallEndpointAssociationArgs.builder()
.firewallEndpoint("string")
.location("string")
.network("string")
.disabled(false)
.labels(Map.of("string", "string"))
.name("string")
.parent("string")
.tlsInspectionPolicy("string")
.build());
firewall_endpoint_association_resource = gcp.networksecurity.FirewallEndpointAssociation("firewallEndpointAssociationResource",
firewall_endpoint="string",
location="string",
network="string",
disabled=False,
labels={
"string": "string",
},
name="string",
parent="string",
tls_inspection_policy="string")
const firewallEndpointAssociationResource = new gcp.networksecurity.FirewallEndpointAssociation("firewallEndpointAssociationResource", {
firewallEndpoint: "string",
location: "string",
network: "string",
disabled: false,
labels: {
string: "string",
},
name: "string",
parent: "string",
tlsInspectionPolicy: "string",
});
type: gcp:networksecurity:FirewallEndpointAssociation
properties:
disabled: false
firewallEndpoint: string
labels:
string: string
location: string
name: string
network: string
parent: string
tlsInspectionPolicy: string
FirewallEndpointAssociation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The FirewallEndpointAssociation resource accepts the following input properties:
- Firewall
Endpoint string - The URL of the firewall endpoint that is being associated.
- Location string
- The location (zone) of the firewall endpoint association.
- Network string
- The URL of the network that is being associated.
- Disabled bool
Whether the association is disabled. True indicates that traffic will not be intercepted.
Note: The API will reject the request if this value is set to true when creating the resource, otherwise on an update the association can be disabled.
- Labels Dictionary<string, string>
A map of key/value label pairs to assign to the resource.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- Name string
- The name of the firewall endpoint association resource.
- Parent string
- The name of the parent this firewall endpoint association belongs to. Format: projects/{project_id}.
- Tls
Inspection stringPolicy - The URL of the TlsInspectionPolicy that is being associated.
- Firewall
Endpoint string - The URL of the firewall endpoint that is being associated.
- Location string
- The location (zone) of the firewall endpoint association.
- Network string
- The URL of the network that is being associated.
- Disabled bool
Whether the association is disabled. True indicates that traffic will not be intercepted.
Note: The API will reject the request if this value is set to true when creating the resource, otherwise on an update the association can be disabled.
- Labels map[string]string
A map of key/value label pairs to assign to the resource.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- Name string
- The name of the firewall endpoint association resource.
- Parent string
- The name of the parent this firewall endpoint association belongs to. Format: projects/{project_id}.
- Tls
Inspection stringPolicy - The URL of the TlsInspectionPolicy that is being associated.
- firewall
Endpoint String - The URL of the firewall endpoint that is being associated.
- location String
- The location (zone) of the firewall endpoint association.
- network String
- The URL of the network that is being associated.
- disabled Boolean
Whether the association is disabled. True indicates that traffic will not be intercepted.
Note: The API will reject the request if this value is set to true when creating the resource, otherwise on an update the association can be disabled.
- labels Map<String,String>
A map of key/value label pairs to assign to the resource.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- name String
- The name of the firewall endpoint association resource.
- parent String
- The name of the parent this firewall endpoint association belongs to. Format: projects/{project_id}.
- tls
Inspection StringPolicy - The URL of the TlsInspectionPolicy that is being associated.
- firewall
Endpoint string - The URL of the firewall endpoint that is being associated.
- location string
- The location (zone) of the firewall endpoint association.
- network string
- The URL of the network that is being associated.
- disabled boolean
Whether the association is disabled. True indicates that traffic will not be intercepted.
Note: The API will reject the request if this value is set to true when creating the resource, otherwise on an update the association can be disabled.
- labels {[key: string]: string}
A map of key/value label pairs to assign to the resource.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- name string
- The name of the firewall endpoint association resource.
- parent string
- The name of the parent this firewall endpoint association belongs to. Format: projects/{project_id}.
- tls
Inspection stringPolicy - The URL of the TlsInspectionPolicy that is being associated.
- firewall_
endpoint str - The URL of the firewall endpoint that is being associated.
- location str
- The location (zone) of the firewall endpoint association.
- network str
- The URL of the network that is being associated.
- disabled bool
Whether the association is disabled. True indicates that traffic will not be intercepted.
Note: The API will reject the request if this value is set to true when creating the resource, otherwise on an update the association can be disabled.
- labels Mapping[str, str]
A map of key/value label pairs to assign to the resource.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- name str
- The name of the firewall endpoint association resource.
- parent str
- The name of the parent this firewall endpoint association belongs to. Format: projects/{project_id}.
- tls_
inspection_ strpolicy - The URL of the TlsInspectionPolicy that is being associated.
- firewall
Endpoint String - The URL of the firewall endpoint that is being associated.
- location String
- The location (zone) of the firewall endpoint association.
- network String
- The URL of the network that is being associated.
- disabled Boolean
Whether the association is disabled. True indicates that traffic will not be intercepted.
Note: The API will reject the request if this value is set to true when creating the resource, otherwise on an update the association can be disabled.
- labels Map<String>
A map of key/value label pairs to assign to the resource.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- name String
- The name of the firewall endpoint association resource.
- parent String
- The name of the parent this firewall endpoint association belongs to. Format: projects/{project_id}.
- tls
Inspection StringPolicy - The URL of the TlsInspectionPolicy that is being associated.
Outputs
All input properties are implicitly available as output properties. Additionally, the FirewallEndpointAssociation resource produces the following output properties:
- Create
Time string - Time the firewall endpoint was created in UTC.
- Effective
Labels 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.
- Pulumi
Labels 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, recommended per https://google.aip.dev/128.
- Self
Link string - Server-defined URL of this resource.
- State string
- The current state of the endpoint.
- Update
Time string - Time the firewall endpoint was updated in UTC.
- Create
Time string - Time the firewall endpoint was created in UTC.
- Effective
Labels 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.
- Pulumi
Labels 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, recommended per https://google.aip.dev/128.
- Self
Link string - Server-defined URL of this resource.
- State string
- The current state of the endpoint.
- Update
Time string - Time the firewall endpoint was updated in UTC.
- create
Time String - Time the firewall endpoint was created in UTC.
- effective
Labels 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.
- pulumi
Labels 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, recommended per https://google.aip.dev/128.
- self
Link String - Server-defined URL of this resource.
- state String
- The current state of the endpoint.
- update
Time String - Time the firewall endpoint was updated in UTC.
- create
Time string - Time the firewall endpoint was created in UTC.
- effective
Labels {[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.
- pulumi
Labels {[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, recommended per https://google.aip.dev/128.
- self
Link string - Server-defined URL of this resource.
- state string
- The current state of the endpoint.
- update
Time string - Time the firewall endpoint was updated in UTC.
- create_
time str - Time the firewall endpoint was created in UTC.
- 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.
- 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, recommended per https://google.aip.dev/128.
- self_
link str - Server-defined URL of this resource.
- state str
- The current state of the endpoint.
- update_
time str - Time the firewall endpoint was updated in UTC.
- create
Time String - Time the firewall endpoint was created in UTC.
- effective
Labels 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.
- pulumi
Labels 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, recommended per https://google.aip.dev/128.
- self
Link String - Server-defined URL of this resource.
- state String
- The current state of the endpoint.
- update
Time String - Time the firewall endpoint was updated in UTC.
Look up Existing FirewallEndpointAssociation Resource
Get an existing FirewallEndpointAssociation 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?: FirewallEndpointAssociationState, opts?: CustomResourceOptions): FirewallEndpointAssociation
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
disabled: Optional[bool] = None,
effective_labels: Optional[Mapping[str, str]] = None,
firewall_endpoint: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
network: Optional[str] = None,
parent: Optional[str] = None,
pulumi_labels: Optional[Mapping[str, str]] = None,
reconciling: Optional[bool] = None,
self_link: Optional[str] = None,
state: Optional[str] = None,
tls_inspection_policy: Optional[str] = None,
update_time: Optional[str] = None) -> FirewallEndpointAssociation
func GetFirewallEndpointAssociation(ctx *Context, name string, id IDInput, state *FirewallEndpointAssociationState, opts ...ResourceOption) (*FirewallEndpointAssociation, error)
public static FirewallEndpointAssociation Get(string name, Input<string> id, FirewallEndpointAssociationState? state, CustomResourceOptions? opts = null)
public static FirewallEndpointAssociation get(String name, Output<String> id, FirewallEndpointAssociationState 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.
- Create
Time string - Time the firewall endpoint was created in UTC.
- Disabled bool
Whether the association is disabled. True indicates that traffic will not be intercepted.
Note: The API will reject the request if this value is set to true when creating the resource, otherwise on an update the association can be disabled.
- Effective
Labels 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.
- Firewall
Endpoint string - The URL of the firewall endpoint that is being associated.
- Labels Dictionary<string, string>
A map of key/value label pairs to assign to the resource.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- Location string
- The location (zone) of the firewall endpoint association.
- Name string
- The name of the firewall endpoint association resource.
- Network string
- The URL of the network that is being associated.
- Parent string
- The name of the parent this firewall endpoint association belongs to. Format: projects/{project_id}.
- Pulumi
Labels 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, recommended per https://google.aip.dev/128.
- Self
Link string - Server-defined URL of this resource.
- State string
- The current state of the endpoint.
- Tls
Inspection stringPolicy - The URL of the TlsInspectionPolicy that is being associated.
- Update
Time string - Time the firewall endpoint was updated in UTC.
- Create
Time string - Time the firewall endpoint was created in UTC.
- Disabled bool
Whether the association is disabled. True indicates that traffic will not be intercepted.
Note: The API will reject the request if this value is set to true when creating the resource, otherwise on an update the association can be disabled.
- Effective
Labels 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.
- Firewall
Endpoint string - The URL of the firewall endpoint that is being associated.
- Labels map[string]string
A map of key/value label pairs to assign to the resource.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- Location string
- The location (zone) of the firewall endpoint association.
- Name string
- The name of the firewall endpoint association resource.
- Network string
- The URL of the network that is being associated.
- Parent string
- The name of the parent this firewall endpoint association belongs to. Format: projects/{project_id}.
- Pulumi
Labels 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, recommended per https://google.aip.dev/128.
- Self
Link string - Server-defined URL of this resource.
- State string
- The current state of the endpoint.
- Tls
Inspection stringPolicy - The URL of the TlsInspectionPolicy that is being associated.
- Update
Time string - Time the firewall endpoint was updated in UTC.
- create
Time String - Time the firewall endpoint was created in UTC.
- disabled Boolean
Whether the association is disabled. True indicates that traffic will not be intercepted.
Note: The API will reject the request if this value is set to true when creating the resource, otherwise on an update the association can be disabled.
- effective
Labels 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.
- firewall
Endpoint String - The URL of the firewall endpoint that is being associated.
- labels Map<String,String>
A map of key/value label pairs to assign to the resource.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- location String
- The location (zone) of the firewall endpoint association.
- name String
- The name of the firewall endpoint association resource.
- network String
- The URL of the network that is being associated.
- parent String
- The name of the parent this firewall endpoint association belongs to. Format: projects/{project_id}.
- pulumi
Labels 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, recommended per https://google.aip.dev/128.
- self
Link String - Server-defined URL of this resource.
- state String
- The current state of the endpoint.
- tls
Inspection StringPolicy - The URL of the TlsInspectionPolicy that is being associated.
- update
Time String - Time the firewall endpoint was updated in UTC.
- create
Time string - Time the firewall endpoint was created in UTC.
- disabled boolean
Whether the association is disabled. True indicates that traffic will not be intercepted.
Note: The API will reject the request if this value is set to true when creating the resource, otherwise on an update the association can be disabled.
- effective
Labels {[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.
- firewall
Endpoint string - The URL of the firewall endpoint that is being associated.
- labels {[key: string]: string}
A map of key/value label pairs to assign to the resource.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- location string
- The location (zone) of the firewall endpoint association.
- name string
- The name of the firewall endpoint association resource.
- network string
- The URL of the network that is being associated.
- parent string
- The name of the parent this firewall endpoint association belongs to. Format: projects/{project_id}.
- pulumi
Labels {[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, recommended per https://google.aip.dev/128.
- self
Link string - Server-defined URL of this resource.
- state string
- The current state of the endpoint.
- tls
Inspection stringPolicy - The URL of the TlsInspectionPolicy that is being associated.
- update
Time string - Time the firewall endpoint was updated in UTC.
- create_
time str - Time the firewall endpoint was created in UTC.
- disabled bool
Whether the association is disabled. True indicates that traffic will not be intercepted.
Note: The API will reject the request if this value is set to true when creating the resource, otherwise on an update the association can be disabled.
- 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.
- firewall_
endpoint str - The URL of the firewall endpoint that is being associated.
- labels Mapping[str, str]
A map of key/value label pairs to assign to the resource.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- location str
- The location (zone) of the firewall endpoint association.
- name str
- The name of the firewall endpoint association resource.
- network str
- The URL of the network that is being associated.
- parent str
- The name of the parent this firewall endpoint association belongs to. Format: projects/{project_id}.
- 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, recommended per https://google.aip.dev/128.
- self_
link str - Server-defined URL of this resource.
- state str
- The current state of the endpoint.
- tls_
inspection_ strpolicy - The URL of the TlsInspectionPolicy that is being associated.
- update_
time str - Time the firewall endpoint was updated in UTC.
- create
Time String - Time the firewall endpoint was created in UTC.
- disabled Boolean
Whether the association is disabled. True indicates that traffic will not be intercepted.
Note: The API will reject the request if this value is set to true when creating the resource, otherwise on an update the association can be disabled.
- effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- firewall
Endpoint String - The URL of the firewall endpoint that is being associated.
- labels Map<String>
A map of key/value label pairs to assign to the resource.
Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
effective_labels
for all of the labels present on the resource.- location String
- The location (zone) of the firewall endpoint association.
- name String
- The name of the firewall endpoint association resource.
- network String
- The URL of the network that is being associated.
- parent String
- The name of the parent this firewall endpoint association belongs to. Format: projects/{project_id}.
- pulumi
Labels 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, recommended per https://google.aip.dev/128.
- self
Link String - Server-defined URL of this resource.
- state String
- The current state of the endpoint.
- tls
Inspection StringPolicy - The URL of the TlsInspectionPolicy that is being associated.
- update
Time String - Time the firewall endpoint was updated in UTC.
Import
FirewallEndpointAssociation can be imported using any of these accepted formats:
{{parent}}/locations/{{location}}/firewallEndpointAssociations/{{name}}
When using the pulumi import
command, FirewallEndpointAssociation can be imported using one of the formats above. For example:
$ pulumi import gcp:networksecurity/firewallEndpointAssociation:FirewallEndpointAssociation default {{parent}}/locations/{{location}}/firewallEndpointAssociations/{{name}}
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.