Google Cloud v8.33.0 published on Wednesday, Jun 4, 2025 by Pulumi
gcp.lustre.getInstance
Explore with Pulumi AI
Use this data source to get information about a Lustre instance. For more information see the API docs.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
variables:
instance:
fn::invoke:
function: gcp:lustre:getInstance
arguments:
name: my-instance
location: us-central1
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 dictionary
The 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:
- 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 - Labels Dictionary<string, string>
- Location string
- Mount
Point string - Name string
- Network string
- Pulumi
Labels Dictionary<string, string> - State string
- Update
Time string - Project string
- Zone string
- 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 - Labels map[string]string
- Location string
- Mount
Point string - Name string
- Network string
- Pulumi
Labels map[string]string - State string
- Update
Time string - Project string
- Zone string
- 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 - labels Map<String,String>
- location String
- mount
Point String - name String
- network String
- pulumi
Labels Map<String,String> - state String
- update
Time String - project String
- zone String
- 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 - labels {[key: string]: string}
- location string
- mount
Point string - name string
- network string
- pulumi
Labels {[key: string]: string} - state string
- update
Time string - project string
- zone string
- 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 - labels Mapping[str, str]
- location str
- mount_
point str - name str
- network str
- pulumi_
labels Mapping[str, str] - state str
- update_
time str - project str
- zone str
- 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 - labels Map<String>
- location String
- mount
Point String - name String
- network String
- pulumi
Labels Map<String> - state String
- update
Time String - project String
- zone String
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.