tencentcloud.PtsJob
Explore with Pulumi AI
Provides a resource to create a pts job
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const job = new tencentcloud.PtsJob("job", {
jobOwner: "username",
note: "desc",
projectId: "project-45vw7v82",
scenarioId: "scenario-22q19f3k",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
job = tencentcloud.PtsJob("job",
job_owner="username",
note="desc",
project_id="project-45vw7v82",
scenario_id="scenario-22q19f3k")
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.NewPtsJob(ctx, "job", &tencentcloud.PtsJobArgs{
JobOwner: pulumi.String("username"),
Note: pulumi.String("desc"),
ProjectId: pulumi.String("project-45vw7v82"),
ScenarioId: pulumi.String("scenario-22q19f3k"),
})
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 job = new Tencentcloud.PtsJob("job", new()
{
JobOwner = "username",
Note = "desc",
ProjectId = "project-45vw7v82",
ScenarioId = "scenario-22q19f3k",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.PtsJob;
import com.pulumi.tencentcloud.PtsJobArgs;
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 job = new PtsJob("job", PtsJobArgs.builder()
.jobOwner("username")
.note("desc")
.projectId("project-45vw7v82")
.scenarioId("scenario-22q19f3k")
.build());
}
}
resources:
job:
type: tencentcloud:PtsJob
properties:
jobOwner: username
# debug = ""
note: desc
projectId: project-45vw7v82
scenarioId: scenario-22q19f3k
Create PtsJob Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PtsJob(name: string, args: PtsJobArgs, opts?: CustomResourceOptions);
@overload
def PtsJob(resource_name: str,
args: PtsJobArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PtsJob(resource_name: str,
opts: Optional[ResourceOptions] = None,
job_owner: Optional[str] = None,
project_id: Optional[str] = None,
scenario_id: Optional[str] = None,
debug: Optional[bool] = None,
note: Optional[str] = None,
pts_job_id: Optional[str] = None)
func NewPtsJob(ctx *Context, name string, args PtsJobArgs, opts ...ResourceOption) (*PtsJob, error)
public PtsJob(string name, PtsJobArgs args, CustomResourceOptions? opts = null)
public PtsJob(String name, PtsJobArgs args)
public PtsJob(String name, PtsJobArgs args, CustomResourceOptions options)
type: tencentcloud:PtsJob
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. PtsJobArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. PtsJobArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. PtsJobArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. PtsJobArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. PtsJobArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
PtsJob 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 PtsJob resource accepts the following input properties:
- job_
owner This property is required. str - Job owner.
- project_
id This property is required. str - Project ID.
- scenario_
id This property is required. str - Pts scenario id.
- debug bool
- Whether to debug.
- note str
- Note.
- pts_
job_ strid - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the PtsJob resource produces the following output properties:
- Abort
Reason double - Cause of interruption.
- Created
At string - Creation time of the job.
- Cron
Id string - Scheduled job ID.
- Datasets
List<Pts
Job Dataset> - Dataset file for the job.
- Domain
Name List<PtsConfigs Job Domain Name Config> - Domain name binding configuration.
- Duration double
- Job duration.
- End
Time string - End time of the job.
- Error
Rate double - Percentage of error rate.
- Id string
- The provider-assigned unique ID for this managed resource.
- Job
Id string - Job Id.
- Loads
List<Pts
Job Load> - Pressure configuration of job.
- Max
Requests doublePer Second - Maximum requests per second.
- Max
Virtual doubleUser Count - Maximum number of VU for the job.
- Plugins
List<Pts
Job Plugin> - Expansion package file information.
- Protocols
List<Pts
Job Protocol> - Protocol script information.
- Request
Files List<PtsJob Request File> - Request file information.
- Request
Total double - Total number of requests.
- Requests
Per doubleSecond - Average number of requests per second.
- Response
Time doubleAverage - Average response time.
- Response
Time doubleMax - Maximum response time.
- Response
Time doubleMin - Minimum response time.
- Response
Time doubleP90 - 90th percentile response time.
- Response
Time doubleP95 - 95th percentile response time.
- Response
Time doubleP99 - 99th percentile response time.
- Start
Time string - Start time of the job.
- Status double
- The running status of the task;
0
: JobUnknown,1
: JobCreated,2
: JobPending,3
: JobPreparing,4
: JobSelectClustering,5
: JobCreateTasking,6
: JobSyncTasking,11
: JobRunning,12
: JobFinished,13
: JobPrepareException,14
: JobFinishException,15
: JobAborting,16
: JobAborted,17
: JobAbortException,18
: JobDeleted,19
: JobSelectClusterException,20
: JobCreateTaskException,21
: JobSyncTaskException. - Test
Scripts List<PtsJob Test Script> - Test script information.
- Type string
- Scene Type.
- Abort
Reason float64 - Cause of interruption.
- Created
At string - Creation time of the job.
- Cron
Id string - Scheduled job ID.
- Datasets
[]Pts
Job Dataset - Dataset file for the job.
- Domain
Name []PtsConfigs Job Domain Name Config - Domain name binding configuration.
- Duration float64
- Job duration.
- End
Time string - End time of the job.
- Error
Rate float64 - Percentage of error rate.
- Id string
- The provider-assigned unique ID for this managed resource.
- Job
Id string - Job Id.
- Loads
[]Pts
Job Load - Pressure configuration of job.
- Max
Requests float64Per Second - Maximum requests per second.
- Max
Virtual float64User Count - Maximum number of VU for the job.
- Plugins
[]Pts
Job Plugin - Expansion package file information.
- Protocols
[]Pts
Job Protocol - Protocol script information.
- Request
Files []PtsJob Request File - Request file information.
- Request
Total float64 - Total number of requests.
- Requests
Per float64Second - Average number of requests per second.
- Response
Time float64Average - Average response time.
- Response
Time float64Max - Maximum response time.
- Response
Time float64Min - Minimum response time.
- Response
Time float64P90 - 90th percentile response time.
- Response
Time float64P95 - 95th percentile response time.
- Response
Time float64P99 - 99th percentile response time.
- Start
Time string - Start time of the job.
- Status float64
- The running status of the task;
0
: JobUnknown,1
: JobCreated,2
: JobPending,3
: JobPreparing,4
: JobSelectClustering,5
: JobCreateTasking,6
: JobSyncTasking,11
: JobRunning,12
: JobFinished,13
: JobPrepareException,14
: JobFinishException,15
: JobAborting,16
: JobAborted,17
: JobAbortException,18
: JobDeleted,19
: JobSelectClusterException,20
: JobCreateTaskException,21
: JobSyncTaskException. - Test
Scripts []PtsJob Test Script - Test script information.
- Type string
- Scene Type.
- abort
Reason Double - Cause of interruption.
- created
At String - Creation time of the job.
- cron
Id String - Scheduled job ID.
- datasets
List<Pts
Job Dataset> - Dataset file for the job.
- domain
Name List<PtsConfigs Job Domain Name Config> - Domain name binding configuration.
- duration Double
- Job duration.
- end
Time String - End time of the job.
- error
Rate Double - Percentage of error rate.
- id String
- The provider-assigned unique ID for this managed resource.
- job
Id String - Job Id.
- loads
List<Pts
Job Load> - Pressure configuration of job.
- max
Requests DoublePer Second - Maximum requests per second.
- max
Virtual DoubleUser Count - Maximum number of VU for the job.
- plugins
List<Pts
Job Plugin> - Expansion package file information.
- protocols
List<Pts
Job Protocol> - Protocol script information.
- request
Files List<PtsJob Request File> - Request file information.
- request
Total Double - Total number of requests.
- requests
Per DoubleSecond - Average number of requests per second.
- response
Time DoubleAverage - Average response time.
- response
Time DoubleMax - Maximum response time.
- response
Time DoubleMin - Minimum response time.
- response
Time DoubleP90 - 90th percentile response time.
- response
Time DoubleP95 - 95th percentile response time.
- response
Time DoubleP99 - 99th percentile response time.
- start
Time String - Start time of the job.
- status Double
- The running status of the task;
0
: JobUnknown,1
: JobCreated,2
: JobPending,3
: JobPreparing,4
: JobSelectClustering,5
: JobCreateTasking,6
: JobSyncTasking,11
: JobRunning,12
: JobFinished,13
: JobPrepareException,14
: JobFinishException,15
: JobAborting,16
: JobAborted,17
: JobAbortException,18
: JobDeleted,19
: JobSelectClusterException,20
: JobCreateTaskException,21
: JobSyncTaskException. - test
Scripts List<PtsJob Test Script> - Test script information.
- type String
- Scene Type.
- abort
Reason number - Cause of interruption.
- created
At string - Creation time of the job.
- cron
Id string - Scheduled job ID.
- datasets
Pts
Job Dataset[] - Dataset file for the job.
- domain
Name PtsConfigs Job Domain Name Config[] - Domain name binding configuration.
- duration number
- Job duration.
- end
Time string - End time of the job.
- error
Rate number - Percentage of error rate.
- id string
- The provider-assigned unique ID for this managed resource.
- job
Id string - Job Id.
- loads
Pts
Job Load[] - Pressure configuration of job.
- max
Requests numberPer Second - Maximum requests per second.
- max
Virtual numberUser Count - Maximum number of VU for the job.
- plugins
Pts
Job Plugin[] - Expansion package file information.
- protocols
Pts
Job Protocol[] - Protocol script information.
- request
Files PtsJob Request File[] - Request file information.
- request
Total number - Total number of requests.
- requests
Per numberSecond - Average number of requests per second.
- response
Time numberAverage - Average response time.
- response
Time numberMax - Maximum response time.
- response
Time numberMin - Minimum response time.
- response
Time numberP90 - 90th percentile response time.
- response
Time numberP95 - 95th percentile response time.
- response
Time numberP99 - 99th percentile response time.
- start
Time string - Start time of the job.
- status number
- The running status of the task;
0
: JobUnknown,1
: JobCreated,2
: JobPending,3
: JobPreparing,4
: JobSelectClustering,5
: JobCreateTasking,6
: JobSyncTasking,11
: JobRunning,12
: JobFinished,13
: JobPrepareException,14
: JobFinishException,15
: JobAborting,16
: JobAborted,17
: JobAbortException,18
: JobDeleted,19
: JobSelectClusterException,20
: JobCreateTaskException,21
: JobSyncTaskException. - test
Scripts PtsJob Test Script[] - Test script information.
- type string
- Scene Type.
- abort_
reason float - Cause of interruption.
- created_
at str - Creation time of the job.
- cron_
id str - Scheduled job ID.
- datasets
Sequence[Pts
Job Dataset] - Dataset file for the job.
- domain_
name_ Sequence[Ptsconfigs Job Domain Name Config] - Domain name binding configuration.
- duration float
- Job duration.
- end_
time str - End time of the job.
- error_
rate float - Percentage of error rate.
- id str
- The provider-assigned unique ID for this managed resource.
- job_
id str - Job Id.
- loads
Sequence[Pts
Job Load] - Pressure configuration of job.
- max_
requests_ floatper_ second - Maximum requests per second.
- max_
virtual_ floatuser_ count - Maximum number of VU for the job.
- plugins
Sequence[Pts
Job Plugin] - Expansion package file information.
- protocols
Sequence[Pts
Job Protocol] - Protocol script information.
- request_
files Sequence[PtsJob Request File] - Request file information.
- request_
total float - Total number of requests.
- requests_
per_ floatsecond - Average number of requests per second.
- response_
time_ floataverage - Average response time.
- response_
time_ floatmax - Maximum response time.
- response_
time_ floatmin - Minimum response time.
- response_
time_ floatp90 - 90th percentile response time.
- response_
time_ floatp95 - 95th percentile response time.
- response_
time_ floatp99 - 99th percentile response time.
- start_
time str - Start time of the job.
- status float
- The running status of the task;
0
: JobUnknown,1
: JobCreated,2
: JobPending,3
: JobPreparing,4
: JobSelectClustering,5
: JobCreateTasking,6
: JobSyncTasking,11
: JobRunning,12
: JobFinished,13
: JobPrepareException,14
: JobFinishException,15
: JobAborting,16
: JobAborted,17
: JobAbortException,18
: JobDeleted,19
: JobSelectClusterException,20
: JobCreateTaskException,21
: JobSyncTaskException. - test_
scripts Sequence[PtsJob Test Script] - Test script information.
- type str
- Scene Type.
- abort
Reason Number - Cause of interruption.
- created
At String - Creation time of the job.
- cron
Id String - Scheduled job ID.
- datasets List<Property Map>
- Dataset file for the job.
- domain
Name List<Property Map>Configs - Domain name binding configuration.
- duration Number
- Job duration.
- end
Time String - End time of the job.
- error
Rate Number - Percentage of error rate.
- id String
- The provider-assigned unique ID for this managed resource.
- job
Id String - Job Id.
- loads List<Property Map>
- Pressure configuration of job.
- max
Requests NumberPer Second - Maximum requests per second.
- max
Virtual NumberUser Count - Maximum number of VU for the job.
- plugins List<Property Map>
- Expansion package file information.
- protocols List<Property Map>
- Protocol script information.
- request
Files List<Property Map> - Request file information.
- request
Total Number - Total number of requests.
- requests
Per NumberSecond - Average number of requests per second.
- response
Time NumberAverage - Average response time.
- response
Time NumberMax - Maximum response time.
- response
Time NumberMin - Minimum response time.
- response
Time NumberP90 - 90th percentile response time.
- response
Time NumberP95 - 95th percentile response time.
- response
Time NumberP99 - 99th percentile response time.
- start
Time String - Start time of the job.
- status Number
- The running status of the task;
0
: JobUnknown,1
: JobCreated,2
: JobPending,3
: JobPreparing,4
: JobSelectClustering,5
: JobCreateTasking,6
: JobSyncTasking,11
: JobRunning,12
: JobFinished,13
: JobPrepareException,14
: JobFinishException,15
: JobAborting,16
: JobAborted,17
: JobAbortException,18
: JobDeleted,19
: JobSelectClusterException,20
: JobCreateTaskException,21
: JobSyncTaskException. - test
Scripts List<Property Map> - Test script information.
- type String
- Scene Type.
Look up Existing PtsJob Resource
Get an existing PtsJob 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?: PtsJobState, opts?: CustomResourceOptions): PtsJob
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
abort_reason: Optional[float] = None,
created_at: Optional[str] = None,
cron_id: Optional[str] = None,
datasets: Optional[Sequence[PtsJobDatasetArgs]] = None,
debug: Optional[bool] = None,
domain_name_configs: Optional[Sequence[PtsJobDomainNameConfigArgs]] = None,
duration: Optional[float] = None,
end_time: Optional[str] = None,
error_rate: Optional[float] = None,
job_id: Optional[str] = None,
job_owner: Optional[str] = None,
loads: Optional[Sequence[PtsJobLoadArgs]] = None,
max_requests_per_second: Optional[float] = None,
max_virtual_user_count: Optional[float] = None,
note: Optional[str] = None,
plugins: Optional[Sequence[PtsJobPluginArgs]] = None,
project_id: Optional[str] = None,
protocols: Optional[Sequence[PtsJobProtocolArgs]] = None,
pts_job_id: Optional[str] = None,
request_files: Optional[Sequence[PtsJobRequestFileArgs]] = None,
request_total: Optional[float] = None,
requests_per_second: Optional[float] = None,
response_time_average: Optional[float] = None,
response_time_max: Optional[float] = None,
response_time_min: Optional[float] = None,
response_time_p90: Optional[float] = None,
response_time_p95: Optional[float] = None,
response_time_p99: Optional[float] = None,
scenario_id: Optional[str] = None,
start_time: Optional[str] = None,
status: Optional[float] = None,
test_scripts: Optional[Sequence[PtsJobTestScriptArgs]] = None,
type: Optional[str] = None) -> PtsJob
func GetPtsJob(ctx *Context, name string, id IDInput, state *PtsJobState, opts ...ResourceOption) (*PtsJob, error)
public static PtsJob Get(string name, Input<string> id, PtsJobState? state, CustomResourceOptions? opts = null)
public static PtsJob get(String name, Output<String> id, PtsJobState state, CustomResourceOptions options)
resources: _: type: tencentcloud:PtsJob get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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.
- Abort
Reason double - Cause of interruption.
- Created
At string - Creation time of the job.
- Cron
Id string - Scheduled job ID.
- Datasets
List<Pts
Job Dataset> - Dataset file for the job.
- Debug bool
- Whether to debug.
- Domain
Name List<PtsConfigs Job Domain Name Config> - Domain name binding configuration.
- Duration double
- Job duration.
- End
Time string - End time of the job.
- Error
Rate double - Percentage of error rate.
- Job
Id string - Job Id.
- Job
Owner string - Job owner.
- Loads
List<Pts
Job Load> - Pressure configuration of job.
- Max
Requests doublePer Second - Maximum requests per second.
- Max
Virtual doubleUser Count - Maximum number of VU for the job.
- Note string
- Note.
- Plugins
List<Pts
Job Plugin> - Expansion package file information.
- Project
Id string - Project ID.
- Protocols
List<Pts
Job Protocol> - Protocol script information.
- Pts
Job stringId - ID of the resource.
- Request
Files List<PtsJob Request File> - Request file information.
- Request
Total double - Total number of requests.
- Requests
Per doubleSecond - Average number of requests per second.
- Response
Time doubleAverage - Average response time.
- Response
Time doubleMax - Maximum response time.
- Response
Time doubleMin - Minimum response time.
- Response
Time doubleP90 - 90th percentile response time.
- Response
Time doubleP95 - 95th percentile response time.
- Response
Time doubleP99 - 99th percentile response time.
- Scenario
Id string - Pts scenario id.
- Start
Time string - Start time of the job.
- Status double
- The running status of the task;
0
: JobUnknown,1
: JobCreated,2
: JobPending,3
: JobPreparing,4
: JobSelectClustering,5
: JobCreateTasking,6
: JobSyncTasking,11
: JobRunning,12
: JobFinished,13
: JobPrepareException,14
: JobFinishException,15
: JobAborting,16
: JobAborted,17
: JobAbortException,18
: JobDeleted,19
: JobSelectClusterException,20
: JobCreateTaskException,21
: JobSyncTaskException. - Test
Scripts List<PtsJob Test Script> - Test script information.
- Type string
- Scene Type.
- Abort
Reason float64 - Cause of interruption.
- Created
At string - Creation time of the job.
- Cron
Id string - Scheduled job ID.
- Datasets
[]Pts
Job Dataset Args - Dataset file for the job.
- Debug bool
- Whether to debug.
- Domain
Name []PtsConfigs Job Domain Name Config Args - Domain name binding configuration.
- Duration float64
- Job duration.
- End
Time string - End time of the job.
- Error
Rate float64 - Percentage of error rate.
- Job
Id string - Job Id.
- Job
Owner string - Job owner.
- Loads
[]Pts
Job Load Args - Pressure configuration of job.
- Max
Requests float64Per Second - Maximum requests per second.
- Max
Virtual float64User Count - Maximum number of VU for the job.
- Note string
- Note.
- Plugins
[]Pts
Job Plugin Args - Expansion package file information.
- Project
Id string - Project ID.
- Protocols
[]Pts
Job Protocol Args - Protocol script information.
- Pts
Job stringId - ID of the resource.
- Request
Files []PtsJob Request File Args - Request file information.
- Request
Total float64 - Total number of requests.
- Requests
Per float64Second - Average number of requests per second.
- Response
Time float64Average - Average response time.
- Response
Time float64Max - Maximum response time.
- Response
Time float64Min - Minimum response time.
- Response
Time float64P90 - 90th percentile response time.
- Response
Time float64P95 - 95th percentile response time.
- Response
Time float64P99 - 99th percentile response time.
- Scenario
Id string - Pts scenario id.
- Start
Time string - Start time of the job.
- Status float64
- The running status of the task;
0
: JobUnknown,1
: JobCreated,2
: JobPending,3
: JobPreparing,4
: JobSelectClustering,5
: JobCreateTasking,6
: JobSyncTasking,11
: JobRunning,12
: JobFinished,13
: JobPrepareException,14
: JobFinishException,15
: JobAborting,16
: JobAborted,17
: JobAbortException,18
: JobDeleted,19
: JobSelectClusterException,20
: JobCreateTaskException,21
: JobSyncTaskException. - Test
Scripts []PtsJob Test Script Args - Test script information.
- Type string
- Scene Type.
- abort
Reason Double - Cause of interruption.
- created
At String - Creation time of the job.
- cron
Id String - Scheduled job ID.
- datasets
List<Pts
Job Dataset> - Dataset file for the job.
- debug Boolean
- Whether to debug.
- domain
Name List<PtsConfigs Job Domain Name Config> - Domain name binding configuration.
- duration Double
- Job duration.
- end
Time String - End time of the job.
- error
Rate Double - Percentage of error rate.
- job
Id String - Job Id.
- job
Owner String - Job owner.
- loads
List<Pts
Job Load> - Pressure configuration of job.
- max
Requests DoublePer Second - Maximum requests per second.
- max
Virtual DoubleUser Count - Maximum number of VU for the job.
- note String
- Note.
- plugins
List<Pts
Job Plugin> - Expansion package file information.
- project
Id String - Project ID.
- protocols
List<Pts
Job Protocol> - Protocol script information.
- pts
Job StringId - ID of the resource.
- request
Files List<PtsJob Request File> - Request file information.
- request
Total Double - Total number of requests.
- requests
Per DoubleSecond - Average number of requests per second.
- response
Time DoubleAverage - Average response time.
- response
Time DoubleMax - Maximum response time.
- response
Time DoubleMin - Minimum response time.
- response
Time DoubleP90 - 90th percentile response time.
- response
Time DoubleP95 - 95th percentile response time.
- response
Time DoubleP99 - 99th percentile response time.
- scenario
Id String - Pts scenario id.
- start
Time String - Start time of the job.
- status Double
- The running status of the task;
0
: JobUnknown,1
: JobCreated,2
: JobPending,3
: JobPreparing,4
: JobSelectClustering,5
: JobCreateTasking,6
: JobSyncTasking,11
: JobRunning,12
: JobFinished,13
: JobPrepareException,14
: JobFinishException,15
: JobAborting,16
: JobAborted,17
: JobAbortException,18
: JobDeleted,19
: JobSelectClusterException,20
: JobCreateTaskException,21
: JobSyncTaskException. - test
Scripts List<PtsJob Test Script> - Test script information.
- type String
- Scene Type.
- abort
Reason number - Cause of interruption.
- created
At string - Creation time of the job.
- cron
Id string - Scheduled job ID.
- datasets
Pts
Job Dataset[] - Dataset file for the job.
- debug boolean
- Whether to debug.
- domain
Name PtsConfigs Job Domain Name Config[] - Domain name binding configuration.
- duration number
- Job duration.
- end
Time string - End time of the job.
- error
Rate number - Percentage of error rate.
- job
Id string - Job Id.
- job
Owner string - Job owner.
- loads
Pts
Job Load[] - Pressure configuration of job.
- max
Requests numberPer Second - Maximum requests per second.
- max
Virtual numberUser Count - Maximum number of VU for the job.
- note string
- Note.
- plugins
Pts
Job Plugin[] - Expansion package file information.
- project
Id string - Project ID.
- protocols
Pts
Job Protocol[] - Protocol script information.
- pts
Job stringId - ID of the resource.
- request
Files PtsJob Request File[] - Request file information.
- request
Total number - Total number of requests.
- requests
Per numberSecond - Average number of requests per second.
- response
Time numberAverage - Average response time.
- response
Time numberMax - Maximum response time.
- response
Time numberMin - Minimum response time.
- response
Time numberP90 - 90th percentile response time.
- response
Time numberP95 - 95th percentile response time.
- response
Time numberP99 - 99th percentile response time.
- scenario
Id string - Pts scenario id.
- start
Time string - Start time of the job.
- status number
- The running status of the task;
0
: JobUnknown,1
: JobCreated,2
: JobPending,3
: JobPreparing,4
: JobSelectClustering,5
: JobCreateTasking,6
: JobSyncTasking,11
: JobRunning,12
: JobFinished,13
: JobPrepareException,14
: JobFinishException,15
: JobAborting,16
: JobAborted,17
: JobAbortException,18
: JobDeleted,19
: JobSelectClusterException,20
: JobCreateTaskException,21
: JobSyncTaskException. - test
Scripts PtsJob Test Script[] - Test script information.
- type string
- Scene Type.
- abort_
reason float - Cause of interruption.
- created_
at str - Creation time of the job.
- cron_
id str - Scheduled job ID.
- datasets
Sequence[Pts
Job Dataset Args] - Dataset file for the job.
- debug bool
- Whether to debug.
- domain_
name_ Sequence[Ptsconfigs Job Domain Name Config Args] - Domain name binding configuration.
- duration float
- Job duration.
- end_
time str - End time of the job.
- error_
rate float - Percentage of error rate.
- job_
id str - Job Id.
- job_
owner str - Job owner.
- loads
Sequence[Pts
Job Load Args] - Pressure configuration of job.
- max_
requests_ floatper_ second - Maximum requests per second.
- max_
virtual_ floatuser_ count - Maximum number of VU for the job.
- note str
- Note.
- plugins
Sequence[Pts
Job Plugin Args] - Expansion package file information.
- project_
id str - Project ID.
- protocols
Sequence[Pts
Job Protocol Args] - Protocol script information.
- pts_
job_ strid - ID of the resource.
- request_
files Sequence[PtsJob Request File Args] - Request file information.
- request_
total float - Total number of requests.
- requests_
per_ floatsecond - Average number of requests per second.
- response_
time_ floataverage - Average response time.
- response_
time_ floatmax - Maximum response time.
- response_
time_ floatmin - Minimum response time.
- response_
time_ floatp90 - 90th percentile response time.
- response_
time_ floatp95 - 95th percentile response time.
- response_
time_ floatp99 - 99th percentile response time.
- scenario_
id str - Pts scenario id.
- start_
time str - Start time of the job.
- status float
- The running status of the task;
0
: JobUnknown,1
: JobCreated,2
: JobPending,3
: JobPreparing,4
: JobSelectClustering,5
: JobCreateTasking,6
: JobSyncTasking,11
: JobRunning,12
: JobFinished,13
: JobPrepareException,14
: JobFinishException,15
: JobAborting,16
: JobAborted,17
: JobAbortException,18
: JobDeleted,19
: JobSelectClusterException,20
: JobCreateTaskException,21
: JobSyncTaskException. - test_
scripts Sequence[PtsJob Test Script Args] - Test script information.
- type str
- Scene Type.
- abort
Reason Number - Cause of interruption.
- created
At String - Creation time of the job.
- cron
Id String - Scheduled job ID.
- datasets List<Property Map>
- Dataset file for the job.
- debug Boolean
- Whether to debug.
- domain
Name List<Property Map>Configs - Domain name binding configuration.
- duration Number
- Job duration.
- end
Time String - End time of the job.
- error
Rate Number - Percentage of error rate.
- job
Id String - Job Id.
- job
Owner String - Job owner.
- loads List<Property Map>
- Pressure configuration of job.
- max
Requests NumberPer Second - Maximum requests per second.
- max
Virtual NumberUser Count - Maximum number of VU for the job.
- note String
- Note.
- plugins List<Property Map>
- Expansion package file information.
- project
Id String - Project ID.
- protocols List<Property Map>
- Protocol script information.
- pts
Job StringId - ID of the resource.
- request
Files List<Property Map> - Request file information.
- request
Total Number - Total number of requests.
- requests
Per NumberSecond - Average number of requests per second.
- response
Time NumberAverage - Average response time.
- response
Time NumberMax - Maximum response time.
- response
Time NumberMin - Minimum response time.
- response
Time NumberP90 - 90th percentile response time.
- response
Time NumberP95 - 95th percentile response time.
- response
Time NumberP99 - 99th percentile response time.
- scenario
Id String - Pts scenario id.
- start
Time String - Start time of the job.
- status Number
- The running status of the task;
0
: JobUnknown,1
: JobCreated,2
: JobPending,3
: JobPreparing,4
: JobSelectClustering,5
: JobCreateTasking,6
: JobSyncTasking,11
: JobRunning,12
: JobFinished,13
: JobPrepareException,14
: JobFinishException,15
: JobAborting,16
: JobAborted,17
: JobAbortException,18
: JobDeleted,19
: JobSelectClusterException,20
: JobCreateTaskException,21
: JobSyncTaskException. - test
Scripts List<Property Map> - Test script information.
- type String
- Scene Type.
Supporting Types
PtsJobDataset, PtsJobDatasetArgs
- File
Id This property is required. string - Head
Lines This property is required. List<string> - Header
Columns This property is required. List<string> - Header
In File This property is required. bool - Line
Count This property is required. double - Name
This property is required. string - Size
This property is required. double - Split
This property is required. bool - Tail
Lines This property is required. List<string> - Type
This property is required. string - Scene Type.
- Updated
At This property is required. string
- File
Id This property is required. string - Head
Lines This property is required. []string - Header
Columns This property is required. []string - Header
In File This property is required. bool - Line
Count This property is required. float64 - Name
This property is required. string - Size
This property is required. float64 - Split
This property is required. bool - Tail
Lines This property is required. []string - Type
This property is required. string - Scene Type.
- Updated
At This property is required. string
- file
Id This property is required. String - head
Lines This property is required. List<String> - header
Columns This property is required. List<String> - header
In File This property is required. Boolean - line
Count This property is required. Double - name
This property is required. String - size
This property is required. Double - split
This property is required. Boolean - tail
Lines This property is required. List<String> - type
This property is required. String - Scene Type.
- updated
At This property is required. String
- file
Id This property is required. string - head
Lines This property is required. string[] - header
Columns This property is required. string[] - header
In File This property is required. boolean - line
Count This property is required. number - name
This property is required. string - size
This property is required. number - split
This property is required. boolean - tail
Lines This property is required. string[] - type
This property is required. string - Scene Type.
- updated
At This property is required. string
- file_
id This property is required. str - head_
lines This property is required. Sequence[str] - header_
columns This property is required. Sequence[str] - header_
in_ file This property is required. bool - line_
count This property is required. float - name
This property is required. str - size
This property is required. float - split
This property is required. bool - tail_
lines This property is required. Sequence[str] - type
This property is required. str - Scene Type.
- updated_
at This property is required. str
- file
Id This property is required. String - head
Lines This property is required. List<String> - header
Columns This property is required. List<String> - header
In File This property is required. Boolean - line
Count This property is required. Number - name
This property is required. String - size
This property is required. Number - split
This property is required. Boolean - tail
Lines This property is required. List<String> - type
This property is required. String - Scene Type.
- updated
At This property is required. String
PtsJobDomainNameConfig, PtsJobDomainNameConfigArgs
- Dns
Configs This property is required. List<PtsJob Domain Name Config Dns Config> - Host
Aliases This property is required. List<PtsJob Domain Name Config Host Alias>
- Dns
Configs This property is required. []PtsJob Domain Name Config Dns Config - Host
Aliases This property is required. []PtsJob Domain Name Config Host Alias
- dns
Configs This property is required. List<PtsJob Domain Name Config Dns Config> - host
Aliases This property is required. List<PtsJob Domain Name Config Host Alias>
- dns
Configs This property is required. PtsJob Domain Name Config Dns Config[] - host
Aliases This property is required. PtsJob Domain Name Config Host Alias[]
- dns_
configs This property is required. Sequence[PtsJob Domain Name Config Dns Config] - host_
aliases This property is required. Sequence[PtsJob Domain Name Config Host Alias]
- dns
Configs This property is required. List<Property Map> - host
Aliases This property is required. List<Property Map>
PtsJobDomainNameConfigDnsConfig, PtsJobDomainNameConfigDnsConfigArgs
- Nameservers
This property is required. List<string>
- Nameservers
This property is required. []string
- nameservers
This property is required. List<String>
- nameservers
This property is required. string[]
- nameservers
This property is required. Sequence[str]
- nameservers
This property is required. List<String>
PtsJobDomainNameConfigHostAlias, PtsJobDomainNameConfigHostAliasArgs
- host_
names This property is required. Sequence[str] - ip
This property is required. str
PtsJobLoad, PtsJobLoadArgs
- Geo
Regions Load Distributions This property is required. List<PtsJob Load Geo Regions Load Distribution> - Load
Specs This property is required. List<PtsJob Load Load Spec> - Vpc
Load Distributions This property is required. List<PtsJob Load Vpc Load Distribution>
- Geo
Regions Load Distributions This property is required. []PtsJob Load Geo Regions Load Distribution - Load
Specs This property is required. []PtsJob Load Load Spec - Vpc
Load Distributions This property is required. []PtsJob Load Vpc Load Distribution
- geo
Regions Load Distributions This property is required. List<PtsJob Load Geo Regions Load Distribution> - load
Specs This property is required. List<PtsJob Load Load Spec> - vpc
Load Distributions This property is required. List<PtsJob Load Vpc Load Distribution>
- geo
Regions Load Distributions This property is required. PtsJob Load Geo Regions Load Distribution[] - load
Specs This property is required. PtsJob Load Load Spec[] - vpc
Load Distributions This property is required. PtsJob Load Vpc Load Distribution[]
- geo_
regions_ load_ distributions This property is required. Sequence[PtsJob Load Geo Regions Load Distribution] - load_
specs This property is required. Sequence[PtsJob Load Load Spec] - vpc_
load_ distributions This property is required. Sequence[PtsJob Load Vpc Load Distribution]
- geo
Regions Load Distributions This property is required. List<Property Map> - load
Specs This property is required. List<Property Map> - vpc
Load Distributions This property is required. List<Property Map>
PtsJobLoadGeoRegionsLoadDistribution, PtsJobLoadGeoRegionsLoadDistributionArgs
- Percentage
This property is required. double - Region
This property is required. string - Region
Id This property is required. double
- Percentage
This property is required. float64 - Region
This property is required. string - Region
Id This property is required. float64
- percentage
This property is required. Double - region
This property is required. String - region
Id This property is required. Double
- percentage
This property is required. number - region
This property is required. string - region
Id This property is required. number
- percentage
This property is required. float - region
This property is required. str - region_
id This property is required. float
- percentage
This property is required. Number - region
This property is required. String - region
Id This property is required. Number
PtsJobLoadLoadSpec, PtsJobLoadLoadSpecArgs
- Concurrencies
This property is required. List<PtsJob Load Load Spec Concurrency> - Requests
Per Seconds This property is required. List<PtsJob Load Load Spec Requests Per Second> - Average number of requests per second.
- Script
Origins This property is required. List<PtsJob Load Load Spec Script Origin>
- Concurrencies
This property is required. []PtsJob Load Load Spec Concurrency - Requests
Per Seconds This property is required. []PtsJob Load Load Spec Requests Per Second - Average number of requests per second.
- Script
Origins This property is required. []PtsJob Load Load Spec Script Origin
- concurrencies
This property is required. List<PtsJob Load Load Spec Concurrency> - requests
Per Seconds This property is required. List<PtsJob Load Load Spec Requests Per Second> - Average number of requests per second.
- script
Origins This property is required. List<PtsJob Load Load Spec Script Origin>
- concurrencies
This property is required. PtsJob Load Load Spec Concurrency[] - requests
Per Seconds This property is required. PtsJob Load Load Spec Requests Per Second[] - Average number of requests per second.
- script
Origins This property is required. PtsJob Load Load Spec Script Origin[]
- concurrencies
This property is required. Sequence[PtsJob Load Load Spec Concurrency] - requests_
per_ seconds This property is required. Sequence[PtsJob Load Load Spec Requests Per Second] - Average number of requests per second.
- script_
origins This property is required. Sequence[PtsJob Load Load Spec Script Origin]
- concurrencies
This property is required. List<Property Map> - requests
Per Seconds This property is required. List<Property Map> - Average number of requests per second.
- script
Origins This property is required. List<Property Map>
PtsJobLoadLoadSpecConcurrency, PtsJobLoadLoadSpecConcurrencyArgs
- Graceful
Stop Seconds This property is required. double - Iteration
Count This property is required. double - Max
Requests Per Second This property is required. double - Maximum requests per second.
- Stages
This property is required. List<PtsJob Load Load Spec Concurrency Stage>
- Graceful
Stop Seconds This property is required. float64 - Iteration
Count This property is required. float64 - Max
Requests Per Second This property is required. float64 - Maximum requests per second.
- Stages
This property is required. []PtsJob Load Load Spec Concurrency Stage
- graceful
Stop Seconds This property is required. Double - iteration
Count This property is required. Double - max
Requests Per Second This property is required. Double - Maximum requests per second.
- stages
This property is required. List<PtsJob Load Load Spec Concurrency Stage>
- graceful
Stop Seconds This property is required. number - iteration
Count This property is required. number - max
Requests Per Second This property is required. number - Maximum requests per second.
- stages
This property is required. PtsJob Load Load Spec Concurrency Stage[]
- graceful_
stop_ seconds This property is required. float - iteration_
count This property is required. float - max_
requests_ per_ second This property is required. float - Maximum requests per second.
- stages
This property is required. Sequence[PtsJob Load Load Spec Concurrency Stage]
- graceful
Stop Seconds This property is required. Number - iteration
Count This property is required. Number - max
Requests Per Second This property is required. Number - Maximum requests per second.
- stages
This property is required. List<Property Map>
PtsJobLoadLoadSpecConcurrencyStage, PtsJobLoadLoadSpecConcurrencyStageArgs
- Duration
Seconds This property is required. double - Target
Virtual Users This property is required. double
- Duration
Seconds This property is required. float64 - Target
Virtual Users This property is required. float64
- duration
Seconds This property is required. Double - target
Virtual Users This property is required. Double
- duration
Seconds This property is required. number - target
Virtual Users This property is required. number
- duration_
seconds This property is required. float - target_
virtual_ users This property is required. float
- duration
Seconds This property is required. Number - target
Virtual Users This property is required. Number
PtsJobLoadLoadSpecRequestsPerSecond, PtsJobLoadLoadSpecRequestsPerSecondArgs
- Duration
Seconds This property is required. double - Graceful
Stop Seconds This property is required. double - Max
Requests Per Second This property is required. double - Maximum requests per second.
- Resources
This property is required. double - Start
Requests Per Second This property is required. double - Target
Requests Per Second This property is required. double
- Duration
Seconds This property is required. float64 - Graceful
Stop Seconds This property is required. float64 - Max
Requests Per Second This property is required. float64 - Maximum requests per second.
- Resources
This property is required. float64 - Start
Requests Per Second This property is required. float64 - Target
Requests Per Second This property is required. float64
- duration
Seconds This property is required. Double - graceful
Stop Seconds This property is required. Double - max
Requests Per Second This property is required. Double - Maximum requests per second.
- resources
This property is required. Double - start
Requests Per Second This property is required. Double - target
Requests Per Second This property is required. Double
- duration
Seconds This property is required. number - graceful
Stop Seconds This property is required. number - max
Requests Per Second This property is required. number - Maximum requests per second.
- resources
This property is required. number - start
Requests Per Second This property is required. number - target
Requests Per Second This property is required. number
- duration_
seconds This property is required. float - graceful_
stop_ seconds This property is required. float - max_
requests_ per_ second This property is required. float - Maximum requests per second.
- resources
This property is required. float - start_
requests_ per_ second This property is required. float - target_
requests_ per_ second This property is required. float
- duration
Seconds This property is required. Number - graceful
Stop Seconds This property is required. Number - max
Requests Per Second This property is required. Number - Maximum requests per second.
- resources
This property is required. Number - start
Requests Per Second This property is required. Number - target
Requests Per Second This property is required. Number
PtsJobLoadLoadSpecScriptOrigin, PtsJobLoadLoadSpecScriptOriginArgs
- Duration
Seconds This property is required. double - Machine
Number This property is required. double - Machine
Specification This property is required. string
- Duration
Seconds This property is required. float64 - Machine
Number This property is required. float64 - Machine
Specification This property is required. string
- duration
Seconds This property is required. Double - machine
Number This property is required. Double - machine
Specification This property is required. String
- duration
Seconds This property is required. number - machine
Number This property is required. number - machine
Specification This property is required. string
- duration_
seconds This property is required. float - machine_
number This property is required. float - machine_
specification This property is required. str
- duration
Seconds This property is required. Number - machine
Number This property is required. Number - machine
Specification This property is required. String
PtsJobLoadVpcLoadDistribution, PtsJobLoadVpcLoadDistributionArgs
- region
This property is required. str - region_
id This property is required. float - subnet_
ids This property is required. Sequence[str] - vpc_
id This property is required. str
PtsJobPlugin, PtsJobPluginArgs
- file_
id This property is required. str - name
This property is required. str - size
This property is required. float - type
This property is required. str - Scene Type.
- updated_
at This property is required. str
PtsJobProtocol, PtsJobProtocolArgs
- file_
id This property is required. str - name
This property is required. str - size
This property is required. float - type
This property is required. str - Scene Type.
- updated_
at This property is required. str
PtsJobRequestFile, PtsJobRequestFileArgs
- file_
id This property is required. str - name
This property is required. str - size
This property is required. float - type
This property is required. str - Scene Type.
- updated_
at This property is required. str
PtsJobTestScript, PtsJobTestScriptArgs
- Encoded
Content This property is required. string - Encoded
Http Archive This property is required. string - Load
Weight This property is required. double - Name
This property is required. string - Size
This property is required. double - Type
This property is required. string - Scene Type.
- Updated
At This property is required. string
- Encoded
Content This property is required. string - Encoded
Http Archive This property is required. string - Load
Weight This property is required. float64 - Name
This property is required. string - Size
This property is required. float64 - Type
This property is required. string - Scene Type.
- Updated
At This property is required. string
- encoded
Content This property is required. String - encoded
Http Archive This property is required. String - load
Weight This property is required. Double - name
This property is required. String - size
This property is required. Double - type
This property is required. String - Scene Type.
- updated
At This property is required. String
- encoded
Content This property is required. string - encoded
Http Archive This property is required. string - load
Weight This property is required. number - name
This property is required. string - size
This property is required. number - type
This property is required. string - Scene Type.
- updated
At This property is required. string
- encoded_
content This property is required. str - encoded_
http_ archive This property is required. str - load_
weight This property is required. float - name
This property is required. str - size
This property is required. float - type
This property is required. str - Scene Type.
- updated_
at This property is required. str
- encoded
Content This property is required. String - encoded
Http Archive This property is required. String - load
Weight This property is required. Number - name
This property is required. String - size
This property is required. Number - type
This property is required. String - Scene Type.
- updated
At This property is required. String
Import
pts job can be imported using the projectId#scenarioId#jobId, e.g.
$ pulumi import tencentcloud:index/ptsJob:PtsJob job project-45vw7v82#scenario-22q19f3k#job-dtm93vx0
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.