Skip to content

Commit cdb7265

Browse files
authored
Merge pull request #2024 from redis/rc_api_sync
update rc openapi spec
2 parents 7b55c84 + 0b7ae80 commit cdb7265

File tree

1 file changed

+27
-6
lines changed

1 file changed

+27
-6
lines changed

content/operate/rc/api/api-reference/openapi.json

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13694,20 +13694,32 @@
1369413694
"description": "Essentials subscription create request"
1369513695
},
1369613696
"SubscriptionRegionNetworkingSpec": {
13697-
"required": [
13698-
"deploymentCIDR"
13699-
],
1370013697
"type": "object",
1370113698
"properties": {
1370213699
"deploymentCIDR": {
1370313700
"type": "string",
13704-
"description": "Required for Active-Active subscriptions. Deployment CIDR mask. Must be a valid CIDR format with a range of 256 IP addresses. Default for single-region subscriptions: If using Redis internal cloud account, 192.168.0.0/24",
13701+
"description": "Optional. Deployment CIDR mask. Must be a valid CIDR format with a range of 256 IP addresses. Default for single-region subscriptions: If using Redis internal cloud account, 192.168.0.0/24",
1370513702
"example": "10.0.0.0/24"
1370613703
},
1370713704
"vpcId": {
1370813705
"type": "string",
1370913706
"description": "Optional. Enter a VPC identifier that exists in the hosted AWS account. Creates a new VPC if not set. VPC Identifier must be in a valid format (for example: 'vpc-0125be68a4625884ad') and must exist within the hosting account.",
1371013707
"example": "<vpc-identifier>"
13708+
},
13709+
"subnetIds": {
13710+
"type": "array",
13711+
"description": "Optional. Enter a list of subnets identifiers that exists in the hosted AWS account. Subnet Identifier must exist within the hosting account.",
13712+
"example": "<subnet-identifier>",
13713+
"items": {
13714+
"type": "string",
13715+
"description": "Optional. Enter a list of subnets identifiers that exists in the hosted AWS account. Subnet Identifier must exist within the hosting account.",
13716+
"example": "<subnet-identifier>"
13717+
}
13718+
},
13719+
"securityGroupId": {
13720+
"type": "string",
13721+
"description": "Optional. Enter a security group identifier that exists in the hosted AWS account. Security group Identifier must be in a valid format (for example: 'sg-0125be68a4625884ad') and must exist within the hosting account.",
13722+
"example": "<security-group-identifier>"
1371113723
}
1371213724
},
1371313725
"description": "Optional. Cloud networking details, per region. Required if creating an Active-Active subscription."
@@ -14290,6 +14302,12 @@
1429014302
"SUBSCRIPTION_NETWORKING_MISSING",
1429114303
"SUBSCRIPTION_NETWORKING_CIDR_MISSING",
1429214304
"SUBSCRIPTION_INVALID_CIDR",
14305+
"SUBSCRIPTION_NETWORKING_SECURITY_GROUP_MISSING",
14306+
"SUBSCRIPTION_NETWORKING_SUBNET_IDS_MISSING",
14307+
"SUBSCRIPTION_NETWORKING_VPC_ID_MISSING",
14308+
"SUBSCRIPTION_NETWORKING_CIDR_IS_NOT_SUPPORTED",
14309+
"SUBSCRIPTION_NETWORKING_VPC_WITH_SUBNETS_AND_SECURITY_GROUP_IS_NOT_SUPPORTED",
14310+
"SUBSCRIPTION_INVALID_NUMBER_OF_SUBNET_IDS",
1429314311
"SUBSCRIPTION_PI_NOT_FOUND",
1429414312
"SUBSCRIPTION_INVALID_REGION_NAME",
1429514313
"SUBSCRIPTION_INVALID_REGION_ID",
@@ -14663,6 +14681,8 @@
1466314681
"FIXED_DATABASE_NUMBER_OF_SHARDS_SUPPORTED_ONLY_FOR_PAY_AS_YOU_GO",
1466414682
"FIXED_DATABASE_NUMBER_OF_SHARDS_NOT_A_MULTIPLE_OF_CURRENT_VALUE",
1466514683
"VPC_ID_NOT_ALLOWED_WITH_INTERNAL_CLOUD_ACCOUNT",
14684+
"SUBNET_ID_NOT_ALLOWED_WITH_INTERNAL_CLOUD_ACCOUNT",
14685+
"SECURITY_GROUP_ID_NOT_ALLOWED_WITH_INTERNAL_CLOUD_ACCOUNT",
1466614686
"CLIENT_SSL_CERTIFICATE_IS_NOT_ALLOWED_WITHOUT_ENABLE_TLS_IS_TRUE",
1466714687
"MARKETPLACE_PAYMENT_INFO_COLLISION",
1466814688
"ACCOUNT_MARKETPLACE_IS_NOT_ACTIVE",
@@ -15257,8 +15277,9 @@
1525715277
},
1525815278
"redisVersion": {
1525915279
"type": "string",
15260-
"description": "Optional. Defines the Redis version of the databases in the subscription. If not set, the Redis version for your databases will be the default version. Use GET /subscriptions/redis-versions to get a list of available Redis versions.",
15261-
"example": "7.2"
15280+
"description": "Optional. Defines the Redis version of the databases created in this specific request. It doesn't determine future databases associated with this subscription. If not set, databases will use the default Redis version. This field is deprecated and will be removed in a future API version - use the database-level redisVersion property instead.",
15281+
"example": "7.2",
15282+
"deprecated": true
1526215283
},
1526315284
"commandType": {
1526415285
"type": "string",

0 commit comments

Comments
 (0)