tencentcloud.WedataStopSqlScriptRunOperation
Provides a resource to create a WeData stop sql script run operation
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.WedataStopSqlScriptRunOperation("example", {
jobId: "ac13aceb-7a30-4414-91c0-6504f177462f",
projectId: "2983848457986924544",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.WedataStopSqlScriptRunOperation("example",
job_id="ac13aceb-7a30-4414-91c0-6504f177462f",
project_id="2983848457986924544")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewWedataStopSqlScriptRunOperation(ctx, "example", &tencentcloud.WedataStopSqlScriptRunOperationArgs{
JobId: pulumi.String("ac13aceb-7a30-4414-91c0-6504f177462f"),
ProjectId: pulumi.String("2983848457986924544"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = new Tencentcloud.WedataStopSqlScriptRunOperation("example", new()
{
JobId = "ac13aceb-7a30-4414-91c0-6504f177462f",
ProjectId = "2983848457986924544",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.WedataStopSqlScriptRunOperation;
import com.pulumi.tencentcloud.WedataStopSqlScriptRunOperationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new WedataStopSqlScriptRunOperation("example", WedataStopSqlScriptRunOperationArgs.builder()
.jobId("ac13aceb-7a30-4414-91c0-6504f177462f")
.projectId("2983848457986924544")
.build());
}
}
resources:
example:
type: tencentcloud:WedataStopSqlScriptRunOperation
properties:
jobId: ac13aceb-7a30-4414-91c0-6504f177462f
projectId: '2983848457986924544'
Create WedataStopSqlScriptRunOperation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WedataStopSqlScriptRunOperation(name: string, args: WedataStopSqlScriptRunOperationArgs, opts?: CustomResourceOptions);@overload
def WedataStopSqlScriptRunOperation(resource_name: str,
args: WedataStopSqlScriptRunOperationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WedataStopSqlScriptRunOperation(resource_name: str,
opts: Optional[ResourceOptions] = None,
job_id: Optional[str] = None,
project_id: Optional[str] = None,
wedata_stop_sql_script_run_operation_id: Optional[str] = None)func NewWedataStopSqlScriptRunOperation(ctx *Context, name string, args WedataStopSqlScriptRunOperationArgs, opts ...ResourceOption) (*WedataStopSqlScriptRunOperation, error)public WedataStopSqlScriptRunOperation(string name, WedataStopSqlScriptRunOperationArgs args, CustomResourceOptions? opts = null)
public WedataStopSqlScriptRunOperation(String name, WedataStopSqlScriptRunOperationArgs args)
public WedataStopSqlScriptRunOperation(String name, WedataStopSqlScriptRunOperationArgs args, CustomResourceOptions options)
type: tencentcloud:WedataStopSqlScriptRunOperation
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 WedataStopSqlScriptRunOperationArgs
- 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 WedataStopSqlScriptRunOperationArgs
- 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 WedataStopSqlScriptRunOperationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WedataStopSqlScriptRunOperationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WedataStopSqlScriptRunOperationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
WedataStopSqlScriptRunOperation 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 WedataStopSqlScriptRunOperation resource accepts the following input properties:
- Job
Id string - Specifies the query id.
- Project
Id string - Project ID.
- Wedata
Stop stringSql Script Run Operation Id - ID of the resource.
- Job
Id string - Specifies the query id.
- Project
Id string - Project ID.
- Wedata
Stop stringSql Script Run Operation Id - ID of the resource.
- job
Id String - Specifies the query id.
- project
Id String - Project ID.
- wedata
Stop StringSql Script Run Operation Id - ID of the resource.
- job
Id string - Specifies the query id.
- project
Id string - Project ID.
- wedata
Stop stringSql Script Run Operation Id - ID of the resource.
- job_
id str - Specifies the query id.
- project_
id str - Project ID.
- wedata_
stop_ strsql_ script_ run_ operation_ id - ID of the resource.
- job
Id String - Specifies the query id.
- project
Id String - Project ID.
- wedata
Stop StringSql Script Run Operation Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the WedataStopSqlScriptRunOperation 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 WedataStopSqlScriptRunOperation Resource
Get an existing WedataStopSqlScriptRunOperation 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?: WedataStopSqlScriptRunOperationState, opts?: CustomResourceOptions): WedataStopSqlScriptRunOperation@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
job_id: Optional[str] = None,
project_id: Optional[str] = None,
wedata_stop_sql_script_run_operation_id: Optional[str] = None) -> WedataStopSqlScriptRunOperationfunc GetWedataStopSqlScriptRunOperation(ctx *Context, name string, id IDInput, state *WedataStopSqlScriptRunOperationState, opts ...ResourceOption) (*WedataStopSqlScriptRunOperation, error)public static WedataStopSqlScriptRunOperation Get(string name, Input<string> id, WedataStopSqlScriptRunOperationState? state, CustomResourceOptions? opts = null)public static WedataStopSqlScriptRunOperation get(String name, Output<String> id, WedataStopSqlScriptRunOperationState state, CustomResourceOptions options)resources: _: type: tencentcloud:WedataStopSqlScriptRunOperation 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.
- Job
Id string - Specifies the query id.
- Project
Id string - Project ID.
- Wedata
Stop stringSql Script Run Operation Id - ID of the resource.
- Job
Id string - Specifies the query id.
- Project
Id string - Project ID.
- Wedata
Stop stringSql Script Run Operation Id - ID of the resource.
- job
Id String - Specifies the query id.
- project
Id String - Project ID.
- wedata
Stop StringSql Script Run Operation Id - ID of the resource.
- job
Id string - Specifies the query id.
- project
Id string - Project ID.
- wedata
Stop stringSql Script Run Operation Id - ID of the resource.
- job_
id str - Specifies the query id.
- project_
id str - Project ID.
- wedata_
stop_ strsql_ script_ run_ operation_ id - ID of the resource.
- job
Id String - Specifies the query id.
- project
Id String - Project ID.
- wedata
Stop StringSql Script Run Operation Id - ID of the resource.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
