filestore

package
v3.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// Creation timestamp in RFC3339 text format.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// A description of the instance.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// File system shares on the instance. For this version, only a
	// single file share is supported.  Structure is documented below.
	FileShares InstanceFileSharesOutput `pulumi:"fileShares"`
	// Resource labels to represent user-provided metadata.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The name of the fileshare (16 characters or less)
	Name pulumi.StringOutput `pulumi:"name"`
	// VPC networks to which the instance is connected. For this version,
	// only a single network is supported.  Structure is documented below.
	Networks InstanceNetworkArrayOutput `pulumi:"networks"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The service tier of the instance.
	Tier pulumi.StringOutput `pulumi:"tier"`
	// The name of the Filestore zone of the instance.
	Zone pulumi.StringOutput `pulumi:"zone"`
}

A Google Cloud Filestore instance.

To get more information about Instance, see:

* [API documentation](https://cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances/create) * How-to Guides

func GetInstance

func GetInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)

GetInstance gets an existing Instance 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 NewInstance

func NewInstance(ctx *pulumi.Context,
	name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)

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

type InstanceArgs

type InstanceArgs struct {
	// A description of the instance.
	Description pulumi.StringPtrInput
	// File system shares on the instance. For this version, only a
	// single file share is supported.  Structure is documented below.
	FileShares InstanceFileSharesInput
	// Resource labels to represent user-provided metadata.
	Labels pulumi.StringMapInput
	// The name of the fileshare (16 characters or less)
	Name pulumi.StringPtrInput
	// VPC networks to which the instance is connected. For this version,
	// only a single network is supported.  Structure is documented below.
	Networks InstanceNetworkArrayInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The service tier of the instance.
	Tier pulumi.StringInput
	// The name of the Filestore zone of the instance.
	Zone pulumi.StringInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType

func (InstanceArgs) ElementType() reflect.Type

type InstanceFileShares

type InstanceFileShares struct {
	// File share capacity in GiB. This must be at least 1024 GiB
	// for the standard tier, or 2560 GiB for the premium tier.
	CapacityGb int `pulumi:"capacityGb"`
	// The name of the fileshare (16 characters or less)
	Name string `pulumi:"name"`
}

type InstanceFileSharesArgs

type InstanceFileSharesArgs struct {
	// File share capacity in GiB. This must be at least 1024 GiB
	// for the standard tier, or 2560 GiB for the premium tier.
	CapacityGb pulumi.IntInput `pulumi:"capacityGb"`
	// The name of the fileshare (16 characters or less)
	Name pulumi.StringInput `pulumi:"name"`
}

func (InstanceFileSharesArgs) ElementType

func (InstanceFileSharesArgs) ElementType() reflect.Type

func (InstanceFileSharesArgs) ToInstanceFileSharesOutput

func (i InstanceFileSharesArgs) ToInstanceFileSharesOutput() InstanceFileSharesOutput

func (InstanceFileSharesArgs) ToInstanceFileSharesOutputWithContext

func (i InstanceFileSharesArgs) ToInstanceFileSharesOutputWithContext(ctx context.Context) InstanceFileSharesOutput

func (InstanceFileSharesArgs) ToInstanceFileSharesPtrOutput

func (i InstanceFileSharesArgs) ToInstanceFileSharesPtrOutput() InstanceFileSharesPtrOutput

func (InstanceFileSharesArgs) ToInstanceFileSharesPtrOutputWithContext

func (i InstanceFileSharesArgs) ToInstanceFileSharesPtrOutputWithContext(ctx context.Context) InstanceFileSharesPtrOutput

type InstanceFileSharesInput

type InstanceFileSharesInput interface {
	pulumi.Input

	ToInstanceFileSharesOutput() InstanceFileSharesOutput
	ToInstanceFileSharesOutputWithContext(context.Context) InstanceFileSharesOutput
}

InstanceFileSharesInput is an input type that accepts InstanceFileSharesArgs and InstanceFileSharesOutput values. You can construct a concrete instance of `InstanceFileSharesInput` via:

InstanceFileSharesArgs{...}

type InstanceFileSharesOutput

type InstanceFileSharesOutput struct{ *pulumi.OutputState }

func (InstanceFileSharesOutput) CapacityGb

func (o InstanceFileSharesOutput) CapacityGb() pulumi.IntOutput

File share capacity in GiB. This must be at least 1024 GiB for the standard tier, or 2560 GiB for the premium tier.

func (InstanceFileSharesOutput) ElementType

func (InstanceFileSharesOutput) ElementType() reflect.Type

func (InstanceFileSharesOutput) Name

The name of the fileshare (16 characters or less)

func (InstanceFileSharesOutput) ToInstanceFileSharesOutput

func (o InstanceFileSharesOutput) ToInstanceFileSharesOutput() InstanceFileSharesOutput

func (InstanceFileSharesOutput) ToInstanceFileSharesOutputWithContext

func (o InstanceFileSharesOutput) ToInstanceFileSharesOutputWithContext(ctx context.Context) InstanceFileSharesOutput

func (InstanceFileSharesOutput) ToInstanceFileSharesPtrOutput

func (o InstanceFileSharesOutput) ToInstanceFileSharesPtrOutput() InstanceFileSharesPtrOutput

func (InstanceFileSharesOutput) ToInstanceFileSharesPtrOutputWithContext

func (o InstanceFileSharesOutput) ToInstanceFileSharesPtrOutputWithContext(ctx context.Context) InstanceFileSharesPtrOutput

type InstanceFileSharesPtrInput

type InstanceFileSharesPtrInput interface {
	pulumi.Input

	ToInstanceFileSharesPtrOutput() InstanceFileSharesPtrOutput
	ToInstanceFileSharesPtrOutputWithContext(context.Context) InstanceFileSharesPtrOutput
}

InstanceFileSharesPtrInput is an input type that accepts InstanceFileSharesArgs, InstanceFileSharesPtr and InstanceFileSharesPtrOutput values. You can construct a concrete instance of `InstanceFileSharesPtrInput` via:

		 InstanceFileSharesArgs{...}

 or:

		 nil

type InstanceFileSharesPtrOutput

type InstanceFileSharesPtrOutput struct{ *pulumi.OutputState }

func (InstanceFileSharesPtrOutput) CapacityGb

File share capacity in GiB. This must be at least 1024 GiB for the standard tier, or 2560 GiB for the premium tier.

func (InstanceFileSharesPtrOutput) Elem

func (InstanceFileSharesPtrOutput) ElementType

func (InstanceFileSharesPtrOutput) Name

The name of the fileshare (16 characters or less)

func (InstanceFileSharesPtrOutput) ToInstanceFileSharesPtrOutput

func (o InstanceFileSharesPtrOutput) ToInstanceFileSharesPtrOutput() InstanceFileSharesPtrOutput

func (InstanceFileSharesPtrOutput) ToInstanceFileSharesPtrOutputWithContext

func (o InstanceFileSharesPtrOutput) ToInstanceFileSharesPtrOutputWithContext(ctx context.Context) InstanceFileSharesPtrOutput

type InstanceNetwork

type InstanceNetwork struct {
	// -
	// A list of IPv4 or IPv6 addresses.
	IpAddresses []string `pulumi:"ipAddresses"`
	// IP versions for which the instance has
	// IP addresses assigned.
	Modes []string `pulumi:"modes"`
	// The name of the GCE VPC network to which the
	// instance is connected.
	Network string `pulumi:"network"`
	// A /29 CIDR block that identifies the range of IP
	// addresses reserved for this instance.
	ReservedIpRange *string `pulumi:"reservedIpRange"`
}

type InstanceNetworkArgs

type InstanceNetworkArgs struct {
	// -
	// A list of IPv4 or IPv6 addresses.
	IpAddresses pulumi.StringArrayInput `pulumi:"ipAddresses"`
	// IP versions for which the instance has
	// IP addresses assigned.
	Modes pulumi.StringArrayInput `pulumi:"modes"`
	// The name of the GCE VPC network to which the
	// instance is connected.
	Network pulumi.StringInput `pulumi:"network"`
	// A /29 CIDR block that identifies the range of IP
	// addresses reserved for this instance.
	ReservedIpRange pulumi.StringPtrInput `pulumi:"reservedIpRange"`
}

func (InstanceNetworkArgs) ElementType

func (InstanceNetworkArgs) ElementType() reflect.Type

func (InstanceNetworkArgs) ToInstanceNetworkOutput

func (i InstanceNetworkArgs) ToInstanceNetworkOutput() InstanceNetworkOutput

func (InstanceNetworkArgs) ToInstanceNetworkOutputWithContext

func (i InstanceNetworkArgs) ToInstanceNetworkOutputWithContext(ctx context.Context) InstanceNetworkOutput

type InstanceNetworkArray

type InstanceNetworkArray []InstanceNetworkInput

func (InstanceNetworkArray) ElementType

func (InstanceNetworkArray) ElementType() reflect.Type

func (InstanceNetworkArray) ToInstanceNetworkArrayOutput

func (i InstanceNetworkArray) ToInstanceNetworkArrayOutput() InstanceNetworkArrayOutput

func (InstanceNetworkArray) ToInstanceNetworkArrayOutputWithContext

func (i InstanceNetworkArray) ToInstanceNetworkArrayOutputWithContext(ctx context.Context) InstanceNetworkArrayOutput

type InstanceNetworkArrayInput

type InstanceNetworkArrayInput interface {
	pulumi.Input

	ToInstanceNetworkArrayOutput() InstanceNetworkArrayOutput
	ToInstanceNetworkArrayOutputWithContext(context.Context) InstanceNetworkArrayOutput
}

InstanceNetworkArrayInput is an input type that accepts InstanceNetworkArray and InstanceNetworkArrayOutput values. You can construct a concrete instance of `InstanceNetworkArrayInput` via:

InstanceNetworkArray{ InstanceNetworkArgs{...} }

type InstanceNetworkArrayOutput

type InstanceNetworkArrayOutput struct{ *pulumi.OutputState }

func (InstanceNetworkArrayOutput) ElementType

func (InstanceNetworkArrayOutput) ElementType() reflect.Type

func (InstanceNetworkArrayOutput) Index

func (InstanceNetworkArrayOutput) ToInstanceNetworkArrayOutput

func (o InstanceNetworkArrayOutput) ToInstanceNetworkArrayOutput() InstanceNetworkArrayOutput

func (InstanceNetworkArrayOutput) ToInstanceNetworkArrayOutputWithContext

func (o InstanceNetworkArrayOutput) ToInstanceNetworkArrayOutputWithContext(ctx context.Context) InstanceNetworkArrayOutput

type InstanceNetworkInput

type InstanceNetworkInput interface {
	pulumi.Input

	ToInstanceNetworkOutput() InstanceNetworkOutput
	ToInstanceNetworkOutputWithContext(context.Context) InstanceNetworkOutput
}

InstanceNetworkInput is an input type that accepts InstanceNetworkArgs and InstanceNetworkOutput values. You can construct a concrete instance of `InstanceNetworkInput` via:

InstanceNetworkArgs{...}

type InstanceNetworkOutput

type InstanceNetworkOutput struct{ *pulumi.OutputState }

func (InstanceNetworkOutput) ElementType

func (InstanceNetworkOutput) ElementType() reflect.Type

func (InstanceNetworkOutput) IpAddresses

- A list of IPv4 or IPv6 addresses.

func (InstanceNetworkOutput) Modes

IP versions for which the instance has IP addresses assigned.

func (InstanceNetworkOutput) Network

The name of the GCE VPC network to which the instance is connected.

func (InstanceNetworkOutput) ReservedIpRange

func (o InstanceNetworkOutput) ReservedIpRange() pulumi.StringPtrOutput

A /29 CIDR block that identifies the range of IP addresses reserved for this instance.

func (InstanceNetworkOutput) ToInstanceNetworkOutput

func (o InstanceNetworkOutput) ToInstanceNetworkOutput() InstanceNetworkOutput

func (InstanceNetworkOutput) ToInstanceNetworkOutputWithContext

func (o InstanceNetworkOutput) ToInstanceNetworkOutputWithContext(ctx context.Context) InstanceNetworkOutput

type InstanceState

type InstanceState struct {
	// Creation timestamp in RFC3339 text format.
	CreateTime pulumi.StringPtrInput
	// A description of the instance.
	Description pulumi.StringPtrInput
	// Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.
	Etag pulumi.StringPtrInput
	// File system shares on the instance. For this version, only a
	// single file share is supported.  Structure is documented below.
	FileShares InstanceFileSharesPtrInput
	// Resource labels to represent user-provided metadata.
	Labels pulumi.StringMapInput
	// The name of the fileshare (16 characters or less)
	Name pulumi.StringPtrInput
	// VPC networks to which the instance is connected. For this version,
	// only a single network is supported.  Structure is documented below.
	Networks InstanceNetworkArrayInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The service tier of the instance.
	Tier pulumi.StringPtrInput
	// The name of the Filestore zone of the instance.
	Zone pulumi.StringPtrInput
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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