1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. TeoPlan
tencentcloud 1.82.6 published on Wednesday, Jul 2, 2025 by tencentcloudstack

tencentcloud.TeoPlan

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.82.6 published on Wednesday, Jul 2, 2025 by tencentcloudstack

    Create TeoPlan Resource

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

    Constructor syntax

    new TeoPlan(name: string, args: TeoPlanArgs, opts?: CustomResourceOptions);
    @overload
    def TeoPlan(resource_name: str,
                args: TeoPlanArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def TeoPlan(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                plan_type: Optional[str] = None,
                prepaid_plan_param: Optional[TeoPlanPrepaidPlanParamArgs] = None,
                teo_plan_id: Optional[str] = None)
    func NewTeoPlan(ctx *Context, name string, args TeoPlanArgs, opts ...ResourceOption) (*TeoPlan, error)
    public TeoPlan(string name, TeoPlanArgs args, CustomResourceOptions? opts = null)
    public TeoPlan(String name, TeoPlanArgs args)
    public TeoPlan(String name, TeoPlanArgs args, CustomResourceOptions options)
    
    type: tencentcloud:TeoPlan
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

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

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

    PlanType string
    The subscription package type, the possible values are: personal: personal package, prepaid package; basic: basic package, prepaid package; standard: standard package, prepaid package; enterprise: enterprise package, postpaid package.
    PrepaidPlanParam TeoPlanPrepaidPlanParam
    Subscription prepaid package parameters. When PlanType is personal, basic, or standard, this parameter is optional and is used to enter the subscription duration of the package and whether to enable automatic renewal. If this parameter is not filled in, the default subscription duration is 1 month and automatic renewal is not enabled.
    TeoPlanId string
    PlanType string
    The subscription package type, the possible values are: personal: personal package, prepaid package; basic: basic package, prepaid package; standard: standard package, prepaid package; enterprise: enterprise package, postpaid package.
    PrepaidPlanParam TeoPlanPrepaidPlanParamArgs
    Subscription prepaid package parameters. When PlanType is personal, basic, or standard, this parameter is optional and is used to enter the subscription duration of the package and whether to enable automatic renewal. If this parameter is not filled in, the default subscription duration is 1 month and automatic renewal is not enabled.
    TeoPlanId string
    planType String
    The subscription package type, the possible values are: personal: personal package, prepaid package; basic: basic package, prepaid package; standard: standard package, prepaid package; enterprise: enterprise package, postpaid package.
    prepaidPlanParam TeoPlanPrepaidPlanParam
    Subscription prepaid package parameters. When PlanType is personal, basic, or standard, this parameter is optional and is used to enter the subscription duration of the package and whether to enable automatic renewal. If this parameter is not filled in, the default subscription duration is 1 month and automatic renewal is not enabled.
    teoPlanId String
    planType string
    The subscription package type, the possible values are: personal: personal package, prepaid package; basic: basic package, prepaid package; standard: standard package, prepaid package; enterprise: enterprise package, postpaid package.
    prepaidPlanParam TeoPlanPrepaidPlanParam
    Subscription prepaid package parameters. When PlanType is personal, basic, or standard, this parameter is optional and is used to enter the subscription duration of the package and whether to enable automatic renewal. If this parameter is not filled in, the default subscription duration is 1 month and automatic renewal is not enabled.
    teoPlanId string
    plan_type str
    The subscription package type, the possible values are: personal: personal package, prepaid package; basic: basic package, prepaid package; standard: standard package, prepaid package; enterprise: enterprise package, postpaid package.
    prepaid_plan_param TeoPlanPrepaidPlanParamArgs
    Subscription prepaid package parameters. When PlanType is personal, basic, or standard, this parameter is optional and is used to enter the subscription duration of the package and whether to enable automatic renewal. If this parameter is not filled in, the default subscription duration is 1 month and automatic renewal is not enabled.
    teo_plan_id str
    planType String
    The subscription package type, the possible values are: personal: personal package, prepaid package; basic: basic package, prepaid package; standard: standard package, prepaid package; enterprise: enterprise package, postpaid package.
    prepaidPlanParam Property Map
    Subscription prepaid package parameters. When PlanType is personal, basic, or standard, this parameter is optional and is used to enter the subscription duration of the package and whether to enable automatic renewal. If this parameter is not filled in, the default subscription duration is 1 month and automatic renewal is not enabled.
    teoPlanId String

    Outputs

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

    Area string
    Service area, possible values are: mainland: Mainland China; overseas: Worldwide (excluding Mainland China); global: Worldwide (including Mainland China). .
    EnabledTime string
    The time when the package takes effect.
    ExpiredTime string
    The expiration date of the package.
    Id string
    The provider-assigned unique ID for this managed resource.
    PayMode string
    Payment type, possible values: 0: post-payment; 1: pre-payment. .
    PlanId string
    Plan ID.
    Status string
    Package status, the values are: normal: normal status; expiring-soon: about to expire; expired: expired; isolated: isolated; overdue-isolated: overdue isolated. .
    Area string
    Service area, possible values are: mainland: Mainland China; overseas: Worldwide (excluding Mainland China); global: Worldwide (including Mainland China). .
    EnabledTime string
    The time when the package takes effect.
    ExpiredTime string
    The expiration date of the package.
    Id string
    The provider-assigned unique ID for this managed resource.
    PayMode string
    Payment type, possible values: 0: post-payment; 1: pre-payment. .
    PlanId string
    Plan ID.
    Status string
    Package status, the values are: normal: normal status; expiring-soon: about to expire; expired: expired; isolated: isolated; overdue-isolated: overdue isolated. .
    area String
    Service area, possible values are: mainland: Mainland China; overseas: Worldwide (excluding Mainland China); global: Worldwide (including Mainland China). .
    enabledTime String
    The time when the package takes effect.
    expiredTime String
    The expiration date of the package.
    id String
    The provider-assigned unique ID for this managed resource.
    payMode String
    Payment type, possible values: 0: post-payment; 1: pre-payment. .
    planId String
    Plan ID.
    status String
    Package status, the values are: normal: normal status; expiring-soon: about to expire; expired: expired; isolated: isolated; overdue-isolated: overdue isolated. .
    area string
    Service area, possible values are: mainland: Mainland China; overseas: Worldwide (excluding Mainland China); global: Worldwide (including Mainland China). .
    enabledTime string
    The time when the package takes effect.
    expiredTime string
    The expiration date of the package.
    id string
    The provider-assigned unique ID for this managed resource.
    payMode string
    Payment type, possible values: 0: post-payment; 1: pre-payment. .
    planId string
    Plan ID.
    status string
    Package status, the values are: normal: normal status; expiring-soon: about to expire; expired: expired; isolated: isolated; overdue-isolated: overdue isolated. .
    area str
    Service area, possible values are: mainland: Mainland China; overseas: Worldwide (excluding Mainland China); global: Worldwide (including Mainland China). .
    enabled_time str
    The time when the package takes effect.
    expired_time str
    The expiration date of the package.
    id str
    The provider-assigned unique ID for this managed resource.
    pay_mode str
    Payment type, possible values: 0: post-payment; 1: pre-payment. .
    plan_id str
    Plan ID.
    status str
    Package status, the values are: normal: normal status; expiring-soon: about to expire; expired: expired; isolated: isolated; overdue-isolated: overdue isolated. .
    area String
    Service area, possible values are: mainland: Mainland China; overseas: Worldwide (excluding Mainland China); global: Worldwide (including Mainland China). .
    enabledTime String
    The time when the package takes effect.
    expiredTime String
    The expiration date of the package.
    id String
    The provider-assigned unique ID for this managed resource.
    payMode String
    Payment type, possible values: 0: post-payment; 1: pre-payment. .
    planId String
    Plan ID.
    status String
    Package status, the values are: normal: normal status; expiring-soon: about to expire; expired: expired; isolated: isolated; overdue-isolated: overdue isolated. .

    Look up Existing TeoPlan Resource

    Get an existing TeoPlan 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?: TeoPlanState, opts?: CustomResourceOptions): TeoPlan
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            area: Optional[str] = None,
            enabled_time: Optional[str] = None,
            expired_time: Optional[str] = None,
            pay_mode: Optional[str] = None,
            plan_id: Optional[str] = None,
            plan_type: Optional[str] = None,
            prepaid_plan_param: Optional[TeoPlanPrepaidPlanParamArgs] = None,
            status: Optional[str] = None,
            teo_plan_id: Optional[str] = None) -> TeoPlan
    func GetTeoPlan(ctx *Context, name string, id IDInput, state *TeoPlanState, opts ...ResourceOption) (*TeoPlan, error)
    public static TeoPlan Get(string name, Input<string> id, TeoPlanState? state, CustomResourceOptions? opts = null)
    public static TeoPlan get(String name, Output<String> id, TeoPlanState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:TeoPlan    get:      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:
    Area string
    Service area, possible values are: mainland: Mainland China; overseas: Worldwide (excluding Mainland China); global: Worldwide (including Mainland China). .
    EnabledTime string
    The time when the package takes effect.
    ExpiredTime string
    The expiration date of the package.
    PayMode string
    Payment type, possible values: 0: post-payment; 1: pre-payment. .
    PlanId string
    Plan ID.
    PlanType string
    The subscription package type, the possible values are: personal: personal package, prepaid package; basic: basic package, prepaid package; standard: standard package, prepaid package; enterprise: enterprise package, postpaid package.
    PrepaidPlanParam TeoPlanPrepaidPlanParam
    Subscription prepaid package parameters. When PlanType is personal, basic, or standard, this parameter is optional and is used to enter the subscription duration of the package and whether to enable automatic renewal. If this parameter is not filled in, the default subscription duration is 1 month and automatic renewal is not enabled.
    Status string
    Package status, the values are: normal: normal status; expiring-soon: about to expire; expired: expired; isolated: isolated; overdue-isolated: overdue isolated. .
    TeoPlanId string
    Area string
    Service area, possible values are: mainland: Mainland China; overseas: Worldwide (excluding Mainland China); global: Worldwide (including Mainland China). .
    EnabledTime string
    The time when the package takes effect.
    ExpiredTime string
    The expiration date of the package.
    PayMode string
    Payment type, possible values: 0: post-payment; 1: pre-payment. .
    PlanId string
    Plan ID.
    PlanType string
    The subscription package type, the possible values are: personal: personal package, prepaid package; basic: basic package, prepaid package; standard: standard package, prepaid package; enterprise: enterprise package, postpaid package.
    PrepaidPlanParam TeoPlanPrepaidPlanParamArgs
    Subscription prepaid package parameters. When PlanType is personal, basic, or standard, this parameter is optional and is used to enter the subscription duration of the package and whether to enable automatic renewal. If this parameter is not filled in, the default subscription duration is 1 month and automatic renewal is not enabled.
    Status string
    Package status, the values are: normal: normal status; expiring-soon: about to expire; expired: expired; isolated: isolated; overdue-isolated: overdue isolated. .
    TeoPlanId string
    area String
    Service area, possible values are: mainland: Mainland China; overseas: Worldwide (excluding Mainland China); global: Worldwide (including Mainland China). .
    enabledTime String
    The time when the package takes effect.
    expiredTime String
    The expiration date of the package.
    payMode String
    Payment type, possible values: 0: post-payment; 1: pre-payment. .
    planId String
    Plan ID.
    planType String
    The subscription package type, the possible values are: personal: personal package, prepaid package; basic: basic package, prepaid package; standard: standard package, prepaid package; enterprise: enterprise package, postpaid package.
    prepaidPlanParam TeoPlanPrepaidPlanParam
    Subscription prepaid package parameters. When PlanType is personal, basic, or standard, this parameter is optional and is used to enter the subscription duration of the package and whether to enable automatic renewal. If this parameter is not filled in, the default subscription duration is 1 month and automatic renewal is not enabled.
    status String
    Package status, the values are: normal: normal status; expiring-soon: about to expire; expired: expired; isolated: isolated; overdue-isolated: overdue isolated. .
    teoPlanId String
    area string
    Service area, possible values are: mainland: Mainland China; overseas: Worldwide (excluding Mainland China); global: Worldwide (including Mainland China). .
    enabledTime string
    The time when the package takes effect.
    expiredTime string
    The expiration date of the package.
    payMode string
    Payment type, possible values: 0: post-payment; 1: pre-payment. .
    planId string
    Plan ID.
    planType string
    The subscription package type, the possible values are: personal: personal package, prepaid package; basic: basic package, prepaid package; standard: standard package, prepaid package; enterprise: enterprise package, postpaid package.
    prepaidPlanParam TeoPlanPrepaidPlanParam
    Subscription prepaid package parameters. When PlanType is personal, basic, or standard, this parameter is optional and is used to enter the subscription duration of the package and whether to enable automatic renewal. If this parameter is not filled in, the default subscription duration is 1 month and automatic renewal is not enabled.
    status string
    Package status, the values are: normal: normal status; expiring-soon: about to expire; expired: expired; isolated: isolated; overdue-isolated: overdue isolated. .
    teoPlanId string
    area str
    Service area, possible values are: mainland: Mainland China; overseas: Worldwide (excluding Mainland China); global: Worldwide (including Mainland China). .
    enabled_time str
    The time when the package takes effect.
    expired_time str
    The expiration date of the package.
    pay_mode str
    Payment type, possible values: 0: post-payment; 1: pre-payment. .
    plan_id str
    Plan ID.
    plan_type str
    The subscription package type, the possible values are: personal: personal package, prepaid package; basic: basic package, prepaid package; standard: standard package, prepaid package; enterprise: enterprise package, postpaid package.
    prepaid_plan_param TeoPlanPrepaidPlanParamArgs
    Subscription prepaid package parameters. When PlanType is personal, basic, or standard, this parameter is optional and is used to enter the subscription duration of the package and whether to enable automatic renewal. If this parameter is not filled in, the default subscription duration is 1 month and automatic renewal is not enabled.
    status str
    Package status, the values are: normal: normal status; expiring-soon: about to expire; expired: expired; isolated: isolated; overdue-isolated: overdue isolated. .
    teo_plan_id str
    area String
    Service area, possible values are: mainland: Mainland China; overseas: Worldwide (excluding Mainland China); global: Worldwide (including Mainland China). .
    enabledTime String
    The time when the package takes effect.
    expiredTime String
    The expiration date of the package.
    payMode String
    Payment type, possible values: 0: post-payment; 1: pre-payment. .
    planId String
    Plan ID.
    planType String
    The subscription package type, the possible values are: personal: personal package, prepaid package; basic: basic package, prepaid package; standard: standard package, prepaid package; enterprise: enterprise package, postpaid package.
    prepaidPlanParam Property Map
    Subscription prepaid package parameters. When PlanType is personal, basic, or standard, this parameter is optional and is used to enter the subscription duration of the package and whether to enable automatic renewal. If this parameter is not filled in, the default subscription duration is 1 month and automatic renewal is not enabled.
    status String
    Package status, the values are: normal: normal status; expiring-soon: about to expire; expired: expired; isolated: isolated; overdue-isolated: overdue isolated. .
    teoPlanId String

    Supporting Types

    TeoPlanPrepaidPlanParam, TeoPlanPrepaidPlanParamArgs

    Period double
    The subscription period of the prepaid package, in months, with possible values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. If not filled in, the default value 1 is used.
    RenewFlag string
    The automatic renewal flag of the prepaid package, the values are: on: turn on automatic renewal; off: do not turn on automatic renewal. If not filled in, the default value off is used. When automatic renewal occurs, the default renewal period is 1 month.
    Period float64
    The subscription period of the prepaid package, in months, with possible values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. If not filled in, the default value 1 is used.
    RenewFlag string
    The automatic renewal flag of the prepaid package, the values are: on: turn on automatic renewal; off: do not turn on automatic renewal. If not filled in, the default value off is used. When automatic renewal occurs, the default renewal period is 1 month.
    period Double
    The subscription period of the prepaid package, in months, with possible values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. If not filled in, the default value 1 is used.
    renewFlag String
    The automatic renewal flag of the prepaid package, the values are: on: turn on automatic renewal; off: do not turn on automatic renewal. If not filled in, the default value off is used. When automatic renewal occurs, the default renewal period is 1 month.
    period number
    The subscription period of the prepaid package, in months, with possible values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. If not filled in, the default value 1 is used.
    renewFlag string
    The automatic renewal flag of the prepaid package, the values are: on: turn on automatic renewal; off: do not turn on automatic renewal. If not filled in, the default value off is used. When automatic renewal occurs, the default renewal period is 1 month.
    period float
    The subscription period of the prepaid package, in months, with possible values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. If not filled in, the default value 1 is used.
    renew_flag str
    The automatic renewal flag of the prepaid package, the values are: on: turn on automatic renewal; off: do not turn on automatic renewal. If not filled in, the default value off is used. When automatic renewal occurs, the default renewal period is 1 month.
    period Number
    The subscription period of the prepaid package, in months, with possible values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36. If not filled in, the default value 1 is used.
    renewFlag String
    The automatic renewal flag of the prepaid package, the values are: on: turn on automatic renewal; off: do not turn on automatic renewal. If not filled in, the default value off is used. When automatic renewal occurs, the default renewal period is 1 month.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.82.6 published on Wednesday, Jul 2, 2025 by tencentcloudstack