oslogin

package
v4.21.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 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 SshPublicKey

type SshPublicKey struct {
	pulumi.CustomResourceState

	// An expiration time in microseconds since epoch.
	ExpirationTimeUsec pulumi.StringPtrOutput `pulumi:"expirationTimeUsec"`
	// The SHA-256 fingerprint of the SSH public key.
	Fingerprint pulumi.StringOutput `pulumi:"fingerprint"`
	// Public key text in SSH format, defined by RFC4253 section 6.6.
	Key pulumi.StringOutput `pulumi:"key"`
	// The project ID of the Google Cloud Platform project.
	Project pulumi.StringPtrOutput `pulumi:"project"`
	// The user email.
	User pulumi.StringOutput `pulumi:"user"`
}

The SSH public key information associated with a Google account.

To get more information about SSHPublicKey, see:

* [API documentation](https://cloud.google.com/compute/docs/oslogin/rest/v1/users.sshPublicKeys) * How-to Guides

## Example Usage

## Import

SSHPublicKey can be imported using any of these accepted formats

```sh

$ pulumi import gcp:oslogin/sshPublicKey:SshPublicKey default users/{{user}}/sshPublicKeys/{{fingerprint}}

```

```sh

$ pulumi import gcp:oslogin/sshPublicKey:SshPublicKey default {{user}}/{{fingerprint}}

```

func GetSshPublicKey

func GetSshPublicKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SshPublicKeyState, opts ...pulumi.ResourceOption) (*SshPublicKey, error)

GetSshPublicKey gets an existing SshPublicKey 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 NewSshPublicKey

func NewSshPublicKey(ctx *pulumi.Context,
	name string, args *SshPublicKeyArgs, opts ...pulumi.ResourceOption) (*SshPublicKey, error)

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

func (*SshPublicKey) ElementType added in v4.4.0

func (*SshPublicKey) ElementType() reflect.Type

func (*SshPublicKey) ToSshPublicKeyOutput added in v4.4.0

func (i *SshPublicKey) ToSshPublicKeyOutput() SshPublicKeyOutput

func (*SshPublicKey) ToSshPublicKeyOutputWithContext added in v4.4.0

func (i *SshPublicKey) ToSshPublicKeyOutputWithContext(ctx context.Context) SshPublicKeyOutput

func (*SshPublicKey) ToSshPublicKeyPtrOutput added in v4.11.1

func (i *SshPublicKey) ToSshPublicKeyPtrOutput() SshPublicKeyPtrOutput

func (*SshPublicKey) ToSshPublicKeyPtrOutputWithContext added in v4.11.1

func (i *SshPublicKey) ToSshPublicKeyPtrOutputWithContext(ctx context.Context) SshPublicKeyPtrOutput

type SshPublicKeyArgs

type SshPublicKeyArgs struct {
	// An expiration time in microseconds since epoch.
	ExpirationTimeUsec pulumi.StringPtrInput
	// Public key text in SSH format, defined by RFC4253 section 6.6.
	Key pulumi.StringInput
	// The project ID of the Google Cloud Platform project.
	Project pulumi.StringPtrInput
	// The user email.
	User pulumi.StringInput
}

The set of arguments for constructing a SshPublicKey resource.

func (SshPublicKeyArgs) ElementType

func (SshPublicKeyArgs) ElementType() reflect.Type

type SshPublicKeyArray added in v4.11.1

type SshPublicKeyArray []SshPublicKeyInput

func (SshPublicKeyArray) ElementType added in v4.11.1

func (SshPublicKeyArray) ElementType() reflect.Type

func (SshPublicKeyArray) ToSshPublicKeyArrayOutput added in v4.11.1

func (i SshPublicKeyArray) ToSshPublicKeyArrayOutput() SshPublicKeyArrayOutput

func (SshPublicKeyArray) ToSshPublicKeyArrayOutputWithContext added in v4.11.1

func (i SshPublicKeyArray) ToSshPublicKeyArrayOutputWithContext(ctx context.Context) SshPublicKeyArrayOutput

type SshPublicKeyArrayInput added in v4.11.1

type SshPublicKeyArrayInput interface {
	pulumi.Input

	ToSshPublicKeyArrayOutput() SshPublicKeyArrayOutput
	ToSshPublicKeyArrayOutputWithContext(context.Context) SshPublicKeyArrayOutput
}

SshPublicKeyArrayInput is an input type that accepts SshPublicKeyArray and SshPublicKeyArrayOutput values. You can construct a concrete instance of `SshPublicKeyArrayInput` via:

SshPublicKeyArray{ SshPublicKeyArgs{...} }

type SshPublicKeyArrayOutput added in v4.11.1

type SshPublicKeyArrayOutput struct{ *pulumi.OutputState }

func (SshPublicKeyArrayOutput) ElementType added in v4.11.1

func (SshPublicKeyArrayOutput) ElementType() reflect.Type

func (SshPublicKeyArrayOutput) Index added in v4.11.1

func (SshPublicKeyArrayOutput) ToSshPublicKeyArrayOutput added in v4.11.1

func (o SshPublicKeyArrayOutput) ToSshPublicKeyArrayOutput() SshPublicKeyArrayOutput

func (SshPublicKeyArrayOutput) ToSshPublicKeyArrayOutputWithContext added in v4.11.1

