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",
        });
    }

}

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",
});

Create a EndpointV3 Resource

def EndpointV3(resource_name, opts=None, endpoint_region=None, interface=None, name=None, region=None, service_id=None, url=None, __props__=None);
func NewEndpointV3(ctx *Context, name string, args EndpointV3Args, opts ...ResourceOption) (*EndpointV3, error)
public EndpointV3(string name, EndpointV3Args args, CustomResourceOptions? opts = null)
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.
opts ResourceOptions
A bag of options that control this 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.

EndpointV3 Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model 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.

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.

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 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.

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
static get(resource_name, id, opts=None, endpoint_region=None, interface=None, name=None, region=None, service_id=None, service_name=None, service_type=None, url=None, __props__=None);
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)
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.

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.

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.

Package Details

Repository
https://github.com/pulumi/pulumi-openstack
License
Apache-2.0
Notes
This Pulumi package is based on the openstack Terraform Provider.