EndpointArgs

data class EndpointArgs(val description: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val network: Output<String>? = null, val project: Output<String>? = null, val severity: Output<String>? = null, val threatExceptions: Output<List<String>>? = null) : ConvertibleToJava<EndpointArgs>

Cloud IDS is an intrusion detection service that provides threat detection for intrusions, malware, spyware, and command-and-control attacks on your network. To get more information about Endpoint, see:

Example Usage

Cloudids Endpoint

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.Network;
import com.pulumi.gcp.compute.GlobalAddress;
import com.pulumi.gcp.compute.GlobalAddressArgs;
import com.pulumi.gcp.servicenetworking.Connection;
import com.pulumi.gcp.servicenetworking.ConnectionArgs;
import com.pulumi.gcp.cloudids.Endpoint;
import com.pulumi.gcp.cloudids.EndpointArgs;
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 Network("default");
var serviceRange = new GlobalAddress("serviceRange", GlobalAddressArgs.builder()
.purpose("VPC_PEERING")
.addressType("INTERNAL")
.prefixLength(16)
.network(default_.id())
.build());
var privateServiceConnection = new Connection("privateServiceConnection", ConnectionArgs.builder()
.network(default_.id())
.service("servicenetworking.googleapis.com")
.reservedPeeringRanges(serviceRange.name())
.build());
var example_endpoint = new Endpoint("example-endpoint", EndpointArgs.builder()
.location("us-central1-f")
.network(default_.id())
.severity("INFORMATIONAL")
.build(), CustomResourceOptions.builder()
.dependsOn(privateServiceConnection)
.build());
}
}

Import

Endpoint can be imported using any of these accepted formats

$ pulumi import gcp:cloudids/endpoint:Endpoint default projects/{{project}}/locations/{{location}}/endpoints/{{name}}
$ pulumi import gcp:cloudids/endpoint:Endpoint default {{project}}/{{location}}/{{name}}
$ pulumi import gcp:cloudids/endpoint:Endpoint default {{location}}/{{name}}

Constructors

Link copied to clipboard
constructor(description: Output<String>? = null, location: Output<String>? = null, name: Output<String>? = null, network: Output<String>? = null, project: Output<String>? = null, severity: Output<String>? = null, threatExceptions: Output<List<String>>? = null)

Properties

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

An optional description of the endpoint.

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

The location for the endpoint.

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

Name of the endpoint in the format projects/{project_id}/locations/{locationId}/endpoints/{endpointId}.

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

Name of the VPC network that is connected to the IDS endpoint. This can either contain the VPC network name itself (like "src-net") or the full URL to the network (like "projects/{project_id}/global/networks/src-net").

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

The minimum alert severity level that is reported by the endpoint. Possible values are: INFORMATIONAL, LOW, MEDIUM, HIGH, CRITICAL.

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

Configuration for threat IDs excluded from generating alerts. Limit: 99 IDs.

Functions

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