func (o SshPublicKeyArrayOutput) ToSshPublicKeyArrayOutputWithContext(ctx context.Context) SshPublicKeyArrayOutput

type SshPublicKeyInput added in v4.4.0

type SshPublicKeyInput interface {
	pulumi.Input

	ToSshPublicKeyOutput() SshPublicKeyOutput
	ToSshPublicKeyOutputWithContext(ctx context.Context) SshPublicKeyOutput
}

type SshPublicKeyMap added in v4.11.1

type SshPublicKeyMap map[string]SshPublicKeyInput

func (SshPublicKeyMap) ElementType added in v4.11.1

func (SshPublicKeyMap) ElementType() reflect.Type

func (SshPublicKeyMap) ToSshPublicKeyMapOutput added in v4.11.1

func (i SshPublicKeyMap) ToSshPublicKeyMapOutput() SshPublicKeyMapOutput

func (SshPublicKeyMap) ToSshPublicKeyMapOutputWithContext added in v4.11.1

func (i SshPublicKeyMap) ToSshPublicKeyMapOutputWithContext(ctx context.Context) SshPublicKeyMapOutput

type SshPublicKeyMapInput added in v4.11.1

type SshPublicKeyMapInput interface {
	pulumi.Input

	ToSshPublicKeyMapOutput() SshPublicKeyMapOutput
	ToSshPublicKeyMapOutputWithContext(context.Context) SshPublicKeyMapOutput
}

SshPublicKeyMapInput is an input type that accepts SshPublicKeyMap and SshPublicKeyMapOutput values. You can construct a concrete instance of `SshPublicKeyMapInput` via:

SshPublicKeyMap{ "key": SshPublicKeyArgs{...} }

type SshPublicKeyMapOutput added in v4.11.1

type SshPublicKeyMapOutput struct{ *pulumi.OutputState }

func (SshPublicKeyMapOutput) ElementType added in v4.11.1

func (SshPublicKeyMapOutput) ElementType() reflect.Type

func (SshPublicKeyMapOutput) MapIndex added in v4.11.1

func (SshPublicKeyMapOutput) ToSshPublicKeyMapOutput added in v4.11.1

func (o SshPublicKeyMapOutput) ToSshPublicKeyMapOutput() SshPublicKeyMapOutput

func (SshPublicKeyMapOutput) ToSshPublicKeyMapOutputWithContext added in v4.11.1

func (o SshPublicKeyMapOutput) ToSshPublicKeyMapOutputWithContext(ctx context.Context) SshPublicKeyMapOutput

type SshPublicKeyOutput added in v4.4.0

type SshPublicKeyOutput struct {
	*pulumi.OutputState
}

func (SshPublicKeyOutput) ElementType added in v4.4.0

func (SshPublicKeyOutput) ElementType() reflect.Type

func (SshPublicKeyOutput) ToSshPublicKeyOutput added in v4.4.0

func (o SshPublicKeyOutput) ToSshPublicKeyOutput() SshPublicKeyOutput

func (SshPublicKeyOutput) ToSshPublicKeyOutputWithContext added in v4.4.0

func (o SshPublicKeyOutput) ToSshPublicKeyOutputWithContext(ctx context.Context) SshPublicKeyOutput

func (SshPublicKeyOutput) ToSshPublicKeyPtrOutput added in v4.11.1

func (o SshPublicKeyOutput) ToSshPublicKeyPtrOutput() SshPublicKeyPtrOutput

func (SshPublicKeyOutput) ToSshPublicKeyPtrOutputWithContext added in v4.11.1

func (o SshPublicKeyOutput) ToSshPublicKeyPtrOutputWithContext(ctx context.Context) SshPublicKeyPtrOutput

type SshPublicKeyPtrInput added in v4.11.1

type SshPublicKeyPtrInput interface {
	pulumi.Input

	ToSshPublicKeyPtrOutput() SshPublicKeyPtrOutput
	ToSshPublicKeyPtrOutputWithContext(ctx context.Context) SshPublicKeyPtrOutput
}

type SshPublicKeyPtrOutput added in v4.11.1

type SshPublicKeyPtrOutput struct {
	*pulumi.OutputState
}

func (SshPublicKeyPtrOutput) ElementType added in v4.11.1

func (SshPublicKeyPtrOutput) ElementType() reflect.Type

func (SshPublicKeyPtrOutput) ToSshPublicKeyPtrOutput added in v4.11.1

func (o SshPublicKeyPtrOutput) ToSshPublicKeyPtrOutput() SshPublicKeyPtrOutput

func (SshPublicKeyPtrOutput) ToSshPublicKeyPtrOutputWithContext added in v4.11.1

func (o SshPublicKeyPtrOutput) ToSshPublicKeyPtrOutputWithContext(ctx context.Context) SshPublicKeyPtrOutput

type SshPublicKeyState

type SshPublicKeyState struct {
	// An expiration time in microseconds since epoch.
	ExpirationTimeUsec pulumi.StringPtrInput
	// The SHA-256 fingerprint of the SSH public key.
	Fingerprint pulumi.StringPtrInput
	// Public key text in SSH format, defined by RFC4253 section 6.6.
	Key pulumi.StringPtrInput
	// The project ID of the Google Cloud Platform project.
	Project pulumi.StringPtrInput
	// The user email.
	User pulumi.StringPtrInput
}

func (SshPublicKeyState) ElementType

func (SshPublicKeyState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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