Skip to content

ApplicationProps

Properties for defining a Application.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-polardb-application

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpolardb"
&alicloudroscdkpolardb.ApplicationProps {
    ApplicationType: interface{},
    Architecture: interface{},
    DbClusterId: interface{},
    AutoCreatePolarFs: interface{},
    Components: interface{},
    Description: interface{},
    PayType: interface{},
    Period: interface{},
    PolarFsInstanceId: interface{},
    SecurityGroupId: interface{},
    SecurityIpList: interface{},
    VpcId: interface{},
    VSwitchId: interface{},
    ZoneId: interface{},
}

Properties

Name Type Description
ApplicationType interface{} Property applicationType: The type of the application.
Architecture interface{} Property architecture: The architecture of the application.
DbClusterId interface{} Property dbClusterId: The ID of the database cluster.
AutoCreatePolarFs interface{} Property autoCreatePolarFs: Specifies whether to automatically create a PolarFS cold storage instance.
Components interface{} Property components: A list of custom child components for the application.
Description interface{} Property description: The description of the application.
PayType interface{} Property payType: The billing method of the cluster.
Period interface{} Property period: The subscription period type.
PolarFsInstanceId interface{} Property polarFsInstanceId: The ID of the PolarFileSystem (PolarFS) cold storage or high-performance instance.
SecurityGroupId interface{} Property securityGroupId: The ID of the security group.
SecurityIpList interface{} Property securityIpList: The IP address whitelist.
VpcId interface{} Property vpcId: The ID of the VPC.
VSwitchId interface{} Property vSwitchId: The vSwitch.
ZoneId interface{} Property zoneId: The zone.

ApplicationTypeRequired

ApplicationType interface{}
  • Type: interface{}

Property applicationType: The type of the application.

Valid values:

  • supabase: Creates a managed Supabase application.
  • raycluster: Creates a managed Ray Cluster application.
  • polarclaw: Creates a managed PolarClaw application.

ArchitectureRequired

Architecture interface{}
  • Type: interface{}

Property architecture: The architecture of the application.

This parameter is required.


DbClusterIdRequired

DbClusterId interface{}
  • Type: interface{}

Property dbClusterId: The ID of the database cluster.


AutoCreatePolarFsOptional

AutoCreatePolarFs interface{}
  • Type: interface{}

Property autoCreatePolarFs: Specifies whether to automatically create a PolarFS cold storage instance.

Valid values:

  • false (default): Does not automatically create the instance.
  • true: Automatically creates the instance.

ComponentsOptional

Components interface{}
  • Type: interface{}

Property components: A list of custom child components for the application.


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: The description of the application.


PayTypeOptional

PayType interface{}
  • Type: interface{}

Property payType: The billing method of the cluster.

Valid values: Postpaid: pay-as-you-go Prepaid: subscription


PeriodOptional

Period interface{}
  • Type: interface{}

Property period: The subscription period type.


PolarFsInstanceIdOptional

PolarFsInstanceId interface{}
  • Type: interface{}

Property polarFsInstanceId: The ID of the PolarFileSystem (PolarFS) cold storage or high-performance instance.

This parameter is empty by default. If you specify this parameter, the corresponding storage is mounted to the application. This feature is currently supported only by the following applications:

  • supabase
  • raycluster

SecurityGroupIdOptional

SecurityGroupId interface{}
  • Type: interface{}

Property securityGroupId: The ID of the security group.


SecurityIpListOptional

SecurityIpList interface{}
  • Type: interface{}

Property securityIpList: The IP address whitelist.

If you do not specify this parameter, the default value 127.0.0.1 is used.


VpcIdOptional

VpcId interface{}
  • Type: interface{}

Property vpcId: The ID of the VPC.


VSwitchIdOptional

VSwitchId interface{}
  • Type: interface{}

Property vSwitchId: The vSwitch.

The default value is the current vSwitch in the primary zone of the instance.


ZoneIdOptional

ZoneId interface{}
  • Type: interface{}

Property zoneId: The zone.

The default value is the primary zone of the instance.