1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. compute
  5. NetworkEdgeSecurityService
Google Cloud Classic v7.2.2 published on Monday, Jan 1, 0001 by Pulumi

gcp.compute.NetworkEdgeSecurityService

Explore with Pulumi AI

gcp logo
Google Cloud Classic v7.2.2 published on Monday, Jan 1, 0001 by Pulumi

    Import

    NetworkEdgeSecurityService can be imported using any of these accepted formats* projects/{{project}}/regions/{{region}}/networkEdgeSecurityServices/{{name}} * {{project}}/{{region}}/{{name}} * {{region}}/{{name}} * {{name}} In Terraform v1.5.0 and later, use an import block to import NetworkEdgeSecurityService using one of the formats above. For exampletf import {

    id = “projects/{{project}}/regions/{{region}}/networkEdgeSecurityServices/{{name}}”

    to = google_compute_network_edge_security_service.default }

     $ pulumi import gcp:compute/networkEdgeSecurityService:NetworkEdgeSecurityService When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), NetworkEdgeSecurityService can be imported using one of the formats above. For example
    
     $ pulumi import gcp:compute/networkEdgeSecurityService:NetworkEdgeSecurityService default projects/{{project}}/regions/{{region}}/networkEdgeSecurityServices/{{name}}
    
     $ pulumi import gcp:compute/networkEdgeSecurityService:NetworkEdgeSecurityService default {{project}}/{{region}}/{{name}}
    
     $ pulumi import gcp:compute/networkEdgeSecurityService:NetworkEdgeSecurityService default {{region}}/{{name}}
    
     $ pulumi import gcp:compute/networkEdgeSecurityService:NetworkEdgeSecurityService default {{name}}
    

    Example Usage

    Compute Network Edge Security Service Basic

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Gcp.Compute.NetworkEdgeSecurityService("default", new()
        {
            Region = "us-east1",
            Description = "My basic resource",
        }, new CustomResourceOptions
        {
            Provider = google_beta,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := compute.NewNetworkEdgeSecurityService(ctx, "default", &compute.NetworkEdgeSecurityServiceArgs{
    			Region:      pulumi.String("us-east1"),
    			Description: pulumi.String("My basic resource"),
    		}, pulumi.Provider(google_beta))
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.compute.NetworkEdgeSecurityService;
    import com.pulumi.gcp.compute.NetworkEdgeSecurityServiceArgs;
    import com.pulumi.resources.CustomResourceOptions;
    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 default_ = new NetworkEdgeSecurityService("default", NetworkEdgeSecurityServiceArgs.builder()        
                .region("us-east1")
                .description("My basic resource")
                .build(), CustomResourceOptions.builder()
                    .provider(google_beta)
                    .build());
    
        }
    }
    
    import pulumi
    import pulumi_gcp as gcp
    
    default = gcp.compute.NetworkEdgeSecurityService("default",
        region="us-east1",
        description="My basic resource",
        opts=pulumi.ResourceOptions(provider=google_beta))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const _default = new gcp.compute.NetworkEdgeSecurityService("default", {
        region: "us-east1",
        description: "My basic resource",
    }, {
        provider: google_beta,
    });
    
    resources:
      default:
        type: gcp:compute:NetworkEdgeSecurityService
        properties:
          region: us-east1
          description: My basic resource
        options:
          provider: ${["google-beta"]}
    

    Create NetworkEdgeSecurityService Resource

    new NetworkEdgeSecurityService(name: string, args?: NetworkEdgeSecurityServiceArgs, opts?: CustomResourceOptions);
    @overload
    def NetworkEdgeSecurityService(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   description: Optional[str] = None,
                                   name: Optional[str] = None,
                                   project: Optional[str] = None,
                                   region: Optional[str] = None,
                                   security_policy: Optional[str] = None)
    @overload
    def NetworkEdgeSecurityService(resource_name: str,
                                   args: Optional[NetworkEdgeSecurityServiceArgs] = None,
                                   opts: Optional[ResourceOptions] = None)
    func NewNetworkEdgeSecurityService(ctx *Context, name string, args *NetworkEdgeSecurityServiceArgs, opts ...ResourceOption) (*NetworkEdgeSecurityService, error)
    public NetworkEdgeSecurityService(string name, NetworkEdgeSecurityServiceArgs? args = null, CustomResourceOptions? opts = null)
    public NetworkEdgeSecurityService(String name, NetworkEdgeSecurityServiceArgs args)
    public NetworkEdgeSecurityService(String name, NetworkEdgeSecurityServiceArgs args, CustomResourceOptions options)
    
    type: gcp:compute:NetworkEdgeSecurityService
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args NetworkEdgeSecurityServiceArgs
    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 NetworkEdgeSecurityServiceArgs
    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 NetworkEdgeSecurityServiceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NetworkEdgeSecurityServiceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NetworkEdgeSecurityServiceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Description string

    Free-text description of the resource.

    Name string

    Name of the resource. Provided by the client when the resource is created.


    Project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    Region string

    The region of the gateway security policy.

    SecurityPolicy string

    The resource URL for the network edge security service associated with this network edge security service.

    Description string

    Free-text description of the resource.

    Name string

    Name of the resource. Provided by the client when the resource is created.


    Project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    Region string

    The region of the gateway security policy.

    SecurityPolicy string

    The resource URL for the network edge security service associated with this network edge security service.

    description String

    Free-text description of the resource.

    name String

    Name of the resource. Provided by the client when the resource is created.


    project String

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    region String

    The region of the gateway security policy.

    securityPolicy String

    The resource URL for the network edge security service associated with this network edge security service.

    description string

    Free-text description of the resource.

    name string

    Name of the resource. Provided by the client when the resource is created.


    project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    region string

    The region of the gateway security policy.

    securityPolicy string

    The resource URL for the network edge security service associated with this network edge security service.

    description str

    Free-text description of the resource.

    name str

    Name of the resource. Provided by the client when the resource is created.


    project str

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    region str

    The region of the gateway security policy.

    security_policy str

    The resource URL for the network edge security service associated with this network edge security service.

    description String

    Free-text description of the resource.

    name String

    Name of the resource. Provided by the client when the resource is created.


    project String

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    region String

    The region of the gateway security policy.

    securityPolicy String

    The resource URL for the network edge security service associated with this network edge security service.

    Outputs

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

    CreationTimestamp string

    Creation timestamp in RFC3339 text format.

    Fingerprint string

    Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet.

    Id string

    The provider-assigned unique ID for this managed resource.

    SelfLink string

    Server-defined URL for the resource.

    SelfLinkWithServiceId string

    Server-defined URL for this resource with the resource id.

    ServiceId string

    The unique identifier for the resource. This identifier is defined by the server.

    CreationTimestamp string

    Creation timestamp in RFC3339 text format.

    Fingerprint string

    Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet.

    Id string

    The provider-assigned unique ID for this managed resource.

    SelfLink string

    Server-defined URL for the resource.

    SelfLinkWithServiceId string

    Server-defined URL for this resource with the resource id.

    ServiceId string

    The unique identifier for the resource. This identifier is defined by the server.

    creationTimestamp String

    Creation timestamp in RFC3339 text format.

    fingerprint String

    Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet.

    id String

    The provider-assigned unique ID for this managed resource.

    selfLink String

    Server-defined URL for the resource.

    selfLinkWithServiceId String

    Server-defined URL for this resource with the resource id.

    serviceId String

    The unique identifier for the resource. This identifier is defined by the server.

    creationTimestamp string

    Creation timestamp in RFC3339 text format.

    fingerprint string

    Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet.

    id string

    The provider-assigned unique ID for this managed resource.

    selfLink string

    Server-defined URL for the resource.

    selfLinkWithServiceId string

    Server-defined URL for this resource with the resource id.

    serviceId string

    The unique identifier for the resource. This identifier is defined by the server.

    creation_timestamp str

    Creation timestamp in RFC3339 text format.

    fingerprint str

    Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet.

    id str

    The provider-assigned unique ID for this managed resource.

    self_link str

    Server-defined URL for the resource.

    self_link_with_service_id str

    Server-defined URL for this resource with the resource id.

    service_id str

    The unique identifier for the resource. This identifier is defined by the server.

    creationTimestamp String

    Creation timestamp in RFC3339 text format.

    fingerprint String

    Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet.

    id String

    The provider-assigned unique ID for this managed resource.

    selfLink String

    Server-defined URL for the resource.

    selfLinkWithServiceId String

    Server-defined URL for this resource with the resource id.

    serviceId String

    The unique identifier for the resource. This identifier is defined by the server.

    Look up Existing NetworkEdgeSecurityService Resource

    Get an existing NetworkEdgeSecurityService 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?: NetworkEdgeSecurityServiceState, opts?: CustomResourceOptions): NetworkEdgeSecurityService
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            creation_timestamp: Optional[str] = None,
            description: Optional[str] = None,
            fingerprint: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            region: Optional[str] = None,
            security_policy: Optional[str] = None,
            self_link: Optional[str] = None,
            self_link_with_service_id: Optional[str] = None,
            service_id: Optional[str] = None) -> NetworkEdgeSecurityService
    func GetNetworkEdgeSecurityService(ctx *Context, name string, id IDInput, state *NetworkEdgeSecurityServiceState, opts ...ResourceOption) (*NetworkEdgeSecurityService, error)
    public static NetworkEdgeSecurityService Get(string name, Input<string> id, NetworkEdgeSecurityServiceState? state, CustomResourceOptions? opts = null)
    public static NetworkEdgeSecurityService get(String name, Output<String> id, NetworkEdgeSecurityServiceState 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:
    CreationTimestamp string

    Creation timestamp in RFC3339 text format.

    Description string

    Free-text description of the resource.

    Fingerprint string

    Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet.

    Name string

    Name of the resource. Provided by the client when the resource is created.


    Project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    Region string

    The region of the gateway security policy.

    SecurityPolicy string

    The resource URL for the network edge security service associated with this network edge security service.

    SelfLink string

    Server-defined URL for the resource.

    SelfLinkWithServiceId string

    Server-defined URL for this resource with the resource id.

    ServiceId string

    The unique identifier for the resource. This identifier is defined by the server.

    CreationTimestamp string

    Creation timestamp in RFC3339 text format.

    Description string

    Free-text description of the resource.

    Fingerprint string

    Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet.

    Name string

    Name of the resource. Provided by the client when the resource is created.


    Project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    Region string

    The region of the gateway security policy.

    SecurityPolicy string

    The resource URL for the network edge security service associated with this network edge security service.

    SelfLink string

    Server-defined URL for the resource.

    SelfLinkWithServiceId string

    Server-defined URL for this resource with the resource id.

    ServiceId string

    The unique identifier for the resource. This identifier is defined by the server.

    creationTimestamp String

    Creation timestamp in RFC3339 text format.

    description String

    Free-text description of the resource.

    fingerprint String

    Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet.

    name String

    Name of the resource. Provided by the client when the resource is created.


    project String

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    region String

    The region of the gateway security policy.

    securityPolicy String

    The resource URL for the network edge security service associated with this network edge security service.

    selfLink String

    Server-defined URL for the resource.

    selfLinkWithServiceId String

    Server-defined URL for this resource with the resource id.

    serviceId String

    The unique identifier for the resource. This identifier is defined by the server.

    creationTimestamp string

    Creation timestamp in RFC3339 text format.

    description string

    Free-text description of the resource.

    fingerprint string

    Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet.

    name string

    Name of the resource. Provided by the client when the resource is created.


    project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    region string

    The region of the gateway security policy.

    securityPolicy string

    The resource URL for the network edge security service associated with this network edge security service.

    selfLink string

    Server-defined URL for the resource.

    selfLinkWithServiceId string

    Server-defined URL for this resource with the resource id.

    serviceId string

    The unique identifier for the resource. This identifier is defined by the server.

    creation_timestamp str

    Creation timestamp in RFC3339 text format.

    description str

    Free-text description of the resource.

    fingerprint str

    Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet.

    name str

    Name of the resource. Provided by the client when the resource is created.


    project str

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    region str

    The region of the gateway security policy.

    security_policy str

    The resource URL for the network edge security service associated with this network edge security service.

    self_link str

    Server-defined URL for the resource.

    self_link_with_service_id str

    Server-defined URL for this resource with the resource id.

    service_id str

    The unique identifier for the resource. This identifier is defined by the server.

    creationTimestamp String

    Creation timestamp in RFC3339 text format.

    description String

    Free-text description of the resource.

    fingerprint String

    Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet.

    name String

    Name of the resource. Provided by the client when the resource is created.


    project String

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    region String

    The region of the gateway security policy.

    securityPolicy String

    The resource URL for the network edge security service associated with this network edge security service.

    selfLink String

    Server-defined URL for the resource.

    selfLinkWithServiceId String

    Server-defined URL for this resource with the resource id.

    serviceId String

    The unique identifier for the resource. This identifier is defined by the server.

    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 v7.2.2 published on Monday, Jan 1, 0001 by Pulumi