Download OpenAPI specification:Download
Redis Cloud API
Current account and related information
{- "account": {
- "id": 1001,
- "name": "Redis Labs",
- "createdTimestamp": "2018-12-23T15:15:31Z",
- "updatedTimestamp": "2022-10-12T10:54:10Z",
- "pocStatus": "inactive",
- "marketplaceStatus": "active",
- "key": {
- "name": "capi-api-key-name",
- "accountId": 1001,
- "accountName": "Redis Labs",
- "allowedSourceIps": [
- "0.0.0.0/0"
], - "createdTimestamp": "2022-05-11T12:05:47Z",
- "owner": {
- "name": "CAPI user",
- "email": "capi.user@redis.com"
}, - "userAccountId": 1,
- "httpSourceIp": "79.0.0.173"
}
}
}
Lookup list of data persistence values
{- "dataPersistence": [
- {
- "name": "none",
- "description": "None"
}, - {
- "name": "aof-every-1-second",
- "description": "Append only file (AOF) - fsync every 1 second"
}, - {
- "name": "aof-every-write",
- "description": "Append only file (AOF) - fsync every write"
}, - {
- "name": "snapshot-every-1-hour",
- "description": "Snapshot every 1 hour"
}, - {
- "name": "snapshot-every-6-hours",
- "description": "Snapshot every 6 hour"
}, - {
- "name": "snapshot-every-12-hours",
- "description": "Snapshot every 12 hour"
}
], - "links": [
]
}
Lookup list of database modules supported in current account (support may differ based on subscription and database settings)
{- "modules": [
- {
- "name": "RedisBloom",
- "capabilityName": "Probabilistic",
- "description": "A set of probabilistic data structures to Redis, including Bloom filter, Cuckoo filter, Count-min sketch, Top-K, and t-digest",
- "parameters": [ ]
}, - {
- "name": "RedisJSON",
- "capabilityName": "JSON",
- "description": "Native JSON Data Type for Redis, allowing for atomic reads and writes of sub-elements",
- "parameters": [ ]
}, - {
- "name": "RediSearch",
- "capabilityName": "Search and query",
- "description": "A comprehensive, expressive, flexible, fast and developer-friendly search and query engine for the diversity of data types in Redis with state-of-the-art scoring algorithms",
- "parameters": [
- {
- "name": "number-of-documents",
- "description": "Expected number of documents the database module will be indexing",
- "type": "integer",
- "defaultValue": 1000000,
- "required": false
}
]
}, - {
- "name": "RedisTimeSeries",
- "capabilityName": "Time series",
- "description": "Time-Series data structure for redis",
- "parameters": [ ]
}
]
}
Lookup list of current Account's payment methods
{- "accountId": 1001,
- "paymentMethods": [
- {
- "id": 2,
- "type": "Visa",
- "creditCardEndsWith": "9349",
- "nameOnCard": "CAPI User",
- "expirationMonth": 2,
- "expirationYear": 2026,
- "links": [ ]
}
]
}
Lookup list of regions for cloud provider
provider | string Enum: "AWS" "GCP" Provider Name |
{- "regions": [
- {
- "name": "us-east-1",
- "provider": "AWS"
}, - {
- "name": "us-west-1",
- "provider": "AWS"
}, - {
- "name": "us-west-2",
- "provider": "AWS"
}, - {
- "name": "eu-west-1",
- "provider": "AWS"
}, - {
- "name": "eu-central-1",
- "provider": "AWS"
}, - {
- "name": "ap-northeast-1",
- "provider": "AWS"
}, - {
- "name": "ap-southeast-1",
- "provider": "AWS"
}, - {
- "name": "ap-southeast-2",
- "provider": "AWS"
}, - {
- "name": "sa-east-1",
- "provider": "AWS"
}, - {
- "name": "us-east-2",
- "provider": "AWS"
}, - {
- "name": "eu-west-2",
- "provider": "AWS"
}, - {
- "name": "eu-west-3",
- "provider": "AWS"
}, - {
- "name": "eu-north-1",
- "provider": "AWS"
}, - {
- "name": "ca-central-1",
- "provider": "AWS"
}, - {
- "name": "ap-east-1",
- "provider": "AWS"
}, - {
- "name": "ap-south-1",
- "provider": "AWS"
}, - {
- "name": "asia-east1",
- "provider": "GCP"
}, - {
- "name": "asia-east2",
- "provider": "GCP"
}, - {
- "name": "asia-northeast1",
- "provider": "GCP"
}, - {
- "name": "asia-northeast2",
- "provider": "GCP"
}, - {
- "name": "asia-south1",
- "provider": "GCP"
}, - {
- "name": "asia-southeast1",
- "provider": "GCP"
}, - {
- "name": "australia-southeast1",
- "provider": "GCP"
}, - {
- "name": "europe-north1",
- "provider": "GCP"
}, - {
- "name": "europe-west1",
- "provider": "GCP"
}, - {
- "name": "europe-west2",
- "provider": "GCP"
}, - {
- "name": "europe-west3",
- "provider": "GCP"
}, - {
- "name": "europe-west4",
- "provider": "GCP"
}, - {
- "name": "europe-west6",
- "provider": "GCP"
}, - {
- "name": "northamerica-northeast1",
- "provider": "GCP"
}, - {
- "name": "southamerica-east1",
- "provider": "GCP"
}, - {
- "name": "us-central1",
- "provider": "GCP"
}, - {
- "name": "us-east1",
- "provider": "GCP"
}, - {
- "name": "us-east4",
- "provider": "GCP"
}, - {
- "name": "us-west1",
- "provider": "GCP"
}, - {
- "name": "us-west2",
- "provider": "GCP"
}
]
}
System log information for current account
offset | integer <int32> Number of items to skip |
limit | integer <int32> [ 1 .. 1000 ] Example: limit=100 Maximum number of items to return, but not more than 1000 |
{- "entries": [
- {
- "id": 2900349,
- "time": "2022-10-12T10:54:31Z",
- "originator": "example-value",
- "type": "Account",
- "description": "example-value (example.value@redislabs.com)'s user name was changed to Example Value"
}, - {
- "id": 2900348,
- "time": "2022-10-12T10:54:11Z",
- "originator": "invalid-name",
- "type": "Account",
- "description": "Invited invalid-name (cab@fufu.com) to join team"
}
]
}
Create an active active specific region AWS transit gateway attachment
subscriptionId required | integer <int32> Subscription Id |
regionId required | integer <int32> Example: 1 Region id (required for active-active subscription) |
TgwId required | integer <int32> Tgw Id |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Create an AWS transit gateway attachment
subscriptionId required | integer <int32> Subscription Id |
TgwId required | integer <int32> Tgw Id |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Create a new region in an active-active subscription
subscriptionId required | integer <int32> Subscription Id |
region | string Name of region to add as defined by cloud provider |
deploymentCIDR required | string Deployment CIDR mask. Default: 192.168.0.0/24 |
dryRun | boolean Optional. When 'false': Creates a deployment plan and deploys it (creating any resources required by the plan). When 'true': creates a read-only deployment plan without any resource creation. Default: 'false' |
Array of objects (CrdbRegionSpec) List of databases with local throughput for the new region | |
respVersion | string Deprecated Enum: "resp2" "resp3" Optional. RESP version must be compatible with Redis version. |
{- "region": "string",
- "deploymentCIDR": "10.0.0.0/24",
- "dryRun": false,
- "databases": [
- {
- "name": "string",
- "localThroughputMeasurement": {
- "region": "string",
- "writeOperationsPerSecond": 1000,
- "readOperationsPerSecond": 1000
}
}
], - "respVersion": "resp3"
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Create a new VPC peering in an existing active-active subscription. For details, see documentation
subscriptionId required | integer <int32> Subscription Id |
provider | string |
sourceRegion | string Name of region to create a VPC peering from |
destinationRegion required | string Name of region to create a VPC peering to |
awsAccountId required | string AWS Account uid |
vpcId required | string VPC Id |
vpcCidr | string Optional. VPC CIDR |
vpcCidrs | Array of strings Optional. List of VPC CIDRs |
{- "provider": "string",
- "region": "us-east-1",
- "awsAccountId": "<aws-account-id>",
- "vpcId": "<vpc-identifier>",
- "vpcCidrs": [
- "<10.10.10.0/24>",
- "<10.10.20.0/24>"
]
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Create a new subscription
name | string Optional. Subscription name |
dryRun | boolean Optional. When 'false': Creates a deployment plan and deploys it (creating any resources required by the plan). When 'true': creates a read-only deployment plan without any resource creation. Default: 'false' |
deploymentType | string Enum: "single-region" "active-active" Optional. When 'single-region' or null: Creates a single region subscription. When 'active-active': creates an active-active (multi-region) subscription |
paymentMethod | string Enum: "credit-card" "marketplace" Optional. The payment method for the requested subscription. If ‘credit-card’ is specified, ‘paymentMethodId’ must be defined. Default: 'credit-card |
paymentMethodId | integer <int32> Optional. A valid payment method that was pre-defined in the current account. This value is Optional if ‘paymentMethod’ is ‘marketplace’, but Required for all other account types. |
memoryStorage | string Enum: "ram" "ram-and-flash" Optional. Memory storage preference: either 'ram' or a combination of 'ram-and-flash'. Default: 'ram' |
required | Array of objects (SubscriptionSpec) Required. Cloud hosting & networking details |
required | Array of objects (SubscriptionDatabaseSpec) Required. Databases specifications for each planned database |
redisVersion | string Optional. If specified, the redisVersion defines the Redis version of the databases in the subscription. If omitted, the Redis version will be the default (available in 'GET /subscriptions/redis-versions') |
{- "name": "My new subscription",
- "dryRun": false,
- "deploymentType": "single-region",
- "paymentMethod": "credit-card",
- "paymentMethodId": 12345,
- "memoryStorage": "ram",
- "persistentStorageEncryption": true,
- "cloudProviders": [
- {
- "provider": "AWS",
- "regions": [
- {
- "region": "us-east-1",
- "multipleAvailabilityZones": true,
- "preferredAvailabilityZones": [
- "use1-az1",
- "use1-az4",
- "use1-az5"
], - "networking": {
- "deploymentCIDR": "10.0.0.0/24"
}
}
]
}
], - "databases": [
- {
- "name": "Redis-database-example",
- "protocol": "redis",
- "datasetSizeInGb": 2,
- "supportOSSClusterApi": false,
- "dataPersistence": "none",
- "replication": true,
- "throughputMeasurement": {
- "by": "operations-per-second",
- "value": 10000
}, - "quantity": 1
}
]
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Create a new VPC peering in an existing subscription. VPC peering for Google Cloud Provider must be enabled using the GCloud command line. For details, see documentation
subscriptionId required | integer <int32> Subscription Id |
provider | string |
region required | string Deployment region as defined by cloud provider |
awsAccountId required | string AWS Account uid |
vpcId required | string VPC uid |
vpcCidr | string Optional. VPC CIDR |
vpcCidrs | Array of strings Optional. List of VPC CIDRs |
{- "provider": "string",
- "sourceRegion": "string",
- "destinationRegion": "us-east-1",
- "awsAccountId": "<aws-account-id>",
- "vpcId": "<vpc-identifier>",
- "vpcCidrs": [
- "<10.10.10.0/24>",
- "<10.10.20.0/24>"
]
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Delete an active active specific region AWS transit gateway attachment
subscriptionId required | integer <int32> Subscription Id |
regionId required | integer <int32> Example: 1 Region id (required for active-active subscription) |
TgwId required | integer <int32> Tgw Id |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Delete an AWS transit gateway attachment
subscriptionId required | integer <int32> Subscription Id |
TgwId required | integer <int32> Tgw Id |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Delete one or more regions from an active-active subscription
subscriptionId required | integer <int32> Subscription Id |
Array of objects (ActiveActiveRegionToDelete) List of names of regions to delete | |
dryRun | boolean Optional. When 'false': Creates a deployment plan and deploys it (creating any resources required by the plan). When 'true': creates a read-only deployment plan without any resource creation. Default: 'false' |
{- "regions": [
- {
- "region": "string"
}
], - "dryRun": false
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Delete a VPC peering from an existing active-active subscription.
subscriptionId required | integer <int32> Subscription Id |
peeringId required | integer <int32> VpcPeering Id |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Delete a subscription identified by subscription Id (subscription must be empty, i.e. cannot contain databases)
subscriptionId required | integer <int32> Subscription Id |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Deletes a VPC peering identified by an id
subscriptionId required | integer <int32> Subscription Id |
peeringId required | integer <int32> VpcPeering Id |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Get Active Active tgws details
subscriptionId required | integer <int32> Subscription Id |
regionId required | integer <int32> Example: 1 Region id (required for active-active subscription) |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Get all regions of an active-active subscription
subscriptionId required | integer <int32> Subscription Id |
{- "subscriptionId": 126,
- "regions": [
- {
- "regionId": 1,
- "region": "us-east-1",
- "deploymentCidr": "10.0.0.0/24",
- "vpcId": "vpc-0bf863584c46321e4",
- "databases": [
- {
- "databaseId": 862,
- "databaseName": "Bdb",
- "readOperationsPerSecond": 500,
- "writeOperationsPerSecond": 500,
- "respVersion": "resp3",
- "links": [ ]
}, - {
- "databaseId": 864,
- "databaseName": "Bdb2",
- "readOperationsPerSecond": 1000,
- "writeOperationsPerSecond": 1000,
- "respVersion": "resp3",
- "links": [ ]
}
], - "links": [ ]
}, - {
- "regionId": 4,
- "region": "eu-west-1",
- "deploymentCidr": "10.0.1.0/24",
- "vpcId": "vpc-0108fb753063ecf8b",
- "databases": [
- {
- "databaseId": 862,
- "databaseName": "Bdb",
- "readOperationsPerSecond": 500,
- "writeOperationsPerSecond": 500,
- "respVersion": "resp3",
- "links": [ ]
}, - {
- "databaseId": 864,
- "databaseName": "Bdb2",
- "readOperationsPerSecond": 1000,
- "writeOperationsPerSecond": 1000,
- "respVersion": "resp3",
- "links": [ ]
}
], - "links": [ ]
}
], - "links": [
- {
- "rel": "self",
- "type": "GET"
}
]
}
Get VPC peering details for an active-active subscription.
subscriptionId required | integer <int32> Subscription Id |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Information on subscription identified by subscription Id
subscriptionId required | integer <int32> Subscription Id |
{- "id": 1206,
- "name": "updated new name",
- "status": "active",
- "deploymentType": "single-region",
- "paymentMethodId": 2,
- "memoryStorage": "ram",
- "numberOfDatabases": 6,
- "paymentMethodType": "credit-card",
- "storageEncryption": false,
- "subscriptionPricing": [
- {
- "type": "Shards",
- "typeDetails": "high-throughput",
- "quantity": 7,
- "quantityMeasurement": "shards",
- "pricePerUnit": 0.124,
- "priceCurrency": "USD",
- "pricePeriod": "hour"
}
], - "cloudDetails": [
- {
- "provider": "AWS",
- "cloudAccountId": 2,
- "totalSizeInGb": 0.0272,
- "regions": [
- {
- "region": "us-east-1",
- "networking": [
- {
- "deploymentCIDR": "10.0.0.0/24",
- "subnetId": "subnet-009ce004ed90da8a6"
}
], - "preferredAvailabilityZones": [
- "us-east-1a"
], - "multipleAvailabilityZones": false
}
], - "links": [ ]
}
], - "links": [
- {
- "rel": "self",
- "type": "GET"
}
]
}
Get CIDR whitelist
subscriptionId required | integer <int32> Subscription Id |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Get maintenance windows for subscription
subscriptionId required | integer <int32> Subscription Id |
{- "mode": "manual",
- "timeZone": "string",
- "windows": [
- {
- "days": [
- "string"
], - "startHour": 0,
- "durationInHours": 0
}
], - "skipStatus": {
- "remainingSkips": 0,
- "currentSkipEnd": "string"
}
}
Get VPC peering details
subscriptionId required | integer <int32> Subscription Id |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Get subscription pricing by by subscription Id
subscriptionId required | integer <int32> Subscription Id |
{- "pricing": [
- {
- "type": "string",
- "typeDetails": "string",
- "quantity": 0,
- "quantityMeasurement": "string",
- "pricePerUnit": 0.1,
- "priceCurrency": "string",
- "pricePeriod": "string",
- "region": "string"
}
]
}
Get tgws details
subscriptionId required | integer <int32> Subscription Id |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Information on current account's subscriptions
{- "accountId": 1001,
- "subscriptions": [
- {
- "id": 1206,
- "name": "subscription name",
- "status": "active",
- "deploymentType": "single-region",
- "paymentMethodId": 123,
- "memoryStorage": "ram",
- "numberOfDatabases": 6,
- "paymentMethodType": "credit-card",
- "storageEncryption": false,
- "subscriptionPricing": [
- {
- "type": "Shards",
- "typeDetails": "high-throughput",
- "quantity": 7,
- "quantityMeasurement": "shards",
- "pricePerUnit": 0.124,
- "priceCurrency": "USD",
- "pricePeriod": "hour"
}
], - "cloudDetails": [
- {
- "provider": "AWS",
- "cloudAccountId": 1666,
- "totalSizeInGb": 0.0272,
- "regions": [
- {
- "region": "us-east-1",
- "networking": [
- {
- "deploymentCIDR": "10.0.0.0/24",
- "subnetId": "subnet-009ce004ed90da8a6"
}
], - "preferredAvailabilityZones": [
- "us-east-1a"
], - "multipleAvailabilityZones": false
}
], - "links": [ ]
}
], - "links": [ ]
}
]
}
Update an active active specific region AWS transit gateway attachment
subscriptionId required | integer <int32> Subscription Id |
regionId required | integer <int32> Example: 1 Region id (required for active-active subscription) |
TgwId required | integer <int32> Tgw Id |
Array of objects (Cidr) Optional. List of attachment CIDRs |
{- "cidrs": [
- "10.10.10.0/24",
- "10.10.20.0/24"
]
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Update an AWS transit gateway attachment
subscriptionId required | integer <int32> Subscription Id |
TgwId required | integer <int32> Tgw Id |
Array of objects (Cidr) Optional. List of attachment CIDRs |
{- "cidrs": [
- "10.10.10.0/24",
- "10.10.20.0/24"
]
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Update an existing VPC peering in an existing active-active subscription.
subscriptionId required | integer <int32> Subscription Id |
peeringId required | integer <int32> VpcPeering Id |
vpcCidr | string Optional. VPC CIDR |
vpcCidrs | Array of strings Optional. List of VPC CIDRs |
{- "vpcCidrs": [
- "<10.10.10.0/24>",
- "<10.10.20.0/24>"
]
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Update an existing subscription by Id
subscriptionId required | integer <int32> Subscription Id |
name | string Subscription name |
paymentMethodId | integer <int32> Optional. A valid payment method that was pre-defined in the current account. This value is Optional if ‘paymentMethod’ is ‘marketplace’, but Required for all other account types. |
paymentMethod | string Enum: "credit-card" "marketplace" Optional. The payment method for the requested subscription. If ‘credit-card’ is specified, ‘paymentMethodId’ must be defined. Default: 'credit-card |
{- "name": "My new subscription name",
- "paymentMethodId": 0,
- "paymentMethod": "credit-card"
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Update subscription CIDR whitelist
subscriptionId required | integer <int32> Subscription Id |
cidrIps | Array of strings CIDR values in an array format (example: ['10.1.1.0/32']) |
securityGroupIds | Array of strings AWS Security group identifier |
{- "cidrIps": [
- "string"
], - "securityGroupIds": [
- "string"
]
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Update maintenance windows for subscription
subscriptionId required | integer <int32> Subscription Id |
mode required | string Enum: "manual" "automatic" Required. Maintenance window mode: either 'manual' or 'automatic'. Must provide windows property if manual. Default: 'automatic' |
Array of objects (MaintenanceWindowSpec) Maintenance window specifications if mode is set to 'manual'. Up to 7 windows can be provided. |
{- "mode": "manual",
- "windows": [
- {
- "startHour": 12,
- "durationInHours": 8,
- "days": [
- "Monday",
- "Wednesday"
]
}
]
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Update an existing VPC peering in an existing subscription.
subscriptionId required | integer <int32> Subscription Id |
peeringId required | integer <int32> VpcPeering Id |
vpcCidr | string Optional. VPC CIDR |
vpcCidrs | Array of strings Optional. List of VPC CIDRs |
{- "vpcCidrs": [
- "<10.10.10.0/24>",
- "<10.10.20.0/24>"
]
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Add single database tag for a given resource
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
key required | string Required. Database tag key |
value required | string Required. Database tag value |
{- "key": "environment",
- "value": "production"
}
{- "key": "environment",
- "value": "production",
- "createdAt": "2024-05-21T20:02:21+02:00",
- "updatedAt": "2024-06-21T20:02:21+02:00",
- "links": [
- {
- "rel": "self",
- "type": "GET",
}
]
}
Manually backup a database into the destination defined for it
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
regionName | string Optional. Name of cloud provider region where the local database is located. When backing up an active-active database, backup is done separately for each local database at a specified region. |
adhocBackupPath | string Optional. Path for ad-hoc backup. |
{- "regionName": "string",
- "adhocBackupPath": "s3://<backup-path>"
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Information on the latest database backup status identified by subscription Id and database Id
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
regionName | string Region name (required for active-active subscription) |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Create a new database
subscriptionId required | integer <int32> Subscription Id |
dryRun | boolean Optional. When 'false': Creates a deployment plan and deploys it (creating any resources required by the plan). When 'true': creates a read-only deployment plan without any resource creation. Default: 'true' |
name required | string Required. Database name (Database name must be up to 40 characters long, include only letters, digits, or hyphen ('-'), start with a letter, and end with a letter or digit) |
protocol | string Enum: "redis" "memcached" Optional. Database protocol. Default: 'redis' |
port | integer <int32> Optional. TCP port on which the database is available (10000-19999). Generated automatically if omitted |
memoryLimitInGb | number <double> >= 0.1 Deprecated - Optional. Total memory including replication and other overhead |
datasetSizeInGb | number <double> >= 0.1 Optional. The maximum amount of data in the dataset for this specific database is in GB. You can not set both datasetSizeInGb and totalMemoryInGb. if 'replication' is true, the database’s total memory will be twice as large as the datasetSizeInGb.if 'replication' is false, the database’s total memory of the database will be the datasetSizeInGb value. |
respVersion | string Enum: "resp2" "resp3" Optional. RESP version must be compatible with Redis version. |
supportOSSClusterApi | boolean Optional. Support Redis open-source (OSS) Cluster API. Default: 'false' |
useExternalEndpointForOSSClusterApi | boolean Optional. Should use external endpoint for open-source (OSS) Cluster API. Can only be enabled if OSS Cluster API support is enabled'. Default: 'false' |
dataPersistence | string Enum: "none" "aof-every-1-second" "aof-every-write" "snapshot-every-1-hour" "snapshot-every-6-hours" "snapshot-every-12-hours" Optional. Rate of database data persistence (in persistent storage). Default: 'none' |
dataEvictionPolicy | string Enum: "allkeys-lru" "allkeys-lfu" "allkeys-random" "volatile-lru" "volatile-lfu" "volatile-random" "volatile-ttl" "noeviction" Optional. Data items eviction method. Default: 'volatile-lru' |
replication | boolean Optional. Databases replication. Default: 'true' |
replicaOf | Array of strings Deprecated Deprecated - Optional. This database will be a replica of the specified Redis databases provided as one or more URI (sample format: 'redis://user:password@host:port)'. If the URI provided is Redis Cloud instance, only host and port should be provided (using the format: ['redis://endpoint1:6379', 'redis://endpoint2:6380']). |
object (ReplicaOfSpec) Optional. Replica Of configuration | |
object (DatabaseThroughputSpec) Optional. Throughput measurement method. Default: 25000 ops/sec | |
Array of objects (LocalThroughput) Optional. Throughput measurement for an active-active subscription | |
averageItemSizeInBytes | integer <int64> Optional. Relevant only to ram-and-flash subscriptions. Estimated average size (measured in bytes) of the items stored in the database, Default: 1000 |
periodicBackupPath | string Deprecated - If specified, automatic backups will be every 24 hours or database will be able to perform immediate backups to this path. If empty string is received, backup path will be removed. Optional. |
object (DatabaseBackupConfig) Optional. Database remote backup configuration | |
sourceIp | Array of strings Optional. List of source IP addresses or subnet masks. If specified, Redis clients will be able to connect to this database only from within the specified source IP addresses ranges. example value: '['192.168.10.0/32', '192.168.12.0/24']' |
clientSslCertificate | string Deprecated - Optional. A string containing TLS/SSL certificate (public key) with new line characters replaced by \n. If specified, mTLS authentication (with enableTls not specified or set to true) will be required to authenticate user connections. If empty string is received, SSL certificate will be removed and mTLS will not be required (note that TLS connection may still apply, depending on the value of the enableTls property). Default: 'null'" |
Array of objects (DatabaseCertificateSpec) Optional. A list of TLS/SSL certificates (public keys) with new line characters replaced by \n. If specified, mTLS authentication (with enableTls not specified or set to true) will be required to authenticate user connections. If empty list is received, SSL certificates will be removed and mTLS will not be required (note that TLS connection may still apply, depending on the value of the enableTls property). Default: 'null'" | |
enableTls | boolean Optional. When 'true', requires TLS authentication for all connections (mTLS with valid clientSslCertificate, regular TLS when the clientSslCertificate is not provided. Default: 'false' |
password | string Optional. Password to access the database. If omitted, a random 32 character long alphanumeric password will be automatically generated. Can only be set if Database Protocol is REDIS |
saslUsername | string Optional. Memcached (SASL) Username to access the database. If omitted, the username will be set to a 'mc-' prefix followed by a random 5 character long alphanumeric. Can only be set if Database Protocol is MEMCACHED |
saslPassword | string Optional. Memcached (SASL) Password to access the database. If omitted, a random 32 character long alphanumeric password will be automatically generated. Can only be set if Database Protocol is MEMCACHED |
Array of objects (DatabaseAlertSpec) Optional. Redis database alerts | |
Array of objects (DatabaseModuleSpec) Optional. Redis modules to be provisioned in the database | |
queryPerformanceFactor | string Optional. The query performance factor adds extra compute power specifically for search and query. For databases with search and query, you can increase your search queries per second by the selected factor. |
{- "dryRun": false,
- "name": "Redis-database-example",
- "port": 10000,
- "datasetSizeInGb": 1,
- "dataEvictionPolicy": "allkeys-lru",
- "replication": true,
- "throughputMeasurement": {
- "by": "operations-per-second",
- "value": 10000
}, - "alerts": [
- {
- "name": "dataset-size",
- "value": 80
}
]
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Delete a specific database identified by subscription Id and database Id
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Delete database tag for a given resource by tag key
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
tagKey required | string Example: environment Tag key |
{ }
Flush database data
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
{ }
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Information on a specific database identified by subscription Id and database Id
subscriptionId required | integer <int32> >= 0 Subscription Id |
databaseId required | integer <int32> >= 0 Database Id |
{- "databaseId": 1,
- "name": "DB-RCP-2-81-7",
- "protocol": "redis",
- "provider": "AWS",
- "region": "us-east-1",
- "redisVersion": "7.4",
- "respVersion": "resp3",
- "status": "active",
- "datasetSizeInGb": 2,
- "memoryUsedInMb": 4,
- "memoryStorage": "ram",
- "supportOSSClusterApi": true,
- "useExternalEndpointForOSSClusterApi": true,
- "dataPersistence": "snapshot-every-1-hour",
- "replication": false,
- "dataEvictionPolicy": "noeviction",
- "throughputMeasurement": {
- "by": "operations-per-second",
- "value": 2500
}, - "activatedOn": "2021-08-29T13:03:08Z",
- "lastModified": "2021-08-29T13:03:08Z",
- "publicEndpoint": "redis-17571.c235866.us-east-1-1.ec2.qa-cloud.rlrcp.com:17571",
- "privateEndpoint": "redis-17571.internal.c235866.us-east-1-1.ec2.qa-cloud.rlrcp.com:17571",
- "replica": {
- "syncSources": [
- {
- "endpoint": "redis://localhost:6379",
- "encryption": true,
- "clientCert": "-----BEGIN CERTIFICATE-----\n ... -----END CERTIFICATE-----"
}
]
}, - "clustering": {
- "numberOfShards": 1,
- "regexRules": [
- {
- "ordinal": 1,
- "pattern": "(?<tag>.*)"
}, - {
- "ordinal": 0,
- "pattern": ".*\\{(?<tag>.*)\\}.*"
}
], - "hashingPolicy": "standard"
}, - "security": {
- "enableDefaultUser": true,
- "password": "redis123456redis",
- "sslClientAuthentication": false,
- "tlsClientAuthentication": false,
- "enableTls": false,
- "sourceIps": [
- "0.0.0.0/0"
]
}, - "modules": [
- {
- "id": 18536,
- "name": "RedisJSON",
- "capabilityName": "JSON",
- "version": "2.0.6",
- "description": "Native JSON Data Type for Redis, allowing for atomic reads and writes of sub-elements",
- "parameters": [ ]
}
], - "alerts": [ ],
- "links": [
- {
- "rel": "self",
- "type": "GET"
}
]
}
X.509 PEM (base64) encoded certificate for TLS connection to the database
subscriptionId required | integer <int32> >= 0 Subscription Id |
databaseId required | integer <int32> >= 0 Database Id |
{- "publicCertificatePEMString": "string"
}
Get database tags for a given resource
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
{- "accountId": 40131,
- "tags": [
- {
- "key": "environment",
- "value": "production",
- "createdAt": "2024-05-21T20:02:21+02:00",
- "updatedAt": "2024-06-21T20:02:21+02:00",
- "links": [ ]
}, - {
- "key": "owner",
- "value": "Clifford O'neill",
- "createdAt": "2024-05-21T20:02:21+02:00",
- "updatedAt": "2024-06-21T20:02:21+02:00",
- "links": [ ]
}
], - "links": [
- {
- "rel": "self",
- "type": "GET"
}
]
}
Information on databases belonging to subscription identified by subscription Id
subscriptionId required | integer <int32> >= 0 Subscription Id |
offset | integer <int32> Number of items to skip |
limit | integer <int32> Example: limit=100 Maximum number of items to return |
{- "accountId": 1001,
- "subscription": [
- {
- "subscriptionId": 1206,
- "numberOfDatabases": 6,
- "databases": [
- {
- "databaseId": 1,
- "name": "DB-RCP-2-81-7",
- "protocol": "redis",
- "provider": "AWS",
- "region": "us-east-1",
- "redisVersion": "7.4",
- "respVersion": "resp2",
- "status": "active",
- "datasetSizeInGb": 2,
- "memoryUsedInMb": 4,
- "memoryStorage": "ram",
- "supportOSSClusterApi": true,
- "useExternalEndpointForOSSClusterApi": true,
- "dataPersistence": "snapshot-every-1-hour",
- "replication": false,
- "dataEvictionPolicy": "noeviction",
- "throughputMeasurement": {
- "by": "operations-per-second",
- "value": 2500
}, - "activatedOn": "2021-08-29T13:03:08Z",
- "lastModified": "2021-08-29T13:03:08Z",
- "publicEndpoint": "redis-17571.c235866.us-east-1-1.ec2.qa-cloud.rlrcp.com:17571",
- "privateEndpoint": "redis-17571.internal.c235866.us-east-1-1.ec2.qa-cloud.rlrcp.com:17571",
- "replica": {
- "syncSources": [
- {
- "endpoint": "redis://localhost:6379",
- "encryption": true,
- "clientCert": "-----BEGIN CERTIFICATE-----\n ... -----END CERTIFICATE-----"
}
]
}, - "clustering": {
- "numberOfShards": 1,
- "regexRules": [
- {
- "ordinal": 1,
- "pattern": "(?<tag>.*)"
}, - {
- "ordinal": 0,
- "pattern": ".*\\{(?<tag>.*)\\}.*"
}
], - "hashingPolicy": "standard"
}, - "security": {
- "enableDefaultUser": true,
- "sslClientAuthentication": false,
- "tlsClientAuthentication": false,
- "enableTls": false,
- "sourceIps": [
- "0.0.0.0/0"
]
}, - "modules": [
- {
- "id": 18536,
- "name": "RedisJSON",
- "capabilityName": "JSON",
- "version": "2.0.6",
- "description": "Native JSON Data Type for Redis, allowing for atomic reads and writes of sub-elements",
- "parameters": [ ]
}
], - "alerts": [ ],
- "links": [ ]
}, - {
- "databaseId": 2,
- "name": "DB-RCP-2-81-5",
- "protocol": "redis",
- "provider": "AWS",
- "region": "us-east-1",
- "redisVersion": "7.4",
- "status": "active",
- "datasetSizeInGb": 2,
- "memoryUsedInMb": 2,
- "memoryStorage": "ram",
- "supportOSSClusterApi": true,
- "useExternalEndpointForOSSClusterApi": true,
- "dataPersistence": "snapshot-every-1-hour",
- "replication": false,
- "dataEvictionPolicy": "noeviction",
- "throughputMeasurement": {
- "by": "operations-per-second",
- "value": 25000
}, - "activatedOn": "2021-08-29T13:03:27Z",
- "lastModified": "2021-08-29T13:03:27Z",
- "publicEndpoint": "redis-11836.c235866.us-east-1-1.ec2.qa-cloud.rlrcp.com:11836",
- "privateEndpoint": "redis-11836.internal.c235866.us-east-1-1.ec2.qa-cloud.rlrcp.com:11836",
- "replica": {
- "syncSources": [
- {
- "endpoint": "redis://localhost:6379",
- "encryption": true,
- "clientCert": "-----BEGIN CERTIFICATE-----\n ... -----END CERTIFICATE-----"
}
]
}, - "clustering": {
- "numberOfShards": 1,
- "regexRules": [
- {
- "ordinal": 0,
- "pattern": ".*\\{(?<tag>.*)\\}.*"
}, - {
- "ordinal": 1,
- "pattern": "(?<tag>.*)"
}
], - "hashingPolicy": "standard"
}, - "security": {
- "enableDefaultUser": true,
- "sslClientAuthentication": false,
- "tlsClientAuthentication": false,
- "enableTls": false,
- "sourceIps": [
- "0.0.0.0/0"
]
}, - "modules": [
- {
- "id": 6652,
- "name": "RediSearch",
- "capabilityName": "Search and query",
- "version": "2.0.11",
- "description": "A comprehensive, expressive, flexible, fast and developer-friendly search and query engine for the diversity of data types in Redis with state-of-the-art scoring algorithms",
- "parameters": [ ]
}
], - "alerts": [ ],
- "links": [ ]
}, - {
- "databaseId": 3,
- "name": "Redis-database-example-updated",
- "protocol": "redis",
- "provider": "AWS",
- "region": "us-east-1",
- "redisVersion": "7.4",
- "status": "active",
- "datasetSizeInGb": 2,
- "memoryUsedInMb": 2,
- "memoryStorage": "ram",
- "supportOSSClusterApi": true,
- "useExternalEndpointForOSSClusterApi": true,
- "dataPersistence": "snapshot-every-1-hour",
- "replication": false,
- "dataEvictionPolicy": "noeviction",
- "throughputMeasurement": {
- "by": "operations-per-second",
- "value": 2500
}, - "activatedOn": "2021-08-29T13:03:26Z",
- "lastModified": "2021-08-29T13:03:26Z",
- "publicEndpoint": "redis-19708.c235866.us-east-1-1.ec2.qa-cloud.rlrcp.com:19708",
- "privateEndpoint": "redis-19708.internal.c235866.us-east-1-1.ec2.qa-cloud.rlrcp.com:19708",
- "replica": {
- "syncSources": [
- {
- "endpoint": "redis://localhost:6379",
- "encryption": true,
- "clientCert": "-----BEGIN CERTIFICATE-----\n ... -----END CERTIFICATE-----"
}
]
}, - "clustering": {
- "numberOfShards": 1,
- "regexRules": [
- {
- "ordinal": 1,
- "pattern": "(?<tag>.*)"
}, - {
- "ordinal": 0,
- "pattern": ".*\\{(?<tag>.*)\\}.*"
}
], - "hashingPolicy": "standard"
}, - "security": {
- "enableDefaultUser": false,
- "sslClientAuthentication": false,
- "tlsClientAuthentication": false,
- "enableTls": false,
- "sourceIps": [
- "0.0.0.0/0"
]
}, - "modules": [
- {
- "id": 18536,
- "name": "RedisJSON",
- "capabilityName": "JSON",
- "version": "2.0.6",
- "description": "Native JSON Data Type for Redis, allowing for atomic reads and writes of sub-elements",
- "parameters": [ ]
}
], - "alerts": [ ],
- "links": [ ]
}, - {
- "databaseId": 4,
- "name": "DB-RCP-2-81-6",
- "protocol": "redis",
- "provider": "AWS",
- "region": "us-east-1",
- "redisVersion": "7.4",
- "status": "active",
- "datasetSizeInGb": 2,
- "memoryUsedInMb": 2,
- "memoryStorage": "ram",
- "supportOSSClusterApi": true,
- "useExternalEndpointForOSSClusterApi": true,
- "dataPersistence": "snapshot-every-1-hour",
- "replication": false,
- "dataEvictionPolicy": "noeviction",
- "throughputMeasurement": {
- "by": "operations-per-second",
- "value": 25000
}, - "activatedOn": "2021-08-29T13:03:27Z",
- "lastModified": "2021-08-29T13:03:27Z",
- "publicEndpoint": "redis-14503.c235866.us-east-1-1.ec2.qa-cloud.rlrcp.com:14503",
- "privateEndpoint": "redis-14503.internal.c235866.us-east-1-1.ec2.qa-cloud.rlrcp.com:14503",
- "replica": {
- "syncSources": [
- {
- "endpoint": "redis://localhost:6379",
- "encryption": true,
- "clientCert": "-----BEGIN CERTIFICATE-----\n ... -----END CERTIFICATE-----"
}
]
}, - "clustering": {
- "numberOfShards": 1,
- "regexRules": [
- {
- "ordinal": 1,
- "pattern": "(?<tag>.*)"
}, - {
- "ordinal": 0,
- "pattern": ".*\\{(?<tag>.*)\\}.*"
}
], - "hashingPolicy": "standard"
}, - "security": {
- "enableDefaultUser": true,
- "sslClientAuthentication": false,
- "tlsClientAuthentication": false,
- "enableTls": false,
- "sourceIps": [
- "0.0.0.0/0"
]
}, - "modules": [
- {
- "id": 6653,
- "name": "RedisTimeSeries",
- "capabilityName": "Time series",
- "version": "1.4.10",
- "description": "Time-Series data structure for redis",
- "parameters": [ ]
}
], - "alerts": [ ],
- "links": [ ]
}, - {
- "databaseId": 5,
- "name": "CI-tests-DO-NOT-DELETE",
- "protocol": "redis",
- "provider": "AWS",
- "region": "us-east-1",
- "redisVersion": "7.4",
- "status": "active",
- "datasetSizeInGb": 2,
- "memoryUsedInMb": 4,
- "memoryStorage": "ram",
- "supportOSSClusterApi": false,
- "useExternalEndpointForOSSClusterApi": false,
- "dataPersistence": "none",
- "replication": true,
- "dataEvictionPolicy": "volatile-lru",
- "throughputMeasurement": {
- "by": "operations-per-second",
- "value": 25000
}, - "activatedOn": "2021-08-29T13:03:22Z",
- "lastModified": "2021-08-29T13:03:22Z",
- "publicEndpoint": "redis-11349.c235866.us-east-1-1.ec2.qa-cloud.rlrcp.com:11349",
- "privateEndpoint": "redis-11349.internal.c235866.us-east-1-1.ec2.qa-cloud.rlrcp.com:11349",
- "replica": {
- "syncSources": [
- {
- "endpoint": "redis://localhost:6379",
- "encryption": true,
- "clientCert": "-----BEGIN CERTIFICATE-----\n ... -----END CERTIFICATE-----"
}
]
}, - "clustering": {
- "numberOfShards": 1,
- "regexRules": [ ],
- "hashingPolicy": "standard"
}, - "security": {
- "enableDefaultUser": true,
- "sslClientAuthentication": false,
- "tlsClientAuthentication": false,
- "enableTls": false,
- "sourceIps": [
- "0.0.0.0/0"
]
}, - "modules": [ ],
- "alerts": [ ],
- "links": [ ]
}, - {
- "databaseId": 6,
- "name": "DB-RCP-2-81-4",
- "protocol": "redis",
- "provider": "AWS",
- "region": "us-east-1",
- "redisVersion": "7.4",
- "status": "active",
- "datasetSizeInGb": 2,
- "memoryUsedInMb": 1,
- "memoryStorage": "ram",
- "supportOSSClusterApi": true,
- "useExternalEndpointForOSSClusterApi": true,
- "dataPersistence": "snapshot-every-1-hour",
- "replication": false,
- "dataEvictionPolicy": "noeviction",
- "throughputMeasurement": {
- "by": "operations-per-second",
- "value": 25000
}, - "activatedOn": "2021-08-29T13:03:27Z",
- "lastModified": "2021-08-29T13:03:27Z",
- "publicEndpoint": "redis-13074.c235866.us-east-1-1.ec2.qa-cloud.rlrcp.com:13074",
- "privateEndpoint": "redis-13074.internal.c235866.us-east-1-1.ec2.qa-cloud.rlrcp.com:13074",
- "replica": {
- "syncSources": [
- {
- "endpoint": "redis://localhost:6379",
- "encryption": true,
- "clientCert": "-----BEGIN CERTIFICATE-----\n ... -----END CERTIFICATE-----"
}
]
}, - "clustering": {
- "numberOfShards": 1,
- "regexRules": [
- {
- "ordinal": 1,
- "pattern": "(?<tag>.*)"
}, - {
- "ordinal": 0,
- "pattern": ".*\\{(?<tag>.*)\\}.*"
}
], - "hashingPolicy": "standard"
}, - "security": {
- "enableDefaultUser": true,
- "sslClientAuthentication": false,
- "tlsClientAuthentication": false,
- "enableTls": false,
- "sourceIps": [
- "0.0.0.0/0"
]
}, - "modules": [
- {
- "id": 6651,
- "name": "RediSearch",
- "capabilityName": "Search and query",
- "version": "2.0.11",
- "description": "A comprehensive, expressive, flexible, fast and developer-friendly search and query engine for the diversity of data types in Redis with state-of-the-art scoring algorithms",
- "parameters": [ ]
}
], - "alerts": [ ],
- "links": [ ]
}
], - "links": [ ]
}
], - "links": [
- {
- "rel": "self",
- "type": "GET"
}
]
}
Import data from an RDB file or a different Redis database
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
sourceType required | string Enum: "http" "redis" "ftp" "aws-s3" "azure-blob-storage" "google-blob-storage" Required. Type of storage source from which to import the database file (RDB files) or data (Redis connection) |
importFromUri required | Array of strings Required. One or more URIs to source data files or Redis databases, as appropriate to specified source type (example: ['http://mydomain.com/redis-backup-file1', 'http://mydomain.com/redis-backup-file2']) |
{- "sourceType": "http",
- "importFromUri": [
- "string"
]
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Information on the latest database import status identified by subscription Id and database Id
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Override database tags for a given resource
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
required | Array of objects (tag) Required. database tags |
{- "tags": [
- {
- "key": "environment",
- "value": "production"
}
]
}
{- "accountId": 40131,
- "tags": [
- {
- "key": "environment",
- "value": "production",
- "createdAt": "2024-05-21T20:02:21+02:00",
- "updatedAt": "2024-06-21T20:02:21+02:00",
- "links": [ ]
}, - {
- "key": "owner",
- "value": "Clifford O'neill",
- "createdAt": "2024-05-21T20:02:21+02:00",
- "updatedAt": "2024-06-21T20:02:21+02:00",
- "links": [ ]
}
], - "links": [
- {
- "rel": "self",
- "type": "GET"
}
]
}
Update active-active local database properties
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
name | string Optional. Database name (Database name must be up to 40 characters long, include only letters, digits, or hyphen ('-'), start with a letter, and end with a letter or digit) |
dryRun | boolean Optional. When 'false': Creates a deployment plan and deploys it (creating any resources required by the plan). When 'true': creates a read-only deployment plan without any resource creation. Default: 'false' |
memoryLimitInGb | number <double> >= 0.1 Deprecated - Optional. Total memory including replication and other overhead |
datasetSizeInGb | number <double> >= 0.1 Optional. The maximum amount of data in the dataset for this specific database is in GB. You can not set both datasetSizeInGb and totalMemoryInGb. if ‘replication’ is true, the database’s total memory will be twice as large as the datasetSizeInGb.if ‘replication’ is false, the database’s total memory of the database will be the datasetSizeInGb value. |
supportOSSClusterApi | boolean Optional. Support Redis open-source (OSS) Cluster API |
useExternalEndpointForOSSClusterApi | boolean Optional. Should use external endpoint for open-source (OSS) Cluster API. Can only be enabled if OSS Cluster API support is enabled. Default: 'false' |
clientSslCertificate | string Deprecated - Optional. A string containing TLS/SSL certificate (public key) with new line characters replaced by \n. If specified, mTLS authentication (with enableTls not specified or set to true) will be required to authenticate user connections. If empty string is received, SSL certificate will be removed and mTLS will not be required (note that TLS connection may still apply, depending on the value of the enableTls property). Default: 'null'" |
Array of objects (DatabaseCertificateSpec) Optional. A list of TLS/SSL certificates (public keys) with new line characters replaced by \n. If specified, mTLS authentication (with enableTls not specified or set to true) will be required to authenticate user connections. If empty list is received, SSL certificates will be removed and mTLS will not be required (note that TLS connection may still apply, depending on the value of the enableTls property). Default: 'null'" | |
enableTls | boolean Optional. When 'true', requires TLS authentication for all connections (mTLS with valid clientSslCertificate, regular TLS when the clientSslCertificate is not provided) |
globalDataPersistence | string Enum: "none" "aof-every-1-second" "aof-every-write" "snapshot-every-1-hour" "snapshot-every-6-hours" "snapshot-every-12-hours" Optional. Global rate of database data persistence (in persistent storage) of regions that dont override global settings. Default: 'none' |
globalPassword | string Optional. Password to access the database of regions that dont override global settings. |
globalSourceIp | Array of strings Optional. List of source IP addresses or subnet masks of regions that dont override global settings. If specified, Redis clients will be able to connect to this database only from within the specified source IP addresses ranges (example: ['192.168.10.0/32', '192.168.12.0/24'] ) |
Array of objects (DatabaseAlertSpec) Optional. Redis database alerts of regions that don't override global settings | |
Array of objects (LocalRegionProperties) Optional. List or regions to update | |
dataEvictionPolicy | string Enum: "allkeys-lru" "allkeys-lfu" "allkeys-random" "volatile-lru" "volatile-lfu" "volatile-random" "volatile-ttl" "noeviction" Optional. Data items eviction method. |
{- "datasetSizeInGb": 5,
- "regions": [
- {
- "region": "us-east-1",
- "localThroughputMeasurement": {
- "region": "us-east-1",
- "writeOperationsPerSecond": 1000,
- "readOperationsPerSecond": 2000
}, - "alerts": [
- {
- "name": "dataset-size",
- "value": 80
}
]
}
], - "dataEvictionPolicy": "allkeys-lru"
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Update an existing database
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
dryRun | boolean Optional. When 'false': Creates a deployment plan and deploys it (creating any resources required by the plan). When 'true': creates a read-only deployment plan without any resource creation. Default: 'false' |
name | string Optional. Database name |
memoryLimitInGb | number <double> >= 0.1 Deprecated - Optional. Total memory including replication and other overhead |
datasetSizeInGb | number <double> >= 0.1 Optional. The maximum amount of data in the dataset for this specific database is in GB. You can not set both datasetSizeInGb and totalMemoryInGb. if ‘replication’ is true, the database’s total memory will be twice as large as the datasetSizeInGb.if ‘replication’ is false, the database’s total memory of the database will be the datasetSizeInGb value. |
respVersion | string Enum: "resp2" "resp3" Optional. RESP version must be compatible with Redis version. |
object (DatabaseThroughputSpec) Optional. Throughput measurement method. Default: 25000 ops/sec | |
dataPersistence | string Enum: "none" "aof-every-1-second" "aof-every-write" "snapshot-every-1-hour" "snapshot-every-6-hours" "snapshot-every-12-hours" Optional. Rate of database data persistence (in persistent storage) |
dataEvictionPolicy | string Enum: "allkeys-lru" "allkeys-lfu" "allkeys-random" "volatile-lru" "volatile-lfu" "volatile-random" "volatile-ttl" "noeviction" Optional. Data items eviction method |
replication | boolean Optional. Databases replication |
regexRules | Array of strings Optional. Shard regex rules. Relevant only for a sharded database |
replicaOf | Array of strings Deprecated Deprecated - Optional. This database will be a replica of the specified Redis databases provided as one or more URI (sample format: 'redis://user:password@host:port)'. If the URI provided is Redis Cloud instance, only host and port should be provided (using the format: ['redis://endpoint1:6379', 'redis://endpoint2:6380'] ). |
object (ReplicaOfSpec) Optional. Replica Of configuration | |
supportOSSClusterApi | boolean Optional. Support Redis open-source (OSS) Cluster API |
useExternalEndpointForOSSClusterApi | boolean Optional. Should use external endpoint for open-source (OSS) Cluster API. Can only be enabled if OSS Cluster API support is enabled'. Default: 'false' |
password | string Optional. If specified, this password will be used to access the database. Can only be set if Database Protocol is REDIS |
saslUsername | string Optional. If specified, this Memcached (SASL) username will be used to access the database. Can only be set if Database Protocol is Memcached |
saslPassword | string Optional. If specified, this Memcached (SASL) password will be used to access the database. Can only be set if Database Protocol is Memcached |
sourceIp | Array of strings Optional. List of source IP addresses or subnet masks. If specified, Redis clients will be able to connect to this database only from within the specified source IP addresses ranges (example: ['192.168.10.0/32', '192.168.12.0/24'] ) |
clientSslCertificate | string Deprecated - Optional. A string containing TLS/SSL certificate (public key) with new line characters replaced by \n. If specified, mTLS authentication (with enableTls not specified or set to true) will be required to authenticate user connections. If empty string is received, SSL certificate will be removed and mTLS will not be required (note that TLS connection may still apply, depending on the value of the enableTls property). Default: 'null'" |
Array of objects (DatabaseCertificateSpec) Optional. A list of TLS/SSL certificates (public keys) with new line characters replaced by \n. If specified, mTLS authentication (with enableTls not specified or set to true) will be required to authenticate user connections. If empty list is received, SSL certificates will be removed and mTLS will not be required (note that TLS connection may still apply, depending on the value of the enableTls property). Default: 'null'" | |
enableTls | boolean Optional. When 'true', requires TLS authentication for all connections (mTLS with valid clientSslCertificate, regular TLS when the clientSslCertificate is not provided). If enableTls is set to false it will also remove the mTLS requirement (by erasing the content of the clientSslCertificate property). Default: 'false' |
enableDefaultUser | boolean Optional. When 'true', enables connecting to the database with the 'default' user. Default: 'true'. Can only be set if Database Protocol is REDIS |
periodicBackupPath | string Deprecated - If specified, automatic backups will be every 24 hours or database will be able to perform immediate backups to this path. If empty string is received, backup path will be removed. Optional. |
object (DatabaseBackupConfig) Optional. Database remote backup configuration | |
Array of objects (DatabaseAlertSpec) Optional. Redis database alerts | |
queryPerformanceFactor | string Optional. The query performance factor adds extra compute power specifically for search and query. For databases with search and query, you can increase your search queries per second by the selected factor. |
{- "dryRun": false,
- "name": "Redis-database-example",
- "datasetSizeInGb": 5,
- "throughputMeasurement": {
- "by": "operations-per-second",
- "value": 10000
}, - "dataPersistence": "none",
- "dataEvictionPolicy": "allkeys-lru",
- "alerts": [
- {
- "name": "dataset-size",
- "value": 85
}
]
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Update single database tag for a given resource by tag key
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
tagKey required | string Tag key |
value required | string Required. database tag value |
{- "value": "string"
}
{- "key": "environment",
- "value": "production",
- "createdAt": "2024-05-21T20:02:21+02:00",
- "updatedAt": "2024-06-21T20:02:21+02:00",
- "links": [
- {
- "rel": "self",
- "type": "GET",
}
]
}
Create a new Essentials subscription
name required | string Essentials subscription name |
planId required | integer <int32> A predefined Essentials plan Id (see lookup API '/fixed/plans'). The plan defines the billing, deployment and configuration for the created subscription based on specific plan details |
paymentMethodId | integer <int32> Optional. A valid payment method (credit card, wire transfer etc) pre-defined in the current account. It will be billed for any charges related to the created subscription. |
{- "name": "My new subscription",
- "planId": 0,
- "paymentMethodId": 0
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Delete a Essentials subscription identified by subscription Id (subscription must be empty, i.e. cannot contain databases)
subscriptionId required | integer <int32> Subscription Id |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Information on Essentials subscription identified by subscription Id
subscriptionId required | integer <int32> Subscription Id |
{- "id": 151367,
- "name": "fixed-sub-2",
- "status": "active",
- "paymentMethodId": 8241,
- "paymentMethodType": "credit-card",
- "planId": 98276,
- "planName": "Standard 1GB",
- "size": 1,
- "sizeMeasurementUnit": "GB",
- "provider": "AWS",
- "region": "us-west-1",
- "price": 22,
- "pricePeriod": "Month",
- "priceCurrency": "USD",
- "maximumDatabases": 1,
- "availability": "Single-zone",
- "connections": "1024",
- "cidrAllowRules": 8,
- "supportDataPersistence": true,
- "supportInstantAndDailyBackups": true,
- "supportReplication": true,
- "customerSupport": "Standard",
- "creationDate": "2022-11-21T20:02:21+02:00",
- "supportClustering": false,
- "links": [
]
}
Information on a specific Essentials subscription plan identified by plan Id
planId required | integer <int32> Essentials Subscription Plan ID |
{- "id": 98273,
- "name": "Cache 5GB",
- "size": 5,
- "sizeMeasurementUnit": "GB",
- "provider": "AWS",
- "region": "eu-west-1",
- "regionId": 4,
- "price": 77,
- "priceCurrency": "USD",
- "pricePeriod": "Month",
- "maximumDatabases": 1,
- "availability": "No replication",
- "connections": "unlimited",
- "cidrAllowRules": 4,
- "supportDataPersistence": true,
- "supportInstantAndDailyBackups": true,
- "supportReplication": false,
- "supportClustering": true,
- "supportSsl": false,
- "supportedAlerts": [
- "throughput-higher-than"
], - "customerSupport": "Standard",
}
Lookup list of Essentials plans that can be used by a specific subscription
subscriptionId required | integer <int32> Subscription Id |
{- "plans": [
- {
- "id": 98183,
- "name": "Multi-AZ 5GB",
- "size": 5,
- "sizeMeasurementUnit": "GB",
- "provider": "AWS",
- "region": "us-east-1",
- "regionId": 1,
- "price": 100,
- "priceCurrency": "USD",
- "pricePeriod": "Month",
- "maximumDatabases": 1,
- "availability": "Multi-zone",
- "connections": "unlimited",
- "cidrAllowRules": 16,
- "supportDataPersistence": true,
- "supportInstantAndDailyBackups": true,
- "supportReplication": true,
- "supportClustering": false,
- "supportSsl": true,
- "supportedAlerts": [
- "datasets-size",
- "latency",
- "throughput-lower-than",
- "throughput-higher-than"
], - "customerSupport": "Standard",
- "links": [ ]
}, - {
- "id": 98181,
- "name": "Multi-AZ 1GB",
- "size": 1,
- "sizeMeasurementUnit": "GB",
- "provider": "AWS",
- "region": "us-east-1",
- "regionId": 1,
- "price": 22,
- "priceCurrency": "USD",
- "pricePeriod": "Month",
- "maximumDatabases": 1,
- "availability": "Multi-zone",
- "connections": "1024",
- "cidrAllowRules": 8,
- "supportDataPersistence": true,
- "supportInstantAndDailyBackups": true,
- "supportReplication": true,
- "supportClustering": false,
- "supportSsl": true,
- "supportedAlerts": [
- "datasets-size",
- "throughput-higher-than",
- "throughput-lower-than",
- "latency",
- "connections-limit"
], - "customerSupport": "Standard",
- "links": [ ]
}
], - "links": [
]
}
Information on current account's Essentials subscriptions
{- "accountId": 40131,
- "subscriptions": [
- {
- "id": 151367,
- "name": "fixed-1",
- "status": "active",
- "paymentMethodId": 8241,
- "paymentMethodType": "credit-card",
- "planId": 98276,
- "planName": "Standard 1GB",
- "size": 1,
- "sizeMeasurementUnit": "GB",
- "provider": "AWS",
- "region": "us-west-1",
- "price": 22,
- "pricePeriod": "Month",
- "priceCurrency": "USD",
- "maximumDatabases": 1,
- "availability": "Single-zone",
- "connections": "1024",
- "cidrAllowRules": 8,
- "supportDataPersistence": true,
- "supportInstantAndDailyBackups": true,
- "supportReplication": true,
- "supportClustering": false,
- "customerSupport": "Standard",
- "creationDate": "2022-11-21T20:02:21+02:00",
- "links": [ ]
}, - {
- "id": 120416,
- "name": "subscription-name",
- "status": "active",
- "paymentMethodId": 123,
- "paymentMethodType": "credit-card",
- "planId": 123,
- "planName": "Standard 30MB",
- "planType": "pay-as-you-go",
- "size": 30,
- "sizeMeasurementUnit": "MB",
- "provider": "AWS",
- "region": "us-east-1",
- "price": 0,
- "pricePeriod": "Month",
- "priceCurrency": "USD",
- "maximumDatabases": 1,
- "availability": "no-replication",
- "connections": 30,
- "cidrAllowRules": 1,
- "supportDataPersistence": false,
- "supportInstantAndDailyBackups": false,
- "supportReplication": false,
- "supportClustering": false,
- "customerSupport": "basic",
- "creationDate": "20-Nov-2022",
- "links": [ ]
}
],
}
Lookup list of plans
provider | string Enum: "AWS" "GCP" "AZURE" Cloud Provider Name |
redisFlex | boolean Is RedisFlex Plan |
{- "plans": [
- {
- "id": 98183,
- "name": "Multi-AZ 5GB",
- "size": 5,
- "sizeMeasurementUnit": "GB",
- "provider": "AWS",
- "region": "us-east-1",
- "regionId": 1,
- "price": 100,
- "priceCurrency": "USD",
- "pricePeriod": "Month",
- "maximumDatabases": 1,
- "availability": "Multi-zone",
- "connections": "unlimited",
- "cidrAllowRules": 16,
- "supportDataPersistence": true,
- "supportInstantAndDailyBackups": true,
- "supportReplication": true,
- "supportClustering": false,
- "supportSsl": true,
- "supportedAlerts": [
- "datasets-size",
- "latency",
- "throughput-lower-than",
- "throughput-higher-than"
], - "customerSupport": "Standard",
- "links": [ ]
}, - {
- "id": 98181,
- "name": "Multi-AZ 1GB",
- "size": 1,
- "sizeMeasurementUnit": "GB",
- "provider": "AWS",
- "region": "us-east-1",
- "regionId": 1,
- "price": 22,
- "priceCurrency": "USD",
- "pricePeriod": "Month",
- "maximumDatabases": 1,
- "availability": "Multi-zone",
- "connections": "1024",
- "cidrAllowRules": 8,
- "supportDataPersistence": true,
- "supportInstantAndDailyBackups": true,
- "supportReplication": true,
- "supportClustering": false,
- "supportSsl": true,
- "supportedAlerts": [
- "datasets-size",
- "throughput-higher-than",
- "throughput-lower-than",
- "latency",
- "connections-limit"
], - "customerSupport": "Standard",
- "links": [ ]
}
], - "links": [
]
}
Update an Essentials subscription
subscriptionId required | integer <int32> |
name | string Optional. Essentials subscription name |
planId | integer <int32> Optional. A predefined Essentials plan Id (see lookup API '/fixed/plans'). The plan defines the billing, deployment and configuration for the created subscription based on specific plan details |
paymentMethodId | integer <int32> Optional. A valid payment method (credit card, wire transfer etc) pre-defined in the current account. It will be billed for any charges related to the created subscription. |
{- "name": "My new subscription",
- "planId": 0,
- "paymentMethodId": 0
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Add single database tag for a given resource
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
key required | string Required. Database tag key |
value required | string Required. Database tag value |
{- "key": "environment",
- "value": "production"
}
{- "key": "environment",
- "value": "production",
- "createdAt": "2024-05-21T20:02:21+02:00",
- "updatedAt": "2024-06-21T20:02:21+02:00",
- "links": [
- {
- "rel": "self",
- "type": "GET",
}
]
}
Manually backup an Essentials database into the destination defined for it
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
adhocBackupPath | string Optional. Path for ad-hoc backup. |
{- "adhocBackupPath": "s3://<backup-path>"
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Information on the latest database backup status identified by Essentials subscription Id and Essentials database Id
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Create a new Essentials database
subscriptionId required | integer <int32> Subscription Id |
name required | string Required. Database name (Database name must be up to 40 characters long, include only letters, digits, or hyphen ('-'), start with a letter, and end with a letter or digit) |
protocol | string Enum: "redis" "memcached" "stack" Optional. Database protocol. 'stack' is a suite of all Redis’ data modules. Default: 'stack', for Redis Flex subscription Default: 'redis'. 'redis' is only used with Pay-As-You-Go subscriptions and with Redis Flex. |
memoryLimitInGb | number <double> >= 0.1 Deprecated - Optional. Total memory including replication and other overhead. Supported only for 'Pay-As-You-Go' subscriptions |
datasetSizeInGb | number <double> >= 0.1 Optional. The maximum amount of data in the dataset for this specific database is in GB. You can not set both datasetSizeInGb and totalMemoryInGb. if 'replication' is true, the database’s total memory will be twice as large as the datasetSizeInGb.if 'replication' is false, the database’s total memory of the database will be the datasetSizeInGb value. |
supportOSSClusterApi | boolean Optional. Support Redis open-source (OSS) Cluster API. Supported only for 'Pay-As-You-Go' subscriptions |
respVersion | string Enum: "resp2" "resp3" Optional. RESP version must be compatible with Redis version. |
useExternalEndpointForOSSClusterApi | boolean Optional. Should use external endpoint for open-source (OSS) Cluster API. Can only be enabled if OSS Cluster API support is enabled. Supported only for 'Pay-As-You-Go' subscriptions |
enableDatabaseClustering | boolean Optional. Distributes database data to different cloud instances. Supported only for 'Pay-As-You-Go' subscriptions |
numberOfShards | integer <int32> Optional. Specifies the number of master shards. Supported only for 'Pay-As-You-Go' subscriptions |
dataPersistence | string Enum: "none" "aof-every-1-second" "aof-every-write" "snapshot-every-1-hour" "snapshot-every-6-hours" "snapshot-every-12-hours" Optional. Rate of database data persistence (in persistent storage). The default is according to the subscription plan. |
dataEvictionPolicy | string Enum: "allkeys-lru" "allkeys-lfu" "allkeys-random" "volatile-lru" "volatile-lfu" "volatile-random" "volatile-ttl" "noeviction" Optional. Data items eviction method |
replication | boolean Optional. Databases replication. The default is according to the subscription plan. |
periodicBackupPath | string Optional. If specified, automatic backups will be every 24 hours or database will be able to perform immediate backups to this path. If empty string is received, backup path will be removed. Optional. |
sourceIps | Array of strings Optional. List of source IP addresses or subnet masks. If specified, Redis clients will be able to connect to this database only from within the specified source IP addresses ranges. example value: '['192.168.10.0/32', '192.168.12.0/24']' |
regexRules | Array of strings Optional. Shard regex rules. Relevant only for a sharded database. Supported only for 'Pay-As-You-Go' subscriptions |
replicaOf | Array of strings Deprecated Deprecated - Optional. This database will be a replica of the specified Redis databases provided as one or more URI (sample format: 'redis://user:password@host:port)'. If the URI provided is Redis Cloud instance, only host and port should be provided (using the format: ['redis://endpoint1:6379', 'redis://endpoint2:6380'] ). |
object (ReplicaOfSpec) Optional. Replica Of configuration | |
clientSslCertificate | string Deprecated - Optional. A string containing TLS/SSL certificate (public key) with new line characters replaced by \n. If specified, mTLS authentication (with enableTls not specified or set to true) will be required to authenticate user connections. If empty string is received, SSL certificate will be removed and mTLS will not be required (note that TLS connection may still apply, depending on the value of the enableTls property). Default: 'null'" |
Array of objects (DatabaseCertificateSpec) Optional. A list of TLS/SSL certificates (public keys) with new line characters replaced by \n. If specified, mTLS authentication (with enableTls not specified or set to true) will be required to authenticate user connections. If empty list is received, SSL certificates will be removed and mTLS will not be required (note that TLS connection may still apply, depending on the value of the enableTls property). Default: 'null'" | |
enableTls | boolean Optional. When 'true', requires TLS authentication for all connections (mTLS with valid clientSslCertificate, regular TLS when the clientSslCertificate is not provided). |
password | string Optional. Password to access the database. If omitted, a random 32 character long alphanumeric password will be automatically generated |
Array of objects (DatabaseAlertSpec) Optional. Redis database alerts | |
Array of objects (DatabaseModuleSpec) Optional. Redis modules to be provisioned in the database |
{- "name": "Redis-fixed-database-example",
- "protocol": "stack",
- "dataPersistence": "none",
- "dataEvictionPolicy": "allkeys-lru",
- "replication": true,
- "alerts": [
- {
- "name": "datasets-size",
- "value": 80
}
]
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Delete database tag for a given resource by tag key
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
tagKey required | string Example: environment Tag key |
{ }
Delete a specific database identified by an Essentials subscription Id and database Id
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Get database tags for a given resource
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
{- "accountId": 40131,
- "tags": [
- {
- "key": "environment",
- "value": "production",
- "createdAt": "2024-05-21T20:02:21+02:00",
- "updatedAt": "2024-06-21T20:02:21+02:00",
- "links": [ ]
}, - {
- "key": "owner",
- "value": "Clifford O'neill",
- "createdAt": "2024-05-21T20:02:21+02:00",
- "updatedAt": "2024-06-21T20:02:21+02:00",
- "links": [ ]
}
], - "links": [
- {
- "rel": "self",
- "type": "GET"
}
]
}
Information on a specific database identified by Essentials subscription Id and database Id
subscriptionId required | integer <int32> >= 0 Subscription Id |
databaseId required | integer <int32> >= 0 Database Id |
{- "databaseId": 51324587,
- "name": "bdb",
- "protocol": "stack",
- "provider": "AWS",
- "region": "us-east-1",
- "status": "draft",
- "planMemoryLimit": 250,
- "respVersion": "resp2",
- "memoryLimitMeasurementUnit": "MB",
- "memoryUsedInMb": 7,
- "memoryStorage": "ram",
- "dataPersistence": "none",
- "replication": true,
- "dataEvictionPolicy": "noeviction",
- "clustering": {
- "enabled": false,
- "regexRules": [
- {
- "ordinal": 0,
- "pattern": ".*\\{(?<tag>.*)\\}.*"
}, - {
- "ordinal": 1,
- "pattern": "(?<tag>.*)"
}
], - "hashingPolicy": "standard"
}, - "security": {
- "defaultUserEnabled": true,
- "password": "myCustomPassword",
- "sourceIps": [
- "0.0.0.0/0"
]
}, - "modules": [
- {
- "id": 18534,
- "name": "RediSearch",
- "capabilityName": "Search and query",
- "version": "2.2.6",
- "description": "A comprehensive, expressive, flexible, fast and developer-friendly search and query engine for the diversity of data types in Redis with state-of-the-art scoring algorithms",
- "parameters": [ ]
}, - {
- "id": 18535,
- "name": "RedisBloom",
- "capabilityName": "Probabilistic",
- "version": "2.2.12",
- "description": "A set of probabilistic data structures to Redis, including Bloom filter, Cuckoo filter, Count-min sketch, Top-K, and t-digest",
- "parameters": [ ]
}, - {
- "id": 18536,
- "name": "RedisJSON",
- "capabilityName": "JSON",
- "version": "2.0.6",
- "description": "Native JSON Data Type for Redis, allowing for atomic reads and writes of sub-elements",
- "parameters": [ ]
}, - {
- "id": 18537,
- "name": "RedisTimeSeries",
- "capabilityName": "Time series",
- "version": "1.6.8",
- "description": "Time-Series data structure for Redis",
- "parameters": [ ]
}
], - "alerts": [
- {
- "name": "connections-limit",
- "value": 80,
- "defaultValue": 80
}
], - "backup": {
- "remoteBackupEnabled": false
}, - "links": [ ]
}
Information on databases belonging to an Essentials subscription identified by subscription Id
subscriptionId required | integer <int32> >= 0 Subscription Id |
offset | integer <int32> Number of items to skip |
limit | integer <int32> Example: limit=100 Maximum number of items to return |
{- "accountId": 40131,
- "subscription": {
- "subscriptionId": 154714,
- "numberOfDatabases": 2,
- "databases": [
- {
- "databaseId": 51324587,
- "name": "bdb",
- "protocol": "stack",
- "provider": "AWS",
- "region": "us-east-1",
- "redisVersion": "7.4",
- "status": "draft",
- "planMemoryLimit": 250,
- "respVersion": "resp2",
- "memoryLimitMeasurementUnit": "MB",
- "memoryUsedInMb": 1,
- "memoryStorage": "ram",
- "dataPersistence": "none",
- "replication": true,
- "dataEvictionPolicy": "noeviction",
- "clustering": {
- "enabled": false,
- "regexRules": [
- {
- "ordinal": 0,
- "pattern": ".*\\{(?<tag>.*)\\}.*"
}, - {
- "ordinal": 1,
- "pattern": "(?<tag>.*)"
}
], - "hashingPolicy": "standard"
}, - "security": {
- "defaultUserEnabled": true,
- "sourceIps": [
- "0.0.0.0/0"
]
}, - "modules": [
- {
- "id": 18534,
- "name": "searchlight",
- "capabilityName": "Search and query",
- "version": "2.2.6",
- "description": "A comprehensive, expressive, flexible, fast and developer-friendly search and query engine for the diversity of data types in Redis with state-of-the-art scoring algorithms",
- "parameters": [ ]
}, - {
- "id": 18535,
- "name": "RedisBloom",
- "capabilityName": "Probabilistic",
- "version": "2.2.12",
- "description": "A set of probabilistic data structures to Redis, including Bloom filter, Cuckoo filter, Count-min sketch, Top-K, and t-digest",
- "parameters": [ ]
}, - {
- "id": 18536,
- "name": "RedisJSON",
- "capabilityName": "JSON",
- "version": "2.0.6",
- "description": "Native JSON Data Type for Redis, allowing for atomic reads and writes of sub-elements",
- "parameters": [ ]
}, - {
- "id": 18537,
- "name": "RedisTimeSeries",
- "capabilityName": "Time series",
- "version": "1.6.8",
- "description": "Time-Series data structure for Redis",
- "parameters": [ ]
}
], - "alerts": [
- {
- "name": "connections-limit",
- "value": 80,
- "defaultValue": 80
}
], - "backup": {
- "remoteBackupEnabled": false
}, - "links": [ ]
}, - {
- "databaseId": 51324586,
- "name": "firstDB",
- "protocol": "stack",
- "provider": "AWS",
- "region": "us-east-1",
- "status": "draft",
- "planMemoryLimit": 250,
- "memoryLimitMeasurementUnit": "MB",
- "memoryUsedInMb": 1,
- "memoryStorage": "ram",
- "dataPersistence": "none",
- "replication": true,
- "dataEvictionPolicy": "noeviction",
- "clustering": {
- "enabled": false,
- "regexRules": [
- {
- "ordinal": 0,
- "pattern": ".*\\{(?<tag>.*)\\}.*"
}, - {
- "ordinal": 1,
- "pattern": "(?<tag>.*)"
}
], - "hashingPolicy": "standard"
}, - "security": {
- "defaultUserEnabled": true,
- "sourceIps": [
- "0.0.0.0/0"
]
}, - "modules": [
- {
- "id": 18529,
- "name": "searchlight",
- "capabilityName": "Search and query",
- "version": "2.2.6",
- "description": "A comprehensive, expressive, flexible, fast and developer-friendly search and query engine for the diversity of data types in Redis with state-of-the-art scoring algorithms",
- "parameters": [ ]
}, - {
- "id": 18530,
- "name": "RedisBloom",
- "capabilityName": "Probabilistic",
- "version": "2.2.12",
- "description": "A set of probabilistic data structures to Redis, including Bloom filter, Cuckoo filter, Count-min sketch, Top-K, and t-digest",
- "parameters": [ ]
}, - {
- "id": 18531,
- "name": "RedisJSON",
- "capabilityName": "JSON",
- "version": "2.0.6",
- "description": "Native JSON Data Type for Redis, allowing for atomic reads and writes of sub-elements",
- "parameters": [ ]
}, - {
- "id": 18532,
- "name": "RedisTimeSeries",
- "capabilityName": "Time series",
- "version": "1.6.8",
- "description": "Time-Series data structure for Redis",
- "parameters": [ ]
}
], - "alerts": [
- {
- "name": "connections-limit",
- "value": 80,
- "defaultValue": 80
}
], - "backup": {
- "remoteBackupEnabled": false
}, - "links": [ ]
}
], - "links": [ ]
}, - "links": [ ]
}
Import data from an RDB file or a different Redis database
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
sourceType required | string Enum: "http" "redis" "ftp" "aws-s3" "azure-blob-storage" "google-blob-storage" Required. Type of storage source from which to import the database file (RDB files) or data (Redis connection) |
importFromUri required | Array of strings Required. One or more URIs to source data files or Redis databases, as appropriate to specified source type (example: ['http://mydomain.com/redis-backup-file1', 'http://mydomain.com/redis-backup-file2']) |
{- "sourceType": "http",
- "importFromUri": [
- "string"
]
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Information on the latest database import status identified by Essentials subscription Id and Essentials database Id
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Override database tags for a given resource
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
required | Array of objects (tag) Required. database tags |
{- "tags": [
- {
- "key": "environment",
- "value": "production"
}
]
}
{- "accountId": 40131,
- "tags": [
- {
- "key": "environment",
- "value": "production",
- "createdAt": "2024-05-21T20:02:21+02:00",
- "updatedAt": "2024-06-21T20:02:21+02:00",
- "links": [ ]
}, - {
- "key": "owner",
- "value": "Clifford O'neill",
- "createdAt": "2024-05-21T20:02:21+02:00",
- "updatedAt": "2024-06-21T20:02:21+02:00",
- "links": [ ]
}
], - "links": [
- {
- "rel": "self",
- "type": "GET"
}
]
}
Update single database tag for a given resource by tag key
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
tagKey required | string Tag key |
value required | string Required. database tag value |
{- "value": "string"
}
{- "key": "environment",
- "value": "production",
- "createdAt": "2024-05-21T20:02:21+02:00",
- "updatedAt": "2024-06-21T20:02:21+02:00",
- "links": [
- {
- "rel": "self",
- "type": "GET",
}
]
}
Update a specific database identified by an Essentials subscription Id and database Id
subscriptionId required | integer <int32> Subscription Id |
databaseId required | integer <int32> Database Id |
name | string Optional. Database name (Database name must be up to 40 characters long, include only letters, digits, or hyphen ('-'), start with a letter, and end with a letter or digit) |
memoryLimitInGb | number <double> >= 0.1 Deprecated - Optional. Total memory including replication and other overhead. Supported only for 'Pay-As-You-Go' subscriptions |
datasetSizeInGb | number <double> >= 0.1 Optional. The maximum amount of data in the dataset for this specific database is in GB. You can not set both datasetSizeInGb and totalMemoryInGb. if ‘replication’ is true, the database’s total memory will be twice as large as the datasetSizeInGb.if ‘replication’ is false, the database’s total memory of the database will be the datasetSizeInGb value. |
supportOSSClusterApi | boolean Optional. Support Redis open-source (OSS) Cluster API. Supported only for 'Pay-As-You-Go' subscriptions |
respVersion | string Enum: "resp2" "resp3" Optional. RESP version must be compatible with Redis version. |
useExternalEndpointForOSSClusterApi | boolean Optional. Should use external endpoint for open-source (OSS) Cluster API. Can only be enabled if OSS Cluster API support is enabled. Supported only for 'Pay-As-You-Go' subscriptions |
enableDatabaseClustering | boolean Optional. Distributes database data to different cloud instances. Default: 'false'. Supported only for 'Pay-As-You-Go' subscriptions |
numberOfShards | integer <int32> Optional. Specifies the number of master shards. Supported only for 'Pay-As-You-Go' subscriptions |
dataPersistence | string Enum: "none" "aof-every-1-second" "aof-every-write" "snapshot-every-1-hour" "snapshot-every-6-hours" "snapshot-every-12-hours" Optional. Rate of database data persistence (in persistent storage) |
dataEvictionPolicy | string Enum: "allkeys-lru" "allkeys-lfu" "allkeys-random" "volatile-lru" "volatile-lfu" "volatile-random" "volatile-ttl" "noeviction" Optional. Data items eviction method |
replication | boolean Optional. Databases replication |
periodicBackupPath | string Optional. If specified, automatic backups will be every 24 hours or database will be able to perform immediate backups to this path. If empty string is received, backup path will be removed. Optional. |
sourceIps | Array of strings Optional. List of source IP addresses or subnet masks. If specified, Redis clients will be able to connect to this database only from within the specified source IP addresses ranges. example value: '['192.168.10.0/32', '192.168.12.0/24']' |
replicaOf | Array of strings Deprecated Deprecated - Optional. This database will be a replica of the specified Redis databases provided as one or more URI (sample format: 'redis://user:password@host:port)'. If the URI provided is Redis Cloud instance, only host and port should be provided (using the format: ['redis://endpoint1:6379', 'redis://endpoint2:6380'] ). |
object (ReplicaOfSpec) Optional. Replica Of configuration | |
regexRules | Array of strings Optional. Shard regex rules. Relevant only for a sharded database. Supported only for 'Pay-As-You-Go' subscriptions |
clientSslCertificate | string Deprecated - Optional. A string containing TLS/SSL certificate (public key) with new line characters replaced by \n. If specified, mTLS authentication (with enableTls not specified or set to true) will be required to authenticate user connections. If empty string is received, SSL certificate will be removed and mTLS will not be required (note that TLS connection may still apply, depending on the value of the enableTls property). Default: 'null'" |
Array of objects (DatabaseCertificateSpec) Optional. A list of TLS/SSL certificates (public keys) with new line characters replaced by \n. If specified, mTLS authentication (with enableTls not specified or set to true) will be required to authenticate user connections. If empty list is received, SSL certificates will be removed and mTLS will not be required (note that TLS connection may still apply, depending on the value of the enableTls property). Default: 'null'" | |
enableTls | boolean Optional. When 'true', requires TLS authentication for all connections (mTLS with valid clientSslCertificate, regular TLS when the clientSslCertificate is not provided). |
password | string Optional. Password to access the database. If omitted, a random 32 character long alphanumeric password will be automatically generated |
enableDefaultUser | boolean Optional. When 'true', enables connecting to the database with the 'default' user. Default: 'true' |
Array of objects (DatabaseAlertSpec) Optional. Redis database alerts |
{- "name": "Redis-fixed-database-example",
- "dataPersistence": "none",
- "dataEvictionPolicy": "allkeys-lru",
- "replication": true,
- "enableDefaultUser": true,
- "alerts": [
- {
- "name": "datasets-size",
- "value": 80
}
]
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Create a new ACL redis rule
name required | string Required. ACL redis rule name |
redisRule required | string Required. ACL redis rule pattern |
{- "name": "ACL-rule-example",
- "redisRule": "string"
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Create a new ACL role
name required | string Required. ACL role name |
required | Array of objects (AclRoleRedisRuleSpec) Required. List of ACL redis rules to associated with the requested ACL role |
{- "name": "ACL-role-example",
- "redisRules": [
- {
- "ruleName": "Read-Only",
- "databases": [
- {
- "subscriptionId": 0,
- "databaseId": 0,
- "regions": [ ]
}
]
}
]
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Create a new ACL user
name required | string Required. ACL user name |
role required | string Required. ACL role name |
password required | string Required. Password to identify as user after creation. |
{- "name": "ACL-user-example",
- "role": "Redis-role-example",
- "password": "some-random-password"
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Delete an ACL redis rule
aclRedisRuleId required | integer <int32> ACL redis rule ID |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Delete an ACL role
aclRoleId required | integer <int32> ACL role ID |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Delete an ACL user
aclUserId required | integer <int32> ACL user ID |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Information on current account's ACL users
{- "accountId": 1001,
- "redisRules": [
- {
- "id": 7,
- "name": "Full-Access",
- "acl": "+@all ~*",
- "isDefault": true,
- "status": "active"
}, - {
- "id": 8,
- "name": "Read-Write",
- "acl": "+@all -@dangerous ~*",
- "isDefault": true,
- "status": "active"
}, - {
- "id": 9,
- "name": "Read-Only",
- "acl": "+@read ~*",
- "isDefault": true,
- "status": "active"
}
]
}
Information on current account's ACL roles
{- "accountId": 1001,
- "roles": [
- {
- "id": 395,
- "name": "role-name",
- "redisRules": [
- {
- "ruleId": 7,
- "ruleName": "Full-Access",
- "databases": [
- {
- "subscriptionId": 126,
- "databaseId": 1,
- "databaseName": "DB-RCP-2-81-7"
}
]
}
], - "users": [ ],
- "status": "error"
}
]
}
Update an ACL redis rule
aclRedisRuleId required | integer <int32> ACL redis rule ID |
name required | string Optional. ACL redis rule name |
redisRule required | string Optional. ACL redis rule pattern |
{- "name": "ACL-rule-example",
- "redisRule": "string"
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Update an ACL role
aclRoleId required | integer <int32> ACL role ID |
name | string Optional. ACL role name |
Array of objects (AclRoleRedisRuleSpec) Optional. List of ACL redis rules to associated with the requested ACL role |
{- "name": "ACL-role-example",
- "redisRules": [
- {
- "ruleName": "Read-Only",
- "databases": [
- {
- "subscriptionId": 0,
- "databaseId": 0,
- "regions": [ ]
}
]
}
]
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Update a new ACL user
aclUserId required | integer <int32> ACL user ID |
role | string Optional. ACL role name |
password | string Optional. ACL User's password. |
{- "role": "Redis-role-example",
- "password": "some-random-password"
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Create cloud account
name required | string Required. Cloud account display name |
provider | string Enum: "AWS" "GCP" Optional. Cloud provider. Default: 'AWS' |
accessKeyId required | string Required. Cloud provider access key |
accessSecretKey required | string Required. Cloud provider secret key |
consoleUsername required | string Required. Cloud provider management console username |
consolePassword required | string Required. Cloud provider management console password |
signInLoginUrl required | string Required. Cloud provider management console login URL |
{- "name": "My new Cloud Account",
- "provider": "AWS",
- "accessKeyId": "****",
- "accessSecretKey": "****",
- "consoleUsername": "me@mycompany.com",
- "consolePassword": "****",
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Delete specified cloud account
cloudAccountId required | integer <int32> >= 0 Cloud Account Id |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Information on a specific cloud account
cloudAccountId required | integer <int32> >= 0 Cloud Account Id |
{- "id": 1,
- "name": "Redis Labs Internal Resources",
- "provider": "AWS",
- "status": "active",
- "links": [
]
}
List all configured cloud accounts
{- "accountId": 40131,
- "cloudAccounts": [
- {
- "id": 1,
- "name": "Redis Labs Internal Resources",
- "provider": "AWS",
- "status": "active",
- "links": [ ]
}, - {
- "id": 2,
- "name": "CAPI User ",
- "provider": "AWS",
- "status": "active",
- "accessKeyId": "A***A",
- "links": [ ]
}, - {
- "id": 3,
- "name": "API Cloud account",
- "provider": "AWS",
- "status": "active",
- "accessKeyId": "A***4",
- "links": [ ]
}
], - "links": [
]
}
Update cloud account
cloudAccountId required | integer <int32> >= 0 Cloud Account Id |
name | string name |
accessKeyId required | string Required. Cloud provider access key |
accessSecretKey required | string Required. Cloud provider secret key |
consoleUsername required | string Required. Cloud provider management console username |
consolePassword required | string Required. Cloud provider management console password |
signInLoginUrl | string Optional. Cloud provider management console login URL |
{- "name": "My new Cloud Account",
- "accessKeyId": "****",
- "accessSecretKey": "****",
- "consoleUsername": "me@mycompany.com",
- "consolePassword": "****",
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Delete a user from current account
userId required | integer <int32> User Id |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Information on user identified by user Id
userId required | integer <int32> User Id |
{- "id": 60192,
- "name": "Clifford O'neill",
- "email": "clifford.mail@gmail.com",
- "role": "Viewer",
- "userType": "Local",
- "hasApiKey": false,
- "options": {
- "billing": false,
- "emailAlerts": false,
- "operationalEmails": false,
- "mfaEnabled": false
}
}
{- "account": 1001,
- "users": [
- {
- "id": 60192,
- "name": "Clifford O'neill",
- "email": "clifford.mail@gmail.com",
- "role": "Viewer",
- "userType": "Local",
- "hasApiKey": false,
- "options": {
- "billing": false,
- "emailAlerts": false,
- "operationalEmails": false,
- "mfaEnabled": false
}
}
]
}
Update an existing user by Id
userId required | integer <int32> User Id |
name required | string User name |
role | string Enum: "Owner" "Member" "Viewer" "Logs Viewer (API use only)" "Manager" "Billing Admin" Role name |
{- "name": "My new user name",
- "role": "Owner"
}
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}
Get specific long running operation, identified by Task Id
taskId required | string Task Id |
{- "taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
- "commandType": "string",
- "status": "initialized",
- "description": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "response": {
- "resourceId": 0,
- "additionalResourceId": 0,
- "resource": { },
- "error": "UNAUTHORIZED",
- "additionalInfo": "string"
}, - "links": [
- {
- "property1": { },
- "property2": { }
}
]
}