tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.TeoApplicationProxy
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Create TeoApplicationProxy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TeoApplicationProxy(name: string, args: TeoApplicationProxyArgs, opts?: CustomResourceOptions);
@overload
def TeoApplicationProxy(resource_name: str,
args: TeoApplicationProxyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TeoApplicationProxy(resource_name: str,
opts: Optional[ResourceOptions] = None,
accelerate_type: Optional[float] = None,
plat_type: Optional[str] = None,
proxy_name: Optional[str] = None,
security_type: Optional[float] = None,
zone_id: Optional[str] = None,
ipv6: Optional[TeoApplicationProxyIpv6Args] = None,
proxy_type: Optional[str] = None,
session_persist_time: Optional[float] = None,
status: Optional[str] = None,
teo_application_proxy_id: Optional[str] = None)
func NewTeoApplicationProxy(ctx *Context, name string, args TeoApplicationProxyArgs, opts ...ResourceOption) (*TeoApplicationProxy, error)
public TeoApplicationProxy(string name, TeoApplicationProxyArgs args, CustomResourceOptions? opts = null)
public TeoApplicationProxy(String name, TeoApplicationProxyArgs args)
public TeoApplicationProxy(String name, TeoApplicationProxyArgs args, CustomResourceOptions options)
type: tencentcloud:TeoApplicationProxy
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 TeoApplicationProxyArgs
- 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 TeoApplicationProxyArgs
- 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 TeoApplicationProxyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TeoApplicationProxyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TeoApplicationProxyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TeoApplicationProxy 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 TeoApplicationProxy resource accepts the following input properties:
- Accelerate
Type double 0
: Disable acceleration.-1
: Enable acceleration.
- Plat
Type string - Scheduling mode.-
ip
: Anycast IP.-domain
: CNAME. - Proxy
Name string - When
ProxyType
is hostname,ProxyName
is the domain or subdomain name.WhenProxyType
is instance,ProxyName
is the name of proxy application. - Security
Type double 0
: Disable security protection.-1
: Enable security protection.
- Zone
Id string - Site ID.
- Ipv6
Teo
Application Proxy Ipv6 - IPv6 access configuration.
- Proxy
Type string - Layer 4 proxy mode. Valid values:-
hostname
: subdomain mode.-instance
: instance mode. - Session
Persist doubleTime - Session persistence duration. Value range: 30-3600 (in seconds), default value is 600.
- Status string
- Status of this application proxy. Valid values to set is
online
andoffline
.-online
: Enable.-offline
: Disable.-progress
: Deploying.-stopping
: Deactivating.-fail
: Deploy or deactivate failed. - Teo
Application stringProxy Id
- Accelerate
Type float64 0
: Disable acceleration.-1
: Enable acceleration.
- Plat
Type string - Scheduling mode.-
ip
: Anycast IP.-domain
: CNAME. - Proxy
Name string - When
ProxyType
is hostname,ProxyName
is the domain or subdomain name.WhenProxyType
is instance,ProxyName
is the name of proxy application. - Security
Type float64 0
: Disable security protection.-1
: Enable security protection.
- Zone
Id string - Site ID.
- Ipv6
Teo
Application Proxy Ipv6Args - IPv6 access configuration.
- Proxy
Type string - Layer 4 proxy mode. Valid values:-
hostname
: subdomain mode.-instance
: instance mode. - Session
Persist float64Time - Session persistence duration. Value range: 30-3600 (in seconds), default value is 600.
- Status string
- Status of this application proxy. Valid values to set is
online
andoffline
.-online
: Enable.-offline
: Disable.-progress
: Deploying.-stopping
: Deactivating.-fail
: Deploy or deactivate failed. - Teo
Application stringProxy Id
- accelerate
Type Double 0
: Disable acceleration.-1
: Enable acceleration.
- plat
Type String - Scheduling mode.-
ip
: Anycast IP.-domain
: CNAME. - proxy
Name String - When
ProxyType
is hostname,ProxyName
is the domain or subdomain name.WhenProxyType
is instance,ProxyName
is the name of proxy application. - security
Type Double 0
: Disable security protection.-1
: Enable security protection.
- zone
Id String - Site ID.
- ipv6
Teo
Application Proxy Ipv6 - IPv6 access configuration.
- proxy
Type String - Layer 4 proxy mode. Valid values:-
hostname
: subdomain mode.-instance
: instance mode. - session
Persist DoubleTime - Session persistence duration. Value range: 30-3600 (in seconds), default value is 600.
- status String
- Status of this application proxy. Valid values to set is
online
andoffline
.-online
: Enable.-offline
: Disable.-progress
: Deploying.-stopping
: Deactivating.-fail
: Deploy or deactivate failed. - teo
Application StringProxy Id
- accelerate
Type number 0
: Disable acceleration.-1
: Enable acceleration.
- plat
Type string - Scheduling mode.-
ip
: Anycast IP.-domain
: CNAME. - proxy
Name string - When
ProxyType
is hostname,ProxyName
is the domain or subdomain name.WhenProxyType
is instance,ProxyName
is the name of proxy application. - security
Type number 0
: Disable security protection.-1
: Enable security protection.
- zone
Id string - Site ID.
- ipv6
Teo
Application Proxy Ipv6 - IPv6 access configuration.
- proxy
Type string - Layer 4 proxy mode. Valid values:-
hostname
: subdomain mode.-instance
: instance mode. - session
Persist numberTime - Session persistence duration. Value range: 30-3600 (in seconds), default value is 600.
- status string
- Status of this application proxy. Valid values to set is
online
andoffline
.-online
: Enable.-offline
: Disable.-progress
: Deploying.-stopping
: Deactivating.-fail
: Deploy or deactivate failed. - teo
Application stringProxy Id
- accelerate_
type float 0
: Disable acceleration.-1
: Enable acceleration.
- plat_
type str - Scheduling mode.-
ip
: Anycast IP.-domain
: CNAME. - proxy_
name str - When
ProxyType
is hostname,ProxyName
is the domain or subdomain name.WhenProxyType
is instance,ProxyName
is the name of proxy application. - security_
type float 0
: Disable security protection.-1
: Enable security protection.
- zone_
id str - Site ID.
- ipv6
Teo
Application Proxy Ipv6Args - IPv6 access configuration.
- proxy_
type str - Layer 4 proxy mode. Valid values:-
hostname
: subdomain mode.-instance
: instance mode. - session_
persist_ floattime - Session persistence duration. Value range: 30-3600 (in seconds), default value is 600.
- status str
- Status of this application proxy. Valid values to set is
online
andoffline
.-online
: Enable.-offline
: Disable.-progress
: Deploying.-stopping
: Deactivating.-fail
: Deploy or deactivate failed. - teo_
application_ strproxy_ id
- accelerate
Type Number 0
: Disable acceleration.-1
: Enable acceleration.
- plat
Type String - Scheduling mode.-
ip
: Anycast IP.-domain
: CNAME. - proxy
Name String - When
ProxyType
is hostname,ProxyName
is the domain or subdomain name.WhenProxyType
is instance,ProxyName
is the name of proxy application. - security
Type Number 0
: Disable security protection.-1
: Enable security protection.
- zone
Id String - Site ID.
- ipv6 Property Map
- IPv6 access configuration.
- proxy
Type String - Layer 4 proxy mode. Valid values:-
hostname
: subdomain mode.-instance
: instance mode. - session
Persist NumberTime - Session persistence duration. Value range: 30-3600 (in seconds), default value is 600.
- status String
- Status of this application proxy. Valid values to set is
online
andoffline
.-online
: Enable.-offline
: Disable.-progress
: Deploying.-stopping
: Deactivating.-fail
: Deploy or deactivate failed. - teo
Application StringProxy Id
Outputs
All input properties are implicitly available as output properties. Additionally, the TeoApplicationProxy resource produces the following output properties:
- Area string
- Acceleration area. Valid values:
mainland
,overseas
. - Ban
Status string - Application proxy block status. Valid values:
banned
,banning
,recover
,recovering
. - Host
Id string - When
ProxyType
is hostname, this field is the ID of the subdomain. - Id string
- The provider-assigned unique ID for this managed resource.
- Proxy
Id string - Proxy ID.
- Schedule
Values List<string> - Scheduling information.
- Update
Time string - Last modification date.
- Area string
- Acceleration area. Valid values:
mainland
,overseas
. - Ban
Status string - Application proxy block status. Valid values:
banned
,banning
,recover
,recovering
. - Host
Id string - When
ProxyType
is hostname, this field is the ID of the subdomain. - Id string
- The provider-assigned unique ID for this managed resource.
- Proxy
Id string - Proxy ID.
- Schedule
Values []string - Scheduling information.
- Update
Time string - Last modification date.
- area String
- Acceleration area. Valid values:
mainland
,overseas
. - ban
Status String - Application proxy block status. Valid values:
banned
,banning
,recover
,recovering
. - host
Id String - When
ProxyType
is hostname, this field is the ID of the subdomain. - id String
- The provider-assigned unique ID for this managed resource.
- proxy
Id String - Proxy ID.
- schedule
Values List<String> - Scheduling information.
- update
Time String - Last modification date.
- area string
- Acceleration area. Valid values:
mainland
,overseas
. - ban
Status string - Application proxy block status. Valid values:
banned
,banning
,recover
,recovering
. - host
Id string - When
ProxyType
is hostname, this field is the ID of the subdomain. - id string
- The provider-assigned unique ID for this managed resource.
- proxy
Id string - Proxy ID.
- schedule
Values string[] - Scheduling information.
- update
Time string - Last modification date.
- area str
- Acceleration area. Valid values:
mainland
,overseas
. - ban_
status str - Application proxy block status. Valid values:
banned
,banning
,recover
,recovering
. - host_
id str - When
ProxyType
is hostname, this field is the ID of the subdomain. - id str
- The provider-assigned unique ID for this managed resource.
- proxy_
id str - Proxy ID.
- schedule_
values Sequence[str] - Scheduling information.
- update_
time str - Last modification date.
- area String
- Acceleration area. Valid values:
mainland
,overseas
. - ban
Status String - Application proxy block status. Valid values:
banned
,banning
,recover
,recovering
. - host
Id String - When
ProxyType
is hostname, this field is the ID of the subdomain. - id String
- The provider-assigned unique ID for this managed resource.
- proxy
Id String - Proxy ID.
- schedule
Values List<String> - Scheduling information.
- update
Time String - Last modification date.
Look up Existing TeoApplicationProxy Resource
Get an existing TeoApplicationProxy 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?: TeoApplicationProxyState, opts?: CustomResourceOptions): TeoApplicationProxy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
accelerate_type: Optional[float] = None,
area: Optional[str] = None,
ban_status: Optional[str] = None,
host_id: Optional[str] = None,
ipv6: Optional[TeoApplicationProxyIpv6Args] = None,
plat_type: Optional[str] = None,
proxy_id: Optional[str] = None,
proxy_name: Optional[str] = None,
proxy_type: Optional[str] = None,
schedule_values: Optional[Sequence[str]] = None,
security_type: Optional[float] = None,
session_persist_time: Optional[float] = None,
status: Optional[str] = None,
teo_application_proxy_id: Optional[str] = None,
update_time: Optional[str] = None,
zone_id: Optional[str] = None) -> TeoApplicationProxy
func GetTeoApplicationProxy(ctx *Context, name string, id IDInput, state *TeoApplicationProxyState, opts ...ResourceOption) (*TeoApplicationProxy, error)
public static TeoApplicationProxy Get(string name, Input<string> id, TeoApplicationProxyState? state, CustomResourceOptions? opts = null)
public static TeoApplicationProxy get(String name, Output<String> id, TeoApplicationProxyState state, CustomResourceOptions options)
resources: _: type: tencentcloud:TeoApplicationProxy 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.
- Accelerate
Type double 0
: Disable acceleration.-1
: Enable acceleration.
- Area string
- Acceleration area. Valid values:
mainland
,overseas
. - Ban
Status string - Application proxy block status. Valid values:
banned
,banning
,recover
,recovering
. - Host
Id string - When
ProxyType
is hostname, this field is the ID of the subdomain. - Ipv6
Teo
Application Proxy Ipv6 - IPv6 access configuration.
- Plat
Type string - Scheduling mode.-
ip
: Anycast IP.-domain
: CNAME. - Proxy
Id string - Proxy ID.
- Proxy
Name string - When
ProxyType
is hostname,ProxyName
is the domain or subdomain name.WhenProxyType
is instance,ProxyName
is the name of proxy application. - Proxy
Type string - Layer 4 proxy mode. Valid values:-
hostname
: subdomain mode.-instance
: instance mode. - Schedule
Values List<string> - Scheduling information.
- Security
Type double 0
: Disable security protection.-1
: Enable security protection.
- Session
Persist doubleTime - Session persistence duration. Value range: 30-3600 (in seconds), default value is 600.
- Status string
- Status of this application proxy. Valid values to set is
online
andoffline
.-online
: Enable.-offline
: Disable.-progress
: Deploying.-stopping
: Deactivating.-fail
: Deploy or deactivate failed. - Teo
Application stringProxy Id - Update
Time string - Last modification date.
- Zone
Id string - Site ID.
- Accelerate
Type float64 0
: Disable acceleration.-1
: Enable acceleration.
- Area string
- Acceleration area. Valid values:
mainland
,overseas
. - Ban
Status string - Application proxy block status. Valid values:
banned
,banning
,recover
,recovering
. - Host
Id string - When
ProxyType
is hostname, this field is the ID of the subdomain. - Ipv6
Teo
Application Proxy Ipv6Args - IPv6 access configuration.
- Plat
Type string - Scheduling mode.-
ip
: Anycast IP.-domain
: CNAME. - Proxy
Id string - Proxy ID.
- Proxy
Name string - When
ProxyType
is hostname,ProxyName
is the domain or subdomain name.WhenProxyType
is instance,ProxyName
is the name of proxy application. - Proxy
Type string - Layer 4 proxy mode. Valid values:-
hostname
: subdomain mode.-instance
: instance mode. - Schedule
Values []string - Scheduling information.
- Security
Type float64 0
: Disable security protection.-1
: Enable security protection.
- Session
Persist float64Time - Session persistence duration. Value range: 30-3600 (in seconds), default value is 600.
- Status string
- Status of this application proxy. Valid values to set is
online
andoffline
.-online
: Enable.-offline
: Disable.-progress
: Deploying.-stopping
: Deactivating.-fail
: Deploy or deactivate failed. - Teo
Application stringProxy Id - Update
Time string - Last modification date.
- Zone
Id string - Site ID.
- accelerate
Type Double 0
: Disable acceleration.-1
: Enable acceleration.
- area String
- Acceleration area. Valid values:
mainland
,overseas
. - ban
Status String - Application proxy block status. Valid values:
banned
,banning
,recover
,recovering
. - host
Id String - When
ProxyType
is hostname, this field is the ID of the subdomain. - ipv6
Teo
Application Proxy Ipv6 - IPv6 access configuration.
- plat
Type String - Scheduling mode.-
ip
: Anycast IP.-domain
: CNAME. - proxy
Id String - Proxy ID.
- proxy
Name String - When
ProxyType
is hostname,ProxyName
is the domain or subdomain name.WhenProxyType
is instance,ProxyName
is the name of proxy application. - proxy
Type String - Layer 4 proxy mode. Valid values:-
hostname
: subdomain mode.-instance
: instance mode. - schedule
Values List<String> - Scheduling information.
- security
Type Double 0
: Disable security protection.-1
: Enable security protection.
- session
Persist DoubleTime - Session persistence duration. Value range: 30-3600 (in seconds), default value is 600.
- status String
- Status of this application proxy. Valid values to set is
online
andoffline
.-online
: Enable.-offline
: Disable.-progress
: Deploying.-stopping
: Deactivating.-fail
: Deploy or deactivate failed. - teo
Application StringProxy Id - update
Time String - Last modification date.
- zone
Id String - Site ID.
- accelerate
Type number 0
: Disable acceleration.-1
: Enable acceleration.
- area string
- Acceleration area. Valid values:
mainland
,overseas
. - ban
Status string - Application proxy block status. Valid values:
banned
,banning
,recover
,recovering
. - host
Id string - When
ProxyType
is hostname, this field is the ID of the subdomain. - ipv6
Teo
Application Proxy Ipv6 - IPv6 access configuration.
- plat
Type string - Scheduling mode.-
ip
: Anycast IP.-domain
: CNAME. - proxy
Id string - Proxy ID.
- proxy
Name string - When
ProxyType
is hostname,ProxyName
is the domain or subdomain name.WhenProxyType
is instance,ProxyName
is the name of proxy application. - proxy
Type string - Layer 4 proxy mode. Valid values:-
hostname
: subdomain mode.-instance
: instance mode. - schedule
Values string[] - Scheduling information.
- security
Type number 0
: Disable security protection.-1
: Enable security protection.
- session
Persist numberTime - Session persistence duration. Value range: 30-3600 (in seconds), default value is 600.
- status string
- Status of this application proxy. Valid values to set is
online
andoffline
.-online
: Enable.-offline
: Disable.-progress
: Deploying.-stopping
: Deactivating.-fail
: Deploy or deactivate failed. - teo
Application stringProxy Id - update
Time string - Last modification date.
- zone
Id string - Site ID.
- accelerate_
type float 0
: Disable acceleration.-1
: Enable acceleration.
- area str
- Acceleration area. Valid values:
mainland
,overseas
. - ban_
status str - Application proxy block status. Valid values:
banned
,banning
,recover
,recovering
. - host_
id str - When
ProxyType
is hostname, this field is the ID of the subdomain. - ipv6
Teo
Application Proxy Ipv6Args - IPv6 access configuration.
- plat_
type str - Scheduling mode.-
ip
: Anycast IP.-domain
: CNAME. - proxy_
id str - Proxy ID.
- proxy_
name str - When
ProxyType
is hostname,ProxyName
is the domain or subdomain name.WhenProxyType
is instance,ProxyName
is the name of proxy application. - proxy_
type str - Layer 4 proxy mode. Valid values:-
hostname
: subdomain mode.-instance
: instance mode. - schedule_
values Sequence[str] - Scheduling information.
- security_
type float 0
: Disable security protection.-1
: Enable security protection.
- session_
persist_ floattime - Session persistence duration. Value range: 30-3600 (in seconds), default value is 600.
- status str
- Status of this application proxy. Valid values to set is
online
andoffline
.-online
: Enable.-offline
: Disable.-progress
: Deploying.-stopping
: Deactivating.-fail
: Deploy or deactivate failed. - teo_
application_ strproxy_ id - update_
time str - Last modification date.
- zone_
id str - Site ID.
- accelerate
Type Number 0
: Disable acceleration.-1
: Enable acceleration.
- area String
- Acceleration area. Valid values:
mainland
,overseas
. - ban
Status String - Application proxy block status. Valid values:
banned
,banning
,recover
,recovering
. - host
Id String - When
ProxyType
is hostname, this field is the ID of the subdomain. - ipv6 Property Map
- IPv6 access configuration.
- plat
Type String - Scheduling mode.-
ip
: Anycast IP.-domain
: CNAME. - proxy
Id String - Proxy ID.
- proxy
Name String - When
ProxyType
is hostname,ProxyName
is the domain or subdomain name.WhenProxyType
is instance,ProxyName
is the name of proxy application. - proxy
Type String - Layer 4 proxy mode. Valid values:-
hostname
: subdomain mode.-instance
: instance mode. - schedule
Values List<String> - Scheduling information.
- security
Type Number 0
: Disable security protection.-1
: Enable security protection.
- session
Persist NumberTime - Session persistence duration. Value range: 30-3600 (in seconds), default value is 600.
- status String
- Status of this application proxy. Valid values to set is
online
andoffline
.-online
: Enable.-offline
: Disable.-progress
: Deploying.-stopping
: Deactivating.-fail
: Deploy or deactivate failed. - teo
Application StringProxy Id - update
Time String - Last modification date.
- zone
Id String - Site ID.
Supporting Types
TeoApplicationProxyIpv6, TeoApplicationProxyIpv6Args
- Switch string
on
: Enable.-off
: Disable.
- Switch string
on
: Enable.-off
: Disable.
- switch_ String
on
: Enable.-off
: Disable.
- switch string
on
: Enable.-off
: Disable.
- switch str
on
: Enable.-off
: Disable.
- switch String
on
: Enable.-off
: Disable.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack