1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. filestore
  5. getInstance
Google Cloud v8.23.0 published on Monday, Mar 24, 2025 by Pulumi

gcp.filestore.getInstance

Explore with Pulumi AI

Google Cloud v8.23.0 published on Monday, Mar 24, 2025 by Pulumi

Get info about a Google Cloud Filestore instance.

Example Usage

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

const myInstance = gcp.filestore.getInstance({
    name: "my-filestore-instance",
});
export const instanceIpAddresses = myInstance.then(myInstance => myInstance.networks?.ipAddresses);
export const instanceConnectMode = myInstance.then(myInstance => myInstance.networks?.connectMode);
export const instanceFileShareName = myInstance.then(myInstance => myInstance.fileShares?.name);
Copy
import pulumi
import pulumi_gcp as gcp

my_instance = gcp.filestore.get_instance(name="my-filestore-instance")
pulumi.export("instanceIpAddresses", my_instance.networks.ip_addresses)
pulumi.export("instanceConnectMode", my_instance.networks.connect_mode)
pulumi.export("instanceFileShareName", my_instance.file_shares.name)
Copy
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/filestore"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myInstance, err := filestore.LookupInstance(ctx, &filestore.LookupInstanceArgs{
			Name: "my-filestore-instance",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("instanceIpAddresses", myInstance.Networks.IpAddresses)
		ctx.Export("instanceConnectMode", myInstance.Networks.ConnectMode)
		ctx.Export("instanceFileShareName", myInstance.FileShares.Name)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var myInstance = Gcp.Filestore.GetInstance.Invoke(new()
    {
        Name = "my-filestore-instance",
    });

    return new Dictionary<string, object?>
    {
        ["instanceIpAddresses"] = myInstance.Apply(getInstanceResult => getInstanceResult.Networks?.IpAddresses),
        ["instanceConnectMode"] = myInstance.Apply(getInstanceResult => getInstanceResult.Networks?.ConnectMode),
        ["instanceFileShareName"] = myInstance.Apply(getInstanceResult => getInstanceResult.FileShares?.Name),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.filestore.FilestoreFunctions;
import com.pulumi.gcp.filestore.inputs.GetInstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var myInstance = FilestoreFunctions.getInstance(GetInstanceArgs.builder()
            .name("my-filestore-instance")
            .build());

        ctx.export("instanceIpAddresses", myInstance.applyValue(getInstanceResult -> getInstanceResult.networks().ipAddresses()));
        ctx.export("instanceConnectMode", myInstance.applyValue(getInstanceResult -> getInstanceResult.networks().connectMode()));
        ctx.export("instanceFileShareName", myInstance.applyValue(getInstanceResult -> getInstanceResult.fileShares().name()));
    }
}
Copy
variables:
  myInstance:
    fn::invoke:
      function: gcp:filestore:getInstance
      arguments:
        name: my-filestore-instance
outputs:
  instanceIpAddresses: ${myInstance.networks.ipAddresses}
  instanceConnectMode: ${myInstance.networks.connectMode}
  instanceFileShareName: ${myInstance.fileShares.name}
Copy

