published on Thursday, Jun 25, 2026 by Pulumi
published on Thursday, Jun 25, 2026 by Pulumi
Provides a PolarDB Application resource. A PolarDB Application is an AI-driven database application that integrates with large language models (LLMs) to provide intelligent data processing capabilities.
NOTE: Available since v1.279.0.
Example Usage
Create a PolarDB Application
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const _default = new alicloud.vpc.Network("default", {
vpcName: "terraform-example",
cidrBlock: "172.16.0.0/16",
});
const defaultSwitch = new alicloud.vpc.Switch("default", {
vpcId: _default.id,
cidrBlock: "172.16.0.0/24",
zoneId: "cn-beijing-k",
vswitchName: "terraform-example",
});
const defaultCluster = new alicloud.polardb.Cluster("default", {
dbType: "MySQL",
dbVersion: "8.0",
payType: "PostPaid",
category: "Normal",
description: "terraform-example-cluster",
});
const defaultApplication = new alicloud.polardb.Application("default", {
description: "terraform-example-app",
applicationType: "polarclaw",
architecture: "x86",
dbClusterId: defaultCluster.id,
vswitchId: defaultSwitch.id,
vpcId: _default.id,
regionId: "cn-beijing",
zoneId: "cn-beijing-k",
payType: "PostPaid",
modelFrom: "bailian",
modelBaseUrl: "https://dashscope.aliyuncs.com/compatible-mode/v1",
modelName: "qwen3.6-plus",
components: [{
componentType: "polarclaw_comp",
componentClass: "polar.app.g2.medium",
componentReplica: 1,
}],
parameters: [{
parameterName: "secret.dashscope.apiKey",
parameterValue: "ap-xxx",
}],
modifyMode: "Append",
securityIpArrayName: "white_list",
securityIpLists: [
"127.0.0.1",
"192.168.1.2",
],
});
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.vpc.Network("default",
vpc_name="terraform-example",
cidr_block="172.16.0.0/16")
default_switch = alicloud.vpc.Switch("default",
vpc_id=default.id,
cidr_block="172.16.0.0/24",
zone_id="cn-beijing-k",
vswitch_name="terraform-example")
default_cluster = alicloud.polardb.Cluster("default",
db_type="MySQL",
db_version="8.0",
pay_type="PostPaid",
category="Normal",
description="terraform-example-cluster")
default_application = alicloud.polardb.Application("default",
description="terraform-example-app",
application_type="polarclaw",
architecture="x86",
db_cluster_id=default_cluster.id,
vswitch_id=default_switch.id,
vpc_id=default.id,
region_id="cn-beijing",
zone_id="cn-beijing-k",
pay_type="PostPaid",
model_from="bailian",
model_base_url="https://dashscope.aliyuncs.com/compatible-mode/v1",
model_name="qwen3.6-plus",
components=[{
"component_type": "polarclaw_comp",
"component_class": "polar.app.g2.medium",
"component_replica": 1,
}],
parameters=[{
"parameter_name": "secret.dashscope.apiKey",
"parameter_value": "ap-xxx",
}],
modify_mode="Append",
security_ip_array_name="white_list",
security_ip_lists=[
"127.0.0.1",
"192.168.1.2",
])
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/polardb"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_default, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
VpcName: pulumi.String("terraform-example"),
CidrBlock: pulumi.String("172.16.0.0/16"),
})
if err != nil {
return err
}
defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
VpcId: _default.ID(),
CidrBlock: pulumi.String("172.16.0.0/24"),
ZoneId: pulumi.String("cn-beijing-k"),
VswitchName: pulumi.String("terraform-example"),
})
if err != nil {
return err
}
defaultCluster, err := polardb.NewCluster(ctx, "default", &polardb.ClusterArgs{
DbType: pulumi.String("MySQL"),
DbVersion: pulumi.String("8.0"),
PayType: pulumi.String("PostPaid"),
Category: "Normal",
Description: pulumi.String("terraform-example-cluster"),
})
if err != nil {
return err
}
_, err = polardb.NewApplication(ctx, "default", &polardb.ApplicationArgs{
Description: pulumi.String("terraform-example-app"),
ApplicationType: pulumi.String("polarclaw"),
Architecture: pulumi.String("x86"),
DbClusterId: defaultCluster.ID(),
VswitchId: defaultSwitch.ID(),
VpcId: _default.ID(),
RegionId: pulumi.String("cn-beijing"),
ZoneId: pulumi.String("cn-beijing-k"),
PayType: pulumi.String("PostPaid"),
ModelFrom: pulumi.String("bailian"),
ModelBaseUrl: pulumi.String("https://dashscope.aliyuncs.com/compatible-mode/v1"),
ModelName: pulumi.String("qwen3.6-plus"),
Components: polardb.ApplicationComponentArray{
&polardb.ApplicationComponentArgs{
ComponentType: pulumi.String("polarclaw_comp"),
ComponentClass: pulumi.String("polar.app.g2.medium"),
ComponentReplica: pulumi.Int(1),
},
},
Parameters: polardb.ApplicationParameterArray{
&polardb.ApplicationParameterArgs{
ParameterName: pulumi.String("secret.dashscope.apiKey"),
ParameterValue: pulumi.String("ap-xxx"),
},
},
ModifyMode: pulumi.String("Append"),
SecurityIpArrayName: pulumi.String("white_list"),
SecurityIpLists: pulumi.StringArray{
pulumi.String("127.0.0.1"),
pulumi.String("192.168.1.2"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var @default = new AliCloud.Vpc.Network("default", new()
{
VpcName = "terraform-example",
CidrBlock = "172.16.0.0/16",
});
var defaultSwitch = new AliCloud.Vpc.Switch("default", new()
{
VpcId = @default.Id,
CidrBlock = "172.16.0.0/24",
ZoneId = "cn-beijing-k",
VswitchName = "terraform-example",
});
var defaultCluster = new AliCloud.PolarDB.Cluster("default", new()
{
DbType = "MySQL",
DbVersion = "8.0",
PayType = "PostPaid",
Category = "Normal",
Description = "terraform-example-cluster",
});
var defaultApplication = new AliCloud.PolarDB.Application("default", new()
{
Description = "terraform-example-app",
ApplicationType = "polarclaw",
Architecture = "x86",
DbClusterId = defaultCluster.Id,
VswitchId = defaultSwitch.Id,
VpcId = @default.Id,
RegionId = "cn-beijing",
ZoneId = "cn-beijing-k",
PayType = "PostPaid",
ModelFrom = "bailian",
ModelBaseUrl = "https://dashscope.aliyuncs.com/compatible-mode/v1",
ModelName = "qwen3.6-plus",
Components = new[]
{
new AliCloud.PolarDB.Inputs.ApplicationComponentArgs
{
ComponentType = "polarclaw_comp",
ComponentClass = "polar.app.g2.medium",
ComponentReplica = 1,
},
},
Parameters = new[]
{
new AliCloud.PolarDB.Inputs.ApplicationParameterArgs
{
ParameterName = "secret.dashscope.apiKey",
ParameterValue = "ap-xxx",
},
},
ModifyMode = "Append",
SecurityIpArrayName = "white_list",
SecurityIpLists = new[]
{
"127.0.0.1",
"192.168.1.2",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.alicloud.polardb.Cluster;
import com.pulumi.alicloud.polardb.ClusterArgs;
import com.pulumi.alicloud.polardb.Application;
import com.pulumi.alicloud.polardb.ApplicationArgs;
import com.pulumi.alicloud.polardb.inputs.ApplicationComponentArgs;
import com.pulumi.alicloud.polardb.inputs.ApplicationParameterArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new Network("default", NetworkArgs.builder()
.vpcName("terraform-example")
.cidrBlock("172.16.0.0/16")
.build());
var defaultSwitch = new Switch("defaultSwitch", SwitchArgs.builder()
.vpcId(default_.id())
.cidrBlock("172.16.0.0/24")
.zoneId("cn-beijing-k")
.vswitchName("terraform-example")
.build());
var defaultCluster = new Cluster("defaultCluster", ClusterArgs.builder()
.dbType("MySQL")
.dbVersion("8.0")
.payType("PostPaid")
.category("Normal")
.description("terraform-example-cluster")
.build());
var defaultApplication = new Application("defaultApplication", ApplicationArgs.builder()
.description("terraform-example-app")
.applicationType("polarclaw")
.architecture("x86")
.dbClusterId(defaultCluster.id())
.vswitchId(defaultSwitch.id())
.vpcId(default_.id())
.regionId("cn-beijing")
.zoneId("cn-beijing-k")
.payType("PostPaid")
.modelFrom("bailian")
.modelBaseUrl("https://dashscope.aliyuncs.com/compatible-mode/v1")
.modelName("qwen3.6-plus")
.components(ApplicationComponentArgs.builder()
.componentType("polarclaw_comp")
.componentClass("polar.app.g2.medium")
.componentReplica(1)
.build())
.parameters(ApplicationParameterArgs.builder()
.parameterName("secret.dashscope.apiKey")
.parameterValue("ap-xxx")
.build())
.modifyMode("Append")
.securityIpArrayName("white_list")
.securityIpLists(
"127.0.0.1",
"192.168.1.2")
.build());
}
}
resources:
default:
type: alicloud:vpc:Network
properties:
vpcName: terraform-example
cidrBlock: 172.16.0.0/16
defaultSwitch:
type: alicloud:vpc:Switch
name: default
properties:
vpcId: ${default.id}
cidrBlock: 172.16.0.0/24
zoneId: cn-beijing-k
vswitchName: terraform-example
defaultCluster:
type: alicloud:polardb:Cluster
name: default
properties:
dbType: MySQL
dbVersion: '8.0'
payType: PostPaid
category: Normal
description: terraform-example-cluster
defaultApplication:
type: alicloud:polardb:Application
name: default
properties:
description: terraform-example-app
applicationType: polarclaw
architecture: x86
dbClusterId: ${defaultCluster.id}
vswitchId: ${defaultSwitch.id}
vpcId: ${default.id}
regionId: cn-beijing
zoneId: cn-beijing-k
payType: PostPaid
modelFrom: bailian
modelBaseUrl: https://dashscope.aliyuncs.com/compatible-mode/v1
modelName: qwen3.6-plus
components:
- componentType: polarclaw_comp
componentClass: polar.app.g2.medium
componentReplica: 1
parameters:
- parameterName: secret.dashscope.apiKey
parameterValue: ap-xxx
modifyMode: Append
securityIpArrayName: white_list
securityIpLists:
- 127.0.0.1
- 192.168.1.2
pulumi {
required_providers {
alicloud = {
source = "pulumi/alicloud"
}
}
}
resource "alicloud_vpc_network" "default" {
vpc_name = "terraform-example"
cidr_block = "172.16.0.0/16"
}
resource "alicloud_vpc_switch" "default" {
vpc_id = alicloud_vpc_network.default.id
cidr_block = "172.16.0.0/24"
zone_id = "cn-beijing-k"
vswitch_name = "terraform-example"
}
resource "alicloud_polardb_cluster" "default" {
db_type = "MySQL"
db_version = "8.0"
pay_type = "PostPaid"
category = "Normal"
description = "terraform-example-cluster"
}
resource "alicloud_polardb_application" "default" {
description = "terraform-example-app"
application_type = "polarclaw"
architecture = "x86"
db_cluster_id = alicloud_polardb_cluster.default.id
vswitch_id = alicloud_vpc_switch.default.id
vpc_id = alicloud_vpc_network.default.id
region_id = "cn-beijing"
zone_id = "cn-beijing-k"
pay_type = "PostPaid"
model_from = "bailian"
model_base_url = "https://dashscope.aliyuncs.com/compatible-mode/v1"
model_name = "qwen3.6-plus"
components {
component_type = "polarclaw_comp"
component_class = "polar.app.g2.medium"
component_replica = 1
}
parameters {
parameter_name = "secret.dashscope.apiKey"
parameter_value = "ap-xxx"
}
modify_mode = "Append"
security_ip_array_name = "white_list"
security_ip_lists = ["127.0.0.1", "192.168.1.2"]
}
Removing alicloud.polardb.Application from your configuration
The alicloud.polardb.Application resource allows you to manage your PolarDB application. If the application type is PrePaid, Terraform cannot destroy it directly. Removing this resource from your configuration will remove it from your statefile and management, but will not destroy the application. You can resume managing the application via the PolarDB Console.
📚 Need more examples? VIEW MORE EXAMPLES
Create Application Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Application(name: string, args: ApplicationArgs, opts?: CustomResourceOptions);@overload
def Application(resource_name: str,
args: ApplicationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Application(resource_name: str,
opts: Optional[ResourceOptions] = None,
region_id: Optional[str] = None,
application_type: Optional[str] = None,
architecture: Optional[str] = None,
model_name: Optional[str] = None,
parameters: Optional[Sequence[ApplicationParameterArgs]] = None,
components: Optional[Sequence[ApplicationComponentArgs]] = None,
db_cluster_id: Optional[str] = None,
description: Optional[str] = None,
model_api: Optional[str] = None,
model_api_key: Optional[str] = None,
model_base_url: Optional[str] = None,
model_from: Optional[str] = None,
ai_db_cluster_id: Optional[str] = None,
modify_mode: Optional[str] = None,
component_id: Optional[str] = None,
pay_type: Optional[str] = None,
period: Optional[int] = None,
auto_renew: Optional[bool] = None,
resource_group_id: Optional[str] = None,
security_ip_array_name: Optional[str] = None,
security_ip_lists: Optional[Sequence[str]] = None,
upgrade_version: Optional[bool] = None,
vpc_id: Optional[str] = None,
vswitch_id: Optional[str] = None,
zone_id: Optional[str] = None)func NewApplication(ctx *Context, name string, args ApplicationArgs, opts ...ResourceOption) (*Application, error)public Application(string name, ApplicationArgs args, CustomResourceOptions? opts = null)
public Application(String name, ApplicationArgs args)
public Application(String name, ApplicationArgs args, CustomResourceOptions options)
type: alicloud:polardb:Application
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "alicloud_polardb_application" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleapplicationResourceResourceFromPolardbapplication = new AliCloud.PolarDB.Application("exampleapplicationResourceResourceFromPolardbapplication", new()
{
RegionId = "string",
ApplicationType = "string",
Architecture = "string",
ModelName = "string",
Parameters = new[]
{
new AliCloud.PolarDB.Inputs.ApplicationParameterArgs
{
ParameterName = "string",
ParameterValue = "string",
},
},
Components = new[]
{
new AliCloud.PolarDB.Inputs.ApplicationComponentArgs
{
ComponentClass = "string",
ComponentReplica = 0,
ComponentType = "string",
},
},
DbClusterId = "string",
Description = "string",
ModelApi = "string",
ModelApiKey = "string",
ModelBaseUrl = "string",
ModelFrom = "string",
AiDbClusterId = "string",
ModifyMode = "string",
ComponentId = "string",
PayType = "string",
Period = 0,
AutoRenew = false,
ResourceGroupId = "string",
SecurityIpArrayName = "string",
SecurityIpLists = new[]
{
"string",
},
UpgradeVersion = false,
VpcId = "string",
VswitchId = "string",
ZoneId = "string",
});
example, err := polardb.NewApplication(ctx, "exampleapplicationResourceResourceFromPolardbapplication", &polardb.ApplicationArgs{
RegionId: pulumi.String("string"),
ApplicationType: pulumi.String("string"),
Architecture: pulumi.String("string"),
ModelName: pulumi.String("string"),
Parameters: polardb.ApplicationParameterArray{
&polardb.ApplicationParameterArgs{
ParameterName: pulumi.String("string"),
ParameterValue: pulumi.String("string"),
},
},
Components: polardb.ApplicationComponentArray{
&polardb.ApplicationComponentArgs{
ComponentClass: pulumi.String("string"),
ComponentReplica: pulumi.Int(0),
ComponentType: pulumi.String("string"),
},
},
DbClusterId: pulumi.String("string"),
Description: pulumi.String("string"),
ModelApi: pulumi.String("string"),
ModelApiKey: pulumi.String("string"),
ModelBaseUrl: pulumi.String("string"),
ModelFrom: pulumi.String("string"),
AiDbClusterId: pulumi.String("string"),
ModifyMode: pulumi.String("string"),
ComponentId: pulumi.String("string"),
PayType: pulumi.String("string"),
Period: pulumi.Int(0),
AutoRenew: pulumi.Bool(false),
ResourceGroupId: pulumi.String("string"),
SecurityIpArrayName: pulumi.String("string"),
SecurityIpLists: pulumi.StringArray{
pulumi.String("string"),
},
UpgradeVersion: pulumi.Bool(false),
VpcId: pulumi.String("string"),
VswitchId: pulumi.String("string"),
ZoneId: pulumi.String("string"),
})
resource "alicloud_polardb_application" "exampleapplicationResourceResourceFromPolardbapplication" {
region_id = "string"
application_type = "string"
architecture = "string"
model_name = "string"
parameters {
parameter_name = "string"
parameter_value = "string"
}
components {
component_class = "string"
component_replica = 0
component_type = "string"
}
db_cluster_id = "string"
description = "string"
model_api = "string"
model_api_key = "string"
model_base_url = "string"
model_from = "string"
ai_db_cluster_id = "string"
modify_mode = "string"
component_id = "string"
pay_type = "string"
period = 0
auto_renew = false
resource_group_id = "string"
security_ip_array_name = "string"
security_ip_lists = ["string"]
upgrade_version = false
vpc_id = "string"
vswitch_id = "string"
zone_id = "string"
}
var exampleapplicationResourceResourceFromPolardbapplication = new com.pulumi.alicloud.polardb.Application("exampleapplicationResourceResourceFromPolardbapplication", com.pulumi.alicloud.polardb.ApplicationArgs.builder()
.regionId("string")
.applicationType("string")
.architecture("string")
.modelName("string")
.parameters(ApplicationParameterArgs.builder()
.parameterName("string")
.parameterValue("string")
.build())
.components(ApplicationComponentArgs.builder()
.componentClass("string")
.componentReplica(0)
.componentType("string")
.build())
.dbClusterId("string")
.description("string")
.modelApi("string")
.modelApiKey("string")
.modelBaseUrl("string")
.modelFrom("string")
.aiDbClusterId("string")
.modifyMode("string")
.componentId("string")
.payType("string")
.period(0)
.autoRenew(false)
.resourceGroupId("string")
.securityIpArrayName("string")
.securityIpLists("string")
.upgradeVersion(false)
.vpcId("string")
.vswitchId("string")
.zoneId("string")
.build());
exampleapplication_resource_resource_from_polardbapplication = alicloud.polardb.Application("exampleapplicationResourceResourceFromPolardbapplication",
region_id="string",
application_type="string",
architecture="string",
model_name="string",
parameters=[{
"parameter_name": "string",
"parameter_value": "string",
}],
components=[{
"component_class": "string",
"component_replica": 0,
"component_type": "string",
}],
db_cluster_id="string",
description="string",
model_api="string",
model_api_key="string",
model_base_url="string",
model_from="string",
ai_db_cluster_id="string",
modify_mode="string",
component_id="string",
pay_type="string",
period=0,
auto_renew=False,
resource_group_id="string",
security_ip_array_name="string",
security_ip_lists=["string"],
upgrade_version=False,
vpc_id="string",
vswitch_id="string",
zone_id="string")
const exampleapplicationResourceResourceFromPolardbapplication = new alicloud.polardb.Application("exampleapplicationResourceResourceFromPolardbapplication", {
regionId: "string",
applicationType: "string",
architecture: "string",
modelName: "string",
parameters: [{
parameterName: "string",
parameterValue: "string",
}],
components: [{
componentClass: "string",
componentReplica: 0,
componentType: "string",
}],
dbClusterId: "string",
description: "string",
modelApi: "string",
modelApiKey: "string",
modelBaseUrl: "string",
modelFrom: "string",
aiDbClusterId: "string",
modifyMode: "string",
componentId: "string",
payType: "string",
period: 0,
autoRenew: false,
resourceGroupId: "string",
securityIpArrayName: "string",
securityIpLists: ["string"],
upgradeVersion: false,
vpcId: "string",
vswitchId: "string",
zoneId: "string",
});
type: alicloud:polardb:Application
properties:
aiDbClusterId: string
applicationType: string
architecture: string
autoRenew: false
componentId: string
components:
- componentClass: string
componentReplica: 0
componentType: string
dbClusterId: string
description: string
modelApi: string
modelApiKey: string
modelBaseUrl: string
modelFrom: string
modelName: string
modifyMode: string
parameters:
- parameterName: string
parameterValue: string
payType: string
period: 0
regionId: string
resourceGroupId: string
securityIpArrayName: string
securityIpLists:
- string
upgradeVersion: false
vpcId: string
vswitchId: string
zoneId: string
Application Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Application resource accepts the following input properties:
- Application
Type string - The type of the application. Valid value
polarclaw. - Architecture string
- The architecture of the application. Valid value
x86. - Region
Id string - The region ID of the application.
- Ai
Db stringCluster Id - The ID of the AI DB cluster.
- Auto
Renew bool - Whether to enable auto-renewal. Valid values are
true,false. - Component
Id string - The ID of the component.
- Components
List<Pulumi.
Ali Cloud. Polar DB. Inputs. Application Component> - The components of the application. See
componentsbelow. - Db
Cluster stringId - The ID of the associated PolarDB cluster.
- Description string
- The description of the application. It must be 2 to 256 characters in length.
- Model
Api string - The API endpoint for the model.
- Model
Api stringKey - The API key for the model.
- Model
Base stringUrl - The base URL for the model API.
- Model
From string - The source of the model. Valid values are
bailian,custom,maas. - Model
Name string - The name of the model.
- Modify
Mode string - The method for modifying the IP whitelist. Valid values are
Cover,Append,Delete. - Parameters
List<Pulumi.
Ali Cloud. Polar DB. Inputs. Application Parameter> - The parameters of the application. See
parametersbelow. - Pay
Type string - The billing method. Valid values are
PrePaid,PostPaid. Default toPostPaid. - Period int
The subscription duration in months. It is valid when
payTypeisPrePaid. Valid values:1,2,3,4,5,6,7,8,9,12,24,36.NOTE: The attribute
periodis only used to create Subscription instance. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.- Resource
Group stringId - The ID of the resource group.
- Security
Ip stringArray Name - The name of the IP whitelist group.
- Security
Ip List<string>Lists - The list of IP addresses allowed to access the application.
- Upgrade
Version bool - Whether to upgrade the version. Valid values are
true,false. - Vpc
Id string - The ID of the VPC.
- Vswitch
Id string - The ID of the VSwitch.
- Zone
Id string - The zone ID of the application.
- Application
Type string - The type of the application. Valid value
polarclaw. - Architecture string
- The architecture of the application. Valid value
x86. - Region
Id string - The region ID of the application.
- Ai
Db stringCluster Id - The ID of the AI DB cluster.
- Auto
Renew bool - Whether to enable auto-renewal. Valid values are
true,false. - Component
Id string - The ID of the component.
- Components
[]Application
Component Args - The components of the application. See
componentsbelow. - Db
Cluster stringId - The ID of the associated PolarDB cluster.
- Description string
- The description of the application. It must be 2 to 256 characters in length.
- Model
Api string - The API endpoint for the model.
- Model
Api stringKey - The API key for the model.
- Model
Base stringUrl - The base URL for the model API.
- Model
From string - The source of the model. Valid values are
bailian,custom,maas. - Model
Name string - The name of the model.
- Modify
Mode string - The method for modifying the IP whitelist. Valid values are
Cover,Append,Delete. - Parameters
[]Application
Parameter Args - The parameters of the application. See
parametersbelow. - Pay
Type string - The billing method. Valid values are
PrePaid,PostPaid. Default toPostPaid. - Period int
The subscription duration in months. It is valid when
payTypeisPrePaid. Valid values:1,2,3,4,5,6,7,8,9,12,24,36.NOTE: The attribute
periodis only used to create Subscription instance. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.- Resource
Group stringId - The ID of the resource group.
- Security
Ip stringArray Name - The name of the IP whitelist group.
- Security
Ip []stringLists - The list of IP addresses allowed to access the application.
- Upgrade
Version bool - Whether to upgrade the version. Valid values are
true,false. - Vpc
Id string - The ID of the VPC.
- Vswitch
Id string - The ID of the VSwitch.
- Zone
Id string - The zone ID of the application.
- application_
type string - The type of the application. Valid value
polarclaw. - architecture string
- The architecture of the application. Valid value
x86. - region_
id string - The region ID of the application.
- ai_
db_ stringcluster_ id - The ID of the AI DB cluster.
- auto_
renew bool - Whether to enable auto-renewal. Valid values are
true,false. - component_
id string - The ID of the component.
- components list(object)
- The components of the application. See
componentsbelow. - db_
cluster_ stringid - The ID of the associated PolarDB cluster.
- description string
- The description of the application. It must be 2 to 256 characters in length.
- model_
api string - The API endpoint for the model.
- model_
api_ stringkey - The API key for the model.
- model_
base_ stringurl - The base URL for the model API.
- model_
from string - The source of the model. Valid values are
bailian,custom,maas. - model_
name string - The name of the model.
- modify_
mode string - The method for modifying the IP whitelist. Valid values are
Cover,Append,Delete. - parameters list(object)
- The parameters of the application. See
parametersbelow. - pay_
type string - The billing method. Valid values are
PrePaid,PostPaid. Default toPostPaid. - period number
The subscription duration in months. It is valid when
payTypeisPrePaid. Valid values:1,2,3,4,5,6,7,8,9,12,24,36.NOTE: The attribute
periodis only used to create Subscription instance. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.- resource_
group_ stringid - The ID of the resource group.
- security_
ip_ stringarray_ name - The name of the IP whitelist group.
- security_
ip_ list(string)lists - The list of IP addresses allowed to access the application.
- upgrade_
version bool - Whether to upgrade the version. Valid values are
true,false. - vpc_
id string - The ID of the VPC.
- vswitch_
id string - The ID of the VSwitch.
- zone_
id string - The zone ID of the application.
- application
Type String - The type of the application. Valid value
polarclaw. - architecture String
- The architecture of the application. Valid value
x86. - region
Id String - The region ID of the application.
- ai
Db StringCluster Id - The ID of the AI DB cluster.
- auto
Renew Boolean - Whether to enable auto-renewal. Valid values are
true,false. - component
Id String - The ID of the component.
- components
List<Application
Component> - The components of the application. See
componentsbelow. - db
Cluster StringId - The ID of the associated PolarDB cluster.
- description String
- The description of the application. It must be 2 to 256 characters in length.
- model
Api String - The API endpoint for the model.
- model
Api StringKey - The API key for the model.
- model
Base StringUrl - The base URL for the model API.
- model
From String - The source of the model. Valid values are
bailian,custom,maas. - model
Name String - The name of the model.
- modify
Mode String - The method for modifying the IP whitelist. Valid values are
Cover,Append,Delete. - parameters
List<Application
Parameter> - The parameters of the application. See
parametersbelow. - pay
Type String - The billing method. Valid values are
PrePaid,PostPaid. Default toPostPaid. - period Integer
The subscription duration in months. It is valid when
payTypeisPrePaid. Valid values:1,2,3,4,5,6,7,8,9,12,24,36.NOTE: The attribute
periodis only used to create Subscription instance. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.- resource
Group StringId - The ID of the resource group.
- security
Ip StringArray Name - The name of the IP whitelist group.
- security
Ip List<String>Lists - The list of IP addresses allowed to access the application.
- upgrade
Version Boolean - Whether to upgrade the version. Valid values are
true,false. - vpc
Id String - The ID of the VPC.
- vswitch
Id String - The ID of the VSwitch.
- zone
Id String - The zone ID of the application.
- application
Type string - The type of the application. Valid value
polarclaw. - architecture string
- The architecture of the application. Valid value
x86. - region
Id string - The region ID of the application.
- ai
Db stringCluster Id - The ID of the AI DB cluster.
- auto
Renew boolean - Whether to enable auto-renewal. Valid values are
true,false. - component
Id string - The ID of the component.
- components
Application
Component[] - The components of the application. See
componentsbelow. - db
Cluster stringId - The ID of the associated PolarDB cluster.
- description string
- The description of the application. It must be 2 to 256 characters in length.
- model
Api string - The API endpoint for the model.
- model
Api stringKey - The API key for the model.
- model
Base stringUrl - The base URL for the model API.
- model
From string - The source of the model. Valid values are
bailian,custom,maas. - model
Name string - The name of the model.
- modify
Mode string - The method for modifying the IP whitelist. Valid values are
Cover,Append,Delete. - parameters
Application
Parameter[] - The parameters of the application. See
parametersbelow. - pay
Type string - The billing method. Valid values are
PrePaid,PostPaid. Default toPostPaid. - period number
The subscription duration in months. It is valid when
payTypeisPrePaid. Valid values:1,2,3,4,5,6,7,8,9,12,24,36.NOTE: The attribute
periodis only used to create Subscription instance. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.- resource
Group stringId - The ID of the resource group.
- security
Ip stringArray Name - The name of the IP whitelist group.
- security
Ip string[]Lists - The list of IP addresses allowed to access the application.
- upgrade
Version boolean - Whether to upgrade the version. Valid values are
true,false. - vpc
Id string - The ID of the VPC.
- vswitch
Id string - The ID of the VSwitch.
- zone
Id string - The zone ID of the application.
- application_
type str - The type of the application. Valid value
polarclaw. - architecture str
- The architecture of the application. Valid value
x86. - region_
id str - The region ID of the application.
- ai_
db_ strcluster_ id - The ID of the AI DB cluster.
- auto_
renew bool - Whether to enable auto-renewal. Valid values are
true,false. - component_
id str - The ID of the component.
- components
Sequence[Application
Component Args] - The components of the application. See
componentsbelow. - db_
cluster_ strid - The ID of the associated PolarDB cluster.
- description str
- The description of the application. It must be 2 to 256 characters in length.
- model_
api str - The API endpoint for the model.
- model_
api_ strkey - The API key for the model.
- model_
base_ strurl - The base URL for the model API.
- model_
from str - The source of the model. Valid values are
bailian,custom,maas. - model_
name str - The name of the model.
- modify_
mode str - The method for modifying the IP whitelist. Valid values are
Cover,Append,Delete. - parameters
Sequence[Application
Parameter Args] - The parameters of the application. See
parametersbelow. - pay_
type str - The billing method. Valid values are
PrePaid,PostPaid. Default toPostPaid. - period int
The subscription duration in months. It is valid when
payTypeisPrePaid. Valid values:1,2,3,4,5,6,7,8,9,12,24,36.NOTE: The attribute
periodis only used to create Subscription instance. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.- resource_
group_ strid - The ID of the resource group.
- security_
ip_ strarray_ name - The name of the IP whitelist group.
- security_
ip_ Sequence[str]lists - The list of IP addresses allowed to access the application.
- upgrade_
version bool - Whether to upgrade the version. Valid values are
true,false. - vpc_
id str - The ID of the VPC.
- vswitch_
id str - The ID of the VSwitch.
- zone_
id str - The zone ID of the application.
- application
Type String - The type of the application. Valid value
polarclaw. - architecture String
- The architecture of the application. Valid value
x86. - region
Id String - The region ID of the application.
- ai
Db StringCluster Id - The ID of the AI DB cluster.
- auto
Renew Boolean - Whether to enable auto-renewal. Valid values are
true,false. - component
Id String - The ID of the component.
- components List<Property Map>
- The components of the application. See
componentsbelow. - db
Cluster StringId - The ID of the associated PolarDB cluster.
- description String
- The description of the application. It must be 2 to 256 characters in length.
- model
Api String - The API endpoint for the model.
- model
Api StringKey - The API key for the model.
- model
Base StringUrl - The base URL for the model API.
- model
From String - The source of the model. Valid values are
bailian,custom,maas. - model
Name String - The name of the model.
- modify
Mode String - The method for modifying the IP whitelist. Valid values are
Cover,Append,Delete. - parameters List<Property Map>
- The parameters of the application. See
parametersbelow. - pay
Type String - The billing method. Valid values are
PrePaid,PostPaid. Default toPostPaid. - period Number
The subscription duration in months. It is valid when
payTypeisPrePaid. Valid values:1,2,3,4,5,6,7,8,9,12,24,36.NOTE: The attribute
periodis only used to create Subscription instance. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.- resource
Group StringId - The ID of the resource group.
- security
Ip StringArray Name - The name of the IP whitelist group.
- security
Ip List<String>Lists - The list of IP addresses allowed to access the application.
- upgrade
Version Boolean - Whether to upgrade the version. Valid values are
true,false. - vpc
Id String - The ID of the VPC.
- vswitch
Id String - The ID of the VSwitch.
- zone
Id String - The zone ID of the application.
Outputs
All input properties are implicitly available as output properties. Additionally, the Application resource produces the following output properties:
Look up Existing Application Resource
Get an existing Application resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ApplicationState, opts?: CustomResourceOptions): Application@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
ai_db_cluster_id: Optional[str] = None,
application_type: Optional[str] = None,
architecture: Optional[str] = None,
auto_renew: Optional[bool] = None,
component_id: Optional[str] = None,
components: Optional[Sequence[ApplicationComponentArgs]] = None,
db_cluster_id: Optional[str] = None,
description: Optional[str] = None,
model_api: Optional[str] = None,
model_api_key: Optional[str] = None,
model_base_url: Optional[str] = None,
model_from: Optional[str] = None,
model_name: Optional[str] = None,
modify_mode: Optional[str] = None,
parameters: Optional[Sequence[ApplicationParameterArgs]] = None,
pay_type: Optional[str] = None,
period: Optional[int] = None,
region_id: Optional[str] = None,
resource_group_id: Optional[str] = None,
security_ip_array_name: Optional[str] = None,
security_ip_lists: Optional[Sequence[str]] = None,
status: Optional[str] = None,
upgrade_version: Optional[bool] = None,
vpc_id: Optional[str] = None,
vswitch_id: Optional[str] = None,
zone_id: Optional[str] = None) -> Applicationfunc GetApplication(ctx *Context, name string, id IDInput, state *ApplicationState, opts ...ResourceOption) (*Application, error)public static Application Get(string name, Input<string> id, ApplicationState? state, CustomResourceOptions? opts = null)public static Application get(String name, Output<String> id, ApplicationState state, CustomResourceOptions options)resources: _: type: alicloud:polardb:Application get: id: ${id}import {
to = alicloud_polardb_application.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Ai
Db stringCluster Id - The ID of the AI DB cluster.
- Application
Type string - The type of the application. Valid value
polarclaw. - Architecture string
- The architecture of the application. Valid value
x86. - Auto
Renew bool - Whether to enable auto-renewal. Valid values are
true,false. - Component
Id string - The ID of the component.
- Components
List<Pulumi.
Ali Cloud. Polar DB. Inputs. Application Component> - The components of the application. See
componentsbelow. - Db
Cluster stringId - The ID of the associated PolarDB cluster.
- Description string
- The description of the application. It must be 2 to 256 characters in length.
- Model
Api string - The API endpoint for the model.
- Model
Api stringKey - The API key for the model.
- Model
Base stringUrl - The base URL for the model API.
- Model
From string - The source of the model. Valid values are
bailian,custom,maas. - Model
Name string - The name of the model.
- Modify
Mode string - The method for modifying the IP whitelist. Valid values are
Cover,Append,Delete. - Parameters
List<Pulumi.
Ali Cloud. Polar DB. Inputs. Application Parameter> - The parameters of the application. See
parametersbelow. - Pay
Type string - The billing method. Valid values are
PrePaid,PostPaid. Default toPostPaid. - Period int
The subscription duration in months. It is valid when
payTypeisPrePaid. Valid values:1,2,3,4,5,6,7,8,9,12,24,36.NOTE: The attribute
periodis only used to create Subscription instance. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.- Region
Id string - The region ID of the application.
- Resource
Group stringId - The ID of the resource group.
- Security
Ip stringArray Name - The name of the IP whitelist group.
- Security
Ip List<string>Lists - The list of IP addresses allowed to access the application.
- Status string
- The status of the application.
- Upgrade
Version bool - Whether to upgrade the version. Valid values are
true,false. - Vpc
Id string - The ID of the VPC.
- Vswitch
Id string - The ID of the VSwitch.
- Zone
Id string - The zone ID of the application.
- Ai
Db stringCluster Id - The ID of the AI DB cluster.
- Application
Type string - The type of the application. Valid value
polarclaw. - Architecture string
- The architecture of the application. Valid value
x86. - Auto
Renew bool - Whether to enable auto-renewal. Valid values are
true,false. - Component
Id string - The ID of the component.
- Components
[]Application
Component Args - The components of the application. See
componentsbelow. - Db
Cluster stringId - The ID of the associated PolarDB cluster.
- Description string
- The description of the application. It must be 2 to 256 characters in length.
- Model
Api string - The API endpoint for the model.
- Model
Api stringKey - The API key for the model.
- Model
Base stringUrl - The base URL for the model API.
- Model
From string - The source of the model. Valid values are
bailian,custom,maas. - Model
Name string - The name of the model.
- Modify
Mode string - The method for modifying the IP whitelist. Valid values are
Cover,Append,Delete. - Parameters
[]Application
Parameter Args - The parameters of the application. See
parametersbelow. - Pay
Type string - The billing method. Valid values are
PrePaid,PostPaid. Default toPostPaid. - Period int
The subscription duration in months. It is valid when
payTypeisPrePaid. Valid values:1,2,3,4,5,6,7,8,9,12,24,36.NOTE: The attribute
periodis only used to create Subscription instance. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.- Region
Id string - The region ID of the application.
- Resource
Group stringId - The ID of the resource group.
- Security
Ip stringArray Name - The name of the IP whitelist group.
- Security
Ip []stringLists - The list of IP addresses allowed to access the application.
- Status string
- The status of the application.
- Upgrade
Version bool - Whether to upgrade the version. Valid values are
true,false. - Vpc
Id string - The ID of the VPC.
- Vswitch
Id string - The ID of the VSwitch.
- Zone
Id string - The zone ID of the application.
- ai_
db_ stringcluster_ id - The ID of the AI DB cluster.
- application_
type string - The type of the application. Valid value
polarclaw. - architecture string
- The architecture of the application. Valid value
x86. - auto_
renew bool - Whether to enable auto-renewal. Valid values are
true,false. - component_
id string - The ID of the component.
- components list(object)
- The components of the application. See
componentsbelow. - db_
cluster_ stringid - The ID of the associated PolarDB cluster.
- description string
- The description of the application. It must be 2 to 256 characters in length.
- model_
api string - The API endpoint for the model.
- model_
api_ stringkey - The API key for the model.
- model_
base_ stringurl - The base URL for the model API.
- model_
from string - The source of the model. Valid values are
bailian,custom,maas. - model_
name string - The name of the model.
- modify_
mode string - The method for modifying the IP whitelist. Valid values are
Cover,Append,Delete. - parameters list(object)
- The parameters of the application. See
parametersbelow. - pay_
type string - The billing method. Valid values are
PrePaid,PostPaid. Default toPostPaid. - period number
The subscription duration in months. It is valid when
payTypeisPrePaid. Valid values:1,2,3,4,5,6,7,8,9,12,24,36.NOTE: The attribute
periodis only used to create Subscription instance. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.- region_
id string - The region ID of the application.
- resource_
group_ stringid - The ID of the resource group.
- security_
ip_ stringarray_ name - The name of the IP whitelist group.
- security_
ip_ list(string)lists - The list of IP addresses allowed to access the application.
- status string
- The status of the application.
- upgrade_
version bool - Whether to upgrade the version. Valid values are
true,false. - vpc_
id string - The ID of the VPC.
- vswitch_
id string - The ID of the VSwitch.
- zone_
id string - The zone ID of the application.
- ai
Db StringCluster Id - The ID of the AI DB cluster.
- application
Type String - The type of the application. Valid value
polarclaw. - architecture String
- The architecture of the application. Valid value
x86. - auto
Renew Boolean - Whether to enable auto-renewal. Valid values are
true,false. - component
Id String - The ID of the component.
- components
List<Application
Component> - The components of the application. See
componentsbelow. - db
Cluster StringId - The ID of the associated PolarDB cluster.
- description String
- The description of the application. It must be 2 to 256 characters in length.
- model
Api String - The API endpoint for the model.
- model
Api StringKey - The API key for the model.
- model
Base StringUrl - The base URL for the model API.
- model
From String - The source of the model. Valid values are
bailian,custom,maas. - model
Name String - The name of the model.
- modify
Mode String - The method for modifying the IP whitelist. Valid values are
Cover,Append,Delete. - parameters
List<Application
Parameter> - The parameters of the application. See
parametersbelow. - pay
Type String - The billing method. Valid values are
PrePaid,PostPaid. Default toPostPaid. - period Integer
The subscription duration in months. It is valid when
payTypeisPrePaid. Valid values:1,2,3,4,5,6,7,8,9,12,24,36.NOTE: The attribute
periodis only used to create Subscription instance. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.- region
Id String - The region ID of the application.
- resource
Group StringId - The ID of the resource group.
- security
Ip StringArray Name - The name of the IP whitelist group.
- security
Ip List<String>Lists - The list of IP addresses allowed to access the application.
- status String
- The status of the application.
- upgrade
Version Boolean - Whether to upgrade the version. Valid values are
true,false. - vpc
Id String - The ID of the VPC.
- vswitch
Id String - The ID of the VSwitch.
- zone
Id String - The zone ID of the application.
- ai
Db stringCluster Id - The ID of the AI DB cluster.
- application
Type string - The type of the application. Valid value
polarclaw. - architecture string
- The architecture of the application. Valid value
x86. - auto
Renew boolean - Whether to enable auto-renewal. Valid values are
true,false. - component
Id string - The ID of the component.
- components
Application
Component[] - The components of the application. See
componentsbelow. - db
Cluster stringId - The ID of the associated PolarDB cluster.
- description string
- The description of the application. It must be 2 to 256 characters in length.
- model
Api string - The API endpoint for the model.
- model
Api stringKey - The API key for the model.
- model
Base stringUrl - The base URL for the model API.
- model
From string - The source of the model. Valid values are
bailian,custom,maas. - model
Name string - The name of the model.
- modify
Mode string - The method for modifying the IP whitelist. Valid values are
Cover,Append,Delete. - parameters
Application
Parameter[] - The parameters of the application. See
parametersbelow. - pay
Type string - The billing method. Valid values are
PrePaid,PostPaid. Default toPostPaid. - period number
The subscription duration in months. It is valid when
payTypeisPrePaid. Valid values:1,2,3,4,5,6,7,8,9,12,24,36.NOTE: The attribute
periodis only used to create Subscription instance. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.- region
Id string - The region ID of the application.
- resource
Group stringId - The ID of the resource group.
- security
Ip stringArray Name - The name of the IP whitelist group.
- security
Ip string[]Lists - The list of IP addresses allowed to access the application.
- status string
- The status of the application.
- upgrade
Version boolean - Whether to upgrade the version. Valid values are
true,false. - vpc
Id string - The ID of the VPC.
- vswitch
Id string - The ID of the VSwitch.
- zone
Id string - The zone ID of the application.
- ai_
db_ strcluster_ id - The ID of the AI DB cluster.
- application_
type str - The type of the application. Valid value
polarclaw. - architecture str
- The architecture of the application. Valid value
x86. - auto_
renew bool - Whether to enable auto-renewal. Valid values are
true,false. - component_
id str - The ID of the component.
- components
Sequence[Application
Component Args] - The components of the application. See
componentsbelow. - db_
cluster_ strid - The ID of the associated PolarDB cluster.
- description str
- The description of the application. It must be 2 to 256 characters in length.
- model_
api str - The API endpoint for the model.
- model_
api_ strkey - The API key for the model.
- model_
base_ strurl - The base URL for the model API.
- model_
from str - The source of the model. Valid values are
bailian,custom,maas. - model_
name str - The name of the model.
- modify_
mode str - The method for modifying the IP whitelist. Valid values are
Cover,Append,Delete. - parameters
Sequence[Application
Parameter Args] - The parameters of the application. See
parametersbelow. - pay_
type str - The billing method. Valid values are
PrePaid,PostPaid. Default toPostPaid. - period int
The subscription duration in months. It is valid when
payTypeisPrePaid. Valid values:1,2,3,4,5,6,7,8,9,12,24,36.NOTE: The attribute
periodis only used to create Subscription instance. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.- region_
id str - The region ID of the application.
- resource_
group_ strid - The ID of the resource group.
- security_
ip_ strarray_ name - The name of the IP whitelist group.
- security_
ip_ Sequence[str]lists - The list of IP addresses allowed to access the application.
- status str
- The status of the application.
- upgrade_
version bool - Whether to upgrade the version. Valid values are
true,false. - vpc_
id str - The ID of the VPC.
- vswitch_
id str - The ID of the VSwitch.
- zone_
id str - The zone ID of the application.
- ai
Db StringCluster Id - The ID of the AI DB cluster.
- application
Type String - The type of the application. Valid value
polarclaw. - architecture String
- The architecture of the application. Valid value
x86. - auto
Renew Boolean - Whether to enable auto-renewal. Valid values are
true,false. - component
Id String - The ID of the component.
- components List<Property Map>
- The components of the application. See
componentsbelow. - db
Cluster StringId - The ID of the associated PolarDB cluster.
- description String
- The description of the application. It must be 2 to 256 characters in length.
- model
Api String - The API endpoint for the model.
- model
Api StringKey - The API key for the model.
- model
Base StringUrl - The base URL for the model API.
- model
From String - The source of the model. Valid values are
bailian,custom,maas. - model
Name String - The name of the model.
- modify
Mode String - The method for modifying the IP whitelist. Valid values are
Cover,Append,Delete. - parameters List<Property Map>
- The parameters of the application. See
parametersbelow. - pay
Type String - The billing method. Valid values are
PrePaid,PostPaid. Default toPostPaid. - period Number
The subscription duration in months. It is valid when
payTypeisPrePaid. Valid values:1,2,3,4,5,6,7,8,9,12,24,36.NOTE: The attribute
periodis only used to create Subscription instance. Once effect, it will not be modified that means runningpulumi upwill not effect the resource.- region
Id String - The region ID of the application.
- resource
Group StringId - The ID of the resource group.
- security
Ip StringArray Name - The name of the IP whitelist group.
- security
Ip List<String>Lists - The list of IP addresses allowed to access the application.
- status String
- The status of the application.
- upgrade
Version Boolean - Whether to upgrade the version. Valid values are
true,false. - vpc
Id String - The ID of the VPC.
- vswitch
Id String - The ID of the VSwitch.
- zone
Id String - The zone ID of the application.
Supporting Types
ApplicationComponent, ApplicationComponentArgs
- Component
Class string - The class/specification of the component.
- Component
Replica int - The number of replicas for the component.
- Component
Type string - The type of the component.
- Component
Class string - The class/specification of the component.
- Component
Replica int - The number of replicas for the component.
- Component
Type string - The type of the component.
- component_
class string - The class/specification of the component.
- component_
replica number - The number of replicas for the component.
- component_
type string - The type of the component.
- component
Class String - The class/specification of the component.
- component
Replica Integer - The number of replicas for the component.
- component
Type String - The type of the component.
- component
Class string - The class/specification of the component.
- component
Replica number - The number of replicas for the component.
- component
Type string - The type of the component.
- component_
class str - The class/specification of the component.
- component_
replica int - The number of replicas for the component.
- component_
type str - The type of the component.
- component
Class String - The class/specification of the component.
- component
Replica Number - The number of replicas for the component.
- component
Type String - The type of the component.
ApplicationParameter, ApplicationParameterArgs
- Parameter
Name string - The name of the parameter.
- Parameter
Value string - The value of the parameter.
- Parameter
Name string - The name of the parameter.
- Parameter
Value string - The value of the parameter.
- parameter_
name string - The name of the parameter.
- parameter_
value string - The value of the parameter.
- parameter
Name String - The name of the parameter.
- parameter
Value String - The value of the parameter.
- parameter
Name string - The name of the parameter.
- parameter
Value string - The value of the parameter.
- parameter_
name str - The name of the parameter.
- parameter_
value str - The value of the parameter.
- parameter
Name String - The name of the parameter.
- parameter
Value String - The value of the parameter.
Import
PolarDB Application can be imported using the id, e.g.
$ pulumi import alicloud:polardb/application:Application example pa-abc12345678
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
published on Thursday, Jun 25, 2026 by Pulumi