alicloud.dms.EnterpriseProxy
Explore with Pulumi AI
Provides a DMS Enterprise Proxy resource.
For information about DMS Enterprise Proxy and how to use it, see What is Proxy.
NOTE: Available in v1.188.0+.
Create EnterpriseProxy Resource
new EnterpriseProxy(name: string, args: EnterpriseProxyArgs, opts?: CustomResourceOptions);
@overload
def EnterpriseProxy(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
password: Optional[str] = None,
tid: Optional[str] = None,
username: Optional[str] = None)
@overload
def EnterpriseProxy(resource_name: str,
args: EnterpriseProxyArgs,
opts: Optional[ResourceOptions] = None)
func NewEnterpriseProxy(ctx *Context, name string, args EnterpriseProxyArgs, opts ...ResourceOption) (*EnterpriseProxy, error)
public EnterpriseProxy(string name, EnterpriseProxyArgs args, CustomResourceOptions? opts = null)
public EnterpriseProxy(String name, EnterpriseProxyArgs args)
public EnterpriseProxy(String name, EnterpriseProxyArgs args, CustomResourceOptions options)
type: alicloud:dms:EnterpriseProxy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnterpriseProxyArgs
- 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 EnterpriseProxyArgs
- 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 EnterpriseProxyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnterpriseProxyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnterpriseProxyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
EnterpriseProxy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The EnterpriseProxy resource accepts the following input properties:
- Instance
Id string The ID of the database instance.
- Password string
The password of the database account.
- Username string
The username of the database account.
- Tid string
The ID of the tenant.
- Instance
Id string The ID of the database instance.
- Password string
The password of the database account.
- Username string
The username of the database account.
- Tid string
The ID of the tenant.
- instance
Id String The ID of the database instance.
- password String
The password of the database account.
- username String
The username of the database account.
- tid String
The ID of the tenant.
- instance
Id string The ID of the database instance.
- password string
The password of the database account.
- username string
The username of the database account.
- tid string
The ID of the tenant.
- instance_
id str The ID of the database instance.
- password str
The password of the database account.
- username str
The username of the database account.
- tid str
The ID of the tenant.
- instance
Id String The ID of the database instance.
- password String
The password of the database account.
- username String
The username of the database account.
- tid String
The ID of the tenant.
Outputs
All input properties are implicitly available as output properties. Additionally, the EnterpriseProxy 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 str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing EnterpriseProxy Resource
Get an existing EnterpriseProxy 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?: EnterpriseProxyState, opts?: CustomResourceOptions): EnterpriseProxy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
instance_id: Optional[str] = None,
password: Optional[str] = None,
tid: Optional[str] = None,
username: Optional[str] = None) -> EnterpriseProxy
func GetEnterpriseProxy(ctx *Context, name string, id IDInput, state *EnterpriseProxyState, opts ...ResourceOption) (*EnterpriseProxy, error)
public static EnterpriseProxy Get(string name, Input<string> id, EnterpriseProxyState? state, CustomResourceOptions? opts = null)
public static EnterpriseProxy get(String name, Output<String> id, EnterpriseProxyState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Instance
Id string The ID of the database instance.
- Password string
The password of the database account.
- Tid string
The ID of the tenant.
- Username string
The username of the database account.
- Instance
Id string The ID of the database instance.
- Password string
The password of the database account.
- Tid string
The ID of the tenant.
- Username string
The username of the database account.
- instance
Id String The ID of the database instance.
- password String
The password of the database account.
- tid String
The ID of the tenant.
- username String
The username of the database account.
- instance
Id string The ID of the database instance.
- password string
The password of the database account.
- tid string
The ID of the tenant.
- username string
The username of the database account.
- instance_
id str The ID of the database instance.
- password str
The password of the database account.
- tid str
The ID of the tenant.
- username str
The username of the database account.
- instance
Id String The ID of the database instance.
- password String
The password of the database account.
- tid String
The ID of the tenant.
- username String
The username of the database account.
Import
DMS Enterprise Proxy can be imported using the id, e.g.
$ pulumi import alicloud:dms/enterpriseProxy:EnterpriseProxy example <id>
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.