Module filestore

@pulumi/gcp > filestore

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-gcp repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-google repo.

class Instance

extends CustomResource

A Google Cloud Filestore instance.

To get more information about Instance, see:

Example Usage - Filestore Instance Basic

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const instance = new gcp.filestore.Instance("instance", {
    fileShares: {
        capacityGb: 2660,
        name: "share1",
    },
    networks: [{
        modes: ["MODE_IPV4"],
        network: "default",
    }],
    tier: "PREMIUM",
    zone: "us-central1-b",
});

This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/filestore_instance.html.markdown.

constructor

new Instance(name: string, args: InstanceArgs, opts?: pulumi.CustomResourceOptions)

Create a Instance resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: InstanceState, opts?: pulumi.CustomResourceOptions): Instance

Get an existing Instance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): boolean

Returns true if the given object is an instance of Instance. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property createTime

public createTime: pulumi.Output<string>;

property description

public description: pulumi.Output<string | undefined>;

property etag

public etag: pulumi.Output<string>;

property fileShares

public fileShares: pulumi.Output<{
    capacityGb: number;
    name: string;
}>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property labels

public labels: pulumi.Output<{[key: string]: string} | undefined>;

property name

public name: pulumi.Output<string>;

property networks

public networks: pulumi.Output<{
    ipAddresses: string[];
    modes: string[];
    network: string;
    reservedIpRange: string;
}[]>;

property project

public project: pulumi.Output<string>;

property tier

public tier: pulumi.Output<string>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property zone

public zone: pulumi.Output<string>;

interface InstanceArgs

The set of arguments for constructing a Instance resource.

property description

description?: pulumi.Input<string>;

property fileShares

fileShares: pulumi.Input<{
    capacityGb: pulumi.Input<number>;
    name: pulumi.Input<string>;
}>;

property labels

labels?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;

property name

name?: pulumi.Input<string>;

property networks

networks: pulumi.Input<pulumi.Input<{
    ipAddresses: pulumi.Input<pulumi.Input<string>[]>;
    modes: pulumi.Input<pulumi.Input<string>[]>;
    network: pulumi.Input<string>;
    reservedIpRange: pulumi.Input<string>;
}>[]>;

property project

project?: pulumi.Input<string>;

property tier

property zone

interface InstanceState

Input properties used for looking up and filtering Instance resources.

property createTime

createTime?: pulumi.Input<string>;

property description

description?: pulumi.Input<string>;

property etag

etag?: pulumi.Input<string>;

property fileShares

fileShares?: pulumi.Input<{
    capacityGb: pulumi.Input<number>;
    name: pulumi.Input<string>;
}>;

property labels

labels?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;

property name

name?: pulumi.Input<string>;

property networks

networks?: pulumi.Input<pulumi.Input<{
    ipAddresses: pulumi.Input<pulumi.Input<string>[]>;
    modes: pulumi.Input<pulumi.Input<string>[]>;
    network: pulumi.Input<string>;
    reservedIpRange: pulumi.Input<string>;
}>[]>;

property project

project?: pulumi.Input<string>;

property tier

tier?: pulumi.Input<string>;

property zone

zone?: pulumi.Input<string>;