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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:apigeeregistry/v1:getInstance
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Id string - Location string
- Project string
- Instance
Id string - Location string
- Project string
- instance
Id String - location String
- project String
- instance
Id string - location string
- project string
- instance_
id str - location str
- project str
- instance
Id 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
ACTIVE
state. - Config
Pulumi.
Google Native. Apigee Registry. V1. Outputs. Config Response - Config of the Instance.
- Create
Time string - Creation timestamp.
- Name string
- Format:
projects/*/locations/*/instance
. Currently onlylocations/global
is supported. - State string
- The current state of the Instance.
- State
Message string - Extra information of Instance.State if the state is
FAILED
. - Update
Time string - Last update timestamp.
- Build
Build
Response - Build info of the Instance if it's in
ACTIVE
state. - Config
Config
Response - Config of the Instance.
- Create
Time string - Creation timestamp.
- Name string
- Format:
projects/*/locations/*/instance
. Currently onlylocations/global
is supported. - State string
- The current state of the Instance.
- State
Message string - Extra information of Instance.State if the state is
FAILED
. - Update
Time string - Last update timestamp.
- build
Build
Response - Build info of the Instance if it's in
ACTIVE
state. - config
Config
Response - Config of the Instance.
- create
Time String - Creation timestamp.
- name String
- Format:
projects/*/locations/*/instance
. Currently onlylocations/global
is supported. - state String
- The current state of the Instance.
- state
Message String - Extra information of Instance.State if the state is
FAILED
. - update
Time String - Last update timestamp.
- build
Build
Response - Build info of the Instance if it's in
ACTIVE
state. - config
Config
Response - Config of the Instance.
- create
Time string - Creation timestamp.
- name string
- Format:
projects/*/locations/*/instance
. Currently onlylocations/global
is supported. - state string
- The current state of the Instance.
- state
Message string - Extra information of Instance.State if the state is
FAILED
. - update
Time string - Last update timestamp.
- build
Build
Response - Build info of the Instance if it's in
ACTIVE
state. - config
Config
Response - Config of the Instance.
- create_
time str - Creation timestamp.
- name str
- Format:
projects/*/locations/*/instance
. Currently onlylocations/global
is 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
ACTIVE
state. - config Property Map
- Config of the Instance.
- create
Time String - Creation timestamp.
- name String
- Format:
projects/*/locations/*/instance
. Currently onlylocations/global
is supported. - state String
- The current state of the Instance.
- state
Message String - Extra information of Instance.State if the state is
FAILED
. - update
Time String - Last update timestamp.
Supporting Types
BuildResponse
- Commit
Id string - Commit ID of the latest commit in the build.
- Commit
Time string - Commit time of the latest commit in the build.
- Repo string
- Path of the open source repository: github.com/apigee/registry.
- Commit
Id string - Commit ID of the latest commit in the build.
- Commit
Time string - Commit time of the latest commit in the build.
- Repo string
- Path of the open source repository: github.com/apigee/registry.
- commit
Id String - Commit ID of the latest commit in the build.
- commit
Time String - Commit time of the latest commit in the build.
- repo String
- Path of the open source repository: github.com/apigee/registry.
- commit
Id string - Commit ID of the latest commit in the build.
- commit
Time 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.
- commit
Id String - Commit ID of the latest commit in the build.
- commit
Time String - Commit time of the latest commit in the build.
- repo String
- Path of the open source repository: github.com/apigee/registry.
ConfigResponse
- Cmek
Key stringName - The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
, where thelocation
must match InstanceConfig.location. - Location string
- The GCP location where the Instance resides.
- Cmek
Key stringName - The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
, where thelocation
must match InstanceConfig.location. - Location string
- The GCP location where the Instance resides.
- cmek
Key StringName - The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
, where thelocation
must match InstanceConfig.location. - location String
- The GCP location where the Instance resides.
- cmek
Key stringName - The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
, where thelocation
must 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 thelocation
must match InstanceConfig.location. - location str
- The GCP location where the Instance resides.
- cmek
Key StringName - The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)
, where thelocation
must 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