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
LookupInstancein the Go SDK.
public static class GetInstance {
public static Task<GetInstanceResult> InvokeAsync(GetInstanceArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
GetInstance Result
The following output properties are available:
- Alternative
Location stringId - string
- Connect
Mode string - Create
Time string - Current
Location stringId - Display
Name 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>
- Location
Id string - Memory
Size intGb - Name string
- Port int
The port number of the exposed Redis endpoint.
- Redis
Configs Dictionary<string, string> - Redis
Version string - Reserved
Ip stringRange - Tier string
- Project string
- Region string
- Alternative
Location stringId - string
- Connect
Mode string - Create
Time string - Current
Location stringId - Display
Name 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
- Location
Id string - Memory
Size intGb - Name string
- Port int
The port number of the exposed Redis endpoint.
- Redis
Configs map[string]string - Redis
Version string - Reserved
Ip stringRange - Tier string
- Project string
- Region string
- alternative
Location stringId - string
- connect
Mode string - create
Time string - current
Location stringId - display
Name 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}
- location
Id string - memory
Size numberGb - name string
- port number
The port number of the exposed Redis endpoint.
- redis
Configs {[key: string]: string} - redis
Version string - reserved
Ip stringRange - tier string
- project string
- region string
- alternative_
location_ strid - str
- connect_
mode str - create_
time str - current_
location_ strid - 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_ floatgb - name str
- port float
The port number of the exposed Redis endpoint.
- redis_
configs Dict[str, str] - redis_
version str - reserved_
ip_ strrange - 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-betaTerraform Provider.