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.redis/v1beta1.getCluster
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 the details of a specific Redis cluster.
Using getCluster
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 getCluster(args: GetClusterArgs, opts?: InvokeOptions): Promise<GetClusterResult>
function getClusterOutput(args: GetClusterOutputArgs, opts?: InvokeOptions): Output<GetClusterResult>
def get_cluster(cluster_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetClusterResult
def get_cluster_output(cluster_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetClusterResult]
func LookupCluster(ctx *Context, args *LookupClusterArgs, opts ...InvokeOption) (*LookupClusterResult, error)
func LookupClusterOutput(ctx *Context, args *LookupClusterOutputArgs, opts ...InvokeOption) LookupClusterResultOutput
> Note: This function is named LookupCluster
in the Go SDK.
public static class GetCluster
{
public static Task<GetClusterResult> InvokeAsync(GetClusterArgs args, InvokeOptions? opts = null)
public static Output<GetClusterResult> Invoke(GetClusterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetClusterResult> getCluster(GetClusterArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:redis/v1beta1:getCluster
arguments:
# arguments dictionary
The following arguments are supported:
- cluster_
id str - location str
- project str
getCluster Result
The following output properties are available:
- string
- Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
- Create
Time string - The timestamp associated with the cluster creation request.
- Discovery
Endpoints List<Pulumi.Google Native. Redis. V1Beta1. Outputs. Discovery Endpoint Response> - Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one discovery endpoint is supported.
- Name string
- Unique name of the resource in this scope including project and location using the form:
projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
- Psc
Configs List<Pulumi.Google Native. Redis. V1Beta1. Outputs. Psc Config Response> - Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.
- Psc
Connections List<Pulumi.Google Native. Redis. V1Beta1. Outputs. Psc Connection Response> - PSC connections for discovery of the cluster topology and accessing the cluster.
- Replica
Count int - Optional. The number of replica nodes per shard.
- int
- Number of shards for the Redis cluster.
- Size
Gb int - Redis memory size in GB for the entire cluster.
- State string
- The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
- State
Info Pulumi.Google Native. Redis. V1Beta1. Outputs. State Info Response - Additional information about the current state of the cluster.
- Transit
Encryption stringMode - Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster.
- Uid string
- System assigned, unique identifier for the cluster.
- string
- Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
- Create
Time string - The timestamp associated with the cluster creation request.
- Discovery
Endpoints []DiscoveryEndpoint Response - Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one discovery endpoint is supported.
- Name string
- Unique name of the resource in this scope including project and location using the form:
projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
- Psc
Configs []PscConfig Response - Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.
- Psc
Connections []PscConnection Response - PSC connections for discovery of the cluster topology and accessing the cluster.
- Replica
Count int - Optional. The number of replica nodes per shard.
- int
- Number of shards for the Redis cluster.
- Size
Gb int - Redis memory size in GB for the entire cluster.
- State string
- The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
- State
Info StateInfo Response - Additional information about the current state of the cluster.
- Transit
Encryption stringMode - Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster.
- Uid string
- System assigned, unique identifier for the cluster.
- String
- Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
- create
Time String - The timestamp associated with the cluster creation request.
- discovery
Endpoints List<DiscoveryEndpoint Response> - Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one discovery endpoint is supported.
- name String
- Unique name of the resource in this scope including project and location using the form:
projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
- psc
Configs List<PscConfig Response> - Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.
- psc
Connections List<PscConnection Response> - PSC connections for discovery of the cluster topology and accessing the cluster.
- replica
Count Integer - Optional. The number of replica nodes per shard.
- Integer
- Number of shards for the Redis cluster.
- size
Gb Integer - Redis memory size in GB for the entire cluster.
- state String
- The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
- state
Info StateInfo Response - Additional information about the current state of the cluster.
- transit
Encryption StringMode - Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster.
- uid String
- System assigned, unique identifier for the cluster.
- string
- Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
- create
Time string - The timestamp associated with the cluster creation request.
- discovery
Endpoints DiscoveryEndpoint Response[] - Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one discovery endpoint is supported.
- name string
- Unique name of the resource in this scope including project and location using the form:
projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
- psc
Configs PscConfig Response[] - Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.
- psc
Connections PscConnection Response[] - PSC connections for discovery of the cluster topology and accessing the cluster.
- replica
Count number - Optional. The number of replica nodes per shard.
- number
- Number of shards for the Redis cluster.
- size
Gb number - Redis memory size in GB for the entire cluster.
- state string
- The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
- state
Info StateInfo Response - Additional information about the current state of the cluster.
- transit
Encryption stringMode - Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster.
- uid string
- System assigned, unique identifier for the cluster.
- str
- Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
- create_
time str - The timestamp associated with the cluster creation request.
- discovery_
endpoints Sequence[DiscoveryEndpoint Response] - Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one discovery endpoint is supported.
- name str
- Unique name of the resource in this scope including project and location using the form:
projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
- psc_
configs Sequence[PscConfig Response] - Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.
- psc_
connections Sequence[PscConnection Response] - PSC connections for discovery of the cluster topology and accessing the cluster.
- replica_
count int - Optional. The number of replica nodes per shard.
- int
- Number of shards for the Redis cluster.
- size_
gb int - Redis memory size in GB for the entire cluster.
- state str
- The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
- state_
info StateInfo Response - Additional information about the current state of the cluster.
- transit_
encryption_ strmode - Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster.
- uid str
- System assigned, unique identifier for the cluster.
- String
- Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
- create
Time String - The timestamp associated with the cluster creation request.
- discovery
Endpoints List<Property Map> - Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one discovery endpoint is supported.
- name String
- Unique name of the resource in this scope including project and location using the form:
projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
- psc
Configs List<Property Map> - Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.
- psc
Connections List<Property Map> - PSC connections for discovery of the cluster topology and accessing the cluster.
- replica
Count Number - Optional. The number of replica nodes per shard.
- Number
- Number of shards for the Redis cluster.
- size
Gb Number - Redis memory size in GB for the entire cluster.
- state String
- The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
- state
Info Property Map - Additional information about the current state of the cluster.
- transit
Encryption StringMode - Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster.
- uid String
- System assigned, unique identifier for the cluster.
Supporting Types
DiscoveryEndpointResponse
- Address string
- Address of the exposed Redis endpoint used by clients to connect to the service. The address could be either IP or hostname.
- Port int
- The port number of the exposed Redis endpoint.
- Psc
Config Pulumi.Google Native. Redis. V1Beta1. Inputs. Psc Config Response - Customer configuration for where the endpoint is created and accessed from.
- Address string
- Address of the exposed Redis endpoint used by clients to connect to the service. The address could be either IP or hostname.
- Port int
- The port number of the exposed Redis endpoint.
- Psc
Config PscConfig Response - Customer configuration for where the endpoint is created and accessed from.
- address String
- Address of the exposed Redis endpoint used by clients to connect to the service. The address could be either IP or hostname.
- port Integer
- The port number of the exposed Redis endpoint.
- psc
Config PscConfig Response - Customer configuration for where the endpoint is created and accessed from.
- address string
- Address of the exposed Redis endpoint used by clients to connect to the service. The address could be either IP or hostname.
- port number
- The port number of the exposed Redis endpoint.
- psc
Config PscConfig Response - Customer configuration for where the endpoint is created and accessed from.
- address str
- Address of the exposed Redis endpoint used by clients to connect to the service. The address could be either IP or hostname.
- port int
- The port number of the exposed Redis endpoint.
- psc_
config PscConfig Response - Customer configuration for where the endpoint is created and accessed from.
- address String
- Address of the exposed Redis endpoint used by clients to connect to the service. The address could be either IP or hostname.
- port Number
- The port number of the exposed Redis endpoint.
- psc
Config Property Map - Customer configuration for where the endpoint is created and accessed from.
PscConfigResponse
- Network string
- The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}.
- Network string
- The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}.
- network String
- The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}.
- network string
- The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}.
- network str
- The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}.
- network String
- The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}.
PscConnectionResponse
- Address string
- The IP allocated on the consumer network for the PSC forwarding rule.
- Forwarding
Rule string - The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
- Network string
- The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.
- Project string
- The consumer project_id where the forwarding rule is created from.
- Psc
Connection stringId - The PSC connection id of the forwarding rule connected to the service attachment.
- Address string
- The IP allocated on the consumer network for the PSC forwarding rule.
- Forwarding
Rule string - The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
- Network string
- The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.
- Project string
- The consumer project_id where the forwarding rule is created from.
- Psc
Connection stringId - The PSC connection id of the forwarding rule connected to the service attachment.
- address String
- The IP allocated on the consumer network for the PSC forwarding rule.
- forwarding
Rule String - The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
- network String
- The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.
- project String
- The consumer project_id where the forwarding rule is created from.
- psc
Connection StringId - The PSC connection id of the forwarding rule connected to the service attachment.
- address string
- The IP allocated on the consumer network for the PSC forwarding rule.
- forwarding
Rule string - The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
- network string
- The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.
- project string
- The consumer project_id where the forwarding rule is created from.
- psc
Connection stringId - The PSC connection id of the forwarding rule connected to the service attachment.
- address str
- The IP allocated on the consumer network for the PSC forwarding rule.
- forwarding_
rule str - The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
- network str
- The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.
- project str
- The consumer project_id where the forwarding rule is created from.
- psc_
connection_ strid - The PSC connection id of the forwarding rule connected to the service attachment.
- address String
- The IP allocated on the consumer network for the PSC forwarding rule.
- forwarding
Rule String - The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
- network String
- The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}.
- project String
- The consumer project_id where the forwarding rule is created from.
- psc
Connection StringId - The PSC connection id of the forwarding rule connected to the service attachment.
StateInfoResponse
- Update
Info Pulumi.Google Native. Redis. V1Beta1. Inputs. Update Info Response - Describes ongoing update on the cluster when cluster state is UPDATING.
- Update
Info UpdateInfo Response - Describes ongoing update on the cluster when cluster state is UPDATING.
- update
Info UpdateInfo Response - Describes ongoing update on the cluster when cluster state is UPDATING.
- update
Info UpdateInfo Response - Describes ongoing update on the cluster when cluster state is UPDATING.
- update_
info UpdateInfo Response - Describes ongoing update on the cluster when cluster state is UPDATING.
- update
Info Property Map - Describes ongoing update on the cluster when cluster state is UPDATING.
UpdateInfoResponse
- Target
Replica intCount - Target number of replica nodes per shard.
- Target
Shard intCount - Target number of shards for redis cluster
- Target
Replica intCount - Target number of replica nodes per shard.
- Target
Shard intCount - Target number of shards for redis cluster
- target
Replica IntegerCount - Target number of replica nodes per shard.
- target
Shard IntegerCount - Target number of shards for redis cluster
- target
Replica numberCount - Target number of replica nodes per shard.
- target
Shard numberCount - Target number of shards for redis cluster
- target_
replica_ intcount - Target number of replica nodes per shard.
- target_
shard_ intcount - Target number of shards for redis cluster
- target
Replica NumberCount - Target number of replica nodes per shard.
- target
Shard NumberCount - Target number of shards for redis cluster
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