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
new EndpointV3(name: string, args: EndpointV3Args, opts?: CustomResourceOptions);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:
- Endpoint
Region string The endpoint region. The
regionandendpoint_regioncan be different.- Service
Id string The endpoint service ID.
- Url string
The endpoint url.
- Interface string
The endpoint interface. Valid values are
public,internalandadmin. Default value ispublic- Name string
The endpoint name.
- Region string
The region in which to obtain the V3 Keystone client. If omitted, the
regionargument of the provider is used.
- Endpoint
Region string The endpoint region. The
regionandendpoint_regioncan be different.- Service
Id string The endpoint service ID.
- Url string
The endpoint url.
- Interface string
The endpoint interface. Valid values are
public,internalandadmin. Default value ispublic- Name string
The endpoint name.
- Region string
The region in which to obtain the V3 Keystone client. If omitted, the
regionargument of the provider is used.
- endpoint
Region string The endpoint region. The
regionandendpoint_regioncan be different.- service
Id string The endpoint service ID.
- url string
The endpoint url.
- interface string
The endpoint interface. Valid values are
public,internalandadmin. Default value ispublic- name string
The endpoint name.
- region string
The region in which to obtain the V3 Keystone client. If omitted, the
regionargument of the provider is used.
- endpoint_
region str The endpoint region. The
regionandendpoint_regioncan be different.- service_
id str The endpoint service ID.
- url str
The endpoint url.
- interface str
The endpoint interface. Valid values are
public,internalandadmin. Default value ispublic- name str
The endpoint name.
- region str
The region in which to obtain the V3 Keystone client. If omitted, the
regionargument 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.
- Service
Name string The service name of the endpoint.
- Service
Type string The service type of the endpoint.
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Name string The service name of the endpoint.
- Service
Type string The service type of the endpoint.
- id string
- The provider-assigned unique ID for this managed resource.
- service
Name string The service name of the endpoint.
- service
Type 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): EndpointV3static 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:
- Endpoint
Region string The endpoint region. The
regionandendpoint_regioncan be different.- Interface string
The endpoint interface. Valid values are
public,internalandadmin. Default value ispublic- Name string
The endpoint name.
- Region string
The region in which to obtain the V3 Keystone client. If omitted, the
regionargument of the provider is used.- Service
Id string The endpoint service ID.
- Service
Name string The service name of the endpoint.
- Service
Type string The service type of the endpoint.
- Url string
The endpoint url.
- Endpoint
Region string The endpoint region. The
regionandendpoint_regioncan be different.- Interface string
The endpoint interface. Valid values are
public,internalandadmin. Default value ispublic- Name string
The endpoint name.
- Region string
The region in which to obtain the V3 Keystone client. If omitted, the
regionargument of the provider is used.- Service
Id string The endpoint service ID.
- Service
Name string The service name of the endpoint.
- Service
Type string The service type of the endpoint.
- Url string
The endpoint url.
- endpoint
Region string The endpoint region. The
regionandendpoint_regioncan be different.- interface string
The endpoint interface. Valid values are
public,internalandadmin. Default value ispublic- name string
The endpoint name.
- region string
The region in which to obtain the V3 Keystone client. If omitted, the
regionargument of the provider is used.- service
Id string The endpoint service ID.
- service
Name string The service name of the endpoint.
- service
Type string The service type of the endpoint.
- url string
The endpoint url.
- endpoint_
region str The endpoint region. The
regionandendpoint_regioncan be different.- interface str
The endpoint interface. Valid values are
public,internalandadmin. Default value ispublic- name str
The endpoint name.
- region str
The region in which to obtain the V3 Keystone client. If omitted, the
regionargument 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
openstackTerraform Provider.