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 string
- The unique name of the resource.
- args PtsJobArgs
- 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 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 string
- The unique name of the resource.
- args PtsJobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PtsJobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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 str - Job owner.
- project_
id str - Project ID.
- scenario_
id 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
- 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.
- 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 str - head_
lines Sequence[str] - header_
columns Sequence[str] - header_
in_ boolfile - line_
count float - name str
- size float
- split bool
- tail_
lines Sequence[str] - type str
- Scene Type.
- updated_
at str
PtsJobDomainNameConfig, PtsJobDomainNameConfigArgs
PtsJobDomainNameConfigDnsConfig, PtsJobDomainNameConfigDnsConfigArgs
- Nameservers List<string>
- Nameservers []string
- nameservers List<String>
- nameservers string[]
- nameservers Sequence[str]
- nameservers List<String>
PtsJobDomainNameConfigHostAlias, PtsJobDomainNameConfigHostAliasArgs
- host_
names Sequence[str] - ip str
PtsJobLoad, PtsJobLoadArgs
PtsJobLoadGeoRegionsLoadDistribution, PtsJobLoadGeoRegionsLoadDistributionArgs
- Percentage double
- Region string
- Region
Id double
- Percentage float64
- Region string
- Region
Id float64
- percentage Double
- region String
- region
Id Double
- percentage number
- region string
- region
Id number
- percentage float
- region str
- region_
id float
- percentage Number
- region String
- region
Id Number
PtsJobLoadLoadSpec, PtsJobLoadLoadSpecArgs
- Concurrencies
List<Pts
Job Load Load Spec Concurrency> - Requests
Per List<PtsSeconds Job Load Load Spec Requests Per Second> - Average number of requests per second.
- Script
Origins List<PtsJob Load Load Spec Script Origin>
- Concurrencies
[]Pts
Job Load Load Spec Concurrency - Requests
Per []PtsSeconds Job Load Load Spec Requests Per Second - Average number of requests per second.
- Script
Origins []PtsJob Load Load Spec Script Origin
- concurrencies
List<Pts
Job Load Load Spec Concurrency> - requests
Per List<PtsSeconds Job Load Load Spec Requests Per Second> - Average number of requests per second.
- script
Origins List<PtsJob Load Load Spec Script Origin>
- concurrencies
Pts
Job Load Load Spec Concurrency[] - requests
Per PtsSeconds Job Load Load Spec Requests Per Second[] - Average number of requests per second.
- script
Origins PtsJob Load Load Spec Script Origin[]
- concurrencies List<Property Map>
- requests
Per List<Property Map>Seconds - Average number of requests per second.
- script
Origins List<Property Map>
PtsJobLoadLoadSpecConcurrency, PtsJobLoadLoadSpecConcurrencyArgs
- Graceful
Stop doubleSeconds - Iteration
Count double - Max
Requests doublePer Second - Maximum requests per second.
- Stages
List<Pts
Job Load Load Spec Concurrency Stage>
- Graceful
Stop float64Seconds - Iteration
Count float64 - Max
Requests float64Per Second - Maximum requests per second.
- Stages
[]Pts
Job Load Load Spec Concurrency Stage
- graceful
Stop DoubleSeconds - iteration
Count Double - max
Requests DoublePer Second - Maximum requests per second.
- stages
List<Pts
Job Load Load Spec Concurrency Stage>
- graceful
Stop numberSeconds - iteration
Count number - max
Requests numberPer Second - Maximum requests per second.
- stages
Pts
Job Load Load Spec Concurrency Stage[]
- graceful_
stop_ floatseconds - iteration_
count float - max_
requests_ floatper_ second - Maximum requests per second.
- stages
Sequence[Pts
Job Load Load Spec Concurrency Stage]
- graceful
Stop NumberSeconds - iteration
Count Number - max
Requests NumberPer Second - Maximum requests per second.
- stages List<Property Map>
PtsJobLoadLoadSpecConcurrencyStage, PtsJobLoadLoadSpecConcurrencyStageArgs
- Duration
Seconds double - Target
Virtual doubleUsers
- Duration
Seconds float64 - Target
Virtual float64Users
- duration
Seconds Double - target
Virtual DoubleUsers
- duration
Seconds number - target
Virtual numberUsers
- duration_
seconds float - target_
virtual_ floatusers
- duration
Seconds Number - target
Virtual NumberUsers
PtsJobLoadLoadSpecRequestsPerSecond, PtsJobLoadLoadSpecRequestsPerSecondArgs
- Duration
Seconds double - Graceful
Stop doubleSeconds - Max
Requests doublePer Second - Maximum requests per second.
- Resources double
- Start
Requests doublePer Second - Target
Requests doublePer Second
- Duration
Seconds float64 - Graceful
Stop float64Seconds - Max
Requests float64Per Second - Maximum requests per second.
- Resources float64
- Start
Requests float64Per Second - Target
Requests float64Per Second
- duration
Seconds Double - graceful
Stop DoubleSeconds - max
Requests DoublePer Second - Maximum requests per second.
- resources Double
- start
Requests DoublePer Second - target
Requests DoublePer Second
- duration
Seconds number - graceful
Stop numberSeconds - max
Requests numberPer Second - Maximum requests per second.
- resources number
- start
Requests numberPer Second - target
Requests numberPer Second
- duration_
seconds float - graceful_
stop_ floatseconds - max_
requests_ floatper_ second - Maximum requests per second.
- resources float
- start_
requests_ floatper_ second - target_
requests_ floatper_ second
- duration
Seconds Number - graceful
Stop NumberSeconds - max
Requests NumberPer Second - Maximum requests per second.
- resources Number
- start
Requests NumberPer Second - target
Requests NumberPer Second
PtsJobLoadLoadSpecScriptOrigin, PtsJobLoadLoadSpecScriptOriginArgs
- Duration
Seconds double - Machine
Number double - Machine
Specification string
- Duration
Seconds float64 - Machine
Number float64 - Machine
Specification string
- duration
Seconds Double - machine
Number Double - machine
Specification String
- duration
Seconds number - machine
Number number - machine
Specification string
- duration_
seconds float - machine_
number float - machine_
specification str
- duration
Seconds Number - machine
Number Number - machine
Specification String
PtsJobLoadVpcLoadDistribution, PtsJobLoadVpcLoadDistributionArgs
- region str
- region_
id float - subnet_
ids Sequence[str] - vpc_
id str
PtsJobPlugin, PtsJobPluginArgs
- file_
id str - name str
- size float
- type str
- Scene Type.
- updated_
at str
PtsJobProtocol, PtsJobProtocolArgs
- file_
id str - name str
- size float
- type str
- Scene Type.
- updated_
at str
PtsJobRequestFile, PtsJobRequestFileArgs
- file_
id str - name str
- size float
- type str
- Scene Type.
- updated_
at str
PtsJobTestScript, PtsJobTestScriptArgs
- Encoded
Content string - Encoded
Http stringArchive - Load
Weight double - Name string
- Size double
- Type string
- Scene Type.
- Updated
At string
- Encoded
Content string - Encoded
Http stringArchive - Load
Weight float64 - Name string
- Size float64
- Type string
- Scene Type.
- Updated
At string
- encoded
Content String - encoded
Http StringArchive - load
Weight Double - name String
- size Double
- type String
- Scene Type.
- updated
At String
- encoded
Content string - encoded
Http stringArchive - load
Weight number - name string
- size number
- type string
- Scene Type.
- updated
At string
- encoded_
content str - encoded_
http_ strarchive - load_
weight float - name str
- size float
- type str
- Scene Type.
- updated_
at str
- encoded
Content String - encoded
Http StringArchive - load
Weight Number - name String
- size Number
- type String
- Scene Type.
- updated
At 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.