Documentation
¶
Index ¶
- Constants
- type AbortCronJobsRequest
- type AbortCronJobsRequestParams
- type AbortCronJobsResponse
- type AbortCronJobsResponseParams
- type AbortJobRequest
- type AbortJobRequestParams
- type AbortJobResponse
- type AbortJobResponseParams
- type AdjustJobSpeedRequest
- type AdjustJobSpeedRequestParams
- type AdjustJobSpeedResponse
- type AdjustJobSpeedResponseParams
- type AggregationLegend
- type AlertChannel
- type AlertChannelRecord
- type AlertRecord
- type AlertRecordStatus
- type Attributes
- type CheckSummary
- type Client
- func (c *Client) AbortCronJobs(request *AbortCronJobsRequest) (response *AbortCronJobsResponse, err error)
- func (c *Client) AbortCronJobsWithContext(ctx context.Context, request *AbortCronJobsRequest) (response *AbortCronJobsResponse, err error)
- func (c *Client) AbortJob(request *AbortJobRequest) (response *AbortJobResponse, err error)
- func (c *Client) AbortJobWithContext(ctx context.Context, request *AbortJobRequest) (response *AbortJobResponse, err error)
- func (c *Client) AdjustJobSpeed(request *AdjustJobSpeedRequest) (response *AdjustJobSpeedResponse, err error)
- func (c *Client) AdjustJobSpeedWithContext(ctx context.Context, request *AdjustJobSpeedRequest) (response *AdjustJobSpeedResponse, err error)
- func (c *Client) CopyScenario(request *CopyScenarioRequest) (response *CopyScenarioResponse, err error)
- func (c *Client) CopyScenarioWithContext(ctx context.Context, request *CopyScenarioRequest) (response *CopyScenarioResponse, err error)
- func (c *Client) CreateAlertChannel(request *CreateAlertChannelRequest) (response *CreateAlertChannelResponse, err error)
- func (c *Client) CreateAlertChannelWithContext(ctx context.Context, request *CreateAlertChannelRequest) (response *CreateAlertChannelResponse, err error)
- func (c *Client) CreateCronJob(request *CreateCronJobRequest) (response *CreateCronJobResponse, err error)
- func (c *Client) CreateCronJobWithContext(ctx context.Context, request *CreateCronJobRequest) (response *CreateCronJobResponse, err error)
- func (c *Client) CreateEnvironment(request *CreateEnvironmentRequest) (response *CreateEnvironmentResponse, err error)
- func (c *Client) CreateEnvironmentWithContext(ctx context.Context, request *CreateEnvironmentRequest) (response *CreateEnvironmentResponse, err error)
- func (c *Client) CreateFile(request *CreateFileRequest) (response *CreateFileResponse, err error)
- func (c *Client) CreateFileWithContext(ctx context.Context, request *CreateFileRequest) (response *CreateFileResponse, err error)
- func (c *Client) CreateProject(request *CreateProjectRequest) (response *CreateProjectResponse, err error)
- func (c *Client) CreateProjectWithContext(ctx context.Context, request *CreateProjectRequest) (response *CreateProjectResponse, err error)
- func (c *Client) CreateScenario(request *CreateScenarioRequest) (response *CreateScenarioResponse, err error)
- func (c *Client) CreateScenarioWithContext(ctx context.Context, request *CreateScenarioRequest) (response *CreateScenarioResponse, err error)
- func (c *Client) DeleteAlertChannel(request *DeleteAlertChannelRequest) (response *DeleteAlertChannelResponse, err error)
- func (c *Client) DeleteAlertChannelWithContext(ctx context.Context, request *DeleteAlertChannelRequest) (response *DeleteAlertChannelResponse, err error)
- func (c *Client) DeleteCronJobs(request *DeleteCronJobsRequest) (response *DeleteCronJobsResponse, err error)
- func (c *Client) DeleteCronJobsWithContext(ctx context.Context, request *DeleteCronJobsRequest) (response *DeleteCronJobsResponse, err error)
- func (c *Client) DeleteEnvironments(request *DeleteEnvironmentsRequest) (response *DeleteEnvironmentsResponse, err error)
- func (c *Client) DeleteEnvironmentsWithContext(ctx context.Context, request *DeleteEnvironmentsRequest) (response *DeleteEnvironmentsResponse, err error)
- func (c *Client) DeleteFiles(request *DeleteFilesRequest) (response *DeleteFilesResponse, err error)
- func (c *Client) DeleteFilesWithContext(ctx context.Context, request *DeleteFilesRequest) (response *DeleteFilesResponse, err error)
- func (c *Client) DeleteJobs(request *DeleteJobsRequest) (response *DeleteJobsResponse, err error)
- func (c *Client) DeleteJobsWithContext(ctx context.Context, request *DeleteJobsRequest) (response *DeleteJobsResponse, err error)
- func (c *Client) DeleteProjects(request *DeleteProjectsRequest) (response *DeleteProjectsResponse, err error)
- func (c *Client) DeleteProjectsWithContext(ctx context.Context, request *DeleteProjectsRequest) (response *DeleteProjectsResponse, err error)
- func (c *Client) DeleteScenarios(request *DeleteScenariosRequest) (response *DeleteScenariosResponse, err error)
- func (c *Client) DeleteScenariosWithContext(ctx context.Context, request *DeleteScenariosRequest) (response *DeleteScenariosResponse, err error)
- func (c *Client) DescribeAlertChannels(request *DescribeAlertChannelsRequest) (response *DescribeAlertChannelsResponse, err error)
- func (c *Client) DescribeAlertChannelsWithContext(ctx context.Context, request *DescribeAlertChannelsRequest) (response *DescribeAlertChannelsResponse, err error)
- func (c *Client) DescribeAlertRecords(request *DescribeAlertRecordsRequest) (response *DescribeAlertRecordsResponse, err error)
- func (c *Client) DescribeAlertRecordsWithContext(ctx context.Context, request *DescribeAlertRecordsRequest) (response *DescribeAlertRecordsResponse, err error)
- func (c *Client) DescribeAvailableMetrics(request *DescribeAvailableMetricsRequest) (response *DescribeAvailableMetricsResponse, err error)
- func (c *Client) DescribeAvailableMetricsWithContext(ctx context.Context, request *DescribeAvailableMetricsRequest) (response *DescribeAvailableMetricsResponse, err error)
- func (c *Client) DescribeCheckSummary(request *DescribeCheckSummaryRequest) (response *DescribeCheckSummaryResponse, err error)
- func (c *Client) DescribeCheckSummaryWithContext(ctx context.Context, request *DescribeCheckSummaryRequest) (response *DescribeCheckSummaryResponse, err error)
- func (c *Client) DescribeCronJobs(request *DescribeCronJobsRequest) (response *DescribeCronJobsResponse, err error)
- func (c *Client) DescribeCronJobsWithContext(ctx context.Context, request *DescribeCronJobsRequest) (response *DescribeCronJobsResponse, err error)
- func (c *Client) DescribeEnvironments(request *DescribeEnvironmentsRequest) (response *DescribeEnvironmentsResponse, err error)
- func (c *Client) DescribeEnvironmentsWithContext(ctx context.Context, request *DescribeEnvironmentsRequest) (response *DescribeEnvironmentsResponse, err error)
- func (c *Client) DescribeErrorSummary(request *DescribeErrorSummaryRequest) (response *DescribeErrorSummaryResponse, err error)
- func (c *Client) DescribeErrorSummaryWithContext(ctx context.Context, request *DescribeErrorSummaryRequest) (response *DescribeErrorSummaryResponse, err error)
- func (c *Client) DescribeFiles(request *DescribeFilesRequest) (response *DescribeFilesResponse, err error)
- func (c *Client) DescribeFilesWithContext(ctx context.Context, request *DescribeFilesRequest) (response *DescribeFilesResponse, err error)
- func (c *Client) DescribeJobs(request *DescribeJobsRequest) (response *DescribeJobsResponse, err error)
- func (c *Client) DescribeJobsWithContext(ctx context.Context, request *DescribeJobsRequest) (response *DescribeJobsResponse, err error)
- func (c *Client) DescribeLabelValues(request *DescribeLabelValuesRequest) (response *DescribeLabelValuesResponse, err error)
- func (c *Client) DescribeLabelValuesWithContext(ctx context.Context, request *DescribeLabelValuesRequest) (response *DescribeLabelValuesResponse, err error)
- func (c *Client) DescribeMetricLabelWithValues(request *DescribeMetricLabelWithValuesRequest) (response *DescribeMetricLabelWithValuesResponse, err error)
- func (c *Client) DescribeMetricLabelWithValuesWithContext(ctx context.Context, request *DescribeMetricLabelWithValuesRequest) (response *DescribeMetricLabelWithValuesResponse, err error)
- func (c *Client) DescribeNormalLogs(request *DescribeNormalLogsRequest) (response *DescribeNormalLogsResponse, err error)
- func (c *Client) DescribeNormalLogsWithContext(ctx context.Context, request *DescribeNormalLogsRequest) (response *DescribeNormalLogsResponse, err error)
- func (c *Client) DescribeProjects(request *DescribeProjectsRequest) (response *DescribeProjectsResponse, err error)
- func (c *Client) DescribeProjectsWithContext(ctx context.Context, request *DescribeProjectsRequest) (response *DescribeProjectsResponse, err error)
- func (c *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
- func (c *Client) DescribeRegionsWithContext(ctx context.Context, request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
- func (c *Client) DescribeRequestSummary(request *DescribeRequestSummaryRequest) (response *DescribeRequestSummaryResponse, err error)
- func (c *Client) DescribeRequestSummaryWithContext(ctx context.Context, request *DescribeRequestSummaryRequest) (response *DescribeRequestSummaryResponse, err error)
- func (c *Client) DescribeSampleBatchQuery(request *DescribeSampleBatchQueryRequest) (response *DescribeSampleBatchQueryResponse, err error)
- func (c *Client) DescribeSampleBatchQueryWithContext(ctx context.Context, request *DescribeSampleBatchQueryRequest) (response *DescribeSampleBatchQueryResponse, err error)
- func (c *Client) DescribeSampleLogs(request *DescribeSampleLogsRequest) (response *DescribeSampleLogsResponse, err error)
- func (c *Client) DescribeSampleLogsWithContext(ctx context.Context, request *DescribeSampleLogsRequest) (response *DescribeSampleLogsResponse, err error)
- func (c *Client) DescribeSampleMatrixBatchQuery(request *DescribeSampleMatrixBatchQueryRequest) (response *DescribeSampleMatrixBatchQueryResponse, err error)
- func (c *Client) DescribeSampleMatrixBatchQueryWithContext(ctx context.Context, request *DescribeSampleMatrixBatchQueryRequest) (response *DescribeSampleMatrixBatchQueryResponse, err error)
- func (c *Client) DescribeSampleMatrixQuery(request *DescribeSampleMatrixQueryRequest) (response *DescribeSampleMatrixQueryResponse, err error)
- func (c *Client) DescribeSampleMatrixQueryWithContext(ctx context.Context, request *DescribeSampleMatrixQueryRequest) (response *DescribeSampleMatrixQueryResponse, err error)
- func (c *Client) DescribeSampleQuery(request *DescribeSampleQueryRequest) (response *DescribeSampleQueryResponse, err error)
- func (c *Client) DescribeSampleQueryWithContext(ctx context.Context, request *DescribeSampleQueryRequest) (response *DescribeSampleQueryResponse, err error)
- func (c *Client) DescribeScenarioWithJobs(request *DescribeScenarioWithJobsRequest) (response *DescribeScenarioWithJobsResponse, err error)
- func (c *Client) DescribeScenarioWithJobsWithContext(ctx context.Context, request *DescribeScenarioWithJobsRequest) (response *DescribeScenarioWithJobsResponse, err error)
- func (c *Client) DescribeScenarios(request *DescribeScenariosRequest) (response *DescribeScenariosResponse, err error)
- func (c *Client) DescribeScenariosWithContext(ctx context.Context, request *DescribeScenariosRequest) (response *DescribeScenariosResponse, err error)
- func (c *Client) GenerateTmpKey(request *GenerateTmpKeyRequest) (response *GenerateTmpKeyResponse, err error)
- func (c *Client) GenerateTmpKeyWithContext(ctx context.Context, request *GenerateTmpKeyRequest) (response *GenerateTmpKeyResponse, err error)
- func (c *Client) RestartCronJobs(request *RestartCronJobsRequest) (response *RestartCronJobsResponse, err error)
- func (c *Client) RestartCronJobsWithContext(ctx context.Context, request *RestartCronJobsRequest) (response *RestartCronJobsResponse, err error)
- func (c *Client) StartJob(request *StartJobRequest) (response *StartJobResponse, err error)
- func (c *Client) StartJobWithContext(ctx context.Context, request *StartJobRequest) (response *StartJobResponse, err error)
- func (c *Client) UpdateCronJob(request *UpdateCronJobRequest) (response *UpdateCronJobResponse, err error)
- func (c *Client) UpdateCronJobWithContext(ctx context.Context, request *UpdateCronJobRequest) (response *UpdateCronJobResponse, err error)
- func (c *Client) UpdateEnvironment(request *UpdateEnvironmentRequest) (response *UpdateEnvironmentResponse, err error)
- func (c *Client) UpdateEnvironmentWithContext(ctx context.Context, request *UpdateEnvironmentRequest) (response *UpdateEnvironmentResponse, err error)
- func (c *Client) UpdateFileScenarioRelation(request *UpdateFileScenarioRelationRequest) (response *UpdateFileScenarioRelationResponse, err error)
- func (c *Client) UpdateFileScenarioRelationWithContext(ctx context.Context, request *UpdateFileScenarioRelationRequest) (response *UpdateFileScenarioRelationResponse, err error)
- func (c *Client) UpdateJob(request *UpdateJobRequest) (response *UpdateJobResponse, err error)
- func (c *Client) UpdateJobWithContext(ctx context.Context, request *UpdateJobRequest) (response *UpdateJobResponse, err error)
- func (c *Client) UpdateProject(request *UpdateProjectRequest) (response *UpdateProjectResponse, err error)
- func (c *Client) UpdateProjectWithContext(ctx context.Context, request *UpdateProjectRequest) (response *UpdateProjectResponse, err error)
- func (c *Client) UpdateScenario(request *UpdateScenarioRequest) (response *UpdateScenarioResponse, err error)
- func (c *Client) UpdateScenarioWithContext(ctx context.Context, request *UpdateScenarioRequest) (response *UpdateScenarioResponse, err error)
- type Concurrency
- type CopyScenarioRequest
- type CopyScenarioRequestParams
- type CopyScenarioResponse
- type CopyScenarioResponseParams
- type CreateAlertChannelRequest
- type CreateAlertChannelRequestParams
- type CreateAlertChannelResponse
- type CreateAlertChannelResponseParams
- type CreateCronJobRequest
- type CreateCronJobRequestParams
- type CreateCronJobResponse
- type CreateCronJobResponseParams
- type CreateEnvironmentRequest
- type CreateEnvironmentRequestParams
- type CreateEnvironmentResponse
- type CreateEnvironmentResponseParams
- type CreateFileRequest
- type CreateFileRequestParams
- type CreateFileResponse
- type CreateFileResponseParams
- type CreateProjectRequest
- type CreateProjectRequestParams
- type CreateProjectResponse
- type CreateProjectResponseParams
- type CreateScenarioRequest
- type CreateScenarioRequestParams
- type CreateScenarioResponse
- type CreateScenarioResponseParams
- type Credentials
- type CronJob
- type CustomSample
- type CustomSampleMatrix
- type DNSConfig
- type DeleteAlertChannelRequest
- type DeleteAlertChannelRequestParams
- type DeleteAlertChannelResponse
- type DeleteAlertChannelResponseParams
- type DeleteCronJobsRequest
- type DeleteCronJobsRequestParams
- type DeleteCronJobsResponse
- type DeleteCronJobsResponseParams
- type DeleteEnvironmentsRequest
- type DeleteEnvironmentsRequestParams
- type DeleteEnvironmentsResponse
- type DeleteEnvironmentsResponseParams
- type DeleteFilesRequest
- type DeleteFilesRequestParams
- type DeleteFilesResponse
- type DeleteFilesResponseParams
- type DeleteJobsRequest
- type DeleteJobsRequestParams
- type DeleteJobsResponse
- type DeleteJobsResponseParams
- type DeleteProjectsRequest
- type DeleteProjectsRequestParams
- type DeleteProjectsResponse
- type DeleteProjectsResponseParams
- type DeleteScenariosRequest
- type DeleteScenariosRequestParams
- type DeleteScenariosResponse
- type DeleteScenariosResponseParams
- type DescribeAlertChannelsRequest
- type DescribeAlertChannelsRequestParams
- type DescribeAlertChannelsResponse
- type DescribeAlertChannelsResponseParams
- type DescribeAlertRecordsRequest
- type DescribeAlertRecordsRequestParams
- type DescribeAlertRecordsResponse
- type DescribeAlertRecordsResponseParams
- type DescribeAvailableMetricsRequest
- type DescribeAvailableMetricsRequestParams
- type DescribeAvailableMetricsResponse
- type DescribeAvailableMetricsResponseParams
- type DescribeCheckSummaryRequest
- type DescribeCheckSummaryRequestParams
- type DescribeCheckSummaryResponse
- type DescribeCheckSummaryResponseParams
- type DescribeCronJobsRequest
- type DescribeCronJobsRequestParams
- type DescribeCronJobsResponse
- type DescribeCronJobsResponseParams
- type DescribeEnvironmentsRequest
- type DescribeEnvironmentsRequestParams
- type DescribeEnvironmentsResponse
- type DescribeEnvironmentsResponseParams
- type DescribeErrorSummaryRequest
- type DescribeErrorSummaryRequestParams
- type DescribeErrorSummaryResponse
- type DescribeErrorSummaryResponseParams
- type DescribeFilesRequest
- type DescribeFilesRequestParams
- type DescribeFilesResponse
- type DescribeFilesResponseParams
- type DescribeJobsRequest
- type DescribeJobsRequestParams
- type DescribeJobsResponse
- type DescribeJobsResponseParams
- type DescribeLabelValuesRequest
- type DescribeLabelValuesRequestParams
- type DescribeLabelValuesResponse
- type DescribeLabelValuesResponseParams
- type DescribeMetricLabelWithValuesRequest
- type DescribeMetricLabelWithValuesRequestParams
- type DescribeMetricLabelWithValuesResponse
- type DescribeMetricLabelWithValuesResponseParams
- type DescribeNormalLogsRequest
- type DescribeNormalLogsRequestParams
- type DescribeNormalLogsResponse
- type DescribeNormalLogsResponseParams
- type DescribeProjectsRequest
- type DescribeProjectsRequestParams
- type DescribeProjectsResponse
- type DescribeProjectsResponseParams
- type DescribeRegionsRequest
- type DescribeRegionsRequestParams
- type DescribeRegionsResponse
- type DescribeRegionsResponseParams
- type DescribeRequestSummaryRequest
- type DescribeRequestSummaryRequestParams
- type DescribeRequestSummaryResponse
- type DescribeRequestSummaryResponseParams
- type DescribeSampleBatchQueryRequest
- type DescribeSampleBatchQueryRequestParams
- type DescribeSampleBatchQueryResponse
- type DescribeSampleBatchQueryResponseParams
- type DescribeSampleLogsRequest
- type DescribeSampleLogsRequestParams
- type DescribeSampleLogsResponse
- type DescribeSampleLogsResponseParams
- type DescribeSampleMatrixBatchQueryRequest
- type DescribeSampleMatrixBatchQueryRequestParams
- type DescribeSampleMatrixBatchQueryResponse
- type DescribeSampleMatrixBatchQueryResponseParams
- type DescribeSampleMatrixQueryRequest
- type DescribeSampleMatrixQueryRequestParams
- type DescribeSampleMatrixQueryResponse
- type DescribeSampleMatrixQueryResponseParams
- type DescribeSampleQueryRequest
- type DescribeSampleQueryRequestParams
- type DescribeSampleQueryResponse
- type DescribeSampleQueryResponseParams
- type DescribeScenarioWithJobsRequest
- type DescribeScenarioWithJobsRequestParams
- type DescribeScenarioWithJobsResponse
- type DescribeScenarioWithJobsResponseParams
- type DescribeScenariosRequest
- type DescribeScenariosRequestParams
- type DescribeScenariosResponse
- type DescribeScenariosResponseParams
- type DomainNameConfig
- type ErrorSummary
- type File
- type FileInfo
- type Filter
- type GenerateTmpKeyRequest
- type GenerateTmpKeyRequestParams
- type GenerateTmpKeyResponse
- type GenerateTmpKeyResponseParams
- type GeoRegionsLoadItem
- type HostAlias
- type InternalMetricQuery
- type Job
- type Label
- type LabelWithValues
- type Load
- type LoadSource
- type LoadSpec
- type MetricInfo
- type MetricLabelWithValues
- type NormalLog
- type Notification
- type NotificationHook
- type Project
- type ProtocolInfo
- type ReactionTimeRange
- type RegionDetail
- type RequestSummary
- type RequestsPerSecond
- type RestartCronJobsRequest
- type RestartCronJobsRequestParams
- type RestartCronJobsResponse
- type RestartCronJobsResponseParams
- type SLALabel
- type SLAPolicy
- type SLARule
- type SampleLog
- type SamplePair
- type SampleStream
- type Scenario
- type ScenarioRelatedJobsParams
- type ScenarioWithJobs
- type ScriptInfo
- type ScriptOrigin
- type Stage
- type StartJobRequest
- type StartJobRequestParams
- type StartJobResponse
- type StartJobResponseParams
- type TagSpec
- type TestData
- type UpdateCronJobRequest
- type UpdateCronJobRequestParams
- type UpdateCronJobResponse
- type UpdateCronJobResponseParams
- type UpdateEnvironmentRequest
- type UpdateEnvironmentRequestParams
- type UpdateEnvironmentResponse
- type UpdateEnvironmentResponseParams
- type UpdateFileScenarioRelationRequest
- type UpdateFileScenarioRelationRequestParams
- type UpdateFileScenarioRelationResponse
- type UpdateFileScenarioRelationResponseParams
- type UpdateJobRequest
- type UpdateJobRequestParams
- type UpdateJobResponse
- type UpdateJobResponseParams
- type UpdateProjectRequest
- type UpdateProjectRequestParams
- type UpdateProjectResponse
- type UpdateProjectResponseParams
- type UpdateScenarioRequest
- type UpdateScenarioRequestParams
- type UpdateScenarioResponse
- type UpdateScenarioResponseParams
- type VpcLoadDistribution
Constants ¶
const ( // CAM signature/authentication error. AUTHFAILURE = "AuthFailure" // The current request is not authorized by CAM. AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" // Operation failed. FAILEDOPERATION = "FailedOperation" // Failed to obtain tags. FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" // Failed to query database. FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" // Failed to create database record. FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" // Failed to update database record. FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" // The job status is not running. FAILEDOPERATION_JOBSTATUSNOTRUNNING = "FailedOperation.JobStatusNotRunning" // No task in the job. FAILEDOPERATION_NOTASKSINJOB = "FailedOperation.NoTasksInJob" // The current environment does not support. FAILEDOPERATION_NOTSUPPORTEDINENV = "FailedOperation.NotSupportedInEnv" // The resource does not exist. FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" // Failed to send request. FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest" // Internal error. INTERNALERROR = "InternalError" // Invalid parameter. INVALIDPARAMETER = "InvalidParameter" // Invalid parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // The quota limit is exceeded. LIMITEXCEEDED = "LimitExceeded" // Insufficient resources. RESOURCEINSUFFICIENT = "ResourceInsufficient" // The resource does not exist. RESOURCENOTFOUND = "ResourceNotFound" // Unauthorized operation. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" )
const APIVersion = "2021-07-28"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbortCronJobsRequest ¶
type AbortCronJobsRequest struct { *tchttp.BaseRequest // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Array of CronJob ID. CronJobIds []*string `json:"CronJobIds,omitnil,omitempty" name:"CronJobIds"` }
func NewAbortCronJobsRequest ¶
func NewAbortCronJobsRequest() (request *AbortCronJobsRequest)
func (*AbortCronJobsRequest) FromJsonString ¶
func (r *AbortCronJobsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AbortCronJobsRequest) ToJsonString ¶
func (r *AbortCronJobsRequest) ToJsonString() string
type AbortCronJobsRequestParams ¶
type AbortCronJobsRequestParams struct { // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Array of CronJob ID. CronJobIds []*string `json:"CronJobIds,omitnil,omitempty" name:"CronJobIds"` }
Predefined struct for user
type AbortCronJobsResponse ¶
type AbortCronJobsResponse struct { *tchttp.BaseResponse Response *AbortCronJobsResponseParams `json:"Response"` }
func NewAbortCronJobsResponse ¶
func NewAbortCronJobsResponse() (response *AbortCronJobsResponse)
func (*AbortCronJobsResponse) FromJsonString ¶
func (r *AbortCronJobsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AbortCronJobsResponse) ToJsonString ¶
func (r *AbortCronJobsResponse) ToJsonString() string
type AbortCronJobsResponseParams ¶
type AbortCronJobsResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AbortJobRequest ¶
type AbortJobRequest struct { *tchttp.BaseRequest // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Reason for stopping. AbortReason *int64 `json:"AbortReason,omitnil,omitempty" name:"AbortReason"` }
func NewAbortJobRequest ¶
func NewAbortJobRequest() (request *AbortJobRequest)
func (*AbortJobRequest) FromJsonString ¶
func (r *AbortJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AbortJobRequest) ToJsonString ¶
func (r *AbortJobRequest) ToJsonString() string
type AbortJobRequestParams ¶
type AbortJobRequestParams struct { // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Reason for stopping. AbortReason *int64 `json:"AbortReason,omitnil,omitempty" name:"AbortReason"` }
Predefined struct for user
type AbortJobResponse ¶
type AbortJobResponse struct { *tchttp.BaseResponse Response *AbortJobResponseParams `json:"Response"` }
func NewAbortJobResponse ¶
func NewAbortJobResponse() (response *AbortJobResponse)
func (*AbortJobResponse) FromJsonString ¶
func (r *AbortJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AbortJobResponse) ToJsonString ¶
func (r *AbortJobResponse) ToJsonString() string
type AbortJobResponseParams ¶
type AbortJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AdjustJobSpeedRequest ¶
type AdjustJobSpeedRequest struct { *tchttp.BaseRequest // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Target RPS. The value should be greater than the initial RPS and less than the maximum RPS. TargetRequestsPerSecond *int64 `json:"TargetRequestsPerSecond,omitnil,omitempty" name:"TargetRequestsPerSecond"` }
func NewAdjustJobSpeedRequest ¶
func NewAdjustJobSpeedRequest() (request *AdjustJobSpeedRequest)
func (*AdjustJobSpeedRequest) FromJsonString ¶
func (r *AdjustJobSpeedRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AdjustJobSpeedRequest) ToJsonString ¶
func (r *AdjustJobSpeedRequest) ToJsonString() string
type AdjustJobSpeedRequestParams ¶
type AdjustJobSpeedRequestParams struct { // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Target RPS. The value should be greater than the initial RPS and less than the maximum RPS. TargetRequestsPerSecond *int64 `json:"TargetRequestsPerSecond,omitnil,omitempty" name:"TargetRequestsPerSecond"` }
Predefined struct for user
type AdjustJobSpeedResponse ¶
type AdjustJobSpeedResponse struct { *tchttp.BaseResponse Response *AdjustJobSpeedResponseParams `json:"Response"` }
func NewAdjustJobSpeedResponse ¶
func NewAdjustJobSpeedResponse() (response *AdjustJobSpeedResponse)
func (*AdjustJobSpeedResponse) FromJsonString ¶
func (r *AdjustJobSpeedResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AdjustJobSpeedResponse) ToJsonString ¶
func (r *AdjustJobSpeedResponse) ToJsonString() string
type AdjustJobSpeedResponseParams ¶
type AdjustJobSpeedResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AggregationLegend ¶
type AggregationLegend struct { // Aggregation functions supported by the metric. Aggregation *string `json:"Aggregation,omitnil,omitempty" name:"Aggregation"` // Description after the aggregation function is applied to the metric. Legend *string `json:"Legend,omitnil,omitempty" name:"Legend"` // Metric unit after aggregation. Unit *string `json:"Unit,omitnil,omitempty" name:"Unit"` }
type AlertChannel ¶
type AlertChannel struct { // Notification template ID. // // Note: This field may return null, indicating that no valid value is found. NoticeId *string `json:"NoticeId,omitnil,omitempty" name:"NoticeId"` // AMP consumer ID. // // Note: This field may return null, indicating that no valid value is found. AMPConsumerId *string `json:"AMPConsumerId,omitnil,omitempty" name:"AMPConsumerId"` }
type AlertChannelRecord ¶
type AlertChannelRecord struct { // Notice ID. // // Note: This field may return null, indicating that no valid value is found. NoticeId *string `json:"NoticeId,omitnil,omitempty" name:"NoticeId"` // Consumer ID. // // Note: This field may return null, indicating that no valid value is found. AMPConsumerId *string `json:"AMPConsumerId,omitnil,omitempty" name:"AMPConsumerId"` // Project ID. // // Note: This field may return null, indicating that no valid value is found. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Status. // // Note: This field may return null, indicating that no valid value is found. Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // Create time. // // Note: This field may return null, indicating that no valid value is found. CreatedAt *string `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"` // Update time. // // Note: This field may return null, indicating that no valid value is found. UpdatedAt *string `json:"UpdatedAt,omitnil,omitempty" name:"UpdatedAt"` // App ID. // // Note: This field may return null, indicating that no valid value is found. AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // Account uin. // // Note: This field may return null, indicating that no valid value is found. Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // Sub account uin. // // Note: This field may return null, indicating that no valid value is found. SubAccountUin *string `json:"SubAccountUin,omitnil,omitempty" name:"SubAccountUin"` }
type AlertRecord ¶
type AlertRecord struct { // Alert history record ID. // // Note: This field may return null, indicating that no valid value is found. AlertRecordId *string `json:"AlertRecordId,omitnil,omitempty" name:"AlertRecordId"` // Project ID. // // Note: This field may return null, indicating that no valid value is found. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario ID. // // Note: This field may return null, indicating that no valid value is found. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Status. // // Note: This field may return null, indicating that no valid value is found. Status *AlertRecordStatus `json:"Status,omitnil,omitempty" name:"Status"` // Create time. // // Note: This field may return null, indicating that no valid value is found. CreatedAt *string `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"` // Update time. // // Note: This field may return null, indicating that no valid value is found. UpdatedAt *string `json:"UpdatedAt,omitnil,omitempty" name:"UpdatedAt"` // Job ID. // // Note: This field may return null, indicating that no valid value is found. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // App ID. // // Note: This field may return null, indicating that no valid value is found. AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // Account uin. // // Note: This field may return null, indicating that no valid value is found. Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // Sub account uin. // // Note: This field may return null, indicating that no valid value is found. SubAccountUin *string `json:"SubAccountUin,omitnil,omitempty" name:"SubAccountUin"` // Scenario name. // // Note: This field may return null, indicating that no valid value is found. ScenarioName *string `json:"ScenarioName,omitnil,omitempty" name:"ScenarioName"` // Alert target. // // Note: This field may return null, indicating that no valid value is found. Target *string `json:"Target,omitnil,omitempty" name:"Target"` // SLA ID. // // Note: This field may return null, indicating that no valid value is found. JobSLAId *string `json:"JobSLAId,omitnil,omitempty" name:"JobSLAId"` // SLA description. // // Note: This field may return null, indicating that no valid value is found. JobSLADescription *string `json:"JobSLADescription,omitnil,omitempty" name:"JobSLADescription"` }
type AlertRecordStatus ¶
type AlertRecordStatus struct { // Success or failure of stopping performance test job. // // Note: This field may return null, indicating that no valid value is found. AbortJob *uint64 `json:"AbortJob,omitnil,omitempty" name:"AbortJob"` // Success or failure of sending alert notification. // // Note: This field may return null, indicating that no valid value is found. SendNotice *uint64 `json:"SendNotice,omitnil,omitempty" name:"SendNotice"` }
type Attributes ¶
type Attributes struct { // Response status code. // // Note: This field may return null, indicating that no valid value is found. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Response result code. // // Note: This field may return null, indicating that no valid value is found. Result *string `json:"Result,omitnil,omitempty" name:"Result"` // Request service. // // Note: This field may return null, indicating that no valid value is found. Service *string `json:"Service,omitnil,omitempty" name:"Service"` // Request method. // // Note: This field may return null, indicating that no valid value is found. Method *string `json:"Method,omitnil,omitempty" name:"Method"` // Request duration. // // Note: This field may return null, indicating that no valid value is found. Duration *string `json:"Duration,omitnil,omitempty" name:"Duration"` }
type CheckSummary ¶
type CheckSummary struct { // Checkpoint name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Step name of the checkpoint. Step *string `json:"Step,omitnil,omitempty" name:"Step"` // Number of successful checks. SuccessCount *int64 `json:"SuccessCount,omitnil,omitempty" name:"SuccessCount"` // Number of failed checks. FailCount *int64 `json:"FailCount,omitnil,omitempty" name:"FailCount"` // Error ratio. ErrorRate *float64 `json:"ErrorRate,omitnil,omitempty" name:"ErrorRate"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AbortCronJobs ¶
func (c *Client) AbortCronJobs(request *AbortCronJobsRequest) (response *AbortCronJobsResponse, err error)
AbortCronJobs This API is used to stop cron jobs.
func (*Client) AbortCronJobsWithContext ¶
func (c *Client) AbortCronJobsWithContext(ctx context.Context, request *AbortCronJobsRequest) (response *AbortCronJobsResponse, err error)
AbortCronJobs This API is used to stop cron jobs.
func (*Client) AbortJob ¶
func (c *Client) AbortJob(request *AbortJobRequest) (response *AbortJobResponse, err error)
AbortJob This API is used to stop test job.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_JOBSTATUSNOTRUNNING = "FailedOperation.JobStatusNotRunning" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) AbortJobWithContext ¶
func (c *Client) AbortJobWithContext(ctx context.Context, request *AbortJobRequest) (response *AbortJobResponse, err error)
AbortJob This API is used to stop test job.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_JOBSTATUSNOTRUNNING = "FailedOperation.JobStatusNotRunning" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) AdjustJobSpeed ¶
func (c *Client) AdjustJobSpeed(request *AdjustJobSpeedRequest) (response *AdjustJobSpeedResponse, err error)
AdjustJobSpeed This API is used to adjust the target RPS of a job.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) AdjustJobSpeedWithContext ¶
func (c *Client) AdjustJobSpeedWithContext(ctx context.Context, request *AdjustJobSpeedRequest) (response *AdjustJobSpeedResponse, err error)
AdjustJobSpeed This API is used to adjust the target RPS of a job.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CopyScenario ¶
func (c *Client) CopyScenario(request *CopyScenarioRequest) (response *CopyScenarioResponse, err error)
CopyScenario This API is used to copy a scenario.
error code that may be returned:
FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound"
func (*Client) CopyScenarioWithContext ¶
func (c *Client) CopyScenarioWithContext(ctx context.Context, request *CopyScenarioRequest) (response *CopyScenarioResponse, err error)
CopyScenario This API is used to copy a scenario.
error code that may be returned:
FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound"
func (*Client) CreateAlertChannel ¶
func (c *Client) CreateAlertChannel(request *CreateAlertChannelRequest) (response *CreateAlertChannelResponse, err error)
CreateAlertChannel This API is used to create an alert recipient group.
error code that may be returned:
FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed"
func (*Client) CreateAlertChannelWithContext ¶
func (c *Client) CreateAlertChannelWithContext(ctx context.Context, request *CreateAlertChannelRequest) (response *CreateAlertChannelResponse, err error)
CreateAlertChannel This API is used to create an alert recipient group.
error code that may be returned:
FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed"
func (*Client) CreateCronJob ¶
func (c *Client) CreateCronJob(request *CreateCronJobRequest) (response *CreateCronJobResponse, err error)
CreateCronJob This API is used to create a cron job.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed"
func (*Client) CreateCronJobWithContext ¶
func (c *Client) CreateCronJobWithContext(ctx context.Context, request *CreateCronJobRequest) (response *CreateCronJobResponse, err error)
CreateCronJob This API is used to create a cron job.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed"
func (*Client) CreateEnvironment ¶
func (c *Client) CreateEnvironment(request *CreateEnvironmentRequest) (response *CreateEnvironmentResponse, err error)
CreateEnvironment This API is used to create an environment.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) CreateEnvironmentWithContext ¶
func (c *Client) CreateEnvironmentWithContext(ctx context.Context, request *CreateEnvironmentRequest) (response *CreateEnvironmentResponse, err error)
CreateEnvironment This API is used to create an environment.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) CreateFile ¶
func (c *Client) CreateFile(request *CreateFileRequest) (response *CreateFileResponse, err error)
CreateFile This API is used to create a file.
error code that may be returned:
FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed"
func (*Client) CreateFileWithContext ¶
func (c *Client) CreateFileWithContext(ctx context.Context, request *CreateFileRequest) (response *CreateFileResponse, err error)
CreateFile This API is used to create a file.
error code that may be returned:
FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed"
func (*Client) CreateProject ¶
func (c *Client) CreateProject(request *CreateProjectRequest) (response *CreateProjectResponse, err error)
CreateProject This API is used to create a project.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateProjectWithContext ¶
func (c *Client) CreateProjectWithContext(ctx context.Context, request *CreateProjectRequest) (response *CreateProjectResponse, err error)
CreateProject This API is used to create a project.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateScenario ¶
func (c *Client) CreateScenario(request *CreateScenarioRequest) (response *CreateScenarioResponse, err error)
CreateScenario This API is used to create a scenario.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) CreateScenarioWithContext ¶
func (c *Client) CreateScenarioWithContext(ctx context.Context, request *CreateScenarioRequest) (response *CreateScenarioResponse, err error)
CreateScenario This API is used to create a scenario.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DeleteAlertChannel ¶
func (c *Client) DeleteAlertChannel(request *DeleteAlertChannelRequest) (response *DeleteAlertChannelResponse, err error)
DeleteAlertChannel This API is used to delete an alert recipient group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DeleteAlertChannelWithContext ¶
func (c *Client) DeleteAlertChannelWithContext(ctx context.Context, request *DeleteAlertChannelRequest) (response *DeleteAlertChannelResponse, err error)
DeleteAlertChannel This API is used to delete an alert recipient group.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DeleteCronJobs ¶
func (c *Client) DeleteCronJobs(request *DeleteCronJobsRequest) (response *DeleteCronJobsResponse, err error)
DeleteCronJobs This API is used to delete cron jobs.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DeleteCronJobsWithContext ¶
func (c *Client) DeleteCronJobsWithContext(ctx context.Context, request *DeleteCronJobsRequest) (response *DeleteCronJobsResponse, err error)
DeleteCronJobs This API is used to delete cron jobs.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DeleteEnvironments ¶
func (c *Client) DeleteEnvironments(request *DeleteEnvironmentsRequest) (response *DeleteEnvironmentsResponse, err error)
DeleteEnvironments This API is used to delete environments.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DeleteEnvironmentsWithContext ¶
func (c *Client) DeleteEnvironmentsWithContext(ctx context.Context, request *DeleteEnvironmentsRequest) (response *DeleteEnvironmentsResponse, err error)
DeleteEnvironments This API is used to delete environments.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DeleteFiles ¶
func (c *Client) DeleteFiles(request *DeleteFilesRequest) (response *DeleteFilesResponse, err error)
DeleteFiles This API is used to delete files.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DeleteFilesWithContext ¶
func (c *Client) DeleteFilesWithContext(ctx context.Context, request *DeleteFilesRequest) (response *DeleteFilesResponse, err error)
DeleteFiles This API is used to delete files.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DeleteJobs ¶
func (c *Client) DeleteJobs(request *DeleteJobsRequest) (response *DeleteJobsResponse, err error)
DeleteJobs This API is used to delete jobs.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteJobsWithContext ¶
func (c *Client) DeleteJobsWithContext(ctx context.Context, request *DeleteJobsRequest) (response *DeleteJobsResponse, err error)
DeleteJobs This API is used to delete jobs.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteProjects ¶
func (c *Client) DeleteProjects(request *DeleteProjectsRequest) (response *DeleteProjectsResponse, err error)
DeleteProjects This API is used to delete projects.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteProjectsWithContext ¶
func (c *Client) DeleteProjectsWithContext(ctx context.Context, request *DeleteProjectsRequest) (response *DeleteProjectsResponse, err error)
DeleteProjects This API is used to delete projects.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteScenarios ¶
func (c *Client) DeleteScenarios(request *DeleteScenariosRequest) (response *DeleteScenariosResponse, err error)
DeleteScenarios This API is used to delete scenarios.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DeleteScenariosWithContext ¶
func (c *Client) DeleteScenariosWithContext(ctx context.Context, request *DeleteScenariosRequest) (response *DeleteScenariosResponse, err error)
DeleteScenarios This API is used to delete scenarios.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeAlertChannels ¶
func (c *Client) DescribeAlertChannels(request *DescribeAlertChannelsRequest) (response *DescribeAlertChannelsResponse, err error)
DescribeAlertChannels This API is used to query alert recipient groups.
error code that may be returned:
FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed"
func (*Client) DescribeAlertChannelsWithContext ¶
func (c *Client) DescribeAlertChannelsWithContext(ctx context.Context, request *DescribeAlertChannelsRequest) (response *DescribeAlertChannelsResponse, err error)
DescribeAlertChannels This API is used to query alert recipient groups.
error code that may be returned:
FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed"
func (*Client) DescribeAlertRecords ¶
func (c *Client) DescribeAlertRecords(request *DescribeAlertRecordsRequest) (response *DescribeAlertRecordsResponse, err error)
DescribeAlertRecords This API is used to query alert records.
error code that may be returned:
FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed"
func (*Client) DescribeAlertRecordsWithContext ¶
func (c *Client) DescribeAlertRecordsWithContext(ctx context.Context, request *DescribeAlertRecordsRequest) (response *DescribeAlertRecordsResponse, err error)
DescribeAlertRecords This API is used to query alert records.
error code that may be returned:
FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed"
func (*Client) DescribeAvailableMetrics ¶
func (c *Client) DescribeAvailableMetrics(request *DescribeAvailableMetricsRequest) (response *DescribeAvailableMetricsResponse, err error)
DescribeAvailableMetrics This API is used to query all supported metrics.
error code that may be returned:
FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed"
func (*Client) DescribeAvailableMetricsWithContext ¶
func (c *Client) DescribeAvailableMetricsWithContext(ctx context.Context, request *DescribeAvailableMetricsRequest) (response *DescribeAvailableMetricsResponse, err error)
DescribeAvailableMetrics This API is used to query all supported metrics.
error code that may be returned:
FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed"
func (*Client) DescribeCheckSummary ¶
func (c *Client) DescribeCheckSummary(request *DescribeCheckSummaryRequest) (response *DescribeCheckSummaryResponse, err error)
DescribeCheckSummary This API is used to query checkpoint summary information.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeCheckSummaryWithContext ¶
func (c *Client) DescribeCheckSummaryWithContext(ctx context.Context, request *DescribeCheckSummaryRequest) (response *DescribeCheckSummaryResponse, err error)
DescribeCheckSummary This API is used to query checkpoint summary information.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeCronJobs ¶
func (c *Client) DescribeCronJobs(request *DescribeCronJobsRequest) (response *DescribeCronJobsResponse, err error)
DescribeCronJobs This API is used to list cron jobs, selecting all by default if a non-mandatory array parameter is empty.
error code that may be returned:
FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed"
func (*Client) DescribeCronJobsWithContext ¶
func (c *Client) DescribeCronJobsWithContext(ctx context.Context, request *DescribeCronJobsRequest) (response *DescribeCronJobsResponse, err error)
DescribeCronJobs This API is used to list cron jobs, selecting all by default if a non-mandatory array parameter is empty.
error code that may be returned:
FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed"
func (*Client) DescribeEnvironments ¶
func (c *Client) DescribeEnvironments(request *DescribeEnvironmentsRequest) (response *DescribeEnvironmentsResponse, err error)
DescribeEnvironments This API is used to query the environment list.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeEnvironmentsWithContext ¶
func (c *Client) DescribeEnvironmentsWithContext(ctx context.Context, request *DescribeEnvironmentsRequest) (response *DescribeEnvironmentsResponse, err error)
DescribeEnvironments This API is used to query the environment list.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeErrorSummary ¶
func (c *Client) DescribeErrorSummary(request *DescribeErrorSummaryRequest) (response *DescribeErrorSummaryResponse, err error)
DescribeErrorSummary This API is used to query error summary information.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeErrorSummaryWithContext ¶
func (c *Client) DescribeErrorSummaryWithContext(ctx context.Context, request *DescribeErrorSummaryRequest) (response *DescribeErrorSummaryResponse, err error)
DescribeErrorSummary This API is used to query error summary information.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeFiles ¶
func (c *Client) DescribeFiles(request *DescribeFilesRequest) (response *DescribeFilesResponse, err error)
DescribeFiles This API is used to query file list.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeFilesWithContext ¶
func (c *Client) DescribeFilesWithContext(ctx context.Context, request *DescribeFilesRequest) (response *DescribeFilesResponse, err error)
DescribeFiles This API is used to query file list.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeJobs ¶
func (c *Client) DescribeJobs(request *DescribeJobsRequest) (response *DescribeJobsResponse, err error)
DescribeJobs This API is used to query job list.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeJobsWithContext ¶
func (c *Client) DescribeJobsWithContext(ctx context.Context, request *DescribeJobsRequest) (response *DescribeJobsResponse, err error)
DescribeJobs This API is used to query job list.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeLabelValues ¶
func (c *Client) DescribeLabelValues(request *DescribeLabelValuesRequest) (response *DescribeLabelValuesResponse, err error)
DescribeLabelValues This API is used to query label values.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeLabelValuesWithContext ¶
func (c *Client) DescribeLabelValuesWithContext(ctx context.Context, request *DescribeLabelValuesRequest) (response *DescribeLabelValuesResponse, err error)
DescribeLabelValues This API is used to query label values.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeMetricLabelWithValues ¶
func (c *Client) DescribeMetricLabelWithValues(request *DescribeMetricLabelWithValuesRequest) (response *DescribeMetricLabelWithValuesResponse, err error)
DescribeMetricLabelWithValues This API is used to query all labels and values of metrics
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeMetricLabelWithValuesWithContext ¶
func (c *Client) DescribeMetricLabelWithValuesWithContext(ctx context.Context, request *DescribeMetricLabelWithValuesRequest) (response *DescribeMetricLabelWithValuesResponse, err error)
DescribeMetricLabelWithValues This API is used to query all labels and values of metrics
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeNormalLogs ¶
func (c *Client) DescribeNormalLogs(request *DescribeNormalLogsRequest) (response *DescribeNormalLogsResponse, err error)
DescribeNormalLogs This API is used to query logs in performance testing, including engine logs and console logs.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeNormalLogsWithContext ¶
func (c *Client) DescribeNormalLogsWithContext(ctx context.Context, request *DescribeNormalLogsRequest) (response *DescribeNormalLogsResponse, err error)
DescribeNormalLogs This API is used to query logs in performance testing, including engine logs and console logs.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeProjects ¶
func (c *Client) DescribeProjects(request *DescribeProjectsRequest) (response *DescribeProjectsResponse, err error)
DescribeProjects The API is used to query project list.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeProjectsWithContext ¶
func (c *Client) DescribeProjectsWithContext(ctx context.Context, request *DescribeProjectsRequest) (response *DescribeProjectsResponse, err error)
DescribeProjects The API is used to query project list.
error code that may be returned:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" FAILEDOPERATION_SENDREQUEST = "FailedOperation.SendRequest" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeRegions ¶
func (c *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
DescribeRegions This API is used to query region list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeRegionsWithContext ¶
func (c *Client) DescribeRegionsWithContext(ctx context.Context, request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error)
DescribeRegions This API is used to query region list.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeRequestSummary ¶
func (c *Client) DescribeRequestSummary(request *DescribeRequestSummaryRequest) (response *DescribeRequestSummaryResponse, err error)
DescribeRequestSummary This API is used to query request summary information.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError"
func (*Client) DescribeRequestSummaryWithContext ¶
func (c *Client) DescribeRequestSummaryWithContext(ctx context.Context, request *DescribeRequestSummaryRequest) (response *DescribeRequestSummaryResponse, err error)
DescribeRequestSummary This API is used to query request summary information.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError"
func (*Client) DescribeSampleBatchQuery ¶
func (c *Client) DescribeSampleBatchQuery(request *DescribeSampleBatchQueryRequest) (response *DescribeSampleBatchQueryResponse, err error)
DescribeSampleBatchQuery This API is used to query metrics in batch and return metric content at a specific time point.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeSampleBatchQueryWithContext ¶
func (c *Client) DescribeSampleBatchQueryWithContext(ctx context.Context, request *DescribeSampleBatchQueryRequest) (response *DescribeSampleBatchQueryResponse, err error)
DescribeSampleBatchQuery This API is used to query metrics in batch and return metric content at a specific time point.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeSampleLogs ¶
func (c *Client) DescribeSampleLogs(request *DescribeSampleLogsRequest) (response *DescribeSampleLogsResponse, err error)
DescribeSampleLogs This API is used to query sampled request logs.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeSampleLogsWithContext ¶
func (c *Client) DescribeSampleLogsWithContext(ctx context.Context, request *DescribeSampleLogsRequest) (response *DescribeSampleLogsResponse, err error)
DescribeSampleLogs This API is used to query sampled request logs.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeSampleMatrixBatchQuery ¶
func (c *Client) DescribeSampleMatrixBatchQuery(request *DescribeSampleMatrixBatchQueryRequest) (response *DescribeSampleMatrixBatchQueryResponse, err error)
DescribeSampleMatrixBatchQuery This API is used to batch query metric matrices.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeSampleMatrixBatchQueryWithContext ¶
func (c *Client) DescribeSampleMatrixBatchQueryWithContext(ctx context.Context, request *DescribeSampleMatrixBatchQueryRequest) (response *DescribeSampleMatrixBatchQueryResponse, err error)
DescribeSampleMatrixBatchQuery This API is used to batch query metric matrices.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeSampleMatrixQuery ¶
func (c *Client) DescribeSampleMatrixQuery(request *DescribeSampleMatrixQueryRequest) (response *DescribeSampleMatrixQueryResponse, err error)
DescribeSampleMatrixQuery This API is used to query metric matrix.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError"
func (*Client) DescribeSampleMatrixQueryWithContext ¶
func (c *Client) DescribeSampleMatrixQueryWithContext(ctx context.Context, request *DescribeSampleMatrixQueryRequest) (response *DescribeSampleMatrixQueryResponse, err error)
DescribeSampleMatrixQuery This API is used to query metric matrix.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError"
func (*Client) DescribeSampleQuery ¶
func (c *Client) DescribeSampleQuery(request *DescribeSampleQueryRequest) (response *DescribeSampleQueryResponse, err error)
DescribeSampleQuery This API is used to query metrics and return metric content at a specific time point.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeSampleQueryWithContext ¶
func (c *Client) DescribeSampleQueryWithContext(ctx context.Context, request *DescribeSampleQueryRequest) (response *DescribeSampleQueryResponse, err error)
DescribeSampleQuery This API is used to query metrics and return metric content at a specific time point.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeScenarioWithJobs ¶
func (c *Client) DescribeScenarioWithJobs(request *DescribeScenarioWithJobsRequest) (response *DescribeScenarioWithJobsResponse, err error)
DescribeScenarioWithJobs This API is used to query scenarios with executed jobs.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeScenarioWithJobsWithContext ¶
func (c *Client) DescribeScenarioWithJobsWithContext(ctx context.Context, request *DescribeScenarioWithJobsRequest) (response *DescribeScenarioWithJobsResponse, err error)
DescribeScenarioWithJobs This API is used to query scenarios with executed jobs.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeScenarios ¶
func (c *Client) DescribeScenarios(request *DescribeScenariosRequest) (response *DescribeScenariosResponse, err error)
DescribeScenarios This API is used to query scenario list.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DescribeScenariosWithContext ¶
func (c *Client) DescribeScenariosWithContext(ctx context.Context, request *DescribeScenariosRequest) (response *DescribeScenariosResponse, err error)
DescribeScenarios This API is used to query scenario list.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GenerateTmpKey ¶
func (c *Client) GenerateTmpKey(request *GenerateTmpKeyRequest) (response *GenerateTmpKeyResponse, err error)
GenerateTmpKey This API is used to generate temporary COS credentials.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GenerateTmpKeyWithContext ¶
func (c *Client) GenerateTmpKeyWithContext(ctx context.Context, request *GenerateTmpKeyRequest) (response *GenerateTmpKeyResponse, err error)
GenerateTmpKey This API is used to generate temporary COS credentials.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) RestartCronJobs ¶
func (c *Client) RestartCronJobs(request *RestartCronJobsRequest) (response *RestartCronJobsResponse, err error)
RestartCronJobs This API is used to restart cron jobs that have been aborted.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) RestartCronJobsWithContext ¶
func (c *Client) RestartCronJobsWithContext(ctx context.Context, request *RestartCronJobsRequest) (response *RestartCronJobsResponse, err error)
RestartCronJobs This API is used to restart cron jobs that have been aborted.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) StartJob ¶
func (c *Client) StartJob(request *StartJobRequest) (response *StartJobResponse, err error)
StartJob This API is used to create and start test job.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_NOTASKSINJOB = "FailedOperation.NoTasksInJob" FAILEDOPERATION_NOTSUPPORTEDINENV = "FailedOperation.NotSupportedInEnv" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient"
func (*Client) StartJobWithContext ¶
func (c *Client) StartJobWithContext(ctx context.Context, request *StartJobRequest) (response *StartJobResponse, err error)
StartJob This API is used to create and start test job.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_NOTASKSINJOB = "FailedOperation.NoTasksInJob" FAILEDOPERATION_NOTSUPPORTEDINENV = "FailedOperation.NotSupportedInEnv" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" RESOURCEINSUFFICIENT = "ResourceInsufficient"
func (*Client) UpdateCronJob ¶
func (c *Client) UpdateCronJob(request *UpdateCronJobRequest) (response *UpdateCronJobResponse, err error)
UpdateCronJob This API is used to update a cron job.
error code that may be returned:
FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound"
func (*Client) UpdateCronJobWithContext ¶
func (c *Client) UpdateCronJobWithContext(ctx context.Context, request *UpdateCronJobRequest) (response *UpdateCronJobResponse, err error)
UpdateCronJob This API is used to update a cron job.
error code that may be returned:
FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound"
func (*Client) UpdateEnvironment ¶
func (c *Client) UpdateEnvironment(request *UpdateEnvironmentRequest) (response *UpdateEnvironmentResponse, err error)
UpdateEnvironment This API is used to update environments.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) UpdateEnvironmentWithContext ¶
func (c *Client) UpdateEnvironmentWithContext(ctx context.Context, request *UpdateEnvironmentRequest) (response *UpdateEnvironmentResponse, err error)
UpdateEnvironment This API is used to update environments.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) UpdateFileScenarioRelation ¶
func (c *Client) UpdateFileScenarioRelation(request *UpdateFileScenarioRelationRequest) (response *UpdateFileScenarioRelationResponse, err error)
UpdateFileScenarioRelation This API is used to update relation between files and scenarios.
error code that may be returned:
FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed"
func (*Client) UpdateFileScenarioRelationWithContext ¶
func (c *Client) UpdateFileScenarioRelationWithContext(ctx context.Context, request *UpdateFileScenarioRelationRequest) (response *UpdateFileScenarioRelationResponse, err error)
UpdateFileScenarioRelation This API is used to update relation between files and scenarios.
error code that may be returned:
FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed"
func (*Client) UpdateJob ¶
func (c *Client) UpdateJob(request *UpdateJobRequest) (response *UpdateJobResponse, err error)
UpdateJob This API is used to update a job.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) UpdateJobWithContext ¶
func (c *Client) UpdateJobWithContext(ctx context.Context, request *UpdateJobRequest) (response *UpdateJobResponse, err error)
UpdateJob This API is used to update a job.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) UpdateProject ¶
func (c *Client) UpdateProject(request *UpdateProjectRequest) (response *UpdateProjectResponse, err error)
UpdateProject This API is used to update a project.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) UpdateProjectWithContext ¶
func (c *Client) UpdateProjectWithContext(ctx context.Context, request *UpdateProjectRequest) (response *UpdateProjectResponse, err error)
UpdateProject This API is used to update a project.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCESSTAGFAIL = "FailedOperation.AccessTagFail" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) UpdateScenario ¶
func (c *Client) UpdateScenario(request *UpdateScenarioRequest) (response *UpdateScenarioResponse, err error)
UpdateScenario This API is used to update a scenario.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) UpdateScenarioWithContext ¶
func (c *Client) UpdateScenarioWithContext(ctx context.Context, request *UpdateScenarioRequest) (response *UpdateScenarioResponse, err error)
UpdateScenario This API is used to update a scenario.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DBQUERYFAILED = "FailedOperation.DbQueryFailed" FAILEDOPERATION_DBRECORDCREATEFAILED = "FailedOperation.DbRecordCreateFailed" FAILEDOPERATION_DBRECORDUPDATEFAILED = "FailedOperation.DbRecordUpdateFailed" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue"
type Concurrency ¶
type Concurrency struct { // Array of multi-stage configuration. // // Note: This field may return null, indicating that no valid value is found. Stages []*Stage `json:"Stages,omitnil,omitempty" name:"Stages"` // Number of iteration. // // Note: This field may return null, indicating that no valid value is found. IterationCount *int64 `json:"IterationCount,omitnil,omitempty" name:"IterationCount"` // Maximum rps. // // Note: This field may return null, indicating that no valid value is found. MaxRequestsPerSecond *int64 `json:"MaxRequestsPerSecond,omitnil,omitempty" name:"MaxRequestsPerSecond"` // Graceful termination job waiting time. // // Note: This field may return null, indicating that no valid value is found. GracefulStopSeconds *int64 `json:"GracefulStopSeconds,omitnil,omitempty" name:"GracefulStopSeconds"` // Number of resource. // // Note: This field may return null, indicating that no valid value is found. Resources *int64 `json:"Resources,omitnil,omitempty" name:"Resources"` }
type CopyScenarioRequest ¶
type CopyScenarioRequest struct { *tchttp.BaseRequest // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` }
func NewCopyScenarioRequest ¶
func NewCopyScenarioRequest() (request *CopyScenarioRequest)
func (*CopyScenarioRequest) FromJsonString ¶
func (r *CopyScenarioRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CopyScenarioRequest) ToJsonString ¶
func (r *CopyScenarioRequest) ToJsonString() string
type CopyScenarioRequestParams ¶
type CopyScenarioRequestParams struct { // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` }
Predefined struct for user
type CopyScenarioResponse ¶
type CopyScenarioResponse struct { *tchttp.BaseResponse Response *CopyScenarioResponseParams `json:"Response"` }
func NewCopyScenarioResponse ¶
func NewCopyScenarioResponse() (response *CopyScenarioResponse)
func (*CopyScenarioResponse) FromJsonString ¶
func (r *CopyScenarioResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CopyScenarioResponse) ToJsonString ¶
func (r *CopyScenarioResponse) ToJsonString() string
type CopyScenarioResponseParams ¶
type CopyScenarioResponseParams struct { // Newly copied scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateAlertChannelRequest ¶
type CreateAlertChannelRequest struct { *tchttp.BaseRequest // The NoticeId of alarm notification template in the monitor service, can be obtained from the Id field in the response of the DescribeAlarmNotices API of the monitor service's cloud API. (In the input parameters of the CreateAlertChannel API, either AMPConsumerId or NoticeId can be used to identify an alarm notification template.) NoticeId *string `json:"NoticeId,omitnil,omitempty" name:"NoticeId"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // The AMPConsumerId of alarm notification template for monitor service, can be obtained from the AMPConsumerId field in the response of the DescribeAlarmNotices API of the monitor service's cloud API. (In the input parameters of the CreateAlertChannel API, either AMPConsumerId or Noticeid can be used to identify an alarm notification template.) AMPConsumerId *string `json:"AMPConsumerId,omitnil,omitempty" name:"AMPConsumerId"` }
func NewCreateAlertChannelRequest ¶
func NewCreateAlertChannelRequest() (request *CreateAlertChannelRequest)
func (*CreateAlertChannelRequest) FromJsonString ¶
func (r *CreateAlertChannelRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAlertChannelRequest) ToJsonString ¶
func (r *CreateAlertChannelRequest) ToJsonString() string
type CreateAlertChannelRequestParams ¶
type CreateAlertChannelRequestParams struct { // The NoticeId of alarm notification template in the monitor service, can be obtained from the Id field in the response of the DescribeAlarmNotices API of the monitor service's cloud API. (In the input parameters of the CreateAlertChannel API, either AMPConsumerId or NoticeId can be used to identify an alarm notification template.) NoticeId *string `json:"NoticeId,omitnil,omitempty" name:"NoticeId"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // The AMPConsumerId of alarm notification template for monitor service, can be obtained from the AMPConsumerId field in the response of the DescribeAlarmNotices API of the monitor service's cloud API. (In the input parameters of the CreateAlertChannel API, either AMPConsumerId or Noticeid can be used to identify an alarm notification template.) AMPConsumerId *string `json:"AMPConsumerId,omitnil,omitempty" name:"AMPConsumerId"` }
Predefined struct for user
type CreateAlertChannelResponse ¶
type CreateAlertChannelResponse struct { *tchttp.BaseResponse Response *CreateAlertChannelResponseParams `json:"Response"` }
func NewCreateAlertChannelResponse ¶
func NewCreateAlertChannelResponse() (response *CreateAlertChannelResponse)
func (*CreateAlertChannelResponse) FromJsonString ¶
func (r *CreateAlertChannelResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAlertChannelResponse) ToJsonString ¶
func (r *CreateAlertChannelResponse) ToJsonString() string
type CreateAlertChannelResponseParams ¶
type CreateAlertChannelResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCronJobRequest ¶
type CreateCronJobRequest struct { *tchttp.BaseRequest // Name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Scenario name. ScenarioName *string `json:"ScenarioName,omitnil,omitempty" name:"ScenarioName"` // Execution frequency type: 1, execute once only; 2, Daily; 3, Weekly; 4, Advanced mode using cron expression. FrequencyType *int64 `json:"FrequencyType,omitnil,omitempty" name:"FrequencyType"` // Cron expression. CronExpression *string `json:"CronExpression,omitnil,omitempty" name:"CronExpression"` // Cron job initiator. JobOwner *string `json:"JobOwner,omitnil,omitempty" name:"JobOwner"` // End time. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Notice ID. NoticeId *string `json:"NoticeId,omitnil,omitempty" name:"NoticeId"` // Note. Note *string `json:"Note,omitnil,omitempty" name:"Note"` }
func NewCreateCronJobRequest ¶
func NewCreateCronJobRequest() (request *CreateCronJobRequest)
func (*CreateCronJobRequest) FromJsonString ¶
func (r *CreateCronJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCronJobRequest) ToJsonString ¶
func (r *CreateCronJobRequest) ToJsonString() string
type CreateCronJobRequestParams ¶
type CreateCronJobRequestParams struct { // Name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Scenario name. ScenarioName *string `json:"ScenarioName,omitnil,omitempty" name:"ScenarioName"` // Execution frequency type: 1, execute once only; 2, Daily; 3, Weekly; 4, Advanced mode using cron expression. FrequencyType *int64 `json:"FrequencyType,omitnil,omitempty" name:"FrequencyType"` // Cron expression. CronExpression *string `json:"CronExpression,omitnil,omitempty" name:"CronExpression"` // Cron job initiator. JobOwner *string `json:"JobOwner,omitnil,omitempty" name:"JobOwner"` // End time. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Notice ID. NoticeId *string `json:"NoticeId,omitnil,omitempty" name:"NoticeId"` // Note. Note *string `json:"Note,omitnil,omitempty" name:"Note"` }
Predefined struct for user
type CreateCronJobResponse ¶
type CreateCronJobResponse struct { *tchttp.BaseResponse Response *CreateCronJobResponseParams `json:"Response"` }
func NewCreateCronJobResponse ¶
func NewCreateCronJobResponse() (response *CreateCronJobResponse)
func (*CreateCronJobResponse) FromJsonString ¶
func (r *CreateCronJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCronJobResponse) ToJsonString ¶
func (r *CreateCronJobResponse) ToJsonString() string
type CreateCronJobResponseParams ¶
type CreateCronJobResponseParams struct { // Cron job ID. CronJobId *string `json:"CronJobId,omitnil,omitempty" name:"CronJobId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateEnvironmentRequest ¶
type CreateEnvironmentRequest struct {
*tchttp.BaseRequest
}
func NewCreateEnvironmentRequest ¶
func NewCreateEnvironmentRequest() (request *CreateEnvironmentRequest)
func (*CreateEnvironmentRequest) FromJsonString ¶
func (r *CreateEnvironmentRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateEnvironmentRequest) ToJsonString ¶
func (r *CreateEnvironmentRequest) ToJsonString() string
type CreateEnvironmentRequestParams ¶
type CreateEnvironmentRequestParams struct { }
Predefined struct for user
type CreateEnvironmentResponse ¶
type CreateEnvironmentResponse struct { *tchttp.BaseResponse Response *CreateEnvironmentResponseParams `json:"Response"` }
func NewCreateEnvironmentResponse ¶
func NewCreateEnvironmentResponse() (response *CreateEnvironmentResponse)
func (*CreateEnvironmentResponse) FromJsonString ¶
func (r *CreateEnvironmentResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateEnvironmentResponse) ToJsonString ¶
func (r *CreateEnvironmentResponse) ToJsonString() string
type CreateEnvironmentResponseParams ¶
type CreateEnvironmentResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateFileRequest ¶
type CreateFileRequest struct { *tchttp.BaseRequest // File ID. Its value should be the corresponding directory of the file in the COS bucket after it has been uploaded in the previous step. FileId *string `json:"FileId,omitnil,omitempty" name:"FileId"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // File type. 1 represents parameter file, 2 represents protocol file, 3 represents request file. Kind *int64 `json:"Kind,omitnil,omitempty" name:"Kind"` // Filename. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // File size. Size *int64 `json:"Size,omitnil,omitempty" name:"Size"` // File type. The 'folder' represents a folder; if not specified, it represents a file. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Number of Rows. LineCount *int64 `json:"LineCount,omitnil,omitempty" name:"LineCount"` // First few rows of file. HeadLines []*string `json:"HeadLines,omitnil,omitempty" name:"HeadLines"` // Last few rows of file. TailLines []*string `json:"TailLines,omitnil,omitempty" name:"TailLines"` // Whether the header is in the file. HeaderInFile *bool `json:"HeaderInFile,omitnil,omitempty" name:"HeaderInFile"` // Header. HeaderColumns []*string `json:"HeaderColumns,omitnil,omitempty" name:"HeaderColumns"` // Files in the folder. FileInfos []*FileInfo `json:"FileInfos,omitnil,omitempty" name:"FileInfos"` }
func NewCreateFileRequest ¶
func NewCreateFileRequest() (request *CreateFileRequest)
func (*CreateFileRequest) FromJsonString ¶
func (r *CreateFileRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateFileRequest) ToJsonString ¶
func (r *CreateFileRequest) ToJsonString() string
type CreateFileRequestParams ¶
type CreateFileRequestParams struct { // File ID. Its value should be the corresponding directory of the file in the COS bucket after it has been uploaded in the previous step. FileId *string `json:"FileId,omitnil,omitempty" name:"FileId"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // File type. 1 represents parameter file, 2 represents protocol file, 3 represents request file. Kind *int64 `json:"Kind,omitnil,omitempty" name:"Kind"` // Filename. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // File size. Size *int64 `json:"Size,omitnil,omitempty" name:"Size"` // File type. The 'folder' represents a folder; if not specified, it represents a file. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Number of Rows. LineCount *int64 `json:"LineCount,omitnil,omitempty" name:"LineCount"` // First few rows of file. HeadLines []*string `json:"HeadLines,omitnil,omitempty" name:"HeadLines"` // Last few rows of file. TailLines []*string `json:"TailLines,omitnil,omitempty" name:"TailLines"` // Whether the header is in the file. HeaderInFile *bool `json:"HeaderInFile,omitnil,omitempty" name:"HeaderInFile"` // Header. HeaderColumns []*string `json:"HeaderColumns,omitnil,omitempty" name:"HeaderColumns"` // Files in the folder. FileInfos []*FileInfo `json:"FileInfos,omitnil,omitempty" name:"FileInfos"` }
Predefined struct for user
type CreateFileResponse ¶
type CreateFileResponse struct { *tchttp.BaseResponse Response *CreateFileResponseParams `json:"Response"` }
func NewCreateFileResponse ¶
func NewCreateFileResponse() (response *CreateFileResponse)
func (*CreateFileResponse) FromJsonString ¶
func (r *CreateFileResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateFileResponse) ToJsonString ¶
func (r *CreateFileResponse) ToJsonString() string
type CreateFileResponseParams ¶
type CreateFileResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateProjectRequest ¶
type CreateProjectRequest struct { *tchttp.BaseRequest // Project name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Project description. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Array of tags. Tags []*TagSpec `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewCreateProjectRequest ¶
func NewCreateProjectRequest() (request *CreateProjectRequest)
func (*CreateProjectRequest) FromJsonString ¶
func (r *CreateProjectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProjectRequest) ToJsonString ¶
func (r *CreateProjectRequest) ToJsonString() string
type CreateProjectRequestParams ¶
type CreateProjectRequestParams struct { // Project name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Project description. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Array of tags. Tags []*TagSpec `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type CreateProjectResponse ¶
type CreateProjectResponse struct { *tchttp.BaseResponse Response *CreateProjectResponseParams `json:"Response"` }
func NewCreateProjectResponse ¶
func NewCreateProjectResponse() (response *CreateProjectResponse)
func (*CreateProjectResponse) FromJsonString ¶
func (r *CreateProjectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProjectResponse) ToJsonString ¶
func (r *CreateProjectResponse) ToJsonString() string
type CreateProjectResponseParams ¶
type CreateProjectResponseParams struct { // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateScenarioRequest ¶
type CreateScenarioRequest struct { *tchttp.BaseRequest // Scenario Name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Mode type of scenario. Valid values: 'pts-http' represents the simple mode, 'pts-js' represents the script mode, 'pts-jmeter' represents the JMeter mode. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario description. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Load configuration. Load *Load `json:"Load,omitnil,omitempty" name:"Load"` // Deprecated. Configs []*string `json:"Configs,omitnil,omitempty" name:"Configs"` // Test datasets. Datasets []*TestData `json:"Datasets,omitnil,omitempty" name:"Datasets"` // Deprecated. Extensions []*string `json:"Extensions,omitnil,omitempty" name:"Extensions"` // Deprecated. SLAId *string `json:"SLAId,omitnil,omitempty" name:"SLAId"` // Cron job ID. CronId *string `json:"CronId,omitnil,omitempty" name:"CronId"` // Deprecated, Scripts []*string `json:"Scripts,omitnil,omitempty" name:"Scripts"` // Test scripts. TestScripts []*ScriptInfo `json:"TestScripts,omitnil,omitempty" name:"TestScripts"` // Protocol files. Protocols []*ProtocolInfo `json:"Protocols,omitnil,omitempty" name:"Protocols"` // Request files. RequestFiles []*FileInfo `json:"RequestFiles,omitnil,omitempty" name:"RequestFiles"` // SLA policy. SLAPolicy *SLAPolicy `json:"SLAPolicy,omitnil,omitempty" name:"SLAPolicy"` // Extension plugin files. Plugins []*FileInfo `json:"Plugins,omitnil,omitempty" name:"Plugins"` // Domain name resolution configuration. DomainNameConfig *DomainNameConfig `json:"DomainNameConfig,omitnil,omitempty" name:"DomainNameConfig"` // Creator name. Owner *string `json:"Owner,omitnil,omitempty" name:"Owner"` }
func NewCreateScenarioRequest ¶
func NewCreateScenarioRequest() (request *CreateScenarioRequest)
func (*CreateScenarioRequest) FromJsonString ¶
func (r *CreateScenarioRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateScenarioRequest) ToJsonString ¶
func (r *CreateScenarioRequest) ToJsonString() string
type CreateScenarioRequestParams ¶
type CreateScenarioRequestParams struct { // Scenario Name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Mode type of scenario. Valid values: 'pts-http' represents the simple mode, 'pts-js' represents the script mode, 'pts-jmeter' represents the JMeter mode. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario description. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Load configuration. Load *Load `json:"Load,omitnil,omitempty" name:"Load"` // Deprecated. Configs []*string `json:"Configs,omitnil,omitempty" name:"Configs"` // Test datasets. Datasets []*TestData `json:"Datasets,omitnil,omitempty" name:"Datasets"` // Deprecated. Extensions []*string `json:"Extensions,omitnil,omitempty" name:"Extensions"` // Deprecated. SLAId *string `json:"SLAId,omitnil,omitempty" name:"SLAId"` // Cron job ID. CronId *string `json:"CronId,omitnil,omitempty" name:"CronId"` // Deprecated, Scripts []*string `json:"Scripts,omitnil,omitempty" name:"Scripts"` // Test scripts. TestScripts []*ScriptInfo `json:"TestScripts,omitnil,omitempty" name:"TestScripts"` // Protocol files. Protocols []*ProtocolInfo `json:"Protocols,omitnil,omitempty" name:"Protocols"` // Request files. RequestFiles []*FileInfo `json:"RequestFiles,omitnil,omitempty" name:"RequestFiles"` // SLA policy. SLAPolicy *SLAPolicy `json:"SLAPolicy,omitnil,omitempty" name:"SLAPolicy"` // Extension plugin files. Plugins []*FileInfo `json:"Plugins,omitnil,omitempty" name:"Plugins"` // Domain name resolution configuration. DomainNameConfig *DomainNameConfig `json:"DomainNameConfig,omitnil,omitempty" name:"DomainNameConfig"` // Creator name. Owner *string `json:"Owner,omitnil,omitempty" name:"Owner"` }
Predefined struct for user
type CreateScenarioResponse ¶
type CreateScenarioResponse struct { *tchttp.BaseResponse Response *CreateScenarioResponseParams `json:"Response"` }
func NewCreateScenarioResponse ¶
func NewCreateScenarioResponse() (response *CreateScenarioResponse)
func (*CreateScenarioResponse) FromJsonString ¶
func (r *CreateScenarioResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateScenarioResponse) ToJsonString ¶
func (r *CreateScenarioResponse) ToJsonString() string
type CreateScenarioResponseParams ¶
type CreateScenarioResponseParams struct { // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Credentials ¶
type Credentials struct { // Temporary secret ID. TmpSecretId *string `json:"TmpSecretId,omitnil,omitempty" name:"TmpSecretId"` // Temporary secret key. TmpSecretKey *string `json:"TmpSecretKey,omitnil,omitempty" name:"TmpSecretKey"` // Temporary token. Token *string `json:"Token,omitnil,omitempty" name:"Token"` }
type CronJob ¶
type CronJob struct { // Cron job ID. // // Note: This field may return null, indicating that no valid value is found. CronJobId *string `json:"CronJobId,omitnil,omitempty" name:"CronJobId"` // Cron job name. // // Note: This field may return null, indicating that no valid value is found. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Project ID. // // Note: This field may return null, indicating that no valid value is found. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario ID. // // Note: This field may return null, indicating that no valid value is found. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Scenario name. // // Note: This field may return null, indicating that no valid value is found. ScenarioName *string `json:"ScenarioName,omitnil,omitempty" name:"ScenarioName"` // Cron expression. // // Note: This field may return null, indicating that no valid value is found. CronExpression *string `json:"CronExpression,omitnil,omitempty" name:"CronExpression"` // End time. // // Note: This field may return null, indicating that no valid value is found. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Abort reason. // // Note: This field may return null, indicating that no valid value is found. AbortReason *int64 `json:"AbortReason,omitnil,omitempty" name:"AbortReason"` // Cron job status. // // Note: This field may return null, indicating that no valid value is found. Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Notice ID. // // Note: This field may return null, indicating that no valid value is found. NoticeId *string `json:"NoticeId,omitnil,omitempty" name:"NoticeId"` // Create time. // // Note: This field may return null, indicating that no valid value is found. CreatedAt *string `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"` // Update time. // // Note: This field may return null, indicating that no valid value is found. UpdatedAt *string `json:"UpdatedAt,omitnil,omitempty" name:"UpdatedAt"` // Execution frequency type: 1, execute once only; 2, Daily; 3, Weekly; 4, Advanced mode using cron expression. // // Note: This field may return null, indicating that no valid value is found. FrequencyType *int64 `json:"FrequencyType,omitnil,omitempty" name:"FrequencyType"` // Note. // // Note: This field may return null, indicating that no valid value is found. Note *string `json:"Note,omitnil,omitempty" name:"Note"` // Cron job initiator. // // Note: This field may return null, indicating that no valid value is found. JobOwner *string `json:"JobOwner,omitnil,omitempty" name:"JobOwner"` // App ID. // // Note: This field may return null, indicating that no valid value is found. AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // Account uin. // // Note: This field may return null, indicating that no valid value is found. Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // Sub account uin. // // Note: This field may return null, indicating that no valid value is found. SubAccountUin *string `json:"SubAccountUin,omitnil,omitempty" name:"SubAccountUin"` }
type CustomSample ¶
type CustomSample struct { // Metric name. Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"` // Aggregation condition. Aggregation *string `json:"Aggregation,omitnil,omitempty" name:"Aggregation"` // Label filter. // // Note: This field may return null, indicating that no valid value is found. Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"` // Value obtained from the query. Value *float64 `json:"Value,omitnil,omitempty" name:"Value"` // Time is the number of milliseconds since the epoch (1970-01-01 00:00 UTC) excluding leap seconds. Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"` // Unit corresponding to the metric, including s(second), bytes, bytes/s, reqs, reqs/s, checks, checks/s, iters, iters/s, VUs, %. Unit *string `json:"Unit,omitnil,omitempty" name:"Unit"` // Metric name in PTS. // // Note: This field may return null, indicating that no valid value is found. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
type CustomSampleMatrix ¶
type CustomSampleMatrix struct { // Metric name. Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"` // Aggregation function. Aggregation *string `json:"Aggregation,omitnil,omitempty" name:"Aggregation"` // Metric unit. // // Note: This field may return null, indicating that no valid value is found. Unit *string `json:"Unit,omitnil,omitempty" name:"Unit"` // Metric sequence array. // // Note: This field may return null, indicating that no valid value is found. Streams []*SampleStream `json:"Streams,omitnil,omitempty" name:"Streams"` }
type DNSConfig ¶
type DNSConfig struct { // DNS IP list. // // Note: This field may return null, indicating that no valid value is found. Nameservers []*string `json:"Nameservers,omitnil,omitempty" name:"Nameservers"` }
type DeleteAlertChannelRequest ¶
type DeleteAlertChannelRequest struct { *tchttp.BaseRequest // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Notice ID of the notification channel to be deleted. NoticeId *string `json:"NoticeId,omitnil,omitempty" name:"NoticeId"` }
func NewDeleteAlertChannelRequest ¶
func NewDeleteAlertChannelRequest() (request *DeleteAlertChannelRequest)
func (*DeleteAlertChannelRequest) FromJsonString ¶
func (r *DeleteAlertChannelRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAlertChannelRequest) ToJsonString ¶
func (r *DeleteAlertChannelRequest) ToJsonString() string
type DeleteAlertChannelRequestParams ¶
type DeleteAlertChannelRequestParams struct { // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Notice ID of the notification channel to be deleted. NoticeId *string `json:"NoticeId,omitnil,omitempty" name:"NoticeId"` }
Predefined struct for user
type DeleteAlertChannelResponse ¶
type DeleteAlertChannelResponse struct { *tchttp.BaseResponse Response *DeleteAlertChannelResponseParams `json:"Response"` }
func NewDeleteAlertChannelResponse ¶
func NewDeleteAlertChannelResponse() (response *DeleteAlertChannelResponse)
func (*DeleteAlertChannelResponse) FromJsonString ¶
func (r *DeleteAlertChannelResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAlertChannelResponse) ToJsonString ¶
func (r *DeleteAlertChannelResponse) ToJsonString() string
type DeleteAlertChannelResponseParams ¶
type DeleteAlertChannelResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteCronJobsRequest ¶
type DeleteCronJobsRequest struct { *tchttp.BaseRequest // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Array of CronJob ID. CronJobIds []*string `json:"CronJobIds,omitnil,omitempty" name:"CronJobIds"` }
func NewDeleteCronJobsRequest ¶
func NewDeleteCronJobsRequest() (request *DeleteCronJobsRequest)
func (*DeleteCronJobsRequest) FromJsonString ¶
func (r *DeleteCronJobsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCronJobsRequest) ToJsonString ¶
func (r *DeleteCronJobsRequest) ToJsonString() string
type DeleteCronJobsRequestParams ¶
type DeleteCronJobsRequestParams struct { // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Array of CronJob ID. CronJobIds []*string `json:"CronJobIds,omitnil,omitempty" name:"CronJobIds"` }
Predefined struct for user
type DeleteCronJobsResponse ¶
type DeleteCronJobsResponse struct { *tchttp.BaseResponse Response *DeleteCronJobsResponseParams `json:"Response"` }
func NewDeleteCronJobsResponse ¶
func NewDeleteCronJobsResponse() (response *DeleteCronJobsResponse)
func (*DeleteCronJobsResponse) FromJsonString ¶
func (r *DeleteCronJobsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCronJobsResponse) ToJsonString ¶
func (r *DeleteCronJobsResponse) ToJsonString() string
type DeleteCronJobsResponseParams ¶
type DeleteCronJobsResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteEnvironmentsRequest ¶
type DeleteEnvironmentsRequest struct {
*tchttp.BaseRequest
}
func NewDeleteEnvironmentsRequest ¶
func NewDeleteEnvironmentsRequest() (request *DeleteEnvironmentsRequest)
func (*DeleteEnvironmentsRequest) FromJsonString ¶
func (r *DeleteEnvironmentsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteEnvironmentsRequest) ToJsonString ¶
func (r *DeleteEnvironmentsRequest) ToJsonString() string
type DeleteEnvironmentsRequestParams ¶
type DeleteEnvironmentsRequestParams struct { }
Predefined struct for user
type DeleteEnvironmentsResponse ¶
type DeleteEnvironmentsResponse struct { *tchttp.BaseResponse Response *DeleteEnvironmentsResponseParams `json:"Response"` }
func NewDeleteEnvironmentsResponse ¶
func NewDeleteEnvironmentsResponse() (response *DeleteEnvironmentsResponse)
func (*DeleteEnvironmentsResponse) FromJsonString ¶
func (r *DeleteEnvironmentsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteEnvironmentsResponse) ToJsonString ¶
func (r *DeleteEnvironmentsResponse) ToJsonString() string
type DeleteEnvironmentsResponseParams ¶
type DeleteEnvironmentsResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteFilesRequest ¶
type DeleteFilesRequest struct { *tchttp.BaseRequest // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Array of File ID to be deleted. FileIds []*string `json:"FileIds,omitnil,omitempty" name:"FileIds"` }
func NewDeleteFilesRequest ¶
func NewDeleteFilesRequest() (request *DeleteFilesRequest)
func (*DeleteFilesRequest) FromJsonString ¶
func (r *DeleteFilesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteFilesRequest) ToJsonString ¶
func (r *DeleteFilesRequest) ToJsonString() string
type DeleteFilesRequestParams ¶
type DeleteFilesRequestParams struct { // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Array of File ID to be deleted. FileIds []*string `json:"FileIds,omitnil,omitempty" name:"FileIds"` }
Predefined struct for user
type DeleteFilesResponse ¶
type DeleteFilesResponse struct { *tchttp.BaseResponse Response *DeleteFilesResponseParams `json:"Response"` }
func NewDeleteFilesResponse ¶
func NewDeleteFilesResponse() (response *DeleteFilesResponse)
func (*DeleteFilesResponse) FromJsonString ¶
func (r *DeleteFilesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteFilesResponse) ToJsonString ¶
func (r *DeleteFilesResponse) ToJsonString() string
type DeleteFilesResponseParams ¶
type DeleteFilesResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteJobsRequest ¶
type DeleteJobsRequest struct { *tchttp.BaseRequest // Array of Job ID to be deleted. JobIds []*string `json:"JobIds,omitnil,omitempty" name:"JobIds"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Array of Scenario ID. ScenarioIds []*string `json:"ScenarioIds,omitnil,omitempty" name:"ScenarioIds"` }
func NewDeleteJobsRequest ¶
func NewDeleteJobsRequest() (request *DeleteJobsRequest)
func (*DeleteJobsRequest) FromJsonString ¶
func (r *DeleteJobsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteJobsRequest) ToJsonString ¶
func (r *DeleteJobsRequest) ToJsonString() string
type DeleteJobsRequestParams ¶
type DeleteJobsRequestParams struct { // Array of Job ID to be deleted. JobIds []*string `json:"JobIds,omitnil,omitempty" name:"JobIds"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Array of Scenario ID. ScenarioIds []*string `json:"ScenarioIds,omitnil,omitempty" name:"ScenarioIds"` }
Predefined struct for user
type DeleteJobsResponse ¶
type DeleteJobsResponse struct { *tchttp.BaseResponse Response *DeleteJobsResponseParams `json:"Response"` }
func NewDeleteJobsResponse ¶
func NewDeleteJobsResponse() (response *DeleteJobsResponse)
func (*DeleteJobsResponse) FromJsonString ¶
func (r *DeleteJobsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteJobsResponse) ToJsonString ¶
func (r *DeleteJobsResponse) ToJsonString() string
type DeleteJobsResponseParams ¶
type DeleteJobsResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteProjectsRequest ¶
type DeleteProjectsRequest struct { *tchttp.BaseRequest // Array of Project ID to be deleted. ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"` // Whether to delete project-related scenarios. The default value is false. DeleteScenarios *bool `json:"DeleteScenarios,omitnil,omitempty" name:"DeleteScenarios"` // Whether to delete project-related jobs. The default value is false. DeleteJobs *bool `json:"DeleteJobs,omitnil,omitempty" name:"DeleteJobs"` }
func NewDeleteProjectsRequest ¶
func NewDeleteProjectsRequest() (request *DeleteProjectsRequest)
func (*DeleteProjectsRequest) FromJsonString ¶
func (r *DeleteProjectsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteProjectsRequest) ToJsonString ¶
func (r *DeleteProjectsRequest) ToJsonString() string
type DeleteProjectsRequestParams ¶
type DeleteProjectsRequestParams struct { // Array of Project ID to be deleted. ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"` // Whether to delete project-related scenarios. The default value is false. DeleteScenarios *bool `json:"DeleteScenarios,omitnil,omitempty" name:"DeleteScenarios"` // Whether to delete project-related jobs. The default value is false. DeleteJobs *bool `json:"DeleteJobs,omitnil,omitempty" name:"DeleteJobs"` }
Predefined struct for user
type DeleteProjectsResponse ¶
type DeleteProjectsResponse struct { *tchttp.BaseResponse Response *DeleteProjectsResponseParams `json:"Response"` }
func NewDeleteProjectsResponse ¶
func NewDeleteProjectsResponse() (response *DeleteProjectsResponse)
func (*DeleteProjectsResponse) FromJsonString ¶
func (r *DeleteProjectsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteProjectsResponse) ToJsonString ¶
func (r *DeleteProjectsResponse) ToJsonString() string
type DeleteProjectsResponseParams ¶
type DeleteProjectsResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteScenariosRequest ¶
type DeleteScenariosRequest struct { *tchttp.BaseRequest // Array of Scenario ID to be deleted. ScenarioIds []*string `json:"ScenarioIds,omitnil,omitempty" name:"ScenarioIds"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Whether to delete scene-related jobs. The default value is false. DeleteJobs *bool `json:"DeleteJobs,omitnil,omitempty" name:"DeleteJobs"` }
func NewDeleteScenariosRequest ¶
func NewDeleteScenariosRequest() (request *DeleteScenariosRequest)
func (*DeleteScenariosRequest) FromJsonString ¶
func (r *DeleteScenariosRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteScenariosRequest) ToJsonString ¶
func (r *DeleteScenariosRequest) ToJsonString() string
type DeleteScenariosRequestParams ¶
type DeleteScenariosRequestParams struct { // Array of Scenario ID to be deleted. ScenarioIds []*string `json:"ScenarioIds,omitnil,omitempty" name:"ScenarioIds"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Whether to delete scene-related jobs. The default value is false. DeleteJobs *bool `json:"DeleteJobs,omitnil,omitempty" name:"DeleteJobs"` }
Predefined struct for user
type DeleteScenariosResponse ¶
type DeleteScenariosResponse struct { *tchttp.BaseResponse Response *DeleteScenariosResponseParams `json:"Response"` }
func NewDeleteScenariosResponse ¶
func NewDeleteScenariosResponse() (response *DeleteScenariosResponse)
func (*DeleteScenariosResponse) FromJsonString ¶
func (r *DeleteScenariosResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteScenariosResponse) ToJsonString ¶
func (r *DeleteScenariosResponse) ToJsonString() string
type DeleteScenariosResponseParams ¶
type DeleteScenariosResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAlertChannelsRequest ¶
type DescribeAlertChannelsRequest struct { *tchttp.BaseRequest // Array of Project ID. ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"` // Offset. Default value is 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returns, default is 20, maximum is 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Array of Notice ID. NoticeIds []*string `json:"NoticeIds,omitnil,omitempty" name:"NoticeIds"` // Column for sorting. OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // Whether in ascending order. Ascend *bool `json:"Ascend,omitnil,omitempty" name:"Ascend"` }
func NewDescribeAlertChannelsRequest ¶
func NewDescribeAlertChannelsRequest() (request *DescribeAlertChannelsRequest)
func (*DescribeAlertChannelsRequest) FromJsonString ¶
func (r *DescribeAlertChannelsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlertChannelsRequest) ToJsonString ¶
func (r *DescribeAlertChannelsRequest) ToJsonString() string
type DescribeAlertChannelsRequestParams ¶
type DescribeAlertChannelsRequestParams struct { // Array of Project ID. ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"` // Offset. Default value is 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returns, default is 20, maximum is 100. Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Array of Notice ID. NoticeIds []*string `json:"NoticeIds,omitnil,omitempty" name:"NoticeIds"` // Column for sorting. OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // Whether in ascending order. Ascend *bool `json:"Ascend,omitnil,omitempty" name:"Ascend"` }
Predefined struct for user
type DescribeAlertChannelsResponse ¶
type DescribeAlertChannelsResponse struct { *tchttp.BaseResponse Response *DescribeAlertChannelsResponseParams `json:"Response"` }
func NewDescribeAlertChannelsResponse ¶
func NewDescribeAlertChannelsResponse() (response *DescribeAlertChannelsResponse)
func (*DescribeAlertChannelsResponse) FromJsonString ¶
func (r *DescribeAlertChannelsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlertChannelsResponse) ToJsonString ¶
func (r *DescribeAlertChannelsResponse) ToJsonString() string
type DescribeAlertChannelsResponseParams ¶
type DescribeAlertChannelsResponseParams struct { // Alarm recipient groups list. // // Note: This field may return null, indicating that no valid value is found. AlertChannelSet []*AlertChannelRecord `json:"AlertChannelSet,omitnil,omitempty" name:"AlertChannelSet"` // Number of alarm recipient groups. // // Note: This field may return null, indicating that no valid value is found. Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAlertRecordsRequest ¶
type DescribeAlertRecordsRequest struct { *tchttp.BaseRequest // Array of Project ID. ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"` // Array of Scenario ID. ScenarioIds []*string `json:"ScenarioIds,omitnil,omitempty" name:"ScenarioIds"` // Array of Job ID. JobIds []*string `json:"JobIds,omitnil,omitempty" name:"JobIds"` // Whether in ascending order. Ascend *bool `json:"Ascend,omitnil,omitempty" name:"Ascend"` // Column for sorting. OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // Offset. Default value is 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returns. Default value is 20, maximum is 100 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Filter by Scenario names. ScenarioNames []*string `json:"ScenarioNames,omitnil,omitempty" name:"ScenarioNames"` }
func NewDescribeAlertRecordsRequest ¶
func NewDescribeAlertRecordsRequest() (request *DescribeAlertRecordsRequest)
func (*DescribeAlertRecordsRequest) FromJsonString ¶
func (r *DescribeAlertRecordsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlertRecordsRequest) ToJsonString ¶
func (r *DescribeAlertRecordsRequest) ToJsonString() string
type DescribeAlertRecordsRequestParams ¶
type DescribeAlertRecordsRequestParams struct { // Array of Project ID. ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"` // Array of Scenario ID. ScenarioIds []*string `json:"ScenarioIds,omitnil,omitempty" name:"ScenarioIds"` // Array of Job ID. JobIds []*string `json:"JobIds,omitnil,omitempty" name:"JobIds"` // Whether in ascending order. Ascend *bool `json:"Ascend,omitnil,omitempty" name:"Ascend"` // Column for sorting. OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // Offset. Default value is 0. Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returns. Default value is 20, maximum is 100 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Filter by Scenario names. ScenarioNames []*string `json:"ScenarioNames,omitnil,omitempty" name:"ScenarioNames"` }
Predefined struct for user
type DescribeAlertRecordsResponse ¶
type DescribeAlertRecordsResponse struct { *tchttp.BaseResponse Response *DescribeAlertRecordsResponseParams `json:"Response"` }
func NewDescribeAlertRecordsResponse ¶
func NewDescribeAlertRecordsResponse() (response *DescribeAlertRecordsResponse)
func (*DescribeAlertRecordsResponse) FromJsonString ¶
func (r *DescribeAlertRecordsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAlertRecordsResponse) ToJsonString ¶
func (r *DescribeAlertRecordsResponse) ToJsonString() string
type DescribeAlertRecordsResponseParams ¶
type DescribeAlertRecordsResponseParams struct { // Alert records list. // // Note: This field may return null, indicating that no valid value is found. AlertRecordSet []*AlertRecord `json:"AlertRecordSet,omitnil,omitempty" name:"AlertRecordSet"` // Total number of Alert records. // // Note: This field may return null, indicating that no valid value is found. Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAvailableMetricsRequest ¶
type DescribeAvailableMetricsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeAvailableMetricsRequest ¶
func NewDescribeAvailableMetricsRequest() (request *DescribeAvailableMetricsRequest)
func (*DescribeAvailableMetricsRequest) FromJsonString ¶
func (r *DescribeAvailableMetricsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAvailableMetricsRequest) ToJsonString ¶
func (r *DescribeAvailableMetricsRequest) ToJsonString() string
type DescribeAvailableMetricsRequestParams ¶
type DescribeAvailableMetricsRequestParams struct { }
Predefined struct for user
type DescribeAvailableMetricsResponse ¶
type DescribeAvailableMetricsResponse struct { *tchttp.BaseResponse Response *DescribeAvailableMetricsResponseParams `json:"Response"` }
func NewDescribeAvailableMetricsResponse ¶
func NewDescribeAvailableMetricsResponse() (response *DescribeAvailableMetricsResponse)
func (*DescribeAvailableMetricsResponse) FromJsonString ¶
func (r *DescribeAvailableMetricsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAvailableMetricsResponse) ToJsonString ¶
func (r *DescribeAvailableMetricsResponse) ToJsonString() string
type DescribeAvailableMetricsResponseParams ¶
type DescribeAvailableMetricsResponseParams struct { // All supported metrics of the product. MetricSet []*MetricInfo `json:"MetricSet,omitnil,omitempty" name:"MetricSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCheckSummaryRequest ¶
type DescribeCheckSummaryRequest struct { *tchttp.BaseRequest // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
func NewDescribeCheckSummaryRequest ¶
func NewDescribeCheckSummaryRequest() (request *DescribeCheckSummaryRequest)
func (*DescribeCheckSummaryRequest) FromJsonString ¶
func (r *DescribeCheckSummaryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCheckSummaryRequest) ToJsonString ¶
func (r *DescribeCheckSummaryRequest) ToJsonString() string
type DescribeCheckSummaryRequestParams ¶
type DescribeCheckSummaryRequestParams struct { // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
Predefined struct for user
type DescribeCheckSummaryResponse ¶
type DescribeCheckSummaryResponse struct { *tchttp.BaseResponse Response *DescribeCheckSummaryResponseParams `json:"Response"` }
func NewDescribeCheckSummaryResponse ¶
func NewDescribeCheckSummaryResponse() (response *DescribeCheckSummaryResponse)
func (*DescribeCheckSummaryResponse) FromJsonString ¶
func (r *DescribeCheckSummaryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCheckSummaryResponse) ToJsonString ¶
func (r *DescribeCheckSummaryResponse) ToJsonString() string
type DescribeCheckSummaryResponseParams ¶
type DescribeCheckSummaryResponseParams struct { // Checkpoint summary information. // // Note: This field may return null, indicating that no valid value is found. CheckSummarySet []*CheckSummary `json:"CheckSummarySet,omitnil,omitempty" name:"CheckSummarySet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCronJobsRequest ¶
type DescribeCronJobsRequest struct { *tchttp.BaseRequest // Array of Project ID. ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"` // Offset. Default value is 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returns. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Array of CronJob ID. CronJobIds []*string `json:"CronJobIds,omitnil,omitempty" name:"CronJobIds"` // CronJob name, fuzzy query. CronJobName *string `json:"CronJobName,omitnil,omitempty" name:"CronJobName"` // Array of CronJob status. CronJobStatus []*int64 `json:"CronJobStatus,omitnil,omitempty" name:"CronJobStatus"` // Column for sorting. OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // Whether in ascending order. Ascend *bool `json:"Ascend,omitnil,omitempty" name:"Ascend"` }
func NewDescribeCronJobsRequest ¶
func NewDescribeCronJobsRequest() (request *DescribeCronJobsRequest)
func (*DescribeCronJobsRequest) FromJsonString ¶
func (r *DescribeCronJobsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCronJobsRequest) ToJsonString ¶
func (r *DescribeCronJobsRequest) ToJsonString() string
type DescribeCronJobsRequestParams ¶
type DescribeCronJobsRequestParams struct { // Array of Project ID. ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"` // Offset. Default value is 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returns. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Array of CronJob ID. CronJobIds []*string `json:"CronJobIds,omitnil,omitempty" name:"CronJobIds"` // CronJob name, fuzzy query. CronJobName *string `json:"CronJobName,omitnil,omitempty" name:"CronJobName"` // Array of CronJob status. CronJobStatus []*int64 `json:"CronJobStatus,omitnil,omitempty" name:"CronJobStatus"` // Column for sorting. OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // Whether in ascending order. Ascend *bool `json:"Ascend,omitnil,omitempty" name:"Ascend"` }
Predefined struct for user
type DescribeCronJobsResponse ¶
type DescribeCronJobsResponse struct { *tchttp.BaseResponse Response *DescribeCronJobsResponseParams `json:"Response"` }
func NewDescribeCronJobsResponse ¶
func NewDescribeCronJobsResponse() (response *DescribeCronJobsResponse)
func (*DescribeCronJobsResponse) FromJsonString ¶
func (r *DescribeCronJobsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCronJobsResponse) ToJsonString ¶
func (r *DescribeCronJobsResponse) ToJsonString() string
type DescribeCronJobsResponseParams ¶
type DescribeCronJobsResponseParams struct { // Total number of cron jobs. Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // Cron jobs. // // Note: This field may return null, indicating that no valid value is found. CronJobSet []*CronJob `json:"CronJobSet,omitnil,omitempty" name:"CronJobSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeEnvironmentsRequest ¶
type DescribeEnvironmentsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeEnvironmentsRequest ¶
func NewDescribeEnvironmentsRequest() (request *DescribeEnvironmentsRequest)
func (*DescribeEnvironmentsRequest) FromJsonString ¶
func (r *DescribeEnvironmentsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnvironmentsRequest) ToJsonString ¶
func (r *DescribeEnvironmentsRequest) ToJsonString() string
type DescribeEnvironmentsRequestParams ¶
type DescribeEnvironmentsRequestParams struct { }
Predefined struct for user
type DescribeEnvironmentsResponse ¶
type DescribeEnvironmentsResponse struct { *tchttp.BaseResponse Response *DescribeEnvironmentsResponseParams `json:"Response"` }
func NewDescribeEnvironmentsResponse ¶
func NewDescribeEnvironmentsResponse() (response *DescribeEnvironmentsResponse)
func (*DescribeEnvironmentsResponse) FromJsonString ¶
func (r *DescribeEnvironmentsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnvironmentsResponse) ToJsonString ¶
func (r *DescribeEnvironmentsResponse) ToJsonString() string
type DescribeEnvironmentsResponseParams ¶
type DescribeEnvironmentsResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeErrorSummaryRequest ¶
type DescribeErrorSummaryRequest struct { *tchttp.BaseRequest // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Filter parameters. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeErrorSummaryRequest ¶
func NewDescribeErrorSummaryRequest() (request *DescribeErrorSummaryRequest)
func (*DescribeErrorSummaryRequest) FromJsonString ¶
func (r *DescribeErrorSummaryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeErrorSummaryRequest) ToJsonString ¶
func (r *DescribeErrorSummaryRequest) ToJsonString() string
type DescribeErrorSummaryRequestParams ¶
type DescribeErrorSummaryRequestParams struct { // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Filter parameters. Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeErrorSummaryResponse ¶
type DescribeErrorSummaryResponse struct { *tchttp.BaseResponse Response *DescribeErrorSummaryResponseParams `json:"Response"` }
func NewDescribeErrorSummaryResponse ¶
func NewDescribeErrorSummaryResponse() (response *DescribeErrorSummaryResponse)
func (*DescribeErrorSummaryResponse) FromJsonString ¶
func (r *DescribeErrorSummaryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeErrorSummaryResponse) ToJsonString ¶
func (r *DescribeErrorSummaryResponse) ToJsonString() string
type DescribeErrorSummaryResponseParams ¶
type DescribeErrorSummaryResponseParams struct { // Error summary information. // // Note: This field may return null, indicating that no valid value is found. ErrorSummarySet []*ErrorSummary `json:"ErrorSummarySet,omitnil,omitempty" name:"ErrorSummarySet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeFilesRequest ¶
type DescribeFilesRequest struct { *tchttp.BaseRequest // Array of Project ID. ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"` // Array of File ID. FileIds []*string `json:"FileIds,omitnil,omitempty" name:"FileIds"` // Filename FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` // Offset. Default value is 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returns. Default value is 20, maximum is 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // File type. 1 represents parameter file, 2 represents protocol file, 3 represents request file. Kind *int64 `json:"Kind,omitnil,omitempty" name:"Kind"` }
func NewDescribeFilesRequest ¶
func NewDescribeFilesRequest() (request *DescribeFilesRequest)
func (*DescribeFilesRequest) FromJsonString ¶
func (r *DescribeFilesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFilesRequest) ToJsonString ¶
func (r *DescribeFilesRequest) ToJsonString() string
type DescribeFilesRequestParams ¶
type DescribeFilesRequestParams struct { // Array of Project ID. ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"` // Array of File ID. FileIds []*string `json:"FileIds,omitnil,omitempty" name:"FileIds"` // Filename FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` // Offset. Default value is 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returns. Default value is 20, maximum is 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // File type. 1 represents parameter file, 2 represents protocol file, 3 represents request file. Kind *int64 `json:"Kind,omitnil,omitempty" name:"Kind"` }
Predefined struct for user
type DescribeFilesResponse ¶
type DescribeFilesResponse struct { *tchttp.BaseResponse Response *DescribeFilesResponseParams `json:"Response"` }
func NewDescribeFilesResponse ¶
func NewDescribeFilesResponse() (response *DescribeFilesResponse)
func (*DescribeFilesResponse) FromJsonString ¶
func (r *DescribeFilesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFilesResponse) ToJsonString ¶
func (r *DescribeFilesResponse) ToJsonString() string
type DescribeFilesResponseParams ¶
type DescribeFilesResponseParams struct { // File list. // // Note: This field may return null, indicating that no valid value is found. FileSet []*File `json:"FileSet,omitnil,omitempty" name:"FileSet"` // Total number of files. // // Note: This field may return null, indicating that no valid value is found. Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeJobsRequest ¶
type DescribeJobsRequest struct { *tchttp.BaseRequest // Array of Scenario ID. ScenarioIds []*string `json:"ScenarioIds,omitnil,omitempty" name:"ScenarioIds"` // Array of Project ID. ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"` // Offset. Default value is 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returns. Default value is 20, maximum is 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Array of Job ID. JobIds []*string `json:"JobIds,omitnil,omitempty" name:"JobIds"` // Column for sorting. OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // Whether in ascending order. Ascend *bool `json:"Ascend,omitnil,omitempty" name:"Ascend"` // Start time of the job. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time of the job. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Whether debug jobs. Debug *bool `json:"Debug,omitnil,omitempty" name:"Debug"` // Job status. Status []*int64 `json:"Status,omitnil,omitempty" name:"Status"` }
func NewDescribeJobsRequest ¶
func NewDescribeJobsRequest() (request *DescribeJobsRequest)
func (*DescribeJobsRequest) FromJsonString ¶
func (r *DescribeJobsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeJobsRequest) ToJsonString ¶
func (r *DescribeJobsRequest) ToJsonString() string
type DescribeJobsRequestParams ¶
type DescribeJobsRequestParams struct { // Array of Scenario ID. ScenarioIds []*string `json:"ScenarioIds,omitnil,omitempty" name:"ScenarioIds"` // Array of Project ID. ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"` // Offset. Default value is 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returns. Default value is 20, maximum is 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Array of Job ID. JobIds []*string `json:"JobIds,omitnil,omitempty" name:"JobIds"` // Column for sorting. OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // Whether in ascending order. Ascend *bool `json:"Ascend,omitnil,omitempty" name:"Ascend"` // Start time of the job. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time of the job. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Whether debug jobs. Debug *bool `json:"Debug,omitnil,omitempty" name:"Debug"` // Job status. Status []*int64 `json:"Status,omitnil,omitempty" name:"Status"` }
Predefined struct for user
type DescribeJobsResponse ¶
type DescribeJobsResponse struct { *tchttp.BaseResponse Response *DescribeJobsResponseParams `json:"Response"` }
func NewDescribeJobsResponse ¶
func NewDescribeJobsResponse() (response *DescribeJobsResponse)
func (*DescribeJobsResponse) FromJsonString ¶
func (r *DescribeJobsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeJobsResponse) ToJsonString ¶
func (r *DescribeJobsResponse) ToJsonString() string
type DescribeJobsResponseParams ¶
type DescribeJobsResponseParams struct { // Job list. // // Note: This field may return null, indicating that no valid value is found. JobSet []*Job `json:"JobSet,omitnil,omitempty" name:"JobSet"` // Total number of Jobs. // // Note: This field may return null, indicating that no valid value is found. Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLabelValuesRequest ¶
type DescribeLabelValuesRequest struct { *tchttp.BaseRequest // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Metric name. For the value range, refer to all metric names returned by the DescribeMetricLabelWithValues API. Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"` // Label name. For the value range, refer to the metrics and label names returned by the DescribeMetricLabelWithValues API. LabelName *string `json:"LabelName,omitnil,omitempty" name:"LabelName"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
func NewDescribeLabelValuesRequest ¶
func NewDescribeLabelValuesRequest() (request *DescribeLabelValuesRequest)
func (*DescribeLabelValuesRequest) FromJsonString ¶
func (r *DescribeLabelValuesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLabelValuesRequest) ToJsonString ¶
func (r *DescribeLabelValuesRequest) ToJsonString() string
type DescribeLabelValuesRequestParams ¶
type DescribeLabelValuesRequestParams struct { // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Metric name. For the value range, refer to all metric names returned by the DescribeMetricLabelWithValues API. Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"` // Label name. For the value range, refer to the metrics and label names returned by the DescribeMetricLabelWithValues API. LabelName *string `json:"LabelName,omitnil,omitempty" name:"LabelName"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
Predefined struct for user
type DescribeLabelValuesResponse ¶
type DescribeLabelValuesResponse struct { *tchttp.BaseResponse Response *DescribeLabelValuesResponseParams `json:"Response"` }
func NewDescribeLabelValuesResponse ¶
func NewDescribeLabelValuesResponse() (response *DescribeLabelValuesResponse)
func (*DescribeLabelValuesResponse) FromJsonString ¶
func (r *DescribeLabelValuesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLabelValuesResponse) ToJsonString ¶
func (r *DescribeLabelValuesResponse) ToJsonString() string
type DescribeLabelValuesResponseParams ¶
type DescribeLabelValuesResponseParams struct { // Array of label values. // // Note: This field may return null, indicating that no valid value is found. LabelValueSet []*string `json:"LabelValueSet,omitnil,omitempty" name:"LabelValueSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeMetricLabelWithValuesRequest ¶
type DescribeMetricLabelWithValuesRequest struct { *tchttp.BaseRequest // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` }
func NewDescribeMetricLabelWithValuesRequest ¶
func NewDescribeMetricLabelWithValuesRequest() (request *DescribeMetricLabelWithValuesRequest)
func (*DescribeMetricLabelWithValuesRequest) FromJsonString ¶
func (r *DescribeMetricLabelWithValuesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMetricLabelWithValuesRequest) ToJsonString ¶
func (r *DescribeMetricLabelWithValuesRequest) ToJsonString() string
type DescribeMetricLabelWithValuesRequestParams ¶
type DescribeMetricLabelWithValuesRequestParams struct { // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` }
Predefined struct for user
type DescribeMetricLabelWithValuesResponse ¶
type DescribeMetricLabelWithValuesResponse struct { *tchttp.BaseResponse Response *DescribeMetricLabelWithValuesResponseParams `json:"Response"` }
func NewDescribeMetricLabelWithValuesResponse ¶
func NewDescribeMetricLabelWithValuesResponse() (response *DescribeMetricLabelWithValuesResponse)
func (*DescribeMetricLabelWithValuesResponse) FromJsonString ¶
func (r *DescribeMetricLabelWithValuesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMetricLabelWithValuesResponse) ToJsonString ¶
func (r *DescribeMetricLabelWithValuesResponse) ToJsonString() string
type DescribeMetricLabelWithValuesResponseParams ¶
type DescribeMetricLabelWithValuesResponseParams struct { // All labels and values of metrics. // // Note: This field may return null, indicating that no valid value is found. MetricLabelWithValuesSet []*MetricLabelWithValues `json:"MetricLabelWithValuesSet,omitnil,omitempty" name:"MetricLabelWithValuesSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeNormalLogsRequest ¶
type DescribeNormalLogsRequest struct { *tchttp.BaseRequest // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Context is used when loading more logs. Pass through the Context value returned last time to retrieve subsequent log content. The expiration time is 1 hour. Context *string `json:"Context,omitnil,omitempty" name:"Context"` // Log start time. From *string `json:"From,omitnil,omitempty" name:"From"` // Log end time. To *string `json:"To,omitnil,omitempty" name:"To"` // Log level, valid values are debug, info, error. SeverityText *string `json:"SeverityText,omitnil,omitempty" name:"SeverityText"` // IP of pressure engine instance. Instance *string `json:"Instance,omitnil,omitempty" name:"Instance"` // Region of pressure engine instance, such as ap-shanghai, ap-guangzhou. InstanceRegion *string `json:"InstanceRegion,omitnil,omitempty" name:"InstanceRegion"` // Type of log, in which 'console' represents user output, 'engine' represents engine output. LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // Number of returned logs, maximum 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeNormalLogsRequest ¶
func NewDescribeNormalLogsRequest() (request *DescribeNormalLogsRequest)
func (*DescribeNormalLogsRequest) FromJsonString ¶
func (r *DescribeNormalLogsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNormalLogsRequest) ToJsonString ¶
func (r *DescribeNormalLogsRequest) ToJsonString() string
type DescribeNormalLogsRequestParams ¶
type DescribeNormalLogsRequestParams struct { // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Context is used when loading more logs. Pass through the Context value returned last time to retrieve subsequent log content. The expiration time is 1 hour. Context *string `json:"Context,omitnil,omitempty" name:"Context"` // Log start time. From *string `json:"From,omitnil,omitempty" name:"From"` // Log end time. To *string `json:"To,omitnil,omitempty" name:"To"` // Log level, valid values are debug, info, error. SeverityText *string `json:"SeverityText,omitnil,omitempty" name:"SeverityText"` // IP of pressure engine instance. Instance *string `json:"Instance,omitnil,omitempty" name:"Instance"` // Region of pressure engine instance, such as ap-shanghai, ap-guangzhou. InstanceRegion *string `json:"InstanceRegion,omitnil,omitempty" name:"InstanceRegion"` // Type of log, in which 'console' represents user output, 'engine' represents engine output. LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // Number of returned logs, maximum 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeNormalLogsResponse ¶
type DescribeNormalLogsResponse struct { *tchttp.BaseResponse Response *DescribeNormalLogsResponseParams `json:"Response"` }
func NewDescribeNormalLogsResponse ¶
func NewDescribeNormalLogsResponse() (response *DescribeNormalLogsResponse)
func (*DescribeNormalLogsResponse) FromJsonString ¶
func (r *DescribeNormalLogsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNormalLogsResponse) ToJsonString ¶
func (r *DescribeNormalLogsResponse) ToJsonString() string
type DescribeNormalLogsResponseParams ¶
type DescribeNormalLogsResponseParams struct { // Log context, used when loading more logs. Pass through the Context value returned last time to retrieve subsequent log content. The expiration time is 1 hour. // // Note: This field may return null, indicating that no valid value is found. Context *string `json:"Context,omitnil,omitempty" name:"Context"` // Array of logs. // // Note: This field may return null, indicating that no valid value is found. NormalLogs []*NormalLog `json:"NormalLogs,omitnil,omitempty" name:"NormalLogs"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProjectsRequest ¶
type DescribeProjectsRequest struct { *tchttp.BaseRequest // Offset. Default value is 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returns. Default value is 20, maximum is 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Array of Project ID. ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"` // Project name. ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"` // Column for sorting. OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // Whether in ascending order. Ascend *bool `json:"Ascend,omitnil,omitempty" name:"Ascend"` // Array of Tags. TagFilters []*TagSpec `json:"TagFilters,omitnil,omitempty" name:"TagFilters"` }
func NewDescribeProjectsRequest ¶
func NewDescribeProjectsRequest() (request *DescribeProjectsRequest)
func (*DescribeProjectsRequest) FromJsonString ¶
func (r *DescribeProjectsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProjectsRequest) ToJsonString ¶
func (r *DescribeProjectsRequest) ToJsonString() string
type DescribeProjectsRequestParams ¶
type DescribeProjectsRequestParams struct { // Offset. Default value is 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returns. Default value is 20, maximum is 100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Array of Project ID. ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"` // Project name. ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"` // Column for sorting. OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // Whether in ascending order. Ascend *bool `json:"Ascend,omitnil,omitempty" name:"Ascend"` // Array of Tags. TagFilters []*TagSpec `json:"TagFilters,omitnil,omitempty" name:"TagFilters"` }
Predefined struct for user
type DescribeProjectsResponse ¶
type DescribeProjectsResponse struct { *tchttp.BaseResponse Response *DescribeProjectsResponseParams `json:"Response"` }
func NewDescribeProjectsResponse ¶
func NewDescribeProjectsResponse() (response *DescribeProjectsResponse)
func (*DescribeProjectsResponse) FromJsonString ¶
func (r *DescribeProjectsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProjectsResponse) ToJsonString ¶
func (r *DescribeProjectsResponse) ToJsonString() string
type DescribeProjectsResponseParams ¶
type DescribeProjectsResponseParams struct { // Project list. // // Note: This field may return null, indicating that no valid value is found. ProjectSet []*Project `json:"ProjectSet,omitnil,omitempty" name:"ProjectSet"` // Total number of projects. Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRegionsRequest ¶
type DescribeRegionsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeRegionsRequest ¶
func NewDescribeRegionsRequest() (request *DescribeRegionsRequest)
func (*DescribeRegionsRequest) FromJsonString ¶
func (r *DescribeRegionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRegionsRequest) ToJsonString ¶
func (r *DescribeRegionsRequest) ToJsonString() string
type DescribeRegionsRequestParams ¶
type DescribeRegionsRequestParams struct { }
Predefined struct for user
type DescribeRegionsResponse ¶
type DescribeRegionsResponse struct { *tchttp.BaseResponse Response *DescribeRegionsResponseParams `json:"Response"` }
func NewDescribeRegionsResponse ¶
func NewDescribeRegionsResponse() (response *DescribeRegionsResponse)
func (*DescribeRegionsResponse) FromJsonString ¶
func (r *DescribeRegionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRegionsResponse) ToJsonString ¶
func (r *DescribeRegionsResponse) ToJsonString() string
type DescribeRegionsResponseParams ¶
type DescribeRegionsResponseParams struct { // Array of regions. // // Note: This field may return null, indicating that no valid value is found. RegionSet []*RegionDetail `json:"RegionSet,omitnil,omitempty" name:"RegionSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRequestSummaryRequest ¶
type DescribeRequestSummaryRequest struct { *tchttp.BaseRequest // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
func NewDescribeRequestSummaryRequest ¶
func NewDescribeRequestSummaryRequest() (request *DescribeRequestSummaryRequest)
func (*DescribeRequestSummaryRequest) FromJsonString ¶
func (r *DescribeRequestSummaryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRequestSummaryRequest) ToJsonString ¶
func (r *DescribeRequestSummaryRequest) ToJsonString() string
type DescribeRequestSummaryRequestParams ¶
type DescribeRequestSummaryRequestParams struct { // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
Predefined struct for user
type DescribeRequestSummaryResponse ¶
type DescribeRequestSummaryResponse struct { *tchttp.BaseResponse Response *DescribeRequestSummaryResponseParams `json:"Response"` }
func NewDescribeRequestSummaryResponse ¶
func NewDescribeRequestSummaryResponse() (response *DescribeRequestSummaryResponse)
func (*DescribeRequestSummaryResponse) FromJsonString ¶
func (r *DescribeRequestSummaryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRequestSummaryResponse) ToJsonString ¶
func (r *DescribeRequestSummaryResponse) ToJsonString() string
type DescribeRequestSummaryResponseParams ¶
type DescribeRequestSummaryResponseParams struct { // Request summary information. // // Note: This field may return null, indicating that no valid value is found. RequestSummarySet []*RequestSummary `json:"RequestSummarySet,omitnil,omitempty" name:"RequestSummarySet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSampleBatchQueryRequest ¶
type DescribeSampleBatchQueryRequest struct { *tchttp.BaseRequest // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Array of queries. Queries []*InternalMetricQuery `json:"Queries,omitnil,omitempty" name:"Queries"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
func NewDescribeSampleBatchQueryRequest ¶
func NewDescribeSampleBatchQueryRequest() (request *DescribeSampleBatchQueryRequest)
func (*DescribeSampleBatchQueryRequest) FromJsonString ¶
func (r *DescribeSampleBatchQueryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSampleBatchQueryRequest) ToJsonString ¶
func (r *DescribeSampleBatchQueryRequest) ToJsonString() string
type DescribeSampleBatchQueryRequestParams ¶
type DescribeSampleBatchQueryRequestParams struct { // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Array of queries. Queries []*InternalMetricQuery `json:"Queries,omitnil,omitempty" name:"Queries"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
Predefined struct for user
type DescribeSampleBatchQueryResponse ¶
type DescribeSampleBatchQueryResponse struct { *tchttp.BaseResponse Response *DescribeSampleBatchQueryResponseParams `json:"Response"` }
func NewDescribeSampleBatchQueryResponse ¶
func NewDescribeSampleBatchQueryResponse() (response *DescribeSampleBatchQueryResponse)
func (*DescribeSampleBatchQueryResponse) FromJsonString ¶
func (r *DescribeSampleBatchQueryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSampleBatchQueryResponse) ToJsonString ¶
func (r *DescribeSampleBatchQueryResponse) ToJsonString() string
type DescribeSampleBatchQueryResponseParams ¶
type DescribeSampleBatchQueryResponseParams struct { // Returned metric content. // // Note: This field may return null, indicating that no valid value is found. MetricSampleSet []*CustomSample `json:"MetricSampleSet,omitnil,omitempty" name:"MetricSampleSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSampleLogsRequest ¶
type DescribeSampleLogsRequest struct { *tchttp.BaseRequest // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Context is used when loading more logs. Pass through the Context value returned last time to retrieve subsequent log content. The expiration time is 1 hour. Context *string `json:"Context,omitnil,omitempty" name:"Context"` // Log start time. From *string `json:"From,omitnil,omitempty" name:"From"` // Log end time. To *string `json:"To,omitnil,omitempty" name:"To"` // Log levels, such as debug, info, error. SeverityText *string `json:"SeverityText,omitnil,omitempty" name:"SeverityText"` // Region of pressure engine instance, such as ap-shanghai, ap-guangzhou. InstanceRegion *string `json:"InstanceRegion,omitnil,omitempty" name:"InstanceRegion"` // IP of pressure engine instance. Instance *string `json:"Instance,omitnil,omitempty" name:"Instance"` // Type of log, can be left empty. 'Request' represents sampling logs. LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // Number of returned logs, maximum 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Response time range of sampling logs. ReactionTimeRange *ReactionTimeRange `json:"ReactionTimeRange,omitnil,omitempty" name:"ReactionTimeRange"` // Status code of sampling logs. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Result code of sampling logs. Result *string `json:"Result,omitnil,omitempty" name:"Result"` // Request method of sampling logs. Method *string `json:"Method,omitnil,omitempty" name:"Method"` // Request service of sampling logs. Service *string `json:"Service,omitnil,omitempty" name:"Service"` }
func NewDescribeSampleLogsRequest ¶
func NewDescribeSampleLogsRequest() (request *DescribeSampleLogsRequest)
func (*DescribeSampleLogsRequest) FromJsonString ¶
func (r *DescribeSampleLogsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSampleLogsRequest) ToJsonString ¶
func (r *DescribeSampleLogsRequest) ToJsonString() string
type DescribeSampleLogsRequestParams ¶
type DescribeSampleLogsRequestParams struct { // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Context is used when loading more logs. Pass through the Context value returned last time to retrieve subsequent log content. The expiration time is 1 hour. Context *string `json:"Context,omitnil,omitempty" name:"Context"` // Log start time. From *string `json:"From,omitnil,omitempty" name:"From"` // Log end time. To *string `json:"To,omitnil,omitempty" name:"To"` // Log levels, such as debug, info, error. SeverityText *string `json:"SeverityText,omitnil,omitempty" name:"SeverityText"` // Region of pressure engine instance, such as ap-shanghai, ap-guangzhou. InstanceRegion *string `json:"InstanceRegion,omitnil,omitempty" name:"InstanceRegion"` // IP of pressure engine instance. Instance *string `json:"Instance,omitnil,omitempty" name:"Instance"` // Type of log, can be left empty. 'Request' represents sampling logs. LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // Number of returned logs, maximum 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Response time range of sampling logs. ReactionTimeRange *ReactionTimeRange `json:"ReactionTimeRange,omitnil,omitempty" name:"ReactionTimeRange"` // Status code of sampling logs. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Result code of sampling logs. Result *string `json:"Result,omitnil,omitempty" name:"Result"` // Request method of sampling logs. Method *string `json:"Method,omitnil,omitempty" name:"Method"` // Request service of sampling logs. Service *string `json:"Service,omitnil,omitempty" name:"Service"` }
Predefined struct for user
type DescribeSampleLogsResponse ¶
type DescribeSampleLogsResponse struct { *tchttp.BaseResponse Response *DescribeSampleLogsResponseParams `json:"Response"` }
func NewDescribeSampleLogsResponse ¶
func NewDescribeSampleLogsResponse() (response *DescribeSampleLogsResponse)
func (*DescribeSampleLogsResponse) FromJsonString ¶
func (r *DescribeSampleLogsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSampleLogsResponse) ToJsonString ¶
func (r *DescribeSampleLogsResponse) ToJsonString() string
type DescribeSampleLogsResponseParams ¶
type DescribeSampleLogsResponseParams struct { // Total number of logs. Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // Log context, used when loading more logs. Pass through the Context value returned last time to retrieve subsequent log content. The expiration time is 1 hour. // Note: This field may return null, indicating that no valid value is found. Context *string `json:"Context,omitnil,omitempty" name:"Context"` // Array of request logs. // // Note: This field may return null, indicating that no valid value is found. SampleLogs []*SampleLog `json:"SampleLogs,omitnil,omitempty" name:"SampleLogs"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSampleMatrixBatchQueryRequest ¶
type DescribeSampleMatrixBatchQueryRequest struct { *tchttp.BaseRequest // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Query statement. Queries []*InternalMetricQuery `json:"Queries,omitnil,omitempty" name:"Queries"` }
func NewDescribeSampleMatrixBatchQueryRequest ¶
func NewDescribeSampleMatrixBatchQueryRequest() (request *DescribeSampleMatrixBatchQueryRequest)
func (*DescribeSampleMatrixBatchQueryRequest) FromJsonString ¶
func (r *DescribeSampleMatrixBatchQueryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSampleMatrixBatchQueryRequest) ToJsonString ¶
func (r *DescribeSampleMatrixBatchQueryRequest) ToJsonString() string
type DescribeSampleMatrixBatchQueryRequestParams ¶
type DescribeSampleMatrixBatchQueryRequestParams struct { // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Query statement. Queries []*InternalMetricQuery `json:"Queries,omitnil,omitempty" name:"Queries"` }
Predefined struct for user
type DescribeSampleMatrixBatchQueryResponse ¶
type DescribeSampleMatrixBatchQueryResponse struct { *tchttp.BaseResponse Response *DescribeSampleMatrixBatchQueryResponseParams `json:"Response"` }
func NewDescribeSampleMatrixBatchQueryResponse ¶
func NewDescribeSampleMatrixBatchQueryResponse() (response *DescribeSampleMatrixBatchQueryResponse)
func (*DescribeSampleMatrixBatchQueryResponse) FromJsonString ¶
func (r *DescribeSampleMatrixBatchQueryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSampleMatrixBatchQueryResponse) ToJsonString ¶
func (r *DescribeSampleMatrixBatchQueryResponse) ToJsonString() string
type DescribeSampleMatrixBatchQueryResponseParams ¶
type DescribeSampleMatrixBatchQueryResponseParams struct { // Batch metric matrices. // // Note: This field may return null, indicating that no valid value is found. MetricSampleMatrixSet []*CustomSampleMatrix `json:"MetricSampleMatrixSet,omitnil,omitempty" name:"MetricSampleMatrixSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSampleMatrixQueryRequest ¶
type DescribeSampleMatrixQueryRequest struct { *tchttp.BaseRequest // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Metric name. For the value range, refer to all metric names returned by the DescribeMetricLabelWithValues API. Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"` // Aggregation function. Range of values: Rate, Count, Avg, P90, P95, P99, Gauge. Aggregation *string `json:"Aggregation,omitnil,omitempty" name:"Aggregation"` // Use label rules to filter metrics. Rules include label name, label value, and operator (0 means equal, 1 means not equal). Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Labels used for grouping, similar to group by in PromQL. // GroupBy []*string `json:"GroupBy,omitnil,omitempty" name:"GroupBy"` }
func NewDescribeSampleMatrixQueryRequest ¶
func NewDescribeSampleMatrixQueryRequest() (request *DescribeSampleMatrixQueryRequest)
func (*DescribeSampleMatrixQueryRequest) FromJsonString ¶
func (r *DescribeSampleMatrixQueryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSampleMatrixQueryRequest) ToJsonString ¶
func (r *DescribeSampleMatrixQueryRequest) ToJsonString() string
type DescribeSampleMatrixQueryRequestParams ¶
type DescribeSampleMatrixQueryRequestParams struct { // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Metric name. For the value range, refer to all metric names returned by the DescribeMetricLabelWithValues API. Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"` // Aggregation function. Range of values: Rate, Count, Avg, P90, P95, P99, Gauge. Aggregation *string `json:"Aggregation,omitnil,omitempty" name:"Aggregation"` // Use label rules to filter metrics. Rules include label name, label value, and operator (0 means equal, 1 means not equal). Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Labels used for grouping, similar to group by in PromQL. // GroupBy []*string `json:"GroupBy,omitnil,omitempty" name:"GroupBy"` }
Predefined struct for user
type DescribeSampleMatrixQueryResponse ¶
type DescribeSampleMatrixQueryResponse struct { *tchttp.BaseResponse Response *DescribeSampleMatrixQueryResponseParams `json:"Response"` }
func NewDescribeSampleMatrixQueryResponse ¶
func NewDescribeSampleMatrixQueryResponse() (response *DescribeSampleMatrixQueryResponse)
func (*DescribeSampleMatrixQueryResponse) FromJsonString ¶
func (r *DescribeSampleMatrixQueryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSampleMatrixQueryResponse) ToJsonString ¶
func (r *DescribeSampleMatrixQueryResponse) ToJsonString() string
type DescribeSampleMatrixQueryResponseParams ¶
type DescribeSampleMatrixQueryResponseParams struct { // Metric matrix. // // Note: This field may return null, indicating that no valid value is found. MetricSampleMatrix *CustomSampleMatrix `json:"MetricSampleMatrix,omitnil,omitempty" name:"MetricSampleMatrix"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSampleQueryRequest ¶
type DescribeSampleQueryRequest struct { *tchttp.BaseRequest // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Metric name. For the value range, refer to all metric names returned by the DescribeMetricLabelWithValues API. Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"` // Aggregation function. Range of values: Rate, Count, Avg, P90, P95, P99, Gauge. Aggregation *string `json:"Aggregation,omitnil,omitempty" name:"Aggregation"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Label filtering condition. For supported labels, refer to all metrics and labels returned by the DescribeMetricLabelWithValues API. Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"` }
func NewDescribeSampleQueryRequest ¶
func NewDescribeSampleQueryRequest() (request *DescribeSampleQueryRequest)
func (*DescribeSampleQueryRequest) FromJsonString ¶
func (r *DescribeSampleQueryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSampleQueryRequest) ToJsonString ¶
func (r *DescribeSampleQueryRequest) ToJsonString() string
type DescribeSampleQueryRequestParams ¶
type DescribeSampleQueryRequestParams struct { // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Metric name. For the value range, refer to all metric names returned by the DescribeMetricLabelWithValues API. Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"` // Aggregation function. Range of values: Rate, Count, Avg, P90, P95, P99, Gauge. Aggregation *string `json:"Aggregation,omitnil,omitempty" name:"Aggregation"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Label filtering condition. For supported labels, refer to all metrics and labels returned by the DescribeMetricLabelWithValues API. Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"` }
Predefined struct for user
type DescribeSampleQueryResponse ¶
type DescribeSampleQueryResponse struct { *tchttp.BaseResponse Response *DescribeSampleQueryResponseParams `json:"Response"` }
func NewDescribeSampleQueryResponse ¶
func NewDescribeSampleQueryResponse() (response *DescribeSampleQueryResponse)
func (*DescribeSampleQueryResponse) FromJsonString ¶
func (r *DescribeSampleQueryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSampleQueryResponse) ToJsonString ¶
func (r *DescribeSampleQueryResponse) ToJsonString() string
type DescribeSampleQueryResponseParams ¶
type DescribeSampleQueryResponseParams struct { // Returned metric. // // Note: This field may return null, indicating that no valid value is found. MetricSample *CustomSample `json:"MetricSample,omitnil,omitempty" name:"MetricSample"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeScenarioWithJobsRequest ¶
type DescribeScenarioWithJobsRequest struct { *tchttp.BaseRequest // Offset. Default value is 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returns. Default value is 20, maximum is 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Array of Project ID. ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"` // Array of Scenario ID. ScenarioIds []*string `json:"ScenarioIds,omitnil,omitempty" name:"ScenarioIds"` // Scenario Name. ScenarioName *string `json:"ScenarioName,omitnil,omitempty" name:"ScenarioName"` // Array of Scenario status. ScenarioStatus *int64 `json:"ScenarioStatus,omitnil,omitempty" name:"ScenarioStatus"` // Column for sorting. OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // Whether in ascending order. Ascend *bool `json:"Ascend,omitnil,omitempty" name:"Ascend"` // Parameters related to job. ScenarioRelatedJobsParams *ScenarioRelatedJobsParams `json:"ScenarioRelatedJobsParams,omitnil,omitempty" name:"ScenarioRelatedJobsParams"` // Whether to return the test script content of the scenario. IgnoreScript *bool `json:"IgnoreScript,omitnil,omitempty" name:"IgnoreScript"` // Whether to return test data file information of the scenario. IgnoreDataset *bool `json:"IgnoreDataset,omitnil,omitempty" name:"IgnoreDataset"` // Scenario type, such as pts-http, pts-js, pts-jmeter. ScenarioType *string `json:"ScenarioType,omitnil,omitempty" name:"ScenarioType"` // Creator. Owner *string `json:"Owner,omitnil,omitempty" name:"Owner"` }
func NewDescribeScenarioWithJobsRequest ¶
func NewDescribeScenarioWithJobsRequest() (request *DescribeScenarioWithJobsRequest)
func (*DescribeScenarioWithJobsRequest) FromJsonString ¶
func (r *DescribeScenarioWithJobsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeScenarioWithJobsRequest) ToJsonString ¶
func (r *DescribeScenarioWithJobsRequest) ToJsonString() string
type DescribeScenarioWithJobsRequestParams ¶
type DescribeScenarioWithJobsRequestParams struct { // Offset. Default value is 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returns. Default value is 20, maximum is 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Array of Project ID. ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"` // Array of Scenario ID. ScenarioIds []*string `json:"ScenarioIds,omitnil,omitempty" name:"ScenarioIds"` // Scenario Name. ScenarioName *string `json:"ScenarioName,omitnil,omitempty" name:"ScenarioName"` // Array of Scenario status. ScenarioStatus *int64 `json:"ScenarioStatus,omitnil,omitempty" name:"ScenarioStatus"` // Column for sorting. OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // Whether in ascending order. Ascend *bool `json:"Ascend,omitnil,omitempty" name:"Ascend"` // Parameters related to job. ScenarioRelatedJobsParams *ScenarioRelatedJobsParams `json:"ScenarioRelatedJobsParams,omitnil,omitempty" name:"ScenarioRelatedJobsParams"` // Whether to return the test script content of the scenario. IgnoreScript *bool `json:"IgnoreScript,omitnil,omitempty" name:"IgnoreScript"` // Whether to return test data file information of the scenario. IgnoreDataset *bool `json:"IgnoreDataset,omitnil,omitempty" name:"IgnoreDataset"` // Scenario type, such as pts-http, pts-js, pts-jmeter. ScenarioType *string `json:"ScenarioType,omitnil,omitempty" name:"ScenarioType"` // Creator. Owner *string `json:"Owner,omitnil,omitempty" name:"Owner"` }
Predefined struct for user
type DescribeScenarioWithJobsResponse ¶
type DescribeScenarioWithJobsResponse struct { *tchttp.BaseResponse Response *DescribeScenarioWithJobsResponseParams `json:"Response"` }
func NewDescribeScenarioWithJobsResponse ¶
func NewDescribeScenarioWithJobsResponse() (response *DescribeScenarioWithJobsResponse)
func (*DescribeScenarioWithJobsResponse) FromJsonString ¶
func (r *DescribeScenarioWithJobsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeScenarioWithJobsResponse) ToJsonString ¶
func (r *DescribeScenarioWithJobsResponse) ToJsonString() string
type DescribeScenarioWithJobsResponseParams ¶
type DescribeScenarioWithJobsResponseParams struct { // Scenario configuration with related jobs. // // Note: This field may return null, indicating that no valid value is found. ScenarioWithJobsSet []*ScenarioWithJobs `json:"ScenarioWithJobsSet,omitnil,omitempty" name:"ScenarioWithJobsSet"` // Total Scenarios. Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeScenariosRequest ¶
type DescribeScenariosRequest struct { *tchttp.BaseRequest // Array of Scenario ID. ScenarioIds []*string `json:"ScenarioIds,omitnil,omitempty" name:"ScenarioIds"` // Scenario Name. ScenarioName *string `json:"ScenarioName,omitnil,omitempty" name:"ScenarioName"` // Array of Scenario status. ScenarioStatus []*int64 `json:"ScenarioStatus,omitnil,omitempty" name:"ScenarioStatus"` // Offset. Default value is 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returns. Default value is 20, maximum is 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Column for sorting. OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // Whether in ascending order. Ascend *bool `json:"Ascend,omitnil,omitempty" name:"Ascend"` // Array of Project ID. ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"` // Scenario type, such as pts-http, pts-js, pts-jmeter. ScenarioType *string `json:"ScenarioType,omitnil,omitempty" name:"ScenarioType"` }
func NewDescribeScenariosRequest ¶
func NewDescribeScenariosRequest() (request *DescribeScenariosRequest)
func (*DescribeScenariosRequest) FromJsonString ¶
func (r *DescribeScenariosRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeScenariosRequest) ToJsonString ¶
func (r *DescribeScenariosRequest) ToJsonString() string
type DescribeScenariosRequestParams ¶
type DescribeScenariosRequestParams struct { // Array of Scenario ID. ScenarioIds []*string `json:"ScenarioIds,omitnil,omitempty" name:"ScenarioIds"` // Scenario Name. ScenarioName *string `json:"ScenarioName,omitnil,omitempty" name:"ScenarioName"` // Array of Scenario status. ScenarioStatus []*int64 `json:"ScenarioStatus,omitnil,omitempty" name:"ScenarioStatus"` // Offset. Default value is 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returns. Default value is 20, maximum is 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Column for sorting. OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // Whether in ascending order. Ascend *bool `json:"Ascend,omitnil,omitempty" name:"Ascend"` // Array of Project ID. ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"` // Scenario type, such as pts-http, pts-js, pts-jmeter. ScenarioType *string `json:"ScenarioType,omitnil,omitempty" name:"ScenarioType"` }
Predefined struct for user
type DescribeScenariosResponse ¶
type DescribeScenariosResponse struct { *tchttp.BaseResponse Response *DescribeScenariosResponseParams `json:"Response"` }
func NewDescribeScenariosResponse ¶
func NewDescribeScenariosResponse() (response *DescribeScenariosResponse)
func (*DescribeScenariosResponse) FromJsonString ¶
func (r *DescribeScenariosResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeScenariosResponse) ToJsonString ¶
func (r *DescribeScenariosResponse) ToJsonString() string
type DescribeScenariosResponseParams ¶
type DescribeScenariosResponseParams struct { // Scenario list. // // Note: This field may return null, indicating that no valid value is found. ScenarioSet []*Scenario `json:"ScenarioSet,omitnil,omitempty" name:"ScenarioSet"` // Total number of scenarios. Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DomainNameConfig ¶
type DomainNameConfig struct { // Domain configuration. // // Note: This field may return null, indicating that no valid value is found. HostAliases []*HostAlias `json:"HostAliases,omitnil,omitempty" name:"HostAliases"` // DNS configuration. // // Note: This field may return null, indicating that no valid value is found. DNSConfig *DNSConfig `json:"DNSConfig,omitnil,omitempty" name:"DNSConfig"` }
type ErrorSummary ¶
type ErrorSummary struct { // Status code. // // Note: This field may return null, indicating that no valid value is found. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Result code. // // Note: This field may return null, indicating that no valid value is found. Result *string `json:"Result,omitnil,omitempty" name:"Result"` // Number of error occurrences. // // Note: This field may return null, indicating that no valid value is found. Count *int64 `json:"Count,omitnil,omitempty" name:"Count"` // Error rate. // // Note: This field may return null, indicating that no valid value is found. Rate *float64 `json:"Rate,omitnil,omitempty" name:"Rate"` // Error message. // // Note: This field may return null, indicating that no valid value is found. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Request protocol type. // // Note: This field may return null, indicating that no valid value is found. Proto *string `json:"Proto,omitnil,omitempty" name:"Proto"` }
type File ¶
type File struct { // File ID. FileId *string `json:"FileId,omitnil,omitempty" name:"FileId"` // File type. 1 represents parameter file, 2 represents protocol file, 3 represents request file. Kind *int64 `json:"Kind,omitnil,omitempty" name:"Kind"` // Filename. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // File size. Size *int64 `json:"Size,omitnil,omitempty" name:"Size"` // File type. The 'folder' represents a folder; if not specified, it represents a normal file. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Update time. UpdatedAt *string `json:"UpdatedAt,omitnil,omitempty" name:"UpdatedAt"` // Number of file lines. // // Note: This field may return null, indicating that no valid value is found. LineCount *int64 `json:"LineCount,omitnil,omitempty" name:"LineCount"` // First few rows of file. // // Note: This field may return null, indicating that no valid value is found. HeadLines []*string `json:"HeadLines,omitnil,omitempty" name:"HeadLines"` // Last few rows of file. // // Note: This field may return null, indicating that no valid value is found. TailLines []*string `json:"TailLines,omitnil,omitempty" name:"TailLines"` // Whether the header is in the file. // // Note: This field may return null, indicating that no valid value is found. HeaderInFile *bool `json:"HeaderInFile,omitnil,omitempty" name:"HeaderInFile"` // Parameter name. // // Note: This field may return null, indicating that no valid value is found. HeaderColumns []*string `json:"HeaderColumns,omitnil,omitempty" name:"HeaderColumns"` // Files in the folder. // // Note: This field may return null, indicating that no valid value is found. FileInfos []*FileInfo `json:"FileInfos,omitnil,omitempty" name:"FileInfos"` // Associated scenario. // // Note: This field may return null, indicating that no valid value is found. ScenarioSet []*Scenario `json:"ScenarioSet,omitnil,omitempty" name:"ScenarioSet"` // File status. // // Note: This field may return null, indicating that no valid value is found. Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Create time. // // Note: This field may return null, indicating that no valid value is found. CreatedAt *string `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"` // Project ID. // // Note: This field may return null, indicating that no valid value is found. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Deprecated. // // Note: This field may return null, indicating that no valid value is found. AppID *int64 `json:"AppID,omitnil,omitempty" name:"AppID"` // Uin. // // Note: This field may return null, indicating that no valid value is found. Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // Sub account uin. // // Note: This field may return null, indicating that no valid value is found. SubAccountUin *string `json:"SubAccountUin,omitnil,omitempty" name:"SubAccountUin"` // App ID of user account. // // Note: This field may return null, indicating that no valid value is found. AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` }
type FileInfo ¶
type FileInfo struct { // Filename // // Note: This field may return null, indicating that no valid value is found. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // File size // // Note: This field may return null, indicating that no valid value is found. Size *int64 `json:"Size,omitnil,omitempty" name:"Size"` // File type // // Note: This field may return null, indicating that no valid value is found. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Update time // // Note: This field may return null, indicating that no valid value is found. UpdatedAt *string `json:"UpdatedAt,omitnil,omitempty" name:"UpdatedAt"` // File ID // // Note: This field may return null, indicating that no valid value is found. FileId *string `json:"FileId,omitnil,omitempty" name:"FileId"` }
type Filter ¶
type Filter struct { // Equals: 0, not equals: 1. Operator *int64 `json:"Operator,omitnil,omitempty" name:"Operator"` // Tag name, optional values include: // 1. method, request method name; // 2. proto: protocol name; // 3. service: service name; // 4. status: response status code; // 5.result: response details // 6.check: check name. LabelName *string `json:"LabelName,omitnil,omitempty" name:"LabelName"` // Tag value, optional values include: // 1.method: request method name, for example, GET, POST, PUT, etc. // 2.proto: protocol name, for example, HTTP/1.1, HTTP/2, etc. // 3.service: service name, for example, the request URL such as http://httpbin.org/get // 4.status: response status code, for example, 200, 404, 500, etc. // 5.result: response details, used to determine whether the request was successful or failed; if successful, the result Tag value is ok; if failed, the result Tag carries an error code and description. // 6.check: check name, the Tag value is the checkpoint name set by the user. LabelValue *string `json:"LabelValue,omitnil,omitempty" name:"LabelValue"` }
type GenerateTmpKeyRequest ¶
type GenerateTmpKeyRequest struct { *tchttp.BaseRequest // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` }
func NewGenerateTmpKeyRequest ¶
func NewGenerateTmpKeyRequest() (request *GenerateTmpKeyRequest)
func (*GenerateTmpKeyRequest) FromJsonString ¶
func (r *GenerateTmpKeyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GenerateTmpKeyRequest) ToJsonString ¶
func (r *GenerateTmpKeyRequest) ToJsonString() string
type GenerateTmpKeyRequestParams ¶
type GenerateTmpKeyRequestParams struct { // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` }
Predefined struct for user
type GenerateTmpKeyResponse ¶
type GenerateTmpKeyResponse struct { *tchttp.BaseResponse Response *GenerateTmpKeyResponseParams `json:"Response"` }
func NewGenerateTmpKeyResponse ¶
func NewGenerateTmpKeyResponse() (response *GenerateTmpKeyResponse)
func (*GenerateTmpKeyResponse) FromJsonString ¶
func (r *GenerateTmpKeyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GenerateTmpKeyResponse) ToJsonString ¶
func (r *GenerateTmpKeyResponse) ToJsonString() string
type GenerateTmpKeyResponseParams ¶
type GenerateTmpKeyResponseParams struct { // Timestamp when the temporary access credentials are obtained (unit: seconds). StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Timestamp when the temporary access credentials expire (unit: seconds). ExpiredTime *int64 `json:"ExpiredTime,omitnil,omitempty" name:"ExpiredTime"` // Temporary access credentials. Credentials *Credentials `json:"Credentials,omitnil,omitempty" name:"Credentials"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type GeoRegionsLoadItem ¶
type HostAlias ¶
type HostAlias struct { // Domain list to be bound. // // Note: This field may return null, indicating that no valid value is found. HostNames []*string `json:"HostNames,omitnil,omitempty" name:"HostNames"` // IP address to be bound. // // Note: This field may return null, indicating that no valid value is found. IP *string `json:"IP,omitnil,omitempty" name:"IP"` }
type InternalMetricQuery ¶
type InternalMetricQuery struct { // Metric name. Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"` // Aggregation Function, optional value including Rate, Count, Avg, P90, P95, P99, Gauge. Aggregation *string `json:"Aggregation,omitnil,omitempty" name:"Aggregation"` // Deprecated, please use 'Filters'. Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"` // Use label filter rules to filter metrics. Rules include LabelName, LabelValue, and Operator (0 means equal, 1 means not equal). Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // Metric group. GroupBy []*string `json:"GroupBy,omitnil,omitempty" name:"GroupBy"` }
type Job ¶
type Job struct { // Job ID. // // Note: This field may return null, indicating that no valid value is found. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Scenario ID. // // Note: This field may return null, indicating that no valid value is found. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Load configuration. // // Note: This field may return null, indicating that no valid value is found. Load *Load `json:"Load,omitnil,omitempty" name:"Load"` // Deprecated. // // Note: This field may return null, indicating that no valid value is found. Configs []*string `json:"Configs,omitnil,omitempty" name:"Configs"` // Test datasets. // // Note: This field may return null, indicating that no valid value is found. Datasets []*TestData `json:"Datasets,omitnil,omitempty" name:"Datasets"` // Deprecated. // // Note: This field may return null, indicating that no valid value is found. Extensions []*string `json:"Extensions,omitnil,omitempty" name:"Extensions"` // Job status, values including: // JobUnknown: 0, JobCreated: 1, JobPending: 2, JobPreparing: 3, JobSelectClustering: 4, JobCreateTasking: 5, JobSyncTasking: 6, // JobRunning:11,JobFinished:12,JobPrepareException:13,JobFinishException:14,JobAborting:15,JobAborted:16,JobAbortException:17,JobDeleted:18, // JobSelectClusterException:19,JobCreateTaskException:20,JobSyncTaskException:21 // // Note: This field may return null, indicating that no valid value is found. Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Start time. // // Note: This field may return null, indicating that no valid value is found. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time. // // Note: This field may return null, indicating that no valid value is found. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Maximum VU. // // Note: This field may return null, indicating that no valid value is found. MaxVirtualUserCount *int64 `json:"MaxVirtualUserCount,omitnil,omitempty" name:"MaxVirtualUserCount"` // Note. // // Note: This field may return null, indicating that no valid value is found. Note *string `json:"Note,omitnil,omitempty" name:"Note"` // Error rate percentage. // // Note: This field may return null, indicating that no valid value is found. ErrorRate *float64 `json:"ErrorRate,omitnil,omitempty" name:"ErrorRate"` // Job owner. // // Note: This field may return null, indicating that no valid value is found. JobOwner *string `json:"JobOwner,omitnil,omitempty" name:"JobOwner"` // Deprecated. // // Note: This field may return null, indicating that no valid value is found. LoadSources *LoadSource `json:"LoadSources,omitnil,omitempty" name:"LoadSources"` // Job duration. // // Note: This field may return null, indicating that no valid value is found. Duration *int64 `json:"Duration,omitnil,omitempty" name:"Duration"` // Maximum requests per second. // // Note: This field may return null, indicating that no valid value is found. MaxRequestsPerSecond *int64 `json:"MaxRequestsPerSecond,omitnil,omitempty" name:"MaxRequestsPerSecond"` // Total number of requests. // // Note: This field may return null, indicating that no valid value is found. RequestTotal *float64 `json:"RequestTotal,omitnil,omitempty" name:"RequestTotal"` // Average requests per second. // // Note: This field may return null, indicating that no valid value is found. RequestsPerSecond *float64 `json:"RequestsPerSecond,omitnil,omitempty" name:"RequestsPerSecond"` // Average response time. // // Note: This field may return null, indicating that no valid value is found. ResponseTimeAverage *float64 `json:"ResponseTimeAverage,omitnil,omitempty" name:"ResponseTimeAverage"` // 99th percentile response time. // // Note: This field may return null, indicating that no valid value is found. ResponseTimeP99 *float64 `json:"ResponseTimeP99,omitnil,omitempty" name:"ResponseTimeP99"` // 95th percentile response time. // // Note: This field may return null, indicating that no valid value is found. ResponseTimeP95 *float64 `json:"ResponseTimeP95,omitnil,omitempty" name:"ResponseTimeP95"` // 90th percentile response time. // // Note: This field may return null, indicating that no valid value is found. ResponseTimeP90 *float64 `json:"ResponseTimeP90,omitnil,omitempty" name:"ResponseTimeP90"` // Deprecated. // // Note: This field may return null, indicating that no valid value is found. Scripts []*string `json:"Scripts,omitnil,omitempty" name:"Scripts"` // Maximum response time. // // Note: This field may return null, indicating that no valid value is found. ResponseTimeMax *float64 `json:"ResponseTimeMax,omitnil,omitempty" name:"ResponseTimeMax"` // Minimum response time. // // Note: This field may return null, indicating that no valid value is found. ResponseTimeMin *float64 `json:"ResponseTimeMin,omitnil,omitempty" name:"ResponseTimeMin"` // Stress machine information. // // Note: This field may return null, indicating that no valid value is found. LoadSourceInfos []*LoadSource `json:"LoadSourceInfos,omitnil,omitempty" name:"LoadSourceInfos"` // Test script information. // // Note: This field may return null, indicating that no valid value is found. TestScripts []*ScriptInfo `json:"TestScripts,omitnil,omitempty" name:"TestScripts"` // Protocol file information. // // Note: This field may return null, indicating that no valid value is found. Protocols []*ProtocolInfo `json:"Protocols,omitnil,omitempty" name:"Protocols"` // Request file information. // // Note: This field may return null, indicating that no valid value is found. RequestFiles []*FileInfo `json:"RequestFiles,omitnil,omitempty" name:"RequestFiles"` // Extension file information. // // Note: This field may return null, indicating that no valid value is found. Plugins []*FileInfo `json:"Plugins,omitnil,omitempty" name:"Plugins"` // Cron job ID. // // Note: This field may return null, indicating that no valid value is found. CronId *string `json:"CronId,omitnil,omitempty" name:"CronId"` // Scenario type. // // Note: This field may return null, indicating that no valid value is found. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Domain binding configuration. // // Note: This field may return null, indicating that no valid value is found. DomainNameConfig *DomainNameConfig `json:"DomainNameConfig,omitnil,omitempty" name:"DomainNameConfig"` // Whether the job is a debug job. // // Note: This field may return null, indicating that no valid value is found. Debug *bool `json:"Debug,omitnil,omitempty" name:"Debug"` // Abort reason. // // Note: This field may return null, indicating that no valid value is found. AbortReason *int64 `json:"AbortReason,omitnil,omitempty" name:"AbortReason"` // Create Time. // // Note: This field may return null, indicating that no valid value is found. CreatedAt *string `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"` // Project ID. // // Note: This field may return null, indicating that no valid value is found. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Notification event callback. // // Note: This field may return null, indicating that no valid value is found. NotificationHooks []*NotificationHook `json:"NotificationHooks,omitnil,omitempty" name:"NotificationHooks"` // Bytes received per second. // // Note: This field may return null, indicating that no valid value is found. NetworkReceiveRate *float64 `json:"NetworkReceiveRate,omitnil,omitempty" name:"NetworkReceiveRate"` // Bytes sent per second. // // Note: This field may return null, indicating that no valid value is found. NetworkSendRate *float64 `json:"NetworkSendRate,omitnil,omitempty" name:"NetworkSendRate"` // Job status description. // // Note: This field may return null, indicating that no valid value is found. Message *string `json:"Message,omitnil,omitempty" name:"Message"` // Project name. // // Note: This field may return null, indicating that no valid value is found. ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"` // Scenario name. // // Note: This field may return null, indicating that no valid value is found. ScenarioName *string `json:"ScenarioName,omitnil,omitempty" name:"ScenarioName"` // Billing type. // // Note: This field may return null, indicating that no valid value is found. PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Job VUM usage. // // Note: This field may return null, indicating that no valid value is found. Usage *int64 `json:"Usage,omitnil,omitempty" name:"Usage"` }
type LabelWithValues ¶
type Load ¶
type Load struct { // Load configuration. // // Note: This field may return null, indicating that no valid value is found. LoadSpec *LoadSpec `json:"LoadSpec,omitnil,omitempty" name:"LoadSpec"` // Stress source from vpc. // // Note: This field may return null, indicating that no valid value is found. VpcLoadDistribution *VpcLoadDistribution `json:"VpcLoadDistribution,omitnil,omitempty" name:"VpcLoadDistribution"` // Multi-region stress distribution. // // Note: This field may return null, indicating that no valid value is found. GeoRegionsLoadDistribution []*GeoRegionsLoadItem `json:"GeoRegionsLoadDistribution,omitnil,omitempty" name:"GeoRegionsLoadDistribution"` }
type LoadSource ¶
type LoadSource struct { // Pressure machine IP. // // Note: This field may return null, indicating that no valid value is found. IP *string `json:"IP,omitnil,omitempty" name:"IP"` // Pressure machine pod. // // Note: This field may return null, indicating that no valid value is found. PodName *string `json:"PodName,omitnil,omitempty" name:"PodName"` // Region. // // Note: This field may return null, indicating that no valid value is found. Region *string `json:"Region,omitnil,omitempty" name:"Region"` }
type LoadSpec ¶
type LoadSpec struct { // Configuration for concurrency mode. // // Note: This field may return null, indicating that no valid value is found. Concurrency *Concurrency `json:"Concurrency,omitnil,omitempty" name:"Concurrency"` // Configuration for RPS mode. // // Note: This field may return null, indicating that no valid value is found. RequestsPerSecond *RequestsPerSecond `json:"RequestsPerSecond,omitnil,omitempty" name:"RequestsPerSecond"` // Built-in script mode. // // Note: This field may return null, indicating that no valid value is found. ScriptOrigin *ScriptOrigin `json:"ScriptOrigin,omitnil,omitempty" name:"ScriptOrigin"` }
type MetricInfo ¶
type MetricInfo struct { // Metric name in backend. Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"` // Metric name displayed in frontend. Alias *string `json:"Alias,omitnil,omitempty" name:"Alias"` // Metric description. // // Note: This field may return null, indicating that no valid value is found. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Metric type. MetricType *string `json:"MetricType,omitnil,omitempty" name:"MetricType"` // Default metric unit. Unit *string `json:"Unit,omitnil,omitempty" name:"Unit"` // Aggregation functions supported by the metric. Aggregations []*AggregationLegend `json:"Aggregations,omitnil,omitempty" name:"Aggregations"` // Whether it is an internal metric, internal metrics cannot be freely selected by users on the frontend. InnerMetric *bool `json:"InnerMetric,omitnil,omitempty" name:"InnerMetric"` }
type MetricLabelWithValues ¶
type MetricLabelWithValues struct { // Metric name. MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // Labels and values. LabelValuesSet []*LabelWithValues `json:"LabelValuesSet,omitnil,omitempty" name:"LabelValuesSet"` }
type NormalLog ¶
type NormalLog struct { // Timestamp in milliseconds. // // Note: This field may return null, indicating that no valid value is found. Timestamp *string `json:"Timestamp,omitnil,omitempty" name:"Timestamp"` // Log level. // // Note: This field may return null, indicating that no valid value is found. SeverityText *string `json:"SeverityText,omitnil,omitempty" name:"SeverityText"` // Log output content. // // Note: This field may return null, indicating that no valid value is found. Body *string `json:"Body,omitnil,omitempty" name:"Body"` }
type Notification ¶
type NotificationHook ¶
type NotificationHook struct { // Event. // // Note: This field may return null, indicating that no valid value is found. Events []*string `json:"Events,omitnil,omitempty" name:"Events"` // Callback URL. // // Note: This field may return null, indicating that no valid value is found. URL *string `json:"URL,omitnil,omitempty" name:"URL"` }
type Project ¶
type Project struct { // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Project name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Project description. // // Note: This field may return null, indicating that no valid value is found. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Tags. // // Note: This field may return null, indicating that no valid value is found. Tags []*TagSpec `json:"Tags,omitnil,omitempty" name:"Tags"` // Project status. Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Create time. CreatedAt *string `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"` // Update time. UpdatedAt *string `json:"UpdatedAt,omitnil,omitempty" name:"UpdatedAt"` // App ID. AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // Uin. Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // Sub account uin. SubAccountUin *string `json:"SubAccountUin,omitnil,omitempty" name:"SubAccountUin"` }
type ProtocolInfo ¶
type ProtocolInfo struct { // Name. // // Note: This field may return null, indicating that no valid value is found. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // File size. // // Note: This field may return null, indicating that no valid value is found. Size *int64 `json:"Size,omitnil,omitempty" name:"Size"` // File type, such as 'proto'. // // Note: This field may return null, indicating that no valid value is found. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Update time. // // Note: This field may return null, indicating that no valid value is found. UpdatedAt *string `json:"UpdatedAt,omitnil,omitempty" name:"UpdatedAt"` // File ID. // // Note: This field may return null, indicating that no valid value is found. FileId *string `json:"FileId,omitnil,omitempty" name:"FileId"` }
type ReactionTimeRange ¶
type RegionDetail ¶
type RegionDetail struct { // Region code. Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Region ID. RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"` // Area where the region is located. Area *string `json:"Area,omitnil,omitempty" name:"Area"` // Region name. RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"` // Region state. RegionState *int64 `json:"RegionState,omitnil,omitempty" name:"RegionState"` // Region abbreviation. RegionShortName *string `json:"RegionShortName,omitnil,omitempty" name:"RegionShortName"` // Create time. CreatedAt *string `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"` // Update time. UpdatedAt *string `json:"UpdatedAt,omitnil,omitempty" name:"UpdatedAt"` }
type RequestSummary ¶
type RequestSummary struct { // Request URL. Service *string `json:"Service,omitnil,omitempty" name:"Service"` // Request method. Method *string `json:"Method,omitnil,omitempty" name:"Method"` // Number of requests. Count *int64 `json:"Count,omitnil,omitempty" name:"Count"` // Average request response time (seconds). Average *float64 `json:"Average,omitnil,omitempty" name:"Average"` // Request p90 latency (seconds). P90 *float64 `json:"P90,omitnil,omitempty" name:"P90"` // Request p95 latency (seconds). P95 *float64 `json:"P95,omitnil,omitempty" name:"P95"` // Minimum request latency (seconds). Min *float64 `json:"Min,omitnil,omitempty" name:"Min"` // Maximum request latency (seconds). Max *float64 `json:"Max,omitnil,omitempty" name:"Max"` // Request error rate. ErrorPercentage *float64 `json:"ErrorPercentage,omitnil,omitempty" name:"ErrorPercentage"` // Request p99 latency (seconds). P99 *float64 `json:"P99,omitnil,omitempty" name:"P99"` // Response status code. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Response details. Result *string `json:"Result,omitnil,omitempty" name:"Result"` // Request per seconds, unit req/s. RPS *float64 `json:"RPS,omitnil,omitempty" name:"RPS"` }
type RequestsPerSecond ¶
type RequestsPerSecond struct { // Maximum rps. // // Note: This field may return null, indicating that no valid value is found. MaxRequestsPerSecond *int64 `json:"MaxRequestsPerSecond,omitnil,omitempty" name:"MaxRequestsPerSecond"` // Duration time. // // Note: This field may return null, indicating that no valid value is found. DurationSeconds *int64 `json:"DurationSeconds,omitnil,omitempty" name:"DurationSeconds"` // Deprecated. // // Note: This field may return null, indicating that no valid value is found. TargetVirtualUsers *int64 `json:"TargetVirtualUsers,omitnil,omitempty" name:"TargetVirtualUsers"` // Number of resources. // // Note: This field may return null, indicating that no valid value is found. Resources *int64 `json:"Resources,omitnil,omitempty" name:"Resources"` // Initial rps. // // Note: This field may return null, indicating that no valid value is found. StartRequestsPerSecond *int64 `json:"StartRequestsPerSecond,omitnil,omitempty" name:"StartRequestsPerSecond"` // Target rps, invalid as an input parameter. // // Note: This field may return null, indicating that no valid value is found. TargetRequestsPerSecond *int64 `json:"TargetRequestsPerSecond,omitnil,omitempty" name:"TargetRequestsPerSecond"` // Graceful shutdown waiting time. // // Note: This field may return null, indicating that no valid value is found. GracefulStopSeconds *int64 `json:"GracefulStopSeconds,omitnil,omitempty" name:"GracefulStopSeconds"` }
type RestartCronJobsRequest ¶
type RestartCronJobsRequest struct { *tchttp.BaseRequest // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Array of cron job ID. CronJobIds []*string `json:"CronJobIds,omitnil,omitempty" name:"CronJobIds"` }
func NewRestartCronJobsRequest ¶
func NewRestartCronJobsRequest() (request *RestartCronJobsRequest)
func (*RestartCronJobsRequest) FromJsonString ¶
func (r *RestartCronJobsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestartCronJobsRequest) ToJsonString ¶
func (r *RestartCronJobsRequest) ToJsonString() string
type RestartCronJobsRequestParams ¶
type RestartCronJobsRequestParams struct { // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Array of cron job ID. CronJobIds []*string `json:"CronJobIds,omitnil,omitempty" name:"CronJobIds"` }
Predefined struct for user
type RestartCronJobsResponse ¶
type RestartCronJobsResponse struct { *tchttp.BaseResponse Response *RestartCronJobsResponseParams `json:"Response"` }
func NewRestartCronJobsResponse ¶
func NewRestartCronJobsResponse() (response *RestartCronJobsResponse)
func (*RestartCronJobsResponse) FromJsonString ¶
func (r *RestartCronJobsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RestartCronJobsResponse) ToJsonString ¶
func (r *RestartCronJobsResponse) ToJsonString() string
type RestartCronJobsResponseParams ¶
type RestartCronJobsResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SLALabel ¶
type SLALabel struct { // Label name. // // Note: This field may return null, indicating that no valid value is found. LabelName *string `json:"LabelName,omitnil,omitempty" name:"LabelName"` // Label value. // // Note: This field may return null, indicating that no valid value is found. LabelValue *string `json:"LabelValue,omitnil,omitempty" name:"LabelValue"` }
type SLAPolicy ¶
type SLAPolicy struct { // SLA rules. // // Note: This field may return null, indicating that no valid value is found. SLARules []*SLARule `json:"SLARules,omitnil,omitempty" name:"SLARules"` // Alert notification channel. // // Note: This field may return null, indicating that no valid value is found. AlertChannel *AlertChannel `json:"AlertChannel,omitnil,omitempty" name:"AlertChannel"` }
type SLARule ¶
type SLARule struct { // Metric. // // Note: This field may return null, indicating that no valid value is found. Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"` // Metric aggregation method. // // Note: This field may return null, indicating that no valid value is found. Aggregation *string `json:"Aggregation,omitnil,omitempty" name:"Aggregation"` // Condition, such as '==' '!=' '<' '<=' '>' '>='. // // Note: This field may return null, indicating that no valid value is found. Condition *string `json:"Condition,omitnil,omitempty" name:"Condition"` // Threshold value. // // Note: This field may return null, indicating that no valid value is found. Value *float64 `json:"Value,omitnil,omitempty" name:"Value"` // Label. // // Note: This field may return null, indicating that no valid value is found. LabelFilter []*SLALabel `json:"LabelFilter,omitnil,omitempty" name:"LabelFilter"` // Whether to stop performance test job. // // Note: This field may return null, indicating that no valid value is found. AbortFlag *bool `json:"AbortFlag,omitnil,omitempty" name:"AbortFlag"` // Duration. // // Note: This field may return null, indicating that no valid value is found. For *string `json:"For,omitnil,omitempty" name:"For"` }
type SampleLog ¶
type SampleLog struct { // Millisecond timestamp. // // Note: This field may return null, indicating that no valid value is found. Timestamp *string `json:"Timestamp,omitnil,omitempty" name:"Timestamp"` // Log attributes. // // Note: This field may return null, indicating that no valid value is found. Attributes *Attributes `json:"Attributes,omitnil,omitempty" name:"Attributes"` // Request in har format in log. // // Note: This field may return null, indicating that no valid value is found. Body *string `json:"Body,omitnil,omitempty" name:"Body"` }
type SamplePair ¶
type SamplePair struct { // Timestamp. It is the number of milliseconds since the epoch (1970-01-01 00:00 UTC) excluding leap seconds. Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"` // Value of a given sample at a given time. Value *float64 `json:"Value,omitnil,omitempty" name:"Value"` }
type SampleStream ¶
type SampleStream struct { // Metric labels. // // Note: This field may return null, indicating that no valid value is found. Labels []*Label `json:"Labels,omitnil,omitempty" name:"Labels"` // Array of metric values. Values []*SamplePair `json:"Values,omitnil,omitempty" name:"Values"` // Metric name. // // Note: This field may return null, indicating that no valid value is found. Name *string `json:"Name,omitnil,omitempty" name:"Name"` }
type Scenario ¶
type Scenario struct { // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Scenario name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Scenario description. // // Note: This field may return null, indicating that no valid value is found. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Type of scenario. Valid values: 'pts-http' represents the simple mode, 'pts-js' represents the script mode, 'pts-jmeter' represents the JMeter mode. // // Note: This field may return null, indicating that no valid value is found. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Scenario status. // // Note: This field may return null, indicating that no valid value is found. Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Load configuration. // // Note: This field may return null, indicating that no valid value is found. Load *Load `json:"Load,omitnil,omitempty" name:"Load"` // Deprecated. // // Note: This field may return null, indicating that no valid value is found. EncodedScripts *string `json:"EncodedScripts,omitnil,omitempty" name:"EncodedScripts"` // Deprecated. // // Note: This field may return null, indicating that no valid value is found. Configs []*string `json:"Configs,omitnil,omitempty" name:"Configs"` // Deprecated. // // Note: This field may return null, indicating that no valid value is found. Extensions []*string `json:"Extensions,omitnil,omitempty" name:"Extensions"` // Test datasets. // // Note: This field may return null, indicating that no valid value is found. Datasets []*TestData `json:"Datasets,omitnil,omitempty" name:"Datasets"` // Deprecated. // // Note: This field may return null, indicating that no valid value is found. SLAId *string `json:"SLAId,omitnil,omitempty" name:"SLAId"` // CronJob ID. // // Note: This field may return null, indicating that no valid value is found. CronId *string `json:"CronId,omitnil,omitempty" name:"CronId"` // Create time. CreatedAt *string `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"` // Update time. UpdatedAt *string `json:"UpdatedAt,omitnil,omitempty" name:"UpdatedAt"` // Project ID. // // Note: This field may return null, indicating that no valid value is found. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // App ID. // // Note: This field may return null, indicating that no valid value is found. AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // Uin. // // Note: This field may return null, indicating that no valid value is found. Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // Sub account uin. // // Note: This field may return null, indicating that no valid value is found. SubAccountUin *string `json:"SubAccountUin,omitnil,omitempty" name:"SubAccountUin"` // Test scripts. // // Note: This field may return null, indicating that no valid value is found. TestScripts []*ScriptInfo `json:"TestScripts,omitnil,omitempty" name:"TestScripts"` // Protocol files. // // Note: This field may return null, indicating that no valid value is found. Protocols []*ProtocolInfo `json:"Protocols,omitnil,omitempty" name:"Protocols"` // Request files. // // Note: This field may return null, indicating that no valid value is found. RequestFiles []*FileInfo `json:"RequestFiles,omitnil,omitempty" name:"RequestFiles"` // SLA policy. // // Note: This field may return null, indicating that no valid value is found. SLAPolicy *SLAPolicy `json:"SLAPolicy,omitnil,omitempty" name:"SLAPolicy"` // Extension plugin files. // // Note: This field may return null, indicating that no valid value is found. Plugins []*FileInfo `json:"Plugins,omitnil,omitempty" name:"Plugins"` // Domain name resolution configuration. // // Note: This field may return null, indicating that no valid value is found. DomainNameConfig *DomainNameConfig `json:"DomainNameConfig,omitnil,omitempty" name:"DomainNameConfig"` // Notification event hooks. // // Note: This field may return null, indicating that no valid value is found. NotificationHooks []*NotificationHook `json:"NotificationHooks,omitnil,omitempty" name:"NotificationHooks"` // Creator name. // // Note: This field may return null, indicating that no valid value is found. Owner *string `json:"Owner,omitnil,omitempty" name:"Owner"` // Project name. // // Note: This field may return null, indicating that no valid value is found. ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"` }
type ScenarioRelatedJobsParams ¶
type ScenarioRelatedJobsParams struct { // Offset, default value is 0. Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Number of returns. Default value is 20, maximum is 100. Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Field for sorting. OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // Whether in ascending order. Ascend *bool `json:"Ascend,omitnil,omitempty" name:"Ascend"` }
type ScenarioWithJobs ¶
type ScenarioWithJobs struct { // Scenario. // // Note: This field may return null, indicating that no valid value is found. Scenario *Scenario `json:"Scenario,omitnil,omitempty" name:"Scenario"` // Job list. // // Note: This field may return null, indicating that no valid value is found. Jobs []*Job `json:"Jobs,omitnil,omitempty" name:"Jobs"` }
type ScriptInfo ¶
type ScriptInfo struct { // Filename. // // Note: This field may return null, indicating that no valid value is found. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // File size. // // Note: This field may return null, indicating that no valid value is found. Size *int64 `json:"Size,omitnil,omitempty" name:"Size"` // File type. // // Note: This field may return null, indicating that no valid value is found. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Update time. // // Note: This field may return null, indicating that no valid value is found. UpdatedAt *string `json:"UpdatedAt,omitnil,omitempty" name:"UpdatedAt"` // Base64-encoded file content. // // Note: This field may return null, indicating that no valid value is found. EncodedContent *string `json:"EncodedContent,omitnil,omitempty" name:"EncodedContent"` // Base64-encoded har structure. // // Note: This field may return null, indicating that no valid value is found. EncodedHttpArchive *string `json:"EncodedHttpArchive,omitnil,omitempty" name:"EncodedHttpArchive"` // Script weight, range 1-100. // // Note: This field may return null, indicating that no valid value is found. LoadWeight *int64 `json:"LoadWeight,omitnil,omitempty" name:"LoadWeight"` // File ID. // // Note: This field may return null, indicating that no valid value is found. FileId *string `json:"FileId,omitnil,omitempty" name:"FileId"` }
type ScriptOrigin ¶
type ScriptOrigin struct { // Machine number. MachineNumber *int64 `json:"MachineNumber,omitnil,omitempty" name:"MachineNumber"` // Machine specification. MachineSpecification *string `json:"MachineSpecification,omitnil,omitempty" name:"MachineSpecification"` // Duration. DurationSeconds *int64 `json:"DurationSeconds,omitnil,omitempty" name:"DurationSeconds"` }
type Stage ¶
type Stage struct { // Duration time of this stage. // // Note: This field may return null, indicating that no valid value is found. DurationSeconds *int64 `json:"DurationSeconds,omitnil,omitempty" name:"DurationSeconds"` // Target number of virtual users. // // Note: This field may return null, indicating that no valid value is found. TargetVirtualUsers *int64 `json:"TargetVirtualUsers,omitnil,omitempty" name:"TargetVirtualUsers"` }
type StartJobRequest ¶
type StartJobRequest struct { *tchttp.BaseRequest // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Job initiator. JobOwner *string `json:"JobOwner,omitnil,omitempty" name:"JobOwner"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // If is debug mode. Debug *bool `json:"Debug,omitnil,omitempty" name:"Debug"` // Note. Note *string `json:"Note,omitnil,omitempty" name:"Note"` }
func NewStartJobRequest ¶
func NewStartJobRequest() (request *StartJobRequest)
func (*StartJobRequest) FromJsonString ¶
func (r *StartJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartJobRequest) ToJsonString ¶
func (r *StartJobRequest) ToJsonString() string
type StartJobRequestParams ¶
type StartJobRequestParams struct { // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Job initiator. JobOwner *string `json:"JobOwner,omitnil,omitempty" name:"JobOwner"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // If is debug mode. Debug *bool `json:"Debug,omitnil,omitempty" name:"Debug"` // Note. Note *string `json:"Note,omitnil,omitempty" name:"Note"` }
Predefined struct for user
type StartJobResponse ¶
type StartJobResponse struct { *tchttp.BaseResponse Response *StartJobResponseParams `json:"Response"` }
func NewStartJobResponse ¶
func NewStartJobResponse() (response *StartJobResponse)
func (*StartJobResponse) FromJsonString ¶
func (r *StartJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartJobResponse) ToJsonString ¶
func (r *StartJobResponse) ToJsonString() string
type StartJobResponseParams ¶
type StartJobResponseParams struct { // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type TagSpec ¶
type TagSpec struct { // Tag key. // // Note: This field may return null, indicating that no valid value is found. TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"` // Tag value. // // Note: This field may return null, indicating that no valid value is found. TagValue *string `json:"TagValue,omitnil,omitempty" name:"TagValue"` }
type TestData ¶
type TestData struct { // File name of the test dataset. // // Note: This field may return null, indicating that no valid value is found. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Whether the dataset is sharded. // // Note: This field may return null, indicating that no valid value is found. Split *bool `json:"Split,omitnil,omitempty" name:"Split"` // Whether the first row is parameter name. // // Note: This field may return null, indicating that no valid value is found. HeaderInFile *bool `json:"HeaderInFile,omitnil,omitempty" name:"HeaderInFile"` // Array of parameter name. // // Note: This field may return null, indicating that no valid value is found. HeaderColumns []*string `json:"HeaderColumns,omitnil,omitempty" name:"HeaderColumns"` // Number of file lines. // // Note: This field may return null, indicating that no valid value is found. LineCount *int64 `json:"LineCount,omitnil,omitempty" name:"LineCount"` // Update time. // // Note: This field may return null, indicating that no valid value is found. UpdatedAt *string `json:"UpdatedAt,omitnil,omitempty" name:"UpdatedAt"` // File size. // // Note: This field may return null, indicating that no valid value is found. Size *int64 `json:"Size,omitnil,omitempty" name:"Size"` // First few rows of dataset. // // Note: This field may return null, indicating that no valid value is found. HeadLines []*string `json:"HeadLines,omitnil,omitempty" name:"HeadLines"` // Last few rows of dataset. // // Note: This field may return null, indicating that no valid value is found. TailLines []*string `json:"TailLines,omitnil,omitempty" name:"TailLines"` // File type. // // Note: This field may return null, indicating that no valid value is found. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // File ID. // // Note: This field may return null, indicating that no valid value is found. FileId *string `json:"FileId,omitnil,omitempty" name:"FileId"` }
type UpdateCronJobRequest ¶
type UpdateCronJobRequest struct { *tchttp.BaseRequest // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Cron job ID. CronJobId *string `json:"CronJobId,omitnil,omitempty" name:"CronJobId"` // Note. Note *string `json:"Note,omitnil,omitempty" name:"Note"` // Cron expression. CronExpression *string `json:"CronExpression,omitnil,omitempty" name:"CronExpression"` // Execution frequency type: 1, execute once only; 2, Daily; 3, Weekly; 4, Advanced mode using cron expression. FrequencyType *int64 `json:"FrequencyType,omitnil,omitempty" name:"FrequencyType"` // Cron job Name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Scenario name. ScenarioName *string `json:"ScenarioName,omitnil,omitempty" name:"ScenarioName"` // Cron job Initiator. JobOwner *string `json:"JobOwner,omitnil,omitempty" name:"JobOwner"` // End time. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Notice ID. NoticeId *string `json:"NoticeId,omitnil,omitempty" name:"NoticeId"` }
func NewUpdateCronJobRequest ¶
func NewUpdateCronJobRequest() (request *UpdateCronJobRequest)
func (*UpdateCronJobRequest) FromJsonString ¶
func (r *UpdateCronJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateCronJobRequest) ToJsonString ¶
func (r *UpdateCronJobRequest) ToJsonString() string
type UpdateCronJobRequestParams ¶
type UpdateCronJobRequestParams struct { // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Cron job ID. CronJobId *string `json:"CronJobId,omitnil,omitempty" name:"CronJobId"` // Note. Note *string `json:"Note,omitnil,omitempty" name:"Note"` // Cron expression. CronExpression *string `json:"CronExpression,omitnil,omitempty" name:"CronExpression"` // Execution frequency type: 1, execute once only; 2, Daily; 3, Weekly; 4, Advanced mode using cron expression. FrequencyType *int64 `json:"FrequencyType,omitnil,omitempty" name:"FrequencyType"` // Cron job Name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Scenario name. ScenarioName *string `json:"ScenarioName,omitnil,omitempty" name:"ScenarioName"` // Cron job Initiator. JobOwner *string `json:"JobOwner,omitnil,omitempty" name:"JobOwner"` // End time. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Notice ID. NoticeId *string `json:"NoticeId,omitnil,omitempty" name:"NoticeId"` }
Predefined struct for user
type UpdateCronJobResponse ¶
type UpdateCronJobResponse struct { *tchttp.BaseResponse Response *UpdateCronJobResponseParams `json:"Response"` }
func NewUpdateCronJobResponse ¶
func NewUpdateCronJobResponse() (response *UpdateCronJobResponse)
func (*UpdateCronJobResponse) FromJsonString ¶
func (r *UpdateCronJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateCronJobResponse) ToJsonString ¶
func (r *UpdateCronJobResponse) ToJsonString() string
type UpdateCronJobResponseParams ¶
type UpdateCronJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateEnvironmentRequest ¶
type UpdateEnvironmentRequest struct {
*tchttp.BaseRequest
}
func NewUpdateEnvironmentRequest ¶
func NewUpdateEnvironmentRequest() (request *UpdateEnvironmentRequest)
func (*UpdateEnvironmentRequest) FromJsonString ¶
func (r *UpdateEnvironmentRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateEnvironmentRequest) ToJsonString ¶
func (r *UpdateEnvironmentRequest) ToJsonString() string
type UpdateEnvironmentRequestParams ¶
type UpdateEnvironmentRequestParams struct { }
Predefined struct for user
type UpdateEnvironmentResponse ¶
type UpdateEnvironmentResponse struct { *tchttp.BaseResponse Response *UpdateEnvironmentResponseParams `json:"Response"` }
func NewUpdateEnvironmentResponse ¶
func NewUpdateEnvironmentResponse() (response *UpdateEnvironmentResponse)
func (*UpdateEnvironmentResponse) FromJsonString ¶
func (r *UpdateEnvironmentResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateEnvironmentResponse) ToJsonString ¶
func (r *UpdateEnvironmentResponse) ToJsonString() string
type UpdateEnvironmentResponseParams ¶
type UpdateEnvironmentResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateFileScenarioRelationRequest ¶
type UpdateFileScenarioRelationRequest struct { *tchttp.BaseRequest // File ID. Its value should be the corresponding directory of the file in the COS bucket after it has been uploaded in the previous step. FileId *string `json:"FileId,omitnil,omitempty" name:"FileId"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Array of Scenario ID. ScenarioIds []*string `json:"ScenarioIds,omitnil,omitempty" name:"ScenarioIds"` }
func NewUpdateFileScenarioRelationRequest ¶
func NewUpdateFileScenarioRelationRequest() (request *UpdateFileScenarioRelationRequest)
func (*UpdateFileScenarioRelationRequest) FromJsonString ¶
func (r *UpdateFileScenarioRelationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateFileScenarioRelationRequest) ToJsonString ¶
func (r *UpdateFileScenarioRelationRequest) ToJsonString() string
type UpdateFileScenarioRelationRequestParams ¶
type UpdateFileScenarioRelationRequestParams struct { // File ID. Its value should be the corresponding directory of the file in the COS bucket after it has been uploaded in the previous step. FileId *string `json:"FileId,omitnil,omitempty" name:"FileId"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Array of Scenario ID. ScenarioIds []*string `json:"ScenarioIds,omitnil,omitempty" name:"ScenarioIds"` }
Predefined struct for user
type UpdateFileScenarioRelationResponse ¶
type UpdateFileScenarioRelationResponse struct { *tchttp.BaseResponse Response *UpdateFileScenarioRelationResponseParams `json:"Response"` }
func NewUpdateFileScenarioRelationResponse ¶
func NewUpdateFileScenarioRelationResponse() (response *UpdateFileScenarioRelationResponse)
func (*UpdateFileScenarioRelationResponse) FromJsonString ¶
func (r *UpdateFileScenarioRelationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateFileScenarioRelationResponse) ToJsonString ¶
func (r *UpdateFileScenarioRelationResponse) ToJsonString() string
type UpdateFileScenarioRelationResponseParams ¶
type UpdateFileScenarioRelationResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateJobRequest ¶
type UpdateJobRequest struct { *tchttp.BaseRequest // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Job note. Note *string `json:"Note,omitnil,omitempty" name:"Note"` }
func NewUpdateJobRequest ¶
func NewUpdateJobRequest() (request *UpdateJobRequest)
func (*UpdateJobRequest) FromJsonString ¶
func (r *UpdateJobRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateJobRequest) ToJsonString ¶
func (r *UpdateJobRequest) ToJsonString() string
type UpdateJobRequestParams ¶
type UpdateJobRequestParams struct { // Job ID. JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Job note. Note *string `json:"Note,omitnil,omitempty" name:"Note"` }
Predefined struct for user
type UpdateJobResponse ¶
type UpdateJobResponse struct { *tchttp.BaseResponse Response *UpdateJobResponseParams `json:"Response"` }
func NewUpdateJobResponse ¶
func NewUpdateJobResponse() (response *UpdateJobResponse)
func (*UpdateJobResponse) FromJsonString ¶
func (r *UpdateJobResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateJobResponse) ToJsonString ¶
func (r *UpdateJobResponse) ToJsonString() string
type UpdateJobResponseParams ¶
type UpdateJobResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateProjectRequest ¶
type UpdateProjectRequest struct { *tchttp.BaseRequest // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Project name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Project description. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Project status, default value 1 Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Tags. Tags []*TagSpec `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewUpdateProjectRequest ¶
func NewUpdateProjectRequest() (request *UpdateProjectRequest)
func (*UpdateProjectRequest) FromJsonString ¶
func (r *UpdateProjectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateProjectRequest) ToJsonString ¶
func (r *UpdateProjectRequest) ToJsonString() string
type UpdateProjectRequestParams ¶
type UpdateProjectRequestParams struct { // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Project name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Project description. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Project status, default value 1 Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Tags. Tags []*TagSpec `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type UpdateProjectResponse ¶
type UpdateProjectResponse struct { *tchttp.BaseResponse Response *UpdateProjectResponseParams `json:"Response"` }
func NewUpdateProjectResponse ¶
func NewUpdateProjectResponse() (response *UpdateProjectResponse)
func (*UpdateProjectResponse) FromJsonString ¶
func (r *UpdateProjectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateProjectResponse) ToJsonString ¶
func (r *UpdateProjectResponse) ToJsonString() string
type UpdateProjectResponseParams ¶
type UpdateProjectResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpdateScenarioRequest ¶
type UpdateScenarioRequest struct { *tchttp.BaseRequest // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Scenario name. When calling this API, please include the fields in the Scenario that do not need to be modified as part of the API parameters, otherwise the scenario may become unusable. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Scenario description. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Mode type of scenario. Valid values: 'pts-http' represents the simple mode, 'pts-js' represents the script mode, 'pts-jmeter' represents the JMeter mode. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Load configuration. Load *Load `json:"Load,omitnil,omitempty" name:"Load"` // Deprecated. EncodedScripts *string `json:"EncodedScripts,omitnil,omitempty" name:"EncodedScripts"` // Deprecated. Configs []*string `json:"Configs,omitnil,omitempty" name:"Configs"` // Test datasets. Datasets []*TestData `json:"Datasets,omitnil,omitempty" name:"Datasets"` // Deprecated. Extensions []*string `json:"Extensions,omitnil,omitempty" name:"Extensions"` // SLA rule ID. SLAId *string `json:"SLAId,omitnil,omitempty" name:"SLAId"` // Cron job ID. CronId *string `json:"CronId,omitnil,omitempty" name:"CronId"` // Scenario status (Note: This parameter is no longer required). Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Test scripts. TestScripts []*ScriptInfo `json:"TestScripts,omitnil,omitempty" name:"TestScripts"` // Protocol. Protocols []*ProtocolInfo `json:"Protocols,omitnil,omitempty" name:"Protocols"` // Request files. RequestFiles []*FileInfo `json:"RequestFiles,omitnil,omitempty" name:"RequestFiles"` // SLA policy. SLAPolicy *SLAPolicy `json:"SLAPolicy,omitnil,omitempty" name:"SLAPolicy"` // Extension plugins. Plugins []*FileInfo `json:"Plugins,omitnil,omitempty" name:"Plugins"` // Domain name resolution configuration. DomainNameConfig *DomainNameConfig `json:"DomainNameConfig,omitnil,omitempty" name:"DomainNameConfig"` // Notification web hook configuration. NotificationHooks []*Notification `json:"NotificationHooks,omitnil,omitempty" name:"NotificationHooks"` // Creator name. Owner *string `json:"Owner,omitnil,omitempty" name:"Owner"` // Environment ID. EnvId *string `json:"EnvId,omitnil,omitempty" name:"EnvId"` }
func NewUpdateScenarioRequest ¶
func NewUpdateScenarioRequest() (request *UpdateScenarioRequest)
func (*UpdateScenarioRequest) FromJsonString ¶
func (r *UpdateScenarioRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateScenarioRequest) ToJsonString ¶
func (r *UpdateScenarioRequest) ToJsonString() string
type UpdateScenarioRequestParams ¶
type UpdateScenarioRequestParams struct { // Scenario ID. ScenarioId *string `json:"ScenarioId,omitnil,omitempty" name:"ScenarioId"` // Scenario name. When calling this API, please include the fields in the Scenario that do not need to be modified as part of the API parameters, otherwise the scenario may become unusable. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Scenario description. Description *string `json:"Description,omitnil,omitempty" name:"Description"` // Mode type of scenario. Valid values: 'pts-http' represents the simple mode, 'pts-js' represents the script mode, 'pts-jmeter' represents the JMeter mode. Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Load configuration. Load *Load `json:"Load,omitnil,omitempty" name:"Load"` // Deprecated. EncodedScripts *string `json:"EncodedScripts,omitnil,omitempty" name:"EncodedScripts"` // Deprecated. Configs []*string `json:"Configs,omitnil,omitempty" name:"Configs"` // Test datasets. Datasets []*TestData `json:"Datasets,omitnil,omitempty" name:"Datasets"` // Deprecated. Extensions []*string `json:"Extensions,omitnil,omitempty" name:"Extensions"` // SLA rule ID. SLAId *string `json:"SLAId,omitnil,omitempty" name:"SLAId"` // Cron job ID. CronId *string `json:"CronId,omitnil,omitempty" name:"CronId"` // Scenario status (Note: This parameter is no longer required). Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Project ID. ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // Test scripts. TestScripts []*ScriptInfo `json:"TestScripts,omitnil,omitempty" name:"TestScripts"` // Protocol. Protocols []*ProtocolInfo `json:"Protocols,omitnil,omitempty" name:"Protocols"` // Request files. RequestFiles []*FileInfo `json:"RequestFiles,omitnil,omitempty" name:"RequestFiles"` // SLA policy. SLAPolicy *SLAPolicy `json:"SLAPolicy,omitnil,omitempty" name:"SLAPolicy"` // Extension plugins. Plugins []*FileInfo `json:"Plugins,omitnil,omitempty" name:"Plugins"` // Domain name resolution configuration. DomainNameConfig *DomainNameConfig `json:"DomainNameConfig,omitnil,omitempty" name:"DomainNameConfig"` // Notification web hook configuration. NotificationHooks []*Notification `json:"NotificationHooks,omitnil,omitempty" name:"NotificationHooks"` // Creator name. Owner *string `json:"Owner,omitnil,omitempty" name:"Owner"` // Environment ID. EnvId *string `json:"EnvId,omitnil,omitempty" name:"EnvId"` }
Predefined struct for user
type UpdateScenarioResponse ¶
type UpdateScenarioResponse struct { *tchttp.BaseResponse Response *UpdateScenarioResponseParams `json:"Response"` }
func NewUpdateScenarioResponse ¶
func NewUpdateScenarioResponse() (response *UpdateScenarioResponse)
func (*UpdateScenarioResponse) FromJsonString ¶
func (r *UpdateScenarioResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateScenarioResponse) ToJsonString ¶
func (r *UpdateScenarioResponse) ToJsonString() string
type UpdateScenarioResponseParams ¶
type UpdateScenarioResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type VpcLoadDistribution ¶
type VpcLoadDistribution struct { // Region ID. RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"` // Region. Region *string `json:"Region,omitnil,omitempty" name:"Region"` // VPC ID. // // Note: This field may return null, indicating that no valid value is found. VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // List of subnet IDs. // // Note: This field may return null, indicating that no valid value is found. SubnetIds []*string `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"` }