1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. networksecurity
  5. SecurityProfileGroup
Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi

gcp.networksecurity.SecurityProfileGroup

Explore with Pulumi AI

gcp logo
Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi

    A security profile group defines a container for security profiles.

    To get more information about SecurityProfileGroup, see:

    Example Usage

    Network Security Security Profile Group Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const securityProfile = new gcp.networksecurity.SecurityProfile("security_profile", {
        name: "sec-profile",
        type: "THREAT_PREVENTION",
        parent: "organizations/123456789",
        location: "global",
    });
    const _default = new gcp.networksecurity.SecurityProfileGroup("default", {
        name: "sec-profile-group",
        parent: "organizations/123456789",
        description: "my description",
        threatPreventionProfile: securityProfile.id,
        labels: {
            foo: "bar",
        },
    });
    
    import pulumi
    import pulumi_gcp as gcp
    
    security_profile = gcp.networksecurity.SecurityProfile("security_profile",
        name="sec-profile",
        type="THREAT_PREVENTION",
        parent="organizations/123456789",
        location="global")
    default = gcp.networksecurity.SecurityProfileGroup("default",
        name="sec-profile-group",
        parent="organizations/123456789",
        description="my description",
        threat_prevention_profile=security_profile.id,
        labels={
            "foo": "bar",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/networksecurity"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		securityProfile, err := networksecurity.NewSecurityProfile(ctx, "security_profile", &networksecurity.SecurityProfileArgs{
    			Name:     pulumi.String("sec-profile"),
    			Type:     pulumi.String("THREAT_PREVENTION"),
    			Parent:   pulumi.String("organizations/123456789"),
    			Location: pulumi.String("global"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = networksecurity.NewSecurityProfileGroup(ctx, "default", &networksecurity.SecurityProfileGroupArgs{
    			Name:                    pulumi.String("sec-profile-group"),
    			Parent:                  pulumi.String("organizations/123456789"),
    			Description:             pulumi.String("my description"),
    			ThreatPreventionProfile: securityProfile.ID(),
    			Labels: pulumi.StringMap{
    				"foo": pulumi.String("bar"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var securityProfile = new Gcp.NetworkSecurity.SecurityProfile("security_profile", new()
        {
            Name = "sec-profile",
            Type = "THREAT_PREVENTION",
            Parent = "organizations/123456789",
            Location = "global",
        });
    
        var @default = new Gcp.NetworkSecurity.SecurityProfileGroup("default", new()
        {
            Name = "sec-profile-group",
            Parent = "organizations/123456789",
            Description = "my description",
            ThreatPreventionProfile = securityProfile.Id,
            Labels = 
            {
                { "foo", "bar" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.networksecurity.SecurityProfile;
    import com.pulumi.gcp.networksecurity.SecurityProfileArgs;
    import com.pulumi.gcp.networksecurity.SecurityProfileGroup;
    import com.pulumi.gcp.networksecurity.SecurityProfileGroupArgs;
    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 securityProfile = new SecurityProfile("securityProfile", SecurityProfileArgs.builder()
                .name("sec-profile")
                .type("THREAT_PREVENTION")
                .parent("organizations/123456789")
                .location("global")
                .build());
    
            var default_ = new SecurityProfileGroup("default", SecurityProfileGroupArgs.builder()
                .name("sec-profile-group")
                .parent("organizations/123456789")
                .description("my description")
                .threatPreventionProfile(securityProfile.id())
                .labels(Map.of("foo", "bar"))
                .build());
    
        }
    }
    
    resources:
      default:
        type: gcp:networksecurity:SecurityProfileGroup
        properties:
          name: sec-profile-group
          parent: organizations/123456789
          description: my description
          threatPreventionProfile: ${securityProfile.id}
          labels:
            foo: bar
      securityProfile:
        type: gcp:networksecurity:SecurityProfile
        name: security_profile
        properties:
          name: sec-profile
          type: THREAT_PREVENTION
          parent: organizations/123456789
          location: global
    

    Create SecurityProfileGroup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SecurityProfileGroup(name: string, args?: SecurityProfileGroupArgs, opts?: CustomResourceOptions);
    @overload
    def SecurityProfileGroup(resource_name: str,
                             args: Optional[SecurityProfileGroupArgs] = None,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def SecurityProfileGroup(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             description: Optional[str] = None,
                             labels: Optional[Mapping[str, str]] = None,
                             location: Optional[str] = None,
                             name: Optional[str] = None,
                             parent: Optional[str] = None,
                             threat_prevention_profile: Optional[str] = None)
    func NewSecurityProfileGroup(ctx *Context, name string, args *SecurityProfileGroupArgs, opts ...ResourceOption) (*SecurityProfileGroup, error)
    public SecurityProfileGroup(string name, SecurityProfileGroupArgs? args = null, CustomResourceOptions? opts = null)
    public SecurityProfileGroup(String name, SecurityProfileGroupArgs args)
    public SecurityProfileGroup(String name, SecurityProfileGroupArgs args, CustomResourceOptions options)
    
    type: gcp:networksecurity:SecurityProfileGroup
    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 SecurityProfileGroupArgs
    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 SecurityProfileGroupArgs
    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 SecurityProfileGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SecurityProfileGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SecurityProfileGroupArgs
    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 securityProfileGroupResource = new Gcp.NetworkSecurity.SecurityProfileGroup("securityProfileGroupResource", new()
    {
        Description = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Location = "string",
        Name = "string",
        Parent = "string",
        ThreatPreventionProfile = "string",
    });
    
    example, err := networksecurity.NewSecurityProfileGroup(ctx, "securityProfileGroupResource", &networksecurity.SecurityProfileGroupArgs{
    	Description: pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Location:                pulumi.String("string"),
    	Name:                    pulumi.String("string"),
    	Parent:                  pulumi.String("string"),
    	ThreatPreventionProfile: pulumi.String("string"),
    })
    
    var securityProfileGroupResource = new SecurityProfileGroup("securityProfileGroupResource", SecurityProfileGroupArgs.builder()
        .description("string")
        .labels(Map.of("string", "string"))
        .location("string")
        .name("string")
        .parent("string")
        .threatPreventionProfile("string")
        .build());
    
    security_profile_group_resource = gcp.networksecurity.SecurityProfileGroup("securityProfileGroupResource",
        description="string",
        labels={
            "string": "string",
        },
        location="string",
        name="string",
        parent="string",
        threat_prevention_profile="string")
    
    const securityProfileGroupResource = new gcp.networksecurity.SecurityProfileGroup("securityProfileGroupResource", {
        description: "string",
        labels: {
            string: "string",
        },
        location: "string",
        name: "string",
        parent: "string",
        threatPreventionProfile: "string",
    });
    
    type: gcp:networksecurity:SecurityProfileGroup
    properties:
        description: string
        labels:
            string: string
        location: string
        name: string
        parent: string
        threatPreventionProfile: string
    

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

    Description string
    An optional description of the profile. The Max length is 512 characters.
    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 of the security profile group. The default value is global.
    Name string
    The name of the security profile group resource.


    Parent string
    The name of the parent this security profile group belongs to. Format: organizations/{organization_id}.
    ThreatPreventionProfile string
    Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.
    Description string
    An optional description of the profile. The Max length is 512 characters.
    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 of the security profile group. The default value is global.
    Name string
    The name of the security profile group resource.


    Parent string
    The name of the parent this security profile group belongs to. Format: organizations/{organization_id}.
    ThreatPreventionProfile string
    Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.
    description String
    An optional description of the profile. The Max length is 512 characters.
    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 of the security profile group. The default value is global.
    name String
    The name of the security profile group resource.


    parent String
    The name of the parent this security profile group belongs to. Format: organizations/{organization_id}.
    threatPreventionProfile String
    Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.
    description string
    An optional description of the profile. The Max length is 512 characters.
    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 of the security profile group. The default value is global.
    name string
    The name of the security profile group resource.


    parent string
    The name of the parent this security profile group belongs to. Format: organizations/{organization_id}.
    threatPreventionProfile string
    Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.
    description str
    An optional description of the profile. The Max length is 512 characters.
    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 of the security profile group. The default value is global.
    name str
    The name of the security profile group resource.


    parent str
    The name of the parent this security profile group belongs to. Format: organizations/{organization_id}.
    threat_prevention_profile str
    Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.
    description String
    An optional description of the profile. The Max length is 512 characters.
    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 of the security profile group. The default value is global.
    name String
    The name of the security profile group resource.


    parent String
    The name of the parent this security profile group belongs to. Format: organizations/{organization_id}.
    threatPreventionProfile String
    Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.

    Outputs

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

    CreateTime string
    Time the security profile group 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.
    Etag string
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    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
    Time the security profile group was updated in UTC.
    CreateTime string
    Time the security profile group 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.
    Etag string
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    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
    Time the security profile group was updated in UTC.
    createTime String
    Time the security profile group 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.
    etag String
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    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
    Time the security profile group was updated in UTC.
    createTime string
    Time the security profile group 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.
    etag string
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    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
    Time the security profile group was updated in UTC.
    create_time str
    Time the security profile group 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.
    etag str
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    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
    Time the security profile group was updated in UTC.
    createTime String
    Time the security profile group 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.
    etag String
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    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
    Time the security profile group was updated in UTC.

    Look up Existing SecurityProfileGroup Resource

    Get an existing SecurityProfileGroup 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?: SecurityProfileGroupState, opts?: CustomResourceOptions): SecurityProfileGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_time: Optional[str] = None,
            description: Optional[str] = None,
            effective_labels: Optional[Mapping[str, str]] = None,
            etag: Optional[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,
            threat_prevention_profile: Optional[str] = None,
            update_time: Optional[str] = None) -> SecurityProfileGroup
    func GetSecurityProfileGroup(ctx *Context, name string, id IDInput, state *SecurityProfileGroupState, opts ...ResourceOption) (*SecurityProfileGroup, error)
    public static SecurityProfileGroup Get(string name, Input<string> id, SecurityProfileGroupState? state, CustomResourceOptions? opts = null)
    public static SecurityProfileGroup get(String name, Output<String> id, SecurityProfileGroupState 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 security profile group was created in UTC.
    Description string
    An optional description of the profile. The Max length is 512 characters.
    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.
    Etag string
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    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 of the security profile group. The default value is global.
    Name string
    The name of the security profile group resource.


    Parent string
    The name of the parent this security profile group belongs to. Format: organizations/{organization_id}.
    PulumiLabels Dictionary<string, string>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    ThreatPreventionProfile string
    Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.
    UpdateTime string
    Time the security profile group was updated in UTC.
    CreateTime string
    Time the security profile group was created in UTC.
    Description string
    An optional description of the profile. The Max length is 512 characters.
    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.
    Etag string
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    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 of the security profile group. The default value is global.
    Name string
    The name of the security profile group resource.


    Parent string
    The name of the parent this security profile group belongs to. Format: organizations/{organization_id}.
    PulumiLabels map[string]string
    The combination of labels configured directly on the resource and default labels configured on the provider.
    ThreatPreventionProfile string
    Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.
    UpdateTime string
    Time the security profile group was updated in UTC.
    createTime String
    Time the security profile group was created in UTC.
    description String
    An optional description of the profile. The Max length is 512 characters.
    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.
    etag String
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    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 of the security profile group. The default value is global.
    name String
    The name of the security profile group resource.


    parent String
    The name of the parent this security profile group belongs to. Format: organizations/{organization_id}.
    pulumiLabels Map<String,String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    threatPreventionProfile String
    Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.
    updateTime String
    Time the security profile group was updated in UTC.
    createTime string
    Time the security profile group was created in UTC.
    description string
    An optional description of the profile. The Max length is 512 characters.
    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.
    etag string
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    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 of the security profile group. The default value is global.
    name string
    The name of the security profile group resource.


    parent string
    The name of the parent this security profile group belongs to. Format: organizations/{organization_id}.
    pulumiLabels {[key: string]: string}
    The combination of labels configured directly on the resource and default labels configured on the provider.
    threatPreventionProfile string
    Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.
    updateTime string
    Time the security profile group was updated in UTC.
    create_time str
    Time the security profile group was created in UTC.
    description str
    An optional description of the profile. The Max length is 512 characters.
    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.
    etag str
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    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 of the security profile group. The default value is global.
    name str
    The name of the security profile group resource.


    parent str
    The name of the parent this security profile group belongs to. Format: organizations/{organization_id}.
    pulumi_labels Mapping[str, str]
    The combination of labels configured directly on the resource and default labels configured on the provider.
    threat_prevention_profile str
    Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.
    update_time str
    Time the security profile group was updated in UTC.
    createTime String
    Time the security profile group was created in UTC.
    description String
    An optional description of the profile. The Max length is 512 characters.
    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.
    etag String
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    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 of the security profile group. The default value is global.
    name String
    The name of the security profile group resource.


    parent String
    The name of the parent this security profile group belongs to. Format: organizations/{organization_id}.
    pulumiLabels Map<String>
    The combination of labels configured directly on the resource and default labels configured on the provider.
    threatPreventionProfile String
    Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.
    updateTime String
    Time the security profile group was updated in UTC.

    Import

    SecurityProfileGroup can be imported using any of these accepted formats:

    • {{parent}}/locations/{{location}}/securityProfileGroups/{{name}}

    When using the pulumi import command, SecurityProfileGroup can be imported using one of the formats above. For example:

    $ pulumi import gcp:networksecurity/securityProfileGroup:SecurityProfileGroup default {{parent}}/locations/{{location}}/securityProfileGroups/{{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 v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi