1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. TeoMultiPathGatewaySecretKey
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack

    Provides a resource to manage a TEO multi-path gateway secret key config.

    Create TeoMultiPathGatewaySecretKey Resource

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

    Constructor syntax

    new TeoMultiPathGatewaySecretKey(name: string, args: TeoMultiPathGatewaySecretKeyArgs, opts?: CustomResourceOptions);
    @overload
    def TeoMultiPathGatewaySecretKey(resource_name: str,
                                     args: TeoMultiPathGatewaySecretKeyArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def TeoMultiPathGatewaySecretKey(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     secret_key: Optional[str] = None,
                                     zone_id: Optional[str] = None,
                                     teo_multi_path_gateway_secret_key_id: Optional[str] = None)
    func NewTeoMultiPathGatewaySecretKey(ctx *Context, name string, args TeoMultiPathGatewaySecretKeyArgs, opts ...ResourceOption) (*TeoMultiPathGatewaySecretKey, error)
    public TeoMultiPathGatewaySecretKey(string name, TeoMultiPathGatewaySecretKeyArgs args, CustomResourceOptions? opts = null)
    public TeoMultiPathGatewaySecretKey(String name, TeoMultiPathGatewaySecretKeyArgs args)
    public TeoMultiPathGatewaySecretKey(String name, TeoMultiPathGatewaySecretKeyArgs args, CustomResourceOptions options)
    
    type: tencentcloud:TeoMultiPathGatewaySecretKey
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_teomultipathgatewaysecretkey" "name" {
        # resource properties
    }

    Parameters

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

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

    SecretKey string
    Multi-path gateway secret key, base64 string, the string length before encoding is 32-48 characters.
    ZoneId string
    Zone ID.
    TeoMultiPathGatewaySecretKeyId string
    ID of the resource.
    SecretKey string
    Multi-path gateway secret key, base64 string, the string length before encoding is 32-48 characters.
    ZoneId string
    Zone ID.
    TeoMultiPathGatewaySecretKeyId string
    ID of the resource.
    secret_key string
    Multi-path gateway secret key, base64 string, the string length before encoding is 32-48 characters.
    zone_id string
    Zone ID.
    teo_multi_path_gateway_secret_key_id string
    ID of the resource.
    secretKey String
    Multi-path gateway secret key, base64 string, the string length before encoding is 32-48 characters.
    zoneId String
    Zone ID.
    teoMultiPathGatewaySecretKeyId String
    ID of the resource.
    secretKey string
    Multi-path gateway secret key, base64 string, the string length before encoding is 32-48 characters.
    zoneId string
    Zone ID.
    teoMultiPathGatewaySecretKeyId string
    ID of the resource.
    secret_key str
    Multi-path gateway secret key, base64 string, the string length before encoding is 32-48 characters.
    zone_id str
    Zone ID.
    teo_multi_path_gateway_secret_key_id str
    ID of the resource.
    secretKey String
    Multi-path gateway secret key, base64 string, the string length before encoding is 32-48 characters.
    zoneId String
    Zone ID.
    teoMultiPathGatewaySecretKeyId String
    ID of the resource.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing TeoMultiPathGatewaySecretKey Resource

    Get an existing TeoMultiPathGatewaySecretKey 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?: TeoMultiPathGatewaySecretKeyState, opts?: CustomResourceOptions): TeoMultiPathGatewaySecretKey
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            secret_key: Optional[str] = None,
            teo_multi_path_gateway_secret_key_id: Optional[str] = None,
            zone_id: Optional[str] = None) -> TeoMultiPathGatewaySecretKey
    func GetTeoMultiPathGatewaySecretKey(ctx *Context, name string, id IDInput, state *TeoMultiPathGatewaySecretKeyState, opts ...ResourceOption) (*TeoMultiPathGatewaySecretKey, error)
    public static TeoMultiPathGatewaySecretKey Get(string name, Input<string> id, TeoMultiPathGatewaySecretKeyState? state, CustomResourceOptions? opts = null)
    public static TeoMultiPathGatewaySecretKey get(String name, Output<String> id, TeoMultiPathGatewaySecretKeyState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:TeoMultiPathGatewaySecretKey    get:      id: ${id}
    import {
      to = tencentcloud_teomultipathgatewaysecretkey.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    SecretKey string
    Multi-path gateway secret key, base64 string, the string length before encoding is 32-48 characters.
    TeoMultiPathGatewaySecretKeyId string
    ID of the resource.
    ZoneId string
    Zone ID.
    SecretKey string
    Multi-path gateway secret key, base64 string, the string length before encoding is 32-48 characters.
    TeoMultiPathGatewaySecretKeyId string
    ID of the resource.
    ZoneId string
    Zone ID.
    secret_key string
    Multi-path gateway secret key, base64 string, the string length before encoding is 32-48 characters.
    teo_multi_path_gateway_secret_key_id string
    ID of the resource.
    zone_id string
    Zone ID.
    secretKey String
    Multi-path gateway secret key, base64 string, the string length before encoding is 32-48 characters.
    teoMultiPathGatewaySecretKeyId String
    ID of the resource.
    zoneId String
    Zone ID.
    secretKey string
    Multi-path gateway secret key, base64 string, the string length before encoding is 32-48 characters.
    teoMultiPathGatewaySecretKeyId string
    ID of the resource.
    zoneId string
    Zone ID.
    secret_key str
    Multi-path gateway secret key, base64 string, the string length before encoding is 32-48 characters.
    teo_multi_path_gateway_secret_key_id str
    ID of the resource.
    zone_id str
    Zone ID.
    secretKey String
    Multi-path gateway secret key, base64 string, the string length before encoding is 32-48 characters.
    teoMultiPathGatewaySecretKeyId String
    ID of the resource.
    zoneId String
    Zone ID.

    Import

    TEO multi-path gateway secret key can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/teoMultiPathGatewaySecretKey:TeoMultiPathGatewaySecretKey example zone-3edjdliiw3he
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    Viewing docs for tencentcloud 1.82.93
    published on Monday, May 11, 2026 by tencentcloudstack
      Try Pulumi Cloud free. Your team will thank you.