OpenStack

Pulumi Official
Package maintained by Pulumi
v3.8.0 published on Monday, Feb 7, 2022 by Pulumi

EndpointV3

Manages a V3 Endpoint resource within OpenStack Keystone.

Note: This usually requires admin privileges.

Example Usage

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
    public MyStack()
    {
        var service1 = new OpenStack.Identity.ServiceV3("service1", new OpenStack.Identity.ServiceV3Args
        {
            Type = "my-service-type",
        });
        var endpoint1 = new OpenStack.Identity.EndpointV3("endpoint1", new OpenStack.Identity.EndpointV3Args
        {
            EndpointRegion = service1.Region,
            ServiceId = service1.Id,
            Url = "http://my-endpoint",
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/identity"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		service1, err := identity.NewServiceV3(ctx, "service1", &identity.ServiceV3Args{
			Type: pulumi.String("my-service-type"),
		})
		if err != nil {
			return err
		}
		_, err = identity.NewEndpointV3(ctx, "endpoint1", &identity.EndpointV3Args{
			EndpointRegion: service1.Region,
			ServiceId:      service1.ID(),
			Url:            pulumi.String("http://my-endpoint"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_openstack as openstack

service1 = openstack.identity.ServiceV3("service1", type="my-service-type")
endpoint1 = openstack.identity.EndpointV3("endpoint1",
    endpoint_region=service1.region,
    service_id=service1.id,
    url="http://my-endpoint")
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";

const service1 = new openstack.identity.ServiceV3("service_1", {
    type: "my-service-type",
});
const endpoint1 = new openstack.identity.EndpointV3("endpoint_1", {
    endpointRegion: service1.region,
    serviceId: service1.id,
    url: "http://my-endpoint",
});

Coming soon!

Create a EndpointV3 Resource

new EndpointV3(name: string, args: EndpointV3Args, opts?: CustomResourceOptions);
@overload
def EndpointV3(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               endpoint_region: Optional[str] = None,
               interface: Optional[str] = None,
               name: Optional[str] = None,
               region: Optional[str] = None,
               service_id: Optional[str] = None,
               url: Optional[str] = None)
@overload
def EndpointV3(resource_name: str,
               args: EndpointV3Args,
               opts: Optional[ResourceOptions] = None)
func NewEndpointV3(ctx *Context, name string, args EndpointV3Args, opts ...ResourceOption) (*EndpointV3, error)
public EndpointV3(string name, EndpointV3Args args, CustomResourceOptions? opts = null)
public EndpointV3(String name, EndpointV3Args args)
public EndpointV3(String name, EndpointV3Args args, CustomResourceOptions options)
type: openstack:identity:EndpointV3
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args EndpointV3Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args EndpointV3Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args EndpointV3Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args EndpointV3Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args EndpointV3Args
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

EndpointV3 Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The EndpointV3 resource accepts the following input properties:

EndpointRegion string

The endpoint region. The region and endpoint_region can be different.

ServiceId string

The endpoint service ID.

Url string

The endpoint url.

Interface string

The endpoint interface. Valid values are public, internal and admin. Default value is public

Name string

The endpoint name.

Region string

The region in which to obtain the V3 Keystone client. If omitted, the region argument of the provider is used.

EndpointRegion string

The endpoint region. The region and endpoint_region can be different.

ServiceId string

The endpoint service ID.

Url string

The endpoint url.

Interface string

The endpoint interface. Valid values are public, internal and admin. Default value is public

Name string

The endpoint name.

Region string

The region in which to obtain the V3 Keystone client. If omitted, the region argument of the provider is used.

endpointRegion String

The endpoint region. The region and endpoint_region can be different.

serviceId String

The endpoint service ID.

url String

The endpoint url.

interface_ String

The endpoint interface. Valid values are public, internal and admin. Default value is public

name String

The endpoint name.

region String

The region in which to obtain the V3 Keystone client. If omitted, the region argument of the provider is used.

endpointRegion string

The endpoint region. The region and endpoint_region can be different.

serviceId string

The endpoint service ID.

url string

The endpoint url.

interface string

The endpoint interface. Valid values are public, internal and admin. Default value is public

name string

The endpoint name.

region string

The region in which to obtain the V3 Keystone client. If omitted, the region argument of the provider is used.

endpoint_region str

The endpoint region. The region and endpoint_region can be different.

service_id str

The endpoint service ID.

url str

The endpoint url.

interface str

The endpoint interface. Valid values are public, internal and admin. Default value is public

name str

The endpoint name.

region str

The region in which to obtain the V3 Keystone client. If omitted, the region argument of the provider is used.

endpointRegion String

The endpoint region. The region and endpoint_region can be different.

serviceId String

The endpoint service ID.

url String

The endpoint url.

interface String

The endpoint interface. Valid values are public, internal and admin. Default value is public

name String

The endpoint name.

region String

The region in which to obtain the V3 Keystone client. If omitted, the region argument of the provider is used.

Outputs

All input properties are implicitly available as output properties. Additionally, the EndpointV3 resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

ServiceName string

The service name of the endpoint.

ServiceType string

The service type of the endpoint.

Id string

The provider-assigned unique ID for this managed resource.

ServiceName string

The service name of the endpoint.

ServiceType string

The service type of the endpoint.

id String

The provider-assigned unique ID for this managed resource.

serviceName String

The service name of the endpoint.

serviceType String

The service type of the endpoint.

id string

The provider-assigned unique ID for this managed resource.

serviceName string

The service name of the endpoint.

serviceType string

The service type of the endpoint.

id str

The provider-assigned unique ID for this managed resource.

service_name str

The service name of the endpoint.

service_type str

The service type of the endpoint.

id String

The provider-assigned unique ID for this managed resource.

serviceName String

The service name of the endpoint.

serviceType String

The service type of the endpoint.

Look up an Existing EndpointV3 Resource

Get an existing EndpointV3 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: EndpointV3State, opts?: CustomResourceOptions): EndpointV3
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        endpoint_region: Optional[str] = None,
        interface: Optional[str] = None,
        name: Optional[str] = None,
        region: Optional[str] = None,
        service_id: Optional[str] = None,
        service_name: Optional[str] = None,
        service_type: Optional[str] = None,
        url: Optional[str] = None) -> EndpointV3
func GetEndpointV3(ctx *Context, name string, id IDInput, state *EndpointV3State, opts ...ResourceOption) (*EndpointV3, error)
public static EndpointV3 Get(string name, Input<string> id, EndpointV3State? state, CustomResourceOptions? opts = null)
public static EndpointV3 get(String name, Output<String> id, EndpointV3State state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
EndpointRegion string

The endpoint region. The region and endpoint_region can be different.

Interface string

The endpoint interface. Valid values are public, internal and admin. Default value is public

Name string

The endpoint name.

Region string

The region in which to obtain the V3 Keystone client. If omitted, the region argument of the provider is used.

ServiceId string

The endpoint service ID.

ServiceName string

The service name of the endpoint.

ServiceType string

The service type of the endpoint.

Url string

The endpoint url.

EndpointRegion string

The endpoint region. The region and endpoint_region can be different.

Interface string

The endpoint interface. Valid values are public, internal and admin. Default value is public

Name string

The endpoint name.

Region string

The region in which to obtain the V3 Keystone client. If omitted, the region argument of the provider is used.

ServiceId string

The endpoint service ID.

ServiceName string

The service name of the endpoint.

ServiceType string

The service type of the endpoint.

Url string

The endpoint url.

endpointRegion String

The endpoint region. The region and endpoint_region can be different.

interface_ String

The endpoint interface. Valid values are public, internal and admin. Default value is public

name String

The endpoint name.

region String

The region in which to obtain the V3 Keystone client. If omitted, the region argument of the provider is used.

serviceId String

The endpoint service ID.

serviceName String

The service name of the endpoint.

serviceType String

The service type of the endpoint.

url String

The endpoint url.

endpointRegion string

The endpoint region. The region and endpoint_region can be different.

interface string

The endpoint interface. Valid values are public, internal and admin. Default value is public

name string

The endpoint name.

region string

The region in which to obtain the V3 Keystone client. If omitted, the region argument of the provider is used.

serviceId string

The endpoint service ID.

serviceName string

The service name of the endpoint.

serviceType string

The service type of the endpoint.

url string

The endpoint url.

endpoint_region str

The endpoint region. The region and endpoint_region can be different.

interface str

The endpoint interface. Valid values are public, internal and admin. Default value is public

name str

The endpoint name.

region str

The region in which to obtain the V3 Keystone client. If omitted, the region argument of the provider is used.

service_id str

The endpoint service ID.

service_name str

The service name of the endpoint.

service_type str

The service type of the endpoint.

url str

The endpoint url.

endpointRegion String

The endpoint region. The region and endpoint_region can be different.

interface String

The endpoint interface. Valid values are public, internal and admin. Default value is public

name String

The endpoint name.

region String

The region in which to obtain the V3 Keystone client. If omitted, the region argument of the provider is used.

serviceId String

The endpoint service ID.

serviceName String

The service name of the endpoint.

serviceType String

The service type of the endpoint.

url String

The endpoint url.

Import

Endpoints can be imported using the id, e.g.

 $ pulumi import openstack:identity/endpointV3:EndpointV3 endpoint_1 5392472b-106a-4845-90c6-7c8445f18770

Package Details

Repository
https://github.com/pulumi/pulumi-openstack
License
Apache-2.0
Notes

This Pulumi package is based on the openstack Terraform Provider.