Google Cloud Native v0.30.0, Apr 14 23
Google Cloud Native v0.30.0, Apr 14 23
google-native.networksecurity/v1beta1.GatewaySecurityPolicy
Explore with Pulumi AI
Creates a new GatewaySecurityPolicy in a given project and location.
Create GatewaySecurityPolicy Resource
new GatewaySecurityPolicy(name: string, args: GatewaySecurityPolicyArgs, opts?: CustomResourceOptions);
@overload
def GatewaySecurityPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
gateway_security_policy_id: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
tls_inspection_policy: Optional[str] = None)
@overload
def GatewaySecurityPolicy(resource_name: str,
args: GatewaySecurityPolicyArgs,
opts: Optional[ResourceOptions] = None)
func NewGatewaySecurityPolicy(ctx *Context, name string, args GatewaySecurityPolicyArgs, opts ...ResourceOption) (*GatewaySecurityPolicy, error)
public GatewaySecurityPolicy(string name, GatewaySecurityPolicyArgs args, CustomResourceOptions? opts = null)
public GatewaySecurityPolicy(String name, GatewaySecurityPolicyArgs args)
public GatewaySecurityPolicy(String name, GatewaySecurityPolicyArgs args, CustomResourceOptions options)
type: google-native:networksecurity/v1beta1:GatewaySecurityPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewaySecurityPolicyArgs
- 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 GatewaySecurityPolicyArgs
- 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 GatewaySecurityPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewaySecurityPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewaySecurityPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
GatewaySecurityPolicy 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 GatewaySecurityPolicy resource accepts the following input properties:
- Gateway
Security stringPolicy Id Required. Short name of the GatewaySecurityPolicy 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. "gateway_security_policy1".
- Description string
Optional. Free-text description of the resource.
- Location string
- Name string
Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should match the pattern:(^a-z?$).
- Project string
- Tls
Inspection stringPolicy Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it.
- Gateway
Security stringPolicy Id Required. Short name of the GatewaySecurityPolicy 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. "gateway_security_policy1".
- Description string
Optional. Free-text description of the resource.
- Location string
- Name string
Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should match the pattern:(^a-z?$).
- Project string
- Tls
Inspection stringPolicy Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it.
- gateway
Security StringPolicy Id Required. Short name of the GatewaySecurityPolicy 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. "gateway_security_policy1".
- description String
Optional. Free-text description of the resource.
- location String
- name String
Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should match the pattern:(^a-z?$).
- project String
- tls
Inspection StringPolicy Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it.
- gateway
Security stringPolicy Id Required. Short name of the GatewaySecurityPolicy 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. "gateway_security_policy1".
- description string
Optional. Free-text description of the resource.
- location string
- name string
Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should match the pattern:(^a-z?$).
- project string
- tls
Inspection stringPolicy Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it.
- gateway_
security_ strpolicy_ id Required. Short name of the GatewaySecurityPolicy 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. "gateway_security_policy1".
- description str
Optional. Free-text description of the resource.
- location str
- name str
Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should match the pattern:(^a-z?$).
- project str
- tls_
inspection_ strpolicy Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it.
- gateway
Security StringPolicy Id Required. Short name of the GatewaySecurityPolicy 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. "gateway_security_policy1".
- description String
Optional. Free-text description of the resource.
- location String
- name String
Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should match the pattern:(^a-z?$).
- project String
- tls
Inspection StringPolicy Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it.
Outputs
All input properties are implicitly available as output properties. Additionally, the GatewaySecurityPolicy resource produces the following output properties:
- Create
Time string The timestamp when the resource was created.
- Id string
The provider-assigned unique ID for this managed resource.
- Update
Time string The timestamp when the resource was updated.
- Create
Time string The timestamp when the resource was created.
- Id string
The provider-assigned unique ID for this managed resource.
- Update
Time string The timestamp when the resource was updated.
- create
Time String The timestamp when the resource was created.
- id String
The provider-assigned unique ID for this managed resource.
- update
Time String The timestamp when the resource was updated.
- create
Time string The timestamp when the resource was created.
- id string
The provider-assigned unique ID for this managed resource.
- update
Time string The timestamp when the resource was updated.
- create_
time str The timestamp when the resource was created.
- id str
The provider-assigned unique ID for this managed resource.
- update_
time str The timestamp when the resource was updated.
- create
Time String The timestamp when the resource was created.
- id String
The provider-assigned unique ID for this managed resource.
- update
Time String The timestamp when the resource was updated.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0