google-native.apigeeregistry/v1.getInstance
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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
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