Package com.pulumi.openstack.vpnaas
Class EndpointGroup
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.openstack.vpnaas.EndpointGroup
-
public class EndpointGroup extends com.pulumi.resources.CustomResourceManages a V2 Neutron Endpoint Group resource within OpenStack. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.openstack.vpnaas.EndpointGroup; import com.pulumi.openstack.vpnaas.EndpointGroupArgs; 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 group1 = new EndpointGroup("group1", EndpointGroupArgs.builder() .endpoints( "10.2.0.0/24", "10.3.0.0/24") .type("cidr") .build()); } } ``` ## Import Groups can be imported using the `id`, e.g. ```sh $ pulumi import openstack:vpnaas/endpointGroup:EndpointGroup group_1 832cb7f3-59fe-40cf-8f64-8350ffc03272 ```
-
-
Constructor Summary
Constructors Constructor Description EndpointGroup(java.lang.String name)EndpointGroup(java.lang.String name, EndpointGroupArgs args)EndpointGroup(java.lang.String name, EndpointGroupArgs 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()com.pulumi.core.Output<java.util.Optional<java.util.List<java.lang.String>>>endpoints()static EndpointGroupget(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, EndpointGroupState 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>name()com.pulumi.core.Output<java.lang.String>region()com.pulumi.core.Output<java.lang.String>tenantId()com.pulumi.core.Output<java.lang.String>type()com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>>>valueSpecs()
-
-
-
Constructor Detail
-
EndpointGroup
public EndpointGroup(java.lang.String name)
- Parameters:
name- The _unique_ name of the resulting resource.
-
EndpointGroup
public EndpointGroup(java.lang.String name, @Nullable EndpointGroupArgs args)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.
-
EndpointGroup
public EndpointGroup(java.lang.String name, @Nullable EndpointGroupArgs 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:
- The human-readable description for the group. Changing this updates the description of the existing group.
-
endpoints
public com.pulumi.core.Output<java.util.Optional<java.util.List<java.lang.String>>> endpoints()
- Returns:
- List of endpoints of the same type, for the endpoint group. The values will depend on the type. Changing this creates a new group.
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- The name of the group. Changing this updates the name of the existing group.
-
region
public com.pulumi.core.Output<java.lang.String> region()
- Returns:
- The region in which to obtain the V2 Networking client. A Networking client is needed to create an endpoint group. If omitted, the `region` argument of the provider is used. Changing this creates a new group.
-
tenantId
public com.pulumi.core.Output<java.lang.String> tenantId()
- Returns:
- The owner of the group. Required if admin wants to create an endpoint group for another project. Changing this creates a new group.
-
type
public com.pulumi.core.Output<java.lang.String> type()
- Returns:
- The type of the endpoints in the group. A valid value is subnet, cidr, network, router, or vlan. Changing this creates a new group.
-
valueSpecs
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>>> valueSpecs()
- Returns:
- Map of additional options.
-
get
public static EndpointGroup get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable EndpointGroupState 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.
-
-