Create Pro subscription
Changed onCreates a new Redis Cloud Pro subscription.
Request
- Base URLhttps://api.redislabs.com
- URLhttps://api.redislabs.com/v1/subscriptions
- AuthAPI key in header x-api-key and API key in header x-api-secret-key and API key in header x-auth-token
Request body
Example request
{
"name": "My new subscription",
"deploymentType": "single-region",
"memoryStorage": "ram",
"persistentStorageEncryptionType": "cloud-provider-managed-key",
"persistentStorageEncryptionKeys": {
"customerManagedKeys": [
{
"resourceName": "projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY_NAME"
}
],
"deletionGracePeriod": "alerts-only"
},
"cloudProviders": [
{
"provider": "AWS",
"cloudAccountId": 1,
"regions": [
{
"region": "us-east-1",
"networking": {
"deploymentCIDR": "10.0.0.0/24",
"vpcId": "<vpc-identifier>"
}
}
]
}
],
"databases": [
{
"name": "Redis-database-example",
"port": 10000,
"memoryLimitInGb": 1,
"datasetSizeInGb": 1,
"throughputMeasurement": {
"value": 10000
},
"localThroughputMeasurement": [
{
"writeOperationsPerSecond": 1000,
"readOperationsPerSecond": 1000
}
],
"modules": [
{
"parameters": {}
}
],
"quantity": 1,
"ramPercentage": 20,
"respVersion": "resp3",
"redisVersion": "7.2",
"queryPerformanceFactor": "2x"
}
],
"redisVersion": "7.2"
}Response
Accepted
Changes
- warning
added the new
AGENT_MEMORY_IS_DISABLEDenum value to the/response property for the response status - warning
added the new
AGENT_MEMORY_STORE_DEPENDENCY_FAILEDenum value to the/response property for the response status - warning
added the new
AGENT_MEMORY_STORE_FORBIDDENenum value to the/response property for the response status - warning
added the new
AGENT_MEMORY_STORE_INVALID_REQUESTenum value to the/response property for the response status - warning
added the new
AGENT_MEMORY_STORE_NOT_FOUNDenum value to the/response property for the response status
- warning
- warning
added the new
DATABASE_IN_ACTIVE_ENDPOINTS_REDIRECTIONenum value to the/response property for the response status - warning
added the new
DATABASE_TRAFFIC_NOT_STOPPEDenum value to the/response property for the response status - warning
added the new
DATABASE_TRAFFIC_RESUME_IN_PROGRESSenum value to the/response property for the response status - warning
added the new
DATABASE_TRAFFIC_RESUME_NOT_ELIGIBLEenum value to the/response property for the response status - warning
added the new
DATABASE_TRAFFIC_STATE_NOT_FOUNDenum value to the/response property for the response status - warning
added the new
DB_ENDPOINTS_SERVICE_NOT_FOUNDenum value to the/response property for the response status - warning
added the new
ENDPOINTS_REDIRECTION_ACCOUNT_MISMATCHenum value to the/response property for the response status - warning
added the new
ENDPOINTS_REDIRECTION_ALREADY_EXISTSenum value to the/response property for the response status - warning
added the new
ENDPOINTS_REDIRECTION_CONNECTIVITY_MISMATCHenum value to the/response property for the response status - warning
added the new
ENDPOINTS_REDIRECTION_DATABASES_NOT_COMPATIBLEenum value to the/response property for the response status - warning
added the new
ENDPOINTS_REDIRECTION_DATABASE_STATE_NOT_SUPPORTEDenum value to the/response property for the response status - warning
added the new
ENDPOINTS_REDIRECTION_DNS_SERVICE_NOT_AVAILABLEenum value to the/response property for the response status - warning
added the new
ENDPOINTS_REDIRECTION_INVALID_ENDPOINT_TYPEenum value to the/response property for the response status - warning
added the new
ENDPOINTS_REDIRECTION_NOT_COMPLETEDenum value to the/response property for the response status - warning
added the new
ENDPOINTS_REDIRECTION_NOT_FOUNDenum value to the/response property for the response status - warning
added the new
ENDPOINTS_REDIRECTION_NOT_LATESTenum value to the/response property for the response status - warning
added the new
ENDPOINTS_REDIRECTION_REVERT_WINDOW_EXCEEDEDenum value to the/response property for the response status - warning
added the new
ENDPOINTS_REDIRECTION_SOURCE_HAS_NO_ENDPOINTSenum value to the/response property for the response status - warning
added the new
ENDPOINTS_REDIRECTION_TARGET_HAS_NO_ENDPOINTSenum value to the/response property for the response status - warning
added the new
FIXED_DATABASE_MEMCACHED_PROTOCOL_IS_NOT_SUPPORTED_FOR_FREE_PLANenum value to the/response property for the response status
- warning