identity

package
v2.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationCredential

type ApplicationCredential struct {
	pulumi.CustomResourceState

	// A collection of one or more access rules, which
	// this application credential allows to follow. The structure is described
	// below. Changing this creates a new application credential.
	AccessRules ApplicationCredentialAccessRuleArrayOutput `pulumi:"accessRules"`
	// A description of the application credential.
	// Changing this creates a new application credential.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The expiration time of the application credential
	// in the RFC3339 timestamp format (e.g. `2019-03-09T12:58:49Z`). If omitted,
	// an application credential will never expire. Changing this creates a new
	// application credential.
	ExpiresAt pulumi.StringPtrOutput `pulumi:"expiresAt"`
	// A name of the application credential. Changing this
	// creates a new application credential.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project the application credential was created
	// for and that authentication requests using this application credential will
	// be scoped to.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used. Changing this
	// creates a new application credential.
	Region pulumi.StringOutput `pulumi:"region"`
	// A collection of one or more role names, which this
	// application credential has to be associated with its project. If omitted,
	// all the current user's roles within the scoped project will be inherited by
	// a new application credential. Changing this creates a new application
	// credential.
	Roles pulumi.StringArrayOutput `pulumi:"roles"`
	// The secret for the application credential. If omitted,
	// it will be generated by the server. Changing this creates a new application
	// credential.
	Secret pulumi.StringOutput `pulumi:"secret"`
	// A flag indicating whether the application
	// credential may be used for creation or destruction of other application
	// credentials or trusts. Changing this creates a new application credential.
	Unrestricted pulumi.BoolPtrOutput `pulumi:"unrestricted"`
}

## Import

Application Credentials can be imported using the `id`, e.g.

```sh

$ pulumi import openstack:identity/applicationCredential:ApplicationCredential application_credential_1 c17304b7-0953-4738-abb0-67005882b0a0

```

func GetApplicationCredential

func GetApplicationCredential(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApplicationCredentialState, opts ...pulumi.ResourceOption) (*ApplicationCredential, error)

GetApplicationCredential gets an existing ApplicationCredential resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewApplicationCredential

func NewApplicationCredential(ctx *pulumi.Context,
	name string, args *ApplicationCredentialArgs, opts ...pulumi.ResourceOption) (*ApplicationCredential, error)

NewApplicationCredential registers a new resource with the given unique name, arguments, and options.

func (*ApplicationCredential) ElementType added in v2.10.0

func (*ApplicationCredential) ElementType() reflect.Type

func (*ApplicationCredential) ToApplicationCredentialOutput added in v2.10.0

func (i *ApplicationCredential) ToApplicationCredentialOutput() ApplicationCredentialOutput

func (*ApplicationCredential) ToApplicationCredentialOutputWithContext added in v2.10.0

func (i *ApplicationCredential) ToApplicationCredentialOutputWithContext(ctx context.Context) ApplicationCredentialOutput

func (*ApplicationCredential) ToApplicationCredentialPtrOutput added in v2.14.1

func (i *ApplicationCredential) ToApplicationCredentialPtrOutput() ApplicationCredentialPtrOutput

func (*ApplicationCredential) ToApplicationCredentialPtrOutputWithContext added in v2.14.1

func (i *ApplicationCredential) ToApplicationCredentialPtrOutputWithContext(ctx context.Context) ApplicationCredentialPtrOutput

type ApplicationCredentialAccessRule

type ApplicationCredentialAccessRule struct {
	// The ID of the existing access rule. The access rule ID of
	// another application credential can be provided.
	Id *string `pulumi:"id"`
	// The request method that the application credential is
	// permitted to use for a given API endpoint. Allowed values: `POST`, `GET`,
	// `HEAD`, `PATCH`, `PUT` and `DELETE`.
	Method string `pulumi:"method"`
	// The API path that the application credential is permitted
	// to access. May use named wildcards such as **{tag}** or the unnamed wildcard
	// **\*** to match against any string in the path up to a **/**, or the recursive
	// wildcard **\*\*** to include **/** in the matched path.
	Path string `pulumi:"path"`
	// The service type identifier for the service that the
	// application credential is granted to access. Must be a service type that is
	// listed in the service catalog and not a code name for a service. E.g.
	// **identity**, **compute**, **volumev3**, **image**, **network**,
	// **object-store**, **sharev2**, **dns**, **key-manager**, **monitoring**, etc.
	Service string `pulumi:"service"`
}

type ApplicationCredentialAccessRuleArgs

type ApplicationCredentialAccessRuleArgs struct {
	// The ID of the existing access rule. The access rule ID of
	// another application credential can be provided.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The request method that the application credential is
	// permitted to use for a given API endpoint. Allowed values: `POST`, `GET`,
	// `HEAD`, `PATCH`, `PUT` and `DELETE`.
	Method pulumi.StringInput `pulumi:"method"`
	// The API path that the application credential is permitted
	// to access. May use named wildcards such as **{tag}** or the unnamed wildcard
	// **\*** to match against any string in the path up to a **/**, or the recursive
	// wildcard **\*\*** to include **/** in the matched path.
	Path pulumi.StringInput `pulumi:"path"`
	// The service type identifier for the service that the
	// application credential is granted to access. Must be a service type that is
	// listed in the service catalog and not a code name for a service. E.g.
	// **identity**, **compute**, **volumev3**, **image**, **network**,
	// **object-store**, **sharev2**, **dns**, **key-manager**, **monitoring**, etc.
	Service pulumi.StringInput `pulumi:"service"`
}

func (ApplicationCredentialAccessRuleArgs) ElementType

func (ApplicationCredentialAccessRuleArgs) ToApplicationCredentialAccessRuleOutput

func (i ApplicationCredentialAccessRuleArgs) ToApplicationCredentialAccessRuleOutput() ApplicationCredentialAccessRuleOutput

func (ApplicationCredentialAccessRuleArgs) ToApplicationCredentialAccessRuleOutputWithContext

func (i ApplicationCredentialAccessRuleArgs) ToApplicationCredentialAccessRuleOutputWithContext(ctx context.Context) ApplicationCredentialAccessRuleOutput

type ApplicationCredentialAccessRuleArray

type ApplicationCredentialAccessRuleArray []ApplicationCredentialAccessRuleInput

func (ApplicationCredentialAccessRuleArray) ElementType

func (ApplicationCredentialAccessRuleArray) ToApplicationCredentialAccessRuleArrayOutput

func (i ApplicationCredentialAccessRuleArray) ToApplicationCredentialAccessRuleArrayOutput() ApplicationCredentialAccessRuleArrayOutput

func (ApplicationCredentialAccessRuleArray) ToApplicationCredentialAccessRuleArrayOutputWithContext

func (i ApplicationCredentialAccessRuleArray) ToApplicationCredentialAccessRuleArrayOutputWithContext(ctx context.Context) ApplicationCredentialAccessRuleArrayOutput

type ApplicationCredentialAccessRuleArrayInput

type ApplicationCredentialAccessRuleArrayInput interface {
	pulumi.Input

	ToApplicationCredentialAccessRuleArrayOutput() ApplicationCredentialAccessRuleArrayOutput
	ToApplicationCredentialAccessRuleArrayOutputWithContext(context.Context) ApplicationCredentialAccessRuleArrayOutput
}

ApplicationCredentialAccessRuleArrayInput is an input type that accepts ApplicationCredentialAccessRuleArray and ApplicationCredentialAccessRuleArrayOutput values. You can construct a concrete instance of `ApplicationCredentialAccessRuleArrayInput` via:

ApplicationCredentialAccessRuleArray{ ApplicationCredentialAccessRuleArgs{...} }

type ApplicationCredentialAccessRuleArrayOutput

type ApplicationCredentialAccessRuleArrayOutput struct{ *pulumi.OutputState }

func (ApplicationCredentialAccessRuleArrayOutput) ElementType

func (ApplicationCredentialAccessRuleArrayOutput) Index

func (ApplicationCredentialAccessRuleArrayOutput) ToApplicationCredentialAccessRuleArrayOutput

func (o ApplicationCredentialAccessRuleArrayOutput) ToApplicationCredentialAccessRuleArrayOutput() ApplicationCredentialAccessRuleArrayOutput

func (ApplicationCredentialAccessRuleArrayOutput) ToApplicationCredentialAccessRuleArrayOutputWithContext

func (o ApplicationCredentialAccessRuleArrayOutput) ToApplicationCredentialAccessRuleArrayOutputWithContext(ctx context.Context) ApplicationCredentialAccessRuleArrayOutput

type ApplicationCredentialAccessRuleInput

type ApplicationCredentialAccessRuleInput interface {
	pulumi.Input

	ToApplicationCredentialAccessRuleOutput() ApplicationCredentialAccessRuleOutput
	ToApplicationCredentialAccessRuleOutputWithContext(context.Context) ApplicationCredentialAccessRuleOutput
}

ApplicationCredentialAccessRuleInput is an input type that accepts ApplicationCredentialAccessRuleArgs and ApplicationCredentialAccessRuleOutput values. You can construct a concrete instance of `ApplicationCredentialAccessRuleInput` via:

ApplicationCredentialAccessRuleArgs{...}

type ApplicationCredentialAccessRuleOutput

type ApplicationCredentialAccessRuleOutput struct{ *pulumi.OutputState }

func (ApplicationCredentialAccessRuleOutput) ElementType

func (ApplicationCredentialAccessRuleOutput) Id

The ID of the existing access rule. The access rule ID of another application credential can be provided.

func (ApplicationCredentialAccessRuleOutput) Method

The request method that the application credential is permitted to use for a given API endpoint. Allowed values: `POST`, `GET`, `HEAD`, `PATCH`, `PUT` and `DELETE`.

func (ApplicationCredentialAccessRuleOutput) Path

The API path that the application credential is permitted to access. May use named wildcards such as **{tag}** or the unnamed wildcard **\*** to match against any string in the path up to a **/**, or the recursive wildcard **\*\*** to include **/** in the matched path.

func (ApplicationCredentialAccessRuleOutput) Service

The service type identifier for the service that the application credential is granted to access. Must be a service type that is listed in the service catalog and not a code name for a service. E.g. **identity**, **compute**, **volumev3**, **image**, **network**, **object-store**, **sharev2**, **dns**, **key-manager**, **monitoring**, etc.

func (ApplicationCredentialAccessRuleOutput) ToApplicationCredentialAccessRuleOutput

func (o ApplicationCredentialAccessRuleOutput) ToApplicationCredentialAccessRuleOutput() ApplicationCredentialAccessRuleOutput

func (ApplicationCredentialAccessRuleOutput) ToApplicationCredentialAccessRuleOutputWithContext

func (o ApplicationCredentialAccessRuleOutput) ToApplicationCredentialAccessRuleOutputWithContext(ctx context.Context) ApplicationCredentialAccessRuleOutput

type ApplicationCredentialArgs

type ApplicationCredentialArgs struct {
	// A collection of one or more access rules, which
	// this application credential allows to follow. The structure is described
	// below. Changing this creates a new application credential.
	AccessRules ApplicationCredentialAccessRuleArrayInput
	// A description of the application credential.
	// Changing this creates a new application credential.
	Description pulumi.StringPtrInput
	// The expiration time of the application credential
	// in the RFC3339 timestamp format (e.g. `2019-03-09T12:58:49Z`). If omitted,
	// an application credential will never expire. Changing this creates a new
	// application credential.
	ExpiresAt pulumi.StringPtrInput
	// A name of the application credential. Changing this
	// creates a new application credential.
	Name pulumi.StringPtrInput
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used. Changing this
	// creates a new application credential.
	Region pulumi.StringPtrInput
	// A collection of one or more role names, which this
	// application credential has to be associated with its project. If omitted,
	// all the current user's roles within the scoped project will be inherited by
	// a new application credential. Changing this creates a new application
	// credential.
	Roles pulumi.StringArrayInput
	// The secret for the application credential. If omitted,
	// it will be generated by the server. Changing this creates a new application
	// credential.
	Secret pulumi.StringPtrInput
	// A flag indicating whether the application
	// credential may be used for creation or destruction of other application
	// credentials or trusts. Changing this creates a new application credential.
	Unrestricted pulumi.BoolPtrInput
}

The set of arguments for constructing a ApplicationCredential resource.

func (ApplicationCredentialArgs) ElementType

func (ApplicationCredentialArgs) ElementType() reflect.Type

type ApplicationCredentialArray added in v2.14.1

type ApplicationCredentialArray []ApplicationCredentialInput

func (ApplicationCredentialArray) ElementType added in v2.14.1

func (ApplicationCredentialArray) ElementType() reflect.Type

func (ApplicationCredentialArray) ToApplicationCredentialArrayOutput added in v2.14.1

func (i ApplicationCredentialArray) ToApplicationCredentialArrayOutput() ApplicationCredentialArrayOutput

func (ApplicationCredentialArray) ToApplicationCredentialArrayOutputWithContext added in v2.14.1

func (i ApplicationCredentialArray) ToApplicationCredentialArrayOutputWithContext(ctx context.Context) ApplicationCredentialArrayOutput

type ApplicationCredentialArrayInput added in v2.14.1

type ApplicationCredentialArrayInput interface {
	pulumi.Input

	ToApplicationCredentialArrayOutput() ApplicationCredentialArrayOutput
	ToApplicationCredentialArrayOutputWithContext(context.Context) ApplicationCredentialArrayOutput
}

ApplicationCredentialArrayInput is an input type that accepts ApplicationCredentialArray and ApplicationCredentialArrayOutput values. You can construct a concrete instance of `ApplicationCredentialArrayInput` via:

ApplicationCredentialArray{ ApplicationCredentialArgs{...} }

type ApplicationCredentialArrayOutput added in v2.14.1

type ApplicationCredentialArrayOutput struct{ *pulumi.OutputState }

func (ApplicationCredentialArrayOutput) ElementType added in v2.14.1

func (ApplicationCredentialArrayOutput) Index added in v2.14.1

func (ApplicationCredentialArrayOutput) ToApplicationCredentialArrayOutput added in v2.14.1

func (o ApplicationCredentialArrayOutput) ToApplicationCredentialArrayOutput() ApplicationCredentialArrayOutput

func (ApplicationCredentialArrayOutput) ToApplicationCredentialArrayOutputWithContext added in v2.14.1

func (o ApplicationCredentialArrayOutput) ToApplicationCredentialArrayOutputWithContext(ctx context.Context) ApplicationCredentialArrayOutput

type ApplicationCredentialInput added in v2.10.0

type ApplicationCredentialInput interface {
	pulumi.Input

	ToApplicationCredentialOutput() ApplicationCredentialOutput
	ToApplicationCredentialOutputWithContext(ctx context.Context) ApplicationCredentialOutput
}

type ApplicationCredentialMap added in v2.14.1

type ApplicationCredentialMap map[string]ApplicationCredentialInput

func (ApplicationCredentialMap) ElementType added in v2.14.1

func (ApplicationCredentialMap) ElementType() reflect.Type

func (ApplicationCredentialMap) ToApplicationCredentialMapOutput added in v2.14.1

func (i ApplicationCredentialMap) ToApplicationCredentialMapOutput() ApplicationCredentialMapOutput

func (ApplicationCredentialMap) ToApplicationCredentialMapOutputWithContext added in v2.14.1

func (i ApplicationCredentialMap) ToApplicationCredentialMapOutputWithContext(ctx context.Context) ApplicationCredentialMapOutput

type ApplicationCredentialMapInput added in v2.14.1

type ApplicationCredentialMapInput interface {
	pulumi.Input

	ToApplicationCredentialMapOutput() ApplicationCredentialMapOutput
	ToApplicationCredentialMapOutputWithContext(context.Context) ApplicationCredentialMapOutput
}

ApplicationCredentialMapInput is an input type that accepts ApplicationCredentialMap and ApplicationCredentialMapOutput values. You can construct a concrete instance of `ApplicationCredentialMapInput` via:

ApplicationCredentialMap{ "key": ApplicationCredentialArgs{...} }

type ApplicationCredentialMapOutput added in v2.14.1

type ApplicationCredentialMapOutput struct{ *pulumi.OutputState }

func (ApplicationCredentialMapOutput) ElementType added in v2.14.1

func (ApplicationCredentialMapOutput) MapIndex added in v2.14.1

func (ApplicationCredentialMapOutput) ToApplicationCredentialMapOutput added in v2.14.1

func (o ApplicationCredentialMapOutput) ToApplicationCredentialMapOutput() ApplicationCredentialMapOutput

func (ApplicationCredentialMapOutput) ToApplicationCredentialMapOutputWithContext added in v2.14.1

func (o ApplicationCredentialMapOutput) ToApplicationCredentialMapOutputWithContext(ctx context.Context) ApplicationCredentialMapOutput

type ApplicationCredentialOutput added in v2.10.0

type ApplicationCredentialOutput struct {
	*pulumi.OutputState
}

func (ApplicationCredentialOutput) ElementType added in v2.10.0

func (ApplicationCredentialOutput) ToApplicationCredentialOutput added in v2.10.0

func (o ApplicationCredentialOutput) ToApplicationCredentialOutput() ApplicationCredentialOutput

func (ApplicationCredentialOutput) ToApplicationCredentialOutputWithContext added in v2.10.0

func (o ApplicationCredentialOutput) ToApplicationCredentialOutputWithContext(ctx context.Context) ApplicationCredentialOutput

func (ApplicationCredentialOutput) ToApplicationCredentialPtrOutput added in v2.14.1

func (o ApplicationCredentialOutput) ToApplicationCredentialPtrOutput() ApplicationCredentialPtrOutput

func (ApplicationCredentialOutput) ToApplicationCredentialPtrOutputWithContext added in v2.14.1

