Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.apigeeregistry/v1.getInstance
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets details of a single Instance.
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,
                 location: Optional[str] = None,
                 project: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetInstanceResult
def get_instance_output(instance_id: Optional[pulumi.Input[str]] = None,
                 location: 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: google-native:apigeeregistry/v1:getInstance
  arguments:
    # arguments dictionaryThe following arguments are supported:
- InstanceId string
- Location string
- Project string
- InstanceId string
- Location string
- Project string
- instanceId String
- location String
- project String
- instanceId string
- location string
- project string
- instance_id str
- location str
- project str
- instanceId String
- location String
- project String
getInstance Result
The following output properties are available:
- Build
Pulumi.Google Native. Apigee Registry. V1. Outputs. Build Response 
- Build info of the Instance if it's in ACTIVEstate.
- Config
Pulumi.Google Native. Apigee Registry. V1. Outputs. Config Response 
- Config of the Instance.
- CreateTime string
- Creation timestamp.
- Name string
- Format: projects/*/locations/*/instance. Currently onlylocations/globalis supported.
- State string
- The current state of the Instance.
- StateMessage string
- Extra information of Instance.State if the state is FAILED.
- UpdateTime string
- Last update timestamp.
- Build
BuildResponse 
- Build info of the Instance if it's in ACTIVEstate.
- Config
ConfigResponse 
- Config of the Instance.
- CreateTime string
- Creation timestamp.
- Name string
- Format: projects/*/locations/*/instance. Currently onlylocations/globalis supported.
- State string
- The current state of the Instance.
- StateMessage string
- Extra information of Instance.State if the state is FAILED.
- UpdateTime string
- Last update timestamp.
- build
BuildResponse 
- Build info of the Instance if it's in ACTIVEstate.
- config
ConfigResponse 
- Config of the Instance.
- createTime String
- Creation timestamp.
- name String
- Format: projects/*/locations/*/instance. Currently onlylocations/globalis supported.
- state String
- The current state of the Instance.
- stateMessage String
- Extra information of Instance.State if the state is FAILED.
- updateTime String
- Last update timestamp.
- build
BuildResponse 
- Build info of the Instance if it's in ACTIVEstate.
- config
ConfigResponse 
- Config of the Instance.
- createTime string
- Creation timestamp.
- name string
- Format: projects/*/locations/*/instance. Currently onlylocations/globalis supported.
- state string
- The current state of the Instance.
- stateMessage string
- Extra information of Instance.State if the state is FAILED.
- updateTime string
- Last update timestamp.
- build
BuildResponse 
- Build info of the Instance if it's in ACTIVEstate.
- config
ConfigResponse 
- Config of the Instance.
- create_time str
- Creation timestamp.
- name str
- Format: projects/*/locations/*/instance. Currently onlylocations/globalis supported.
- state str
- The current state of the Instance.
- state_message str
- Extra information of Instance.State if the state is FAILED.
- update_time str
- Last update timestamp.
- build Property Map
- Build info of the Instance if it's in ACTIVEstate.
- config Property Map
- Config of the Instance.
- createTime String
- Creation timestamp.
- name String
- Format: projects/*/locations/*/instance. Currently onlylocations/globalis supported.
- state String
- The current state of the Instance.
- stateMessage String
- Extra information of Instance.State if the state is FAILED.
- updateTime String
- Last update timestamp.
Supporting Types
BuildResponse 
- CommitId string
- Commit ID of the latest commit in the build.
- CommitTime string
- Commit time of the latest commit in the build.
- Repo string
- Path of the open source repository: github.com/apigee/registry.
- CommitId string
- Commit ID of the latest commit in the build.
- CommitTime string
- Commit time of the latest commit in the build.
- Repo string
- Path of the open source repository: github.com/apigee/registry.
- commitId String
- Commit ID of the latest commit in the build.
- commitTime String
- Commit time of the latest commit in the build.
- repo String
- Path of the open source repository: github.com/apigee/registry.
- commitId string
- Commit ID of the latest commit in the build.
- commitTime string
- Commit time of the latest commit in the build.
- repo string
- Path of the open source repository: github.com/apigee/registry.
- commit_id str
- Commit ID of the latest commit in the build.
- commit_time str
- Commit time of the latest commit in the build.
- repo str
- Path of the open source repository: github.com/apigee/registry.
- commitId String
- Commit ID of the latest commit in the build.
- commitTime String
- Commit time of the latest commit in the build.
- repo String
- Path of the open source repository: github.com/apigee/registry.
ConfigResponse 
- CmekKey stringName 
- The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where thelocationmust match InstanceConfig.location.
- Location string
- The GCP location where the Instance resides.
- CmekKey stringName 
- The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where thelocationmust match InstanceConfig.location.
- Location string
- The GCP location where the Instance resides.
- cmekKey StringName 
- The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where thelocationmust match InstanceConfig.location.
- location String
- The GCP location where the Instance resides.
- cmekKey stringName 
- The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where thelocationmust match InstanceConfig.location.
- location string
- The GCP location where the Instance resides.
- cmek_key_ strname 
- The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where thelocationmust match InstanceConfig.location.
- location str
- The GCP location where the Instance resides.
- cmekKey StringName 
- The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where thelocationmust match InstanceConfig.location.
- location String
- The GCP location where the Instance resides.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi