Google Cloud v9.3.0 published on Tuesday, Oct 7, 2025 by Pulumi
gcp.filestore.getInstance
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);
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)
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v9/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
	})
}
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),
    };
});
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.networks().ipAddresses());
        ctx.export("instanceConnectMode", myInstance.networks().connectMode());
        ctx.export("instanceFileShareName", myInstance.fileShares().name());
    }
}
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}
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>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]func LookupInstance(ctx *Context, args *LookupInstanceArgs, opts ...InvokeOption) (*LookupInstanceResult, error)
func LookupInstanceOutput(ctx *Context, args *LookupInstanceOutputArgs, opts ...InvokeOption) LookupInstanceResultOutput> 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)
}public static CompletableFuture<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
public static Output<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
fn::invoke:
  function: gcp:filestore/getInstance:getInstance
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name 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 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 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 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 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 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
- DeletionProtection boolEnabled 
- DeletionProtection stringReason 
- Description string
- DirectoryServices List<GetInstance Directory Service> 
- EffectiveLabels Dictionary<string, string>
- EffectiveReplications List<GetInstance Effective Replication> 
- Etag string
- 
List<GetInstance File Share> 
- Id string
- The provider-assigned unique ID for this managed resource.
- InitialReplications List<GetInstance Initial Replication> 
- KmsKey stringName 
- Labels Dictionary<string, string>
- Name string
- Networks
List<GetInstance Network> 
- PerformanceConfigs List<GetInstance Performance Config> 
- Protocol string
- PulumiLabels Dictionary<string, string>
- Dictionary<string, string>
- Tier string
- Zone string
- Location string
- Project string
- CreateTime string
- DeletionProtection boolEnabled 
- DeletionProtection stringReason 
- Description string
- DirectoryServices []GetInstance Directory Service 
- EffectiveLabels map[string]string
- EffectiveReplications []GetInstance Effective Replication 
- Etag string
- 
[]GetInstance File Share 
- Id string
- The provider-assigned unique ID for this managed resource.
- InitialReplications []GetInstance Initial Replication 
- KmsKey stringName 
- Labels map[string]string
- Name string
- Networks
[]GetInstance Network 
- PerformanceConfigs []GetInstance Performance Config 
- Protocol string
- PulumiLabels map[string]string
- map[string]string
- Tier string
- Zone string
- Location string
- Project string
- createTime String
- deletionProtection BooleanEnabled 
- deletionProtection StringReason 
- description String
- directoryServices List<GetInstance Directory Service> 
- effectiveLabels Map<String,String>
- effectiveReplications List<GetInstance Effective Replication> 
- etag String
- 
List<GetInstance File Share> 
- id String
- The provider-assigned unique ID for this managed resource.
- initialReplications List<GetInstance Initial Replication> 
- kmsKey StringName 
- labels Map<String,String>
- name String
- networks
List<GetInstance Network> 
- performanceConfigs List<GetInstance Performance Config> 
- protocol String
- pulumiLabels Map<String,String>
- Map<String,String>
- tier String
- zone String
- location String
- project String
- createTime string
- deletionProtection booleanEnabled 
- deletionProtection stringReason 
- description string
- directoryServices GetInstance Directory Service[] 
- effectiveLabels {[key: string]: string}
- effectiveReplications GetInstance Effective Replication[] 
- etag string
- 
GetInstance File Share[] 
- id string
- The provider-assigned unique ID for this managed resource.
- initialReplications GetInstance Initial Replication[] 
- kmsKey stringName 
- labels {[key: string]: string}
- name string
- networks
GetInstance Network[] 
- performanceConfigs GetInstance Performance Config[] 
- protocol string
- pulumiLabels {[key: string]: string}
- {[key: string]: string}
- tier string
- zone string
- location string
- project string
- create_time str
- deletion_protection_ boolenabled 
- deletion_protection_ strreason 
- description str
- directory_services Sequence[GetInstance Directory Service] 
- effective_labels Mapping[str, str]
- effective_replications Sequence[GetInstance Effective Replication] 
- etag str
- 
Sequence[GetInstance File Share] 
- id str
- The provider-assigned unique ID for this managed resource.
- initial_replications Sequence[GetInstance Initial Replication] 
- kms_key_ strname 
- labels Mapping[str, str]
- name str
- networks
Sequence[GetInstance Network] 
- performance_configs Sequence[GetInstance Performance Config] 
- protocol str
- pulumi_labels Mapping[str, str]
- Mapping[str, str]
- tier str
- zone str
- location str
- project str
- createTime String
- deletionProtection BooleanEnabled 
- deletionProtection StringReason 
- description String
- directoryServices List<Property Map>
- effectiveLabels Map<String>
- effectiveReplications List<Property Map>
- etag String
- List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- initialReplications List<Property Map>
- kmsKey StringName 
- labels Map<String>
- name String
- networks List<Property Map>
- performanceConfigs List<Property Map>
- protocol String
- pulumiLabels Map<String>
- Map<String>
- tier String
- zone String
- location String
- project String
Supporting Types
GetInstanceDirectoryService   
- Ldaps
List<GetInstance Directory Service Ldap> 
- Configuration for LDAP servers.
- Ldaps
[]GetInstance Directory Service Ldap 
- Configuration for LDAP servers.
- ldaps
List<GetInstance Directory Service Ldap> 
- Configuration for LDAP servers.
- ldaps
GetInstance Directory Service Ldap[] 
- Configuration for LDAP servers.
- ldaps
Sequence[GetInstance Directory Service Ldap] 
- Configuration for LDAP servers.
- ldaps List<Property Map>
- Configuration for LDAP servers.
GetInstanceDirectoryServiceLdap    
- Domain string
- The LDAP domain name in the format of 'my-domain.com'.
- GroupsOu string
- The groups Organizational Unit (OU) is optional. This parameter is a hint to allow faster lookup in the LDAP namespace. In case that this parameter is not provided, Filestore instance will query the whole LDAP namespace.
- Servers List<string>
- The servers names are used for specifying the LDAP servers names.
The LDAP servers names can come with two formats:- DNS name, for example: 'ldap.example1.com', 'ldap.example2.com'.
- IP address, for example: '10.0.0.1', '10.0.0.2', '10.0.0.3'. All servers names must be in the same format: either all DNS names or all IP addresses.
 
- UsersOu string
- The users Organizational Unit (OU) is optional. This parameter is a hint to allow faster lookup in the LDAP namespace. In case that this parameter is not provided, Filestore instance will query the whole LDAP namespace.
- Domain string
- The LDAP domain name in the format of 'my-domain.com'.
- GroupsOu string
- The groups Organizational Unit (OU) is optional. This parameter is a hint to allow faster lookup in the LDAP namespace. In case that this parameter is not provided, Filestore instance will query the whole LDAP namespace.
- Servers []string
- The servers names are used for specifying the LDAP servers names.
The LDAP servers names can come with two formats:- DNS name, for example: 'ldap.example1.com', 'ldap.example2.com'.
- IP address, for example: '10.0.0.1', '10.0.0.2', '10.0.0.3'. All servers names must be in the same format: either all DNS names or all IP addresses.
 
- UsersOu string
- The users Organizational Unit (OU) is optional. This parameter is a hint to allow faster lookup in the LDAP namespace. In case that this parameter is not provided, Filestore instance will query the whole LDAP namespace.
- domain String
- The LDAP domain name in the format of 'my-domain.com'.
- groupsOu String
- The groups Organizational Unit (OU) is optional. This parameter is a hint to allow faster lookup in the LDAP namespace. In case that this parameter is not provided, Filestore instance will query the whole LDAP namespace.
- servers List<String>
- The servers names are used for specifying the LDAP servers names.
The LDAP servers names can come with two formats:- DNS name, for example: 'ldap.example1.com', 'ldap.example2.com'.
- IP address, for example: '10.0.0.1', '10.0.0.2', '10.0.0.3'. All servers names must be in the same format: either all DNS names or all IP addresses.
 
