1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. redis
  5. Cluster
Google Cloud Classic v6.67.0 published on Wednesday, Sep 27, 2023 by Pulumi

gcp.redis.Cluster

Explore with Pulumi AI

gcp logo
Google Cloud Classic v6.67.0 published on Wednesday, Sep 27, 2023 by Pulumi

    Import

    Cluster can be imported using any of these accepted formats

     $ pulumi import gcp:redis/cluster:Cluster default projects/{{project}}/locations/{{region}}/clusters/{{name}}
    
     $ pulumi import gcp:redis/cluster:Cluster default {{project}}/{{region}}/{{name}}
    
     $ pulumi import gcp:redis/cluster:Cluster default {{region}}/{{name}}
    
     $ pulumi import gcp:redis/cluster:Cluster default {{name}}
    

    Example Usage

    Redis Cluster Ha

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var producerNet = new Gcp.Compute.Network("producerNet", new()
        {
            AutoCreateSubnetworks = false,
        }, new CustomResourceOptions
        {
            Provider = google_beta,
        });
    
        var producerSubnet = new Gcp.Compute.Subnetwork("producerSubnet", new()
        {
            IpCidrRange = "10.0.0.248/29",
            Region = "us-central1",
            Network = producerNet.Id,
        }, new CustomResourceOptions
        {
            Provider = google_beta,
        });
    
        var @default = new Gcp.NetworkConnectivity.ServiceConnectionPolicy("default", new()
        {
            Location = "us-central1",
            ServiceClass = "gcp-memorystore-redis",
            Description = "my basic service connection policy",
            Network = producerNet.Id,
            PscConfig = new Gcp.NetworkConnectivity.Inputs.ServiceConnectionPolicyPscConfigArgs
            {
                Subnetworks = new[]
                {
                    producerSubnet.Id,
                },
            },
        }, new CustomResourceOptions
        {
            Provider = google_beta,
        });
    
        var cluster_ha = new Gcp.Redis.Cluster("cluster-ha", new()
        {
            ShardCount = 3,
            PscConfigs = new[]
            {
                new Gcp.Redis.Inputs.ClusterPscConfigArgs
                {
                    Network = producerNet.Id,
                },
            },
            Region = "us-central1",
            ReplicaCount = 1,
            TransitEncryptionMode = "TRANSIT_ENCRYPTION_MODE_DISABLED",
            AuthorizationMode = "AUTH_MODE_DISABLED",
        }, new CustomResourceOptions
        {
            Provider = google_beta,
            DependsOn = new[]
            {
                @default,
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/compute"
    	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/networkconnectivity"
    	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/redis"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		producerNet, err := compute.NewNetwork(ctx, "producerNet", &compute.NetworkArgs{
    			AutoCreateSubnetworks: pulumi.Bool(false),
    		}, pulumi.Provider(google_beta))
    		if err != nil {
    			return err
    		}
    		producerSubnet, err := compute.NewSubnetwork(ctx, "producerSubnet", &compute.SubnetworkArgs{
    			IpCidrRange: pulumi.String("10.0.0.248/29"),
    			Region:      pulumi.String("us-central1"),
    			Network:     producerNet.ID(),
    		}, pulumi.Provider(google_beta))
    		if err != nil {
    			return err
    		}
    		_, err = networkconnectivity.NewServiceConnectionPolicy(ctx, "default", &networkconnectivity.ServiceConnectionPolicyArgs{
    			Location:     pulumi.String("us-central1"),
    			ServiceClass: pulumi.String("gcp-memorystore-redis"),
    			Description:  pulumi.String("my basic service connection policy"),
    			Network:      producerNet.ID(),
    			PscConfig: &networkconnectivity.ServiceConnectionPolicyPscConfigArgs{
    				Subnetworks: pulumi.StringArray{
    					producerSubnet.ID(),
    				},
    			},
    		}, pulumi.Provider(google_beta))
    		if err != nil {
    			return err
    		}
    		_, err = redis.NewCluster(ctx, "cluster-ha", &redis.ClusterArgs{
    			ShardCount: pulumi.Int(3),
    			PscConfigs: redis.ClusterPscConfigArray{
    				&redis.ClusterPscConfigArgs{
    					Network: producerNet.ID(),
    				},
    			},
    			Region:                pulumi.String("us-central1"),
    			ReplicaCount:          pulumi.Int(1),
    			TransitEncryptionMode: pulumi.String("TRANSIT_ENCRYPTION_MODE_DISABLED"),
    			AuthorizationMode:     pulumi.String("AUTH_MODE_DISABLED"),
    		}, pulumi.Provider(google_beta), pulumi.DependsOn([]pulumi.Resource{
    			_default,
    		}))
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.compute.Network;
    import com.pulumi.gcp.compute.NetworkArgs;
    import com.pulumi.gcp.compute.Subnetwork;
    import com.pulumi.gcp.compute.SubnetworkArgs;
    import com.pulumi.gcp.networkconnectivity.ServiceConnectionPolicy;
    import com.pulumi.gcp.networkconnectivity.ServiceConnectionPolicyArgs;
    import com.pulumi.gcp.networkconnectivity.inputs.ServiceConnectionPolicyPscConfigArgs;
    import com.pulumi.gcp.redis.Cluster;
    import com.pulumi.gcp.redis.ClusterArgs;
    import com.pulumi.gcp.redis.inputs.ClusterPscConfigArgs;
    import com.pulumi.resources.CustomResourceOptions;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var producerNet = new Network("producerNet", NetworkArgs.builder()        
                .autoCreateSubnetworks(false)
                .build(), CustomResourceOptions.builder()
                    .provider(google_beta)
                    .build());
    
            var producerSubnet = new Subnetwork("producerSubnet", SubnetworkArgs.builder()        
                .ipCidrRange("10.0.0.248/29")
                .region("us-central1")
                .network(producerNet.id())
                .build(), CustomResourceOptions.builder()
                    .provider(google_beta)
                    .build());
    
            var default_ = new ServiceConnectionPolicy("default", ServiceConnectionPolicyArgs.builder()        
                .location("us-central1")
                .serviceClass("gcp-memorystore-redis")
                .description("my basic service connection policy")
                .network(producerNet.id())
                .pscConfig(ServiceConnectionPolicyPscConfigArgs.builder()
                    .subnetworks(producerSubnet.id())
                    .build())
                .build(), CustomResourceOptions.builder()
                    .provider(google_beta)
                    .build());
    
            var cluster_ha = new Cluster("cluster-ha", ClusterArgs.builder()        
                .shardCount(3)
                .pscConfigs(ClusterPscConfigArgs.builder()
                    .network(producerNet.id())
                    .build())
                .region("us-central1")
                .replicaCount(1)
                .transitEncryptionMode("TRANSIT_ENCRYPTION_MODE_DISABLED")
                .authorizationMode("AUTH_MODE_DISABLED")
                .build(), CustomResourceOptions.builder()
                    .provider(google_beta)
                    .dependsOn(default_)
                    .build());
    
        }
    }
    
    import pulumi
    import pulumi_gcp as gcp
    
    producer_net = gcp.compute.Network("producerNet", auto_create_subnetworks=False,
    opts=pulumi.ResourceOptions(provider=google_beta))
    producer_subnet = gcp.compute.Subnetwork("producerSubnet",
        ip_cidr_range="10.0.0.248/29",
        region="us-central1",
        network=producer_net.id,
        opts=pulumi.ResourceOptions(provider=google_beta))
    default = gcp.networkconnectivity.ServiceConnectionPolicy("default",
        location="us-central1",
        service_class="gcp-memorystore-redis",
        description="my basic service connection policy",
        network=producer_net.id,
        psc_config=gcp.networkconnectivity.ServiceConnectionPolicyPscConfigArgs(
            subnetworks=[producer_subnet.id],
        ),
        opts=pulumi.ResourceOptions(provider=google_beta))
    cluster_ha = gcp.redis.Cluster("cluster-ha",
        shard_count=3,
        psc_configs=[gcp.redis.ClusterPscConfigArgs(
            network=producer_net.id,
        )],
        region="us-central1",
        replica_count=1,
        transit_encryption_mode="TRANSIT_ENCRYPTION_MODE_DISABLED",
        authorization_mode="AUTH_MODE_DISABLED",
        opts=pulumi.ResourceOptions(provider=google_beta,
            depends_on=[default]))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const producerNet = new gcp.compute.Network("producerNet", {autoCreateSubnetworks: false}, {
        provider: google_beta,
    });
    const producerSubnet = new gcp.compute.Subnetwork("producerSubnet", {
        ipCidrRange: "10.0.0.248/29",
        region: "us-central1",
        network: producerNet.id,
    }, {
        provider: google_beta,
    });
    const _default = new gcp.networkconnectivity.ServiceConnectionPolicy("default", {
        location: "us-central1",
        serviceClass: "gcp-memorystore-redis",
        description: "my basic service connection policy",
        network: producerNet.id,
        pscConfig: {
            subnetworks: [producerSubnet.id],
        },
    }, {
        provider: google_beta,
    });
    const cluster_ha = new gcp.redis.Cluster("cluster-ha", {
        shardCount: 3,
        pscConfigs: [{
            network: producerNet.id,
        }],
        region: "us-central1",
        replicaCount: 1,
        transitEncryptionMode: "TRANSIT_ENCRYPTION_MODE_DISABLED",
        authorizationMode: "AUTH_MODE_DISABLED",
    }, {
        provider: google_beta,
        dependsOn: [_default],
    });
    
    resources:
      cluster-ha:
        type: gcp:redis:Cluster
        properties:
          shardCount: 3
          pscConfigs:
            - network: ${producerNet.id}
          region: us-central1
          replicaCount: 1
          transitEncryptionMode: TRANSIT_ENCRYPTION_MODE_DISABLED
          authorizationMode: AUTH_MODE_DISABLED
        options:
          provider: ${["google-beta"]}
          dependson:
            - ${default}
      default:
        type: gcp:networkconnectivity:ServiceConnectionPolicy
        properties:
          location: us-central1
          serviceClass: gcp-memorystore-redis
          description: my basic service connection policy
          network: ${producerNet.id}
          pscConfig:
            subnetworks:
              - ${producerSubnet.id}
        options:
          provider: ${["google-beta"]}
      producerSubnet:
        type: gcp:compute:Subnetwork
        properties:
          ipCidrRange: 10.0.0.248/29
          region: us-central1
          network: ${producerNet.id}
        options:
          provider: ${["google-beta"]}
      producerNet:
        type: gcp:compute:Network
        properties:
          autoCreateSubnetworks: false
        options:
          provider: ${["google-beta"]}
    

    Create Cluster Resource

    new Cluster(name: string, args: ClusterArgs, opts?: CustomResourceOptions);
    @overload
    def Cluster(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                authorization_mode: Optional[str] = None,
                name: Optional[str] = None,
                project: Optional[str] = None,
                psc_configs: Optional[Sequence[ClusterPscConfigArgs]] = None,
                region: Optional[str] = None,
                replica_count: Optional[int] = None,
                shard_count: Optional[int] = None,
                transit_encryption_mode: Optional[str] = None)
    @overload
    def Cluster(resource_name: str,
                args: ClusterArgs,
                opts: Optional[ResourceOptions] = None)
    func NewCluster(ctx *Context, name string, args ClusterArgs, opts ...ResourceOption) (*Cluster, error)
    public Cluster(string name, ClusterArgs args, CustomResourceOptions? opts = null)
    public Cluster(String name, ClusterArgs args)
    public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
    
    type: gcp:redis:Cluster
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args ClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ClusterArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ClusterArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Cluster Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Cluster resource accepts the following input properties:

    PscConfigs List<ClusterPscConfig>

    Required. Each PscConfig configures the consumer network where two network addresses will be designated to the cluster for client access. Currently, only one PscConfig is supported. Structure is documented below.

    ShardCount int

    Required. Number of shards for the Redis cluster.

    AuthorizationMode string

    Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster. Default value is AUTH_MODE_DISABLED. Possible values are: AUTH_MODE_UNSPECIFIED, AUTH_MODE_IAM_AUTH, AUTH_MODE_DISABLED.

    Name string

    Unique name of the resource in this scope including project and location using the form: projects/{projectId}/locations/{locationId}/clusters/{clusterId}

    Project string

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

    Region string

    The name of the region of the Redis cluster.

    ReplicaCount int

    Optional. The number of replica nodes per shard.

    TransitEncryptionMode string

    Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster. Default value is TRANSIT_ENCRYPTION_MODE_DISABLED. Possible values are: TRANSIT_ENCRYPTION_MODE_UNSPECIFIED, TRANSIT_ENCRYPTION_MODE_DISABLED, TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION.

    PscConfigs []ClusterPscConfigArgs

    Required. Each PscConfig configures the consumer network where two network addresses will be designated to the cluster for client access. Currently, only one PscConfig is supported. Structure is documented below.

    ShardCount int

    Required. Number of shards for the Redis cluster.

    AuthorizationMode string

    Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster. Default value is AUTH_MODE_DISABLED. Possible values are: AUTH_MODE_UNSPECIFIED, AUTH_MODE_IAM_AUTH, AUTH_MODE_DISABLED.

    Name string

    Unique name of the resource in this scope including project and location using the form: projects/{projectId}/locations/{locationId}/clusters/{clusterId}

    Project string

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

    Region string

    The name of the region of the Redis cluster.

    ReplicaCount int

    Optional. The number of replica nodes per shard.

    TransitEncryptionMode string

    Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster. Default value is TRANSIT_ENCRYPTION_MODE_DISABLED. Possible values are: TRANSIT_ENCRYPTION_MODE_UNSPECIFIED, TRANSIT_ENCRYPTION_MODE_DISABLED, TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION.

    pscConfigs List<ClusterPscConfig>

    Required. Each PscConfig configures the consumer network where two network addresses will be designated to the cluster for client access. Currently, only one PscConfig is supported. Structure is documented below.

    shardCount Integer

    Required. Number of shards for the Redis cluster.

    authorizationMode String

    Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster. Default value is AUTH_MODE_DISABLED. Possible values are: AUTH_MODE_UNSPECIFIED, AUTH_MODE_IAM_AUTH, AUTH_MODE_DISABLED.

    name String

    Unique name of the resource in this scope including project and location using the form: projects/{projectId}/locations/{locationId}/clusters/{clusterId}

    project String

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

    region String

    The name of the region of the Redis cluster.

    replicaCount Integer

    Optional. The number of replica nodes per shard.

    transitEncryptionMode String

    Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster. Default value is TRANSIT_ENCRYPTION_MODE_DISABLED. Possible values are: TRANSIT_ENCRYPTION_MODE_UNSPECIFIED, TRANSIT_ENCRYPTION_MODE_DISABLED, TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION.

    pscConfigs ClusterPscConfig[]

    Required. Each PscConfig configures the consumer network where two network addresses will be designated to the cluster for client access. Currently, only one PscConfig is supported. Structure is documented below.

    shardCount number

    Required. Number of shards for the Redis cluster.

    authorizationMode string

    Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster. Default value is AUTH_MODE_DISABLED. Possible values are: AUTH_MODE_UNSPECIFIED, AUTH_MODE_IAM_AUTH, AUTH_MODE_DISABLED.

    name string

    Unique name of the resource in this scope including project and location using the form: projects/{projectId}/locations/{locationId}/clusters/{clusterId}

    project string

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

    region string

    The name of the region of the Redis cluster.

    replicaCount number

    Optional. The number of replica nodes per shard.

    transitEncryptionMode string

    Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster. Default value is TRANSIT_ENCRYPTION_MODE_DISABLED. Possible values are: TRANSIT_ENCRYPTION_MODE_UNSPECIFIED, TRANSIT_ENCRYPTION_MODE_DISABLED, TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION.

    psc_configs Sequence[ClusterPscConfigArgs]

    Required. Each PscConfig configures the consumer network where two network addresses will be designated to the cluster for client access. Currently, only one PscConfig is supported. Structure is documented below.

    shard_count int

    Required. Number of shards for the Redis cluster.

    authorization_mode str

    Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster. Default value is AUTH_MODE_DISABLED. Possible values are: AUTH_MODE_UNSPECIFIED, AUTH_MODE_IAM_AUTH, AUTH_MODE_DISABLED.

    name str

    Unique name of the resource in this scope including project and location using the form: projects/{projectId}/locations/{locationId}/clusters/{clusterId}

    project str

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

    region str

    The name of the region of the Redis cluster.

    replica_count int

    Optional. The number of replica nodes per shard.

    transit_encryption_mode str

    Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster. Default value is TRANSIT_ENCRYPTION_MODE_DISABLED. Possible values are: TRANSIT_ENCRYPTION_MODE_UNSPECIFIED, TRANSIT_ENCRYPTION_MODE_DISABLED, TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION.

    pscConfigs List<Property Map>

    Required. Each PscConfig configures the consumer network where two network addresses will be designated to the cluster for client access. Currently, only one PscConfig is supported. Structure is documented below.

    shardCount Number

    Required. Number of shards for the Redis cluster.

    authorizationMode String

    Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster. Default value is AUTH_MODE_DISABLED. Possible values are: AUTH_MODE_UNSPECIFIED, AUTH_MODE_IAM_AUTH, AUTH_MODE_DISABLED.

    name String

    Unique name of the resource in this scope including project and location using the form: projects/{projectId}/locations/{locationId}/clusters/{clusterId}

    project String

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

    region String

    The name of the region of the Redis cluster.

    replicaCount Number

    Optional. The number of replica nodes per shard.

    transitEncryptionMode String

    Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster. Default value is TRANSIT_ENCRYPTION_MODE_DISABLED. Possible values are: TRANSIT_ENCRYPTION_MODE_UNSPECIFIED, TRANSIT_ENCRYPTION_MODE_DISABLED, TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Cluster resource produces the following output properties:

    CreateTime string

    The timestamp associated with the cluster creation request. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    DiscoveryEndpoints List<ClusterDiscoveryEndpoint>

    Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported. Structure is documented below.

    Id string

    The provider-assigned unique ID for this managed resource.

    PscConnections List<ClusterPscConnection>

    Output only. PSC connections for discovery of the cluster topology and accessing the cluster. Structure is documented below.

    SizeGb int

    Output only. 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

    StateInfos List<ClusterStateInfo>

    Output only. Additional information about the current state of the cluster. Structure is documented below.

    Uid string

    System assigned, unique identifier for the cluster.

    CreateTime string

    The timestamp associated with the cluster creation request. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    DiscoveryEndpoints []ClusterDiscoveryEndpoint

    Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported. Structure is documented below.

    Id string

    The provider-assigned unique ID for this managed resource.

    PscConnections []ClusterPscConnection

    Output only. PSC connections for discovery of the cluster topology and accessing the cluster. Structure is documented below.

    SizeGb int

    Output only. 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

    StateInfos []ClusterStateInfo

    Output only. Additional information about the current state of the cluster. Structure is documented below.

    Uid string

    System assigned, unique identifier for the cluster.

    createTime String

    The timestamp associated with the cluster creation request. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    discoveryEndpoints List<ClusterDiscoveryEndpoint>

    Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported. Structure is documented below.

    id String

    The provider-assigned unique ID for this managed resource.

    pscConnections List<ClusterPscConnection>

    Output only. PSC connections for discovery of the cluster topology and accessing the cluster. Structure is documented below.

    sizeGb Integer

    Output only. 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

    stateInfos List<ClusterStateInfo>

    Output only. Additional information about the current state of the cluster. Structure is documented below.

    uid String

    System assigned, unique identifier for the cluster.

    createTime string

    The timestamp associated with the cluster creation request. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    discoveryEndpoints ClusterDiscoveryEndpoint[]

    Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported. Structure is documented below.

    id string

    The provider-assigned unique ID for this managed resource.

    pscConnections ClusterPscConnection[]

    Output only. PSC connections for discovery of the cluster topology and accessing the cluster. Structure is documented below.

    sizeGb number

    Output only. 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

    stateInfos ClusterStateInfo[]

    Output only. Additional information about the current state of the cluster. Structure is documented below.

    uid string

    System assigned, unique identifier for the cluster.

    create_time str

    The timestamp associated with the cluster creation request. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    discovery_endpoints Sequence[ClusterDiscoveryEndpoint]

    Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported. Structure is documented below.

    id str

    The provider-assigned unique ID for this managed resource.

    psc_connections Sequence[ClusterPscConnection]

    Output only. PSC connections for discovery of the cluster topology and accessing the cluster. Structure is documented below.

    size_gb int

    Output only. 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_infos Sequence[ClusterStateInfo]

    Output only. Additional information about the current state of the cluster. Structure is documented below.

    uid str

    System assigned, unique identifier for the cluster.

    createTime String

    The timestamp associated with the cluster creation request. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    discoveryEndpoints List<Property Map>

    Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported. Structure is documented below.

    id String

    The provider-assigned unique ID for this managed resource.

    pscConnections List<Property Map>

    Output only. PSC connections for discovery of the cluster topology and accessing the cluster. Structure is documented below.

    sizeGb Number

    Output only. 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

    stateInfos List<Property Map>

    Output only. Additional information about the current state of the cluster. Structure is documented below.

    uid String

    System assigned, unique identifier for the cluster.

    Look up Existing Cluster Resource

    Get an existing Cluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ClusterState, opts?: CustomResourceOptions): Cluster
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            authorization_mode: Optional[str] = None,
            create_time: Optional[str] = None,
            discovery_endpoints: Optional[Sequence[ClusterDiscoveryEndpointArgs]] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            psc_configs: Optional[Sequence[ClusterPscConfigArgs]] = None,
            psc_connections: Optional[Sequence[ClusterPscConnectionArgs]] = None,
            region: Optional[str] = None,
            replica_count: Optional[int] = None,
            shard_count: Optional[int] = None,
            size_gb: Optional[int] = None,
            state: Optional[str] = None,
            state_infos: Optional[Sequence[ClusterStateInfoArgs]] = None,
            transit_encryption_mode: Optional[str] = None,
            uid: Optional[str] = None) -> Cluster
    func GetCluster(ctx *Context, name string, id IDInput, state *ClusterState, opts ...ResourceOption) (*Cluster, error)
    public static Cluster Get(string name, Input<string> id, ClusterState? state, CustomResourceOptions? opts = null)
    public static Cluster get(String name, Output<String> id, ClusterState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AuthorizationMode string

    Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster. Default value is AUTH_MODE_DISABLED. Possible values are: AUTH_MODE_UNSPECIFIED, AUTH_MODE_IAM_AUTH, AUTH_MODE_DISABLED.

    CreateTime string

    The timestamp associated with the cluster creation request. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    DiscoveryEndpoints List<ClusterDiscoveryEndpoint>

    Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported. Structure is documented below.

    Name string

    Unique name of the resource in this scope including project and location using the form: projects/{projectId}/locations/{locationId}/clusters/{clusterId}

    Project string

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

    PscConfigs List<ClusterPscConfig>

    Required. Each PscConfig configures the consumer network where two network addresses will be designated to the cluster for client access. Currently, only one PscConfig is supported. Structure is documented below.

    PscConnections List<ClusterPscConnection>

    Output only. PSC connections for discovery of the cluster topology and accessing the cluster. Structure is documented below.

    Region string

    The name of the region of the Redis cluster.

    ReplicaCount int

    Optional. The number of replica nodes per shard.

    ShardCount int

    Required. Number of shards for the Redis cluster.

    SizeGb int

    Output only. 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

    StateInfos List<ClusterStateInfo>

    Output only. Additional information about the current state of the cluster. Structure is documented below.

    TransitEncryptionMode string

    Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster. Default value is TRANSIT_ENCRYPTION_MODE_DISABLED. Possible values are: TRANSIT_ENCRYPTION_MODE_UNSPECIFIED, TRANSIT_ENCRYPTION_MODE_DISABLED, TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION.

    Uid string

    System assigned, unique identifier for the cluster.

    AuthorizationMode string

    Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster. Default value is AUTH_MODE_DISABLED. Possible values are: AUTH_MODE_UNSPECIFIED, AUTH_MODE_IAM_AUTH, AUTH_MODE_DISABLED.

    CreateTime string

    The timestamp associated with the cluster creation request. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    DiscoveryEndpoints []ClusterDiscoveryEndpointArgs

    Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported. Structure is documented below.

    Name string

    Unique name of the resource in this scope including project and location using the form: projects/{projectId}/locations/{locationId}/clusters/{clusterId}

    Project string

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

    PscConfigs []ClusterPscConfigArgs

    Required. Each PscConfig configures the consumer network where two network addresses will be designated to the cluster for client access. Currently, only one PscConfig is supported. Structure is documented below.

    PscConnections []ClusterPscConnectionArgs

    Output only. PSC connections for discovery of the cluster topology and accessing the cluster. Structure is documented below.

    Region string

    The name of the region of the Redis cluster.

    ReplicaCount int

    Optional. The number of replica nodes per shard.

    ShardCount int

    Required. Number of shards for the Redis cluster.

    SizeGb int

    Output only. 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

    StateInfos []ClusterStateInfoArgs

    Output only. Additional information about the current state of the cluster. Structure is documented below.

    TransitEncryptionMode string

    Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster. Default value is TRANSIT_ENCRYPTION_MODE_DISABLED. Possible values are: TRANSIT_ENCRYPTION_MODE_UNSPECIFIED, TRANSIT_ENCRYPTION_MODE_DISABLED, TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION.

    Uid string

    System assigned, unique identifier for the cluster.

    authorizationMode String

    Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster. Default value is AUTH_MODE_DISABLED. Possible values are: AUTH_MODE_UNSPECIFIED, AUTH_MODE_IAM_AUTH, AUTH_MODE_DISABLED.

    createTime String

    The timestamp associated with the cluster creation request. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    discoveryEndpoints List<ClusterDiscoveryEndpoint>

    Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported. Structure is documented below.

    name String

    Unique name of the resource in this scope including project and location using the form: projects/{projectId}/locations/{locationId}/clusters/{clusterId}

    project String

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

    pscConfigs List<ClusterPscConfig>

    Required. Each PscConfig configures the consumer network where two network addresses will be designated to the cluster for client access. Currently, only one PscConfig is supported. Structure is documented below.

    pscConnections List<ClusterPscConnection>

    Output only. PSC connections for discovery of the cluster topology and accessing the cluster. Structure is documented below.

    region String

    The name of the region of the Redis cluster.

    replicaCount Integer

    Optional. The number of replica nodes per shard.

    shardCount Integer

    Required. Number of shards for the Redis cluster.

    sizeGb Integer

    Output only. 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

    stateInfos List<ClusterStateInfo>

    Output only. Additional information about the current state of the cluster. Structure is documented below.

    transitEncryptionMode String

    Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster. Default value is TRANSIT_ENCRYPTION_MODE_DISABLED. Possible values are: TRANSIT_ENCRYPTION_MODE_UNSPECIFIED, TRANSIT_ENCRYPTION_MODE_DISABLED, TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION.

    uid String

    System assigned, unique identifier for the cluster.

    authorizationMode string

    Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster. Default value is AUTH_MODE_DISABLED. Possible values are: AUTH_MODE_UNSPECIFIED, AUTH_MODE_IAM_AUTH, AUTH_MODE_DISABLED.

    createTime string

    The timestamp associated with the cluster creation request. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    discoveryEndpoints ClusterDiscoveryEndpoint[]

    Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported. Structure is documented below.

    name string

    Unique name of the resource in this scope including project and location using the form: projects/{projectId}/locations/{locationId}/clusters/{clusterId}

    project string

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

    pscConfigs ClusterPscConfig[]

    Required. Each PscConfig configures the consumer network where two network addresses will be designated to the cluster for client access. Currently, only one PscConfig is supported. Structure is documented below.

    pscConnections ClusterPscConnection[]

    Output only. PSC connections for discovery of the cluster topology and accessing the cluster. Structure is documented below.

    region string

    The name of the region of the Redis cluster.

    replicaCount number

    Optional. The number of replica nodes per shard.

    shardCount number

    Required. Number of shards for the Redis cluster.

    sizeGb number

    Output only. 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

    stateInfos ClusterStateInfo[]

    Output only. Additional information about the current state of the cluster. Structure is documented below.

    transitEncryptionMode string

    Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster. Default value is TRANSIT_ENCRYPTION_MODE_DISABLED. Possible values are: TRANSIT_ENCRYPTION_MODE_UNSPECIFIED, TRANSIT_ENCRYPTION_MODE_DISABLED, TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION.

    uid string

    System assigned, unique identifier for the cluster.

    authorization_mode str

    Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster. Default value is AUTH_MODE_DISABLED. Possible values are: AUTH_MODE_UNSPECIFIED, AUTH_MODE_IAM_AUTH, AUTH_MODE_DISABLED.

    create_time str

    The timestamp associated with the cluster creation request. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    discovery_endpoints Sequence[ClusterDiscoveryEndpointArgs]

    Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported. Structure is documented below.

    name str

    Unique name of the resource in this scope including project and location using the form: projects/{projectId}/locations/{locationId}/clusters/{clusterId}

    project str

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

    psc_configs Sequence[ClusterPscConfigArgs]

    Required. Each PscConfig configures the consumer network where two network addresses will be designated to the cluster for client access. Currently, only one PscConfig is supported. Structure is documented below.

    psc_connections Sequence[ClusterPscConnectionArgs]

    Output only. PSC connections for discovery of the cluster topology and accessing the cluster. Structure is documented below.

    region str

    The name of the region of the Redis cluster.

    replica_count int

    Optional. The number of replica nodes per shard.

    shard_count int

    Required. Number of shards for the Redis cluster.

    size_gb int

    Output only. 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_infos Sequence[ClusterStateInfoArgs]

    Output only. Additional information about the current state of the cluster. Structure is documented below.

    transit_encryption_mode str

    Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster. Default value is TRANSIT_ENCRYPTION_MODE_DISABLED. Possible values are: TRANSIT_ENCRYPTION_MODE_UNSPECIFIED, TRANSIT_ENCRYPTION_MODE_DISABLED, TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION.

    uid str

    System assigned, unique identifier for the cluster.

    authorizationMode String

    Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster. Default value is AUTH_MODE_DISABLED. Possible values are: AUTH_MODE_UNSPECIFIED, AUTH_MODE_IAM_AUTH, AUTH_MODE_DISABLED.

    createTime String

    The timestamp associated with the cluster creation request. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

    discoveryEndpoints List<Property Map>

    Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported. Structure is documented below.

    name String

    Unique name of the resource in this scope including project and location using the form: projects/{projectId}/locations/{locationId}/clusters/{clusterId}

    project String

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

    pscConfigs List<Property Map>

    Required. Each PscConfig configures the consumer network where two network addresses will be designated to the cluster for client access. Currently, only one PscConfig is supported. Structure is documented below.

    pscConnections List<Property Map>

    Output only. PSC connections for discovery of the cluster topology and accessing the cluster. Structure is documented below.

    region String

    The name of the region of the Redis cluster.

    replicaCount Number

    Optional. The number of replica nodes per shard.

    shardCount Number

    Required. Number of shards for the Redis cluster.

    sizeGb Number

    Output only. 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

    stateInfos List<Property Map>

    Output only. Additional information about the current state of the cluster. Structure is documented below.

    transitEncryptionMode String

    Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster. Default value is TRANSIT_ENCRYPTION_MODE_DISABLED. Possible values are: TRANSIT_ENCRYPTION_MODE_UNSPECIFIED, TRANSIT_ENCRYPTION_MODE_DISABLED, TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION.

    uid String

    System assigned, unique identifier for the cluster.

    Supporting Types

    ClusterDiscoveryEndpoint, ClusterDiscoveryEndpointArgs

    Address string

    Output only. The IP allocated on the consumer network for the PSC forwarding rule.

    Port int

    Output only. The port number of the exposed Redis endpoint.

    PscConfig ClusterDiscoveryEndpointPscConfig

    Output only. Customer configuration for where the endpoint is created and accessed from. Structure is documented below.

    Address string

    Output only. The IP allocated on the consumer network for the PSC forwarding rule.

    Port int

    Output only. The port number of the exposed Redis endpoint.

    PscConfig ClusterDiscoveryEndpointPscConfig

    Output only. Customer configuration for where the endpoint is created and accessed from. Structure is documented below.

    address String

    Output only. The IP allocated on the consumer network for the PSC forwarding rule.

    port Integer

    Output only. The port number of the exposed Redis endpoint.

    pscConfig ClusterDiscoveryEndpointPscConfig

    Output only. Customer configuration for where the endpoint is created and accessed from. Structure is documented below.

    address string

    Output only. The IP allocated on the consumer network for the PSC forwarding rule.

    port number

    Output only. The port number of the exposed Redis endpoint.

    pscConfig ClusterDiscoveryEndpointPscConfig

    Output only. Customer configuration for where the endpoint is created and accessed from. Structure is documented below.

    address str

    Output only. The IP allocated on the consumer network for the PSC forwarding rule.

    port int

    Output only. The port number of the exposed Redis endpoint.

    psc_config ClusterDiscoveryEndpointPscConfig

    Output only. Customer configuration for where the endpoint is created and accessed from. Structure is documented below.

    address String

    Output only. The IP allocated on the consumer network for the PSC forwarding rule.

    port Number

    Output only. The port number of the exposed Redis endpoint.

    pscConfig Property Map

    Output only. Customer configuration for where the endpoint is created and accessed from. Structure is documented below.

    ClusterDiscoveryEndpointPscConfig, ClusterDiscoveryEndpointPscConfigArgs

    Network string

    Required. The consumer network where the network address of the discovery endpoint will be reserved, in the form of projects/{network_project_id_or_number}/global/networks/{network_id}.


    Network string

    Required. The consumer network where the network address of the discovery endpoint will be reserved, in the form of projects/{network_project_id_or_number}/global/networks/{network_id}.


    network String

    Required. The consumer network where the network address of the discovery endpoint will be reserved, in the form of projects/{network_project_id_or_number}/global/networks/{network_id}.


    network string

    Required. The consumer network where the network address of the discovery endpoint will be reserved, in the form of projects/{network_project_id_or_number}/global/networks/{network_id}.


    network str

    Required. The consumer network where the network address of the discovery endpoint will be reserved, in the form of projects/{network_project_id_or_number}/global/networks/{network_id}.


    network String

    Required. The consumer network where the network address of the discovery endpoint will be reserved, in the form of projects/{network_project_id_or_number}/global/networks/{network_id}.


    ClusterPscConfig, ClusterPscConfigArgs

    Network string

    Required. The consumer network where the network address of the discovery endpoint will be reserved, in the form of projects/{network_project_id_or_number}/global/networks/{network_id}.


    Network string

    Required. The consumer network where the network address of the discovery endpoint will be reserved, in the form of projects/{network_project_id_or_number}/global/networks/{network_id}.


    network String

    Required. The consumer network where the network address of the discovery endpoint will be reserved, in the form of projects/{network_project_id_or_number}/global/networks/{network_id}.


    network string

    Required. The consumer network where the network address of the discovery endpoint will be reserved, in the form of projects/{network_project_id_or_number}/global/networks/{network_id}.


    network str

    Required. The consumer network where the network address of the discovery endpoint will be reserved, in the form of projects/{network_project_id_or_number}/global/networks/{network_id}.


    network String

    Required. The consumer network where the network address of the discovery endpoint will be reserved, in the form of projects/{network_project_id_or_number}/global/networks/{network_id}.


    ClusterPscConnection, ClusterPscConnectionArgs

    Address string

    Output only. The IP allocated on the consumer network for the PSC forwarding rule.

    ForwardingRule string

    Output only. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.

    Network string

    Required. The consumer network where the network address of the discovery endpoint will be reserved, in the form of projects/{network_project_id_or_number}/global/networks/{network_id}.


    ProjectId string

    Output only. The consumer projectId where the forwarding rule is created from.

    PscConnectionId string

    Output only. The PSC connection id of the forwarding rule connected to the service attachment.

    Address string

    Output only. The IP allocated on the consumer network for the PSC forwarding rule.

    ForwardingRule string

    Output only. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.

    Network string

    Required. The consumer network where the network address of the discovery endpoint will be reserved, in the form of projects/{network_project_id_or_number}/global/networks/{network_id}.


    ProjectId string

    Output only. The consumer projectId where the forwarding rule is created from.

    PscConnectionId string

    Output only. The PSC connection id of the forwarding rule connected to the service attachment.

    address String

    Output only. The IP allocated on the consumer network for the PSC forwarding rule.

    forwardingRule String

    Output only. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.

    network String

    Required. The consumer network where the network address of the discovery endpoint will be reserved, in the form of projects/{network_project_id_or_number}/global/networks/{network_id}.


    projectId String

    Output only. The consumer projectId where the forwarding rule is created from.

    pscConnectionId String

    Output only. The PSC connection id of the forwarding rule connected to the service attachment.

    address string

    Output only. The IP allocated on the consumer network for the PSC forwarding rule.

    forwardingRule string

    Output only. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.

    network string

    Required. The consumer network where the network address of the discovery endpoint will be reserved, in the form of projects/{network_project_id_or_number}/global/networks/{network_id}.


    projectId string

    Output only. The consumer projectId where the forwarding rule is created from.

    pscConnectionId string

    Output only. The PSC connection id of the forwarding rule connected to the service attachment.

    address str

    Output only. The IP allocated on the consumer network for the PSC forwarding rule.

    forwarding_rule str

    Output only. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.

    network str

    Required. The consumer network where the network address of the discovery endpoint will be reserved, in the form of projects/{network_project_id_or_number}/global/networks/{network_id}.


    project_id str

    Output only. The consumer projectId where the forwarding rule is created from.

    psc_connection_id str

    Output only. The PSC connection id of the forwarding rule connected to the service attachment.

    address String

    Output only. The IP allocated on the consumer network for the PSC forwarding rule.

    forwardingRule String

    Output only. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.

    network String

    Required. The consumer network where the network address of the discovery endpoint will be reserved, in the form of projects/{network_project_id_or_number}/global/networks/{network_id}.


    projectId String

    Output only. The consumer projectId where the forwarding rule is created from.

    pscConnectionId String

    Output only. The PSC connection id of the forwarding rule connected to the service attachment.

    ClusterStateInfo, ClusterStateInfoArgs

    UpdateInfo ClusterStateInfoUpdateInfo

    A nested object resource Structure is documented below.

    UpdateInfo ClusterStateInfoUpdateInfo

    A nested object resource Structure is documented below.

    updateInfo ClusterStateInfoUpdateInfo

    A nested object resource Structure is documented below.

    updateInfo ClusterStateInfoUpdateInfo

    A nested object resource Structure is documented below.

    update_info ClusterStateInfoUpdateInfo

    A nested object resource Structure is documented below.

    updateInfo Property Map

    A nested object resource Structure is documented below.

    ClusterStateInfoUpdateInfo, ClusterStateInfoUpdateInfoArgs

    TargetReplicaCount int

    Target number of replica nodes per shard.

    TargetShardCount int

    Target number of shards for redis cluster.

    TargetReplicaCount int

    Target number of replica nodes per shard.

    TargetShardCount int

    Target number of shards for redis cluster.

    targetReplicaCount Integer

    Target number of replica nodes per shard.

    targetShardCount Integer

    Target number of shards for redis cluster.

    targetReplicaCount number

    Target number of replica nodes per shard.

    targetShardCount number

    Target number of shards for redis cluster.

    target_replica_count int

    Target number of replica nodes per shard.

    target_shard_count int

    Target number of shards for redis cluster.

    targetReplicaCount Number

    Target number of replica nodes per shard.

    targetShardCount Number

    Target number of shards for redis cluster.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the google-beta Terraform Provider.

    gcp logo
    Google Cloud Classic v6.67.0 published on Wednesday, Sep 27, 2023 by Pulumi