GetInstance

Get information about a Google Cloud Redis instance. For more information see the official documentation and API.

Using GetInstance

function getInstance(args: GetInstanceArgs, opts?: InvokeOptions): Promise<GetInstanceResult>
function  get_instance(name=None, project=None, region=None, opts=None)
func LookupInstance(ctx *Context, args *LookupInstanceArgs, opts ...InvokeOption) (*LookupInstanceResult, error)

Note: This function is named LookupInstance in the Go SDK.

public static class GetInstance {
    public static Task<GetInstanceResult> InvokeAsync(GetInstanceArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Name string

The name of a Redis instance.

Project string

The project in which the resource belongs. If it is not provided, the provider project is used.

Region string

The region in which the resource belongs. If it is not provided, the provider region is used.

Name string

The name of a Redis instance.

Project string

The project in which the resource belongs. If it is not provided, the provider project is used.

Region string

The region in which the resource belongs. If it is not provided, the provider region is used.

name string

The name of a Redis instance.

project string

The project in which the resource belongs. If it is not provided, the provider project is used.

region string

The region in which the resource belongs. If it is not provided, the provider region is used.

name str

The name of a Redis instance.

project str

The project in which the resource belongs. If it is not provided, the provider project is used.

region str

The region in which the resource belongs. If it is not provided, the provider region is used.

GetInstance Result

The following output properties are available:

AlternativeLocationId string
AuthorizedNetwork string
ConnectMode string
CreateTime string
CurrentLocationId string
DisplayName string
Host string

Hostname or IP address of the exposed Redis endpoint used by clients to connect to the service.

Id string

The provider-assigned unique ID for this managed resource.

Labels Dictionary<string, string>
LocationId string
MemorySizeGb int
Name string
Port int

The port number of the exposed Redis endpoint.

RedisConfigs Dictionary<string, string>
RedisVersion string
ReservedIpRange string
Tier string
Project string
Region string
AlternativeLocationId string
AuthorizedNetwork string
ConnectMode string
CreateTime string
CurrentLocationId string
DisplayName string
Host string

Hostname or IP address of the exposed Redis endpoint used by clients to connect to the service.

Id string

The provider-assigned unique ID for this managed resource.

Labels map[string]string
LocationId string
MemorySizeGb int
Name string
Port int

The port number of the exposed Redis endpoint.

RedisConfigs map[string]string
RedisVersion string
ReservedIpRange string
Tier string
Project string
Region string
alternativeLocationId string
authorizedNetwork string
connectMode string
createTime string
currentLocationId string
displayName string
host string

Hostname or IP address of the exposed Redis endpoint used by clients to connect to the service.

id string

The provider-assigned unique ID for this managed resource.

labels {[key: string]: string}
locationId string
memorySizeGb number
name string
port number

The port number of the exposed Redis endpoint.

redisConfigs {[key: string]: string}
redisVersion string
reservedIpRange string
tier string
project string
region string
alternative_location_id str
authorized_network str
connect_mode str
create_time str
current_location_id str
display_name str
host str

Hostname or IP address of the exposed Redis endpoint used by clients to connect to the service.

id str

The provider-assigned unique ID for this managed resource.

labels Dict[str, str]
location_id str
memory_size_gb float
name str
port float

The port number of the exposed Redis endpoint.

redis_configs Dict[str, str]
redis_version str
reserved_ip_range str
tier str
project str
region str

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.