v20200101

package
v0.6.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ServerKeyTypeAzureKeyVault = ServerKeyType("AzureKeyVault")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LookupServerKeyArgs

type LookupServerKeyArgs struct {
	// The name of the PostgreSQL Server key to be retrieved.
	KeyName string `pulumi:"keyName"`
	// The name of the resource group. The name is case insensitive.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The name of the server.
	ServerName string `pulumi:"serverName"`
}

type LookupServerKeyResult

type LookupServerKeyResult struct {
	// The key creation date.
	CreationDate string `pulumi:"creationDate"`
	// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	Id string `pulumi:"id"`
	// Kind of encryption protector used to protect the key.
	Kind string `pulumi:"kind"`
	// The name of the resource
	Name string `pulumi:"name"`
	// The key type like 'AzureKeyVault'.
	ServerKeyType string `pulumi:"serverKeyType"`
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type string `pulumi:"type"`
	// The URI of the key.
	Uri *string `pulumi:"uri"`
}

A PostgreSQL Server key.

func LookupServerKey

func LookupServerKey(ctx *pulumi.Context, args *LookupServerKeyArgs, opts ...pulumi.InvokeOption) (*LookupServerKeyResult, error)

type ServerKey

type ServerKey struct {
	pulumi.CustomResourceState

	// The key creation date.
	CreationDate pulumi.StringOutput `pulumi:"creationDate"`
	// Kind of encryption protector used to protect the key.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// The name of the resource
	Name pulumi.StringOutput `pulumi:"name"`
	// The key type like 'AzureKeyVault'.
	ServerKeyType pulumi.StringOutput `pulumi:"serverKeyType"`
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type pulumi.StringOutput `pulumi:"type"`
	// The URI of the key.
	Uri pulumi.StringPtrOutput `pulumi:"uri"`
}

A PostgreSQL Server key.

func GetServerKey

func GetServerKey(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServerKeyState, opts ...pulumi.ResourceOption) (*ServerKey, error)

GetServerKey gets an existing ServerKey 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 NewServerKey

func NewServerKey(ctx *pulumi.Context,
	name string, args *ServerKeyArgs, opts ...pulumi.ResourceOption) (*ServerKey, error)

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

func (*ServerKey) ElementType added in v0.2.6

func (*ServerKey) ElementType() reflect.Type

func (*ServerKey) ToServerKeyOutput added in v0.2.6

func (i *ServerKey) ToServerKeyOutput() ServerKeyOutput

func (*ServerKey) ToServerKeyOutputWithContext added in v0.2.6

func (i *ServerKey) ToServerKeyOutputWithContext(ctx context.Context) ServerKeyOutput

type ServerKeyArgs

type ServerKeyArgs struct {
	// The name of the PostgreSQL Server key to be operated on (updated or created).
	KeyName pulumi.StringInput
	// The name of the resource group. The name is case insensitive.
	ResourceGroupName pulumi.StringInput
	// The key type like 'AzureKeyVault'.
	ServerKeyType pulumi.StringInput
	// The name of the server.
	ServerName pulumi.StringInput
	// The URI of the key.
	Uri pulumi.StringPtrInput
}

The set of arguments for constructing a ServerKey resource.

func (ServerKeyArgs) ElementType

func (ServerKeyArgs) ElementType() reflect.Type

type ServerKeyInput added in v0.2.6

type ServerKeyInput interface {
	pulumi.Input

	ToServerKeyOutput() ServerKeyOutput
	ToServerKeyOutputWithContext(ctx context.Context) ServerKeyOutput
}

type ServerKeyOutput added in v0.2.6

type ServerKeyOutput struct {
	*pulumi.OutputState
}

func (ServerKeyOutput) ElementType added in v0.2.6

func (ServerKeyOutput) ElementType() reflect.Type

func (ServerKeyOutput) ToServerKeyOutput added in v0.2.6

func (o ServerKeyOutput) ToServerKeyOutput() ServerKeyOutput

func (ServerKeyOutput) ToServerKeyOutputWithContext added in v0.2.6

func (o ServerKeyOutput) ToServerKeyOutputWithContext(ctx context.Context) ServerKeyOutput

type ServerKeyState

type ServerKeyState struct {
	// The key creation date.
	CreationDate pulumi.StringPtrInput
	// Kind of encryption protector used to protect the key.
	Kind pulumi.StringPtrInput
	// The name of the resource
	Name pulumi.StringPtrInput
	// The key type like 'AzureKeyVault'.
	ServerKeyType pulumi.StringPtrInput
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type pulumi.StringPtrInput
	// The URI of the key.
	Uri pulumi.StringPtrInput
}

func (ServerKeyState) ElementType

func (ServerKeyState) ElementType() reflect.Type

type ServerKeyType added in v0.3.1

type ServerKeyType pulumi.String

The key type like 'AzureKeyVault'.

func (ServerKeyType) ElementType added in v0.3.1

func (ServerKeyType) ElementType() reflect.Type

func (ServerKeyType) ToStringOutput added in v0.3.1

func (e ServerKeyType) ToStringOutput() pulumi.StringOutput

func (ServerKeyType) ToStringOutputWithContext added in v0.3.1

func (e ServerKeyType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ServerKeyType) ToStringPtrOutput added in v0.3.1

func (e ServerKeyType) ToStringPtrOutput() pulumi.StringPtrOutput

func (ServerKeyType) ToStringPtrOutputWithContext added in v0.3.1

func (e ServerKeyType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

Jump to

Keyboard shortcuts

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