Viewing docs for Google Cloud v9.14.0
published on Tuesday, Mar 3, 2026 by Pulumi
published on Tuesday, Mar 3, 2026 by Pulumi
Viewing docs for Google Cloud v9.14.0
published on Tuesday, Mar 3, 2026 by Pulumi
published on Tuesday, Mar 3, 2026 by Pulumi
Use this data source to get information about a Lustre instance. For more information see the API docs.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
variables:
instance:
fn::invoke:
function: gcp:lustre:getInstance
arguments:
name: my-instance
zone: us-central1-a
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(instance_id: Optional[str] = None,
project: Optional[str] = None,
zone: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceResult
def get_instance_output(instance_id: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
zone: 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:lustre/getInstance:getInstance
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Id string - The instance id of the Lustre instance.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Zone string
- The ID of the zone in which the resource belongs. If it is not provided, the provider zone is used.
- Instance
Id string - The instance id of the Lustre instance.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Zone string
- The ID of the zone in which the resource belongs. If it is not provided, the provider zone is used.
- instance
Id String - The instance id of the Lustre instance.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- zone String
- The ID of the zone in which the resource belongs. If it is not provided, the provider zone is used.
- instance
Id string - The instance id of the Lustre instance.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- zone string
- The ID of the zone in which the resource belongs. If it is not provided, the provider zone is used.
- instance_
id str - The instance id of the Lustre instance.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- zone str
- The ID of the zone in which the resource belongs. If it is not provided, the provider zone is used.
- instance
Id String - The instance id of the Lustre instance.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- zone String
- The ID of the zone in which the resource belongs. If it is not provided, the provider zone is used.
getInstance Result
The following output properties are available:
- Access
Rules List<GetOptions Instance Access Rules Option> - Capacity
Gib string - Create
Time string - Description string
- Effective
Labels Dictionary<string, string> - Filesystem string
- Gke
Support boolEnabled - Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Kms
Key string - Labels Dictionary<string, string>
- Location string
- Mount
Point string - Name string
- Network string
- Per
Unit stringStorage Throughput - Placement
Policy string - Pulumi
Labels Dictionary<string, string> - State string
- State
Reason string - Update
Time string - Project string
- Zone string
- Access
Rules []GetOptions Instance Access Rules Option - Capacity
Gib string - Create
Time string - Description string
- Effective
Labels map[string]string - Filesystem string
- Gke
Support boolEnabled - Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Kms
Key string - Labels map[string]string
- Location string
- Mount
Point string - Name string
- Network string
- Per
Unit stringStorage Throughput - Placement
Policy string - Pulumi
Labels map[string]string - State string
- State
Reason string - Update
Time string - Project string
- Zone string
- access
Rules List<GetOptions Instance Access Rules Option> - capacity
Gib String - create
Time String - description String
- effective
Labels Map<String,String> - filesystem String
- gke
Support BooleanEnabled - id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - kms
Key String - labels Map<String,String>
- location String
- mount
Point String - name String
- network String
- per
Unit StringStorage Throughput - placement
Policy String - pulumi
Labels Map<String,String> - state String
- state
Reason String - update
Time String - project String
- zone String
- access
Rules GetOptions Instance Access Rules Option[] - capacity
Gib string - create
Time string - description string
- effective
Labels {[key: string]: string} - filesystem string
- gke
Support booleanEnabled - id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - kms
Key string - labels {[key: string]: string}
- location string
- mount
Point string - name string
- network string
- per
Unit stringStorage Throughput - placement
Policy string - pulumi
Labels {[key: string]: string} - state string
- state
Reason string - update
Time string - project string
- zone string
- access_
rules_ Sequence[Getoptions Instance Access Rules Option] - capacity_
gib str - create_
time str - description str
- effective_
labels Mapping[str, str] - filesystem str
- gke_
support_ boolenabled - id str
- The provider-assigned unique ID for this managed resource.
- instance_
id str - kms_
key str - labels Mapping[str, str]
- location str
- mount_
point str - name str
- network str
- per_
unit_ strstorage_ throughput - placement_
policy str - pulumi_
labels Mapping[str, str] - state str
- state_
reason str - update_
time str - project str
- zone str
- access
Rules List<Property Map>Options - capacity
Gib String - create
Time String - description String
- effective
Labels Map<String> - filesystem String
- gke
Support BooleanEnabled - id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - kms
Key String - labels Map<String>
- location String
- mount
Point String - name String
- network String
- per
Unit StringStorage Throughput - placement
Policy String - pulumi
Labels Map<String> - state String
- state
Reason String - update
Time String - project String
- zone String
Supporting Types
GetInstanceAccessRulesOption
- Access
Rules List<GetInstance Access Rules Option Access Rule> - An array of access rule exceptions. Each rule defines IP address ranges that should have different squash behavior than the default.
- Default
Squash intGid - The GID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
- Default
Squash stringMode - Set to "ROOT_SQUASH" to enable root squashing by default. Other values include "NO_SQUASH". Possible values: ["ROOT_SQUASH", "NO_SQUASH"]
- Default
Squash intUid - The UID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
- Access
Rules []GetInstance Access Rules Option Access Rule - An array of access rule exceptions. Each rule defines IP address ranges that should have different squash behavior than the default.
- Default
Squash intGid - The GID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
- Default
Squash stringMode - Set to "ROOT_SQUASH" to enable root squashing by default. Other values include "NO_SQUASH". Possible values: ["ROOT_SQUASH", "NO_SQUASH"]
- Default
Squash intUid - The UID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
- access
Rules List<GetInstance Access Rules Option Access Rule> - An array of access rule exceptions. Each rule defines IP address ranges that should have different squash behavior than the default.
- default
Squash IntegerGid - The GID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
- default
Squash StringMode - Set to "ROOT_SQUASH" to enable root squashing by default. Other values include "NO_SQUASH". Possible values: ["ROOT_SQUASH", "NO_SQUASH"]
- default
Squash IntegerUid - The UID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
- access
Rules GetInstance Access Rules Option Access Rule[] - An array of access rule exceptions. Each rule defines IP address ranges that should have different squash behavior than the default.
- default
Squash numberGid - The GID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
- default
Squash stringMode - Set to "ROOT_SQUASH" to enable root squashing by default. Other values include "NO_SQUASH". Possible values: ["ROOT_SQUASH", "NO_SQUASH"]
- default
Squash numberUid - The UID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
- access_
rules Sequence[GetInstance Access Rules Option Access Rule] - An array of access rule exceptions. Each rule defines IP address ranges that should have different squash behavior than the default.
- default_
squash_ intgid - The GID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
- default_
squash_ strmode - Set to "ROOT_SQUASH" to enable root squashing by default. Other values include "NO_SQUASH". Possible values: ["ROOT_SQUASH", "NO_SQUASH"]
- default_
squash_ intuid - The UID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
- access
Rules List<Property Map> - An array of access rule exceptions. Each rule defines IP address ranges that should have different squash behavior than the default.
- default
Squash NumberGid - The GID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
- default
Squash StringMode - Set to "ROOT_SQUASH" to enable root squashing by default. Other values include "NO_SQUASH". Possible values: ["ROOT_SQUASH", "NO_SQUASH"]
- default
Squash NumberUid - The UID to map the root user to when root squashing is enabled (e.g., 65534 for nobody).
GetInstanceAccessRulesOptionAccessRule
- Ip
Address List<string>Ranges - An array of IP address strings or CIDR ranges that this rule applies to.
- Name string
- A unique identifier for the access rule.
- Squash
Mode string - The squash mode for this specific rule. Currently, only "NO_SQUASH" is supported for exceptions. Possible values: ["NO_SQUASH"]
- Ip
Address []stringRanges - An array of IP address strings or CIDR ranges that this rule applies to.
- Name string
- A unique identifier for the access rule.
- Squash
Mode string - The squash mode for this specific rule. Currently, only "NO_SQUASH" is supported for exceptions. Possible values: ["NO_SQUASH"]
- ip
Address List<String>Ranges - An array of IP address strings or CIDR ranges that this rule applies to.
- name String
- A unique identifier for the access rule.
- squash
Mode String - The squash mode for this specific rule. Currently, only "NO_SQUASH" is supported for exceptions. Possible values: ["NO_SQUASH"]
- ip
Address string[]Ranges - An array of IP address strings or CIDR ranges that this rule applies to.
- name string
- A unique identifier for the access rule.
- squash
Mode string - The squash mode for this specific rule. Currently, only "NO_SQUASH" is supported for exceptions. Possible values: ["NO_SQUASH"]
- ip_
address_ Sequence[str]ranges - An array of IP address strings or CIDR ranges that this rule applies to.
- name str
- A unique identifier for the access rule.
- squash_
mode str - The squash mode for this specific rule. Currently, only "NO_SQUASH" is supported for exceptions. Possible values: ["NO_SQUASH"]
- ip
Address List<String>Ranges - An array of IP address strings or CIDR ranges that this rule applies to.
- name String
- A unique identifier for the access rule.
- squash
Mode String - The squash mode for this specific rule. Currently, only "NO_SQUASH" is supported for exceptions. Possible values: ["NO_SQUASH"]
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.
Viewing docs for Google Cloud v9.14.0
published on Tuesday, Mar 3, 2026 by Pulumi
published on Tuesday, Mar 3, 2026 by Pulumi
