NetworkEdgeSecurityServiceArgs

data class NetworkEdgeSecurityServiceArgs(val description: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val region: Output<String>? = null, val securityPolicy: Output<String>? = null) : ConvertibleToJava<NetworkEdgeSecurityServiceArgs>

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}}

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null, region: Output<String>? = null, securityPolicy: Output<String>? = null)

Properties

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

Free-text description of the resource.

Link copied to clipboard
val name: Output<String>? = null

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

Link copied to clipboard
val project: Output<String>? = null

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 region: Output<String>? = null

The region of the gateway security policy.

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

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

Functions

Link copied to clipboard
open override fun toJava(): NetworkEdgeSecurityServiceArgs