func (o ApplicationCredentialOutput) ToApplicationCredentialPtrOutputWithContext(ctx context.Context) ApplicationCredentialPtrOutput

type ApplicationCredentialPtrInput added in v2.14.1

type ApplicationCredentialPtrInput interface {
	pulumi.Input

	ToApplicationCredentialPtrOutput() ApplicationCredentialPtrOutput
	ToApplicationCredentialPtrOutputWithContext(ctx context.Context) ApplicationCredentialPtrOutput
}

type ApplicationCredentialPtrOutput added in v2.14.1

type ApplicationCredentialPtrOutput struct {
	*pulumi.OutputState
}

func (ApplicationCredentialPtrOutput) ElementType added in v2.14.1

func (ApplicationCredentialPtrOutput) ToApplicationCredentialPtrOutput added in v2.14.1

func (o ApplicationCredentialPtrOutput) ToApplicationCredentialPtrOutput() ApplicationCredentialPtrOutput

func (ApplicationCredentialPtrOutput) ToApplicationCredentialPtrOutputWithContext added in v2.14.1

func (o ApplicationCredentialPtrOutput) ToApplicationCredentialPtrOutputWithContext(ctx context.Context) ApplicationCredentialPtrOutput

type ApplicationCredentialState

type ApplicationCredentialState struct {
	// A collection of one or more access rules, which
	// this application credential allows to follow. The structure is described
	// below. Changing this creates a new application credential.
	AccessRules ApplicationCredentialAccessRuleArrayInput
	// A description of the application credential.
	// Changing this creates a new application credential.
	Description pulumi.StringPtrInput
	// The expiration time of the application credential
	// in the RFC3339 timestamp format (e.g. `2019-03-09T12:58:49Z`). If omitted,
	// an application credential will never expire. Changing this creates a new
	// application credential.
	ExpiresAt pulumi.StringPtrInput
	// A name of the application credential. Changing this
	// creates a new application credential.
	Name pulumi.StringPtrInput
	// The ID of the project the application credential was created
	// for and that authentication requests using this application credential will
	// be scoped to.
	ProjectId pulumi.StringPtrInput
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used. Changing this
	// creates a new application credential.
	Region pulumi.StringPtrInput
	// A collection of one or more role names, which this
	// application credential has to be associated with its project. If omitted,
	// all the current user's roles within the scoped project will be inherited by
	// a new application credential. Changing this creates a new application
	// credential.
	Roles pulumi.StringArrayInput
	// The secret for the application credential. If omitted,
	// it will be generated by the server. Changing this creates a new application
	// credential.
	Secret pulumi.StringPtrInput
	// A flag indicating whether the application
	// credential may be used for creation or destruction of other application
	// credentials or trusts. Changing this creates a new application credential.
	Unrestricted pulumi.BoolPtrInput
}

func (ApplicationCredentialState) ElementType

func (ApplicationCredentialState) ElementType() reflect.Type

type Ec2CredentialV3 added in v2.6.0

type Ec2CredentialV3 struct {
	pulumi.CustomResourceState

	// contains an EC2 credential access UUID
	Access pulumi.StringOutput `pulumi:"access"`
	// The ID of the project the EC2 credential is created
	// for and that authentication requests using this EC2 credential will
	// be scoped to.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used. Changing this
	// creates a new EC2 credential.
	Region pulumi.StringOutput `pulumi:"region"`
	// contains an EC2 credential secret UUID
	Secret pulumi.StringOutput `pulumi:"secret"`
	// contains an EC2 credential trust ID scope
	TrustId pulumi.StringOutput `pulumi:"trustId"`
	// The ID of the user the EC2 credential is created for.
	UserId pulumi.StringOutput `pulumi:"userId"`
}

## Import

EC2 Credentials can be imported using the `access`, e.g.

```sh

$ pulumi import openstack:identity/ec2CredentialV3:Ec2CredentialV3 ec2_cred_1 2d0ac4a2f81b4b0f9513ee49e780647d

```

func GetEc2CredentialV3 added in v2.6.0

func GetEc2CredentialV3(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *Ec2CredentialV3State, opts ...pulumi.ResourceOption) (*Ec2CredentialV3, error)

GetEc2CredentialV3 gets an existing Ec2CredentialV3 resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEc2CredentialV3 added in v2.6.0

func NewEc2CredentialV3(ctx *pulumi.Context,
	name string, args *Ec2CredentialV3Args, opts ...pulumi.ResourceOption) (*Ec2CredentialV3, error)

NewEc2CredentialV3 registers a new resource with the given unique name, arguments, and options.

func (*Ec2CredentialV3) ElementType added in v2.10.0

func (*Ec2CredentialV3) ElementType() reflect.Type

func (*Ec2CredentialV3) ToEc2CredentialV3Output added in v2.10.0

func (i *Ec2CredentialV3) ToEc2CredentialV3Output() Ec2CredentialV3Output

func (*Ec2CredentialV3) ToEc2CredentialV3OutputWithContext added in v2.10.0

func (i *Ec2CredentialV3) ToEc2CredentialV3OutputWithContext(ctx context.Context) Ec2CredentialV3Output

func (*Ec2CredentialV3) ToEc2CredentialV3PtrOutput added in v2.14.1

func (i *Ec2CredentialV3) ToEc2CredentialV3PtrOutput() Ec2CredentialV3PtrOutput

func (*Ec2CredentialV3) ToEc2CredentialV3PtrOutputWithContext added in v2.14.1

func (i *Ec2CredentialV3) ToEc2CredentialV3PtrOutputWithContext(ctx context.Context) Ec2CredentialV3PtrOutput

type Ec2CredentialV3Args added in v2.6.0

type Ec2CredentialV3Args struct {
	// The ID of the project the EC2 credential is created
	// for and that authentication requests using this EC2 credential will
	// be scoped to.
	ProjectId pulumi.StringPtrInput
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used. Changing this
	// creates a new EC2 credential.
	Region pulumi.StringPtrInput
	// The ID of the user the EC2 credential is created for.
	UserId pulumi.StringPtrInput
}

The set of arguments for constructing a Ec2CredentialV3 resource.

func (Ec2CredentialV3Args) ElementType added in v2.6.0

func (Ec2CredentialV3Args) ElementType() reflect.Type

type Ec2CredentialV3Array added in v2.14.1

type Ec2CredentialV3Array []Ec2CredentialV3Input

func (Ec2CredentialV3Array) ElementType added in v2.14.1

func (Ec2CredentialV3Array) ElementType() reflect.Type

func (Ec2CredentialV3Array) ToEc2CredentialV3ArrayOutput added in v2.14.1

func (i Ec2CredentialV3Array) ToEc2CredentialV3ArrayOutput() Ec2CredentialV3ArrayOutput

func (Ec2CredentialV3Array) ToEc2CredentialV3ArrayOutputWithContext added in v2.14.1

func (i Ec2CredentialV3Array) ToEc2CredentialV3ArrayOutputWithContext(ctx context.Context) Ec2CredentialV3ArrayOutput

type Ec2CredentialV3ArrayInput added in v2.14.1

type Ec2CredentialV3ArrayInput interface {
	pulumi.Input

	ToEc2CredentialV3ArrayOutput() Ec2CredentialV3ArrayOutput
	ToEc2CredentialV3ArrayOutputWithContext(context.Context) Ec2CredentialV3ArrayOutput
}

Ec2CredentialV3ArrayInput is an input type that accepts Ec2CredentialV3Array and Ec2CredentialV3ArrayOutput values. You can construct a concrete instance of `Ec2CredentialV3ArrayInput` via:

Ec2CredentialV3Array{ Ec2CredentialV3Args{...} }

type Ec2CredentialV3ArrayOutput added in v2.14.1

type Ec2CredentialV3ArrayOutput struct{ *pulumi.OutputState }

func (Ec2CredentialV3ArrayOutput) ElementType added in v2.14.1

func (Ec2CredentialV3ArrayOutput) ElementType() reflect.Type

func (Ec2CredentialV3ArrayOutput) Index added in v2.14.1

func (Ec2CredentialV3ArrayOutput) ToEc2CredentialV3ArrayOutput added in v2.14.1

func (o Ec2CredentialV3ArrayOutput) ToEc2CredentialV3ArrayOutput() Ec2CredentialV3ArrayOutput

func (Ec2CredentialV3ArrayOutput) ToEc2CredentialV3ArrayOutputWithContext added in v2.14.1

func (o Ec2CredentialV3ArrayOutput) ToEc2CredentialV3ArrayOutputWithContext(ctx context.Context) Ec2CredentialV3ArrayOutput

type Ec2CredentialV3Input added in v2.10.0

type Ec2CredentialV3Input interface {
	pulumi.Input

	ToEc2CredentialV3Output() Ec2CredentialV3Output
	ToEc2CredentialV3OutputWithContext(ctx context.Context) Ec2CredentialV3Output
}

type Ec2CredentialV3Map added in v2.14.1

type Ec2CredentialV3Map map[string]Ec2CredentialV3Input

func (Ec2CredentialV3Map) ElementType added in v2.14.1

func (Ec2CredentialV3Map) ElementType() reflect.Type

func (Ec2CredentialV3Map) ToEc2CredentialV3MapOutput added in v2.14.1

func (i Ec2CredentialV3Map) ToEc2CredentialV3MapOutput() Ec2CredentialV3MapOutput

func (Ec2CredentialV3Map) ToEc2CredentialV3MapOutputWithContext added in v2.14.1

func (i Ec2CredentialV3Map) ToEc2CredentialV3MapOutputWithContext(ctx context.Context) Ec2CredentialV3MapOutput

type Ec2CredentialV3MapInput added in v2.14.1

type Ec2CredentialV3MapInput interface {
	pulumi.Input

	ToEc2CredentialV3MapOutput() Ec2CredentialV3MapOutput
	ToEc2CredentialV3MapOutputWithContext(context.Context) Ec2CredentialV3MapOutput
}

Ec2CredentialV3MapInput is an input type that accepts Ec2CredentialV3Map and Ec2CredentialV3MapOutput values. You can construct a concrete instance of `Ec2CredentialV3MapInput` via:

Ec2CredentialV3Map{ "key": Ec2CredentialV3Args{...} }

type Ec2CredentialV3MapOutput added in v2.14.1

type Ec2CredentialV3MapOutput struct{ *pulumi.OutputState }

func (Ec2CredentialV3MapOutput) ElementType added in v2.14.1

func (Ec2CredentialV3MapOutput) ElementType() reflect.Type

func (Ec2CredentialV3MapOutput) MapIndex added in v2.14.1

func (Ec2CredentialV3MapOutput) ToEc2CredentialV3MapOutput added in v2.14.1

func (o Ec2CredentialV3MapOutput) ToEc2CredentialV3MapOutput() Ec2CredentialV3MapOutput

func (Ec2CredentialV3MapOutput) ToEc2CredentialV3MapOutputWithContext added in v2.14.1

func (o Ec2CredentialV3MapOutput) ToEc2CredentialV3MapOutputWithContext(ctx context.Context) Ec2CredentialV3MapOutput

type Ec2CredentialV3Output added in v2.10.0

type Ec2CredentialV3Output struct {
	*pulumi.OutputState
}

func (Ec2CredentialV3Output) ElementType added in v2.10.0

func (Ec2CredentialV3Output) ElementType() reflect.Type

func (Ec2CredentialV3Output) ToEc2CredentialV3Output added in v2.10.0

func (o Ec2CredentialV3Output) ToEc2CredentialV3Output() Ec2CredentialV3Output

func (Ec2CredentialV3Output) ToEc2CredentialV3OutputWithContext added in v2.10.0

func (o Ec2CredentialV3Output) ToEc2CredentialV3OutputWithContext(ctx context.Context) Ec2CredentialV3Output

func (Ec2CredentialV3Output) ToEc2CredentialV3PtrOutput added in v2.14.1

func (o Ec2CredentialV3Output) ToEc2CredentialV3PtrOutput() Ec2CredentialV3PtrOutput

func (Ec2CredentialV3Output) ToEc2CredentialV3PtrOutputWithContext added in v2.14.1

func (o Ec2CredentialV3Output) ToEc2CredentialV3PtrOutputWithContext(ctx context.Context) Ec2CredentialV3PtrOutput

type Ec2CredentialV3PtrInput added in v2.14.1

type Ec2CredentialV3PtrInput interface {
	pulumi.Input

	ToEc2CredentialV3PtrOutput() Ec2CredentialV3PtrOutput
	ToEc2CredentialV3PtrOutputWithContext(ctx context.Context) Ec2CredentialV3PtrOutput
}

type Ec2CredentialV3PtrOutput added in v2.14.1

type Ec2CredentialV3PtrOutput struct {
	*pulumi.OutputState
}

func (Ec2CredentialV3PtrOutput) ElementType added in v2.14.1

func (Ec2CredentialV3PtrOutput) ElementType() reflect.Type

func (Ec2CredentialV3PtrOutput) ToEc2CredentialV3PtrOutput added in v2.14.1

func (o Ec2CredentialV3PtrOutput) ToEc2CredentialV3PtrOutput() Ec2CredentialV3PtrOutput

func (Ec2CredentialV3PtrOutput) ToEc2CredentialV3PtrOutputWithContext added in v2.14.1

func (o Ec2CredentialV3PtrOutput) ToEc2CredentialV3PtrOutputWithContext(ctx context.Context) Ec2CredentialV3PtrOutput

type Ec2CredentialV3State added in v2.6.0

type Ec2CredentialV3State struct {
	// contains an EC2 credential access UUID
	Access pulumi.StringPtrInput
	// The ID of the project the EC2 credential is created
	// for and that authentication requests using this EC2 credential will
	// be scoped to.
	ProjectId pulumi.StringPtrInput
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used. Changing this
	// creates a new EC2 credential.
	Region pulumi.StringPtrInput
	// contains an EC2 credential secret UUID
	Secret pulumi.StringPtrInput
	// contains an EC2 credential trust ID scope
	TrustId pulumi.StringPtrInput
	// The ID of the user the EC2 credential is created for.
	UserId pulumi.StringPtrInput
}

func (Ec2CredentialV3State) ElementType added in v2.6.0

func (Ec2CredentialV3State) ElementType() reflect.Type

type EndpointV3

type EndpointV3 struct {
	pulumi.CustomResourceState

	// The endpoint region. The `region` and
	// `endpointRegion` can be different.
	EndpointRegion pulumi.StringOutput `pulumi:"endpointRegion"`
	// The endpoint interface. Valid values are `public`,
	// `internal` and `admin`. Default value is `public`
	Interface pulumi.StringPtrOutput `pulumi:"interface"`
	// The endpoint name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used.
	Region pulumi.StringOutput `pulumi:"region"`
	// The endpoint service ID.
	ServiceId pulumi.StringOutput `pulumi:"serviceId"`
	// The service name of the endpoint.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
	// The service type of the endpoint.
	ServiceType pulumi.StringOutput `pulumi:"serviceType"`
	// The endpoint url.
	Url pulumi.StringOutput `pulumi:"url"`
}

Manages a V3 Endpoint resource within OpenStack Keystone.

> **Note:** This usually requires admin privileges.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v2/go/openstack/identity"
"github.com/pulumi/pulumi/sdk/v2/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
	})
}

```

## Import

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

```sh

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

