Google Cloud v8.23.0 published on Monday, Mar 24, 2025 by Pulumi
gcp.filestore.getInstance
Explore with Pulumi AI
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/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
})
}
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.applyValue(getInstanceResult -> getInstanceResult.networks().ipAddresses()));
ctx.export("instanceConnectMode", myInstance.applyValue(getInstanceResult -> getInstanceResult.networks().connectMode()));
ctx.export("instanceFileShareName", myInstance.applyValue(getInstanceResult -> getInstanceResult.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 dictionary
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:
- Create
Time string - Deletion
Protection boolEnabled - Deletion
Protection stringReason - Description string
- Effective
Labels Dictionary<string, string> - Effective
Replications List<GetInstance Effective Replication> - Etag string
- List<Get
Instance File Share> - Id string
- The provider-assigned unique ID for this managed resource.
- Initial
Replications List<GetInstance Initial Replication> - Kms
Key stringName - Labels Dictionary<string, string>
- Name string
- Networks
List<Get
Instance Network> - Performance
Configs List<GetInstance Performance Config> - Protocol string
- Pulumi
Labels Dictionary<string, string> - Dictionary<string, string>
- Tier string
- Zone string
- Location string
- Project string
- Create
Time string - Deletion
Protection boolEnabled - Deletion
Protection stringReason - Description string
- Effective
Labels map[string]string - Effective
Replications []GetInstance Effective Replication - Etag string
- []Get
Instance File Share - Id string
- The provider-assigned unique ID for this managed resource.
- Initial
Replications []GetInstance Initial Replication - Kms
Key stringName - Labels map[string]string
- Name string
- Networks
[]Get
Instance Network - Performance
Configs []GetInstance Performance Config - Protocol string
- Pulumi
Labels map[string]string - map[string]string
- Tier string
- Zone string
- Location string
- Project string
- create
Time String - deletion
Protection BooleanEnabled - deletion
Protection StringReason - description String
- effective
Labels Map<String,String> - effective
Replications List<GetInstance Effective Replication> - etag String
- List<Get
Instance File Share> - id String
- The provider-assigned unique ID for this managed resource.
- initial
Replications List<GetInstance Initial Replication> - kms
Key StringName - labels Map<String,String>
- name String
- networks
List<Get
Instance Network> - performance
Configs List<GetInstance Performance Config> - protocol String
- pulumi
Labels Map<String,String> - Map<String,String>
- tier String
- zone String
- location String
- project String
- create
Time string - deletion
Protection booleanEnabled - deletion
Protection stringReason - description string
- effective
Labels {[key: string]: string} - effective
Replications GetInstance Effective Replication[] - etag string
- Get
Instance File Share[] - id string
- The provider-assigned unique ID for this managed resource.
- initial
Replications GetInstance Initial Replication[] - kms
Key stringName - labels {[key: string]: string}
- name string
- networks
Get
Instance Network[] - performance
Configs GetInstance Performance Config[] - protocol string
- pulumi
Labels {[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
- effective_
labels Mapping[str, str] - effective_
replications Sequence[GetInstance Effective Replication] - etag str
- Sequence[Get
Instance 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[Get
Instance 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
- create
Time String - deletion
Protection BooleanEnabled - deletion
Protection StringReason - description String
- effective
Labels Map<String> - effective
Replications List<Property Map> - etag String
- List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- initial
Replications List<Property Map> - kms
Key StringName - labels Map<String>
- name String
- networks List<Property Map>
- performance
Configs List<Property Map> - protocol String
- pulumi
Labels Map<String> - Map<String>
- tier String
- zone String
- location String
- project String
Supporting Types
GetInstanceEffectiveReplication
- Replicas
This property is required. List<GetInstance Effective Replication Replica> - The replication role.
- Replicas
This property is required. []GetInstance Effective Replication Replica - The replication role.
- replicas
This property is required. List<GetInstance Effective Replication Replica> - The replication role.
- replicas
This property is required. GetInstance Effective Replication Replica[] - The replication role.
- replicas
This property is required. Sequence[GetInstance Effective Replication Replica] - The replication role.
- replicas
This property is required. List<Property Map> - The replication role.
GetInstanceEffectiveReplicationReplica
- Last
Active Sync Time 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
- State
Reasons This property is required. List<string> - Output only. Additional information about the replication state, if available.
- Last
Active Sync Time 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
- State
Reasons This property is required. []string - Output only. Additional information about the replication state, if available.
- last
Active Sync Time 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
- state
Reasons This property is required. List<String> - Output only. Additional information about the replication state, if available.
- last
Active Sync Time 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
- state
Reasons 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.
- last
Active Sync Time 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
- state
Reasons This property is required. List<String> - Output only. Additional information about the replication state, if available.
GetInstanceFileShare
- 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. string - The name of a Filestore instance.
- Nfs
Export Options This property is required. List<GetInstance File Share Nfs Export Option> - Nfs Export Options. There is a limit of 10 export options per file share.
- Source
Backup 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. string - The name of a Filestore instance.
- Nfs
Export Options This property is required. []GetInstance File Share Nfs Export Option - Nfs Export Options. There is a limit of 10 export options per file share.
- Source
Backup 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. 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.
- nfs
Export Options This property is required. List<GetInstance File Share Nfs Export Option> - Nfs Export Options. There is a limit of 10 export options per file share.
- source
Backup 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. 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.
- nfs
Export Options This property is required. GetInstance File Share Nfs Export Option[] - Nfs Export Options. There is a limit of 10 export options per file share.
- source
Backup 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[GetInstance File Share Nfs Export Option] - 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.
- capacity
Gb 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.
- nfs
Export Options This property is required. List<Property Map> - Nfs Export Options. There is a limit of 10 export options per file share.
- source
Backup 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
- Access
Mode 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"]
- 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. 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.
- Squash
Mode 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. 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"]
- 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. []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.
- Squash
Mode 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. 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"]
- anon
Gid 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.
- anon
Uid 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.
- ip
Ranges 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.
- squash
Mode 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. 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"]
- anon
Gid 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.
- anon
Uid 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.
- ip
Ranges 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.
- squash
Mode 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"]
- access
Mode 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"]
- anon
Gid 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.
- anon
Uid 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.
- ip
Ranges 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.
- squash
Mode 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<GetInstance Initial Replication Replica> - 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. []GetInstance Initial Replication Replica - 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<GetInstance Initial Replication Replica> - 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. GetInstance Initial Replication Replica[] - 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[GetInstance Initial Replication Replica] - 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
- Peer
Instance This property is required. string - The peer instance.
- Peer
Instance This property is required. string - The peer instance.
- peer
Instance This property is required. String - The peer instance.
- peer
Instance This property is required. string - The peer instance.
- peer_
instance This property is required. str - The peer instance.
- peer
Instance This property is required. String - The peer instance.
GetInstanceNetwork
- Connect
Mode 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"]
- Ip
Addresses 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.
- Reserved
Ip Range 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. 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"]
- Ip
Addresses 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.
- Reserved
Ip Range 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. 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"]
- ip
Addresses 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.
- reserved
Ip Range 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. 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"]
- ip
Addresses 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.
- reserved
Ip Range 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.
- connect
Mode 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"]
- ip
Addresses 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.
- reserved
Ip Range This property is required. String - A /29 CIDR block that identifies the range of IP addresses reserved for this instance.
GetInstancePerformanceConfig
- Fixed
Iops This property is required. List<GetInstance Performance Config Fixed Iop> - The instance will have a fixed provisioned IOPS value, which will remain constant regardless of instance capacity.
- Iops
Per Tbs This property is required. List<GetInstance Performance Config Iops Per Tb> - The instance provisioned IOPS will change dynamically based on the capacity of the instance.
- Fixed
Iops This property is required. []GetInstance Performance Config Fixed Iop - The instance will have a fixed provisioned IOPS value, which will remain constant regardless of instance capacity.
- Iops
Per Tbs This property is required. []GetInstance Performance Config Iops Per Tb - The instance provisioned IOPS will change dynamically based on the capacity of the instance.
- fixed
Iops This property is required. List<GetInstance Performance Config Fixed Iop> - The instance will have a fixed provisioned IOPS value, which will remain constant regardless of instance capacity.
- iops
Per Tbs This property is required. List<GetInstance Performance Config Iops Per Tb> - The instance provisioned IOPS will change dynamically based on the capacity of the instance.
- fixed
Iops This property is required. GetInstance Performance Config Fixed Iop[] - The instance will have a fixed provisioned IOPS value, which will remain constant regardless of instance capacity.
- iops
Per Tbs This property is required. GetInstance Performance Config Iops Per Tb[] - The instance provisioned IOPS will change dynamically based on the capacity of the instance.
- fixed_
iops This property is required. 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_ tbs This property is required. Sequence[GetInstance Performance Config Iops Per Tb] - The instance provisioned IOPS will change dynamically based on the capacity of the instance.
- fixed
Iops This property is required. List<Property Map> - The instance will have a fixed provisioned IOPS value, which will remain constant regardless of instance capacity.
- iops
Per Tbs This property is required. List<Property Map> - The instance provisioned IOPS will change dynamically based on the capacity of the instance.
GetInstancePerformanceConfigFixedIop
- Max
Iops This property is required. int - 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.
- max
Iops This property is required. Integer - The number of IOPS to provision for the instance. max_iops must be in multiple of 1000.
- max
Iops 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.
- max
Iops This property is required. Number - The number of IOPS to provision for the instance. max_iops must be in multiple of 1000.
GetInstancePerformanceConfigIopsPerTb
- 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.
- 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.
- max
Iops Per Tb 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.
- max
Iops Per Tb 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.
- max
Iops Per Tb 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.