get Instance
Get info about a Google Cloud Filestore instance.
Example Usage
data "google_filestore_instance" "my_instance" {
name = "my-filestore-instance"
}
output "instance_ip_addresses" {
value = data.google_filestore_instance.my_instance.networks.ip_addresses
}
output "instance_connect_mode" {
value = data.google_filestore_instance.my_instance.networks.connect_mode
}
output "instance_file_share_name" {
value = data.google_filestore_instance.my_instance.file_shares.name
}
Content copied to clipboard
Return
A collection of values returned by getInstance.
Parameters
argument
A collection of arguments for invoking getInstance.
suspend fun getInstance(location: String? = null, name: String, project: String? = null): GetInstanceResult
Return
A collection of values returned by getInstance.
Parameters
location
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.
name
The name of a Filestore instance.
project
The project in which the resource belongs. If it is not provided, the provider project is used.
See also
suspend fun getInstance(argument: suspend GetInstancePlainArgsBuilder.() -> Unit): GetInstanceResult
Return
A collection of values returned by getInstance.
Parameters
argument
Builder for com.pulumi.gcp.filestore.kotlin.inputs.GetInstancePlainArgs.