```

func GetEndpointV3

func GetEndpointV3(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EndpointV3State, opts ...pulumi.ResourceOption) (*EndpointV3, error)

GetEndpointV3 gets an existing EndpointV3 resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEndpointV3

func NewEndpointV3(ctx *pulumi.Context,
	name string, args *EndpointV3Args, opts ...pulumi.ResourceOption) (*EndpointV3, error)

NewEndpointV3 registers a new resource with the given unique name, arguments, and options.

func (*EndpointV3) ElementType added in v2.10.0

func (*EndpointV3) ElementType() reflect.Type

func (*EndpointV3) ToEndpointV3Output added in v2.10.0

func (i *EndpointV3) ToEndpointV3Output() EndpointV3Output

func (*EndpointV3) ToEndpointV3OutputWithContext added in v2.10.0

func (i *EndpointV3) ToEndpointV3OutputWithContext(ctx context.Context) EndpointV3Output

func (*EndpointV3) ToEndpointV3PtrOutput added in v2.14.1

func (i *EndpointV3) ToEndpointV3PtrOutput() EndpointV3PtrOutput

func (*EndpointV3) ToEndpointV3PtrOutputWithContext added in v2.14.1

func (i *EndpointV3) ToEndpointV3PtrOutputWithContext(ctx context.Context) EndpointV3PtrOutput

type EndpointV3Args

type EndpointV3Args struct {
	// The endpoint region. The `region` and
	// `endpointRegion` can be different.
	EndpointRegion pulumi.StringInput
	// The endpoint interface. Valid values are `public`,
	// `internal` and `admin`. Default value is `public`
	Interface pulumi.StringPtrInput
	// The endpoint name.
	Name pulumi.StringPtrInput
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used.
	Region pulumi.StringPtrInput
	// The endpoint service ID.
	ServiceId pulumi.StringInput
	// The endpoint url.
	Url pulumi.StringInput
}

The set of arguments for constructing a EndpointV3 resource.

func (EndpointV3Args) ElementType

func (EndpointV3Args) ElementType() reflect.Type

type EndpointV3Array added in v2.14.1

type EndpointV3Array []EndpointV3Input

func (EndpointV3Array) ElementType added in v2.14.1

func (EndpointV3Array) ElementType() reflect.Type

func (EndpointV3Array) ToEndpointV3ArrayOutput added in v2.14.1

func (i EndpointV3Array) ToEndpointV3ArrayOutput() EndpointV3ArrayOutput

func (EndpointV3Array) ToEndpointV3ArrayOutputWithContext added in v2.14.1

func (i EndpointV3Array) ToEndpointV3ArrayOutputWithContext(ctx context.Context) EndpointV3ArrayOutput

type EndpointV3ArrayInput added in v2.14.1

type EndpointV3ArrayInput interface {
	pulumi.Input

	ToEndpointV3ArrayOutput() EndpointV3ArrayOutput
	ToEndpointV3ArrayOutputWithContext(context.Context) EndpointV3ArrayOutput
}

EndpointV3ArrayInput is an input type that accepts EndpointV3Array and EndpointV3ArrayOutput values. You can construct a concrete instance of `EndpointV3ArrayInput` via:

EndpointV3Array{ EndpointV3Args{...} }

type EndpointV3ArrayOutput added in v2.14.1

type EndpointV3ArrayOutput struct{ *pulumi.OutputState }

func (EndpointV3ArrayOutput) ElementType added in v2.14.1

func (EndpointV3ArrayOutput) ElementType() reflect.Type

func (EndpointV3ArrayOutput) Index added in v2.14.1

func (EndpointV3ArrayOutput) ToEndpointV3ArrayOutput added in v2.14.1

func (o EndpointV3ArrayOutput) ToEndpointV3ArrayOutput() EndpointV3ArrayOutput

func (EndpointV3ArrayOutput) ToEndpointV3ArrayOutputWithContext added in v2.14.1

func (o EndpointV3ArrayOutput) ToEndpointV3ArrayOutputWithContext(ctx context.Context) EndpointV3ArrayOutput

type EndpointV3Input added in v2.10.0

type EndpointV3Input interface {
	pulumi.Input

	ToEndpointV3Output() EndpointV3Output
	ToEndpointV3OutputWithContext(ctx context.Context) EndpointV3Output
}

type EndpointV3Map added in v2.14.1

type EndpointV3Map map[string]EndpointV3Input

func (EndpointV3Map) ElementType added in v2.14.1

func (EndpointV3Map) ElementType() reflect.Type

func (EndpointV3Map) ToEndpointV3MapOutput added in v2.14.1

func (i EndpointV3Map) ToEndpointV3MapOutput() EndpointV3MapOutput

func (EndpointV3Map) ToEndpointV3MapOutputWithContext added in v2.14.1

func (i EndpointV3Map) ToEndpointV3MapOutputWithContext(ctx context.Context) EndpointV3MapOutput

type EndpointV3MapInput added in v2.14.1

type EndpointV3MapInput interface {
	pulumi.Input

	ToEndpointV3MapOutput() EndpointV3MapOutput
	ToEndpointV3MapOutputWithContext(context.Context) EndpointV3MapOutput
}

EndpointV3MapInput is an input type that accepts EndpointV3Map and EndpointV3MapOutput values. You can construct a concrete instance of `EndpointV3MapInput` via:

EndpointV3Map{ "key": EndpointV3Args{...} }

type EndpointV3MapOutput added in v2.14.1

type EndpointV3MapOutput struct{ *pulumi.OutputState }

func (EndpointV3MapOutput) ElementType added in v2.14.1

func (EndpointV3MapOutput) ElementType() reflect.Type

func (EndpointV3MapOutput) MapIndex added in v2.14.1

func (EndpointV3MapOutput) ToEndpointV3MapOutput added in v2.14.1

func (o EndpointV3MapOutput) ToEndpointV3MapOutput() EndpointV3MapOutput

func (EndpointV3MapOutput) ToEndpointV3MapOutputWithContext added in v2.14.1

func (o EndpointV3MapOutput) ToEndpointV3MapOutputWithContext(ctx context.Context) EndpointV3MapOutput

type EndpointV3Output added in v2.10.0

type EndpointV3Output struct {
	*pulumi.OutputState
}

func (EndpointV3Output) ElementType added in v2.10.0

func (EndpointV3Output) ElementType() reflect.Type

func (EndpointV3Output) ToEndpointV3Output added in v2.10.0

func (o EndpointV3Output) ToEndpointV3Output() EndpointV3Output

func (EndpointV3Output) ToEndpointV3OutputWithContext added in v2.10.0

func (o EndpointV3Output) ToEndpointV3OutputWithContext(ctx context.Context) EndpointV3Output

func (EndpointV3Output) ToEndpointV3PtrOutput added in v2.14.1

func (o EndpointV3Output) ToEndpointV3PtrOutput() EndpointV3PtrOutput

func (EndpointV3Output) ToEndpointV3PtrOutputWithContext added in v2.14.1

func (o EndpointV3Output) ToEndpointV3PtrOutputWithContext(ctx context.Context) EndpointV3PtrOutput

type EndpointV3PtrInput added in v2.14.1

type EndpointV3PtrInput interface {
	pulumi.Input

	ToEndpointV3PtrOutput() EndpointV3PtrOutput
	ToEndpointV3PtrOutputWithContext(ctx context.Context) EndpointV3PtrOutput
}

type EndpointV3PtrOutput added in v2.14.1

type EndpointV3PtrOutput struct {
	*pulumi.OutputState
}

func (EndpointV3PtrOutput) ElementType added in v2.14.1

func (EndpointV3PtrOutput) ElementType() reflect.Type

func (EndpointV3PtrOutput) ToEndpointV3PtrOutput added in v2.14.1

func (o EndpointV3PtrOutput) ToEndpointV3PtrOutput() EndpointV3PtrOutput

func (EndpointV3PtrOutput) ToEndpointV3PtrOutputWithContext added in v2.14.1

func (o EndpointV3PtrOutput) ToEndpointV3PtrOutputWithContext(ctx context.Context) EndpointV3PtrOutput

type EndpointV3State

type EndpointV3State struct {
	// The endpoint region. The `region` and
	// `endpointRegion` can be different.
	EndpointRegion pulumi.StringPtrInput
	// The endpoint interface. Valid values are `public`,
	// `internal` and `admin`. Default value is `public`
	Interface pulumi.StringPtrInput
	// The endpoint name.
	Name pulumi.StringPtrInput
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used.
	Region pulumi.StringPtrInput
	// The endpoint service ID.
	ServiceId pulumi.StringPtrInput
	// The service name of the endpoint.
	ServiceName pulumi.StringPtrInput
	// The service type of the endpoint.
	ServiceType pulumi.StringPtrInput
	// The endpoint url.
	Url pulumi.StringPtrInput
}

func (EndpointV3State) ElementType

func (EndpointV3State) ElementType() reflect.Type

type GetAuthScopeArgs

type GetAuthScopeArgs struct {
	// The name of the scope. This is an arbitrary name which is
	// only used as a unique identifier so an actual token isn't used as the ID.
	Name string `pulumi:"name"`
	// The region in which to obtain the V3 Identity client.
	// A Identity client is needed to retrieve tokens IDs. If omitted, the
	// `region` argument of the provider is used.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getAuthScope.

type GetAuthScopeResult

type GetAuthScopeResult struct {
	// The domain ID of the scope.
	DomainId string `pulumi:"domainId"`
	// The domain name of the scope.
	DomainName string `pulumi:"domainName"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the service.
	Name string `pulumi:"name"`
	// The domain ID of the project.
	ProjectDomainId string `pulumi:"projectDomainId"`
	// The domain name of the project.
	ProjectDomainName string `pulumi:"projectDomainName"`
	// The project ID of the scope.
	ProjectId string `pulumi:"projectId"`
	// The project name of the scope.
	ProjectName string `pulumi:"projectName"`
	// The region of the endpoint.
	Region string `pulumi:"region"`
	// A list of roles in the current scope. See reference below.
	Roles []GetAuthScopeRole `pulumi:"roles"`
	// A list of service catalog entries returned with the token.
	ServiceCatalogs []GetAuthScopeServiceCatalog `pulumi:"serviceCatalogs"`
	// The domain ID of the user.
	UserDomainId string `pulumi:"userDomainId"`
	// The domain name of the user.
	UserDomainName string `pulumi:"userDomainName"`
	// The user ID the of the scope.
	UserId string `pulumi:"userId"`
	// The username of the scope.
	UserName string `pulumi:"userName"`
}

A collection of values returned by getAuthScope.

func GetAuthScope

func GetAuthScope(ctx *pulumi.Context, args *GetAuthScopeArgs, opts ...pulumi.InvokeOption) (*GetAuthScopeResult, error)

Use this data source to get authentication information about the current auth scope in use. This can be used as self-discovery or introspection of the username or project name currently in use as well as the service catalog.

type GetAuthScopeRole

type GetAuthScopeRole struct {
	// The ID of the role.
	RoleId string `pulumi:"roleId"`
	// The name of the role.
	RoleName string `pulumi:"roleName"`
}

type GetAuthScopeRoleArgs

type GetAuthScopeRoleArgs struct {
	// The ID of the role.
	RoleId pulumi.StringInput `pulumi:"roleId"`
	// The name of the role.
	RoleName pulumi.StringInput `pulumi:"roleName"`
}

func (GetAuthScopeRoleArgs) ElementType

func (GetAuthScopeRoleArgs) ElementType() reflect.Type

func (GetAuthScopeRoleArgs) ToGetAuthScopeRoleOutput

func (i GetAuthScopeRoleArgs) ToGetAuthScopeRoleOutput() GetAuthScopeRoleOutput

func (GetAuthScopeRoleArgs) ToGetAuthScopeRoleOutputWithContext

func (i GetAuthScopeRoleArgs) ToGetAuthScopeRoleOutputWithContext(ctx context.Context) GetAuthScopeRoleOutput

type GetAuthScopeRoleArray

type GetAuthScopeRoleArray []GetAuthScopeRoleInput

func (GetAuthScopeRoleArray) ElementType

func (GetAuthScopeRoleArray) ElementType() reflect.Type

func (GetAuthScopeRoleArray) ToGetAuthScopeRoleArrayOutput

func (i GetAuthScopeRoleArray) ToGetAuthScopeRoleArrayOutput() GetAuthScopeRoleArrayOutput

func (GetAuthScopeRoleArray) ToGetAuthScopeRoleArrayOutputWithContext

func (i GetAuthScopeRoleArray) ToGetAuthScopeRoleArrayOutputWithContext(ctx context.Context) GetAuthScopeRoleArrayOutput

type GetAuthScopeRoleArrayInput

type GetAuthScopeRoleArrayInput interface {
	pulumi.Input

	ToGetAuthScopeRoleArrayOutput() GetAuthScopeRoleArrayOutput
	ToGetAuthScopeRoleArrayOutputWithContext(context.Context) GetAuthScopeRoleArrayOutput
}

GetAuthScopeRoleArrayInput is an input type that accepts GetAuthScopeRoleArray and GetAuthScopeRoleArrayOutput values. You can construct a concrete instance of `GetAuthScopeRoleArrayInput` via:

GetAuthScopeRoleArray{ GetAuthScopeRoleArgs{...} }

type GetAuthScopeRoleArrayOutput

type GetAuthScopeRoleArrayOutput struct{ *pulumi.OutputState }

func (GetAuthScopeRoleArrayOutput) ElementType

func (GetAuthScopeRoleArrayOutput) Index

func (GetAuthScopeRoleArrayOutput) ToGetAuthScopeRoleArrayOutput

func (o GetAuthScopeRoleArrayOutput) ToGetAuthScopeRoleArrayOutput() GetAuthScopeRoleArrayOutput

func (GetAuthScopeRoleArrayOutput) ToGetAuthScopeRoleArrayOutputWithContext

func (o GetAuthScopeRoleArrayOutput) ToGetAuthScopeRoleArrayOutputWithContext(ctx context.Context) GetAuthScopeRoleArrayOutput

type GetAuthScopeRoleInput

type GetAuthScopeRoleInput interface {
	pulumi.Input

	ToGetAuthScopeRoleOutput() GetAuthScopeRoleOutput
	ToGetAuthScopeRoleOutputWithContext(context.Context) GetAuthScopeRoleOutput
}

GetAuthScopeRoleInput is an input type that accepts GetAuthScopeRoleArgs and GetAuthScopeRoleOutput values. You can construct a concrete instance of `GetAuthScopeRoleInput` via:

GetAuthScopeRoleArgs{...}

type GetAuthScopeRoleOutput

type GetAuthScopeRoleOutput struct{ *pulumi.OutputState }

func (GetAuthScopeRoleOutput) ElementType

func (GetAuthScopeRoleOutput) ElementType() reflect.Type

func (GetAuthScopeRoleOutput) RoleId

The ID of the role.

func (GetAuthScopeRoleOutput) RoleName

The name of the role.

func (GetAuthScopeRoleOutput) ToGetAuthScopeRoleOutput

func (o GetAuthScopeRoleOutput) ToGetAuthScopeRoleOutput() GetAuthScopeRoleOutput

func (GetAuthScopeRoleOutput) ToGetAuthScopeRoleOutputWithContext

func (o GetAuthScopeRoleOutput) ToGetAuthScopeRoleOutputWithContext(ctx context.Context) GetAuthScopeRoleOutput

type GetAuthScopeServiceCatalog added in v2.15.0

type GetAuthScopeServiceCatalog struct {
	// A list of endpoints for the service.
	Endpoints []GetAuthScopeServiceCatalogEndpoint `pulumi:"endpoints"`
	// The ID of the endpoint.
	Id string `pulumi:"id"`
	// The name of the scope. This is an arbitrary name which is
	// only used as a unique identifier so an actual token isn't used as the ID.
	Name string `pulumi:"name"`
	// The type of the service.
	Type string `pulumi:"type"`
}

type GetAuthScopeServiceCatalogArgs added in v2.15.0

