1. Packages
  2. Google Cloud Native
  3. API Docs
  4. networksecurity
  5. networksecurity/v1
  6. GatewaySecurityPolicy

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/v1.GatewaySecurityPolicy

Explore with Pulumi AI

google-native logo

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 GatewaySecurityPolicy in a given project and location.

    Create GatewaySecurityPolicy Resource

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

    Constructor syntax

    new GatewaySecurityPolicy(name: string, args: GatewaySecurityPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def GatewaySecurityPolicy(resource_name: str,
                              args: GatewaySecurityPolicyArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def GatewaySecurityPolicy(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              gateway_security_policy_id: Optional[str] = None,
                              description: Optional[str] = None,
                              location: Optional[str] = None,
                              name: Optional[str] = None,
                              project: Optional[str] = None,
                              tls_inspection_policy: Optional[str] = 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/v1:GatewaySecurityPolicy
    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 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.

    Example

    The following reference example uses placeholder values for all input properties.

    var gatewaySecurityPolicyResource = new GoogleNative.NetworkSecurity.V1.GatewaySecurityPolicy("gatewaySecurityPolicyResource", new()
    {
        GatewaySecurityPolicyId = "string",
        Description = "string",
        Location = "string",
        Name = "string",
        Project = "string",
        TlsInspectionPolicy = "string",
    });
    
    example, err := networksecurity.NewGatewaySecurityPolicy(ctx, "gatewaySecurityPolicyResource", &networksecurity.GatewaySecurityPolicyArgs{
    GatewaySecurityPolicyId: pulumi.String("string"),
    Description: pulumi.String("string"),
    Location: pulumi.String("string"),
    Name: pulumi.String("string"),
    Project: pulumi.String("string"),
    TlsInspectionPolicy: pulumi.String("string"),
    })
    
    var gatewaySecurityPolicyResource = new GatewaySecurityPolicy("gatewaySecurityPolicyResource", GatewaySecurityPolicyArgs.builder()
        .gatewaySecurityPolicyId("string")
        .description("string")
        .location("string")
        .name("string")
        .project("string")
        .tlsInspectionPolicy("string")
        .build());
    
    gateway_security_policy_resource = google_native.networksecurity.v1.GatewaySecurityPolicy("gatewaySecurityPolicyResource",
        gateway_security_policy_id="string",
        description="string",
        location="string",
        name="string",
        project="string",
        tls_inspection_policy="string")
    
    const gatewaySecurityPolicyResource = new google_native.networksecurity.v1.GatewaySecurityPolicy("gatewaySecurityPolicyResource", {
        gatewaySecurityPolicyId: "string",
        description: "string",
        location: "string",
        name: "string",
        project: "string",
        tlsInspectionPolicy: "string",
    });
    
    type: google-native:networksecurity/v1:GatewaySecurityPolicy
    properties:
        description: string
        gatewaySecurityPolicyId: string
        location: string
        name: string
        project: string
        tlsInspectionPolicy: string
    

    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:

    GatewaySecurityPolicyId string
    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
    TlsInspectionPolicy string
    Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it.
    GatewaySecurityPolicyId string
    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
    TlsInspectionPolicy string
    Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it.
    gatewaySecurityPolicyId String
    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
    tlsInspectionPolicy String
    Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it.
    gatewaySecurityPolicyId string
    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
    tlsInspectionPolicy string
    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_policy_id str
    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_policy str
    Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it.
    gatewaySecurityPolicyId String
    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
    tlsInspectionPolicy String
    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:

    CreateTime string
    The timestamp when the resource was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateTime string
    The timestamp when the resource was updated.
    CreateTime string
    The timestamp when the resource was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdateTime string
    The timestamp when the resource was updated.
    createTime String
    The timestamp when the resource was created.
    id String
    The provider-assigned unique ID for this managed resource.
    updateTime String
    The timestamp when the resource was updated.
    createTime string
    The timestamp when the resource was created.
    id string
    The provider-assigned unique ID for this managed resource.
    updateTime 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.
    createTime String
    The timestamp when the resource was created.
    id String
    The provider-assigned unique ID for this managed resource.
    updateTime String
    The timestamp when the resource was updated.

    Package Details

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

    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