1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. networksecurity
  5. FirewallEndpointAssociation
Google Cloud Classic v7.21.2 published on Friday, May 10, 2024 by Pulumi

gcp.networksecurity.FirewallEndpointAssociation

Explore with Pulumi AI

gcp logo
Google Cloud Classic v7.21.2 published on Friday, May 10, 2024 by Pulumi

    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.

    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:

    FirewallEndpoint 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}.
    TlsInspectionPolicy string
    The URL of the TlsInspectionPolicy that is being associated.
    FirewallEndpoint 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}.
    TlsInspectionPolicy string
    The URL of the TlsInspectionPolicy that is being associated.
    firewallEndpoint 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}.
    tlsInspectionPolicy String
    The URL of the TlsInspectionPolicy that is being associated.
    firewallEndpoint 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}.
    tlsInspectionPolicy string
    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_policy str
    The URL of the TlsInspectionPolicy that is being associated.
    firewallEndpoint 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}.
    tlsInspectionPolicy String
    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:

    CreateTime string
    Time the firewall endpoint was created in UTC.
    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.
    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, recommended per https://google.aip.dev/128.
    SelfLink string
    Server-defined URL of this resource.
    State string
    The current state of the endpoint.
    UpdateTime string
    Time the firewall endpoint was updated in UTC.
    CreateTime string
    Time the firewall endpoint was created in UTC.
    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.
    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, recommended per https://google.aip.dev/128.
    SelfLink string
    Server-defined URL of this resource.
    State string
    The current state of the endpoint.
    UpdateTime string
    Time the firewall endpoint was updated in UTC.
    createTime String
    Time the firewall endpoint was created in UTC.
    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.
    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, recommended per https://google.aip.dev/128.
    selfLink String
    Server-defined URL of this resource.
    state String
    The current state of the endpoint.
    updateTime String
    Time the firewall endpoint was updated in UTC.
    createTime string
    Time the firewall endpoint was created in UTC.
    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.
    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, recommended per https://google.aip.dev/128.
    selfLink string
    Server-defined URL of this resource.
    state string
    The current state of the endpoint.
    updateTime 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.
    createTime String
    Time the firewall endpoint was created in UTC.
    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.
    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, recommended per https://google.aip.dev/128.
    selfLink String
    Server-defined URL of this resource.
    state String
    The current state of the endpoint.
    updateTime 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.
    The following state arguments are supported:
    CreateTime 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.

    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.
    FirewallEndpoint 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}.
    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, recommended per https://google.aip.dev/128.
    SelfLink string
    Server-defined URL of this resource.
    State string
    The current state of the endpoint.
    TlsInspectionPolicy string
    The URL of the TlsInspectionPolicy that is being associated.
    UpdateTime string
    Time the firewall endpoint was updated in UTC.
    CreateTime 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.

    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.
    FirewallEndpoint 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}.
    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, recommended per https://google.aip.dev/128.
    SelfLink string
    Server-defined URL of this resource.
    State string
    The current state of the endpoint.
    TlsInspectionPolicy string
    The URL of the TlsInspectionPolicy that is being associated.
    UpdateTime string
    Time the firewall endpoint was updated in UTC.
    createTime 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.

    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.
    firewallEndpoint 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}.
    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, recommended per https://google.aip.dev/128.
    selfLink String
    Server-defined URL of this resource.
    state String
    The current state of the endpoint.
    tlsInspectionPolicy String
    The URL of the TlsInspectionPolicy that is being associated.
    updateTime String
    Time the firewall endpoint was updated in UTC.
    createTime 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.

    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.
    firewallEndpoint 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}.
    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, recommended per https://google.aip.dev/128.
    selfLink string
    Server-defined URL of this resource.
    state string
    The current state of the endpoint.
    tlsInspectionPolicy string
    The URL of the TlsInspectionPolicy that is being associated.
    updateTime 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_policy str
    The URL of the TlsInspectionPolicy that is being associated.
    update_time str
    Time the firewall endpoint was updated in UTC.
    createTime 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.

    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.
    firewallEndpoint 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}.
    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, recommended per https://google.aip.dev/128.
    selfLink String
    Server-defined URL of this resource.
    state String
    The current state of the endpoint.
    tlsInspectionPolicy String
    The URL of the TlsInspectionPolicy that is being associated.
    updateTime 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.
    gcp logo
    Google Cloud Classic v7.21.2 published on Friday, May 10, 2024 by Pulumi