type GetAuthScopeServiceCatalogArgs struct {
	// A list of endpoints for the service.
	Endpoints GetAuthScopeServiceCatalogEndpointArrayInput `pulumi:"endpoints"`
	// The ID of the endpoint.
	Id pulumi.StringInput `pulumi:"id"`
	// The name of the scope. This is an arbitrary name which is
	// only used as a unique identifier so an actual token isn't used as the ID.
	Name pulumi.StringInput `pulumi:"name"`
	// The type of the service.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetAuthScopeServiceCatalogArgs) ElementType added in v2.15.0

func (GetAuthScopeServiceCatalogArgs) ToGetAuthScopeServiceCatalogOutput added in v2.15.0

func (i GetAuthScopeServiceCatalogArgs) ToGetAuthScopeServiceCatalogOutput() GetAuthScopeServiceCatalogOutput

func (GetAuthScopeServiceCatalogArgs) ToGetAuthScopeServiceCatalogOutputWithContext added in v2.15.0

func (i GetAuthScopeServiceCatalogArgs) ToGetAuthScopeServiceCatalogOutputWithContext(ctx context.Context) GetAuthScopeServiceCatalogOutput

type GetAuthScopeServiceCatalogArray added in v2.15.0

type GetAuthScopeServiceCatalogArray []GetAuthScopeServiceCatalogInput

func (GetAuthScopeServiceCatalogArray) ElementType added in v2.15.0

func (GetAuthScopeServiceCatalogArray) ToGetAuthScopeServiceCatalogArrayOutput added in v2.15.0

func (i GetAuthScopeServiceCatalogArray) ToGetAuthScopeServiceCatalogArrayOutput() GetAuthScopeServiceCatalogArrayOutput

func (GetAuthScopeServiceCatalogArray) ToGetAuthScopeServiceCatalogArrayOutputWithContext added in v2.15.0

func (i GetAuthScopeServiceCatalogArray) ToGetAuthScopeServiceCatalogArrayOutputWithContext(ctx context.Context) GetAuthScopeServiceCatalogArrayOutput

type GetAuthScopeServiceCatalogArrayInput added in v2.15.0

type GetAuthScopeServiceCatalogArrayInput interface {
	pulumi.Input

	ToGetAuthScopeServiceCatalogArrayOutput() GetAuthScopeServiceCatalogArrayOutput
	ToGetAuthScopeServiceCatalogArrayOutputWithContext(context.Context) GetAuthScopeServiceCatalogArrayOutput
}

GetAuthScopeServiceCatalogArrayInput is an input type that accepts GetAuthScopeServiceCatalogArray and GetAuthScopeServiceCatalogArrayOutput values. You can construct a concrete instance of `GetAuthScopeServiceCatalogArrayInput` via:

GetAuthScopeServiceCatalogArray{ GetAuthScopeServiceCatalogArgs{...} }

type GetAuthScopeServiceCatalogArrayOutput added in v2.15.0

type GetAuthScopeServiceCatalogArrayOutput struct{ *pulumi.OutputState }

func (GetAuthScopeServiceCatalogArrayOutput) ElementType added in v2.15.0

func (GetAuthScopeServiceCatalogArrayOutput) Index added in v2.15.0

func (GetAuthScopeServiceCatalogArrayOutput) ToGetAuthScopeServiceCatalogArrayOutput added in v2.15.0

func (o GetAuthScopeServiceCatalogArrayOutput) ToGetAuthScopeServiceCatalogArrayOutput() GetAuthScopeServiceCatalogArrayOutput

func (GetAuthScopeServiceCatalogArrayOutput) ToGetAuthScopeServiceCatalogArrayOutputWithContext added in v2.15.0

func (o GetAuthScopeServiceCatalogArrayOutput) ToGetAuthScopeServiceCatalogArrayOutputWithContext(ctx context.Context) GetAuthScopeServiceCatalogArrayOutput

type GetAuthScopeServiceCatalogEndpoint added in v2.15.0

type GetAuthScopeServiceCatalogEndpoint struct {
	// The ID of the endpoint.
	Id string `pulumi:"id"`
	// The interface of the endpoint.
	Interface string `pulumi:"interface"`
	// The region in which to obtain the V3 Identity client.
	// A Identity client is needed to retrieve tokens IDs. If omitted, the
	// `region` argument of the provider is used.
	Region string `pulumi:"region"`
	// The region ID of the endpoint.
	RegionId string `pulumi:"regionId"`
	// The URL of the endpoint.
	Url string `pulumi:"url"`
}

type GetAuthScopeServiceCatalogEndpointArgs added in v2.15.0

type GetAuthScopeServiceCatalogEndpointArgs struct {
	// The ID of the endpoint.
	Id pulumi.StringInput `pulumi:"id"`
	// The interface of the endpoint.
	Interface pulumi.StringInput `pulumi:"interface"`
	// The region in which to obtain the V3 Identity client.
	// A Identity client is needed to retrieve tokens IDs. If omitted, the
	// `region` argument of the provider is used.
	Region pulumi.StringInput `pulumi:"region"`
	// The region ID of the endpoint.
	RegionId pulumi.StringInput `pulumi:"regionId"`
	// The URL of the endpoint.
	Url pulumi.StringInput `pulumi:"url"`
}

func (GetAuthScopeServiceCatalogEndpointArgs) ElementType added in v2.15.0

func (GetAuthScopeServiceCatalogEndpointArgs) ToGetAuthScopeServiceCatalogEndpointOutput added in v2.15.0

func (i GetAuthScopeServiceCatalogEndpointArgs) ToGetAuthScopeServiceCatalogEndpointOutput() GetAuthScopeServiceCatalogEndpointOutput

func (GetAuthScopeServiceCatalogEndpointArgs) ToGetAuthScopeServiceCatalogEndpointOutputWithContext added in v2.15.0

func (i GetAuthScopeServiceCatalogEndpointArgs) ToGetAuthScopeServiceCatalogEndpointOutputWithContext(ctx context.Context) GetAuthScopeServiceCatalogEndpointOutput

type GetAuthScopeServiceCatalogEndpointArray added in v2.15.0

type GetAuthScopeServiceCatalogEndpointArray []GetAuthScopeServiceCatalogEndpointInput

func (GetAuthScopeServiceCatalogEndpointArray) ElementType added in v2.15.0

func (GetAuthScopeServiceCatalogEndpointArray) ToGetAuthScopeServiceCatalogEndpointArrayOutput added in v2.15.0

func (i GetAuthScopeServiceCatalogEndpointArray) ToGetAuthScopeServiceCatalogEndpointArrayOutput() GetAuthScopeServiceCatalogEndpointArrayOutput

func (GetAuthScopeServiceCatalogEndpointArray) ToGetAuthScopeServiceCatalogEndpointArrayOutputWithContext added in v2.15.0

func (i GetAuthScopeServiceCatalogEndpointArray) ToGetAuthScopeServiceCatalogEndpointArrayOutputWithContext(ctx context.Context) GetAuthScopeServiceCatalogEndpointArrayOutput

type GetAuthScopeServiceCatalogEndpointArrayInput added in v2.15.0

type GetAuthScopeServiceCatalogEndpointArrayInput interface {
	pulumi.Input

	ToGetAuthScopeServiceCatalogEndpointArrayOutput() GetAuthScopeServiceCatalogEndpointArrayOutput
	ToGetAuthScopeServiceCatalogEndpointArrayOutputWithContext(context.Context) GetAuthScopeServiceCatalogEndpointArrayOutput
}

GetAuthScopeServiceCatalogEndpointArrayInput is an input type that accepts GetAuthScopeServiceCatalogEndpointArray and GetAuthScopeServiceCatalogEndpointArrayOutput values. You can construct a concrete instance of `GetAuthScopeServiceCatalogEndpointArrayInput` via:

GetAuthScopeServiceCatalogEndpointArray{ GetAuthScopeServiceCatalogEndpointArgs{...} }

type GetAuthScopeServiceCatalogEndpointArrayOutput added in v2.15.0

type GetAuthScopeServiceCatalogEndpointArrayOutput struct{ *pulumi.OutputState }

func (GetAuthScopeServiceCatalogEndpointArrayOutput) ElementType added in v2.15.0

func (GetAuthScopeServiceCatalogEndpointArrayOutput) Index added in v2.15.0

func (GetAuthScopeServiceCatalogEndpointArrayOutput) ToGetAuthScopeServiceCatalogEndpointArrayOutput added in v2.15.0

func (o GetAuthScopeServiceCatalogEndpointArrayOutput) ToGetAuthScopeServiceCatalogEndpointArrayOutput() GetAuthScopeServiceCatalogEndpointArrayOutput

func (GetAuthScopeServiceCatalogEndpointArrayOutput) ToGetAuthScopeServiceCatalogEndpointArrayOutputWithContext added in v2.15.0

func (o GetAuthScopeServiceCatalogEndpointArrayOutput) ToGetAuthScopeServiceCatalogEndpointArrayOutputWithContext(ctx context.Context) GetAuthScopeServiceCatalogEndpointArrayOutput

type GetAuthScopeServiceCatalogEndpointInput added in v2.15.0

type GetAuthScopeServiceCatalogEndpointInput interface {
	pulumi.Input

	ToGetAuthScopeServiceCatalogEndpointOutput() GetAuthScopeServiceCatalogEndpointOutput
	ToGetAuthScopeServiceCatalogEndpointOutputWithContext(context.Context) GetAuthScopeServiceCatalogEndpointOutput
}

GetAuthScopeServiceCatalogEndpointInput is an input type that accepts GetAuthScopeServiceCatalogEndpointArgs and GetAuthScopeServiceCatalogEndpointOutput values. You can construct a concrete instance of `GetAuthScopeServiceCatalogEndpointInput` via:

GetAuthScopeServiceCatalogEndpointArgs{...}

type GetAuthScopeServiceCatalogEndpointOutput added in v2.15.0

type GetAuthScopeServiceCatalogEndpointOutput struct{ *pulumi.OutputState }

func (GetAuthScopeServiceCatalogEndpointOutput) ElementType added in v2.15.0

func (GetAuthScopeServiceCatalogEndpointOutput) Id added in v2.15.0

The ID of the endpoint.

func (GetAuthScopeServiceCatalogEndpointOutput) Interface added in v2.15.0

The interface of the endpoint.

func (GetAuthScopeServiceCatalogEndpointOutput) Region added in v2.15.0

The region in which to obtain the V3 Identity client. A Identity client is needed to retrieve tokens IDs. If omitted, the `region` argument of the provider is used.

func (GetAuthScopeServiceCatalogEndpointOutput) RegionId added in v2.15.0

The region ID of the endpoint.

func (GetAuthScopeServiceCatalogEndpointOutput) ToGetAuthScopeServiceCatalogEndpointOutput added in v2.15.0

func (o GetAuthScopeServiceCatalogEndpointOutput) ToGetAuthScopeServiceCatalogEndpointOutput() GetAuthScopeServiceCatalogEndpointOutput

func (GetAuthScopeServiceCatalogEndpointOutput) ToGetAuthScopeServiceCatalogEndpointOutputWithContext added in v2.15.0

func (o GetAuthScopeServiceCatalogEndpointOutput) ToGetAuthScopeServiceCatalogEndpointOutputWithContext(ctx context.Context) GetAuthScopeServiceCatalogEndpointOutput

func (GetAuthScopeServiceCatalogEndpointOutput) Url added in v2.15.0

The URL of the endpoint.

type GetAuthScopeServiceCatalogInput added in v2.15.0

type GetAuthScopeServiceCatalogInput interface {
	pulumi.Input

	ToGetAuthScopeServiceCatalogOutput() GetAuthScopeServiceCatalogOutput
	ToGetAuthScopeServiceCatalogOutputWithContext(context.Context) GetAuthScopeServiceCatalogOutput
}

GetAuthScopeServiceCatalogInput is an input type that accepts GetAuthScopeServiceCatalogArgs and GetAuthScopeServiceCatalogOutput values. You can construct a concrete instance of `GetAuthScopeServiceCatalogInput` via:

GetAuthScopeServiceCatalogArgs{...}

type GetAuthScopeServiceCatalogOutput added in v2.15.0

type GetAuthScopeServiceCatalogOutput struct{ *pulumi.OutputState }

func (GetAuthScopeServiceCatalogOutput) ElementType added in v2.15.0

func (GetAuthScopeServiceCatalogOutput) Endpoints added in v2.15.0

A list of endpoints for the service.

func (GetAuthScopeServiceCatalogOutput) Id added in v2.15.0

The ID of the endpoint.

func (GetAuthScopeServiceCatalogOutput) Name added in v2.15.0

The name of the scope. This is an arbitrary name which is only used as a unique identifier so an actual token isn't used as the ID.

func (GetAuthScopeServiceCatalogOutput) ToGetAuthScopeServiceCatalogOutput added in v2.15.0

func (o GetAuthScopeServiceCatalogOutput) ToGetAuthScopeServiceCatalogOutput() GetAuthScopeServiceCatalogOutput

func (GetAuthScopeServiceCatalogOutput) ToGetAuthScopeServiceCatalogOutputWithContext added in v2.15.0

func (o GetAuthScopeServiceCatalogOutput) ToGetAuthScopeServiceCatalogOutputWithContext(ctx context.Context) GetAuthScopeServiceCatalogOutput

func (GetAuthScopeServiceCatalogOutput) Type added in v2.15.0

The type of the service.

type GetEndpointArgs

type GetEndpointArgs struct {
	// The region the endpoint is assigned to. The
	// `region` and `endpointRegion` can be different.
	EndpointRegion *string `pulumi:"endpointRegion"`
	// The endpoint interface. Valid values are `public`,
	// `internal`, and `admin`. Default value is `public`
	Interface *string `pulumi:"interface"`
	// The name of the endpoint.
	Name *string `pulumi:"name"`
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used.
	Region *string `pulumi:"region"`
	// The service id this endpoint belongs to.
	ServiceId *string `pulumi:"serviceId"`
	// The service name of the endpoint.
	ServiceName *string `pulumi:"serviceName"`
	// The service type of the endpoint.
	ServiceType *string `pulumi:"serviceType"`
}

A collection of arguments for invoking getEndpoint.

type GetEndpointResult

type GetEndpointResult struct {
	// See Argument Reference above.
	EndpointRegion *string `pulumi:"endpointRegion"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// See Argument Reference above.
	Interface *string `pulumi:"interface"`
	// See Argument Reference above.
	Name *string `pulumi:"name"`
	// See Argument Reference above.
	Region string `pulumi:"region"`
	// See Argument Reference above.
	ServiceId *string `pulumi:"serviceId"`
	// See Argument Reference above.
	ServiceName *string `pulumi:"serviceName"`
	// See Argument Reference above.
	ServiceType *string `pulumi:"serviceType"`
	// The endpoint URL.
	Url string `pulumi:"url"`
}

A collection of values returned by getEndpoint.

func GetEndpoint

func GetEndpoint(ctx *pulumi.Context, args *GetEndpointArgs, opts ...pulumi.InvokeOption) (*GetEndpointResult, error)

Use this data source to get the ID of an OpenStack endpoint.

> **Note:** This usually requires admin privileges.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v2/go/openstack/identity"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "demo"
		_, err := identity.GetEndpoint(ctx, &identity.GetEndpointArgs{
			ServiceName: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetGroupArgs

type GetGroupArgs struct {
	// The domain the group belongs to.
	DomainId *string `pulumi:"domainId"`
	// The name of the group.
	Name string `pulumi:"name"`
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getGroup.

type GetGroupResult

type GetGroupResult struct {
	// A description of the group.
	Description string `pulumi:"description"`
	// See Argument Reference above.
	DomainId string `pulumi:"domainId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// See Argument Reference above.
	Name string `pulumi:"name"`
	// See Argument Reference above.
	Region string `pulumi:"region"`
}

A collection of values returned by getGroup.

func GetGroup

func GetGroup(ctx *pulumi.Context, args *GetGroupArgs, opts ...pulumi.InvokeOption) (*GetGroupResult, error)

Use this data source to get the ID of an OpenStack group.

> **Note:** You _must_ have admin privileges in your OpenStack cloud to use this resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v2/go/openstack/identity"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := identity.GetGroup(ctx, &identity.GetGroupArgs{
			Name: "admins",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetServiceArgs

type GetServiceArgs struct {
	// The service status.
	Enabled *bool `pulumi:"enabled"`
	// The service name.
	Name *string `pulumi:"name"`
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used.
	Region *string `pulumi:"region"`
	// The service type.
	Type *string `pulumi:"type"`
}

A collection of arguments for invoking getService.

type GetServiceResult

type GetServiceResult struct {
	// The service description.
	Description string `pulumi:"description"`
	// See Argument Reference above.
	Enabled *bool `pulumi:"enabled"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// See Argument Reference above.
	Name *string `pulumi:"name"`
	// See Argument Reference above.
	Region string `pulumi:"region"`
	// See Argument Reference above.
	Type *string `pulumi:"type"`
}

A collection of values returned by getService.

func GetService

func GetService(ctx *pulumi.Context, args *GetServiceArgs, opts ...pulumi.InvokeOption) (*GetServiceResult, error)

Use this data source to get the ID of an OpenStack service.

> **Note:** This usually requires admin privileges.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v2/go/openstack/identity"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "keystone"
		_, err := identity.GetService(ctx, &identity.GetServiceArgs{
			Name: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GroupV3 added in v2.4.0

type GroupV3 struct {
	pulumi.CustomResourceState

	// A description of the group.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The domain the group belongs to.
	DomainId pulumi.StringOutput `pulumi:"domainId"`
	// The name of the group.
	Name pulumi.StringOutput `pulumi:"name"`
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used. Changing this
	// creates a new group.
	Region pulumi.StringOutput `pulumi:"region"`
}

Manages a V3 group resource within OpenStack Keystone.

> **Note:** You _must_ have admin privileges in your OpenStack cloud to use this resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v2/go/openstack/identity"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := identity.NewGroupV3(ctx, "group1", &identity.GroupV3Args{
			Description: pulumi.String("group 1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

groups can be imported using the `id`, e.g.

```sh

$ pulumi import openstack:identity/groupV3:GroupV3 group_1 89c60255-9bd6-460c-822a-e2b959ede9d2

```

func GetGroupV3 added in v2.4.0

func GetGroupV3(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupV3State, opts ...pulumi.ResourceOption) (*GroupV3, error)

GetGroupV3 gets an existing GroupV3 resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroupV3 added in v2.4.0

func NewGroupV3(ctx *pulumi.Context,
	name string, args *GroupV3Args, opts ...pulumi.ResourceOption) (*GroupV3, error)

NewGroupV3 registers a new resource with the given unique name, arguments, and options.

func (*GroupV3) ElementType added in v2.10.0

func (*GroupV3) ElementType() reflect.Type

func (*GroupV3) ToGroupV3Output added in v2.10.0

func (i *GroupV3) ToGroupV3Output() GroupV3Output

func (*GroupV3) ToGroupV3OutputWithContext added in v2.10.0

func (i *GroupV3) ToGroupV3OutputWithContext(ctx context.Context) GroupV3Output

func (*GroupV3) ToGroupV3PtrOutput added in v2.14.1

func (i *GroupV3) ToGroupV3PtrOutput() GroupV3PtrOutput

func (*GroupV3) ToGroupV3PtrOutputWithContext added in v2.14.1

func (i *GroupV3) ToGroupV3PtrOutputWithContext(ctx context.Context) GroupV3PtrOutput

type GroupV3Args added in v2.4.0

type GroupV3Args struct {
	// A description of the group.
	Description pulumi.StringPtrInput
	// The domain the group belongs to.
	DomainId pulumi.StringPtrInput
	// The name of the group.
	Name pulumi.StringPtrInput
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used. Changing this
	// creates a new group.
	Region pulumi.StringPtrInput
}

The set of arguments for constructing a GroupV3 resource.

func (GroupV3Args) ElementType added in v2.4.0

func (GroupV3Args) ElementType() reflect.Type

type GroupV3Array added in v2.14.1

type GroupV3Array []GroupV3Input

func (GroupV3Array) ElementType added in v2.14.1

func (GroupV3Array) ElementType() reflect.Type

func (GroupV3Array) ToGroupV3ArrayOutput added in v2.14.1

func (i GroupV3Array) ToGroupV3ArrayOutput() GroupV3ArrayOutput

func (GroupV3Array) ToGroupV3ArrayOutputWithContext added in v2.14.1

func (i GroupV3Array) ToGroupV3ArrayOutputWithContext(ctx context.Context) GroupV3ArrayOutput

type GroupV3ArrayInput added in v2.14.1

type GroupV3ArrayInput interface {
	pulumi.Input

	ToGroupV3ArrayOutput() GroupV3ArrayOutput
	ToGroupV3ArrayOutputWithContext(context.Context) GroupV3ArrayOutput
}

GroupV3ArrayInput is an input type that accepts GroupV3Array and GroupV3ArrayOutput values. You can construct a concrete instance of `GroupV3ArrayInput` via:

GroupV3Array{ GroupV3Args{...} }

type GroupV3ArrayOutput added in v2.14.1

type GroupV3ArrayOutput struct{ *pulumi.OutputState }

func (GroupV3ArrayOutput) ElementType added in v2.14.1

func (GroupV3ArrayOutput) ElementType() reflect.Type

func (GroupV3ArrayOutput) Index added in v2.14.1

func (GroupV3ArrayOutput) ToGroupV3ArrayOutput added in v2.14.1

func (o GroupV3ArrayOutput) ToGroupV3ArrayOutput() GroupV3ArrayOutput

func (GroupV3ArrayOutput) ToGroupV3ArrayOutputWithContext added in v2.14.1

func (o GroupV3ArrayOutput) ToGroupV3ArrayOutputWithContext(ctx context.Context) GroupV3ArrayOutput

type GroupV3Input added in v2.10.0

type GroupV3Input interface {
	pulumi.Input

	ToGroupV3Output() GroupV3Output
	ToGroupV3OutputWithContext(ctx context.Context) GroupV3Output
}

type GroupV3Map added in v2.14.1

type GroupV3Map map[string]GroupV3Input

func (GroupV3Map) ElementType added in v2.14.1

func (GroupV3Map) ElementType() reflect.Type

func (GroupV3Map) ToGroupV3MapOutput added in v2.14.1

func (i GroupV3Map) ToGroupV3MapOutput() GroupV3MapOutput

func (GroupV3Map) ToGroupV3MapOutputWithContext added in v2.14.1

func (i GroupV3Map) ToGroupV3MapOutputWithContext(ctx context.Context) GroupV3MapOutput

type GroupV3MapInput added in v2.14.1

type GroupV3MapInput interface {
	pulumi.Input

	ToGroupV3MapOutput() GroupV3MapOutput
	ToGroupV3MapOutputWithContext(context.Context) GroupV3MapOutput
}

GroupV3MapInput is an input type that accepts GroupV3Map and GroupV3MapOutput values. You can construct a concrete instance of `GroupV3MapInput` via:

GroupV3Map{ "key": GroupV3Args{...} }

type GroupV3MapOutput added in v2.14.1

type GroupV3MapOutput struct{ *pulumi.OutputState }

func (GroupV3MapOutput) ElementType added in v2.14.1

func (GroupV3MapOutput) ElementType() reflect.Type

func (GroupV3MapOutput) MapIndex added in v2.14.1

func (GroupV3MapOutput) ToGroupV3MapOutput added in v2.14.1

func (o GroupV3MapOutput) ToGroupV3MapOutput() GroupV3MapOutput

func (GroupV3MapOutput) ToGroupV3MapOutputWithContext added in v2.14.1

func (o GroupV3MapOutput) ToGroupV3MapOutputWithContext(ctx context.Context) GroupV3MapOutput

type GroupV3Output added in v2.10.0

type GroupV3Output struct {
	*pulumi.OutputState
}

func (GroupV3Output) ElementType added in v2.10.0

func (GroupV3Output) ElementType() reflect.Type

func (GroupV3Output) ToGroupV3Output added in v2.10.0

func (o GroupV3Output) ToGroupV3Output() GroupV3Output

func (GroupV3Output) ToGroupV3OutputWithContext added in v2.10.0

func (o GroupV3Output) ToGroupV3OutputWithContext(ctx context.Context) GroupV3Output

func (GroupV3Output) ToGroupV3PtrOutput added in v2.14.1

func (o GroupV3Output) ToGroupV3PtrOutput() GroupV3PtrOutput

func (GroupV3Output) ToGroupV3PtrOutputWithContext added in v2.14.1

func (o GroupV3Output) ToGroupV3PtrOutputWithContext(ctx context.Context) GroupV3PtrOutput

type GroupV3PtrInput added in v2.14.1

type GroupV3PtrInput interface {
	pulumi.Input

	ToGroupV3PtrOutput() GroupV3PtrOutput
	ToGroupV3PtrOutputWithContext(ctx context.Context) GroupV3PtrOutput
}

type GroupV3PtrOutput added in v2.14.1

type GroupV3PtrOutput struct {
	*pulumi.OutputState
}

func (GroupV3PtrOutput) ElementType added in v2.14.1

func (GroupV3PtrOutput) ElementType() reflect.Type

func (GroupV3PtrOutput) ToGroupV3PtrOutput added in v2.14.1

func (o GroupV3PtrOutput) ToGroupV3PtrOutput() GroupV3PtrOutput

func (GroupV3PtrOutput) ToGroupV3PtrOutputWithContext added in v2.14.1

func (o GroupV3PtrOutput) ToGroupV3PtrOutputWithContext(ctx context.Context) GroupV3PtrOutput

type GroupV3State added in v2.4.0

type GroupV3State struct {
	// A description of the group.
	Description pulumi.StringPtrInput
	// The domain the group belongs to.
	DomainId pulumi.StringPtrInput
	// The name of the group.
	Name pulumi.StringPtrInput
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used. Changing this
	// creates a new group.
	Region pulumi.StringPtrInput
}

func (GroupV3State) ElementType added in v2.4.0

func (GroupV3State) ElementType() reflect.Type

type LookupProjectArgs

type LookupProjectArgs struct {
	// The domain this project belongs to.
	DomainId *string `pulumi:"domainId"`
	// Whether the project is enabled or disabled. Valid
	// values are `true` and `false`.
	Enabled *bool `pulumi:"enabled"`
	// Whether this project is a domain. Valid values
	// are `true` and `false`.
	IsDomain *bool `pulumi:"isDomain"`
	// The name of the project.
	Name *string `pulumi:"name"`
	// The parent of this project.
	ParentId *string `pulumi:"parentId"`
	// The region the project is located in.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getProject.

type LookupProjectResult

type LookupProjectResult struct {
	// The description of the project.
	Description string `pulumi:"description"`
	// See Argument Reference above.
	DomainId string `pulumi:"domainId"`
	// See Argument Reference above.
	Enabled *bool `pulumi:"enabled"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// See Argument Reference above.
	IsDomain *bool `pulumi:"isDomain"`
	// See Argument Reference above.
	Name *string `pulumi:"name"`
	// See Argument Reference above.
	ParentId *string `pulumi:"parentId"`
	// The region the project is located in.
	Region string `pulumi:"region"`
	// See Argument Reference above.
	Tags []string `pulumi:"tags"`
}

A collection of values returned by getProject.

func LookupProject

func LookupProject(ctx *pulumi.Context, args *LookupProjectArgs, opts ...pulumi.InvokeOption) (*LookupProjectResult, error)

Use this data source to get the ID of an OpenStack project.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v2/go/openstack/identity"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "demo"
		_, err := identity.LookupProject(ctx, &identity.LookupProjectArgs{
			Name: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupRoleArgs

type LookupRoleArgs struct {
	// The domain the role belongs to.
	DomainId *string `pulumi:"domainId"`
	// The name of the role.
	Name string `pulumi:"name"`
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used.
	Region *string `pulumi:"region"`
}

A collection of arguments for invoking getRole.

type LookupRoleResult

type LookupRoleResult struct {
	// See Argument Reference above.
	DomainId string `pulumi:"domainId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// See Argument Reference above.
	Name string `pulumi:"name"`
	// See Argument Reference above.
	Region string `pulumi:"region"`
}

A collection of values returned by getRole.

func LookupRole

func LookupRole(ctx *pulumi.Context, args *LookupRoleArgs, opts ...pulumi.InvokeOption) (*LookupRoleResult, error)

Use this data source to get the ID of an OpenStack role.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v2/go/openstack/identity"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := identity.LookupRole(ctx, &identity.LookupRoleArgs{
			Name: "admin",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupUserArgs

type LookupUserArgs struct {
	// The domain this user belongs to.
	DomainId *string `pulumi:"domainId"`
	// Whether the user is enabled or disabled. Valid
	// values are `true` and `false`.
	Enabled *bool `pulumi:"enabled"`
	// The identity provider ID of the user.
	IdpId *string `pulumi:"idpId"`
	// The name of the user.
	Name *string `pulumi:"name"`
	// Query for expired passwords. See the [OpenStack API docs](https://developer.openstack.org/api-ref/identity/v3/#list-users) for more information on the query format.
	PasswordExpiresAt *string `pulumi:"passwordExpiresAt"`
	// The protocol ID of the user.
	ProtocolId *string `pulumi:"protocolId"`
	// The region the user is located in.
	Region *string `pulumi:"region"`
	// The unique ID of the user.
	UniqueId *string `pulumi:"uniqueId"`
}

A collection of arguments for invoking getUser.

type LookupUserResult

type LookupUserResult struct {
	// See Argument Reference above.
	DefaultProjectId string `pulumi:"defaultProjectId"`
	// A description of the user.
	Description string `pulumi:"description"`
	// See Argument Reference above.
	DomainId string `pulumi:"domainId"`
	// See Argument Reference above.
	Enabled *bool `pulumi:"enabled"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// See Argument Reference above.
	IdpId *string `pulumi:"idpId"`
	// See Argument Reference above.
	Name *string `pulumi:"name"`
	// See Argument Reference above.
	PasswordExpiresAt *string `pulumi:"passwordExpiresAt"`
	// See Argument Reference above.
	ProtocolId *string `pulumi:"protocolId"`
	// The region the user is located in.
	Region string `pulumi:"region"`
	// See Argument Reference above.
	UniqueId *string `pulumi:"uniqueId"`
}

A collection of values returned by getUser.

func LookupUser

func LookupUser(ctx *pulumi.Context, args *LookupUserArgs, opts ...pulumi.InvokeOption) (*LookupUserResult, error)

Use this data source to get the ID of an OpenStack user.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v2/go/openstack/identity"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "user_1"
		_, err := identity.LookupUser(ctx, &identity.LookupUserArgs{
			Name: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type Project

type Project struct {
	pulumi.CustomResourceState

	// A description of the project.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The domain this project belongs to.
	DomainId pulumi.StringOutput `pulumi:"domainId"`
	// Whether the project is enabled or disabled. Valid
	// values are `true` and `false`. Default is `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// Whether this project is a domain. Valid values
	// are `true` and `false`. Default is `false`. Changing this creates a new
	// project/domain.
	IsDomain pulumi.BoolPtrOutput `pulumi:"isDomain"`
	// The name of the project.
	Name pulumi.StringOutput `pulumi:"name"`
	// The parent of this project. Changing this creates
	// a new project.
	ParentId pulumi.StringOutput `pulumi:"parentId"`
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used. Changing this
	// creates a new project.
	Region pulumi.StringOutput `pulumi:"region"`
	// Tags for the project. Changing this updates the existing
	// project.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
}

Manages a V3 Project resource within OpenStack Keystone.

> **Note:** You _must_ have admin privileges in your OpenStack cloud to use this resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v2/go/openstack/identity"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := identity.NewProject(ctx, "project1", &identity.ProjectArgs{
			Description: pulumi.String("A project"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Projects can be imported using the `id`, e.g.

```sh

$ pulumi import openstack:identity/project:Project project_1 89c60255-9bd6-460c-822a-e2b959ede9d2

```

func GetProject

func GetProject(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectState, opts ...pulumi.ResourceOption) (*Project, error)

GetProject gets an existing Project resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProject

func NewProject(ctx *pulumi.Context,
	name string, args *ProjectArgs, opts ...pulumi.ResourceOption) (*Project, error)

NewProject registers a new resource with the given unique name, arguments, and options.

func (*Project) ElementType added in v2.10.0

func (*Project) ElementType() reflect.Type

func (*Project) ToProjectOutput added in v2.10.0

func (i *Project) ToProjectOutput() ProjectOutput

func (*Project) ToProjectOutputWithContext added in v2.10.0

func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

func (*Project) ToProjectPtrOutput added in v2.14.1

func (i *Project) ToProjectPtrOutput() ProjectPtrOutput

func (*Project) ToProjectPtrOutputWithContext added in v2.14.1

func (i *Project) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput

type ProjectArgs

type ProjectArgs struct {
	// A description of the project.
	Description pulumi.StringPtrInput
	// The domain this project belongs to.
	DomainId pulumi.StringPtrInput
	// Whether the project is enabled or disabled. Valid
	// values are `true` and `false`. Default is `true`.
	Enabled pulumi.BoolPtrInput
	// Whether this project is a domain. Valid values
	// are `true` and `false`. Default is `false`. Changing this creates a new
	// project/domain.
	IsDomain pulumi.BoolPtrInput
	// The name of the project.
	Name pulumi.StringPtrInput
	// The parent of this project. Changing this creates
	// a new project.
	ParentId pulumi.StringPtrInput
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used. Changing this
	// creates a new project.
	Region pulumi.StringPtrInput
	// Tags for the project. Changing this updates the existing
	// project.
	Tags pulumi.StringArrayInput
}

The set of arguments for constructing a Project resource.

func (ProjectArgs) ElementType

func (ProjectArgs) ElementType() reflect.Type

type ProjectArray added in v2.14.1

type ProjectArray []ProjectInput

func (ProjectArray) ElementType added in v2.14.1

func (ProjectArray) ElementType() reflect.Type

func (ProjectArray) ToProjectArrayOutput added in v2.14.1

func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArray) ToProjectArrayOutputWithContext added in v2.14.1

func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectArrayInput added in v2.14.1

type ProjectArrayInput interface {
	pulumi.Input

	ToProjectArrayOutput() ProjectArrayOutput
	ToProjectArrayOutputWithContext(context.Context) ProjectArrayOutput
}

ProjectArrayInput is an input type that accepts ProjectArray and ProjectArrayOutput values. You can construct a concrete instance of `ProjectArrayInput` via:

ProjectArray{ ProjectArgs{...} }

type ProjectArrayOutput added in v2.14.1

type ProjectArrayOutput struct{ *pulumi.OutputState }

func (ProjectArrayOutput) ElementType added in v2.14.1

func (ProjectArrayOutput) ElementType() reflect.Type

func (ProjectArrayOutput) Index added in v2.14.1

func (ProjectArrayOutput) ToProjectArrayOutput added in v2.14.1

func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArrayOutput) ToProjectArrayOutputWithContext added in v2.14.1

func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectInput added in v2.10.0

type ProjectInput interface {
	pulumi.Input

	ToProjectOutput() ProjectOutput
	ToProjectOutputWithContext(ctx context.Context) ProjectOutput
}

type ProjectMap added in v2.14.1

type ProjectMap map[string]ProjectInput

func (ProjectMap) ElementType added in v2.14.1

func (ProjectMap) ElementType() reflect.Type

func (ProjectMap) ToProjectMapOutput added in v2.14.1

func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput

func (ProjectMap) ToProjectMapOutputWithContext added in v2.14.1

func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectMapInput added in v2.14.1

type ProjectMapInput interface {
	pulumi.Input

	ToProjectMapOutput() ProjectMapOutput
	ToProjectMapOutputWithContext(context.Context) ProjectMapOutput
}

ProjectMapInput is an input type that accepts ProjectMap and ProjectMapOutput values. You can construct a concrete instance of `ProjectMapInput` via:

ProjectMap{ "key": ProjectArgs{...} }

type ProjectMapOutput added in v2.14.1

type ProjectMapOutput struct{ *pulumi.OutputState }

func (ProjectMapOutput) ElementType added in v2.14.1

func (ProjectMapOutput) ElementType() reflect.Type

func (ProjectMapOutput) MapIndex added in v2.14.1

func (ProjectMapOutput) ToProjectMapOutput added in v2.14.1

func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput

func (ProjectMapOutput) ToProjectMapOutputWithContext added in v2.14.1

func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectOutput added in v2.10.0

type ProjectOutput struct {
	*pulumi.OutputState
}

func (ProjectOutput) ElementType added in v2.10.0

func (ProjectOutput) ElementType() reflect.Type

func (ProjectOutput) ToProjectOutput added in v2.10.0

func (o ProjectOutput) ToProjectOutput() ProjectOutput

func (ProjectOutput) ToProjectOutputWithContext added in v2.10.0

func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

func (ProjectOutput) ToProjectPtrOutput added in v2.14.1

func (o ProjectOutput) ToProjectPtrOutput() ProjectPtrOutput

func (ProjectOutput) ToProjectPtrOutputWithContext added in v2.14.1

func (o ProjectOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput

type ProjectPtrInput added in v2.14.1

type ProjectPtrInput interface {
	pulumi.Input

	ToProjectPtrOutput() ProjectPtrOutput
	ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
}

type ProjectPtrOutput added in v2.14.1

type ProjectPtrOutput struct {
	*pulumi.OutputState
}

func (ProjectPtrOutput) ElementType added in v2.14.1

func (ProjectPtrOutput) ElementType() reflect.Type

func (ProjectPtrOutput) ToProjectPtrOutput added in v2.14.1

func (o ProjectPtrOutput) ToProjectPtrOutput() ProjectPtrOutput

func (ProjectPtrOutput) ToProjectPtrOutputWithContext added in v2.14.1

func (o ProjectPtrOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput

type ProjectState

type ProjectState struct {
	// A description of the project.
	Description pulumi.StringPtrInput
	// The domain this project belongs to.
	DomainId pulumi.StringPtrInput
	// Whether the project is enabled or disabled. Valid
	// values are `true` and `false`. Default is `true`.
	Enabled pulumi.BoolPtrInput
	// Whether this project is a domain. Valid values
	// are `true` and `false`. Default is `false`. Changing this creates a new
	// project/domain.
	IsDomain pulumi.BoolPtrInput
	// The name of the project.
	Name pulumi.StringPtrInput
	// The parent of this project. Changing this creates
	// a new project.
	ParentId pulumi.StringPtrInput
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used. Changing this
	// creates a new project.
	Region pulumi.StringPtrInput
	// Tags for the project. Changing this updates the existing
	// project.
	Tags pulumi.StringArrayInput
}

func (ProjectState) ElementType

func (ProjectState) ElementType() reflect.Type

type Role

type Role struct {
	pulumi.CustomResourceState

	// The domain the role belongs to.
	DomainId pulumi.StringOutput `pulumi:"domainId"`
	// The name of the role.
	Name pulumi.StringOutput `pulumi:"name"`
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used. Changing this
	// creates a new Role.
	Region pulumi.StringOutput `pulumi:"region"`
}

Manages a V3 Role resource within OpenStack Keystone.

> **Note:** You _must_ have admin privileges in your OpenStack cloud to use this resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v2/go/openstack/identity"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := identity.NewRole(ctx, "role1", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Roles can be imported using the `id`, e.g.

```sh

$ pulumi import openstack:identity/role:Role role_1 89c60255-9bd6-460c-822a-e2b959ede9d2

```

func GetRole

func GetRole(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RoleState, opts ...pulumi.ResourceOption) (*Role, error)

GetRole gets an existing Role resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRole

func NewRole(ctx *pulumi.Context,
	name string, args *RoleArgs, opts ...pulumi.ResourceOption) (*Role, error)

NewRole registers a new resource with the given unique name, arguments, and options.

func (*Role) ElementType added in v2.10.0

func (*Role) ElementType() reflect.Type

func (*Role) ToRoleOutput added in v2.10.0

func (i *Role) ToRoleOutput() RoleOutput

func (*Role) ToRoleOutputWithContext added in v2.10.0

func (i *Role) ToRoleOutputWithContext(ctx context.Context) RoleOutput

func (*Role) ToRolePtrOutput added in v2.14.1

func (i *Role) ToRolePtrOutput() RolePtrOutput

func (*Role) ToRolePtrOutputWithContext added in v2.14.1

func (i *Role) ToRolePtrOutputWithContext(ctx context.Context) RolePtrOutput

type RoleArgs

type RoleArgs struct {
	// The domain the role belongs to.
	DomainId pulumi.StringPtrInput
	// The name of the role.
	Name pulumi.StringPtrInput
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used. Changing this
	// creates a new Role.
	Region pulumi.StringPtrInput
}

The set of arguments for constructing a Role resource.

func (RoleArgs) ElementType

func (RoleArgs) ElementType() reflect.Type

type RoleArray added in v2.14.1

type RoleArray []RoleInput

func (RoleArray) ElementType added in v2.14.1

func (RoleArray) ElementType() reflect.Type

func (RoleArray) ToRoleArrayOutput added in v2.14.1

func (i RoleArray) ToRoleArrayOutput() RoleArrayOutput

func (RoleArray) ToRoleArrayOutputWithContext added in v2.14.1

func (i RoleArray) ToRoleArrayOutputWithContext(ctx context.Context) RoleArrayOutput

type RoleArrayInput added in v2.14.1

type RoleArrayInput interface {
	pulumi.Input

	ToRoleArrayOutput() RoleArrayOutput
	ToRoleArrayOutputWithContext(context.Context) RoleArrayOutput
}

RoleArrayInput is an input type that accepts RoleArray and RoleArrayOutput values. You can construct a concrete instance of `RoleArrayInput` via:

RoleArray{ RoleArgs{...} }

type RoleArrayOutput added in v2.14.1

type RoleArrayOutput struct{ *pulumi.OutputState }

func (RoleArrayOutput) ElementType added in v2.14.1

func (RoleArrayOutput) ElementType() reflect.Type

func (RoleArrayOutput) Index added in v2.14.1

func (RoleArrayOutput) ToRoleArrayOutput added in v2.14.1

func (o RoleArrayOutput) ToRoleArrayOutput() RoleArrayOutput

func (RoleArrayOutput) ToRoleArrayOutputWithContext added in v2.14.1

func (o RoleArrayOutput) ToRoleArrayOutputWithContext(ctx context.Context) RoleArrayOutput

type RoleAssignment

type RoleAssignment struct {
	pulumi.CustomResourceState

	// The domain to assign the role in.
	DomainId pulumi.StringPtrOutput `pulumi:"domainId"`
	// The group to assign the role to.
	GroupId pulumi.StringPtrOutput `pulumi:"groupId"`
	// The project to assign the role in.
	ProjectId pulumi.StringPtrOutput `pulumi:"projectId"`
	Region    pulumi.StringOutput    `pulumi:"region"`
	// The role to assign.
	RoleId pulumi.StringOutput `pulumi:"roleId"`
	// The user to assign the role to.
	UserId pulumi.StringPtrOutput `pulumi:"userId"`
}

Manages a V3 Role assignment within OpenStack Keystone.

> **Note:** You _must_ have admin privileges in your OpenStack cloud to use this resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v2/go/openstack/identity"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project1, err := identity.NewProject(ctx, "project1", nil)
		if err != nil {
			return err
		}
		user1, err := identity.NewUser(ctx, "user1", &identity.UserArgs{
			DefaultProjectId: project1.ID(),
		})
		if err != nil {
			return err
		}
		role1, err := identity.NewRole(ctx, "role1", nil)
		if err != nil {
			return err
		}
		_, err = identity.NewRoleAssignment(ctx, "roleAssignment1", &identity.RoleAssignmentArgs{
			ProjectId: project1.ID(),
			RoleId:    role1.ID(),
			UserId:    user1.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetRoleAssignment

func GetRoleAssignment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RoleAssignmentState, opts ...pulumi.ResourceOption) (*RoleAssignment, error)

GetRoleAssignment gets an existing RoleAssignment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRoleAssignment

func NewRoleAssignment(ctx *pulumi.Context,
	name string, args *RoleAssignmentArgs, opts ...pulumi.ResourceOption) (*RoleAssignment, error)

NewRoleAssignment registers a new resource with the given unique name, arguments, and options.

func (*RoleAssignment) ElementType added in v2.10.0

func (*RoleAssignment) ElementType() reflect.Type

func (*RoleAssignment) ToRoleAssignmentOutput added in v2.10.0

func (i *RoleAssignment) ToRoleAssignmentOutput() RoleAssignmentOutput

func (*RoleAssignment) ToRoleAssignmentOutputWithContext added in v2.10.0

func (i *RoleAssignment) ToRoleAssignmentOutputWithContext(ctx context.Context) RoleAssignmentOutput

func (*RoleAssignment) ToRoleAssignmentPtrOutput added in v2.14.1

func (i *RoleAssignment) ToRoleAssignmentPtrOutput() RoleAssignmentPtrOutput

func (*RoleAssignment) ToRoleAssignmentPtrOutputWithContext added in v2.14.1

func (i *RoleAssignment) ToRoleAssignmentPtrOutputWithContext(ctx context.Context) RoleAssignmentPtrOutput

type RoleAssignmentArgs

type RoleAssignmentArgs struct {
	// The domain to assign the role in.
	DomainId pulumi.StringPtrInput
	// The group to assign the role to.
	GroupId pulumi.StringPtrInput
	// The project to assign the role in.
	ProjectId pulumi.StringPtrInput
	Region    pulumi.StringPtrInput
	// The role to assign.
	RoleId pulumi.StringInput
	// The user to assign the role to.
	UserId pulumi.StringPtrInput
}

The set of arguments for constructing a RoleAssignment resource.

func (RoleAssignmentArgs) ElementType

func (RoleAssignmentArgs) ElementType() reflect.Type

type RoleAssignmentArray added in v2.14.1

type RoleAssignmentArray []RoleAssignmentInput

func (RoleAssignmentArray) ElementType added in v2.14.1

func (RoleAssignmentArray) ElementType() reflect.Type

func (RoleAssignmentArray) ToRoleAssignmentArrayOutput added in v2.14.1

func (i RoleAssignmentArray) ToRoleAssignmentArrayOutput() RoleAssignmentArrayOutput

func (RoleAssignmentArray) ToRoleAssignmentArrayOutputWithContext added in v2.14.1

func (i RoleAssignmentArray) ToRoleAssignmentArrayOutputWithContext(ctx context.Context) RoleAssignmentArrayOutput

type RoleAssignmentArrayInput added in v2.14.1

type RoleAssignmentArrayInput interface {
	pulumi.Input

	ToRoleAssignmentArrayOutput() RoleAssignmentArrayOutput
	ToRoleAssignmentArrayOutputWithContext(context.Context) RoleAssignmentArrayOutput
}

RoleAssignmentArrayInput is an input type that accepts RoleAssignmentArray and RoleAssignmentArrayOutput values. You can construct a concrete instance of `RoleAssignmentArrayInput` via:

RoleAssignmentArray{ RoleAssignmentArgs{...} }

type RoleAssignmentArrayOutput added in v2.14.1

type RoleAssignmentArrayOutput struct{ *pulumi.OutputState }

func (RoleAssignmentArrayOutput) ElementType added in v2.14.1

func (RoleAssignmentArrayOutput) ElementType() reflect.Type

func (RoleAssignmentArrayOutput) Index added in v2.14.1

func (RoleAssignmentArrayOutput) ToRoleAssignmentArrayOutput added in v2.14.1

func (o RoleAssignmentArrayOutput) ToRoleAssignmentArrayOutput() RoleAssignmentArrayOutput

func (RoleAssignmentArrayOutput) ToRoleAssignmentArrayOutputWithContext added in v2.14.1

func (o RoleAssignmentArrayOutput) ToRoleAssignmentArrayOutputWithContext(ctx context.Context) RoleAssignmentArrayOutput

type RoleAssignmentInput added in v2.10.0

type RoleAssignmentInput interface {
	pulumi.Input

	ToRoleAssignmentOutput() RoleAssignmentOutput
	ToRoleAssignmentOutputWithContext(ctx context.Context) RoleAssignmentOutput
}

type RoleAssignmentMap added in v2.14.1

type RoleAssignmentMap map[string]RoleAssignmentInput

func (RoleAssignmentMap) ElementType added in v2.14.1

func (RoleAssignmentMap) ElementType() reflect.Type

func (RoleAssignmentMap) ToRoleAssignmentMapOutput added in v2.14.1

func (i RoleAssignmentMap) ToRoleAssignmentMapOutput() RoleAssignmentMapOutput

func (RoleAssignmentMap) ToRoleAssignmentMapOutputWithContext added in v2.14.1

func (i RoleAssignmentMap) ToRoleAssignmentMapOutputWithContext(ctx context.Context) RoleAssignmentMapOutput

type RoleAssignmentMapInput added in v2.14.1

type RoleAssignmentMapInput interface {
	pulumi.Input

	ToRoleAssignmentMapOutput() RoleAssignmentMapOutput
	ToRoleAssignmentMapOutputWithContext(context.Context) RoleAssignmentMapOutput
}

RoleAssignmentMapInput is an input type that accepts RoleAssignmentMap and RoleAssignmentMapOutput values. You can construct a concrete instance of `RoleAssignmentMapInput` via:

RoleAssignmentMap{ "key": RoleAssignmentArgs{...} }

type RoleAssignmentMapOutput added in v2.14.1

type RoleAssignmentMapOutput struct{ *pulumi.OutputState }

func (RoleAssignmentMapOutput) ElementType added in v2.14.1

func (RoleAssignmentMapOutput) ElementType() reflect.Type

func (RoleAssignmentMapOutput) MapIndex added in v2.14.1

func (RoleAssignmentMapOutput) ToRoleAssignmentMapOutput added in v2.14.1

func (o RoleAssignmentMapOutput) ToRoleAssignmentMapOutput() RoleAssignmentMapOutput

func (RoleAssignmentMapOutput) ToRoleAssignmentMapOutputWithContext added in v2.14.1

func (o RoleAssignmentMapOutput) ToRoleAssignmentMapOutputWithContext(ctx context.Context) RoleAssignmentMapOutput

type RoleAssignmentOutput added in v2.10.0

type RoleAssignmentOutput struct {
	*pulumi.OutputState
}

func (RoleAssignmentOutput) ElementType added in v2.10.0

func (RoleAssignmentOutput) ElementType() reflect.Type

func (RoleAssignmentOutput) ToRoleAssignmentOutput added in v2.10.0

func (o RoleAssignmentOutput) ToRoleAssignmentOutput() RoleAssignmentOutput

func (RoleAssignmentOutput) ToRoleAssignmentOutputWithContext added in v2.10.0

func (o RoleAssignmentOutput) ToRoleAssignmentOutputWithContext(ctx context.Context) RoleAssignmentOutput

func (RoleAssignmentOutput) ToRoleAssignmentPtrOutput added in v2.14.1

func (o RoleAssignmentOutput) ToRoleAssignmentPtrOutput() RoleAssignmentPtrOutput

func (RoleAssignmentOutput) ToRoleAssignmentPtrOutputWithContext added in v2.14.1

func (o RoleAssignmentOutput) ToRoleAssignmentPtrOutputWithContext(ctx context.Context) RoleAssignmentPtrOutput

type RoleAssignmentPtrInput added in v2.14.1

type RoleAssignmentPtrInput interface {
	pulumi.Input

	ToRoleAssignmentPtrOutput() RoleAssignmentPtrOutput
	ToRoleAssignmentPtrOutputWithContext(ctx context.Context) RoleAssignmentPtrOutput
}

type RoleAssignmentPtrOutput added in v2.14.1

type RoleAssignmentPtrOutput struct {
	*pulumi.OutputState
}

func (RoleAssignmentPtrOutput) ElementType added in v2.14.1

func (RoleAssignmentPtrOutput) ElementType() reflect.Type

func (RoleAssignmentPtrOutput) ToRoleAssignmentPtrOutput added in v2.14.1

func (o RoleAssignmentPtrOutput) ToRoleAssignmentPtrOutput() RoleAssignmentPtrOutput

func (RoleAssignmentPtrOutput) ToRoleAssignmentPtrOutputWithContext added in v2.14.1

func (o RoleAssignmentPtrOutput) ToRoleAssignmentPtrOutputWithContext(ctx context.Context) RoleAssignmentPtrOutput

type RoleAssignmentState

type RoleAssignmentState struct {
	// The domain to assign the role in.
	DomainId pulumi.StringPtrInput
	// The group to assign the role to.
	GroupId pulumi.StringPtrInput
	// The project to assign the role in.
	ProjectId pulumi.StringPtrInput
	Region    pulumi.StringPtrInput
	// The role to assign.
	RoleId pulumi.StringPtrInput
	// The user to assign the role to.
	UserId pulumi.StringPtrInput
}

func (RoleAssignmentState) ElementType

func (RoleAssignmentState) ElementType() reflect.Type

type RoleInput added in v2.10.0

type RoleInput interface {
	pulumi.Input

	ToRoleOutput() RoleOutput
	ToRoleOutputWithContext(ctx context.Context) RoleOutput
}

type RoleMap added in v2.14.1

type RoleMap map[string]RoleInput

func (RoleMap) ElementType added in v2.14.1

func (RoleMap) ElementType() reflect.Type

func (RoleMap) ToRoleMapOutput added in v2.14.1

func (i RoleMap) ToRoleMapOutput() RoleMapOutput

func (RoleMap) ToRoleMapOutputWithContext added in v2.14.1

func (i RoleMap) ToRoleMapOutputWithContext(ctx context.Context) RoleMapOutput

type RoleMapInput added in v2.14.1

type RoleMapInput interface {
	pulumi.Input

	ToRoleMapOutput() RoleMapOutput
	ToRoleMapOutputWithContext(context.Context) RoleMapOutput
}

RoleMapInput is an input type that accepts RoleMap and RoleMapOutput values. You can construct a concrete instance of `RoleMapInput` via:

RoleMap{ "key": RoleArgs{...} }

type RoleMapOutput added in v2.14.1

type RoleMapOutput struct{ *pulumi.OutputState }

func (RoleMapOutput) ElementType added in v2.14.1

func (RoleMapOutput) ElementType() reflect.Type

func (RoleMapOutput) MapIndex added in v2.14.1

func (RoleMapOutput) ToRoleMapOutput added in v2.14.1

func (o RoleMapOutput) ToRoleMapOutput() RoleMapOutput

func (RoleMapOutput) ToRoleMapOutputWithContext added in v2.14.1

func (o RoleMapOutput) ToRoleMapOutputWithContext(ctx context.Context) RoleMapOutput

type RoleOutput added in v2.10.0

type RoleOutput struct {
	*pulumi.OutputState
}

func (RoleOutput) ElementType added in v2.10.0

func (RoleOutput) ElementType() reflect.Type

func (RoleOutput) ToRoleOutput added in v2.10.0

func (o RoleOutput) ToRoleOutput() RoleOutput

func (RoleOutput) ToRoleOutputWithContext added in v2.10.0

func (o RoleOutput) ToRoleOutputWithContext(ctx context.Context) RoleOutput

func (RoleOutput) ToRolePtrOutput added in v2.14.1

func (o RoleOutput) ToRolePtrOutput() RolePtrOutput

func (RoleOutput) ToRolePtrOutputWithContext added in v2.14.1

func (o RoleOutput) ToRolePtrOutputWithContext(ctx context.Context) RolePtrOutput

type RolePtrInput added in v2.14.1

type RolePtrInput interface {
	pulumi.Input

	ToRolePtrOutput() RolePtrOutput
	ToRolePtrOutputWithContext(ctx context.Context) RolePtrOutput
}

type RolePtrOutput added in v2.14.1

type RolePtrOutput struct {
	*pulumi.OutputState
}

func (RolePtrOutput) ElementType added in v2.14.1

func (RolePtrOutput) ElementType() reflect.Type

func (RolePtrOutput) ToRolePtrOutput added in v2.14.1

func (o RolePtrOutput) ToRolePtrOutput() RolePtrOutput

func (RolePtrOutput) ToRolePtrOutputWithContext added in v2.14.1

func (o RolePtrOutput) ToRolePtrOutputWithContext(ctx context.Context) RolePtrOutput

type RoleState

type RoleState struct {
	// The domain the role belongs to.
	DomainId pulumi.StringPtrInput
	// The name of the role.
	Name pulumi.StringPtrInput
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used. Changing this
	// creates a new Role.
	Region pulumi.StringPtrInput
}

func (RoleState) ElementType

func (RoleState) ElementType() reflect.Type

type ServiceV3

type ServiceV3 struct {
	pulumi.CustomResourceState

	// The service description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The service status. Defaults to `true`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The service name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used.
	Region pulumi.StringOutput `pulumi:"region"`
	// The service type.
	Type pulumi.StringOutput `pulumi:"type"`
}

Manages a V3 Service resource within OpenStack Keystone.

> **Note:** This usually requires admin privileges.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v2/go/openstack/identity"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := identity.NewServiceV3(ctx, "service1", &identity.ServiceV3Args{
			Type: pulumi.String("custom"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Services can be imported using the `id`, e.g.

```sh

$ pulumi import openstack:identity/serviceV3:ServiceV3 service_1 6688e967-158a-496f-a224-cae3414e6b61

```

func GetServiceV3

func GetServiceV3(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceV3State, opts ...pulumi.ResourceOption) (*ServiceV3, error)

GetServiceV3 gets an existing ServiceV3 resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServiceV3

func NewServiceV3(ctx *pulumi.Context,
	name string, args *ServiceV3Args, opts ...pulumi.ResourceOption) (*ServiceV3, error)

NewServiceV3 registers a new resource with the given unique name, arguments, and options.

func (*ServiceV3) ElementType added in v2.10.0

func (*ServiceV3) ElementType() reflect.Type

func (*ServiceV3) ToServiceV3Output added in v2.10.0

func (i *ServiceV3) ToServiceV3Output() ServiceV3Output

func (*ServiceV3) ToServiceV3OutputWithContext added in v2.10.0

func (i *ServiceV3) ToServiceV3OutputWithContext(ctx context.Context) ServiceV3Output

func (*ServiceV3) ToServiceV3PtrOutput added in v2.14.1

func (i *ServiceV3) ToServiceV3PtrOutput() ServiceV3PtrOutput

func (*ServiceV3) ToServiceV3PtrOutputWithContext added in v2.14.1

func (i *ServiceV3) ToServiceV3PtrOutputWithContext(ctx context.Context) ServiceV3PtrOutput

type ServiceV3Args

type ServiceV3Args struct {
	// The service description.
	Description pulumi.StringPtrInput
	// The service status. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The service name.
	Name pulumi.StringPtrInput
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used.
	Region pulumi.StringPtrInput
	// The service type.
	Type pulumi.StringInput
}

The set of arguments for constructing a ServiceV3 resource.

func (ServiceV3Args) ElementType

func (ServiceV3Args) ElementType() reflect.Type

type ServiceV3Array added in v2.14.1

type ServiceV3Array []ServiceV3Input

func (ServiceV3Array) ElementType added in v2.14.1

func (ServiceV3Array) ElementType() reflect.Type

func (ServiceV3Array) ToServiceV3ArrayOutput added in v2.14.1

func (i ServiceV3Array) ToServiceV3ArrayOutput() ServiceV3ArrayOutput

func (ServiceV3Array) ToServiceV3ArrayOutputWithContext added in v2.14.1

func (i ServiceV3Array) ToServiceV3ArrayOutputWithContext(ctx context.Context) ServiceV3ArrayOutput

type ServiceV3ArrayInput added in v2.14.1

type ServiceV3ArrayInput interface {
	pulumi.Input

	ToServiceV3ArrayOutput() ServiceV3ArrayOutput
	ToServiceV3ArrayOutputWithContext(context.Context) ServiceV3ArrayOutput
}

ServiceV3ArrayInput is an input type that accepts ServiceV3Array and ServiceV3ArrayOutput values. You can construct a concrete instance of `ServiceV3ArrayInput` via:

ServiceV3Array{ ServiceV3Args{...} }

type ServiceV3ArrayOutput added in v2.14.1

type ServiceV3ArrayOutput struct{ *pulumi.OutputState }

func (ServiceV3ArrayOutput) ElementType added in v2.14.1

func (ServiceV3ArrayOutput) ElementType() reflect.Type

func (ServiceV3ArrayOutput) Index added in v2.14.1

func (ServiceV3ArrayOutput) ToServiceV3ArrayOutput added in v2.14.1

func (o ServiceV3ArrayOutput) ToServiceV3ArrayOutput() ServiceV3ArrayOutput

func (ServiceV3ArrayOutput) ToServiceV3ArrayOutputWithContext added in v2.14.1

func (o ServiceV3ArrayOutput) ToServiceV3ArrayOutputWithContext(ctx context.Context) ServiceV3ArrayOutput

type ServiceV3Input added in v2.10.0

type ServiceV3Input interface {
	pulumi.Input

	ToServiceV3Output() ServiceV3Output
	ToServiceV3OutputWithContext(ctx context.Context) ServiceV3Output
}

type ServiceV3Map added in v2.14.1

type ServiceV3Map map[string]ServiceV3Input

func (ServiceV3Map) ElementType added in v2.14.1

func (ServiceV3Map) ElementType() reflect.Type

func (ServiceV3Map) ToServiceV3MapOutput added in v2.14.1

func (i ServiceV3Map) ToServiceV3MapOutput() ServiceV3MapOutput

func (ServiceV3Map) ToServiceV3MapOutputWithContext added in v2.14.1

func (i ServiceV3Map) ToServiceV3MapOutputWithContext(ctx context.Context) ServiceV3MapOutput

type ServiceV3MapInput added in v2.14.1

type ServiceV3MapInput interface {
	pulumi.Input

	ToServiceV3MapOutput() ServiceV3MapOutput
	ToServiceV3MapOutputWithContext(context.Context) ServiceV3MapOutput
}

ServiceV3MapInput is an input type that accepts ServiceV3Map and ServiceV3MapOutput values. You can construct a concrete instance of `ServiceV3MapInput` via:

ServiceV3Map{ "key": ServiceV3Args{...} }

type ServiceV3MapOutput added in v2.14.1

type ServiceV3MapOutput struct{ *pulumi.OutputState }

func (ServiceV3MapOutput) ElementType added in v2.14.1

func (ServiceV3MapOutput) ElementType() reflect.Type

func (ServiceV3MapOutput) MapIndex added in v2.14.1

func (ServiceV3MapOutput) ToServiceV3MapOutput added in v2.14.1

func (o ServiceV3MapOutput) ToServiceV3MapOutput() ServiceV3MapOutput

func (ServiceV3MapOutput) ToServiceV3MapOutputWithContext added in v2.14.1

func (o ServiceV3MapOutput) ToServiceV3MapOutputWithContext(ctx context.Context) ServiceV3MapOutput

type ServiceV3Output added in v2.10.0

type ServiceV3Output struct {
	*pulumi.OutputState
}

func (ServiceV3Output) ElementType added in v2.10.0

func (ServiceV3Output) ElementType() reflect.Type

func (ServiceV3Output) ToServiceV3Output added in v2.10.0

func (o ServiceV3Output) ToServiceV3Output() ServiceV3Output

func (ServiceV3Output) ToServiceV3OutputWithContext added in v2.10.0

func (o ServiceV3Output) ToServiceV3OutputWithContext(ctx context.Context) ServiceV3Output

func (ServiceV3Output) ToServiceV3PtrOutput added in v2.14.1

func (o ServiceV3Output) ToServiceV3PtrOutput() ServiceV3PtrOutput

func (ServiceV3Output) ToServiceV3PtrOutputWithContext added in v2.14.1

func (o ServiceV3Output) ToServiceV3PtrOutputWithContext(ctx context.Context) ServiceV3PtrOutput

type ServiceV3PtrInput added in v2.14.1

type ServiceV3PtrInput interface {
	pulumi.Input

	ToServiceV3PtrOutput() ServiceV3PtrOutput
	ToServiceV3PtrOutputWithContext(ctx context.Context) ServiceV3PtrOutput
}

type ServiceV3PtrOutput added in v2.14.1

type ServiceV3PtrOutput struct {
	*pulumi.OutputState
}

func (ServiceV3PtrOutput) ElementType added in v2.14.1

func (ServiceV3PtrOutput) ElementType() reflect.Type

func (ServiceV3PtrOutput) ToServiceV3PtrOutput added in v2.14.1

func (o ServiceV3PtrOutput) ToServiceV3PtrOutput() ServiceV3PtrOutput

func (ServiceV3PtrOutput) ToServiceV3PtrOutputWithContext added in v2.14.1

func (o ServiceV3PtrOutput) ToServiceV3PtrOutputWithContext(ctx context.Context) ServiceV3PtrOutput

type ServiceV3State

type ServiceV3State struct {
	// The service description.
	Description pulumi.StringPtrInput
	// The service status. Defaults to `true`.
	Enabled pulumi.BoolPtrInput
	// The service name.
	Name pulumi.StringPtrInput
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used.
	Region pulumi.StringPtrInput
	// The service type.
	Type pulumi.StringPtrInput
}

func (ServiceV3State) ElementType

func (ServiceV3State) ElementType() reflect.Type

type User

type User struct {
	pulumi.CustomResourceState

	// The default project this user belongs to.
	DefaultProjectId pulumi.StringOutput `pulumi:"defaultProjectId"`
	// A description of the user.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The domain this user belongs to.
	DomainId pulumi.StringOutput `pulumi:"domainId"`
	// Whether the user is enabled or disabled. Valid
	// values are `true` and `false`.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// Free-form key/value pairs of extra information.
	Extra pulumi.MapOutput `pulumi:"extra"`
	// User will not have to
	// change their password upon first use. Valid values are `true` and `false`.
	IgnoreChangePasswordUponFirstUse pulumi.BoolPtrOutput `pulumi:"ignoreChangePasswordUponFirstUse"`
	// User will not have a failure
	// lockout placed on their account. Valid values are `true` and `false`.
	IgnoreLockoutFailureAttempts pulumi.BoolPtrOutput `pulumi:"ignoreLockoutFailureAttempts"`
	// User's password will not expire.
	// Valid values are `true` and `false`.
	IgnorePasswordExpiry pulumi.BoolPtrOutput `pulumi:"ignorePasswordExpiry"`
	// Whether to enable multi-factor
	// authentication. Valid values are `true` and `false`.
	MultiFactorAuthEnabled pulumi.BoolPtrOutput `pulumi:"multiFactorAuthEnabled"`
	// A multi-factor authentication rule.
	// The structure is documented below. Please see the
	// [Ocata release notes](https://docs.openstack.org/releasenotes/keystone/ocata.html)
	// for more information on how to use mulit-factor rules.
	MultiFactorAuthRules UserMultiFactorAuthRuleArrayOutput `pulumi:"multiFactorAuthRules"`
	// The name of the user.
	Name pulumi.StringOutput `pulumi:"name"`
	// The password for the user.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used. Changing this
	// creates a new User.
	Region pulumi.StringOutput `pulumi:"region"`
}

## Import

Users can be imported using the `id`, e.g.

```sh

$ pulumi import openstack:identity/user:User user_1 89c60255-9bd6-460c-822a-e2b959ede9d2

```

func GetUser

func GetUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserState, opts ...pulumi.ResourceOption) (*User, error)

GetUser gets an existing User resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewUser

func NewUser(ctx *pulumi.Context,
	name string, args *UserArgs, opts ...pulumi.ResourceOption) (*User, error)

NewUser registers a new resource with the given unique name, arguments, and options.

func (*User) ElementType added in v2.10.0

func (*User) ElementType() reflect.Type

func (*User) ToUserOutput added in v2.10.0

func (i *User) ToUserOutput() UserOutput

func (*User) ToUserOutputWithContext added in v2.10.0

func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput

func (*User) ToUserPtrOutput added in v2.14.1

func (i *User) ToUserPtrOutput() UserPtrOutput

func (*User) ToUserPtrOutputWithContext added in v2.14.1

func (i *User) ToUserPtrOutputWithContext(ctx context.Context) UserPtrOutput

type UserArgs

type UserArgs struct {
	// The default project this user belongs to.
	DefaultProjectId pulumi.StringPtrInput
	// A description of the user.
	Description pulumi.StringPtrInput
	// The domain this user belongs to.
	DomainId pulumi.StringPtrInput
	// Whether the user is enabled or disabled. Valid
	// values are `true` and `false`.
	Enabled pulumi.BoolPtrInput
	// Free-form key/value pairs of extra information.
	Extra pulumi.MapInput
	// User will not have to
	// change their password upon first use. Valid values are `true` and `false`.
	IgnoreChangePasswordUponFirstUse pulumi.BoolPtrInput
	// User will not have a failure
	// lockout placed on their account. Valid values are `true` and `false`.
	IgnoreLockoutFailureAttempts pulumi.BoolPtrInput
	// User's password will not expire.
	// Valid values are `true` and `false`.
	IgnorePasswordExpiry pulumi.BoolPtrInput
	// Whether to enable multi-factor
	// authentication. Valid values are `true` and `false`.
	MultiFactorAuthEnabled pulumi.BoolPtrInput
	// A multi-factor authentication rule.
	// The structure is documented below. Please see the
	// [Ocata release notes](https://docs.openstack.org/releasenotes/keystone/ocata.html)
	// for more information on how to use mulit-factor rules.
	MultiFactorAuthRules UserMultiFactorAuthRuleArrayInput
	// The name of the user.
	Name pulumi.StringPtrInput
	// The password for the user.
	Password pulumi.StringPtrInput
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used. Changing this
	// creates a new User.
	Region pulumi.StringPtrInput
}

The set of arguments for constructing a User resource.

func (UserArgs) ElementType

func (UserArgs) ElementType() reflect.Type

type UserArray added in v2.14.1

type UserArray []UserInput

func (UserArray) ElementType added in v2.14.1

func (UserArray) ElementType() reflect.Type

func (UserArray) ToUserArrayOutput added in v2.14.1

func (i UserArray) ToUserArrayOutput() UserArrayOutput

func (UserArray) ToUserArrayOutputWithContext added in v2.14.1

func (i UserArray) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserArrayInput added in v2.14.1

type UserArrayInput interface {
	pulumi.Input

	ToUserArrayOutput() UserArrayOutput
	ToUserArrayOutputWithContext(context.Context) UserArrayOutput
}

UserArrayInput is an input type that accepts UserArray and UserArrayOutput values. You can construct a concrete instance of `UserArrayInput` via:

UserArray{ UserArgs{...} }

type UserArrayOutput added in v2.14.1

type UserArrayOutput struct{ *pulumi.OutputState }

func (UserArrayOutput) ElementType added in v2.14.1

func (UserArrayOutput) ElementType() reflect.Type

func (UserArrayOutput) Index added in v2.14.1

func (UserArrayOutput) ToUserArrayOutput added in v2.14.1

func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput

func (UserArrayOutput) ToUserArrayOutputWithContext added in v2.14.1

func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserInput added in v2.10.0

type UserInput interface {
	pulumi.Input

	ToUserOutput() UserOutput
	ToUserOutputWithContext(ctx context.Context) UserOutput
}

type UserMap added in v2.14.1

type UserMap map[string]UserInput

func (UserMap) ElementType added in v2.14.1

func (UserMap) ElementType() reflect.Type

func (UserMap) ToUserMapOutput added in v2.14.1

func (i UserMap) ToUserMapOutput() UserMapOutput

func (UserMap) ToUserMapOutputWithContext added in v2.14.1

func (i UserMap) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserMapInput added in v2.14.1

type UserMapInput interface {
	pulumi.Input

	ToUserMapOutput() UserMapOutput
	ToUserMapOutputWithContext(context.Context) UserMapOutput
}

UserMapInput is an input type that accepts UserMap and UserMapOutput values. You can construct a concrete instance of `UserMapInput` via:

UserMap{ "key": UserArgs{...} }

type UserMapOutput added in v2.14.1

type UserMapOutput struct{ *pulumi.OutputState }

func (UserMapOutput) ElementType added in v2.14.1

func (UserMapOutput) ElementType() reflect.Type

func (UserMapOutput) MapIndex added in v2.14.1

func (UserMapOutput) ToUserMapOutput added in v2.14.1

func (o UserMapOutput) ToUserMapOutput() UserMapOutput

func (UserMapOutput) ToUserMapOutputWithContext added in v2.14.1

func (o UserMapOutput) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserMembershipV3 added in v2.13.0

type UserMembershipV3 struct {
	pulumi.CustomResourceState

	// The UUID of group to which the user will be added.
	// Changing this creates a new user membership.
	GroupId pulumi.StringOutput `pulumi:"groupId"`
	// The region in which to obtain the V3 Identity client.
	// If omitted, the `region` argument of the provider is used.
	// Changing this creates a new user membership.
	Region pulumi.StringOutput `pulumi:"region"`
	// The UUID of user to use. Changing this creates a new user membership.
	UserId pulumi.StringOutput `pulumi:"userId"`
}

Manages a user membership to group V3 resource within OpenStack.

> **Note:** You _must_ have admin privileges in your OpenStack cloud to use this resource.

***

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-openstack/sdk/v2/go/openstack/identity"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project1, err := identity.NewProject(ctx, "project1", nil)
		if err != nil {
			return err
		}
		user1, err := identity.NewUser(ctx, "user1", &identity.UserArgs{
			DefaultProjectId: project1.ID(),
		})
		if err != nil {
			return err
		}
		group1, err := identity.NewGroupV3(ctx, "group1", &identity.GroupV3Args{
			Description: pulumi.String("group 1"),
		})
		if err != nil {
			return err
		}
		role1, err := identity.NewRole(ctx, "role1", nil)
		if err != nil {
			return err
		}
		_, err = identity.NewUserMembershipV3(ctx, "userMembership1", &identity.UserMembershipV3Args{
			GroupId: group1.ID(),
			UserId:  user1.ID(),
		})
		if err != nil {
			return err
		}
		_, err = identity.NewRoleAssignment(ctx, "roleAssignment1", &identity.RoleAssignmentArgs{
			GroupId:   group1.ID(),
			ProjectId: project1.ID(),
			RoleId:    role1.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

This resource can be imported by specifying all two arguments, separated by a forward slash

```sh

$ pulumi import openstack:identity/userMembershipV3:UserMembershipV3 user_membership_1 <user_id>/<group_id>

```

func GetUserMembershipV3 added in v2.13.0

func GetUserMembershipV3(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserMembershipV3State, opts ...pulumi.ResourceOption) (*UserMembershipV3, error)

GetUserMembershipV3 gets an existing UserMembershipV3 resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewUserMembershipV3 added in v2.13.0

func NewUserMembershipV3(ctx *pulumi.Context,
	name string, args *UserMembershipV3Args, opts ...pulumi.ResourceOption) (*UserMembershipV3, error)

NewUserMembershipV3 registers a new resource with the given unique name, arguments, and options.

func (*UserMembershipV3) ElementType added in v2.13.0

func (*UserMembershipV3) ElementType() reflect.Type

func (*UserMembershipV3) ToUserMembershipV3Output added in v2.13.0

func (i *UserMembershipV3) ToUserMembershipV3Output() UserMembershipV3Output

func (*UserMembershipV3) ToUserMembershipV3OutputWithContext added in v2.13.0

func (i *UserMembershipV3) ToUserMembershipV3OutputWithContext(ctx context.Context) UserMembershipV3Output

func (*UserMembershipV3) ToUserMembershipV3PtrOutput added in v2.14.1

func (i *UserMembershipV3) ToUserMembershipV3PtrOutput() UserMembershipV3PtrOutput

func (*UserMembershipV3) ToUserMembershipV3PtrOutputWithContext added in v2.14.1

func (i *UserMembershipV3) ToUserMembershipV3PtrOutputWithContext(ctx context.Context) UserMembershipV3PtrOutput

type UserMembershipV3Args added in v2.13.0

type UserMembershipV3Args struct {
	// The UUID of group to which the user will be added.
	// Changing this creates a new user membership.
	GroupId pulumi.StringInput
	// The region in which to obtain the V3 Identity client.
	// If omitted, the `region` argument of the provider is used.
	// Changing this creates a new user membership.
	Region pulumi.StringPtrInput
	// The UUID of user to use. Changing this creates a new user membership.
	UserId pulumi.StringInput
}

The set of arguments for constructing a UserMembershipV3 resource.

func (UserMembershipV3Args) ElementType added in v2.13.0

func (UserMembershipV3Args) ElementType() reflect.Type

type UserMembershipV3Array added in v2.14.1

type UserMembershipV3Array []UserMembershipV3Input

func (UserMembershipV3Array) ElementType added in v2.14.1

func (UserMembershipV3Array) ElementType() reflect.Type

func (UserMembershipV3Array) ToUserMembershipV3ArrayOutput added in v2.14.1

func (i UserMembershipV3Array) ToUserMembershipV3ArrayOutput() UserMembershipV3ArrayOutput

func (UserMembershipV3Array) ToUserMembershipV3ArrayOutputWithContext added in v2.14.1

func (i UserMembershipV3Array) ToUserMembershipV3ArrayOutputWithContext(ctx context.Context) UserMembershipV3ArrayOutput

type UserMembershipV3ArrayInput added in v2.14.1

type UserMembershipV3ArrayInput interface {
	pulumi.Input

	ToUserMembershipV3ArrayOutput() UserMembershipV3ArrayOutput
	ToUserMembershipV3ArrayOutputWithContext(context.Context) UserMembershipV3ArrayOutput
}

UserMembershipV3ArrayInput is an input type that accepts UserMembershipV3Array and UserMembershipV3ArrayOutput values. You can construct a concrete instance of `UserMembershipV3ArrayInput` via:

UserMembershipV3Array{ UserMembershipV3Args{...} }

type UserMembershipV3ArrayOutput added in v2.14.1

type UserMembershipV3ArrayOutput struct{ *pulumi.OutputState }

func (UserMembershipV3ArrayOutput) ElementType added in v2.14.1

func (UserMembershipV3ArrayOutput) Index added in v2.14.1

func (UserMembershipV3ArrayOutput) ToUserMembershipV3ArrayOutput added in v2.14.1

func (o UserMembershipV3ArrayOutput) ToUserMembershipV3ArrayOutput() UserMembershipV3ArrayOutput

func (UserMembershipV3ArrayOutput) ToUserMembershipV3ArrayOutputWithContext added in v2.14.1

func (o UserMembershipV3ArrayOutput) ToUserMembershipV3ArrayOutputWithContext(ctx context.Context) UserMembershipV3ArrayOutput

type UserMembershipV3Input added in v2.13.0

type UserMembershipV3Input interface {
	pulumi.Input

	ToUserMembershipV3Output() UserMembershipV3Output
	ToUserMembershipV3OutputWithContext(ctx context.Context) UserMembershipV3Output
}

type UserMembershipV3Map added in v2.14.1

type UserMembershipV3Map map[string]UserMembershipV3Input

func (UserMembershipV3Map) ElementType added in v2.14.1

func (UserMembershipV3Map) ElementType() reflect.Type

func (UserMembershipV3Map) ToUserMembershipV3MapOutput added in v2.14.1

func (i UserMembershipV3Map) ToUserMembershipV3MapOutput() UserMembershipV3MapOutput

func (UserMembershipV3Map) ToUserMembershipV3MapOutputWithContext added in v2.14.1

func (i UserMembershipV3Map) ToUserMembershipV3MapOutputWithContext(ctx context.Context) UserMembershipV3MapOutput

type UserMembershipV3MapInput added in v2.14.1

type UserMembershipV3MapInput interface {
	pulumi.Input

	ToUserMembershipV3MapOutput() UserMembershipV3MapOutput
	ToUserMembershipV3MapOutputWithContext(context.Context) UserMembershipV3MapOutput
}

UserMembershipV3MapInput is an input type that accepts UserMembershipV3Map and UserMembershipV3MapOutput values. You can construct a concrete instance of `UserMembershipV3MapInput` via:

UserMembershipV3Map{ "key": UserMembershipV3Args{...} }

type UserMembershipV3MapOutput added in v2.14.1

type UserMembershipV3MapOutput struct{ *pulumi.OutputState }

func (UserMembershipV3MapOutput) ElementType added in v2.14.1

func (UserMembershipV3MapOutput) ElementType() reflect.Type

func (UserMembershipV3MapOutput) MapIndex added in v2.14.1

func (UserMembershipV3MapOutput) ToUserMembershipV3MapOutput added in v2.14.1

func (o UserMembershipV3MapOutput) ToUserMembershipV3MapOutput() UserMembershipV3MapOutput

func (UserMembershipV3MapOutput) ToUserMembershipV3MapOutputWithContext added in v2.14.1

func (o UserMembershipV3MapOutput) ToUserMembershipV3MapOutputWithContext(ctx context.Context) UserMembershipV3MapOutput

type UserMembershipV3Output added in v2.13.0

type UserMembershipV3Output struct {
	*pulumi.OutputState
}

func (UserMembershipV3Output) ElementType added in v2.13.0

func (UserMembershipV3Output) ElementType() reflect.Type

func (UserMembershipV3Output) ToUserMembershipV3Output added in v2.13.0

func (o UserMembershipV3Output) ToUserMembershipV3Output() UserMembershipV3Output

func (UserMembershipV3Output) ToUserMembershipV3OutputWithContext added in v2.13.0

func (o UserMembershipV3Output) ToUserMembershipV3OutputWithContext(ctx context.Context) UserMembershipV3Output

func (UserMembershipV3Output) ToUserMembershipV3PtrOutput added in v2.14.1

func (o UserMembershipV3Output) ToUserMembershipV3PtrOutput() UserMembershipV3PtrOutput

func (UserMembershipV3Output) ToUserMembershipV3PtrOutputWithContext added in v2.14.1

func (o UserMembershipV3Output) ToUserMembershipV3PtrOutputWithContext(ctx context.Context) UserMembershipV3PtrOutput

type UserMembershipV3PtrInput added in v2.14.1

type UserMembershipV3PtrInput interface {
	pulumi.Input

	ToUserMembershipV3PtrOutput() UserMembershipV3PtrOutput
	ToUserMembershipV3PtrOutputWithContext(ctx context.Context) UserMembershipV3PtrOutput
}

type UserMembershipV3PtrOutput added in v2.14.1

type UserMembershipV3PtrOutput struct {
	*pulumi.OutputState
}

func (UserMembershipV3PtrOutput) ElementType added in v2.14.1

func (UserMembershipV3PtrOutput) ElementType() reflect.Type

func (UserMembershipV3PtrOutput) ToUserMembershipV3PtrOutput added in v2.14.1

func (o UserMembershipV3PtrOutput) ToUserMembershipV3PtrOutput() UserMembershipV3PtrOutput

func (UserMembershipV3PtrOutput) ToUserMembershipV3PtrOutputWithContext added in v2.14.1

func (o UserMembershipV3PtrOutput) ToUserMembershipV3PtrOutputWithContext(ctx context.Context) UserMembershipV3PtrOutput

type UserMembershipV3State added in v2.13.0

type UserMembershipV3State struct {
	// The UUID of group to which the user will be added.
	// Changing this creates a new user membership.
	GroupId pulumi.StringPtrInput
	// The region in which to obtain the V3 Identity client.
	// If omitted, the `region` argument of the provider is used.
	// Changing this creates a new user membership.
	Region pulumi.StringPtrInput
	// The UUID of user to use. Changing this creates a new user membership.
	UserId pulumi.StringPtrInput
}

func (UserMembershipV3State) ElementType added in v2.13.0

func (UserMembershipV3State) ElementType() reflect.Type

type UserMultiFactorAuthRule

type UserMultiFactorAuthRule struct {
	// A list of authentication plugins that the user must
	// authenticate with.
	Rules []string `pulumi:"rules"`
}

type UserMultiFactorAuthRuleArgs

type UserMultiFactorAuthRuleArgs struct {
	// A list of authentication plugins that the user must
	// authenticate with.
	Rules pulumi.StringArrayInput `pulumi:"rules"`
}

func (UserMultiFactorAuthRuleArgs) ElementType

func (UserMultiFactorAuthRuleArgs) ToUserMultiFactorAuthRuleOutput

func (i UserMultiFactorAuthRuleArgs) ToUserMultiFactorAuthRuleOutput() UserMultiFactorAuthRuleOutput

func (UserMultiFactorAuthRuleArgs) ToUserMultiFactorAuthRuleOutputWithContext

func (i UserMultiFactorAuthRuleArgs) ToUserMultiFactorAuthRuleOutputWithContext(ctx context.Context) UserMultiFactorAuthRuleOutput

type UserMultiFactorAuthRuleArray

type UserMultiFactorAuthRuleArray []UserMultiFactorAuthRuleInput

func (UserMultiFactorAuthRuleArray) ElementType

func (UserMultiFactorAuthRuleArray) ToUserMultiFactorAuthRuleArrayOutput

func (i UserMultiFactorAuthRuleArray) ToUserMultiFactorAuthRuleArrayOutput() UserMultiFactorAuthRuleArrayOutput

func (UserMultiFactorAuthRuleArray) ToUserMultiFactorAuthRuleArrayOutputWithContext

func (i UserMultiFactorAuthRuleArray) ToUserMultiFactorAuthRuleArrayOutputWithContext(ctx context.Context) UserMultiFactorAuthRuleArrayOutput

type UserMultiFactorAuthRuleArrayInput

type UserMultiFactorAuthRuleArrayInput interface {
	pulumi.Input

	ToUserMultiFactorAuthRuleArrayOutput() UserMultiFactorAuthRuleArrayOutput
	ToUserMultiFactorAuthRuleArrayOutputWithContext(context.Context) UserMultiFactorAuthRuleArrayOutput
}

UserMultiFactorAuthRuleArrayInput is an input type that accepts UserMultiFactorAuthRuleArray and UserMultiFactorAuthRuleArrayOutput values. You can construct a concrete instance of `UserMultiFactorAuthRuleArrayInput` via:

UserMultiFactorAuthRuleArray{ UserMultiFactorAuthRuleArgs{...} }

type UserMultiFactorAuthRuleArrayOutput

type UserMultiFactorAuthRuleArrayOutput struct{ *pulumi.OutputState }

func (UserMultiFactorAuthRuleArrayOutput) ElementType

func (UserMultiFactorAuthRuleArrayOutput) Index

func (UserMultiFactorAuthRuleArrayOutput) ToUserMultiFactorAuthRuleArrayOutput

func (o UserMultiFactorAuthRuleArrayOutput) ToUserMultiFactorAuthRuleArrayOutput() UserMultiFactorAuthRuleArrayOutput

func (UserMultiFactorAuthRuleArrayOutput) ToUserMultiFactorAuthRuleArrayOutputWithContext

func (o UserMultiFactorAuthRuleArrayOutput) ToUserMultiFactorAuthRuleArrayOutputWithContext(ctx context.Context) UserMultiFactorAuthRuleArrayOutput

type UserMultiFactorAuthRuleInput

type UserMultiFactorAuthRuleInput interface {
	pulumi.Input

	ToUserMultiFactorAuthRuleOutput() UserMultiFactorAuthRuleOutput
	ToUserMultiFactorAuthRuleOutputWithContext(context.Context) UserMultiFactorAuthRuleOutput
}

UserMultiFactorAuthRuleInput is an input type that accepts UserMultiFactorAuthRuleArgs and UserMultiFactorAuthRuleOutput values. You can construct a concrete instance of `UserMultiFactorAuthRuleInput` via:

UserMultiFactorAuthRuleArgs{...}

type UserMultiFactorAuthRuleOutput

type UserMultiFactorAuthRuleOutput struct{ *pulumi.OutputState }

func (UserMultiFactorAuthRuleOutput) ElementType

func (UserMultiFactorAuthRuleOutput) Rules

A list of authentication plugins that the user must authenticate with.

func (UserMultiFactorAuthRuleOutput) ToUserMultiFactorAuthRuleOutput

func (o UserMultiFactorAuthRuleOutput) ToUserMultiFactorAuthRuleOutput() UserMultiFactorAuthRuleOutput

func (UserMultiFactorAuthRuleOutput) ToUserMultiFactorAuthRuleOutputWithContext

func (o UserMultiFactorAuthRuleOutput) ToUserMultiFactorAuthRuleOutputWithContext(ctx context.Context) UserMultiFactorAuthRuleOutput

type UserOutput added in v2.10.0

type UserOutput struct {
	*pulumi.OutputState
}

func (UserOutput) ElementType added in v2.10.0

func (UserOutput) ElementType() reflect.Type

func (UserOutput) ToUserOutput added in v2.10.0

func (o UserOutput) ToUserOutput() UserOutput

func (UserOutput) ToUserOutputWithContext added in v2.10.0

func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput

func (UserOutput) ToUserPtrOutput added in v2.14.1

func (o UserOutput) ToUserPtrOutput() UserPtrOutput

func (UserOutput) ToUserPtrOutputWithContext added in v2.14.1

func (o UserOutput) ToUserPtrOutputWithContext(ctx context.Context) UserPtrOutput

type UserPtrInput added in v2.14.1

type UserPtrInput interface {
	pulumi.Input

	ToUserPtrOutput() UserPtrOutput
	ToUserPtrOutputWithContext(ctx context.Context) UserPtrOutput
}

type UserPtrOutput added in v2.14.1

type UserPtrOutput struct {
	*pulumi.OutputState
}

func (UserPtrOutput) ElementType added in v2.14.1

func (UserPtrOutput) ElementType() reflect.Type

func (UserPtrOutput) ToUserPtrOutput added in v2.14.1

func (o UserPtrOutput) ToUserPtrOutput() UserPtrOutput

func (UserPtrOutput) ToUserPtrOutputWithContext added in v2.14.1

func (o UserPtrOutput) ToUserPtrOutputWithContext(ctx context.Context) UserPtrOutput

type UserState

type UserState struct {
	// The default project this user belongs to.
	DefaultProjectId pulumi.StringPtrInput
	// A description of the user.
	Description pulumi.StringPtrInput
	// The domain this user belongs to.
	DomainId pulumi.StringPtrInput
	// Whether the user is enabled or disabled. Valid
	// values are `true` and `false`.
	Enabled pulumi.BoolPtrInput
	// Free-form key/value pairs of extra information.
	Extra pulumi.MapInput
	// User will not have to
	// change their password upon first use. Valid values are `true` and `false`.
	IgnoreChangePasswordUponFirstUse pulumi.BoolPtrInput
	// User will not have a failure
	// lockout placed on their account. Valid values are `true` and `false`.
	IgnoreLockoutFailureAttempts pulumi.BoolPtrInput
	// User's password will not expire.
	// Valid values are `true` and `false`.
	IgnorePasswordExpiry pulumi.BoolPtrInput
	// Whether to enable multi-factor
	// authentication. Valid values are `true` and `false`.
	MultiFactorAuthEnabled pulumi.BoolPtrInput
	// A multi-factor authentication rule.
	// The structure is documented below. Please see the
	// [Ocata release notes](https://docs.openstack.org/releasenotes/keystone/ocata.html)
	// for more information on how to use mulit-factor rules.
	MultiFactorAuthRules UserMultiFactorAuthRuleArrayInput
	// The name of the user.
	Name pulumi.StringPtrInput
	// The password for the user.
	Password pulumi.StringPtrInput
	// The region in which to obtain the V3 Keystone client.
	// If omitted, the `region` argument of the provider is used. Changing this
	// creates a new User.
	Region pulumi.StringPtrInput
}

func (UserState) ElementType

func (UserState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL