published on Thursday, Jun 25, 2026 by Pulumi
published on Thursday, Jun 25, 2026 by Pulumi
Provides a PolarDB AI Cluster resource. A PolarDB AI Cluster is a managed inference cluster for deploying AI models on PolarDB infrastructure.
NOTE: Available since v1.279.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const _default = new alicloud.polardb.Aicluster("default", {
regionId: "cn-beijing",
zoneId: "cn-beijing-k",
dbNodeClass: "polar.mysql.g8.4xlarge.gu50",
dbClusterDescription: "tf-aicluster-example",
payType: "Postpaid",
vpcId: "vpc-xxx",
vswitchId: "vsw-xxx",
kubeType: "ainode",
modelName: "Qwen3.5-9B",
extension: "maas",
inferenceEngine: "sglang",
dbClusterId: "pc-xxx",
securityGroupId: "sg-xxx",
});
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.polardb.Aicluster("default",
region_id="cn-beijing",
zone_id="cn-beijing-k",
db_node_class="polar.mysql.g8.4xlarge.gu50",
db_cluster_description="tf-aicluster-example",
pay_type="Postpaid",
vpc_id="vpc-xxx",
vswitch_id="vsw-xxx",
kube_type="ainode",
model_name="Qwen3.5-9B",
extension="maas",
inference_engine="sglang",
db_cluster_id="pc-xxx",
security_group_id="sg-xxx")
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/polardb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := polardb.NewAicluster(ctx, "default", &polardb.AiclusterArgs{
RegionId: pulumi.String("cn-beijing"),
ZoneId: pulumi.String("cn-beijing-k"),
DbNodeClass: pulumi.String("polar.mysql.g8.4xlarge.gu50"),
DbClusterDescription: pulumi.String("tf-aicluster-example"),
PayType: pulumi.String("Postpaid"),
VpcId: pulumi.String("vpc-xxx"),
VswitchId: pulumi.String("vsw-xxx"),
KubeType: pulumi.String("ainode"),
ModelName: pulumi.String("Qwen3.5-9B"),
Extension: pulumi.String("maas"),
InferenceEngine: pulumi.String("sglang"),
DbClusterId: pulumi.String("pc-xxx"),
SecurityGroupId: pulumi.String("sg-xxx"),
})
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.PolarDB.Aicluster("default", new()
{
RegionId = "cn-beijing",
ZoneId = "cn-beijing-k",
DbNodeClass = "polar.mysql.g8.4xlarge.gu50",
DbClusterDescription = "tf-aicluster-example",
PayType = "Postpaid",
VpcId = "vpc-xxx",
VswitchId = "vsw-xxx",
KubeType = "ainode",
ModelName = "Qwen3.5-9B",
Extension = "maas",
InferenceEngine = "sglang",
DbClusterId = "pc-xxx",
SecurityGroupId = "sg-xxx",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.polardb.Aicluster;
import com.pulumi.alicloud.polardb.AiclusterArgs;
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 Aicluster("default", AiclusterArgs.builder()
.regionId("cn-beijing")
.zoneId("cn-beijing-k")
.dbNodeClass("polar.mysql.g8.4xlarge.gu50")
.dbClusterDescription("tf-aicluster-example")
.payType("Postpaid")
.vpcId("vpc-xxx")
.vswitchId("vsw-xxx")
.kubeType("ainode")
.modelName("Qwen3.5-9B")
.extension("maas")
.inferenceEngine("sglang")
.dbClusterId("pc-xxx")
.securityGroupId("sg-xxx")
.build());
}
}
resources:
default:
type: alicloud:polardb:Aicluster
properties:
regionId: cn-beijing
zoneId: cn-beijing-k
dbNodeClass: polar.mysql.g8.4xlarge.gu50
dbClusterDescription: tf-aicluster-example
payType: Postpaid
vpcId: vpc-xxx
vswitchId: vsw-xxx
kubeType: ainode
modelName: Qwen3.5-9B
extension: maas
inferenceEngine: sglang
dbClusterId: pc-xxx
securityGroupId: sg-xxx
pulumi {
required_providers {
alicloud = {
source = "pulumi/alicloud"
}
}
}
resource "alicloud_polardb_aicluster" "default" {
region_id = "cn-beijing"
zone_id = "cn-beijing-k"
db_node_class = "polar.mysql.g8.4xlarge.gu50"
db_cluster_description = "tf-aicluster-example"
pay_type = "Postpaid"
vpc_id = "vpc-xxx"
vswitch_id = "vsw-xxx"
kube_type = "ainode"
model_name = "Qwen3.5-9B"
extension = "maas"
inference_engine = "sglang"
db_cluster_id = "pc-xxx"
security_group_id = "sg-xxx"
}
📚 Need more examples? VIEW MORE EXAMPLES
Create Aicluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Aicluster(name: string, args: AiclusterArgs, opts?: CustomResourceOptions);@overload
def Aicluster(resource_name: str,
args: AiclusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Aicluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
region_id: Optional[str] = None,
pay_type: Optional[str] = None,
vswitch_id: Optional[str] = None,
vpc_id: Optional[str] = None,
db_node_class: Optional[str] = None,
period: Optional[str] = None,
inference_engine: Optional[str] = None,
kube_type: Optional[str] = None,
auto_use_coupon: Optional[bool] = None,
model_name: Optional[str] = None,
extension: Optional[str] = None,
promotion_code: Optional[str] = None,
auto_renew: Optional[str] = None,
security_group_id: Optional[str] = None,
used_time: Optional[str] = None,
db_cluster_id: Optional[str] = None,
db_cluster_description: Optional[str] = None,
zone_id: Optional[str] = None)func NewAicluster(ctx *Context, name string, args AiclusterArgs, opts ...ResourceOption) (*Aicluster, error)public Aicluster(string name, AiclusterArgs args, CustomResourceOptions? opts = null)
public Aicluster(String name, AiclusterArgs args)
public Aicluster(String name, AiclusterArgs args, CustomResourceOptions options)
type: alicloud:polardb:Aicluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "alicloud_polardb_aicluster" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AiclusterArgs
- 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 AiclusterArgs
- 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 AiclusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AiclusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AiclusterArgs
- 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 aiclusterResource = new AliCloud.PolarDB.Aicluster("aiclusterResource", new()
{
RegionId = "string",
PayType = "string",
VswitchId = "string",
VpcId = "string",
DbNodeClass = "string",
Period = "string",
InferenceEngine = "string",
KubeType = "string",
AutoUseCoupon = false,
ModelName = "string",
Extension = "string",
PromotionCode = "string",
AutoRenew = "string",
SecurityGroupId = "string",
UsedTime = "string",
DbClusterId = "string",
DbClusterDescription = "string",
ZoneId = "string",
});
example, err := polardb.NewAicluster(ctx, "aiclusterResource", &polardb.AiclusterArgs{
RegionId: pulumi.String("string"),
PayType: pulumi.String("string"),
VswitchId: pulumi.String("string"),
VpcId: pulumi.String("string"),
DbNodeClass: pulumi.String("string"),
Period: pulumi.String("string"),
InferenceEngine: pulumi.String("string"),
KubeType: pulumi.String("string"),
AutoUseCoupon: pulumi.Bool(false),
ModelName: pulumi.String("string"),
Extension: pulumi.String("string"),
PromotionCode: pulumi.String("string"),
AutoRenew: pulumi.String("string"),
SecurityGroupId: pulumi.String("string"),
UsedTime: pulumi.String("string"),
DbClusterId: pulumi.String("string"),
DbClusterDescription: pulumi.String("string"),
ZoneId: pulumi.String("string"),
})
resource "alicloud_polardb_aicluster" "aiclusterResource" {
region_id = "string"
pay_type = "string"
vswitch_id = "string"
vpc_id = "string"
db_node_class = "string"
period = "string"
inference_engine = "string"
kube_type = "string"
auto_use_coupon = false
model_name = "string"
extension = "string"
promotion_code = "string"
auto_renew = "string"
security_group_id = "string"
used_time = "string"
db_cluster_id = "string"
db_cluster_description = "string"
zone_id = "string"
}
var aiclusterResource = new Aicluster("aiclusterResource", AiclusterArgs.builder()
.regionId("string")
.payType("string")
.vswitchId("string")
.vpcId("string")
.dbNodeClass("string")
.period("string")
.inferenceEngine("string")
.kubeType("string")
.autoUseCoupon(false)
.modelName("string")
.extension("string")
.promotionCode("string")
.autoRenew("string")
.securityGroupId("string")
.usedTime("string")
.dbClusterId("string")
.dbClusterDescription("string")
.zoneId("string")
.build());
aicluster_resource = alicloud.polardb.Aicluster("aiclusterResource",
region_id="string",
pay_type="string",
vswitch_id="string",
vpc_id="string",
db_node_class="string",
period="string",
inference_engine="string",
kube_type="string",
auto_use_coupon=False,
model_name="string",
extension="string",
promotion_code="string",
auto_renew="string",
security_group_id="string",
used_time="string",
db_cluster_id="string",
db_cluster_description="string",
zone_id="string")
const aiclusterResource = new alicloud.polardb.Aicluster("aiclusterResource", {
regionId: "string",
payType: "string",
vswitchId: "string",
vpcId: "string",
dbNodeClass: "string",
period: "string",
inferenceEngine: "string",
kubeType: "string",
autoUseCoupon: false,
modelName: "string",
extension: "string",
promotionCode: "string",
autoRenew: "string",
securityGroupId: "string",
usedTime: "string",
dbClusterId: "string",
dbClusterDescription: "string",
zoneId: "string",
});
type: alicloud:polardb:Aicluster
properties:
autoRenew: string
autoUseCoupon: false
dbClusterDescription: string
dbClusterId: string
dbNodeClass: string
extension: string
inferenceEngine: string
kubeType: string
modelName: string
payType: string
period: string
promotionCode: string
regionId: string
securityGroupId: string
usedTime: string
vpcId: string
vswitchId: string
zoneId: string
Aicluster 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 Aicluster resource accepts the following input properties:
- Db
Node stringClass - The DB node class of the AI cluster.
- Pay
Type string - The billing method. Valid values:
Postpaid,Prepaid. - Region
Id string - The region ID of the AI cluster.
- Vpc
Id string - The VPC ID.
- Vswitch
Id string - The vSwitch ID.
- Auto
Renew string - Whether to enable auto-renewal.
- Auto
Use boolCoupon - Whether to use coupons automatically. Default value:
true. - Db
Cluster stringDescription - The description of the AI DB cluster.
- Db
Cluster stringId - The ID of the associated DB cluster.
- Extension string
- The extension type. Valid values:
maas,custom. - Inference
Engine string - The inference engine. Valid values:
sglang,vllm. - Kube
Type string - The type of the Kubernetes cluster. Valid values:
ainode. - Model
Name string - The model name. Example:
Qwen3.5-9B. - Period string
- The subscription period.
- Promotion
Code string - The promotion code.
- Security
Group stringId - The security group ID.
- Used
Time string - The subscription duration.
- Zone
Id string - The zone ID of the AI cluster.
- Db
Node stringClass - The DB node class of the AI cluster.
- Pay
Type string - The billing method. Valid values:
Postpaid,Prepaid. - Region
Id string - The region ID of the AI cluster.
- Vpc
Id string - The VPC ID.
- Vswitch
Id string - The vSwitch ID.
- Auto
Renew string - Whether to enable auto-renewal.
- Auto
Use boolCoupon - Whether to use coupons automatically. Default value:
true. - Db
Cluster stringDescription - The description of the AI DB cluster.
- Db
Cluster stringId - The ID of the associated DB cluster.
- Extension string
- The extension type. Valid values:
maas,custom. - Inference
Engine string - The inference engine. Valid values:
sglang,vllm. - Kube
Type string - The type of the Kubernetes cluster. Valid values:
ainode. - Model
Name string - The model name. Example:
Qwen3.5-9B. - Period string
- The subscription period.
- Promotion
Code string - The promotion code.
- Security
Group stringId - The security group ID.
- Used
Time string - The subscription duration.
- Zone
Id string - The zone ID of the AI cluster.
- db_
node_ stringclass - The DB node class of the AI cluster.
- pay_
type string - The billing method. Valid values:
Postpaid,Prepaid. - region_
id string - The region ID of the AI cluster.
- vpc_
id string - The VPC ID.
- vswitch_
id string - The vSwitch ID.
- auto_
renew string - Whether to enable auto-renewal.
- auto_
use_ boolcoupon - Whether to use coupons automatically. Default value:
true. - db_
cluster_ stringdescription - The description of the AI DB cluster.
- db_
cluster_ stringid - The ID of the associated DB cluster.
- extension string
- The extension type. Valid values:
maas,custom. - inference_
engine string - The inference engine. Valid values:
sglang,vllm. - kube_
type string - The type of the Kubernetes cluster. Valid values:
ainode. - model_
name string - The model name. Example:
Qwen3.5-9B. - period string
- The subscription period.
- promotion_
code string - The promotion code.
- security_
group_ stringid - The security group ID.
- used_
time string - The subscription duration.
- zone_
id string - The zone ID of the AI cluster.
- db
Node StringClass - The DB node class of the AI cluster.
- pay
Type String - The billing method. Valid values:
Postpaid,Prepaid. - region
Id String - The region ID of the AI cluster.
- vpc
Id String - The VPC ID.
- vswitch
Id String - The vSwitch ID.
- auto
Renew String - Whether to enable auto-renewal.
- auto
Use BooleanCoupon - Whether to use coupons automatically. Default value:
true. - db
Cluster StringDescription - The description of the AI DB cluster.
- db
Cluster StringId - The ID of the associated DB cluster.
- extension String
- The extension type. Valid values:
maas,custom. - inference
Engine String - The inference engine. Valid values:
sglang,vllm. - kube
Type String - The type of the Kubernetes cluster. Valid values:
ainode. - model
Name String - The model name. Example:
Qwen3.5-9B. - period String
- The subscription period.
- promotion
Code String - The promotion code.
- security
Group StringId - The security group ID.
- used
Time String - The subscription duration.
- zone
Id String - The zone ID of the AI cluster.
- db
Node stringClass - The DB node class of the AI cluster.
- pay
Type string - The billing method. Valid values:
Postpaid,Prepaid. - region
Id string - The region ID of the AI cluster.
- vpc
Id string - The VPC ID.
- vswitch
Id string - The vSwitch ID.
- auto
Renew string - Whether to enable auto-renewal.
- auto
Use booleanCoupon - Whether to use coupons automatically. Default value:
true. - db
Cluster stringDescription - The description of the AI DB cluster.
- db
Cluster stringId - The ID of the associated DB cluster.
- extension string
- The extension type. Valid values:
maas,custom. - inference
Engine string - The inference engine. Valid values:
sglang,vllm. - kube
Type string - The type of the Kubernetes cluster. Valid values:
ainode. - model
Name string - The model name. Example:
Qwen3.5-9B. - period string
- The subscription period.
- promotion
Code string - The promotion code.
- security
Group stringId - The security group ID.
- used
Time string - The subscription duration.
- zone
Id string - The zone ID of the AI cluster.
- db_
node_ strclass - The DB node class of the AI cluster.
- pay_
type str - The billing method. Valid values:
Postpaid,Prepaid. - region_
id str - The region ID of the AI cluster.
- vpc_
id str - The VPC ID.
- vswitch_
id str - The vSwitch ID.
- auto_
renew str - Whether to enable auto-renewal.
- auto_
use_ boolcoupon - Whether to use coupons automatically. Default value:
true. - db_
cluster_ strdescription - The description of the AI DB cluster.
- db_
cluster_ strid - The ID of the associated DB cluster.
- extension str
- The extension type. Valid values:
maas,custom. - inference_
engine str - The inference engine. Valid values:
sglang,vllm. - kube_
type str - The type of the Kubernetes cluster. Valid values:
ainode. - model_
name str - The model name. Example:
Qwen3.5-9B. - period str
- The subscription period.
- promotion_
code str - The promotion code.
- security_
group_ strid - The security group ID.
- used_
time str - The subscription duration.
- zone_
id str - The zone ID of the AI cluster.
- db
Node StringClass - The DB node class of the AI cluster.
- pay
Type String - The billing method. Valid values:
Postpaid,Prepaid. - region
Id String - The region ID of the AI cluster.
- vpc
Id String - The VPC ID.
- vswitch
Id String - The vSwitch ID.
- auto
Renew String - Whether to enable auto-renewal.
- auto
Use BooleanCoupon - Whether to use coupons automatically. Default value:
true. - db
Cluster StringDescription - The description of the AI DB cluster.
- db
Cluster StringId - The ID of the associated DB cluster.
- extension String
- The extension type. Valid values:
maas,custom. - inference
Engine String - The inference engine. Valid values:
sglang,vllm. - kube
Type String - The type of the Kubernetes cluster. Valid values:
ainode. - model
Name String - The model name. Example:
Qwen3.5-9B. - period String
- The subscription period.
- promotion
Code String - The promotion code.
- security
Group StringId - The security group ID.
- used
Time String - The subscription duration.
- zone
Id String - The zone ID of the AI cluster.
Outputs
All input properties are implicitly available as output properties. Additionally, the Aicluster resource produces the following output properties:
- id string
- The provider-assigned unique ID for this managed resource.
- model_
type string - The model type. Example:
public. - status string
- The status of the AI cluster.
- id str
- The provider-assigned unique ID for this managed resource.
- model_
type str - The model type. Example:
public. - status str
- The status of the AI cluster.
Look up Existing Aicluster Resource
Get an existing Aicluster 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?: AiclusterState, opts?: CustomResourceOptions): Aicluster@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_renew: Optional[str] = None,
auto_use_coupon: Optional[bool] = None,
db_cluster_description: Optional[str] = None,
db_cluster_id: Optional[str] = None,
db_node_class: Optional[str] = None,
extension: Optional[str] = None,
inference_engine: Optional[str] = None,
kube_type: Optional[str] = None,
model_name: Optional[str] = None,
model_type: Optional[str] = None,
pay_type: Optional[str] = None,
period: Optional[str] = None,
promotion_code: Optional[str] = None,
region_id: Optional[str] = None,
security_group_id: Optional[str] = None,
status: Optional[str] = None,
used_time: Optional[str] = None,
vpc_id: Optional[str] = None,
vswitch_id: Optional[str] = None,
zone_id: Optional[str] = None) -> Aiclusterfunc GetAicluster(ctx *Context, name string, id IDInput, state *AiclusterState, opts ...ResourceOption) (*Aicluster, error)public static Aicluster Get(string name, Input<string> id, AiclusterState? state, CustomResourceOptions? opts = null)public static Aicluster get(String name, Output<String> id, AiclusterState state, CustomResourceOptions options)resources: _: type: alicloud:polardb:Aicluster get: id: ${id}import {
to = alicloud_polardb_aicluster.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.
- Auto
Renew string - Whether to enable auto-renewal.
- Auto
Use boolCoupon - Whether to use coupons automatically. Default value:
true. - Db
Cluster stringDescription - The description of the AI DB cluster.
- Db
Cluster stringId - The ID of the associated DB cluster.
- Db
Node stringClass - The DB node class of the AI cluster.
- Extension string
- The extension type. Valid values:
maas,custom. - Inference
Engine string - The inference engine. Valid values:
sglang,vllm. - Kube
Type string - The type of the Kubernetes cluster. Valid values:
ainode. - Model
Name string - The model name. Example:
Qwen3.5-9B. - Model
Type string - The model type. Example:
public. - Pay
Type string - The billing method. Valid values:
Postpaid,Prepaid. - Period string
- The subscription period.
- Promotion
Code string - The promotion code.
- Region
Id string - The region ID of the AI cluster.
- Security
Group stringId - The security group ID.
- Status string
- The status of the AI cluster.
- Used
Time string - The subscription duration.
- Vpc
Id string - The VPC ID.
- Vswitch
Id string - The vSwitch ID.
- Zone
Id string - The zone ID of the AI cluster.
- Auto
Renew string - Whether to enable auto-renewal.
- Auto
Use boolCoupon - Whether to use coupons automatically. Default value:
true. - Db
Cluster stringDescription - The description of the AI DB cluster.
- Db
Cluster stringId - The ID of the associated DB cluster.
- Db
Node stringClass - The DB node class of the AI cluster.
- Extension string
- The extension type. Valid values:
maas,custom. - Inference
Engine string - The inference engine. Valid values:
sglang,vllm. - Kube
Type string - The type of the Kubernetes cluster. Valid values:
ainode. - Model
Name string - The model name. Example:
Qwen3.5-9B. - Model
Type string - The model type. Example:
public. - Pay
Type string - The billing method. Valid values:
Postpaid,Prepaid. - Period string
- The subscription period.
- Promotion
Code string - The promotion code.
- Region
Id string - The region ID of the AI cluster.
- Security
Group stringId - The security group ID.
- Status string
- The status of the AI cluster.
- Used
Time string - The subscription duration.
- Vpc
Id string - The VPC ID.
- Vswitch
Id string - The vSwitch ID.
- Zone
Id string - The zone ID of the AI cluster.
- auto_
renew string - Whether to enable auto-renewal.
- auto_
use_ boolcoupon - Whether to use coupons automatically. Default value:
true. - db_
cluster_ stringdescription - The description of the AI DB cluster.
- db_
cluster_ stringid - The ID of the associated DB cluster.
- db_
node_ stringclass - The DB node class of the AI cluster.
- extension string
- The extension type. Valid values:
maas,custom. - inference_
engine string - The inference engine. Valid values:
sglang,vllm. - kube_
type string - The type of the Kubernetes cluster. Valid values:
ainode. - model_
name string - The model name. Example:
Qwen3.5-9B. - model_
type string - The model type. Example:
public. - pay_
type string - The billing method. Valid values:
Postpaid,Prepaid. - period string
- The subscription period.
- promotion_
code string - The promotion code.
- region_
id string - The region ID of the AI cluster.
- security_
group_ stringid - The security group ID.
- status string
- The status of the AI cluster.
- used_
time string - The subscription duration.
- vpc_
id string - The VPC ID.
- vswitch_
id string - The vSwitch ID.
- zone_
id string - The zone ID of the AI cluster.
- auto
Renew String - Whether to enable auto-renewal.
- auto
Use BooleanCoupon - Whether to use coupons automatically. Default value:
true. - db
Cluster StringDescription - The description of the AI DB cluster.
- db
Cluster StringId - The ID of the associated DB cluster.
- db
Node StringClass - The DB node class of the AI cluster.
- extension String
- The extension type. Valid values:
maas,custom. - inference
Engine String - The inference engine. Valid values:
sglang,vllm. - kube
Type String - The type of the Kubernetes cluster. Valid values:
ainode. - model
Name String - The model name. Example:
Qwen3.5-9B. - model
Type String - The model type. Example:
public. - pay
Type String - The billing method. Valid values:
Postpaid,Prepaid. - period String
- The subscription period.
- promotion
Code String - The promotion code.
- region
Id String - The region ID of the AI cluster.
- security
Group StringId - The security group ID.
- status String
- The status of the AI cluster.
- used
Time String - The subscription duration.
- vpc
Id String - The VPC ID.
- vswitch
Id String - The vSwitch ID.
- zone
Id String - The zone ID of the AI cluster.
- auto
Renew string - Whether to enable auto-renewal.
- auto
Use booleanCoupon - Whether to use coupons automatically. Default value:
true. - db
Cluster stringDescription - The description of the AI DB cluster.
- db
Cluster stringId - The ID of the associated DB cluster.
- db
Node stringClass - The DB node class of the AI cluster.
- extension string
- The extension type. Valid values:
maas,custom. - inference
Engine string - The inference engine. Valid values:
sglang,vllm. - kube
Type string - The type of the Kubernetes cluster. Valid values:
ainode. - model
Name string - The model name. Example:
Qwen3.5-9B. - model
Type string - The model type. Example:
public. - pay
Type string - The billing method. Valid values:
Postpaid,Prepaid. - period string
- The subscription period.
- promotion
Code string - The promotion code.
- region
Id string - The region ID of the AI cluster.
- security
Group stringId - The security group ID.
- status string
- The status of the AI cluster.
- used
Time string - The subscription duration.
- vpc
Id string - The VPC ID.
- vswitch
Id string - The vSwitch ID.
- zone
Id string - The zone ID of the AI cluster.
- auto_
renew str - Whether to enable auto-renewal.
- auto_
use_ boolcoupon - Whether to use coupons automatically. Default value:
true. - db_
cluster_ strdescription - The description of the AI DB cluster.
- db_
cluster_ strid - The ID of the associated DB cluster.
- db_
node_ strclass - The DB node class of the AI cluster.
- extension str
- The extension type. Valid values:
maas,custom. - inference_
engine str - The inference engine. Valid values:
sglang,vllm. - kube_
type str - The type of the Kubernetes cluster. Valid values:
ainode. - model_
name str - The model name. Example:
Qwen3.5-9B. - model_
type str - The model type. Example:
public. - pay_
type str - The billing method. Valid values:
Postpaid,Prepaid. - period str
- The subscription period.
- promotion_
code str - The promotion code.
- region_
id str - The region ID of the AI cluster.
- security_
group_ strid - The security group ID.
- status str
- The status of the AI cluster.
- used_
time str - The subscription duration.
- vpc_
id str - The VPC ID.
- vswitch_
id str - The vSwitch ID.
- zone_
id str - The zone ID of the AI cluster.
- auto
Renew String - Whether to enable auto-renewal.
- auto
Use BooleanCoupon - Whether to use coupons automatically. Default value:
true. - db
Cluster StringDescription - The description of the AI DB cluster.
- db
Cluster StringId - The ID of the associated DB cluster.
- db
Node StringClass - The DB node class of the AI cluster.
- extension String
- The extension type. Valid values:
maas,custom. - inference
Engine String - The inference engine. Valid values:
sglang,vllm. - kube
Type String - The type of the Kubernetes cluster. Valid values:
ainode. - model
Name String - The model name. Example:
Qwen3.5-9B. - model
Type String - The model type. Example:
public. - pay
Type String - The billing method. Valid values:
Postpaid,Prepaid. - period String
- The subscription period.
- promotion
Code String - The promotion code.
- region
Id String - The region ID of the AI cluster.
- security
Group StringId - The security group ID.
- status String
- The status of the AI cluster.
- used
Time String - The subscription duration.
- vpc
Id String - The VPC ID.
- vswitch
Id String - The vSwitch ID.
- zone
Id String - The zone ID of the AI cluster.
Import
PolarDB AI Cluster can be imported using the id, e.g.
$ pulumi import alicloud:polardb/aicluster:Aicluster example pm-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