1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. VodAigcQuota
Viewing docs for tencentcloud 1.83.10
published on Friday, Jul 10, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.83.10
published on Friday, Jul 10, 2026 by tencentcloudstack

    Provides a resource to manage a VOD AIGC Quota for a specific sub application.

    Example Usage

    If quota type is Image

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    // create sub application
    const example = new tencentcloud.VodSubApplication("example", {
        name: "tf-example",
        status: "On",
        description: "this is sub application",
    });
    const exampleVodAigcQuota = new tencentcloud.VodAigcQuota("example", {
        subAppId: example.subAppId,
        quotaType: "Image",
        quotaLimit: 100,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    # create sub application
    example = tencentcloud.VodSubApplication("example",
        name="tf-example",
        status="On",
        description="this is sub application")
    example_vod_aigc_quota = tencentcloud.VodAigcQuota("example",
        sub_app_id=example.sub_app_id,
        quota_type="Image",
        quota_limit=100)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// create sub application
    		example, err := tencentcloud.NewVodSubApplication(ctx, "example", &tencentcloud.VodSubApplicationArgs{
    			Name:        pulumi.String("tf-example"),
    			Status:      pulumi.String("On"),
    			Description: pulumi.String("this is sub application"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewVodAigcQuota(ctx, "example", &tencentcloud.VodAigcQuotaArgs{
    			SubAppId:   example.SubAppId,
    			QuotaType:  pulumi.String("Image"),
    			QuotaLimit: pulumi.Float64(100),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        // create sub application
        var example = new Tencentcloud.VodSubApplication("example", new()
        {
            Name = "tf-example",
            Status = "On",
            Description = "this is sub application",
        });
    
        var exampleVodAigcQuota = new Tencentcloud.VodAigcQuota("example", new()
        {
            SubAppId = example.SubAppId,
            QuotaType = "Image",
            QuotaLimit = 100,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.VodSubApplication;
    import com.pulumi.tencentcloud.VodSubApplicationArgs;
    import com.pulumi.tencentcloud.VodAigcQuota;
    import com.pulumi.tencentcloud.VodAigcQuotaArgs;
    import java.util.List;
    import java.util.ArrayList;
    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) {
            // create sub application
            var example = new VodSubApplication("example", VodSubApplicationArgs.builder()
                .name("tf-example")
                .status("On")
                .description("this is sub application")
                .build());
    
            var exampleVodAigcQuota = new VodAigcQuota("exampleVodAigcQuota", VodAigcQuotaArgs.builder()
                .subAppId(example.subAppId())
                .quotaType("Image")
                .quotaLimit(100.0)
                .build());
    
        }
    }
    
    resources:
      # create sub application
      example:
        type: tencentcloud:VodSubApplication
        properties:
          name: tf-example
          status: On
          description: this is sub application
      exampleVodAigcQuota:
        type: tencentcloud:VodAigcQuota
        name: example
        properties:
          subAppId: ${example.subAppId}
          quotaType: Image
          quotaLimit: 100
    
    Example coming soon!
    

    If quota type is Video

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    // create sub application
    const example = new tencentcloud.VodSubApplication("example", {
        name: "tf-example",
        status: "On",
        description: "this is sub application",
    });
    const exampleVodAigcQuota = new tencentcloud.VodAigcQuota("example", {
        subAppId: example.subAppId,
        quotaType: "Video",
        quotaLimit: 200,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    # create sub application
    example = tencentcloud.VodSubApplication("example",
        name="tf-example",
        status="On",
        description="this is sub application")
    example_vod_aigc_quota = tencentcloud.VodAigcQuota("example",
        sub_app_id=example.sub_app_id,
        quota_type="Video",
        quota_limit=200)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// create sub application
    		example, err := tencentcloud.NewVodSubApplication(ctx, "example", &tencentcloud.VodSubApplicationArgs{
    			Name:        pulumi.String("tf-example"),
    			Status:      pulumi.String("On"),
    			Description: pulumi.String("this is sub application"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewVodAigcQuota(ctx, "example", &tencentcloud.VodAigcQuotaArgs{
    			SubAppId:   example.SubAppId,
    			QuotaType:  pulumi.String("Video"),
    			QuotaLimit: pulumi.Float64(200),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        // create sub application
        var example = new Tencentcloud.VodSubApplication("example", new()
        {
            Name = "tf-example",
            Status = "On",
            Description = "this is sub application",
        });
    
        var exampleVodAigcQuota = new Tencentcloud.VodAigcQuota("example", new()
        {
            SubAppId = example.SubAppId,
            QuotaType = "Video",
            QuotaLimit = 200,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.VodSubApplication;
    import com.pulumi.tencentcloud.VodSubApplicationArgs;
    import com.pulumi.tencentcloud.VodAigcQuota;
    import com.pulumi.tencentcloud.VodAigcQuotaArgs;
    import java.util.List;
    import java.util.ArrayList;
    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) {
            // create sub application
            var example = new VodSubApplication("example", VodSubApplicationArgs.builder()
                .name("tf-example")
                .status("On")
                .description("this is sub application")
                .build());
    
            var exampleVodAigcQuota = new VodAigcQuota("exampleVodAigcQuota", VodAigcQuotaArgs.builder()
                .subAppId(example.subAppId())
                .quotaType("Video")
                .quotaLimit(200.0)
                .build());
    
        }
    }
    
    resources:
      # create sub application
      example:
        type: tencentcloud:VodSubApplication
        properties:
          name: tf-example
          status: On
          description: this is sub application
      exampleVodAigcQuota:
        type: tencentcloud:VodAigcQuota
        name: example
        properties:
          subAppId: ${example.subAppId}
          quotaType: Video
          quotaLimit: 200
    
    Example coming soon!
    

    If quota type is Text

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    // create sub application
    const example = new tencentcloud.VodSubApplication("example", {
        name: "tf-example",
        status: "On",
        description: "this is sub application",
    });
    // create api token
    const exampleVodAigcApiToken = new tencentcloud.VodAigcApiToken("example", {subAppId: example.subAppId});
    const exampleVodAigcQuota = new tencentcloud.VodAigcQuota("example", {
        subAppId: example.subAppId,
        quotaType: "Text",
        quotaLimit: 50,
        apiToken: exampleVodAigcApiToken.apiToken,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    # create sub application
    example = tencentcloud.VodSubApplication("example",
        name="tf-example",
        status="On",
        description="this is sub application")
    # create api token
    example_vod_aigc_api_token = tencentcloud.VodAigcApiToken("example", sub_app_id=example.sub_app_id)
    example_vod_aigc_quota = tencentcloud.VodAigcQuota("example",
        sub_app_id=example.sub_app_id,
        quota_type="Text",
        quota_limit=50,
        api_token=example_vod_aigc_api_token.api_token)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// create sub application
    		example, err := tencentcloud.NewVodSubApplication(ctx, "example", &tencentcloud.VodSubApplicationArgs{
    			Name:        pulumi.String("tf-example"),
    			Status:      pulumi.String("On"),
    			Description: pulumi.String("this is sub application"),
    		})
    		if err != nil {
    			return err
    		}
    		// create api token
    		exampleVodAigcApiToken, err := tencentcloud.NewVodAigcApiToken(ctx, "example", &tencentcloud.VodAigcApiTokenArgs{
    			SubAppId: example.SubAppId,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = tencentcloud.NewVodAigcQuota(ctx, "example", &tencentcloud.VodAigcQuotaArgs{
    			SubAppId:   example.SubAppId,
    			QuotaType:  pulumi.String("Text"),
    			QuotaLimit: pulumi.Float64(50),
    			ApiToken:   exampleVodAigcApiToken.ApiToken,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        // create sub application
        var example = new Tencentcloud.VodSubApplication("example", new()
        {
            Name = "tf-example",
            Status = "On",
            Description = "this is sub application",
        });
    
        // create api token
        var exampleVodAigcApiToken = new Tencentcloud.VodAigcApiToken("example", new()
        {
            SubAppId = example.SubAppId,
        });
    
        var exampleVodAigcQuota = new Tencentcloud.VodAigcQuota("example", new()
        {
            SubAppId = example.SubAppId,
            QuotaType = "Text",
            QuotaLimit = 50,
            ApiToken = exampleVodAigcApiToken.ApiToken,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.VodSubApplication;
    import com.pulumi.tencentcloud.VodSubApplicationArgs;
    import com.pulumi.tencentcloud.VodAigcApiToken;
    import com.pulumi.tencentcloud.VodAigcApiTokenArgs;
    import com.pulumi.tencentcloud.VodAigcQuota;
    import com.pulumi.tencentcloud.VodAigcQuotaArgs;
    import java.util.List;
    import java.util.ArrayList;
    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) {
            // create sub application
            var example = new VodSubApplication("example", VodSubApplicationArgs.builder()
                .name("tf-example")
                .status("On")
                .description("this is sub application")
                .build());
    
            // create api token
            var exampleVodAigcApiToken = new VodAigcApiToken("exampleVodAigcApiToken", VodAigcApiTokenArgs.builder()
                .subAppId(example.subAppId())
                .build());
    
            var exampleVodAigcQuota = new VodAigcQuota("exampleVodAigcQuota", VodAigcQuotaArgs.builder()
                .subAppId(example.subAppId())
                .quotaType("Text")
                .quotaLimit(50.0)
                .apiToken(exampleVodAigcApiToken.apiToken())
                .build());
    
        }
    }
    
    resources:
      # create sub application
      example:
        type: tencentcloud:VodSubApplication
        properties:
          name: tf-example
          status: On
          description: this is sub application
      # create api token
      exampleVodAigcApiToken:
        type: tencentcloud:VodAigcApiToken
        name: example
        properties:
          subAppId: ${example.subAppId}
      exampleVodAigcQuota:
        type: tencentcloud:VodAigcQuota
        name: example
        properties:
          subAppId: ${example.subAppId}
          quotaType: Text
          quotaLimit: 50
          apiToken: ${exampleVodAigcApiToken.apiToken}
    
    Example coming soon!
    

    Create VodAigcQuota Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VodAigcQuota(name: string, args: VodAigcQuotaArgs, opts?: CustomResourceOptions);
    @overload
    def VodAigcQuota(resource_name: str,
                     args: VodAigcQuotaArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def VodAigcQuota(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     quota_limit: Optional[float] = None,
                     quota_type: Optional[str] = None,
                     sub_app_id: Optional[float] = None,
                     api_token: Optional[str] = None,
                     vod_aigc_quota_id: Optional[str] = None)
    func NewVodAigcQuota(ctx *Context, name string, args VodAigcQuotaArgs, opts ...ResourceOption) (*VodAigcQuota, error)
    public VodAigcQuota(string name, VodAigcQuotaArgs args, CustomResourceOptions? opts = null)
    public VodAigcQuota(String name, VodAigcQuotaArgs args)
    public VodAigcQuota(String name, VodAigcQuotaArgs args, CustomResourceOptions options)
    
    type: tencentcloud:VodAigcQuota
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_vodaigcquota" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args VodAigcQuotaArgs
    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 VodAigcQuotaArgs
    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 VodAigcQuotaArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VodAigcQuotaArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VodAigcQuotaArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    VodAigcQuota 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 VodAigcQuota resource accepts the following input properties:

    QuotaLimit double
    Quota limit value. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    QuotaType string
    Quota type. Valid values: Image (AIGC image generation), Video (AIGC video generation), Text (AIGC text generation).
    SubAppId double
    The VOD sub application ID. Users who activated VOD service after December 25, 2023 must specify the application ID.
    ApiToken string
    API token for quota restriction. Only meaningful when quota_type is Text.
    VodAigcQuotaId string
    ID of the resource.
    QuotaLimit float64
    Quota limit value. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    QuotaType string
    Quota type. Valid values: Image (AIGC image generation), Video (AIGC video generation), Text (AIGC text generation).
    SubAppId float64
    The VOD sub application ID. Users who activated VOD service after December 25, 2023 must specify the application ID.
    ApiToken string
    API token for quota restriction. Only meaningful when quota_type is Text.
    VodAigcQuotaId string
    ID of the resource.
    quota_limit number
    Quota limit value. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    quota_type string
    Quota type. Valid values: Image (AIGC image generation), Video (AIGC video generation), Text (AIGC text generation).
    sub_app_id number
    The VOD sub application ID. Users who activated VOD service after December 25, 2023 must specify the application ID.
    api_token string
    API token for quota restriction. Only meaningful when quota_type is Text.
    vod_aigc_quota_id string
    ID of the resource.
    quotaLimit Double
    Quota limit value. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    quotaType String
    Quota type. Valid values: Image (AIGC image generation), Video (AIGC video generation), Text (AIGC text generation).
    subAppId Double
    The VOD sub application ID. Users who activated VOD service after December 25, 2023 must specify the application ID.
    apiToken String
    API token for quota restriction. Only meaningful when quota_type is Text.
    vodAigcQuotaId String
    ID of the resource.
    quotaLimit number
    Quota limit value. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    quotaType string
    Quota type. Valid values: Image (AIGC image generation), Video (AIGC video generation), Text (AIGC text generation).
    subAppId number
    The VOD sub application ID. Users who activated VOD service after December 25, 2023 must specify the application ID.
    apiToken string
    API token for quota restriction. Only meaningful when quota_type is Text.
    vodAigcQuotaId string
    ID of the resource.
    quota_limit float
    Quota limit value. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    quota_type str
    Quota type. Valid values: Image (AIGC image generation), Video (AIGC video generation), Text (AIGC text generation).
    sub_app_id float
    The VOD sub application ID. Users who activated VOD service after December 25, 2023 must specify the application ID.
    api_token str
    API token for quota restriction. Only meaningful when quota_type is Text.
    vod_aigc_quota_id str
    ID of the resource.
    quotaLimit Number
    Quota limit value. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    quotaType String
    Quota type. Valid values: Image (AIGC image generation), Video (AIGC video generation), Text (AIGC text generation).
    subAppId Number
    The VOD sub application ID. Users who activated VOD service after December 25, 2023 must specify the application ID.
    apiToken String
    API token for quota restriction. Only meaningful when quota_type is Text.
    vodAigcQuotaId String
    ID of the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VodAigcQuota resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Usage double
    Current usage amount. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    Id string
    The provider-assigned unique ID for this managed resource.
    Usage float64
    Current usage amount. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    id string
    The provider-assigned unique ID for this managed resource.
    usage number
    Current usage amount. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    id String
    The provider-assigned unique ID for this managed resource.
    usage Double
    Current usage amount. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    id string
    The provider-assigned unique ID for this managed resource.
    usage number
    Current usage amount. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    id str
    The provider-assigned unique ID for this managed resource.
    usage float
    Current usage amount. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    id String
    The provider-assigned unique ID for this managed resource.
    usage Number
    Current usage amount. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.

    Look up Existing VodAigcQuota Resource

    Get an existing VodAigcQuota 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?: VodAigcQuotaState, opts?: CustomResourceOptions): VodAigcQuota
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            api_token: Optional[str] = None,
            quota_limit: Optional[float] = None,
            quota_type: Optional[str] = None,
            sub_app_id: Optional[float] = None,
            usage: Optional[float] = None,
            vod_aigc_quota_id: Optional[str] = None) -> VodAigcQuota
    func GetVodAigcQuota(ctx *Context, name string, id IDInput, state *VodAigcQuotaState, opts ...ResourceOption) (*VodAigcQuota, error)
    public static VodAigcQuota Get(string name, Input<string> id, VodAigcQuotaState? state, CustomResourceOptions? opts = null)
    public static VodAigcQuota get(String name, Output<String> id, VodAigcQuotaState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:VodAigcQuota    get:      id: ${id}
    import {
      to = tencentcloud_vodaigcquota.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:
    ApiToken string
    API token for quota restriction. Only meaningful when quota_type is Text.
    QuotaLimit double
    Quota limit value. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    QuotaType string
    Quota type. Valid values: Image (AIGC image generation), Video (AIGC video generation), Text (AIGC text generation).
    SubAppId double
    The VOD sub application ID. Users who activated VOD service after December 25, 2023 must specify the application ID.
    Usage double
    Current usage amount. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    VodAigcQuotaId string
    ID of the resource.
    ApiToken string
    API token for quota restriction. Only meaningful when quota_type is Text.
    QuotaLimit float64
    Quota limit value. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    QuotaType string
    Quota type. Valid values: Image (AIGC image generation), Video (AIGC video generation), Text (AIGC text generation).
    SubAppId float64
    The VOD sub application ID. Users who activated VOD service after December 25, 2023 must specify the application ID.
    Usage float64
    Current usage amount. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    VodAigcQuotaId string
    ID of the resource.
    api_token string
    API token for quota restriction. Only meaningful when quota_type is Text.
    quota_limit number
    Quota limit value. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    quota_type string
    Quota type. Valid values: Image (AIGC image generation), Video (AIGC video generation), Text (AIGC text generation).
    sub_app_id number
    The VOD sub application ID. Users who activated VOD service after December 25, 2023 must specify the application ID.
    usage number
    Current usage amount. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    vod_aigc_quota_id string
    ID of the resource.
    apiToken String
    API token for quota restriction. Only meaningful when quota_type is Text.
    quotaLimit Double
    Quota limit value. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    quotaType String
    Quota type. Valid values: Image (AIGC image generation), Video (AIGC video generation), Text (AIGC text generation).
    subAppId Double
    The VOD sub application ID. Users who activated VOD service after December 25, 2023 must specify the application ID.
    usage Double
    Current usage amount. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    vodAigcQuotaId String
    ID of the resource.
    apiToken string
    API token for quota restriction. Only meaningful when quota_type is Text.
    quotaLimit number
    Quota limit value. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    quotaType string
    Quota type. Valid values: Image (AIGC image generation), Video (AIGC video generation), Text (AIGC text generation).
    subAppId number
    The VOD sub application ID. Users who activated VOD service after December 25, 2023 must specify the application ID.
    usage number
    Current usage amount. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    vodAigcQuotaId string
    ID of the resource.
    api_token str
    API token for quota restriction. Only meaningful when quota_type is Text.
    quota_limit float
    Quota limit value. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    quota_type str
    Quota type. Valid values: Image (AIGC image generation), Video (AIGC video generation), Text (AIGC text generation).
    sub_app_id float
    The VOD sub application ID. Users who activated VOD service after December 25, 2023 must specify the application ID.
    usage float
    Current usage amount. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    vod_aigc_quota_id str
    ID of the resource.
    apiToken String
    API token for quota restriction. Only meaningful when quota_type is Text.
    quotaLimit Number
    Quota limit value. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    quotaType String
    Quota type. Valid values: Image (AIGC image generation), Video (AIGC video generation), Text (AIGC text generation).
    subAppId Number
    The VOD sub application ID. Users who activated VOD service after December 25, 2023 must specify the application ID.
    usage Number
    Current usage amount. Unit: when quota_type is Image, count by images; when quota_type is Video, count by seconds; when quota_type is Text, count by tokens.
    vodAigcQuotaId String
    ID of the resource.

    Import

    VOD AIGC Quota can be imported using the composite id sub_app_id#quota_type#api_token, e.g.

    If quota type is Image/Video

    $ pulumi import tencentcloud:index/vodAigcQuota:VodAigcQuota example 1500066373#Image
    
    $ pulumi import tencentcloud:index/vodAigcQuota:VodAigcQuota example 1500066373#Video
    

    If quota type is Text

    $ pulumi import tencentcloud:index/vodAigcQuota:VodAigcQuota example 1500066373#Text#<YOUR TOKEN>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    Viewing docs for tencentcloud 1.83.10
    published on Friday, Jul 10, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial