1. Packages
  2. Packages
  3. Alibaba Cloud Provider
  4. API Docs
  5. polardb
  6. Aicluster
Viewing docs for Alibaba Cloud v3.104.0
published on Thursday, Jun 25, 2026 by Pulumi
alicloud logo
Viewing docs for Alibaba Cloud v3.104.0
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:

    DbNodeClass string
    The DB node class of the AI cluster.
    PayType string
    The billing method. Valid values: Postpaid, Prepaid.
    RegionId string
    The region ID of the AI cluster.
    VpcId string
    The VPC ID.
    VswitchId string
    The vSwitch ID.
    AutoRenew string
    Whether to enable auto-renewal.
    AutoUseCoupon bool
    Whether to use coupons automatically. Default value: true.
    DbClusterDescription string
    The description of the AI DB cluster.
    DbClusterId string
    The ID of the associated DB cluster.
    Extension string
    The extension type. Valid values: maas, custom.
    InferenceEngine string
    The inference engine. Valid values: sglang, vllm.
    KubeType string
    The type of the Kubernetes cluster. Valid values: ainode.
    ModelName string
    The model name. Example: Qwen3.5-9B.
    Period string
    The subscription period.
    PromotionCode string
    The promotion code.
    SecurityGroupId string
    The security group ID.
    UsedTime string
    The subscription duration.
    ZoneId string
    The zone ID of the AI cluster.
    DbNodeClass string
    The DB node class of the AI cluster.
    PayType string
    The billing method. Valid values: Postpaid, Prepaid.
    RegionId string
    The region ID of the AI cluster.
    VpcId string
    The VPC ID.
    VswitchId string
    The vSwitch ID.
    AutoRenew string
    Whether to enable auto-renewal.
    AutoUseCoupon bool
    Whether to use coupons automatically. Default value: true.
    DbClusterDescription string
    The description of the AI DB cluster.
    DbClusterId string
    The ID of the associated DB cluster.
    Extension string
    The extension type. Valid values: maas, custom.
    InferenceEngine string
    The inference engine. Valid values: sglang, vllm.
    KubeType string
    The type of the Kubernetes cluster. Valid values: ainode.
    ModelName string
    The model name. Example: Qwen3.5-9B.
    Period string
    The subscription period.
    PromotionCode string
    The promotion code.
    SecurityGroupId string
    The security group ID.
    UsedTime string
    The subscription duration.
    ZoneId string
    The zone ID of the AI cluster.
    db_node_class string
    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_coupon bool
    Whether to use coupons automatically. Default value: true.
    db_cluster_description string
    The description of the AI DB cluster.
    db_cluster_id string
    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_id string
    The security group ID.
    used_time string
    The subscription duration.
    zone_id string
    The zone ID of the AI cluster.
    dbNodeClass String
    The DB node class of the AI cluster.
    payType String
    The billing method. Valid values: Postpaid, Prepaid.
    regionId String
    The region ID of the AI cluster.
    vpcId String
    The VPC ID.
    vswitchId String
    The vSwitch ID.
    autoRenew String
    Whether to enable auto-renewal.
    autoUseCoupon Boolean
    Whether to use coupons automatically. Default value: true.
    dbClusterDescription String
    The description of the AI DB cluster.
    dbClusterId String
    The ID of the associated DB cluster.
    extension String
    The extension type. Valid values: maas, custom.
    inferenceEngine String
    The inference engine. Valid values: sglang, vllm.
    kubeType String
    The type of the Kubernetes cluster. Valid values: ainode.
    modelName String
    The model name. Example: Qwen3.5-9B.
    period String
    The subscription period.
    promotionCode String
    The promotion code.
    securityGroupId String
    The security group ID.
    usedTime String
    The subscription duration.
    zoneId String
    The zone ID of the AI cluster.
    dbNodeClass string
    The DB node class of the AI cluster.
    payType string
    The billing method. Valid values: Postpaid, Prepaid.
    regionId string
    The region ID of the AI cluster.
    vpcId string
    The VPC ID.
    vswitchId string
    The vSwitch ID.
    autoRenew string
    Whether to enable auto-renewal.
    autoUseCoupon boolean
    Whether to use coupons automatically. Default value: true.
    dbClusterDescription string
    The description of the AI DB cluster.
    dbClusterId string
    The ID of the associated DB cluster.
    extension string
    The extension type. Valid values: maas, custom.
    inferenceEngine string
    The inference engine. Valid values: sglang, vllm.
    kubeType string
    The type of the Kubernetes cluster. Valid values: ainode.
    modelName string
    The model name. Example: Qwen3.5-9B.
    period string
    The subscription period.
    promotionCode string
    The promotion code.
    securityGroupId string
    The security group ID.
    usedTime string
    The subscription duration.
    zoneId string
    The zone ID of the AI cluster.
    db_node_class str
    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_coupon bool
    Whether to use coupons automatically. Default value: true.
    db_cluster_description str
    The description of the AI DB cluster.
    db_cluster_id str
    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_id str
    The security group ID.
    used_time str
    The subscription duration.
    zone_id str
    The zone ID of the AI cluster.
    dbNodeClass String
    The DB node class of the AI cluster.
    payType String
    The billing method. Valid values: Postpaid, Prepaid.
    regionId String
    The region ID of the AI cluster.
    vpcId String
    The VPC ID.
    vswitchId String
    The vSwitch ID.
    autoRenew String
    Whether to enable auto-renewal.
    autoUseCoupon Boolean
    Whether to use coupons automatically. Default value: true.
    dbClusterDescription String
    The description of the AI DB cluster.
    dbClusterId String
    The ID of the associated DB cluster.
    extension String
    The extension type. Valid values: maas, custom.
    inferenceEngine String
    The inference engine. Valid values: sglang, vllm.
    kubeType String
    The type of the Kubernetes cluster. Valid values: ainode.
    modelName String
    The model name. Example: Qwen3.5-9B.
    period String
    The subscription period.
    promotionCode String
    The promotion code.
    securityGroupId String
    The security group ID.
    usedTime String
    The subscription duration.
    zoneId 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.
    ModelType string
    The model type. Example: public.
    Status string
    The status of the AI cluster.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModelType string
    The model type. Example: public.
    Status string
    The status of the AI cluster.
    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 String
    The provider-assigned unique ID for this managed resource.
    modelType String
    The model type. Example: public.
    status String
    The status of the AI cluster.
    id string
    The provider-assigned unique ID for this managed resource.
    modelType 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.
    id String
    The provider-assigned unique ID for this managed resource.
    modelType String
    The model type. Example: public.
    status String
    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) -> Aicluster
    func 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.
    The following state arguments are supported:
    AutoRenew string
    Whether to enable auto-renewal.
    AutoUseCoupon bool
    Whether to use coupons automatically. Default value: true.
    DbClusterDescription string
    The description of the AI DB cluster.
    DbClusterId string
    The ID of the associated DB cluster.
    DbNodeClass string
    The DB node class of the AI cluster.
    Extension string
    The extension type. Valid values: maas, custom.
    InferenceEngine string
    The inference engine. Valid values: sglang, vllm.
    KubeType string
    The type of the Kubernetes cluster. Valid values: ainode.
    ModelName string
    The model name. Example: Qwen3.5-9B.
    ModelType string
    The model type. Example: public.
    PayType string
    The billing method. Valid values: Postpaid, Prepaid.
    Period string
    The subscription period.
    PromotionCode string
    The promotion code.
    RegionId string
    The region ID of the AI cluster.
    SecurityGroupId string
    The security group ID.
    Status string
    The status of the AI cluster.
    UsedTime string
    The subscription duration.
    VpcId string
    The VPC ID.
    VswitchId string
    The vSwitch ID.
    ZoneId string
    The zone ID of the AI cluster.
    AutoRenew string
    Whether to enable auto-renewal.
    AutoUseCoupon bool
    Whether to use coupons automatically. Default value: true.
    DbClusterDescription string
    The description of the AI DB cluster.
    DbClusterId string
    The ID of the associated DB cluster.
    DbNodeClass string
    The DB node class of the AI cluster.
    Extension string
    The extension type. Valid values: maas, custom.
    InferenceEngine string
    The inference engine. Valid values: sglang, vllm.
    KubeType string
    The type of the Kubernetes cluster. Valid values: ainode.
    ModelName string
    The model name. Example: Qwen3.5-9B.
    ModelType string
    The model type. Example: public.
    PayType string
    The billing method. Valid values: Postpaid, Prepaid.
    Period string
    The subscription period.
    PromotionCode string
    The promotion code.
    RegionId string
    The region ID of the AI cluster.
    SecurityGroupId string
    The security group ID.
    Status string
    The status of the AI cluster.
    UsedTime string
    The subscription duration.
    VpcId string
    The VPC ID.
    VswitchId string
    The vSwitch ID.
    ZoneId string
    The zone ID of the AI cluster.
    auto_renew string
    Whether to enable auto-renewal.
    auto_use_coupon bool
    Whether to use coupons automatically. Default value: true.
    db_cluster_description string
    The description of the AI DB cluster.
    db_cluster_id string
    The ID of the associated DB cluster.
    db_node_class string
    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_id string
    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.
    autoRenew String
    Whether to enable auto-renewal.
    autoUseCoupon Boolean
    Whether to use coupons automatically. Default value: true.
    dbClusterDescription String
    The description of the AI DB cluster.
    dbClusterId String
    The ID of the associated DB cluster.
    dbNodeClass String
    The DB node class of the AI cluster.
    extension String
    The extension type. Valid values: maas, custom.
    inferenceEngine String
    The inference engine. Valid values: sglang, vllm.
    kubeType String
    The type of the Kubernetes cluster. Valid values: ainode.
    modelName String
    The model name. Example: Qwen3.5-9B.
    modelType String
    The model type. Example: public.
    payType String
    The billing method. Valid values: Postpaid, Prepaid.
    period String
    The subscription period.
    promotionCode String
    The promotion code.
    regionId String
    The region ID of the AI cluster.
    securityGroupId String
    The security group ID.
    status String
    The status of the AI cluster.
    usedTime String
    The subscription duration.
    vpcId String
    The VPC ID.
    vswitchId String
    The vSwitch ID.
    zoneId String
    The zone ID of the AI cluster.
    autoRenew string
    Whether to enable auto-renewal.
    autoUseCoupon boolean
    Whether to use coupons automatically. Default value: true.
    dbClusterDescription string
    The description of the AI DB cluster.
    dbClusterId string
    The ID of the associated DB cluster.
    dbNodeClass string
    The DB node class of the AI cluster.
    extension string
    The extension type. Valid values: maas, custom.
    inferenceEngine string
    The inference engine. Valid values: sglang, vllm.
    kubeType string
    The type of the Kubernetes cluster. Valid values: ainode.
    modelName string
    The model name. Example: Qwen3.5-9B.
    modelType string
    The model type. Example: public.
    payType string
    The billing method. Valid values: Postpaid, Prepaid.
    period string
    The subscription period.
    promotionCode string
    The promotion code.
    regionId string
    The region ID of the AI cluster.
    securityGroupId string
    The security group ID.
    status string
    The status of the AI cluster.
    usedTime string
    The subscription duration.
    vpcId string
    The VPC ID.
    vswitchId string
    The vSwitch ID.
    zoneId string
    The zone ID of the AI cluster.
    auto_renew str
    Whether to enable auto-renewal.
    auto_use_coupon bool
    Whether to use coupons automatically. Default value: true.
    db_cluster_description str
    The description of the AI DB cluster.
    db_cluster_id str
    The ID of the associated DB cluster.
    db_node_class str
    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_id str
    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.
    autoRenew String
    Whether to enable auto-renewal.
    autoUseCoupon Boolean
    Whether to use coupons automatically. Default value: true.
    dbClusterDescription String
    The description of the AI DB cluster.
    dbClusterId String
    The ID of the associated DB cluster.
    dbNodeClass String
    The DB node class of the AI cluster.
    extension String
    The extension type. Valid values: maas, custom.
    inferenceEngine String
    The inference engine. Valid values: sglang, vllm.
    kubeType String
    The type of the Kubernetes cluster. Valid values: ainode.
    modelName String
    The model name. Example: Qwen3.5-9B.
    modelType String
    The model type. Example: public.
    payType String
    The billing method. Valid values: Postpaid, Prepaid.
    period String
    The subscription period.
    promotionCode String
    The promotion code.
    regionId String
    The region ID of the AI cluster.
    securityGroupId String
    The security group ID.
    status String
    The status of the AI cluster.
    usedTime String
    The subscription duration.
    vpcId String
    The VPC ID.
    vswitchId String
    The vSwitch ID.
    zoneId 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 alicloud Terraform Provider.
    alicloud logo
    Viewing docs for Alibaba Cloud v3.104.0
    published on Thursday, Jun 25, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial