Network

class Network : KotlinCustomResource

A Distributed Cloud Edge network, which provides L3 isolation within a zone. To get more information about Network, see:

Example Usage

Edgenetwork Network

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.edgenetwork.Network;
import com.pulumi.gcp.edgenetwork.NetworkArgs;
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 exampleNetwork = new Network("exampleNetwork", NetworkArgs.builder()
.networkId("example-network")
.location("us-west1")
.zone("")
.description("Example network.")
.mtu(9000)
.labels(Map.of("environment", "dev"))
.build());
}
}

Import

Network can be imported using any of these accepted formats

$ pulumi import gcp:edgenetwork/network:Network default projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}
$ pulumi import gcp:edgenetwork/network:Network default {{project}}/{{location}}/{{zone}}/{{network_id}}
$ pulumi import gcp:edgenetwork/network:Network default {{location}}/{{zone}}/{{network_id}}
$ pulumi import gcp:edgenetwork/network:Network default {{location}}/{{network_id}}
$ pulumi import gcp:edgenetwork/network:Network default {{name}}

Properties

Link copied to clipboard
val createTime: Output<String>

The time when the subnet was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: 2014-10-02T15:01:23Z and 2014-10-02T15:01:23.045123456Z.

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

A free-text description of the resource. Max length 1024 characters.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val labels: Output<Map<String, String>>?

Labels associated with this resource.

Link copied to clipboard
val location: Output<String>

The Google Cloud region to which the target Distributed Cloud Edge zone belongs.

Link copied to clipboard
val mtu: Output<Int>?

IP (L3) MTU value of the network. Default value is 1500. Possible values are: 1500, 9000.

Link copied to clipboard
val name: Output<String>

The canonical name of this resource, with format projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}

Link copied to clipboard
val networkId: Output<String>

A unique ID that identifies this network.

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 updateTime: Output<String>

The time when the subnet was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: 2014-10-02T15:01:23Z and 2014-10-02T15:01:23.045123456Z.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val zone: Output<String>

The name of the target Distributed Cloud Edge zone.