NetworkEdgeSecurityService

class NetworkEdgeSecurityService : KotlinCustomResource

Example Usage

Compute Network Edge Security Service Basic

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const _default = new gcp.compute.NetworkEdgeSecurityService("default", {
name: "my-edge-security-service",
region: "us-east1",
description: "My basic resource",
});
import pulumi
import pulumi_gcp as gcp
default = gcp.compute.NetworkEdgeSecurityService("default",
name="my-edge-security-service",
region="us-east1",
description="My basic resource")
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()
{
Name = "my-edge-security-service",
Region = "us-east1",
Description = "My basic resource",
});
});
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/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{
Name: pulumi.String("my-edge-security-service"),
Region: pulumi.String("us-east1"),
Description: pulumi.String("My basic resource"),
})
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 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()
.name("my-edge-security-service")
.region("us-east1")
.description("My basic resource")
.build());
}
}
resources:
default:
type: gcp:compute:NetworkEdgeSecurityService
properties:
name: my-edge-security-service
region: us-east1
description: My basic resource

Import

NetworkEdgeSecurityService can be imported using any of these accepted formats:

  • projects/{{project}}/regions/{{region}}/networkEdgeSecurityServices/{{name}}

  • {{project}}/{{region}}/{{name}}

  • {{region}}/{{name}}

  • {{name}} When using the pulumi import command, 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}}

Properties

Link copied to clipboard

Creation timestamp in RFC3339 text format.

Link copied to clipboard
val description: Output<String>?

Free-text description of the resource.

Link copied to clipboard
val fingerprint: Output<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.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

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

Link copied to clipboard
val project: Output<String>

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

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val region: Output<String>?

The region of the gateway security policy.

Link copied to clipboard
val securityPolicy: Output<String>?

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

Link copied to clipboard
val selfLink: Output<String>

Server-defined URL for the resource.

Link copied to clipboard

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

Link copied to clipboard
val serviceId: Output<String>

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

Link copied to clipboard
val urn: Output<String>