export declare const ClusterAuthorizationMode: { /** * Not set. */ readonly AuthModeUnspecified: "AUTH_MODE_UNSPECIFIED"; /** * IAM basic authorization mode */ readonly AuthModeIamAuth: "AUTH_MODE_IAM_AUTH"; /** * Authorization disabled mode */ readonly AuthModeDisabled: "AUTH_MODE_DISABLED"; }; /** * Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster. */ export type ClusterAuthorizationMode = (typeof ClusterAuthorizationMode)[keyof typeof ClusterAuthorizationMode]; export declare const ClusterTransitEncryptionMode: { /** * In-transit encryption not set. */ readonly TransitEncryptionModeUnspecified: "TRANSIT_ENCRYPTION_MODE_UNSPECIFIED"; /** * In-transit encryption disabled. */ readonly TransitEncryptionModeDisabled: "TRANSIT_ENCRYPTION_MODE_DISABLED"; /** * Use server managed encryption for in-transit encryption. */ readonly TransitEncryptionModeServerAuthentication: "TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION"; }; /** * Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster. */ export type ClusterTransitEncryptionMode = (typeof ClusterTransitEncryptionMode)[keyof typeof ClusterTransitEncryptionMode]; export declare const InstanceConnectMode: { /** * Not set. */ readonly ConnectModeUnspecified: "CONNECT_MODE_UNSPECIFIED"; /** * Connect via direct peering to the Memorystore for Redis hosted service. */ readonly DirectPeering: "DIRECT_PEERING"; /** * Connect your Memorystore for Redis instance using Private Service Access. Private services access provides an IP address range for multiple Google Cloud services, including Memorystore. */ readonly PrivateServiceAccess: "PRIVATE_SERVICE_ACCESS"; }; /** * Optional. The network connect mode of the Redis instance. If not provided, the connect mode defaults to DIRECT_PEERING. */ export type InstanceConnectMode = (typeof InstanceConnectMode)[keyof typeof InstanceConnectMode]; export declare const InstanceReadReplicasMode: { /** * If not set, Memorystore Redis backend will default to READ_REPLICAS_DISABLED. */ readonly ReadReplicasModeUnspecified: "READ_REPLICAS_MODE_UNSPECIFIED"; /** * If disabled, read endpoint will not be provided and the instance cannot scale up or down the number of replicas. */ readonly ReadReplicasDisabled: "READ_REPLICAS_DISABLED"; /** * If enabled, read endpoint will be provided and the instance can scale up and down the number of replicas. Not valid for basic tier. */ readonly ReadReplicasEnabled: "READ_REPLICAS_ENABLED"; }; /** * Optional. Read replicas mode for the instance. Defaults to READ_REPLICAS_DISABLED. */ export type InstanceReadReplicasMode = (typeof InstanceReadReplicasMode)[keyof typeof InstanceReadReplicasMode]; export declare const InstanceSuspensionReasonsItem: { /** * Not set. */ readonly SuspensionReasonUnspecified: "SUSPENSION_REASON_UNSPECIFIED"; /** * Something wrong with the CMEK key provided by customer. */ readonly CustomerManagedKeyIssue: "CUSTOMER_MANAGED_KEY_ISSUE"; }; export type InstanceSuspensionReasonsItem = (typeof InstanceSuspensionReasonsItem)[keyof typeof InstanceSuspensionReasonsItem]; export declare const InstanceTier: { /** * Not set. */ readonly TierUnspecified: "TIER_UNSPECIFIED"; /** * BASIC tier: standalone instance */ readonly Basic: "BASIC"; /** * STANDARD_HA tier: highly available primary/replica instances */ readonly StandardHa: "STANDARD_HA"; }; /** * Required. The service tier of the instance. */ export type InstanceTier = (typeof InstanceTier)[keyof typeof InstanceTier]; export declare const InstanceTransitEncryptionMode: { /** * Not set. */ readonly TransitEncryptionModeUnspecified: "TRANSIT_ENCRYPTION_MODE_UNSPECIFIED"; /** * Client to Server traffic encryption enabled with server authentication. */ readonly ServerAuthentication: "SERVER_AUTHENTICATION"; /** * TLS is disabled for the instance. */ readonly Disabled: "DISABLED"; }; /** * Optional. The TLS mode of the Redis instance. If not provided, TLS is disabled for the instance. */ export type InstanceTransitEncryptionMode = (typeof InstanceTransitEncryptionMode)[keyof typeof InstanceTransitEncryptionMode]; export declare const PersistenceConfigPersistenceMode: { /** * Not set. */ readonly PersistenceModeUnspecified: "PERSISTENCE_MODE_UNSPECIFIED"; /** * Persistence is disabled for the instance, and any existing snapshots are deleted. */ readonly Disabled: "DISABLED"; /** * RDB based Persistence is enabled. */ readonly Rdb: "RDB"; }; /** * Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used. */ export type PersistenceConfigPersistenceMode = (typeof PersistenceConfigPersistenceMode)[keyof typeof PersistenceConfigPersistenceMode]; export declare const PersistenceConfigRdbSnapshotPeriod: { /** * Not set. */ readonly SnapshotPeriodUnspecified: "SNAPSHOT_PERIOD_UNSPECIFIED"; /** * Snapshot every 1 hour. */ readonly OneHour: "ONE_HOUR"; /** * Snapshot every 6 hours. */ readonly SixHours: "SIX_HOURS"; /** * Snapshot every 12 hours. */ readonly TwelveHours: "TWELVE_HOURS"; /** * Snapshot every 24 hours. */ readonly TwentyFourHours: "TWENTY_FOUR_HOURS"; }; /** * Optional. Period between RDB snapshots. Snapshots will be attempted every period starting from the provided snapshot start time. For example, a start time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and 00:45 the next day, and so on. If not provided, TWENTY_FOUR_HOURS will be used as default. */ export type PersistenceConfigRdbSnapshotPeriod = (typeof PersistenceConfigRdbSnapshotPeriod)[keyof typeof PersistenceConfigRdbSnapshotPeriod]; export declare const WeeklyMaintenanceWindowDay: { /** * The day of the week is unspecified. */ readonly DayOfWeekUnspecified: "DAY_OF_WEEK_UNSPECIFIED"; /** * Monday */ readonly Monday: "MONDAY"; /** * Tuesday */ readonly Tuesday: "TUESDAY"; /** * Wednesday */ readonly Wednesday: "WEDNESDAY"; /** * Thursday */ readonly Thursday: "THURSDAY"; /** * Friday */ readonly Friday: "FRIDAY"; /** * Saturday */ readonly Saturday: "SATURDAY"; /** * Sunday */ readonly Sunday: "SUNDAY"; }; /** * Required. The day of week that maintenance updates occur. */ export type WeeklyMaintenanceWindowDay = (typeof WeeklyMaintenanceWindowDay)[keyof typeof WeeklyMaintenanceWindowDay];