1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. DmsSmartConnectTaskActionV2
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.DmsSmartConnectTaskActionV2

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Create DmsSmartConnectTaskActionV2 Resource

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

    Constructor syntax

    new DmsSmartConnectTaskActionV2(name: string, args: DmsSmartConnectTaskActionV2Args, opts?: CustomResourceOptions);
    @overload
    def DmsSmartConnectTaskActionV2(resource_name: str,
                                    args: DmsSmartConnectTaskActionV2Args,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def DmsSmartConnectTaskActionV2(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    action: Optional[str] = None,
                                    instance_id: Optional[str] = None,
                                    task_id: Optional[str] = None,
                                    dms_smart_connect_task_action_v2_id: Optional[str] = None,
                                    timeouts: Optional[DmsSmartConnectTaskActionV2TimeoutsArgs] = None)
    func NewDmsSmartConnectTaskActionV2(ctx *Context, name string, args DmsSmartConnectTaskActionV2Args, opts ...ResourceOption) (*DmsSmartConnectTaskActionV2, error)
    public DmsSmartConnectTaskActionV2(string name, DmsSmartConnectTaskActionV2Args args, CustomResourceOptions? opts = null)
    public DmsSmartConnectTaskActionV2(String name, DmsSmartConnectTaskActionV2Args args)
    public DmsSmartConnectTaskActionV2(String name, DmsSmartConnectTaskActionV2Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:DmsSmartConnectTaskActionV2
    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 DmsSmartConnectTaskActionV2Args
    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 DmsSmartConnectTaskActionV2Args
    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 DmsSmartConnectTaskActionV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DmsSmartConnectTaskActionV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DmsSmartConnectTaskActionV2Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var dmsSmartConnectTaskActionV2Resource = new Opentelekomcloud.DmsSmartConnectTaskActionV2("dmsSmartConnectTaskActionV2Resource", new()
    {
        Action = "string",
        InstanceId = "string",
        TaskId = "string",
        DmsSmartConnectTaskActionV2Id = "string",
        Timeouts = new Opentelekomcloud.Inputs.DmsSmartConnectTaskActionV2TimeoutsArgs
        {
            Create = "string",
        },
    });
    
    example, err := opentelekomcloud.NewDmsSmartConnectTaskActionV2(ctx, "dmsSmartConnectTaskActionV2Resource", &opentelekomcloud.DmsSmartConnectTaskActionV2Args{
    	Action:                        pulumi.String("string"),
    	InstanceId:                    pulumi.String("string"),
    	TaskId:                        pulumi.String("string"),
    	DmsSmartConnectTaskActionV2Id: pulumi.String("string"),
    	Timeouts: &opentelekomcloud.DmsSmartConnectTaskActionV2TimeoutsArgs{
    		Create: pulumi.String("string"),
    	},
    })
    
    var dmsSmartConnectTaskActionV2Resource = new DmsSmartConnectTaskActionV2("dmsSmartConnectTaskActionV2Resource", DmsSmartConnectTaskActionV2Args.builder()
        .action("string")
        .instanceId("string")
        .taskId("string")
        .dmsSmartConnectTaskActionV2Id("string")
        .timeouts(DmsSmartConnectTaskActionV2TimeoutsArgs.builder()
            .create("string")
            .build())
        .build());
    
    dms_smart_connect_task_action_v2_resource = opentelekomcloud.DmsSmartConnectTaskActionV2("dmsSmartConnectTaskActionV2Resource",
        action="string",
        instance_id="string",
        task_id="string",
        dms_smart_connect_task_action_v2_id="string",
        timeouts={
            "create": "string",
        })
    
    const dmsSmartConnectTaskActionV2Resource = new opentelekomcloud.DmsSmartConnectTaskActionV2("dmsSmartConnectTaskActionV2Resource", {
        action: "string",
        instanceId: "string",
        taskId: "string",
        dmsSmartConnectTaskActionV2Id: "string",
        timeouts: {
            create: "string",
        },
    });
    
    type: opentelekomcloud:DmsSmartConnectTaskActionV2
    properties:
        action: string
        dmsSmartConnectTaskActionV2Id: string
        instanceId: string
        taskId: string
        timeouts:
            create: string
    

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

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    TaskStatus string
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    TaskStatus string
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    taskStatus String
    id string
    The provider-assigned unique ID for this managed resource.
    region string
    taskStatus string
    id str
    The provider-assigned unique ID for this managed resource.
    region str
    task_status str
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    taskStatus String

    Look up Existing DmsSmartConnectTaskActionV2 Resource

    Get an existing DmsSmartConnectTaskActionV2 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?: DmsSmartConnectTaskActionV2State, opts?: CustomResourceOptions): DmsSmartConnectTaskActionV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            action: Optional[str] = None,
            dms_smart_connect_task_action_v2_id: Optional[str] = None,
            instance_id: Optional[str] = None,
            region: Optional[str] = None,
            task_id: Optional[str] = None,
            task_status: Optional[str] = None,
            timeouts: Optional[DmsSmartConnectTaskActionV2TimeoutsArgs] = None) -> DmsSmartConnectTaskActionV2
    func GetDmsSmartConnectTaskActionV2(ctx *Context, name string, id IDInput, state *DmsSmartConnectTaskActionV2State, opts ...ResourceOption) (*DmsSmartConnectTaskActionV2, error)
    public static DmsSmartConnectTaskActionV2 Get(string name, Input<string> id, DmsSmartConnectTaskActionV2State? state, CustomResourceOptions? opts = null)
    public static DmsSmartConnectTaskActionV2 get(String name, Output<String> id, DmsSmartConnectTaskActionV2State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:DmsSmartConnectTaskActionV2    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:

    Supporting Types

    DmsSmartConnectTaskActionV2Timeouts, DmsSmartConnectTaskActionV2TimeoutsArgs

    Create string
    Create string
    create String
    create string
    create str
    create String

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud