You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/memcache/metadata.yaml
+44-34Lines changed: 44 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -46,24 +46,53 @@ spec:
46
46
location: examples/valkey
47
47
interfaces:
48
48
variables:
49
+
- name: region
50
+
description: The GCP region to use.
51
+
varType: string
52
+
required: true
53
+
- name: project_id
54
+
description: The ID of the project in which the resource belongs to.
55
+
varType: string
56
+
required: true
57
+
- name: enable_apis
58
+
description: Flag for enabling memcache.googleapis.com in your project
59
+
varType: bool
60
+
defaultValue: true
61
+
- name: name
62
+
description: The ID of the instance or a fully qualified identifier for the instance.
63
+
varType: string
64
+
required: true
65
+
- name: memcache_version
66
+
description: The major version of Memcached software.
67
+
varType: string
49
68
- name: authorized_network
50
69
description: The full name of the Google Compute Engine network to which the instance is connected. If left unspecified, the default network will be used.
51
70
varType: string
71
+
- name: node_count
72
+
description: Number of nodes in the memcache instance.
73
+
varType: number
74
+
defaultValue: 1
52
75
- name: cpu_count
53
76
description: Number of CPUs per node
54
77
varType: number
55
78
defaultValue: 1
79
+
- name: memory_size_mb
80
+
description: Memcache memory size in MiB. Defaulted to 1024
81
+
varType: number
82
+
defaultValue: 1024
83
+
- name: zones
84
+
description: Zones where memcache nodes should be provisioned. If not provided, all zones will be used.
85
+
varType: list(string)
56
86
- name: display_name
57
87
description: An arbitrary and optional user-provided name for the instance.
58
88
varType: string
59
-
- name: enable_apis
60
-
description: Flag for enabling memcache.googleapis.com in your project
61
-
varType: bool
62
-
defaultValue: true
63
89
- name: labels
64
90
description: The resource labels to represent user provided metadata.
65
91
varType: map(string)
66
92
defaultValue: {}
93
+
- name: params
94
+
description: Parameters for the memcache process
95
+
varType: map(string)
67
96
- name: maintenance_policy
68
97
description: The maintenance policy for an instance.
69
98
varType: |-
@@ -77,35 +106,6 @@ spec:
77
106
nanos = number
78
107
})
79
108
})
80
-
- name: memcache_version
81
-
description: The major version of Memcached software.
82
-
varType: string
83
-
- name: memory_size_mb
84
-
description: Memcache memory size in MiB. Defaulted to 1024
85
-
varType: number
86
-
defaultValue: 1024
87
-
- name: name
88
-
description: The ID of the instance or a fully qualified identifier for the instance.
89
-
varType: string
90
-
required: true
91
-
- name: node_count
92
-
description: Number of nodes in the memcache instance.
93
-
varType: number
94
-
defaultValue: 1
95
-
- name: params
96
-
description: Parameters for the memcache process
97
-
varType: map(string)
98
-
- name: project_id
99
-
description: The ID of the project in which the resource belongs to.
100
-
varType: string
101
-
required: true
102
-
- name: region
103
-
description: The GCP region to use.
104
-
varType: string
105
-
required: true
106
-
- name: zones
107
-
description: Zones where memcache nodes should be provisioned. If not provided, all zones will be used.
Copy file name to clipboardExpand all lines: modules/redis-cluster/metadata.yaml
+46-38Lines changed: 46 additions & 38 deletions
Original file line number
Diff line number
Diff line change
@@ -46,52 +46,42 @@ spec:
46
46
location: examples/valkey
47
47
interfaces:
48
48
variables:
49
-
- name: authorization_mode
50
-
description: "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"
51
-
varType: string
52
-
defaultValue: AUTH_MODE_DISABLED
53
-
- name: deletion_protection_enabled
54
-
description: " Indicates if the cluster is deletion protected or not. If the value if set to true, any delete cluster operation will fail. Default value is true"
55
-
varType: bool
56
-
defaultValue: true
57
-
- name: enable_apis
58
-
description: Flag for enabling memcache.googleapis.com in your project
59
-
varType: bool
60
-
defaultValue: true
61
49
- name: name
62
50
description: The ID of the instance or a fully qualified identifier for the instance. must be 1 to 63 characters and use only lowercase letters, numbers, or hyphens. It must start with a lowercase letter and end with a lowercase letter or number
63
51
varType: string
64
52
required: true
65
-
- name: network
66
-
description: List of 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}. Currently, only one item is supported
67
-
varType: list(string)
68
-
required: true
69
-
- name: node_type
70
-
description: "The nodeType for the Redis cluster. If not provided, REDIS_HIGHMEM_MEDIUM will be used as default Possible values are: REDIS_SHARED_CORE_NANO, REDIS_HIGHMEM_MEDIUM, REDIS_HIGHMEM_XLARGE, REDIS_STANDARD_SMALL."
71
-
varType: string
72
53
- name: project_id
73
54
description: The ID of the project in which the resource belongs to.
74
55
varType: string
75
56
required: true
76
-
- name: redis_configs
77
-
description: Configure Redis Cluster behavior using a subset of native Redis configuration parameters
78
-
varType: |-
79
-
object({
80
-
maxmemory-clients = optional(string)
81
-
maxmemory = optional(string)
82
-
maxmemory-policy = optional(string)
83
-
notify-keyspace-events = optional(string)
84
-
slowlog-log-slower-than = optional(number)
85
-
maxclients = optional(number)
86
-
})
87
57
- name: region
88
58
description: The name of the region of the Redis cluster
89
59
varType: string
90
60
required: true
61
+
- name: enable_apis
62
+
description: Flag for enabling memcache.googleapis.com in your project
63
+
varType: bool
64
+
defaultValue: true
65
+
- name: shard_count
66
+
description: Required. Number of shards for the Redis cluster. The minimum number of shards in a Memorystore cluster is 3 shards
67
+
varType: number
68
+
defaultValue: 3
91
69
- name: replica_count
92
70
description: The number of replica nodes per shard. Each shard can have 0, 1, or 2 replica nodes. Replicas provide high availability and additional read throughput, and are evenly distributed across zones
93
71
varType: number
94
72
defaultValue: 0
73
+
- name: transit_encryption_mode
74
+
description: "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"
75
+
varType: string
76
+
defaultValue: TRANSIT_ENCRYPTION_MODE_DISABLED
77
+
- name: authorization_mode
78
+
description: "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"
79
+
varType: string
80
+
defaultValue: AUTH_MODE_DISABLED
81
+
- name: network
82
+
description: List of 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}. Currently, only one item is supported
83
+
varType: list(string)
84
+
required: true
95
85
- name: service_connection_policies
96
86
description: The Service Connection Policies to create
97
87
varType: |-
@@ -104,21 +94,31 @@ spec:
104
94
labels = optional(map(string), {})
105
95
}))
106
96
defaultValue: {}
107
-
- name: shard_count
108
-
description: Required. Number of shards for the Redis cluster. The minimum number of shards in a Memorystore cluster is 3 shards
109
-
varType: number
110
-
defaultValue: 3
111
-
- name: transit_encryption_mode
112
-
description: "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"
97
+
- name: node_type
98
+
description: "The nodeType for the Redis cluster. If not provided, REDIS_HIGHMEM_MEDIUM will be used as default Possible values are: REDIS_SHARED_CORE_NANO, REDIS_HIGHMEM_MEDIUM, REDIS_HIGHMEM_XLARGE, REDIS_STANDARD_SMALL."
113
99
varType: string
114
-
defaultValue: TRANSIT_ENCRYPTION_MODE_DISABLED
100
+
- name: redis_configs
101
+
description: Configure Redis Cluster behavior using a subset of native Redis configuration parameters
102
+
varType: |-
103
+
object({
104
+
maxmemory-clients = optional(string)
105
+
maxmemory = optional(string)
106
+
maxmemory-policy = optional(string)
107
+
notify-keyspace-events = optional(string)
108
+
slowlog-log-slower-than = optional(number)
109
+
maxclients = optional(number)
110
+
})
115
111
- name: zone_distribution_config_mode
116
112
description: "The mode for zone distribution for Memorystore Redis cluster (Immutable). If not provided, MULTI_ZONE will be used as default value. Possible values are: MULTI_ZONE, SINGLE_ZONE"
117
113
varType: string
118
114
defaultValue: MULTI_ZONE
119
115
- name: zone_distribution_config_zone
120
116
description: The zone for single zone Memorystore Redis cluster (Immutable)
121
117
varType: string
118
+
- name: deletion_protection_enabled
119
+
description: " Indicates if the cluster is deletion protected or not. If the value if set to true, any delete cluster operation will fail. Default value is true"
120
+
varType: bool
121
+
defaultValue: true
122
122
outputs:
123
123
- name: discovery_endpoints
124
124
description: Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one endpoint is supported
0 commit comments