Scaleway v1.27.0 published on Monday, Apr 21, 2025 by pulumiverse
scaleway.redis.getCluster
Explore with Pulumi AI
Gets information about a Redis™ cluster.
For further information refer to the Managed Database for Redis™ API documentation.
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,
                name: Optional[str] = None,
                project_id: Optional[str] = None,
                zone: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetClusterResult
def get_cluster_output(cluster_id: Optional[pulumi.Input[str]] = None,
                name: Optional[pulumi.Input[str]] = None,
                project_id: Optional[pulumi.Input[str]] = None,
                zone: 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)
public static Output<GetClusterResult> getCluster(GetClusterArgs args, InvokeOptions options)
fn::invoke:
  function: scaleway:redis/getCluster:getCluster
  arguments:
    # arguments dictionaryThe following arguments are supported:
- cluster_
id str The Redis cluster ID.
Note You must specify at least one:
nameand/orcluster_id.- name str
 - The name of the Redis cluster.
 - project_
id str - The ID of the project the Redis cluster is associated with.
 - zone str
 region) The zone in which the server exists.
getCluster Result
The following output properties are available:
- Acls
List<Pulumiverse.
Scaleway. Redis. Outputs. Get Cluster Acl>  - List of acl rules.
 - Certificate string
 - The PEM of the certificate used by redis, only when 
tls_enabledis true. - Cluster
Size int - The number of nodes in the Redis Cluster.
 - Created
At string - The date and time of creation of the Redis Cluster.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Node
Type string - The type of Redis Cluster (e.g. 
RED1-M). - Password string
 - Password of the first user of the Redis Cluster.
 - Private
Networks List<Pulumiverse.Scaleway. Redis. Outputs. Get Cluster Private Network>  - List of private networks endpoints of the Redis Cluster.
 - Public
Networks List<Pulumiverse.Scaleway. Redis. Outputs. Get Cluster Public Network>  - Public network details.
 - Settings Dictionary<string, string>
 - Map of settings for redis cluster.
 - List<string>
 - The tags associated with the Redis Cluster.
 - Tls
Enabled bool - Whether TLS is enabled or not.
 - Updated
At string - The date and time of the last update of the Redis Cluster.
 - User
Name string - The first user of the Redis Cluster.
 - Version string
 - Redis's Cluster version (e.g. 
6.2.7). - Cluster
Id string - Name string
 - Project
Id string - Zone string
 
- Acls
[]Get
Cluster Acl  - List of acl rules.
 - Certificate string
 - The PEM of the certificate used by redis, only when 
tls_enabledis true. - Cluster
Size int - The number of nodes in the Redis Cluster.
 - Created
At string - The date and time of creation of the Redis Cluster.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Node
Type string - The type of Redis Cluster (e.g. 
RED1-M). - Password string
 - Password of the first user of the Redis Cluster.
 - Private
Networks []GetCluster Private Network  - List of private networks endpoints of the Redis Cluster.
 - Public
Networks []GetCluster Public Network  - Public network details.
 - Settings map[string]string
 - Map of settings for redis cluster.
 - []string
 - The tags associated with the Redis Cluster.
 - Tls
Enabled bool - Whether TLS is enabled or not.
 - Updated
At string - The date and time of the last update of the Redis Cluster.
 - User
Name string - The first user of the Redis Cluster.
 - Version string
 - Redis's Cluster version (e.g. 
6.2.7). - Cluster
Id string - Name string
 - Project
Id string - Zone string
 
- acls
List<Get
Cluster Acl>  - List of acl rules.
 - certificate String
 - The PEM of the certificate used by redis, only when 
tls_enabledis true. - cluster
Size Integer - The number of nodes in the Redis Cluster.
 - created
At String - The date and time of creation of the Redis Cluster.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - node
Type String - The type of Redis Cluster (e.g. 
RED1-M). - password String
 - Password of the first user of the Redis Cluster.
 - private
Networks List<GetCluster Private Network>  - List of private networks endpoints of the Redis Cluster.
 - public
Networks List<GetCluster Public Network>  - Public network details.
 - settings Map<String,String>
 - Map of settings for redis cluster.
 - List<String>
 - The tags associated with the Redis Cluster.
 - tls
Enabled Boolean - Whether TLS is enabled or not.
 - updated
At String - The date and time of the last update of the Redis Cluster.
 - user
Name String - The first user of the Redis Cluster.
 - version String
 - Redis's Cluster version (e.g. 
6.2.7). - cluster
Id String - name String
 - project
Id String - zone String
 
- acls
Get
Cluster Acl[]  - List of acl rules.
 - certificate string
 - The PEM of the certificate used by redis, only when 
tls_enabledis true. - cluster
Size number - The number of nodes in the Redis Cluster.
 - created
At string - The date and time of creation of the Redis Cluster.
 - id string
 - The provider-assigned unique ID for this managed resource.
 - node
Type string - The type of Redis Cluster (e.g. 
RED1-M). - password string
 - Password of the first user of the Redis Cluster.
 - private
Networks GetCluster Private Network[]  - List of private networks endpoints of the Redis Cluster.
 - public
Networks GetCluster Public Network[]  - Public network details.
 - settings {[key: string]: string}
 - Map of settings for redis cluster.
 - string[]
 - The tags associated with the Redis Cluster.
 - tls
Enabled boolean - Whether TLS is enabled or not.
 - updated
At string - The date and time of the last update of the Redis Cluster.
 - user
Name string - The first user of the Redis Cluster.
 - version string
 - Redis's Cluster version (e.g. 
6.2.7). - cluster
Id string - name string
 - project
Id string - zone string
 
- acls
Sequence[Get
Cluster Acl]  - List of acl rules.
 - certificate str
 - The PEM of the certificate used by redis, only when 
tls_enabledis true. - cluster_
size int - The number of nodes in the Redis Cluster.
 - created_
at str - The date and time of creation of the Redis Cluster.
 - id str
 - The provider-assigned unique ID for this managed resource.
 - node_
type str - The type of Redis Cluster (e.g. 
RED1-M). - password str
 - Password of the first user of the Redis Cluster.
 - private_
networks Sequence[GetCluster Private Network]  - List of private networks endpoints of the Redis Cluster.
 - public_
networks Sequence[GetCluster Public Network]  - Public network details.
 - settings Mapping[str, str]
 - Map of settings for redis cluster.
 - Sequence[str]
 - The tags associated with the Redis Cluster.
 - tls_
enabled bool - Whether TLS is enabled or not.
 - updated_
at str - The date and time of the last update of the Redis Cluster.
 - user_
name str - The first user of the Redis Cluster.
 - version str
 - Redis's Cluster version (e.g. 
6.2.7). - cluster_
id str - name str
 - project_
id str - zone str
 
- acls List<Property Map>
 - List of acl rules.
 - certificate String
 - The PEM of the certificate used by redis, only when 
tls_enabledis true. - cluster
Size Number - The number of nodes in the Redis Cluster.
 - created
At String - The date and time of creation of the Redis Cluster.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - node
Type String - The type of Redis Cluster (e.g. 
RED1-M). - password String
 - Password of the first user of the Redis Cluster.
 - private
Networks List<Property Map> - List of private networks endpoints of the Redis Cluster.
 - public
Networks List<Property Map> - Public network details.
 - settings Map<String>
 - Map of settings for redis cluster.
 - List<String>
 - The tags associated with the Redis Cluster.
 - tls
Enabled Boolean - Whether TLS is enabled or not.
 - updated
At String - The date and time of the last update of the Redis Cluster.
 - user
Name String - The first user of the Redis Cluster.
 - version String
 - Redis's Cluster version (e.g. 
6.2.7). - cluster
Id String - name String
 - project
Id String - zone String
 
Supporting Types
GetClusterAcl  
- Description string
 - Description of the rule.
 - Id string
 - The ID of the Redis cluster.
 - Ip string
 - IPv4 network address of the rule (IP network in a CIDR format).
 
- Description string
 - Description of the rule.
 - Id string
 - The ID of the Redis cluster.
 - Ip string
 - IPv4 network address of the rule (IP network in a CIDR format).
 
- description String
 - Description of the rule.
 - id String
 - The ID of the Redis cluster.
 - ip String
 - IPv4 network address of the rule (IP network in a CIDR format).
 
- description string
 - Description of the rule.
 - id string
 - The ID of the Redis cluster.
 - ip string
 - IPv4 network address of the rule (IP network in a CIDR format).
 
- description str
 - Description of the rule.
 - id str
 - The ID of the Redis cluster.
 - ip str
 - IPv4 network address of the rule (IP network in a CIDR format).
 
- description String
 - Description of the rule.
 - id String
 - The ID of the Redis cluster.
 - ip String
 - IPv4 network address of the rule (IP network in a CIDR format).
 
GetClusterPrivateNetwork   
- Endpoint
Id string - The ID of the endpoint.
 - Id string
 - The ID of the Redis cluster.
 - Service
Ips List<string> - List of IPv4 addresses of the private network with a CIDR notation
 - Zone string
 region) The zone in which the server exists.
- Endpoint
Id string - The ID of the endpoint.
 - Id string
 - The ID of the Redis cluster.
 - Service
Ips []string - List of IPv4 addresses of the private network with a CIDR notation
 - Zone string
 region) The zone in which the server exists.
- endpoint
Id String - The ID of the endpoint.
 - id String
 - The ID of the Redis cluster.
 - service
Ips List<String> - List of IPv4 addresses of the private network with a CIDR notation
 - zone String
 region) The zone in which the server exists.
- endpoint
Id string - The ID of the endpoint.
 - id string
 - The ID of the Redis cluster.
 - service
Ips string[] - List of IPv4 addresses of the private network with a CIDR notation
 - zone string
 region) The zone in which the server exists.
- endpoint_
id str - The ID of the endpoint.
 - id str
 - The ID of the Redis cluster.
 - service_
ips Sequence[str] - List of IPv4 addresses of the private network with a CIDR notation
 - zone str
 region) The zone in which the server exists.
- endpoint
Id String - The ID of the endpoint.
 - id String
 - The ID of the Redis cluster.
 - service
Ips List<String> - List of IPv4 addresses of the private network with a CIDR notation
 - zone String
 region) The zone in which the server exists.
GetClusterPublicNetwork   
Package Details
- Repository
 - scaleway pulumiverse/pulumi-scaleway
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
scalewayTerraform Provider.