Class 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",
});
}
}
Inherited Members
Namespace: Pulumi.OpenStack.Identity
Assembly: Pulumi.OpenStack.dll
Syntax
public class EndpointV3 : CustomResource
Constructors
View SourceEndpointV3(String, EndpointV3Args, CustomResourceOptions)
Create a EndpointV3 resource with the given unique name, arguments, and options.
Declaration
public EndpointV3(string name, EndpointV3Args args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| EndpointV3Args | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceEndpointRegion
The endpoint region. The region and
endpoint_region can be different.
Declaration
public Output<string> EndpointRegion { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Interface
The endpoint interface. Valid values are public,
internal and admin. Default value is public
Declaration
public Output<string> Interface { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The endpoint name.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Region
The region in which to obtain the V3 Keystone client.
If omitted, the region argument of the provider is used.
Declaration
public Output<string> Region { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ServiceId
The endpoint service ID.
Declaration
public Output<string> ServiceId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ServiceName
The service name of the endpoint.
Declaration
public Output<string> ServiceName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ServiceType
The service type of the endpoint.
Declaration
public Output<string> ServiceType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Url
The endpoint url.
Declaration
public Output<string> Url { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, EndpointV3State, CustomResourceOptions)
Get an existing EndpointV3 resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static EndpointV3 Get(string name, Input<string> id, EndpointV3State state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| EndpointV3State | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| EndpointV3 |