published on Friday, Jul 10, 2026 by tencentcloudstack
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:
- Quota
Limit double - Quota limit value. Unit: when
quota_typeisImage, count by images; whenquota_typeisVideo, count by seconds; whenquota_typeisText, count by tokens. - Quota
Type string - Quota type. Valid values:
Image(AIGC image generation),Video(AIGC video generation),Text(AIGC text generation). - Sub
App doubleId - 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_typeisText. - Vod
Aigc stringQuota Id - ID of the resource.
- Quota
Limit float64 - Quota limit value. Unit: when
quota_typeisImage, count by images; whenquota_typeisVideo, count by seconds; whenquota_typeisText, count by tokens. - Quota
Type string - Quota type. Valid values:
Image(AIGC image generation),Video(AIGC video generation),Text(AIGC text generation). - Sub
App float64Id - 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_typeisText. - Vod
Aigc stringQuota Id - ID of the resource.
- quota_
limit number - Quota limit value. Unit: when
quota_typeisImage, count by images; whenquota_typeisVideo, count by seconds; whenquota_typeisText, count by tokens. - quota_
type string - Quota type. Valid values:
Image(AIGC image generation),Video(AIGC video generation),Text(AIGC text generation). - sub_
app_ numberid - 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_typeisText. - vod_
aigc_ stringquota_ id - ID of the resource.
- quota
Limit Double - Quota limit value. Unit: when
quota_typeisImage, count by images; whenquota_typeisVideo, count by seconds; whenquota_typeisText, count by tokens. - quota
Type String - Quota type. Valid values:
Image(AIGC image generation),Video(AIGC video generation),Text(AIGC text generation). - sub
App DoubleId - 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_typeisText. - vod
Aigc StringQuota Id - ID of the resource.
- quota
Limit number - Quota limit value. Unit: when
quota_typeisImage, count by images; whenquota_typeisVideo, count by seconds; whenquota_typeisText, count by tokens. - quota
Type string - Quota type. Valid values:
Image(AIGC image generation),Video(AIGC video generation),Text(AIGC text generation). - sub
App numberId - 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_typeisText. - vod
Aigc stringQuota Id - ID of the resource.
- quota_
limit float - Quota limit value. Unit: when
quota_typeisImage, count by images; whenquota_typeisVideo, count by seconds; whenquota_typeisText, count by tokens. - quota_
type str - Quota type. Valid values:
Image(AIGC image generation),Video(AIGC video generation),Text(AIGC text generation). - sub_
app_ floatid - 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_typeisText. - vod_
aigc_ strquota_ id - ID of the resource.
- quota
Limit Number - Quota limit value. Unit: when
quota_typeisImage, count by images; whenquota_typeisVideo, count by seconds; whenquota_typeisText, count by tokens. - quota
Type String - Quota type. Valid values:
Image(AIGC image generation),Video(AIGC video generation),Text(AIGC text generation). - sub
App NumberId - 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_typeisText. - vod
Aigc StringQuota Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the VodAigcQuota resource produces the following output properties:
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) -> VodAigcQuotafunc 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.
- Api
Token string - API token for quota restriction. Only meaningful when
quota_typeisText. - Quota
Limit double - Quota limit value. Unit: when
quota_typeisImage, count by images; whenquota_typeisVideo, count by seconds; whenquota_typeisText, count by tokens. - Quota
Type string - Quota type. Valid values:
Image(AIGC image generation),Video(AIGC video generation),Text(AIGC text generation). - Sub
App doubleId - 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_typeisImage, count by images; whenquota_typeisVideo, count by seconds; whenquota_typeisText, count by tokens. - Vod
Aigc stringQuota Id - ID of the resource.
- Api
Token string - API token for quota restriction. Only meaningful when
quota_typeisText. - Quota
Limit float64 - Quota limit value. Unit: when
quota_typeisImage, count by images; whenquota_typeisVideo, count by seconds; whenquota_typeisText, count by tokens. - Quota
Type string - Quota type. Valid values:
Image(AIGC image generation),Video(AIGC video generation),Text(AIGC text generation). - Sub
App float64Id - 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_typeisImage, count by images; whenquota_typeisVideo, count by seconds; whenquota_typeisText, count by tokens. - Vod
Aigc stringQuota Id - ID of the resource.
- api_
token string - API token for quota restriction. Only meaningful when
quota_typeisText. - quota_
limit number - Quota limit value. Unit: when
quota_typeisImage, count by images; whenquota_typeisVideo, count by seconds; whenquota_typeisText, count by tokens. - quota_
type string - Quota type. Valid values:
Image(AIGC image generation),Video(AIGC video generation),Text(AIGC text generation). - sub_
app_ numberid - 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_typeisImage, count by images; whenquota_typeisVideo, count by seconds; whenquota_typeisText, count by tokens. - vod_
aigc_ stringquota_ id - ID of the resource.
- api
Token String - API token for quota restriction. Only meaningful when
quota_typeisText. - quota
Limit Double - Quota limit value. Unit: when
quota_typeisImage, count by images; whenquota_typeisVideo, count by seconds; whenquota_typeisText, count by tokens. - quota
Type String - Quota type. Valid values:
Image(AIGC image generation),Video(AIGC video generation),Text(AIGC text generation). - sub
App DoubleId - 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_typeisImage, count by images; whenquota_typeisVideo, count by seconds; whenquota_typeisText, count by tokens. - vod
Aigc StringQuota Id - ID of the resource.
- api
Token string - API token for quota restriction. Only meaningful when
quota_typeisText. - quota
Limit number - Quota limit value. Unit: when
quota_typeisImage, count by images; whenquota_typeisVideo, count by seconds; whenquota_typeisText, count by tokens. - quota
Type string - Quota type. Valid values:
Image(AIGC image generation),Video(AIGC video generation),Text(AIGC text generation). - sub
App numberId - 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_typeisImage, count by images; whenquota_typeisVideo, count by seconds; whenquota_typeisText, count by tokens. - vod
Aigc stringQuota Id - ID of the resource.
- api_
token str - API token for quota restriction. Only meaningful when
quota_typeisText. - quota_
limit float - Quota limit value. Unit: when
quota_typeisImage, count by images; whenquota_typeisVideo, count by seconds; whenquota_typeisText, count by tokens. - quota_
type str - Quota type. Valid values:
Image(AIGC image generation),Video(AIGC video generation),Text(AIGC text generation). - sub_
app_ floatid - 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_typeisImage, count by images; whenquota_typeisVideo, count by seconds; whenquota_typeisText, count by tokens. - vod_
aigc_ strquota_ id - ID of the resource.
- api
Token String - API token for quota restriction. Only meaningful when
quota_typeisText. - quota
Limit Number - Quota limit value. Unit: when
quota_typeisImage, count by images; whenquota_typeisVideo, count by seconds; whenquota_typeisText, count by tokens. - quota
Type String - Quota type. Valid values:
Image(AIGC image generation),Video(AIGC video generation),Text(AIGC text generation). - sub
App NumberId - 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_typeisImage, count by images; whenquota_typeisVideo, count by seconds; whenquota_typeisText, count by tokens. - vod
Aigc StringQuota Id - 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
tencentcloudTerraform Provider.
published on Friday, Jul 10, 2026 by tencentcloudstack