Package com.pulumi.gcp.vmwareengine
Class Network
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.gcp.vmwareengine.Network
-
public class Network extends com.pulumi.resources.CustomResource
## Example Usage ## Import Network can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/vmwareEngineNetworks/{{name}}` * `{{project}}/{{location}}/{{name}}` * `{{location}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Network using one of the formats above. For exampletf import { id = "projects/{{project}}/locations/{{location}}/vmwareEngineNetworks/{{name}}" to = google_vmwareengine_network.default } ```sh $ pulumi import gcp:vmwareengine/network:Network When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Network can be imported using one of the formats above. For example ``` ```sh $ pulumi import gcp:vmwareengine/network:Network default projects/{{project}}/locations/{{location}}/vmwareEngineNetworks/{{name}} ``` ```sh $ pulumi import gcp:vmwareengine/network:Network default {{project}}/{{location}}/{{name}} ``` ```sh $ pulumi import gcp:vmwareengine/network:Network default {{location}}/{{name}} ```
-
-
Constructor Summary
Constructors Constructor Description Network(java.lang.String name)
Network(java.lang.String name, NetworkArgs args)
Network(java.lang.String name, NetworkArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.util.Optional<java.lang.String>>
description()
static Network
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, NetworkState state, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>
location()
com.pulumi.core.Output<java.lang.String>
name()
com.pulumi.core.Output<java.lang.String>
project()
com.pulumi.core.Output<java.lang.String>
state()
com.pulumi.core.Output<java.lang.String>
type()
com.pulumi.core.Output<java.lang.String>
uid()
com.pulumi.core.Output<java.util.List<NetworkVpcNetwork>>
vpcNetworks()
-
-
-
Constructor Detail
-
Network
public Network(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
Network
public Network(java.lang.String name, NetworkArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
Network
public Network(java.lang.String name, NetworkArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
description
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> description()
- Returns:
- User-provided description for this VMware Engine network.
-
location
public com.pulumi.core.Output<java.lang.String> location()
- Returns:
- The location where the VMwareEngineNetwork should reside.
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- The ID of the VMwareEngineNetwork. ***
-
project
public com.pulumi.core.Output<java.lang.String> project()
- Returns:
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
-
state
public com.pulumi.core.Output<java.lang.String> state()
- Returns:
- State of the VMware Engine network.
-
type
public com.pulumi.core.Output<java.lang.String> type()
- Returns:
- VMware Engine network type. Possible values are: `LEGACY`.
-
uid
public com.pulumi.core.Output<java.lang.String> uid()
- Returns:
- System-generated unique identifier for the resource.
-
vpcNetworks
public com.pulumi.core.Output<java.util.List<NetworkVpcNetwork>> vpcNetworks()
- Returns:
- VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services. Structure is documented below.
-
get
public static Network get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable NetworkState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.state
-options
- Optional settings to control the behavior of the CustomResource.
-
-