published on Monday, May 11, 2026 by tencentcloudstack
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:
- 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 stringPath Gateway Secret Key Id - 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 stringPath Gateway Secret Key Id - 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_ stringpath_ gateway_ secret_ key_ id - 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 StringPath Gateway Secret Key Id - 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 stringPath Gateway Secret Key Id - 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_ strpath_ gateway_ secret_ key_ id - 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 StringPath Gateway Secret Key Id - 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) -> TeoMultiPathGatewaySecretKeyfunc 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.
- Secret
Key string - Multi-path gateway secret key, base64 string, the string length before encoding is 32-48 characters.
- Teo
Multi stringPath Gateway Secret Key Id - ID of the resource.
- Zone
Id string - Zone ID.
- Secret
Key string - Multi-path gateway secret key, base64 string, the string length before encoding is 32-48 characters.
- Teo
Multi stringPath Gateway Secret Key Id - ID of the resource.
- Zone
Id string - Zone ID.
- secret_
key string - Multi-path gateway secret key, base64 string, the string length before encoding is 32-48 characters.
- teo_
multi_ stringpath_ gateway_ secret_ key_ id - ID of the resource.
- zone_
id string - Zone ID.
- secret
Key String - Multi-path gateway secret key, base64 string, the string length before encoding is 32-48 characters.
- teo
Multi StringPath Gateway Secret Key Id - ID of the resource.
- zone
Id String - Zone ID.
- secret
Key string - Multi-path gateway secret key, base64 string, the string length before encoding is 32-48 characters.
- teo
Multi stringPath Gateway Secret Key Id - ID of the resource.
- zone
Id string - Zone ID.
- secret_
key str - Multi-path gateway secret key, base64 string, the string length before encoding is 32-48 characters.
- teo_
multi_ strpath_ gateway_ secret_ key_ id - ID of the resource.
- zone_
id str - Zone ID.
- secret
Key String - Multi-path gateway secret key, base64 string, the string length before encoding is 32-48 characters.
- teo
Multi StringPath Gateway Secret Key Id - ID of the resource.
- zone
Id 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
tencentcloudTerraform Provider.
published on Monday, May 11, 2026 by tencentcloudstack
