1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. networksecurity
  5. AddressGroup
Google Cloud Classic v7.2.1 published on Wednesday, Nov 22, 2023 by Pulumi

gcp.networksecurity.AddressGroup

Explore with Pulumi AI

gcp logo
Google Cloud Classic v7.2.1 published on Wednesday, Nov 22, 2023 by Pulumi

    AddressGroup is a resource that specifies how a collection of IP/DNS used in Firewall Policy.

    To get more information about AddressGroup, see:

    Example Usage

    Network Security Address Groups Basic

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Gcp.NetworkSecurity.AddressGroup("default", new()
        {
            Capacity = 100,
            Items = new[]
            {
                "208.80.154.224/32",
            },
            Location = "us-central1",
            Parent = "projects/my-project-name",
            Type = "IPV4",
        });
    
    });
    
    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.NewAddressGroup(ctx, "default", &networksecurity.AddressGroupArgs{
    			Capacity: pulumi.Int(100),
    			Items: pulumi.StringArray{
    				pulumi.String("208.80.154.224/32"),
    			},
    			Location: pulumi.String("us-central1"),
    			Parent:   pulumi.String("projects/my-project-name"),
    			Type:     pulumi.String("IPV4"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.networksecurity.AddressGroup;
    import com.pulumi.gcp.networksecurity.AddressGroupArgs;
    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 AddressGroup("default", AddressGroupArgs.builder()        
                .capacity("100")
                .items("208.80.154.224/32")
                .location("us-central1")
                .parent("projects/my-project-name")
                .type("IPV4")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_gcp as gcp
    
    default = gcp.networksecurity.AddressGroup("default",
        capacity=100,
        items=["208.80.154.224/32"],
        location="us-central1",
        parent="projects/my-project-name",
        type="IPV4")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const _default = new gcp.networksecurity.AddressGroup("default", {
        capacity: 100,
        items: ["208.80.154.224/32"],
        location: "us-central1",
        parent: "projects/my-project-name",
        type: "IPV4",
    });
    
    resources:
      default:
        type: gcp:networksecurity:AddressGroup
        properties:
          capacity: '100'
          items:
            - 208.80.154.224/32
          location: us-central1
          parent: projects/my-project-name
          type: IPV4
    

    Network Security Address Groups Organization Basic

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Gcp.NetworkSecurity.AddressGroup("default", new()
        {
            Capacity = 100,
            Items = new[]
            {
                "208.80.154.224/32",
            },
            Location = "us-central1",
            Parent = "organizations/123456789",
            Type = "IPV4",
        });
    
    });
    
    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.NewAddressGroup(ctx, "default", &networksecurity.AddressGroupArgs{
    			Capacity: pulumi.Int(100),
    			Items: pulumi.StringArray{
    				pulumi.String("208.80.154.224/32"),
    			},
    			Location: pulumi.String("us-central1"),
    			Parent:   pulumi.String("organizations/123456789"),
    			Type:     pulumi.String("IPV4"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.networksecurity.AddressGroup;
    import com.pulumi.gcp.networksecurity.AddressGroupArgs;
    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 AddressGroup("default", AddressGroupArgs.builder()        
                .capacity("100")
                .items("208.80.154.224/32")
                .location("us-central1")
                .parent("organizations/123456789")
                .type("IPV4")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_gcp as gcp
    
    default = gcp.networksecurity.AddressGroup("default",
        capacity=100,
        items=["208.80.154.224/32"],
        location="us-central1",
        parent="organizations/123456789",
        type="IPV4")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const _default = new gcp.networksecurity.AddressGroup("default", {
        capacity: 100,
        items: ["208.80.154.224/32"],
        location: "us-central1",
        parent: "organizations/123456789",
        type: "IPV4",
    });
    
    resources:
      default:
        type: gcp:networksecurity:AddressGroup
        properties:
          capacity: '100'
          items:
            - 208.80.154.224/32
          location: us-central1
          parent: organizations/123456789
          type: IPV4
    

    Network Security Address Groups Advanced

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Gcp.NetworkSecurity.AddressGroup("default", new()
        {
            Capacity = 100,
            Description = "my description",
            Items = new[]
            {
                "208.80.154.224/32",
            },
            Location = "us-central1",
            Parent = "projects/my-project-name",
            Type = "IPV4",
        });
    
    });
    
    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.NewAddressGroup(ctx, "default", &networksecurity.AddressGroupArgs{
    			Capacity:    pulumi.Int(100),
    			Description: pulumi.String("my description"),
    			Items: pulumi.StringArray{
    				pulumi.String("208.80.154.224/32"),
    			},
    			Location: pulumi.String("us-central1"),
    			Parent:   pulumi.String("projects/my-project-name"),
    			Type:     pulumi.String("IPV4"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.networksecurity.AddressGroup;
    import com.pulumi.gcp.networksecurity.AddressGroupArgs;
    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 AddressGroup("default", AddressGroupArgs.builder()        
                .capacity("100")
                .description("my description")
                .items("208.80.154.224/32")
                .location("us-central1")
                .parent("projects/my-project-name")
                .type("IPV4")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_gcp as gcp
    
    default = gcp.networksecurity.AddressGroup("default",
        capacity=100,
        description="my description",
        items=["208.80.154.224/32"],
        location="us-central1",
        parent="projects/my-project-name",
        type="IPV4")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const _default = new gcp.networksecurity.AddressGroup("default", {
        capacity: 100,
        description: "my description",
        items: ["208.80.154.224/32"],
        location: "us-central1",
        parent: "projects/my-project-name",
        type: "IPV4",
    });
    
    resources:
      default:
        type: gcp:networksecurity:AddressGroup
        properties:
          capacity: '100'
          description: my description
          items:
            - 208.80.154.224/32
          location: us-central1
          parent: projects/my-project-name
          type: IPV4
    

    Create AddressGroup Resource

    new AddressGroup(name: string, args: AddressGroupArgs, opts?: CustomResourceOptions);
    @overload
    def AddressGroup(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     capacity: Optional[int] = None,
                     description: Optional[str] = None,
                     items: Optional[Sequence[str]] = None,
                     labels: Optional[Mapping[str, str]] = None,
                     location: Optional[str] = None,
                     name: Optional[str] = None,
                     parent: Optional[str] = None,
                     type: Optional[str] = None)
    @overload
    def AddressGroup(resource_name: str,
                     args: AddressGroupArgs,
                     opts: Optional[ResourceOptions] = None)
    func NewAddressGroup(ctx *Context, name string, args AddressGroupArgs, opts ...ResourceOption) (*AddressGroup, error)
    public AddressGroup(string name, AddressGroupArgs args, CustomResourceOptions? opts = null)
    public AddressGroup(String name, AddressGroupArgs args)
    public AddressGroup(String name, AddressGroupArgs args, CustomResourceOptions options)
    
    type: gcp:networksecurity:AddressGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args AddressGroupArgs
    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 AddressGroupArgs
    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 AddressGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AddressGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AddressGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Capacity int

    Capacity of the Address Group.

    Location string

    The location of the gateway security policy. The default value is global.


    Type string

    The type of the Address Group. Possible values are "IPV4" or "IPV6". Possible values are: IPV4, IPV6.

    Description string

    Free-text description of the resource.

    Items List<string>

    List of items.

    Labels Dictionary<string, string>

    Set of label tags associated with the AddressGroup resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

    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

    Name of the AddressGroup resource.

    Parent string

    The name of the parent this address group belongs to. Format: organizations/{organization_id} or projects/{project_id}.

    Capacity int

    Capacity of the Address Group.

    Location string

    The location of the gateway security policy. The default value is global.


    Type string

    The type of the Address Group. Possible values are "IPV4" or "IPV6". Possible values are: IPV4, IPV6.

    Description string

    Free-text description of the resource.

    Items []string

    List of items.

    Labels map[string]string

    Set of label tags associated with the AddressGroup resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

    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

    Name of the AddressGroup resource.

    Parent string

    The name of the parent this address group belongs to. Format: organizations/{organization_id} or projects/{project_id}.

    capacity Integer

    Capacity of the Address Group.

    location String

    The location of the gateway security policy. The default value is global.


    type String

    The type of the Address Group. Possible values are "IPV4" or "IPV6". Possible values are: IPV4, IPV6.

    description String

    Free-text description of the resource.

    items List<String>

    List of items.

    labels Map<String,String>

    Set of label tags associated with the AddressGroup resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

    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

    Name of the AddressGroup resource.

    parent String

    The name of the parent this address group belongs to. Format: organizations/{organization_id} or projects/{project_id}.

    capacity number

    Capacity of the Address Group.

    location string

    The location of the gateway security policy. The default value is global.


    type string

    The type of the Address Group. Possible values are "IPV4" or "IPV6". Possible values are: IPV4, IPV6.

    description string

    Free-text description of the resource.

    items string[]

    List of items.

    labels {[key: string]: string}

    Set of label tags associated with the AddressGroup resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

    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

    Name of the AddressGroup resource.

    parent string

    The name of the parent this address group belongs to. Format: organizations/{organization_id} or projects/{project_id}.

    capacity int

    Capacity of the Address Group.

    location str

    The location of the gateway security policy. The default value is global.


    type str

    The type of the Address Group. Possible values are "IPV4" or "IPV6". Possible values are: IPV4, IPV6.

    description str

    Free-text description of the resource.

    items Sequence[str]

    List of items.

    labels Mapping[str, str]

    Set of label tags associated with the AddressGroup resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

    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

    Name of the AddressGroup resource.

    parent str

    The name of the parent this address group belongs to. Format: organizations/{organization_id} or projects/{project_id}.

    capacity Number

    Capacity of the Address Group.

    location String

    The location of the gateway security policy. The default value is global.


    type String

    The type of the Address Group. Possible values are "IPV4" or "IPV6". Possible values are: IPV4, IPV6.

    description String

    Free-text description of the resource.

    items List<String>

    List of items.

    labels Map<String>

    Set of label tags associated with the AddressGroup resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

    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

    Name of the AddressGroup resource.

    parent String

    The name of the parent this address group belongs to. Format: organizations/{organization_id} or projects/{project_id}.

    Outputs

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

    CreateTime string

    The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    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.

    UpdateTime string

    The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    CreateTime string

    The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    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.

    UpdateTime string

    The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    createTime String

    The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    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.

    updateTime String

    The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    createTime string

    The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    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.

    updateTime string

    The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    create_time str

    The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    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.

    update_time str

    The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    createTime String

    The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    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.

    updateTime String

    The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    Look up Existing AddressGroup Resource

    Get an existing AddressGroup 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?: AddressGroupState, opts?: CustomResourceOptions): AddressGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            capacity: Optional[int] = None,
            create_time: Optional[str] = None,
            description: Optional[str] = None,
            effective_labels: Optional[Mapping[str, str]] = None,
            items: Optional[Sequence[str]] = None,
            labels: Optional[Mapping[str, str]] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            parent: Optional[str] = None,
            pulumi_labels: Optional[Mapping[str, str]] = None,
            type: Optional[str] = None,
            update_time: Optional[str] = None) -> AddressGroup
    func GetAddressGroup(ctx *Context, name string, id IDInput, state *AddressGroupState, opts ...ResourceOption) (*AddressGroup, error)
    public static AddressGroup Get(string name, Input<string> id, AddressGroupState? state, CustomResourceOptions? opts = null)
    public static AddressGroup get(String name, Output<String> id, AddressGroupState 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:
    Capacity int

    Capacity of the Address Group.

    CreateTime string

    The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    Description string

    Free-text description of the resource.

    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.

    Items List<string>

    List of items.

    Labels Dictionary<string, string>

    Set of label tags associated with the AddressGroup resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

    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 of the gateway security policy. The default value is global.


    Name string

    Name of the AddressGroup resource.

    Parent string

    The name of the parent this address group belongs to. Format: organizations/{organization_id} or projects/{project_id}.

    PulumiLabels Dictionary<string, string>

    The combination of labels configured directly on the resource and default labels configured on the provider.

    Type string

    The type of the Address Group. Possible values are "IPV4" or "IPV6". Possible values are: IPV4, IPV6.

    UpdateTime string

    The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    Capacity int

    Capacity of the Address Group.

    CreateTime string

    The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    Description string

    Free-text description of the resource.

    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.

    Items []string

    List of items.

    Labels map[string]string

    Set of label tags associated with the AddressGroup resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

    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 of the gateway security policy. The default value is global.


    Name string

    Name of the AddressGroup resource.

    Parent string

    The name of the parent this address group belongs to. Format: organizations/{organization_id} or projects/{project_id}.

    PulumiLabels map[string]string

    The combination of labels configured directly on the resource and default labels configured on the provider.

    Type string

    The type of the Address Group. Possible values are "IPV4" or "IPV6". Possible values are: IPV4, IPV6.

    UpdateTime string

    The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    capacity Integer

    Capacity of the Address Group.

    createTime String

    The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    description String

    Free-text description of the resource.

    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.

    items List<String>

    List of items.

    labels Map<String,String>

    Set of label tags associated with the AddressGroup resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

    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 of the gateway security policy. The default value is global.


    name String

    Name of the AddressGroup resource.

    parent String

    The name of the parent this address group belongs to. Format: organizations/{organization_id} or projects/{project_id}.

    pulumiLabels Map<String,String>

    The combination of labels configured directly on the resource and default labels configured on the provider.

    type String

    The type of the Address Group. Possible values are "IPV4" or "IPV6". Possible values are: IPV4, IPV6.

    updateTime String

    The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    capacity number

    Capacity of the Address Group.

    createTime string

    The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    description string

    Free-text description of the resource.

    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.

    items string[]

    List of items.

    labels {[key: string]: string}

    Set of label tags associated with the AddressGroup resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

    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 of the gateway security policy. The default value is global.


    name string

    Name of the AddressGroup resource.

    parent string

    The name of the parent this address group belongs to. Format: organizations/{organization_id} or projects/{project_id}.

    pulumiLabels {[key: string]: string}

    The combination of labels configured directly on the resource and default labels configured on the provider.

    type string

    The type of the Address Group. Possible values are "IPV4" or "IPV6". Possible values are: IPV4, IPV6.

    updateTime string

    The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    capacity int

    Capacity of the Address Group.

    create_time str

    The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    description str

    Free-text description of the resource.

    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.

    items Sequence[str]

    List of items.

    labels Mapping[str, str]

    Set of label tags associated with the AddressGroup resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

    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 of the gateway security policy. The default value is global.


    name str

    Name of the AddressGroup resource.

    parent str

    The name of the parent this address group belongs to. Format: organizations/{organization_id} or projects/{project_id}.

    pulumi_labels Mapping[str, str]

    The combination of labels configured directly on the resource and default labels configured on the provider.

    type str

    The type of the Address Group. Possible values are "IPV4" or "IPV6". Possible values are: IPV4, IPV6.

    update_time str

    The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    capacity Number

    Capacity of the Address Group.

    createTime String

    The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"

    description String

    Free-text description of the resource.

    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.

    items List<String>

    List of items.

    labels Map<String>

    Set of label tags associated with the AddressGroup resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

    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 of the gateway security policy. The default value is global.


    name String

    Name of the AddressGroup resource.

    parent String

    The name of the parent this address group belongs to. Format: organizations/{organization_id} or projects/{project_id}.

    pulumiLabels Map<String>

    The combination of labels configured directly on the resource and default labels configured on the provider.

    type String

    The type of the Address Group. Possible values are "IPV4" or "IPV6". Possible values are: IPV4, IPV6.

    updateTime String

    The timestamp when the resource was updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    Import

    AddressGroup can be imported using any of these accepted formats* {{parent}}/locations/{{location}}/addressGroups/{{name}} In Terraform v1.5.0 and later, use an import block to import AddressGroup using one of the formats above. For exampletf import {

    id = “{{parent}}/locations/{{location}}/addressGroups/{{name}}”

    to = google_network_security_address_group.default }

     $ pulumi import gcp:networksecurity/addressGroup:AddressGroup When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), AddressGroup can be imported using one of the formats above. For example
    
     $ pulumi import gcp:networksecurity/addressGroup:AddressGroup default {{parent}}/locations/{{location}}/addressGroups/{{name}}
    

    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.2.1 published on Wednesday, Nov 22, 2023 by Pulumi