- usersOu String
- The users Organizational Unit (OU) is optional. This parameter is a hint to allow faster lookup in the LDAP namespace. In case that this parameter is not provided, Filestore instance will query the whole LDAP namespace.
- domain string
- The LDAP domain name in the format of 'my-domain.com'.
- groupsOu string
- The groups Organizational Unit (OU) is optional. This parameter is a hint to allow faster lookup in the LDAP namespace. In case that this parameter is not provided, Filestore instance will query the whole LDAP namespace.
- servers string[]
- The servers names are used for specifying the LDAP servers names.
The LDAP servers names can come with two formats:- DNS name, for example: 'ldap.example1.com', 'ldap.example2.com'.
- IP address, for example: '10.0.0.1', '10.0.0.2', '10.0.0.3'. All servers names must be in the same format: either all DNS names or all IP addresses.
 
- usersOu string
- The users Organizational Unit (OU) is optional. This parameter is a hint to allow faster lookup in the LDAP namespace. In case that this parameter is not provided, Filestore instance will query the whole LDAP namespace.
- domain str
- The LDAP domain name in the format of 'my-domain.com'.
- groups_ou str
- The groups Organizational Unit (OU) is optional. This parameter is a hint to allow faster lookup in the LDAP namespace. In case that this parameter is not provided, Filestore instance will query the whole LDAP namespace.
- servers Sequence[str]
- The servers names are used for specifying the LDAP servers names.
The LDAP servers names can come with two formats:- DNS name, for example: 'ldap.example1.com', 'ldap.example2.com'.
- IP address, for example: '10.0.0.1', '10.0.0.2', '10.0.0.3'. All servers names must be in the same format: either all DNS names or all IP addresses.
 
- users_ou str
- The users Organizational Unit (OU) is optional. This parameter is a hint to allow faster lookup in the LDAP namespace. In case that this parameter is not provided, Filestore instance will query the whole LDAP namespace.
- domain String
- The LDAP domain name in the format of 'my-domain.com'.
- groupsOu String
- The groups Organizational Unit (OU) is optional. This parameter is a hint to allow faster lookup in the LDAP namespace. In case that this parameter is not provided, Filestore instance will query the whole LDAP namespace.
- servers List<String>
- The servers names are used for specifying the LDAP servers names.
The LDAP servers names can come with two formats:- DNS name, for example: 'ldap.example1.com', 'ldap.example2.com'.
- IP address, for example: '10.0.0.1', '10.0.0.2', '10.0.0.3'. All servers names must be in the same format: either all DNS names or all IP addresses.
 
