Class EndpointV3


  • public class EndpointV3
    extends com.pulumi.resources.CustomResource
    Manages a V3 Endpoint resource within OpenStack Keystone. > **Note:** This usually requires admin privileges. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.openstack.identity.ServiceV3; import com.pulumi.openstack.identity.ServiceV3Args; import com.pulumi.openstack.identity.EndpointV3; import com.pulumi.openstack.identity.EndpointV3Args; 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 service1 = new ServiceV3("service1", ServiceV3Args.builder() .type("my-service-type") .build()); var endpoint1 = new EndpointV3("endpoint1", EndpointV3Args.builder() .serviceId(service1.id()) .endpointRegion(service1.region()) .url("http://my-endpoint") .build()); } } ``` ## Import Endpoints can be imported using the `id`, e.g. ```sh $ pulumi import openstack:identity/endpointV3:EndpointV3 endpoint_1 5392472b-106a-4845-90c6-7c8445f18770 ```
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.pulumi.resources.CustomResource

        com.pulumi.resources.CustomResource.CustomResourceInternal
      • Nested classes/interfaces inherited from class com.pulumi.resources.Resource

        com.pulumi.resources.Resource.LazyField<T extends java.lang.Object>, com.pulumi.resources.Resource.LazyFields, com.pulumi.resources.Resource.ResourceInternal
    • Field Summary

      • Fields inherited from class com.pulumi.resources.Resource

        childResources, remote
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.pulumi.core.Output<java.lang.String> endpointRegion()  
      static EndpointV3 get​(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, EndpointV3State 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.util.Optional<java.lang.String>> interface_()  
      com.pulumi.core.Output<java.lang.String> name()  
      com.pulumi.core.Output<java.lang.String> region()  
      com.pulumi.core.Output<java.lang.String> serviceId()  
      com.pulumi.core.Output<java.lang.String> serviceName()  
      com.pulumi.core.Output<java.lang.String> serviceType()  
      com.pulumi.core.Output<java.lang.String> url()  
      • Methods inherited from class com.pulumi.resources.CustomResource

        getId, id, idFuture
      • Methods inherited from class com.pulumi.resources.Resource

        getChildResources, getResourceName, getResourceType, getUrn, pulumiChildResources, pulumiResourceName, pulumiResourceType, urn
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EndpointV3

        public EndpointV3​(java.lang.String name)
        Parameters:
        name - The _unique_ name of the resulting resource.
      • EndpointV3

        public EndpointV3​(java.lang.String name,
                          EndpointV3Args args)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
      • EndpointV3

        public EndpointV3​(java.lang.String name,
                          EndpointV3Args 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

      • endpointRegion

        public com.pulumi.core.Output<java.lang.String> endpointRegion()
        Returns:
        The endpoint region. The `region` and `endpoint_region` can be different.
      • interface_

        public com.pulumi.core.Output<java.util.Optional<java.lang.String>> interface_()
        Returns:
        The endpoint interface. Valid values are `public`, `internal` and `admin`. Default value is `public`
      • name

        public com.pulumi.core.Output<java.lang.String> name()
        Returns:
        The endpoint name.
      • region

        public com.pulumi.core.Output<java.lang.String> region()
        Returns:
        The region in which to obtain the V3 Keystone client. If omitted, the `region` argument of the provider is used.
      • serviceId

        public com.pulumi.core.Output<java.lang.String> serviceId()
        Returns:
        The endpoint service ID.
      • serviceName

        public com.pulumi.core.Output<java.lang.String> serviceName()
        Returns:
        The service name of the endpoint.
      • serviceType

        public com.pulumi.core.Output<java.lang.String> serviceType()
        Returns:
        The service type of the endpoint.
      • url

        public com.pulumi.core.Output<java.lang.String> url()
        Returns:
        The endpoint url.
      • get

        public static EndpointV3 get​(java.lang.String name,
                                     com.pulumi.core.Output<java.lang.String> id,
                                     @Nullable
                                     EndpointV3State 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.