Skip to content

SupabaseProjectProps

Properties for defining a SupabaseProject.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-gpdb-supabaseproject

Initializer

import { SupabaseProjectProps } from '@alicloud/ros-cdk-gpdb'
const supabaseProjectProps: SupabaseProjectProps = { ... }

Properties

Name Type Description
accountPassword string | @alicloud/ros-cdk-core.IResolvable Property accountPassword: The password for the initial account.
projectName string | @alicloud/ros-cdk-core.IResolvable Property projectName: Project name.The naming rules are as follows: The length is 1~128 characters. Only English letters, numbers, dash (-) and underscore (). Must start with English letters or underscores ().
projectSpec string | @alicloud/ros-cdk-core.IResolvable Property projectSpec: Supabase instance specification, default is 1C1G.
securityIpList string | @alicloud/ros-cdk-core.IResolvable Property securityIpList: IP whitelist.
vpcId string | @alicloud/ros-cdk-core.IResolvable Property vpcId: VPC ID.
vSwitchId string | @alicloud/ros-cdk-core.IResolvable Property vSwitchId: vSwitch ID.
zoneId string | @alicloud/ros-cdk-core.IResolvable Property zoneId: Availability Zone ID.
databaseIpList string | @alicloud/ros-cdk-core.IResolvable Property databaseIpList: Database IP list.
diskPerformanceLevel string | @alicloud/ros-cdk-core.IResolvable Property diskPerformanceLevel: Cloud disk PL level, default PL0.
payType string | @alicloud/ros-cdk-core.IResolvable Property payType: The payment type.
period string | @alicloud/ros-cdk-core.IResolvable Property period: The unit of the subscription duration.
storageSize number | @alicloud/ros-cdk-core.IResolvable Property storageSize: Storage space size, unit GB, default 1GB.
usedTime number | @alicloud/ros-cdk-core.IResolvable Property usedTime: The subscription duration.

accountPasswordRequired

public readonly accountPassword: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property accountPassword: The password for the initial account.

It consists of three or more types of capital letters, lowercase letters, numbers, and special characters. Supported special characters: !@#$%^&*()_+-= The length is 8~32 characters.


projectNameRequired

public readonly projectName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property projectName: Project name.The naming rules are as follows: The length is 1~128 characters. Only English letters, numbers, dash (-) and underscore (). Must start with English letters or underscores ().


projectSpecRequired

public readonly projectSpec: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property projectSpec: Supabase instance specification, default is 1C1G.


securityIpListRequired

public readonly securityIpList: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property securityIpList: IP whitelist.

127.0.0.1 means that any external IP access is prohibited. You can call the ModifySecurityIps interface to modify the IP whitelist after the instance is created.


vpcIdRequired

public readonly vpcId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property vpcId: VPC ID.

illustrate You can call the DescribeRdsVpcs interface to view the available VPC IDs. This parameter must be passed in.


vSwitchIdRequired

public readonly vSwitchId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property vSwitchId: vSwitch ID.

illustrate vSwitchId is required. The Availability Zone where the vSwitch is located must be consistent with the ZoneId.


zoneIdRequired

public readonly zoneId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property zoneId: Availability Zone ID.

Description You can call the DescribeRegions interface to view the available Availability Zone ID.


databaseIpListOptional

public readonly databaseIpList: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property databaseIpList: Database IP list.


diskPerformanceLevelOptional

public readonly diskPerformanceLevel: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property diskPerformanceLevel: Cloud disk PL level, default PL0.

Selectable value: PL0 PL1


payTypeOptional

public readonly payType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property payType: The payment type.


periodOptional

public readonly period: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property period: The unit of the subscription duration.

Valid values: - Month - Year

This parameter is required if you use the subscription billing method.


storageSizeOptional

public readonly storageSize: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property storageSize: Storage space size, unit GB, default 1GB.


usedTimeOptional

public readonly usedTime: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property usedTime: The subscription duration.

Valid values: - If Period is set to Month, the valid values are 1 to 11. - If Period is set to Year, the valid values are 1 to 3.

This parameter is required if you use the subscription billing method.