- usersOu String
- The users Organizational Unit (OU) is optional. This parameter is a hint to allow faster lookup in the LDAP namespace. In case that this parameter is not provided, Filestore instance will query the whole LDAP namespace.
GetInstanceEffectiveReplication   
- Replicas
List<GetInstance Effective Replication Replica> 
- The replication role.
- Role string
- The replication role.
- Replicas
[]GetInstance Effective Replication Replica 
- The replication role.
- Role string
- The replication role.
- replicas
List<GetInstance Effective Replication Replica> 
- The replication role.
- role String
- The replication role.
- replicas
GetInstance Effective Replication Replica[] 
- The replication role.
- role string
- The replication role.
- replicas
Sequence[GetInstance Effective Replication Replica] 
- The replication role.
- role str
- The replication role.
- replicas List<Property Map>
- The replication role.
- role String
- The replication role.
GetInstanceEffectiveReplicationReplica    
- LastActive stringSync Time 
- 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"
- PeerInstance string
- The peer instance.
- State string
- Output only. The replica state
- StateReasons List<string>
- Output only. Additional information about the replication state, if available.
- LastActive stringSync Time 
- 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"
- PeerInstance string
- The peer instance.
- State string
- Output only. The replica state
- StateReasons []string
- Output only. Additional information about the replication state, if available.
- lastActive StringSync Time 
- 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"
- peerInstance String
- The peer instance.
- state String
- Output only. The replica state
- stateReasons List<String>
- Output only. Additional information about the replication state, if available.
- lastActive stringSync Time 
- 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"
- peerInstance string
- The peer instance.
- state string
- Output only. The replica state
- stateReasons string[]
- Output only. Additional information about the replication state, if available.
- last_active_ strsync_ time 
- 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"
- peer_instance str
- The peer instance.
- state str
- Output only. The replica state
- state_reasons Sequence[str]
- Output only. Additional information about the replication state, if available.
- lastActive StringSync Time 
- 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"
- peerInstance String
- The peer instance.
- state String
- Output only. The replica state
- stateReasons List<String>
- Output only. Additional information about the replication state, if available.
GetInstanceFileShare   
- CapacityGb 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 string
- The name of a Filestore instance.
- NfsExport List<GetOptions Instance File Share Nfs Export Option> 
- Nfs Export Options. There is a limit of 10 export options per file share.
- SourceBackup 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 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 string
- The name of a Filestore instance.
- NfsExport []GetOptions Instance File Share Nfs Export Option 
- Nfs Export Options. There is a limit of 10 export options per file share.
- SourceBackup 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 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 String
- The name of a Filestore instance.
- nfsExport List<GetOptions Instance File Share Nfs Export Option> 
- Nfs Export Options. There is a limit of 10 export options per file share.
- sourceBackup 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 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 string
- The name of a Filestore instance.
- nfsExport GetOptions Instance File Share Nfs Export Option[] 
- Nfs Export Options. There is a limit of 10 export options per file share.
- sourceBackup 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 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 str
- The name of a Filestore instance.
- nfs_export_ Sequence[Getoptions Instance File Share Nfs Export Option] 
- Nfs Export Options. There is a limit of 10 export options per file share.
- source_backup 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 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 String
- The name of a Filestore instance.
- nfsExport List<Property Map>Options 
- Nfs Export Options. There is a limit of 10 export options per file share.
- sourceBackup 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 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 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 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 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.
- Network string
- The source VPC network for 'ip_ranges'. Required for instances using Private Service Connect, optional otherwise.
- SquashMode 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 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 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 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 []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.
- Network string
- The source VPC network for 'ip_ranges'. Required for instances using Private Service Connect, optional otherwise.
- SquashMode 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 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 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 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 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.
- network String
- The source VPC network for 'ip_ranges'. Required for instances using Private Service Connect, optional otherwise.
- squashMode 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 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 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 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 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.
- network string
- The source VPC network for 'ip_ranges'. Required for instances using Private Service Connect, optional otherwise.
- squashMode 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 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 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 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 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.
- network str
- The source VPC network for 'ip_ranges'. Required for instances using Private Service Connect, optional otherwise.
- squash_mode 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 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 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 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 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.
- network String
- The source VPC network for 'ip_ranges'. Required for instances using Private Service Connect, optional otherwise.
- squashMode 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
List<GetInstance Initial Replication Replica> 
- The replication role.
- Role string
- The replication role. Default value: "STANDBY" Possible values: ["ROLE_UNSPECIFIED", "ACTIVE", "STANDBY"]
- Replicas
[]GetInstance Initial Replication Replica 
- The replication role.
- Role string
- The replication role. Default value: "STANDBY" Possible values: ["ROLE_UNSPECIFIED", "ACTIVE", "STANDBY"]
- replicas
List<GetInstance Initial Replication Replica> 
- The replication role.
- role String
- The replication role. Default value: "STANDBY" Possible values: ["ROLE_UNSPECIFIED", "ACTIVE", "STANDBY"]
- replicas
GetInstance Initial Replication Replica[] 
- The replication role.
- role string
- The replication role. Default value: "STANDBY" Possible values: ["ROLE_UNSPECIFIED", "ACTIVE", "STANDBY"]
- replicas
Sequence[GetInstance Initial Replication Replica] 
- The replication role.
- role str
- The replication role. Default value: "STANDBY" Possible values: ["ROLE_UNSPECIFIED", "ACTIVE", "STANDBY"]
- replicas List<Property Map>
- The replication role.
- role String
- The replication role. Default value: "STANDBY" Possible values: ["ROLE_UNSPECIFIED", "ACTIVE", "STANDBY"]
GetInstanceInitialReplicationReplica    
- PeerInstance string
- The peer instance.
- PeerInstance string
- The peer instance.
- peerInstance String
- The peer instance.
- peerInstance string
- The peer instance.
- peer_instance str
- The peer instance.
- peerInstance String
- The peer instance.
GetInstanceNetwork  
- ConnectMode 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", "PRIVATE_SERVICE_CONNECT"]
- IpAddresses List<string>
- A list of IPv4 or IPv6 addresses.
- Modes List<string>
- IP versions for which the instance has IP addresses assigned. Possible values: ["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4", "MODE_IPV6"]
- Network string
- The name of the GCE VPC network to which the instance is connected.
- PscConfigs List<GetInstance Network Psc Config> 
- Private Service Connect configuration. Should only be set when connect_mode is PRIVATE_SERVICE_CONNECT.
- ReservedIp stringRange 
- A /29 CIDR block that identifies the range of IP addresses reserved for this instance.
- ConnectMode 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", "PRIVATE_SERVICE_CONNECT"]
- IpAddresses []string
- A list of IPv4 or IPv6 addresses.
- Modes []string
- IP versions for which the instance has IP addresses assigned. Possible values: ["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4", "MODE_IPV6"]
- Network string
- The name of the GCE VPC network to which the instance is connected.
- PscConfigs []GetInstance Network Psc Config 
- Private Service Connect configuration. Should only be set when connect_mode is PRIVATE_SERVICE_CONNECT.
- ReservedIp stringRange 
- A /29 CIDR block that identifies the range of IP addresses reserved for this instance.
- connectMode 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", "PRIVATE_SERVICE_CONNECT"]
- ipAddresses List<String>
- A list of IPv4 or IPv6 addresses.
- modes List<String>
- IP versions for which the instance has IP addresses assigned. Possible values: ["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4", "MODE_IPV6"]
- network String
- The name of the GCE VPC network to which the instance is connected.
- pscConfigs List<GetInstance Network Psc Config> 
- Private Service Connect configuration. Should only be set when connect_mode is PRIVATE_SERVICE_CONNECT.
- reservedIp StringRange 
- A /29 CIDR block that identifies the range of IP addresses reserved for this instance.
- connectMode 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", "PRIVATE_SERVICE_CONNECT"]
- ipAddresses string[]
- A list of IPv4 or IPv6 addresses.
- modes string[]
- IP versions for which the instance has IP addresses assigned. Possible values: ["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4", "MODE_IPV6"]
- network string
- The name of the GCE VPC network to which the instance is connected.
- pscConfigs GetInstance Network Psc Config[] 
- Private Service Connect configuration. Should only be set when connect_mode is PRIVATE_SERVICE_CONNECT.
- reservedIp stringRange 
- A /29 CIDR block that identifies the range of IP addresses reserved for this instance.
- connect_mode 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", "PRIVATE_SERVICE_CONNECT"]
- ip_addresses Sequence[str]
- A list of IPv4 or IPv6 addresses.
- modes Sequence[str]
- IP versions for which the instance has IP addresses assigned. Possible values: ["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4", "MODE_IPV6"]
- network str
- The name of the GCE VPC network to which the instance is connected.
- psc_configs Sequence[GetInstance Network Psc Config] 
- Private Service Connect configuration. Should only be set when connect_mode is PRIVATE_SERVICE_CONNECT.
- reserved_ip_ strrange 
- A /29 CIDR block that identifies the range of IP addresses reserved for this instance.
- connectMode 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", "PRIVATE_SERVICE_CONNECT"]
- ipAddresses List<String>
- A list of IPv4 or IPv6 addresses.
- modes List<String>
- IP versions for which the instance has IP addresses assigned. Possible values: ["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4", "MODE_IPV6"]
- network String
- The name of the GCE VPC network to which the instance is connected.
- pscConfigs List<Property Map>
- Private Service Connect configuration. Should only be set when connect_mode is PRIVATE_SERVICE_CONNECT.
- reservedIp StringRange 
- A /29 CIDR block that identifies the range of IP addresses reserved for this instance.
GetInstanceNetworkPscConfig    
- EndpointProject string
- Consumer service project in which the Private Service Connect endpoint would be set up. This is optional, and only relevant in case the network is a shared VPC. If this is not specified, the endpoint would be set up in the VPC host project.
- EndpointProject string
- Consumer service project in which the Private Service Connect endpoint would be set up. This is optional, and only relevant in case the network is a shared VPC. If this is not specified, the endpoint would be set up in the VPC host project.
- endpointProject String
- Consumer service project in which the Private Service Connect endpoint would be set up. This is optional, and only relevant in case the network is a shared VPC. If this is not specified, the endpoint would be set up in the VPC host project.
- endpointProject string
- Consumer service project in which the Private Service Connect endpoint would be set up. This is optional, and only relevant in case the network is a shared VPC. If this is not specified, the endpoint would be set up in the VPC host project.
- endpoint_project str
- Consumer service project in which the Private Service Connect endpoint would be set up. This is optional, and only relevant in case the network is a shared VPC. If this is not specified, the endpoint would be set up in the VPC host project.
- endpointProject String
- Consumer service project in which the Private Service Connect endpoint would be set up. This is optional, and only relevant in case the network is a shared VPC. If this is not specified, the endpoint would be set up in the VPC host project.
GetInstancePerformanceConfig   
- FixedIops List<GetInstance Performance Config Fixed Iop> 
- The instance will have a fixed provisioned IOPS value, which will remain constant regardless of instance capacity.
- IopsPer List<GetTbs Instance Performance Config Iops Per Tb> 
- The instance provisioned IOPS will change dynamically based on the capacity of the instance.
- FixedIops []GetInstance Performance Config Fixed Iop 
- The instance will have a fixed provisioned IOPS value, which will remain constant regardless of instance capacity.
- IopsPer []GetTbs Instance Performance Config Iops Per Tb 
- The instance provisioned IOPS will change dynamically based on the capacity of the instance.
- fixedIops List<GetInstance Performance Config Fixed Iop> 
- The instance will have a fixed provisioned IOPS value, which will remain constant regardless of instance capacity.
- iopsPer List<GetTbs Instance Performance Config Iops Per Tb> 
- The instance provisioned IOPS will change dynamically based on the capacity of the instance.
- fixedIops GetInstance Performance Config Fixed Iop[] 
- The instance will have a fixed provisioned IOPS value, which will remain constant regardless of instance capacity.
- iopsPer GetTbs Instance Performance Config Iops Per Tb[] 
- The instance provisioned IOPS will change dynamically based on the capacity of the instance.
- fixed_iops Sequence[GetInstance Performance Config Fixed Iop] 
- The instance will have a fixed provisioned IOPS value, which will remain constant regardless of instance capacity.
- iops_per_ Sequence[Gettbs Instance Performance Config Iops Per Tb] 
- The instance provisioned IOPS will change dynamically based on the capacity of the instance.
- fixedIops List<Property Map>
- The instance will have a fixed provisioned IOPS value, which will remain constant regardless of instance capacity.
- iopsPer List<Property Map>Tbs 
- The instance provisioned IOPS will change dynamically based on the capacity of the instance.
GetInstancePerformanceConfigFixedIop     
- MaxIops int
- The number of IOPS to provision for the instance. max_iops must be in multiple of 1000.
- MaxIops int
- The number of IOPS to provision for the instance. max_iops must be in multiple of 1000.
- maxIops Integer
- The number of IOPS to provision for the instance. max_iops must be in multiple of 1000.
- maxIops number
- The number of IOPS to provision for the instance. max_iops must be in multiple of 1000.
- max_iops int
- The number of IOPS to provision for the instance. max_iops must be in multiple of 1000.
- maxIops Number
- The number of IOPS to provision for the instance. max_iops must be in multiple of 1000.
GetInstancePerformanceConfigIopsPerTb      
- MaxIops intPer Tb 
- 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.
- MaxIops intPer Tb 
- 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.
- maxIops IntegerPer Tb 
- 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.
- maxIops numberPer Tb 
- 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_ intper_ tb 
- 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.
- maxIops NumberPer Tb 
- 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-betaTerraform Provider.
