1. Packages
  2. Google Cloud Native
  3. API Docs
  4. networksecurity
  5. networksecurity/v1beta1
  6. SecurityProfileGroup

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.networksecurity/v1beta1.SecurityProfileGroup

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Creates a new SecurityProfileGroup in a given organization and location. Auto-naming is currently not supported for this resource.

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: SecurityProfileGroupArgs,
                         opts: Optional[ResourceOptions] = None)

@overload
def SecurityProfileGroup(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         organization_id: Optional[str] = None,
                         security_profile_group_id: Optional[str] = None,
                         description: Optional[str] = None,
                         labels: Optional[Mapping[str, str]] = None,
                         location: Optional[str] = None,
                         name: 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, CustomResourceOptions? opts = null)
public SecurityProfileGroup(String name, SecurityProfileGroupArgs args)
public SecurityProfileGroup(String name, SecurityProfileGroupArgs args, CustomResourceOptions options)
type: google-native:networksecurity/v1beta1:SecurityProfileGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SecurityProfileGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. SecurityProfileGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SecurityProfileGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 GoogleNative.NetworkSecurity.V1Beta1.SecurityProfileGroup("securityProfileGroupResource", new()
{
    OrganizationId = "string",
    SecurityProfileGroupId = "string",
    Description = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Location = "string",
    Name = "string",
    ThreatPreventionProfile = "string",
});
Copy
example, err := networksecurityv1beta1.NewSecurityProfileGroup(ctx, "securityProfileGroupResource", &networksecurityv1beta1.SecurityProfileGroupArgs{
	OrganizationId:         pulumi.String("string"),
	SecurityProfileGroupId: pulumi.String("string"),
	Description:            pulumi.String("string"),
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Location:                pulumi.String("string"),
	Name:                    pulumi.String("string"),
	ThreatPreventionProfile: pulumi.String("string"),
})
Copy
var securityProfileGroupResource = new SecurityProfileGroup("securityProfileGroupResource", SecurityProfileGroupArgs.builder()
    .organizationId("string")
    .securityProfileGroupId("string")
    .description("string")
    .labels(Map.of("string", "string"))
    .location("string")
    .name("string")
    .threatPreventionProfile("string")
    .build());
Copy
security_profile_group_resource = google_native.networksecurity.v1beta1.SecurityProfileGroup("securityProfileGroupResource",
    organization_id="string",
    security_profile_group_id="string",
    description="string",
    labels={
        "string": "string",
    },
    location="string",
    name="string",
    threat_prevention_profile="string")
Copy
const securityProfileGroupResource = new google_native.networksecurity.v1beta1.SecurityProfileGroup("securityProfileGroupResource", {
    organizationId: "string",
    securityProfileGroupId: "string",
    description: "string",
    labels: {
        string: "string",
    },
    location: "string",
    name: "string",
    threatPreventionProfile: "string",
});
Copy
type: google-native:networksecurity/v1beta1:SecurityProfileGroup
properties:
    description: string
    labels:
        string: string
    location: string
    name: string
    organizationId: string
    securityProfileGroupId: string
    threatPreventionProfile: string
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The SecurityProfileGroup resource accepts the following input properties:

OrganizationId
This property is required.
Changes to this property will trigger replacement.
string
SecurityProfileGroupId
This property is required.
Changes to this property will trigger replacement.
string
Required. Short name of the SecurityProfileGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile_group1".
Description string
Optional. An optional description of the profile group. Max length 2048 characters.
Labels Dictionary<string, string>
Optional. Labels as key value pairs.
Location Changes to this property will trigger replacement. string
Name string
Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}.
ThreatPreventionProfile string
Optional. Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.
OrganizationId
This property is required.
Changes to this property will trigger replacement.
string
SecurityProfileGroupId
This property is required.
Changes to this property will trigger replacement.
string
Required. Short name of the SecurityProfileGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile_group1".
Description string
Optional. An optional description of the profile group. Max length 2048 characters.
Labels map[string]string
Optional. Labels as key value pairs.
Location Changes to this property will trigger replacement. string
Name string
Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}.
ThreatPreventionProfile string
Optional. Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.
organizationId
This property is required.
Changes to this property will trigger replacement.
String
securityProfileGroupId
This property is required.
Changes to this property will trigger replacement.
String
Required. Short name of the SecurityProfileGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile_group1".
description String
Optional. An optional description of the profile group. Max length 2048 characters.
labels Map<String,String>
Optional. Labels as key value pairs.
location Changes to this property will trigger replacement. String
name String
Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}.
threatPreventionProfile String
Optional. Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.
organizationId
This property is required.
Changes to this property will trigger replacement.
string
securityProfileGroupId
This property is required.
Changes to this property will trigger replacement.
string
Required. Short name of the SecurityProfileGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile_group1".
description string
Optional. An optional description of the profile group. Max length 2048 characters.
labels {[key: string]: string}
Optional. Labels as key value pairs.
location Changes to this property will trigger replacement. string
name string
Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}.
threatPreventionProfile string
Optional. Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.
organization_id
This property is required.
Changes to this property will trigger replacement.
str
security_profile_group_id
This property is required.
Changes to this property will trigger replacement.
str
Required. Short name of the SecurityProfileGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile_group1".
description str
Optional. An optional description of the profile group. Max length 2048 characters.
labels Mapping[str, str]
Optional. Labels as key value pairs.
location Changes to this property will trigger replacement. str
name str
Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}.
threat_prevention_profile str
Optional. Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.
organizationId
This property is required.
Changes to this property will trigger replacement.
String
securityProfileGroupId
This property is required.
Changes to this property will trigger replacement.
String
Required. Short name of the SecurityProfileGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile_group1".
description String
Optional. An optional description of the profile group. Max length 2048 characters.
labels Map<String>
Optional. Labels as key value pairs.
location Changes to this property will trigger replacement. String
name String
Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}.
threatPreventionProfile String
Optional. 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
Resource creation timestamp.
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.
UpdateTime string
Last resource update timestamp.
CreateTime string
Resource creation timestamp.
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.
UpdateTime string
Last resource update timestamp.
createTime String
Resource creation timestamp.
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.
updateTime String
Last resource update timestamp.
createTime string
Resource creation timestamp.
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.
updateTime string
Last resource update timestamp.
create_time str
Resource creation timestamp.
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.
update_time str
Last resource update timestamp.
createTime String
Resource creation timestamp.
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.
updateTime String
Last resource update timestamp.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi