Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.networksecurity/v1beta1.SecurityProfileGroup
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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 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 GoogleNative.NetworkSecurity.V1Beta1.SecurityProfileGroup("securityProfileGroupResource", new()
{
OrganizationId = "string",
SecurityProfileGroupId = "string",
Description = "string",
Labels =
{
{ "string", "string" },
},
Location = "string",
Name = "string",
ThreatPreventionProfile = "string",
});
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"),
})
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());
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")
const securityProfileGroupResource = new google_native.networksecurity.v1beta1.SecurityProfileGroup("securityProfileGroupResource", {
organizationId: "string",
securityProfileGroupId: "string",
description: "string",
labels: {
string: "string",
},
location: "string",
name: "string",
threatPreventionProfile: "string",
});
type: google-native:networksecurity/v1beta1:SecurityProfileGroup
properties:
description: string
labels:
string: string
location: string
name: string
organizationId: string
securityProfileGroupId: 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
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:
- Organization
Id string - Security
Profile stringGroup Id - 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 string
- Name string
- Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern
projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}
. - Threat
Prevention stringProfile - Optional. Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.
- Organization
Id string - Security
Profile stringGroup Id - 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 string
- Name string
- Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern
projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}
. - Threat
Prevention stringProfile - Optional. Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.
- organization
Id String - security
Profile StringGroup Id - 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 String
- name String
- Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern
projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}
. - threat
Prevention StringProfile - Optional. Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.
- organization
Id string - security
Profile stringGroup Id - 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 string
- name string
- Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern
projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}
. - threat
Prevention stringProfile - Optional. Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.
- organization_
id str - security_
profile_ strgroup_ id - 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 str
- name str
- Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern
projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}
. - threat_
prevention_ strprofile - Optional. Reference to a SecurityProfile with the threat prevention configuration for the SecurityProfileGroup.
- organization
Id String - security
Profile StringGroup Id - 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 String
- name String
- Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern
projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}
. - threat
Prevention StringProfile - 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:
- Create
Time 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.
- Update
Time string - Last resource update timestamp.
- Create
Time 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.
- Update
Time string - Last resource update timestamp.
- create
Time 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.
- update
Time String - Last resource update timestamp.
- create
Time 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.
- update
Time 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.
- create
Time 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.
- update
Time 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.