Using getInstance

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getInstance(args: GetInstanceArgs, opts?: InvokeOptions): Promise<GetInstanceResult>
function getInstanceOutput(args: GetInstanceOutputArgs, opts?: InvokeOptions): Output<GetInstanceResult>
Copy
def get_instance(location: Optional[str] = None,
                 name: Optional[str] = None,
                 project: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetInstanceResult
def get_instance_output(location: Optional[pulumi.Input[str]] = None,
                 name: Optional[pulumi.Input[str]] = None,
                 project: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetInstanceResult]
Copy
func LookupInstance(ctx *Context, args *LookupInstanceArgs, opts ...InvokeOption) (*LookupInstanceResult, error)
func LookupInstanceOutput(ctx *Context, args *LookupInstanceOutputArgs, opts ...InvokeOption) LookupInstanceResultOutput
Copy

> Note: This function is named LookupInstance in the Go SDK.

public static class GetInstance 
{
    public static Task<GetInstanceResult> InvokeAsync(GetInstanceArgs args, InvokeOptions? opts = null)
    public static Output<GetInstanceResult> Invoke(GetInstanceInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
public static Output<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: gcp:filestore/getInstance:getInstance
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
The name of a Filestore instance.


Location string
The name of the location of the instance. This can be a region for ENTERPRISE tier instances. If it is not provided, the provider region or zone is used.
Project string
The project in which the resource belongs. If it is not provided, the provider project is used.
Name This property is required. string
The name of a Filestore instance.


Location string
The name of the location of the instance. This can be a region for ENTERPRISE tier instances. If it is not provided, the provider region or zone is used.
Project string
The project in which the resource belongs. If it is not provided, the provider project is used.
name This property is required. String
The name of a Filestore instance.


location String
The name of the location of the instance. This can be a region for ENTERPRISE tier instances. If it is not provided, the provider region or zone is used.
project String
The project in which the resource belongs. If it is not provided, the provider project is used.
name This property is required. string
The name of a Filestore instance.


location string
The name of the location of the instance. This can be a region for ENTERPRISE tier instances. If it is not provided, the provider region or zone is used.
project string
The project in which the resource belongs. If it is not provided, the provider project is used.
name This property is required. str
The name of a Filestore instance.


location str
The name of the location of the instance. This can be a region for ENTERPRISE tier instances. If it is not provided, the provider region or zone is used.
project str
The project in which the resource belongs. If it is not provided, the provider project is used.
name This property is required. String
The name of a Filestore instance.


location String
The name of the location of the instance. This can be a region for ENTERPRISE tier instances. If it is not provided, the provider region or zone is used.
project String
The project in which the resource belongs. If it is not provided, the provider project is used.

getInstance Result

The following output properties are available:

CreateTime string
DeletionProtectionEnabled bool
DeletionProtectionReason string
Description string
EffectiveLabels Dictionary<string, string>
EffectiveReplications List<GetInstanceEffectiveReplication>
Etag string
FileShares List<GetInstanceFileShare>
Id string
The provider-assigned unique ID for this managed resource.
InitialReplications List<GetInstanceInitialReplication>
KmsKeyName string
Labels Dictionary<string, string>
Name string
Networks List<GetInstanceNetwork>
PerformanceConfigs List<GetInstancePerformanceConfig>
Protocol string
PulumiLabels Dictionary<string, string>
Tags Dictionary<string, string>
Tier string
Zone string
Location string
Project string
createTime string
deletionProtectionEnabled boolean
deletionProtectionReason string
description string
effectiveLabels {[key: string]: string}
effectiveReplications GetInstanceEffectiveReplication[]
etag string
fileShares GetInstanceFileShare[]
id string
The provider-assigned unique ID for this managed resource.
initialReplications GetInstanceInitialReplication[]
kmsKeyName string
labels {[key: string]: string}
name string
networks GetInstanceNetwork[]
performanceConfigs GetInstancePerformanceConfig[]
protocol string
pulumiLabels {[key: string]: string}
tags {[key: string]: string}
tier string
zone string
location string
project string

Supporting Types

GetInstanceEffectiveReplication

Replicas This property is required. List<GetInstanceEffectiveReplicationReplica>
The replication role.
Replicas This property is required. []GetInstanceEffectiveReplicationReplica
The replication role.
replicas This property is required. List<GetInstanceEffectiveReplicationReplica>
The replication role.
replicas This property is required. GetInstanceEffectiveReplicationReplica[]
The replication role.
replicas This property is required. Sequence[GetInstanceEffectiveReplicationReplica]
The replication role.
replicas This property is required. List<Property Map>
The replication role.

GetInstanceEffectiveReplicationReplica

LastActiveSyncTime This property is required. string
Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"
State This property is required. string
Output only. The replica state
StateReasons This property is required. List<string>
Output only. Additional information about the replication state, if available.
LastActiveSyncTime This property is required. string
Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"
State This property is required. string
Output only. The replica state
StateReasons This property is required. []string
Output only. Additional information about the replication state, if available.
lastActiveSyncTime This property is required. String
Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"
state This property is required. String
Output only. The replica state
stateReasons This property is required. List<String>
Output only. Additional information about the replication state, if available.
lastActiveSyncTime This property is required. string
Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"
state This property is required. string
Output only. The replica state
stateReasons This property is required. string[]
Output only. Additional information about the replication state, if available.
last_active_sync_time This property is required. str
Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"
state This property is required. str
Output only. The replica state
state_reasons This property is required. Sequence[str]
Output only. Additional information about the replication state, if available.
lastActiveSyncTime This property is required. String
Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z"
state This property is required. String
Output only. The replica state
stateReasons This property is required. List<String>
Output only. Additional information about the replication state, if available.

GetInstanceFileShare

CapacityGb This property is required. int
File share capacity in GiB. This must be at least 1024 GiB for the standard tier, or 2560 GiB for the premium tier.
Name This property is required. string
The name of a Filestore instance.


NfsExportOptions This property is required. List<GetInstanceFileShareNfsExportOption>
Nfs Export Options. There is a limit of 10 export options per file share.
SourceBackup This property is required. string
The resource name of the backup, in the format projects/{projectId}/locations/{locationId}/backups/{backupId}, that this file share has been restored from.
CapacityGb This property is required. int
File share capacity in GiB. This must be at least 1024 GiB for the standard tier, or 2560 GiB for the premium tier.
Name This property is required. string
The name of a Filestore instance.


NfsExportOptions This property is required. []GetInstanceFileShareNfsExportOption
Nfs Export Options. There is a limit of 10 export options per file share.
SourceBackup This property is required. string
The resource name of the backup, in the format projects/{projectId}/locations/{locationId}/backups/{backupId}, that this file share has been restored from.
capacityGb This property is required. Integer
File share capacity in GiB. This must be at least 1024 GiB for the standard tier, or 2560 GiB for the premium tier.
name This property is required. String
The name of a Filestore instance.


nfsExportOptions This property is required. List<GetInstanceFileShareNfsExportOption>
Nfs Export Options. There is a limit of 10 export options per file share.
sourceBackup This property is required. String
The resource name of the backup, in the format projects/{projectId}/locations/{locationId}/backups/{backupId}, that this file share has been restored from.
capacityGb This property is required. number
File share capacity in GiB. This must be at least 1024 GiB for the standard tier, or 2560 GiB for the premium tier.
name This property is required. string
The name of a Filestore instance.


nfsExportOptions This property is required. GetInstanceFileShareNfsExportOption[]
Nfs Export Options. There is a limit of 10 export options per file share.
sourceBackup This property is required. string
The resource name of the backup, in the format projects/{projectId}/locations/{locationId}/backups/{backupId}, that this file share has been restored from.
capacity_gb This property is required. int
File share capacity in GiB. This must be at least 1024 GiB for the standard tier, or 2560 GiB for the premium tier.
name This property is required. str
The name of a Filestore instance.


nfs_export_options This property is required. Sequence[GetInstanceFileShareNfsExportOption]
Nfs Export Options. There is a limit of 10 export options per file share.
source_backup This property is required. str
The resource name of the backup, in the format projects/{projectId}/locations/{locationId}/backups/{backupId}, that this file share has been restored from.
capacityGb This property is required. Number
File share capacity in GiB. This must be at least 1024 GiB for the standard tier, or 2560 GiB for the premium tier.
name This property is required. String
The name of a Filestore instance.


nfsExportOptions This property is required. List<Property Map>
Nfs Export Options. There is a limit of 10 export options per file share.
sourceBackup This property is required. String
The resource name of the backup, in the format projects/{projectId}/locations/{locationId}/backups/{backupId}, that this file share has been restored from.

GetInstanceFileShareNfsExportOption

AccessMode This property is required. string
Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE. Default value: "READ_WRITE" Possible values: ["READ_ONLY", "READ_WRITE"]
AnonGid This property is required. int
An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squashMode of ROOT_SQUASH. An error will be returned if this field is specified for other squashMode settings.
AnonUid This property is required. int
An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squashMode of ROOT_SQUASH. An error will be returned if this field is specified for other squashMode settings.
IpRanges This property is required. List<string>
List of either IPv4 addresses, or ranges in CIDR notation which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
SquashMode This property is required. string
Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH. Default value: "NO_ROOT_SQUASH" Possible values: ["NO_ROOT_SQUASH", "ROOT_SQUASH"]
AccessMode This property is required. string
Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE. Default value: "READ_WRITE" Possible values: ["READ_ONLY", "READ_WRITE"]
AnonGid This property is required. int
An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squashMode of ROOT_SQUASH. An error will be returned if this field is specified for other squashMode settings.
AnonUid This property is required. int
An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squashMode of ROOT_SQUASH. An error will be returned if this field is specified for other squashMode settings.
IpRanges This property is required. []string
List of either IPv4 addresses, or ranges in CIDR notation which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
SquashMode This property is required. string
Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH. Default value: "NO_ROOT_SQUASH" Possible values: ["NO_ROOT_SQUASH", "ROOT_SQUASH"]
accessMode This property is required. String
Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE. Default value: "READ_WRITE" Possible values: ["READ_ONLY", "READ_WRITE"]
anonGid This property is required. Integer
An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squashMode of ROOT_SQUASH. An error will be returned if this field is specified for other squashMode settings.
anonUid This property is required. Integer
An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squashMode of ROOT_SQUASH. An error will be returned if this field is specified for other squashMode settings.
ipRanges This property is required. List<String>
List of either IPv4 addresses, or ranges in CIDR notation which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
squashMode This property is required. String
Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH. Default value: "NO_ROOT_SQUASH" Possible values: ["NO_ROOT_SQUASH", "ROOT_SQUASH"]
accessMode This property is required. string
Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE. Default value: "READ_WRITE" Possible values: ["READ_ONLY", "READ_WRITE"]
anonGid This property is required. number
An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squashMode of ROOT_SQUASH. An error will be returned if this field is specified for other squashMode settings.
anonUid This property is required. number
An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squashMode of ROOT_SQUASH. An error will be returned if this field is specified for other squashMode settings.
ipRanges This property is required. string[]
List of either IPv4 addresses, or ranges in CIDR notation which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
squashMode This property is required. string
Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH. Default value: "NO_ROOT_SQUASH" Possible values: ["NO_ROOT_SQUASH", "ROOT_SQUASH"]
access_mode This property is required. str
Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE. Default value: "READ_WRITE" Possible values: ["READ_ONLY", "READ_WRITE"]
anon_gid This property is required. int
An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squashMode of ROOT_SQUASH. An error will be returned if this field is specified for other squashMode settings.
anon_uid This property is required. int
An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squashMode of ROOT_SQUASH. An error will be returned if this field is specified for other squashMode settings.
ip_ranges This property is required. Sequence[str]
List of either IPv4 addresses, or ranges in CIDR notation which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
squash_mode This property is required. str
Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH. Default value: "NO_ROOT_SQUASH" Possible values: ["NO_ROOT_SQUASH", "ROOT_SQUASH"]
accessMode This property is required. String
Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE. Default value: "READ_WRITE" Possible values: ["READ_ONLY", "READ_WRITE"]
anonGid This property is required. Number
An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squashMode of ROOT_SQUASH. An error will be returned if this field is specified for other squashMode settings.
anonUid This property is required. Number
An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squashMode of ROOT_SQUASH. An error will be returned if this field is specified for other squashMode settings.
ipRanges This property is required. List<String>
List of either IPv4 addresses, or ranges in CIDR notation which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
squashMode This property is required. String
Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH. Default value: "NO_ROOT_SQUASH" Possible values: ["NO_ROOT_SQUASH", "ROOT_SQUASH"]

GetInstanceInitialReplication

Replicas This property is required. List<GetInstanceInitialReplicationReplica>
The replication role.
Role This property is required. string
The replication role. Default value: "STANDBY" Possible values: ["ROLE_UNSPECIFIED", "ACTIVE", "STANDBY"]
Replicas This property is required. []GetInstanceInitialReplicationReplica
The replication role.
Role This property is required. string
The replication role. Default value: "STANDBY" Possible values: ["ROLE_UNSPECIFIED", "ACTIVE", "STANDBY"]
replicas This property is required. List<GetInstanceInitialReplicationReplica>
The replication role.
role This property is required. String
The replication role. Default value: "STANDBY" Possible values: ["ROLE_UNSPECIFIED", "ACTIVE", "STANDBY"]
replicas This property is required. GetInstanceInitialReplicationReplica[]
The replication role.
role This property is required. string
The replication role. Default value: "STANDBY" Possible values: ["ROLE_UNSPECIFIED", "ACTIVE", "STANDBY"]
replicas This property is required. Sequence[GetInstanceInitialReplicationReplica]
The replication role.
role This property is required. str
The replication role. Default value: "STANDBY" Possible values: ["ROLE_UNSPECIFIED", "ACTIVE", "STANDBY"]
replicas This property is required. List<Property Map>
The replication role.
role This property is required. String
The replication role. Default value: "STANDBY" Possible values: ["ROLE_UNSPECIFIED", "ACTIVE", "STANDBY"]

GetInstanceInitialReplicationReplica

PeerInstance This property is required. string
The peer instance.
PeerInstance This property is required. string
The peer instance.
peerInstance This property is required. String
The peer instance.
peerInstance This property is required. string
The peer instance.
peer_instance This property is required. str
The peer instance.
peerInstance This property is required. String
The peer instance.

GetInstanceNetwork

ConnectMode This property is required. string
The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING. Default value: "DIRECT_PEERING" Possible values: ["DIRECT_PEERING", "PRIVATE_SERVICE_ACCESS"]
IpAddresses This property is required. List<string>
A list of IPv4 or IPv6 addresses.
Modes This property is required. List<string>
IP versions for which the instance has IP addresses assigned. Possible values: ["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4", "MODE_IPV6"]
Network This property is required. string
The name of the GCE VPC network to which the instance is connected.
ReservedIpRange This property is required. string
A /29 CIDR block that identifies the range of IP addresses reserved for this instance.
ConnectMode This property is required. string
The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING. Default value: "DIRECT_PEERING" Possible values: ["DIRECT_PEERING", "PRIVATE_SERVICE_ACCESS"]
IpAddresses This property is required. []string
A list of IPv4 or IPv6 addresses.
Modes This property is required. []string
IP versions for which the instance has IP addresses assigned. Possible values: ["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4", "MODE_IPV6"]
Network This property is required. string
The name of the GCE VPC network to which the instance is connected.
ReservedIpRange This property is required. string
A /29 CIDR block that identifies the range of IP addresses reserved for this instance.
connectMode This property is required. String
The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING. Default value: "DIRECT_PEERING" Possible values: ["DIRECT_PEERING", "PRIVATE_SERVICE_ACCESS"]
ipAddresses This property is required. List<String>
A list of IPv4 or IPv6 addresses.
modes This property is required. List<String>
IP versions for which the instance has IP addresses assigned. Possible values: ["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4", "MODE_IPV6"]
network This property is required. String
The name of the GCE VPC network to which the instance is connected.
reservedIpRange This property is required. String
A /29 CIDR block that identifies the range of IP addresses reserved for this instance.
connectMode This property is required. string
The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING. Default value: "DIRECT_PEERING" Possible values: ["DIRECT_PEERING", "PRIVATE_SERVICE_ACCESS"]
ipAddresses This property is required. string[]
A list of IPv4 or IPv6 addresses.
modes This property is required. string[]
IP versions for which the instance has IP addresses assigned. Possible values: ["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4", "MODE_IPV6"]
network This property is required. string
The name of the GCE VPC network to which the instance is connected.
reservedIpRange This property is required. string
A /29 CIDR block that identifies the range of IP addresses reserved for this instance.
connect_mode This property is required. str
The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING. Default value: "DIRECT_PEERING" Possible values: ["DIRECT_PEERING", "PRIVATE_SERVICE_ACCESS"]
ip_addresses This property is required. Sequence[str]
A list of IPv4 or IPv6 addresses.
modes This property is required. Sequence[str]
IP versions for which the instance has IP addresses assigned. Possible values: ["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4", "MODE_IPV6"]
network This property is required. str
The name of the GCE VPC network to which the instance is connected.
reserved_ip_range This property is required. str
A /29 CIDR block that identifies the range of IP addresses reserved for this instance.
connectMode This property is required. String
The network connect mode of the Filestore instance. If not provided, the connect mode defaults to DIRECT_PEERING. Default value: "DIRECT_PEERING" Possible values: ["DIRECT_PEERING", "PRIVATE_SERVICE_ACCESS"]
ipAddresses This property is required. List<String>
A list of IPv4 or IPv6 addresses.
modes This property is required. List<String>
IP versions for which the instance has IP addresses assigned. Possible values: ["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4", "MODE_IPV6"]
network This property is required. String
The name of the GCE VPC network to which the instance is connected.
reservedIpRange This property is required. String
A /29 CIDR block that identifies the range of IP addresses reserved for this instance.

GetInstancePerformanceConfig

FixedIops This property is required. List<GetInstancePerformanceConfigFixedIop>
The instance will have a fixed provisioned IOPS value, which will remain constant regardless of instance capacity.
IopsPerTbs This property is required. List<GetInstancePerformanceConfigIopsPerTb>
The instance provisioned IOPS will change dynamically based on the capacity of the instance.
FixedIops This property is required. []GetInstancePerformanceConfigFixedIop
The instance will have a fixed provisioned IOPS value, which will remain constant regardless of instance capacity.
IopsPerTbs This property is required. []GetInstancePerformanceConfigIopsPerTb
The instance provisioned IOPS will change dynamically based on the capacity of the instance.
fixedIops This property is required. List<GetInstancePerformanceConfigFixedIop>
The instance will have a fixed provisioned IOPS value, which will remain constant regardless of instance capacity.
iopsPerTbs This property is required. List<GetInstancePerformanceConfigIopsPerTb>
The instance provisioned IOPS will change dynamically based on the capacity of the instance.
fixedIops This property is required. GetInstancePerformanceConfigFixedIop[]
The instance will have a fixed provisioned IOPS value, which will remain constant regardless of instance capacity.
iopsPerTbs This property is required. GetInstancePerformanceConfigIopsPerTb[]
The instance provisioned IOPS will change dynamically based on the capacity of the instance.
fixed_iops This property is required. Sequence[GetInstancePerformanceConfigFixedIop]
The instance will have a fixed provisioned IOPS value, which will remain constant regardless of instance capacity.
iops_per_tbs This property is required. Sequence[GetInstancePerformanceConfigIopsPerTb]
The instance provisioned IOPS will change dynamically based on the capacity of the instance.
fixedIops This property is required. List<Property Map>
The instance will have a fixed provisioned IOPS value, which will remain constant regardless of instance capacity.
iopsPerTbs This property is required. List<Property Map>
The instance provisioned IOPS will change dynamically based on the capacity of the instance.

GetInstancePerformanceConfigFixedIop

MaxIops This property is required. int
The number of IOPS to provision for the instance. max_iops must be in multiple of 1000.
MaxIops This property is required. int
The number of IOPS to provision for the instance. max_iops must be in multiple of 1000.
maxIops This property is required. Integer
The number of IOPS to provision for the instance. max_iops must be in multiple of 1000.
maxIops This property is required. number
The number of IOPS to provision for the instance. max_iops must be in multiple of 1000.
max_iops This property is required. int
The number of IOPS to provision for the instance. max_iops must be in multiple of 1000.
maxIops This property is required. Number
The number of IOPS to provision for the instance. max_iops must be in multiple of 1000.

GetInstancePerformanceConfigIopsPerTb

MaxIopsPerTb This property is required. int
The instance max IOPS will be calculated by multiplying the capacity of the instance (TB) by max_iops_per_tb, and rounding to the nearest 1000. The instance max IOPS will be changed dynamically based on the instance capacity.
MaxIopsPerTb This property is required. int
The instance max IOPS will be calculated by multiplying the capacity of the instance (TB) by max_iops_per_tb, and rounding to the nearest 1000. The instance max IOPS will be changed dynamically based on the instance capacity.
maxIopsPerTb This property is required. Integer
The instance max IOPS will be calculated by multiplying the capacity of the instance (TB) by max_iops_per_tb, and rounding to the nearest 1000. The instance max IOPS will be changed dynamically based on the instance capacity.
maxIopsPerTb This property is required. number
The instance max IOPS will be calculated by multiplying the capacity of the instance (TB) by max_iops_per_tb, and rounding to the nearest 1000. The instance max IOPS will be changed dynamically based on the instance capacity.
max_iops_per_tb This property is required. int
The instance max IOPS will be calculated by multiplying the capacity of the instance (TB) by max_iops_per_tb, and rounding to the nearest 1000. The instance max IOPS will be changed dynamically based on the instance capacity.
maxIopsPerTb This property is required. Number
The instance max IOPS will be calculated by multiplying the capacity of the instance (TB) by max_iops_per_tb, and rounding to the nearest 1000. The instance max IOPS will be changed dynamically based on the instance capacity.

Package Details

Repository
Google Cloud (GCP) Classic pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.
Google Cloud v8.23.0 published on Monday, Mar 24, 2025 by Pulumi