tencentcloud 1.82.6 published on Wednesday, Jul 2, 2025 by tencentcloudstack
tencentcloud.TeoPlan
Explore with Pulumi AI
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:
- Plan
Type 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. - Prepaid
Plan TeoParam Plan Prepaid Plan Param - 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 stringId
- Plan
Type 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. - Prepaid
Plan TeoParam Plan Prepaid Plan Param Args - 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 stringId
- plan
Type 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. - prepaid
Plan TeoParam Plan Prepaid Plan Param - 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 StringId
- plan
Type 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. - prepaid
Plan TeoParam Plan Prepaid Plan Param - 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 stringId
- 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_ Teoparam Plan Prepaid Plan Param Args - 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_ strid
- plan
Type 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. - prepaid
Plan Property MapParam - 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 StringId
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). .
- Enabled
Time string - The time when the package takes effect.
- Expired
Time string - The expiration date of the package.
- Id string
- The provider-assigned unique ID for this managed resource.
- Pay
Mode string - Payment type, possible values: 0: post-payment; 1: pre-payment. .
- Plan
Id 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). .
- Enabled
Time string - The time when the package takes effect.
- Expired
Time string - The expiration date of the package.
- Id string
- The provider-assigned unique ID for this managed resource.
- Pay
Mode string - Payment type, possible values: 0: post-payment; 1: pre-payment. .
- Plan
Id 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). .
- enabled
Time String - The time when the package takes effect.
- expired
Time String - The expiration date of the package.
- id String
- The provider-assigned unique ID for this managed resource.
- pay
Mode String - Payment type, possible values: 0: post-payment; 1: pre-payment. .
- plan
Id 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). .
- enabled
Time string - The time when the package takes effect.
- expired
Time string - The expiration date of the package.
- id string
- The provider-assigned unique ID for this managed resource.
- pay
Mode string - Payment type, possible values: 0: post-payment; 1: pre-payment. .
- plan
Id 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). .
- enabled
Time String - The time when the package takes effect.
- expired
Time String - The expiration date of the package.
- id String
- The provider-assigned unique ID for this managed resource.
- pay
Mode String - Payment type, possible values: 0: post-payment; 1: pre-payment. .
- plan
Id 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.
- Area string
- Service area, possible values are: mainland: Mainland China; overseas: Worldwide (excluding Mainland China); global: Worldwide (including Mainland China). .
- Enabled
Time string - The time when the package takes effect.
- Expired
Time string - The expiration date of the package.
- Pay
Mode string - Payment type, possible values: 0: post-payment; 1: pre-payment. .
- Plan
Id string - Plan ID.
- Plan
Type 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. - Prepaid
Plan TeoParam Plan Prepaid Plan Param - 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. .
- Teo
Plan stringId
- Area string
- Service area, possible values are: mainland: Mainland China; overseas: Worldwide (excluding Mainland China); global: Worldwide (including Mainland China). .
- Enabled
Time string - The time when the package takes effect.
- Expired
Time string - The expiration date of the package.
- Pay
Mode string - Payment type, possible values: 0: post-payment; 1: pre-payment. .
- Plan
Id string - Plan ID.
- Plan
Type 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. - Prepaid
Plan TeoParam Plan Prepaid Plan Param Args - 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. .
- Teo
Plan stringId
- area String
- Service area, possible values are: mainland: Mainland China; overseas: Worldwide (excluding Mainland China); global: Worldwide (including Mainland China). .
- enabled
Time String - The time when the package takes effect.
- expired
Time String - The expiration date of the package.
- pay
Mode String - Payment type, possible values: 0: post-payment; 1: pre-payment. .
- plan
Id String - Plan ID.
- plan
Type 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. - prepaid
Plan TeoParam Plan Prepaid Plan Param - 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. .
- teo
Plan StringId
- area string
- Service area, possible values are: mainland: Mainland China; overseas: Worldwide (excluding Mainland China); global: Worldwide (including Mainland China). .
- enabled
Time string - The time when the package takes effect.
- expired
Time string - The expiration date of the package.
- pay
Mode string - Payment type, possible values: 0: post-payment; 1: pre-payment. .
- plan
Id string - Plan ID.
- plan
Type 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. - prepaid
Plan TeoParam Plan Prepaid Plan Param - 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. .
- teo
Plan stringId
- 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_ Teoparam Plan Prepaid Plan Param Args - 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_ strid
- area String
- Service area, possible values are: mainland: Mainland China; overseas: Worldwide (excluding Mainland China); global: Worldwide (including Mainland China). .
- enabled
Time String - The time when the package takes effect.
- expired
Time String - The expiration date of the package.
- pay
Mode String - Payment type, possible values: 0: post-payment; 1: pre-payment. .
- plan
Id String - Plan ID.
- plan
Type 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. - prepaid
Plan Property MapParam - 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. .
- teo
Plan StringId
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.
- Renew
Flag 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.
- Renew
Flag 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.
- renew
Flag 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.
- renew
Flag 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.
- renew
Flag 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 1.82.6 published on Wednesday, Jul 2, 2025 by tencentcloudstack