1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. TeoApplicationProxy
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.TeoApplicationProxy

Explore with Pulumi AI

tencentcloud logo
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:

    AccelerateType double
    • 0: Disable acceleration.- 1: Enable acceleration.
    PlatType string
    Scheduling mode.- ip: Anycast IP.- domain: CNAME.
    ProxyName string
    When ProxyType is hostname, ProxyName is the domain or subdomain name.When ProxyType is instance, ProxyName is the name of proxy application.
    SecurityType double
    • 0: Disable security protection.- 1: Enable security protection.
    ZoneId string
    Site ID.
    Ipv6 TeoApplicationProxyIpv6
    IPv6 access configuration.
    ProxyType string
    Layer 4 proxy mode. Valid values:- hostname: subdomain mode.- instance: instance mode.
    SessionPersistTime double
    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 and offline.- online: Enable.- offline: Disable.- progress: Deploying.- stopping: Deactivating.- fail: Deploy or deactivate failed.
    TeoApplicationProxyId string
    AccelerateType float64
    • 0: Disable acceleration.- 1: Enable acceleration.
    PlatType string
    Scheduling mode.- ip: Anycast IP.- domain: CNAME.
    ProxyName string
    When ProxyType is hostname, ProxyName is the domain or subdomain name.When ProxyType is instance, ProxyName is the name of proxy application.
    SecurityType float64
    • 0: Disable security protection.- 1: Enable security protection.
    ZoneId string
    Site ID.
    Ipv6 TeoApplicationProxyIpv6Args
    IPv6 access configuration.
    ProxyType string
    Layer 4 proxy mode. Valid values:- hostname: subdomain mode.- instance: instance mode.
    SessionPersistTime float64
    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 and offline.- online: Enable.- offline: Disable.- progress: Deploying.- stopping: Deactivating.- fail: Deploy or deactivate failed.
    TeoApplicationProxyId string
    accelerateType Double
    • 0: Disable acceleration.- 1: Enable acceleration.
    platType String
    Scheduling mode.- ip: Anycast IP.- domain: CNAME.
    proxyName String
    When ProxyType is hostname, ProxyName is the domain or subdomain name.When ProxyType is instance, ProxyName is the name of proxy application.
    securityType Double
    • 0: Disable security protection.- 1: Enable security protection.
    zoneId String
    Site ID.
    ipv6 TeoApplicationProxyIpv6
    IPv6 access configuration.
    proxyType String
    Layer 4 proxy mode. Valid values:- hostname: subdomain mode.- instance: instance mode.
    sessionPersistTime Double
    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 and offline.- online: Enable.- offline: Disable.- progress: Deploying.- stopping: Deactivating.- fail: Deploy or deactivate failed.
    teoApplicationProxyId String
    accelerateType number
    • 0: Disable acceleration.- 1: Enable acceleration.
    platType string
    Scheduling mode.- ip: Anycast IP.- domain: CNAME.
    proxyName string
    When ProxyType is hostname, ProxyName is the domain or subdomain name.When ProxyType is instance, ProxyName is the name of proxy application.
    securityType number
    • 0: Disable security protection.- 1: Enable security protection.
    zoneId string
    Site ID.
    ipv6 TeoApplicationProxyIpv6
    IPv6 access configuration.
    proxyType string
    Layer 4 proxy mode. Valid values:- hostname: subdomain mode.- instance: instance mode.
    sessionPersistTime number
    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 and offline.- online: Enable.- offline: Disable.- progress: Deploying.- stopping: Deactivating.- fail: Deploy or deactivate failed.
    teoApplicationProxyId string
    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.When ProxyType 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 TeoApplicationProxyIpv6Args
    IPv6 access configuration.
    proxy_type str
    Layer 4 proxy mode. Valid values:- hostname: subdomain mode.- instance: instance mode.
    session_persist_time float
    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 and offline.- online: Enable.- offline: Disable.- progress: Deploying.- stopping: Deactivating.- fail: Deploy or deactivate failed.
    teo_application_proxy_id str
    accelerateType Number
    • 0: Disable acceleration.- 1: Enable acceleration.
    platType String
    Scheduling mode.- ip: Anycast IP.- domain: CNAME.
    proxyName String
    When ProxyType is hostname, ProxyName is the domain or subdomain name.When ProxyType is instance, ProxyName is the name of proxy application.
    securityType Number
    • 0: Disable security protection.- 1: Enable security protection.
    zoneId String
    Site ID.
    ipv6 Property Map
    IPv6 access configuration.
    proxyType String
    Layer 4 proxy mode. Valid values:- hostname: subdomain mode.- instance: instance mode.
    sessionPersistTime Number
    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 and offline.- online: Enable.- offline: Disable.- progress: Deploying.- stopping: Deactivating.- fail: Deploy or deactivate failed.
    teoApplicationProxyId String

    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.
    BanStatus string
    Application proxy block status. Valid values: banned, banning, recover, recovering.
    HostId string
    When ProxyType is hostname, this field is the ID of the subdomain.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProxyId string
    Proxy ID.
    ScheduleValues List<string>
    Scheduling information.
    UpdateTime string
    Last modification date.
    Area string
    Acceleration area. Valid values: mainland, overseas.
    BanStatus string
    Application proxy block status. Valid values: banned, banning, recover, recovering.
    HostId string
    When ProxyType is hostname, this field is the ID of the subdomain.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProxyId string
    Proxy ID.
    ScheduleValues []string
    Scheduling information.
    UpdateTime string
    Last modification date.
    area String
    Acceleration area. Valid values: mainland, overseas.
    banStatus String
    Application proxy block status. Valid values: banned, banning, recover, recovering.
    hostId String
    When ProxyType is hostname, this field is the ID of the subdomain.
    id String
    The provider-assigned unique ID for this managed resource.
    proxyId String
    Proxy ID.
    scheduleValues List<String>
    Scheduling information.
    updateTime String
    Last modification date.
    area string
    Acceleration area. Valid values: mainland, overseas.
    banStatus string
    Application proxy block status. Valid values: banned, banning, recover, recovering.
    hostId string
    When ProxyType is hostname, this field is the ID of the subdomain.
    id string
    The provider-assigned unique ID for this managed resource.
    proxyId string
    Proxy ID.
    scheduleValues string[]
    Scheduling information.
    updateTime 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.
    banStatus String
    Application proxy block status. Valid values: banned, banning, recover, recovering.
    hostId String
    When ProxyType is hostname, this field is the ID of the subdomain.
    id String
    The provider-assigned unique ID for this managed resource.
    proxyId String
    Proxy ID.
    scheduleValues List<String>
    Scheduling information.
    updateTime 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.
    The following state arguments are supported:
    AccelerateType double
    • 0: Disable acceleration.- 1: Enable acceleration.
    Area string
    Acceleration area. Valid values: mainland, overseas.
    BanStatus string
    Application proxy block status. Valid values: banned, banning, recover, recovering.
    HostId string
    When ProxyType is hostname, this field is the ID of the subdomain.
    Ipv6 TeoApplicationProxyIpv6
    IPv6 access configuration.
    PlatType string
    Scheduling mode.- ip: Anycast IP.- domain: CNAME.
    ProxyId string
    Proxy ID.
    ProxyName string
    When ProxyType is hostname, ProxyName is the domain or subdomain name.When ProxyType is instance, ProxyName is the name of proxy application.
    ProxyType string
    Layer 4 proxy mode. Valid values:- hostname: subdomain mode.- instance: instance mode.
    ScheduleValues List<string>
    Scheduling information.
    SecurityType double
    • 0: Disable security protection.- 1: Enable security protection.
    SessionPersistTime double
    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 and offline.- online: Enable.- offline: Disable.- progress: Deploying.- stopping: Deactivating.- fail: Deploy or deactivate failed.
    TeoApplicationProxyId string
    UpdateTime string
    Last modification date.
    ZoneId string
    Site ID.
    AccelerateType float64
    • 0: Disable acceleration.- 1: Enable acceleration.
    Area string
    Acceleration area. Valid values: mainland, overseas.
    BanStatus string
    Application proxy block status. Valid values: banned, banning, recover, recovering.
    HostId string
    When ProxyType is hostname, this field is the ID of the subdomain.
    Ipv6 TeoApplicationProxyIpv6Args
    IPv6 access configuration.
    PlatType string
    Scheduling mode.- ip: Anycast IP.- domain: CNAME.
    ProxyId string
    Proxy ID.
    ProxyName string
    When ProxyType is hostname, ProxyName is the domain or subdomain name.When ProxyType is instance, ProxyName is the name of proxy application.
    ProxyType string
    Layer 4 proxy mode. Valid values:- hostname: subdomain mode.- instance: instance mode.
    ScheduleValues []string
    Scheduling information.
    SecurityType float64
    • 0: Disable security protection.- 1: Enable security protection.
    SessionPersistTime float64
    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 and offline.- online: Enable.- offline: Disable.- progress: Deploying.- stopping: Deactivating.- fail: Deploy or deactivate failed.
    TeoApplicationProxyId string
    UpdateTime string
    Last modification date.
    ZoneId string
    Site ID.
    accelerateType Double
    • 0: Disable acceleration.- 1: Enable acceleration.
    area String
    Acceleration area. Valid values: mainland, overseas.
    banStatus String
    Application proxy block status. Valid values: banned, banning, recover, recovering.
    hostId String
    When ProxyType is hostname, this field is the ID of the subdomain.
    ipv6 TeoApplicationProxyIpv6
    IPv6 access configuration.
    platType String
    Scheduling mode.- ip: Anycast IP.- domain: CNAME.
    proxyId String
    Proxy ID.
    proxyName String
    When ProxyType is hostname, ProxyName is the domain or subdomain name.When ProxyType is instance, ProxyName is the name of proxy application.
    proxyType String
    Layer 4 proxy mode. Valid values:- hostname: subdomain mode.- instance: instance mode.
    scheduleValues List<String>
    Scheduling information.
    securityType Double
    • 0: Disable security protection.- 1: Enable security protection.
    sessionPersistTime Double
    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 and offline.- online: Enable.- offline: Disable.- progress: Deploying.- stopping: Deactivating.- fail: Deploy or deactivate failed.
    teoApplicationProxyId String
    updateTime String
    Last modification date.
    zoneId String
    Site ID.
    accelerateType number
    • 0: Disable acceleration.- 1: Enable acceleration.
    area string
    Acceleration area. Valid values: mainland, overseas.
    banStatus string
    Application proxy block status. Valid values: banned, banning, recover, recovering.
    hostId string
    When ProxyType is hostname, this field is the ID of the subdomain.
    ipv6 TeoApplicationProxyIpv6
    IPv6 access configuration.
    platType string
    Scheduling mode.- ip: Anycast IP.- domain: CNAME.
    proxyId string
    Proxy ID.
    proxyName string
    When ProxyType is hostname, ProxyName is the domain or subdomain name.When ProxyType is instance, ProxyName is the name of proxy application.
    proxyType string
    Layer 4 proxy mode. Valid values:- hostname: subdomain mode.- instance: instance mode.
    scheduleValues string[]
    Scheduling information.
    securityType number
    • 0: Disable security protection.- 1: Enable security protection.
    sessionPersistTime number
    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 and offline.- online: Enable.- offline: Disable.- progress: Deploying.- stopping: Deactivating.- fail: Deploy or deactivate failed.
    teoApplicationProxyId string
    updateTime string
    Last modification date.
    zoneId 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 TeoApplicationProxyIpv6Args
    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.When ProxyType 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_time float
    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 and offline.- online: Enable.- offline: Disable.- progress: Deploying.- stopping: Deactivating.- fail: Deploy or deactivate failed.
    teo_application_proxy_id str
    update_time str
    Last modification date.
    zone_id str
    Site ID.
    accelerateType Number
    • 0: Disable acceleration.- 1: Enable acceleration.
    area String
    Acceleration area. Valid values: mainland, overseas.
    banStatus String
    Application proxy block status. Valid values: banned, banning, recover, recovering.
    hostId String
    When ProxyType is hostname, this field is the ID of the subdomain.
    ipv6 Property Map
    IPv6 access configuration.
    platType String
    Scheduling mode.- ip: Anycast IP.- domain: CNAME.
    proxyId String
    Proxy ID.
    proxyName String
    When ProxyType is hostname, ProxyName is the domain or subdomain name.When ProxyType is instance, ProxyName is the name of proxy application.
    proxyType String
    Layer 4 proxy mode. Valid values:- hostname: subdomain mode.- instance: instance mode.
    scheduleValues List<String>
    Scheduling information.
    securityType Number
    • 0: Disable security protection.- 1: Enable security protection.
    sessionPersistTime Number
    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 and offline.- online: Enable.- offline: Disable.- progress: Deploying.- stopping: Deactivating.- fail: Deploy or deactivate failed.
    teoApplicationProxyId String
    updateTime String
    Last modification date.
    zoneId 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 logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack