1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. lustre
  5. getInstance
Google Cloud v8.33.0 published on Wednesday, Jun 4, 2025 by Pulumi

gcp.lustre.getInstance

Explore with Pulumi AI

gcp logo
Google Cloud v8.33.0 published on Wednesday, Jun 4, 2025 by Pulumi

    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:

    InstanceId 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.
    InstanceId 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.
    instanceId 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.
    instanceId 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.
    instanceId 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:

    CapacityGib string
    CreateTime string
    Description string
    EffectiveLabels Dictionary<string, string>
    Filesystem string
    GkeSupportEnabled bool
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    Labels Dictionary<string, string>
    Location string
    MountPoint string
    Name string
    Network string
    PulumiLabels Dictionary<string, string>
    State string
    UpdateTime string
    Project string
    Zone string
    CapacityGib string
    CreateTime string
    Description string
    EffectiveLabels map[string]string
    Filesystem string
    GkeSupportEnabled bool
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    Labels map[string]string
    Location string
    MountPoint string
    Name string
    Network string
    PulumiLabels map[string]string
    State string
    UpdateTime string
    Project string
    Zone string
    capacityGib String
    createTime String
    description String
    effectiveLabels Map<String,String>
    filesystem String
    gkeSupportEnabled Boolean
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    labels Map<String,String>
    location String
    mountPoint String
    name String
    network String
    pulumiLabels Map<String,String>
    state String
    updateTime String
    project String
    zone String
    capacityGib string
    createTime string
    description string
    effectiveLabels {[key: string]: string}
    filesystem string
    gkeSupportEnabled boolean
    id string
    The provider-assigned unique ID for this managed resource.
    instanceId string
    labels {[key: string]: string}
    location string
    mountPoint string
    name string
    network string
    pulumiLabels {[key: string]: string}
    state string
    updateTime string
    project string
    zone string
    capacity_gib str
    create_time str
    description str
    effective_labels Mapping[str, str]
    filesystem str
    gke_support_enabled bool
    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
    capacityGib String
    createTime String
    description String
    effectiveLabels Map<String>
    filesystem String
    gkeSupportEnabled Boolean
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    labels Map<String>
    location String
    mountPoint String
    name String
    network String
    pulumiLabels Map<String>
    state String
    updateTime 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.
    gcp logo
    Google Cloud v8.33.0 published on Wednesday, Jun 4, 2025 by Pulumi