sls

package
v1.61.1631 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2022 License: Apache-2.0 Imports: 6 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "central"

EndpointType regional or central

Functions

func GetEndpointMap added in v1.61.144

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType added in v1.61.144

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty added in v1.61.144

func SetClientProperty(client *Client, propertyName string, propertyValue interface{})

SetClientProperty Set Property by Reflect

func SetEndpointDataToClient added in v1.61.144

func SetEndpointDataToClient(client *Client)

SetEndpointDataToClient Set EndpointMap and ENdpointType

Types

type AnalyzeAppLogRequest added in v1.61.144

type AnalyzeAppLogRequest struct {
	*requests.RpcRequest
	AppType     string `position:"Query" name:"AppType"`
	VariableMap string `position:"Query" name:"VariableMap"`
	DisplayName string `position:"Query" name:"DisplayName"`
}

AnalyzeAppLogRequest is the request struct for api AnalyzeAppLog

func CreateAnalyzeAppLogRequest added in v1.61.144

func CreateAnalyzeAppLogRequest() (request *AnalyzeAppLogRequest)

CreateAnalyzeAppLogRequest creates a request to invoke AnalyzeAppLog API

type AnalyzeAppLogResponse added in v1.61.144

type AnalyzeAppLogResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Success   string `json:"Success" xml:"Success"`
	Message   string `json:"Message" xml:"Message"`
}

AnalyzeAppLogResponse is the response struct for api AnalyzeAppLog

func CreateAnalyzeAppLogResponse added in v1.61.144

func CreateAnalyzeAppLogResponse() (response *AnalyzeAppLogResponse)

CreateAnalyzeAppLogResponse creates a response to parse from AnalyzeAppLog response

type AnalyzeProductLogRequest added in v1.61.144

type AnalyzeProductLogRequest struct {
	*requests.RpcRequest
	Project       string           `position:"Query" name:"Project"`
	CloudProduct  string           `position:"Query" name:"CloudProduct"`
	ResourceQuota string           `position:"Query" name:"ResourceQuota"`
	VariableMap   string           `position:"Query" name:"VariableMap"`
	TTL           requests.Integer `position:"Query" name:"TTL"`
	ClientIp      string           `position:"Query" name:"ClientIp"`
	Region        string           `position:"Query" name:"Region"`
	Lang          string           `position:"Query" name:"Lang"`
	Logstore      string           `position:"Query" name:"Logstore"`
	Overwrite     requests.Boolean `position:"Query" name:"Overwrite"`
}

AnalyzeProductLogRequest is the request struct for api AnalyzeProductLog

func CreateAnalyzeProductLogRequest added in v1.61.144

func CreateAnalyzeProductLogRequest() (request *AnalyzeProductLogRequest)

CreateAnalyzeProductLogRequest creates a request to invoke AnalyzeProductLog API

type AnalyzeProductLogResponse added in v1.61.144

type AnalyzeProductLogResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Success   string `json:"Success" xml:"Success"`
	Message   string `json:"Message" xml:"Message"`
}

AnalyzeProductLogResponse is the response struct for api AnalyzeProductLog

func CreateAnalyzeProductLogResponse added in v1.61.144

func CreateAnalyzeProductLogResponse() (response *AnalyzeProductLogResponse)

CreateAnalyzeProductLogResponse creates a response to parse from AnalyzeProductLog response

type AppModel added in v1.61.144

type AppModel struct {
	Uid         int64  `json:"Uid" xml:"Uid"`
	AppName     string `json:"AppName" xml:"AppName"`
	Config      string `json:"Config" xml:"Config"`
	DisplayName string `json:"DisplayName" xml:"DisplayName"`
}

AppModel is a nested struct in sls response

type CheckResourceOrchestrationRequest added in v1.61.762

type CheckResourceOrchestrationRequest struct {
	*requests.RpcRequest
	Language        string `position:"Query" name:"Language"`
	OperationPolicy string `position:"Query" name:"OperationPolicy"`
	AssetsId        string `position:"Query" name:"AssetsId"`
}

CheckResourceOrchestrationRequest is the request struct for api CheckResourceOrchestration

func CreateCheckResourceOrchestrationRequest added in v1.61.762

func CreateCheckResourceOrchestrationRequest() (request *CheckResourceOrchestrationRequest)

CreateCheckResourceOrchestrationRequest creates a request to invoke CheckResourceOrchestration API

type CheckResourceOrchestrationResponse added in v1.61.762

type CheckResourceOrchestrationResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Message   string `json:"Message" xml:"Message"`
	Code      string `json:"Code" xml:"Code"`
	Data      string `json:"Data" xml:"Data"`
}

CheckResourceOrchestrationResponse is the response struct for api CheckResourceOrchestration

func CreateCheckResourceOrchestrationResponse added in v1.61.762

func CreateCheckResourceOrchestrationResponse() (response *CheckResourceOrchestrationResponse)

CreateCheckResourceOrchestrationResponse creates a response to parse from CheckResourceOrchestration response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

func NewClientWithAccessKey

func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)

NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithEcsRamRole

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithOptions

func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)

NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client

func NewClientWithProvider added in v1.61.144

func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)

NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArn

func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArnAndPolicy added in v1.61.144

func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRsaKeyPair

func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)

NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithStsToken

func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)

NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func (*Client) AnalyzeAppLog added in v1.61.144

func (client *Client) AnalyzeAppLog(request *AnalyzeAppLogRequest) (response *AnalyzeAppLogResponse, err error)

AnalyzeAppLog invokes the sls.AnalyzeAppLog API synchronously

func (*Client) AnalyzeAppLogWithCallback added in v1.61.144

func (client *Client) AnalyzeAppLogWithCallback(request *AnalyzeAppLogRequest, callback func(response *AnalyzeAppLogResponse, err error)) <-chan int

AnalyzeAppLogWithCallback invokes the sls.AnalyzeAppLog API asynchronously

func (*Client) AnalyzeAppLogWithChan added in v1.61.144

func (client *Client) AnalyzeAppLogWithChan(request *AnalyzeAppLogRequest) (<-chan *AnalyzeAppLogResponse, <-chan error)

AnalyzeAppLogWithChan invokes the sls.AnalyzeAppLog API asynchronously

func (*Client) AnalyzeProductLog added in v1.61.144

func (client *Client) AnalyzeProductLog(request *AnalyzeProductLogRequest) (response *AnalyzeProductLogResponse, err error)

AnalyzeProductLog invokes the sls.AnalyzeProductLog API synchronously

func (*Client) AnalyzeProductLogWithCallback added in v1.61.144

func (client *Client) AnalyzeProductLogWithCallback(request *AnalyzeProductLogRequest, callback func(response *AnalyzeProductLogResponse, err error)) <-chan int

AnalyzeProductLogWithCallback invokes the sls.AnalyzeProductLog API asynchronously

func (*Client) AnalyzeProductLogWithChan added in v1.61.144

func (client *Client) AnalyzeProductLogWithChan(request *AnalyzeProductLogRequest) (<-chan *AnalyzeProductLogResponse, <-chan error)

AnalyzeProductLogWithChan invokes the sls.AnalyzeProductLog API asynchronously

func (*Client) CheckResourceOrchestration added in v1.61.762

func (client *Client) CheckResourceOrchestration(request *CheckResourceOrchestrationRequest) (response *CheckResourceOrchestrationResponse, err error)

CheckResourceOrchestration invokes the sls.CheckResourceOrchestration API synchronously

func (*Client) CheckResourceOrchestrationWithCallback added in v1.61.762

func (client *Client) CheckResourceOrchestrationWithCallback(request *CheckResourceOrchestrationRequest, callback func(response *CheckResourceOrchestrationResponse, err error)) <-chan int

CheckResourceOrchestrationWithCallback invokes the sls.CheckResourceOrchestration API asynchronously

func (*Client) CheckResourceOrchestrationWithChan added in v1.61.762

func (client *Client) CheckResourceOrchestrationWithChan(request *CheckResourceOrchestrationRequest) (<-chan *CheckResourceOrchestrationResponse, <-chan error)

CheckResourceOrchestrationWithChan invokes the sls.CheckResourceOrchestration API asynchronously

func (*Client) CreateApp added in v1.61.144

func (client *Client) CreateApp(request *CreateAppRequest) (response *CreateAppResponse, err error)

CreateApp invokes the sls.CreateApp API synchronously

func (*Client) CreateAppWithCallback added in v1.61.144

func (client *Client) CreateAppWithCallback(request *CreateAppRequest, callback func(response *CreateAppResponse, err error)) <-chan int

CreateAppWithCallback invokes the sls.CreateApp API asynchronously

func (*Client) CreateAppWithChan added in v1.61.144

func (client *Client) CreateAppWithChan(request *CreateAppRequest) (<-chan *CreateAppResponse, <-chan error)

CreateAppWithChan invokes the sls.CreateApp API asynchronously

func (*Client) CreateImportIngestionJob added in v1.61.1246

func (client *Client) CreateImportIngestionJob(request *CreateImportIngestionJobRequest) (response *CreateImportIngestionJobResponse, err error)

CreateImportIngestionJob invokes the sls.CreateImportIngestionJob API synchronously

func (*Client) CreateImportIngestionJobWithCallback added in v1.61.1246

func (client *Client) CreateImportIngestionJobWithCallback(request *CreateImportIngestionJobRequest, callback func(response *CreateImportIngestionJobResponse, err error)) <-chan int

CreateImportIngestionJobWithCallback invokes the sls.CreateImportIngestionJob API asynchronously

func (*Client) CreateImportIngestionJobWithChan added in v1.61.1246

func (client *Client) CreateImportIngestionJobWithChan(request *CreateImportIngestionJobRequest) (<-chan *CreateImportIngestionJobResponse, <-chan error)

CreateImportIngestionJobWithChan invokes the sls.CreateImportIngestionJob API asynchronously

func (*Client) CreateIngestionJob added in v1.61.1246

func (client *Client) CreateIngestionJob(request *CreateIngestionJobRequest) (response *CreateIngestionJobResponse, err error)

CreateIngestionJob invokes the sls.CreateIngestionJob API synchronously

func (*Client) CreateIngestionJobWithCallback added in v1.61.1246

func (client *Client) CreateIngestionJobWithCallback(request *CreateIngestionJobRequest, callback func(response *CreateIngestionJobResponse, err error)) <-chan int

CreateIngestionJobWithCallback invokes the sls.CreateIngestionJob API asynchronously

func (*Client) CreateIngestionJobWithChan added in v1.61.1246

func (client *Client) CreateIngestionJobWithChan(request *CreateIngestionJobRequest) (<-chan *CreateIngestionJobResponse, <-chan error)

CreateIngestionJobWithChan invokes the sls.CreateIngestionJob API asynchronously

func (*Client) CreateResourceOrchestration added in v1.61.762

func (client *Client) CreateResourceOrchestration(request *CreateResourceOrchestrationRequest) (response *CreateResourceOrchestrationResponse, err error)

CreateResourceOrchestration invokes the sls.CreateResourceOrchestration API synchronously

func (*Client) CreateResourceOrchestrationWithCallback added in v1.61.762

func (client *Client) CreateResourceOrchestrationWithCallback(request *CreateResourceOrchestrationRequest, callback func(response *CreateResourceOrchestrationResponse, err error)) <-chan int

CreateResourceOrchestrationWithCallback invokes the sls.CreateResourceOrchestration API asynchronously

func (*Client) CreateResourceOrchestrationWithChan added in v1.61.762

func (client *Client) CreateResourceOrchestrationWithChan(request *CreateResourceOrchestrationRequest) (<-chan *CreateResourceOrchestrationResponse, <-chan error)

CreateResourceOrchestrationWithChan invokes the sls.CreateResourceOrchestration API asynchronously

func (*Client) DeleteApp added in v1.61.144

func (client *Client) DeleteApp(request *DeleteAppRequest) (response *DeleteAppResponse, err error)

DeleteApp invokes the sls.DeleteApp API synchronously

func (*Client) DeleteAppWithCallback added in v1.61.144

func (client *Client) DeleteAppWithCallback(request *DeleteAppRequest, callback func(response *DeleteAppResponse, err error)) <-chan int

DeleteAppWithCallback invokes the sls.DeleteApp API asynchronously

func (*Client) DeleteAppWithChan added in v1.61.144

func (client *Client) DeleteAppWithChan(request *DeleteAppRequest) (<-chan *DeleteAppResponse, <-chan error)

DeleteAppWithChan invokes the sls.DeleteApp API asynchronously

func (*Client) DeleteImportIngestionJob added in v1.61.1246

func (client *Client) DeleteImportIngestionJob(request *DeleteImportIngestionJobRequest) (response *DeleteImportIngestionJobResponse, err error)

DeleteImportIngestionJob invokes the sls.DeleteImportIngestionJob API synchronously

func (*Client) DeleteImportIngestionJobWithCallback added in v1.61.1246

func (client *Client) DeleteImportIngestionJobWithCallback(request *DeleteImportIngestionJobRequest, callback func(response *DeleteImportIngestionJobResponse, err error)) <-chan int

DeleteImportIngestionJobWithCallback invokes the sls.DeleteImportIngestionJob API asynchronously

func (*Client) DeleteImportIngestionJobWithChan added in v1.61.1246

func (client *Client) DeleteImportIngestionJobWithChan(request *DeleteImportIngestionJobRequest) (<-chan *DeleteImportIngestionJobResponse, <-chan error)

DeleteImportIngestionJobWithChan invokes the sls.DeleteImportIngestionJob API asynchronously

func (*Client) DeleteIngestionJob added in v1.61.1246

func (client *Client) DeleteIngestionJob(request *DeleteIngestionJobRequest) (response *DeleteIngestionJobResponse, err error)

DeleteIngestionJob invokes the sls.DeleteIngestionJob API synchronously

func (*Client) DeleteIngestionJobWithCallback added in v1.61.1246

func (client *Client) DeleteIngestionJobWithCallback(request *DeleteIngestionJobRequest, callback func(response *DeleteIngestionJobResponse, err error)) <-chan int

DeleteIngestionJobWithCallback invokes the sls.DeleteIngestionJob API asynchronously

func (*Client) DeleteIngestionJobWithChan added in v1.61.1246

func (client *Client) DeleteIngestionJobWithChan(request *DeleteIngestionJobRequest) (<-chan *DeleteIngestionJobResponse, <-chan error)

DeleteIngestionJobWithChan invokes the sls.DeleteIngestionJob API asynchronously

func (*Client) DeleteLogResource added in v1.61.169

func (client *Client) DeleteLogResource(request *DeleteLogResourceRequest) (response *DeleteLogResourceResponse, err error)

DeleteLogResource invokes the sls.DeleteLogResource API synchronously

func (*Client) DeleteLogResourceWithCallback added in v1.61.169

func (client *Client) DeleteLogResourceWithCallback(request *DeleteLogResourceRequest, callback func(response *DeleteLogResourceResponse, err error)) <-chan int

DeleteLogResourceWithCallback invokes the sls.DeleteLogResource API asynchronously

func (*Client) DeleteLogResourceWithChan added in v1.61.169

func (client *Client) DeleteLogResourceWithChan(request *DeleteLogResourceRequest) (<-chan *DeleteLogResourceResponse, <-chan error)

DeleteLogResourceWithChan invokes the sls.DeleteLogResource API asynchronously

func (*Client) DescribeApp added in v1.61.144

func (client *Client) DescribeApp(request *DescribeAppRequest) (response *DescribeAppResponse, err error)

DescribeApp invokes the sls.DescribeApp API synchronously

func (*Client) DescribeAppWithCallback added in v1.61.144

func (client *Client) DescribeAppWithCallback(request *DescribeAppRequest, callback func(response *DescribeAppResponse, err error)) <-chan int

DescribeAppWithCallback invokes the sls.DescribeApp API asynchronously

func (*Client) DescribeAppWithChan added in v1.61.144

func (client *Client) DescribeAppWithChan(request *DescribeAppRequest) (<-chan *DescribeAppResponse, <-chan error)

DescribeAppWithChan invokes the sls.DescribeApp API asynchronously

func (*Client) DisableAlert added in v1.61.762

func (client *Client) DisableAlert(request *DisableAlertRequest) (response *DisableAlertResponse, err error)

DisableAlert invokes the sls.DisableAlert API synchronously

func (*Client) DisableAlertWithCallback added in v1.61.762

func (client *Client) DisableAlertWithCallback(request *DisableAlertRequest, callback func(response *DisableAlertResponse, err error)) <-chan int

DisableAlertWithCallback invokes the sls.DisableAlert API asynchronously

func (*Client) DisableAlertWithChan added in v1.61.762

func (client *Client) DisableAlertWithChan(request *DisableAlertRequest) (<-chan *DisableAlertResponse, <-chan error)

DisableAlertWithChan invokes the sls.DisableAlert API asynchronously

func (*Client) EnableAlert added in v1.61.762

func (client *Client) EnableAlert(request *EnableAlertRequest) (response *EnableAlertResponse, err error)

EnableAlert invokes the sls.EnableAlert API synchronously

func (*Client) EnableAlertWithCallback added in v1.61.762

func (client *Client) EnableAlertWithCallback(request *EnableAlertRequest, callback func(response *EnableAlertResponse, err error)) <-chan int

EnableAlertWithCallback invokes the sls.EnableAlert API asynchronously

func (*Client) EnableAlertWithChan added in v1.61.762

func (client *Client) EnableAlertWithChan(request *EnableAlertRequest) (<-chan *EnableAlertResponse, <-chan error)

EnableAlertWithChan invokes the sls.EnableAlert API asynchronously

func (*Client) GetAlert added in v1.61.762

func (client *Client) GetAlert(request *GetAlertRequest) (response *GetAlertResponse, err error)

GetAlert invokes the sls.GetAlert API synchronously

func (*Client) GetAlertHistories added in v1.61.762

func (client *Client) GetAlertHistories(request *GetAlertHistoriesRequest) (response *GetAlertHistoriesResponse, err error)

GetAlertHistories invokes the sls.GetAlertHistories API synchronously

func (*Client) GetAlertHistoriesWithCallback added in v1.61.762

func (client *Client) GetAlertHistoriesWithCallback(request *GetAlertHistoriesRequest, callback func(response *GetAlertHistoriesResponse, err error)) <-chan int

GetAlertHistoriesWithCallback invokes the sls.GetAlertHistories API asynchronously

func (*Client) GetAlertHistoriesWithChan added in v1.61.762

func (client *Client) GetAlertHistoriesWithChan(request *GetAlertHistoriesRequest) (<-chan *GetAlertHistoriesResponse, <-chan error)

GetAlertHistoriesWithChan invokes the sls.GetAlertHistories API asynchronously

func (*Client) GetAlertWithCallback added in v1.61.762

func (client *Client) GetAlertWithCallback(request *GetAlertRequest, callback func(response *GetAlertResponse, err error)) <-chan int

GetAlertWithCallback invokes the sls.GetAlert API asynchronously

func (*Client) GetAlertWithChan added in v1.61.762

func (client *Client) GetAlertWithChan(request *GetAlertRequest) (<-chan *GetAlertResponse, <-chan error)

GetAlertWithChan invokes the sls.GetAlert API asynchronously

func (*Client) GetSlsService added in v1.61.488

func (client *Client) GetSlsService(request *GetSlsServiceRequest) (response *GetSlsServiceResponse, err error)

GetSlsService invokes the sls.GetSlsService API synchronously

func (*Client) GetSlsServiceWithCallback added in v1.61.488

func (client *Client) GetSlsServiceWithCallback(request *GetSlsServiceRequest, callback func(response *GetSlsServiceResponse, err error)) <-chan int

GetSlsServiceWithCallback invokes the sls.GetSlsService API asynchronously

func (*Client) GetSlsServiceWithChan added in v1.61.488

func (client *Client) GetSlsServiceWithChan(request *GetSlsServiceRequest) (<-chan *GetSlsServiceResponse, <-chan error)

GetSlsServiceWithChan invokes the sls.GetSlsService API asynchronously

func (*Client) InitProjectAlertResource added in v1.61.1246

func (client *Client) InitProjectAlertResource(request *InitProjectAlertResourceRequest) (response *InitProjectAlertResourceResponse, err error)

InitProjectAlertResource invokes the sls.InitProjectAlertResource API synchronously

func (*Client) InitProjectAlertResourceWithCallback added in v1.61.1246

func (client *Client) InitProjectAlertResourceWithCallback(request *InitProjectAlertResourceRequest, callback func(response *InitProjectAlertResourceResponse, err error)) <-chan int

InitProjectAlertResourceWithCallback invokes the sls.InitProjectAlertResource API asynchronously

func (*Client) InitProjectAlertResourceWithChan added in v1.61.1246

func (client *Client) InitProjectAlertResourceWithChan(request *InitProjectAlertResourceRequest) (<-chan *InitProjectAlertResourceResponse, <-chan error)

InitProjectAlertResourceWithChan invokes the sls.InitProjectAlertResource API asynchronously

func (*Client) InitUserAlertResource added in v1.61.1246

func (client *Client) InitUserAlertResource(request *InitUserAlertResourceRequest) (response *InitUserAlertResourceResponse, err error)

InitUserAlertResource invokes the sls.InitUserAlertResource API synchronously

func (*Client) InitUserAlertResourceWithCallback added in v1.61.1246

func (client *Client) InitUserAlertResourceWithCallback(request *InitUserAlertResourceRequest, callback func(response *InitUserAlertResourceResponse, err error)) <-chan int

InitUserAlertResourceWithCallback invokes the sls.InitUserAlertResource API asynchronously

func (*Client) InitUserAlertResourceWithChan added in v1.61.1246

func (client *Client) InitUserAlertResourceWithChan(request *InitUserAlertResourceRequest) (<-chan *InitUserAlertResourceResponse, <-chan error)

InitUserAlertResourceWithChan invokes the sls.InitUserAlertResource API asynchronously

func (*Client) OpenSlsService added in v1.61.488

func (client *Client) OpenSlsService(request *OpenSlsServiceRequest) (response *OpenSlsServiceResponse, err error)

OpenSlsService invokes the sls.OpenSlsService API synchronously

func (*Client) OpenSlsServiceWithCallback added in v1.61.488

func (client *Client) OpenSlsServiceWithCallback(request *OpenSlsServiceRequest, callback func(response *OpenSlsServiceResponse, err error)) <-chan int

OpenSlsServiceWithCallback invokes the sls.OpenSlsService API asynchronously

func (*Client) OpenSlsServiceWithChan added in v1.61.488

func (client *Client) OpenSlsServiceWithChan(request *OpenSlsServiceRequest) (<-chan *OpenSlsServiceResponse, <-chan error)

OpenSlsServiceWithChan invokes the sls.OpenSlsService API asynchronously

func (*Client) QuerySafService added in v1.61.144

func (client *Client) QuerySafService(request *QuerySafServiceRequest) (response *QuerySafServiceResponse, err error)

QuerySafService invokes the sls.QuerySafService API synchronously

func (*Client) QuerySafServiceWithCallback added in v1.61.144

func (client *Client) QuerySafServiceWithCallback(request *QuerySafServiceRequest, callback func(response *QuerySafServiceResponse, err error)) <-chan int

QuerySafServiceWithCallback invokes the sls.QuerySafService API asynchronously

func (*Client) QuerySafServiceWithChan added in v1.61.144

func (client *Client) QuerySafServiceWithChan(request *QuerySafServiceRequest) (<-chan *QuerySafServiceResponse, <-chan error)

QuerySafServiceWithChan invokes the sls.QuerySafService API asynchronously

func (*Client) SetAlertActionPolicy added in v1.61.762

func (client *Client) SetAlertActionPolicy(request *SetAlertActionPolicyRequest) (response *SetAlertActionPolicyResponse, err error)

SetAlertActionPolicy invokes the sls.SetAlertActionPolicy API synchronously

func (*Client) SetAlertActionPolicyWithCallback added in v1.61.762

func (client *Client) SetAlertActionPolicyWithCallback(request *SetAlertActionPolicyRequest, callback func(response *SetAlertActionPolicyResponse, err error)) <-chan int

SetAlertActionPolicyWithCallback invokes the sls.SetAlertActionPolicy API asynchronously

func (*Client) SetAlertActionPolicyWithChan added in v1.61.762

func (client *Client) SetAlertActionPolicyWithChan(request *SetAlertActionPolicyRequest) (<-chan *SetAlertActionPolicyResponse, <-chan error)

SetAlertActionPolicyWithChan invokes the sls.SetAlertActionPolicy API asynchronously

func (*Client) SetAlertCenterResource added in v1.61.762

func (client *Client) SetAlertCenterResource(request *SetAlertCenterResourceRequest) (response *SetAlertCenterResourceResponse, err error)

SetAlertCenterResource invokes the sls.SetAlertCenterResource API synchronously

func (*Client) SetAlertCenterResourceByConsole added in v1.61.1246

func (client *Client) SetAlertCenterResourceByConsole(request *SetAlertCenterResourceByConsoleRequest) (response *SetAlertCenterResourceByConsoleResponse, err error)

SetAlertCenterResourceByConsole invokes the sls.SetAlertCenterResourceByConsole API synchronously

func (*Client) SetAlertCenterResourceByConsoleWithCallback added in v1.61.1246

func (client *Client) SetAlertCenterResourceByConsoleWithCallback(request *SetAlertCenterResourceByConsoleRequest, callback func(response *SetAlertCenterResourceByConsoleResponse, err error)) <-chan int

SetAlertCenterResourceByConsoleWithCallback invokes the sls.SetAlertCenterResourceByConsole API asynchronously

func (*Client) SetAlertCenterResourceByConsoleWithChan added in v1.61.1246

func (client *Client) SetAlertCenterResourceByConsoleWithChan(request *SetAlertCenterResourceByConsoleRequest) (<-chan *SetAlertCenterResourceByConsoleResponse, <-chan error)

SetAlertCenterResourceByConsoleWithChan invokes the sls.SetAlertCenterResourceByConsole API asynchronously

func (*Client) SetAlertCenterResourceWithCallback added in v1.61.762

func (client *Client) SetAlertCenterResourceWithCallback(request *SetAlertCenterResourceRequest, callback func(response *SetAlertCenterResourceResponse, err error)) <-chan int

SetAlertCenterResourceWithCallback invokes the sls.SetAlertCenterResource API asynchronously

func (*Client) SetAlertCenterResourceWithChan added in v1.61.762

func (client *Client) SetAlertCenterResourceWithChan(request *SetAlertCenterResourceRequest) (<-chan *SetAlertCenterResourceResponse, <-chan error)

SetAlertCenterResourceWithChan invokes the sls.SetAlertCenterResource API asynchronously

func (*Client) SyncAlertGroups added in v1.61.762

func (client *Client) SyncAlertGroups(request *SyncAlertGroupsRequest) (response *SyncAlertGroupsResponse, err error)

SyncAlertGroups invokes the sls.SyncAlertGroups API synchronously

func (*Client) SyncAlertGroupsWithCallback added in v1.61.762

func (client *Client) SyncAlertGroupsWithCallback(request *SyncAlertGroupsRequest, callback func(response *SyncAlertGroupsResponse, err error)) <-chan int

SyncAlertGroupsWithCallback invokes the sls.SyncAlertGroups API asynchronously

func (*Client) SyncAlertGroupsWithChan added in v1.61.762

func (client *Client) SyncAlertGroupsWithChan(request *SyncAlertGroupsRequest) (<-chan *SyncAlertGroupsResponse, <-chan error)

SyncAlertGroupsWithChan invokes the sls.SyncAlertGroups API asynchronously

func (*Client) SyncAlertUsers added in v1.61.762

func (client *Client) SyncAlertUsers(request *SyncAlertUsersRequest) (response *SyncAlertUsersResponse, err error)

SyncAlertUsers invokes the sls.SyncAlertUsers API synchronously

func (*Client) SyncAlertUsersWithCallback added in v1.61.762

func (client *Client) SyncAlertUsersWithCallback(request *SyncAlertUsersRequest, callback func(response *SyncAlertUsersResponse, err error)) <-chan int

SyncAlertUsersWithCallback invokes the sls.SyncAlertUsers API asynchronously

func (*Client) SyncAlertUsersWithChan added in v1.61.762

func (client *Client) SyncAlertUsersWithChan(request *SyncAlertUsersRequest) (<-chan *SyncAlertUsersResponse, <-chan error)

SyncAlertUsersWithChan invokes the sls.SyncAlertUsers API asynchronously

func (*Client) UpdateApp added in v1.61.144

func (client *Client) UpdateApp(request *UpdateAppRequest) (response *UpdateAppResponse, err error)

UpdateApp invokes the sls.UpdateApp API synchronously

func (*Client) UpdateAppWithCallback added in v1.61.144

func (client *Client) UpdateAppWithCallback(request *UpdateAppRequest, callback func(response *UpdateAppResponse, err error)) <-chan int

UpdateAppWithCallback invokes the sls.UpdateApp API asynchronously

func (*Client) UpdateAppWithChan added in v1.61.144

func (client *Client) UpdateAppWithChan(request *UpdateAppRequest) (<-chan *UpdateAppResponse, <-chan error)

UpdateAppWithChan invokes the sls.UpdateApp API asynchronously

type CreateAppRequest added in v1.61.144

type CreateAppRequest struct {
	*requests.RpcRequest
	ClientToken string `position:"Query" name:"ClientToken"`
	AppName     string `position:"Query" name:"AppName"`
	DisplayName string `position:"Query" name:"DisplayName"`
	ClientIp    string `position:"Query" name:"ClientIp"`
	Config      string `position:"Body" name:"Config"`
}

CreateAppRequest is the request struct for api CreateApp

func CreateCreateAppRequest added in v1.61.144

func CreateCreateAppRequest() (request *CreateAppRequest)

CreateCreateAppRequest creates a request to invoke CreateApp API

type CreateAppResponse added in v1.61.144

type CreateAppResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Success   string `json:"Success" xml:"Success"`
	Message   string `json:"Message" xml:"Message"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	AppName   string `json:"AppName" xml:"AppName"`
}

CreateAppResponse is the response struct for api CreateApp

func CreateCreateAppResponse added in v1.61.144

func CreateCreateAppResponse() (response *CreateAppResponse)

CreateCreateAppResponse creates a response to parse from CreateApp response

type CreateImportIngestionJobRequest added in v1.61.1246

type CreateImportIngestionJobRequest struct {
	*requests.RpcRequest
	Args            string           `position:"Body" name:"Args"`
	Image           string           `position:"Body" name:"Image"`
	EnvFromSecret   string           `position:"Body" name:"EnvFromSecret"`
	RestartPolicy   string           `position:"Body" name:"RestartPolicy"`
	Parallelism     requests.Integer `position:"Body" name:"Parallelism"`
	Namespace       string           `position:"Body" name:"Namespace"`
	Completions     requests.Integer `position:"Body" name:"Completions"`
	EnvVars         string           `position:"Body" name:"EnvVars"`
	ImagePullSecret string           `position:"Body" name:"ImagePullSecret"`
	CallerId        string           `position:"Body" name:"CallerId"`
	Region          string           `position:"Body" name:"Region"`
	JobName         string           `position:"Body" name:"JobName"`
}

CreateImportIngestionJobRequest is the request struct for api CreateImportIngestionJob

func CreateCreateImportIngestionJobRequest added in v1.61.1246

func CreateCreateImportIngestionJobRequest() (request *CreateImportIngestionJobRequest)

CreateCreateImportIngestionJobRequest creates a request to invoke CreateImportIngestionJob API

type CreateImportIngestionJobResponse added in v1.61.1246

type CreateImportIngestionJobResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
}

CreateImportIngestionJobResponse is the response struct for api CreateImportIngestionJob

func CreateCreateImportIngestionJobResponse added in v1.61.1246

func CreateCreateImportIngestionJobResponse() (response *CreateImportIngestionJobResponse)

CreateCreateImportIngestionJobResponse creates a response to parse from CreateImportIngestionJob response

type CreateIngestionJobRequest added in v1.61.1246

type CreateIngestionJobRequest struct {
	*requests.RpcRequest
	Args            string           `position:"Body" name:"Args"`
	Image           string           `position:"Body" name:"Image"`
	EnvFromSecret   string           `position:"Body" name:"EnvFromSecret"`
	RestartPolicy   string           `position:"Body" name:"RestartPolicy"`
	Parallelism     requests.Integer `position:"Body" name:"Parallelism"`
	Namespace       string           `position:"Body" name:"Namespace"`
	Completions     requests.Integer `position:"Body" name:"Completions"`
	EnvVars         string           `position:"Body" name:"EnvVars"`
	ImagePullSecret string           `position:"Body" name:"ImagePullSecret"`
	CallerId        string           `position:"Body" name:"CallerId"`
	Region          string           `position:"Body" name:"Region"`
	JobName         string           `position:"Body" name:"JobName"`
}

CreateIngestionJobRequest is the request struct for api CreateIngestionJob

func CreateCreateIngestionJobRequest added in v1.61.1246

func CreateCreateIngestionJobRequest() (request *CreateIngestionJobRequest)

CreateCreateIngestionJobRequest creates a request to invoke CreateIngestionJob API

type CreateIngestionJobResponse added in v1.61.1246

type CreateIngestionJobResponse struct {
	*responses.BaseResponse
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	RequestId string `json:"RequestId" xml:"RequestId"`
}

CreateIngestionJobResponse is the response struct for api CreateIngestionJob

func CreateCreateIngestionJobResponse added in v1.61.1246

func CreateCreateIngestionJobResponse() (response *CreateIngestionJobResponse)

CreateCreateIngestionJobResponse creates a response to parse from CreateIngestionJob response

type CreateResourceOrchestrationRequest added in v1.61.762

type CreateResourceOrchestrationRequest struct {
	*requests.RpcRequest
	Language        string `position:"Query" name:"Language"`
	OperationPolicy string `position:"Query" name:"OperationPolicy"`
	Tokens          string `position:"Query" name:"Tokens"`
	AssetsId        string `position:"Query" name:"AssetsId"`
}

CreateResourceOrchestrationRequest is the request struct for api CreateResourceOrchestration

func CreateCreateResourceOrchestrationRequest added in v1.61.762

func CreateCreateResourceOrchestrationRequest() (request *CreateResourceOrchestrationRequest)

CreateCreateResourceOrchestrationRequest creates a request to invoke CreateResourceOrchestration API

type CreateResourceOrchestrationResponse added in v1.61.762

type CreateResourceOrchestrationResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Message   string `json:"Message" xml:"Message"`
	Code      string `json:"Code" xml:"Code"`
	Data      string `json:"Data" xml:"Data"`
}

CreateResourceOrchestrationResponse is the response struct for api CreateResourceOrchestration

func CreateCreateResourceOrchestrationResponse added in v1.61.762

func CreateCreateResourceOrchestrationResponse() (response *CreateResourceOrchestrationResponse)

CreateCreateResourceOrchestrationResponse creates a response to parse from CreateResourceOrchestration response

type DeleteAppRequest added in v1.61.144

type DeleteAppRequest struct {
	*requests.RpcRequest
	AppName  string `position:"Query" name:"AppName"`
	ClientIp string `position:"Query" name:"ClientIp"`
}

DeleteAppRequest is the request struct for api DeleteApp

func CreateDeleteAppRequest added in v1.61.144

func CreateDeleteAppRequest() (request *DeleteAppRequest)

CreateDeleteAppRequest creates a request to invoke DeleteApp API

type DeleteAppResponse added in v1.61.144

type DeleteAppResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Success   string `json:"Success" xml:"Success"`
	Message   string `json:"Message" xml:"Message"`
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteAppResponse is the response struct for api DeleteApp

func CreateDeleteAppResponse added in v1.61.144

func CreateDeleteAppResponse() (response *DeleteAppResponse)

CreateDeleteAppResponse creates a response to parse from DeleteApp response

type DeleteImportIngestionJobRequest added in v1.61.1246

type DeleteImportIngestionJobRequest struct {
	*requests.RpcRequest
	Namespace string `position:"Body" name:"Namespace"`
	Region    string `position:"Body" name:"Region"`
	JobName   string `position:"Body" name:"JobName"`
}

DeleteImportIngestionJobRequest is the request struct for api DeleteImportIngestionJob

func CreateDeleteImportIngestionJobRequest added in v1.61.1246

func CreateDeleteImportIngestionJobRequest() (request *DeleteImportIngestionJobRequest)

CreateDeleteImportIngestionJobRequest creates a request to invoke DeleteImportIngestionJob API

type DeleteImportIngestionJobResponse added in v1.61.1246

type DeleteImportIngestionJobResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
}

DeleteImportIngestionJobResponse is the response struct for api DeleteImportIngestionJob

func CreateDeleteImportIngestionJobResponse added in v1.61.1246

func CreateDeleteImportIngestionJobResponse() (response *DeleteImportIngestionJobResponse)

CreateDeleteImportIngestionJobResponse creates a response to parse from DeleteImportIngestionJob response

type DeleteIngestionJobRequest added in v1.61.1246

type DeleteIngestionJobRequest struct {
	*requests.RpcRequest
	Namespace string `position:"Body" name:"Namespace"`
	Region    string `position:"Body" name:"Region"`
	JobName   string `position:"Body" name:"JobName"`
}

DeleteIngestionJobRequest is the request struct for api DeleteIngestionJob

func CreateDeleteIngestionJobRequest added in v1.61.1246

func CreateDeleteIngestionJobRequest() (request *DeleteIngestionJobRequest)

CreateDeleteIngestionJobRequest creates a request to invoke DeleteIngestionJob API

type DeleteIngestionJobResponse added in v1.61.1246

type DeleteIngestionJobResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
}

DeleteIngestionJobResponse is the response struct for api DeleteIngestionJob

func CreateDeleteIngestionJobResponse added in v1.61.1246

func CreateDeleteIngestionJobResponse() (response *DeleteIngestionJobResponse)

CreateDeleteIngestionJobResponse creates a response to parse from DeleteIngestionJob response

type DeleteLogResourceRequest added in v1.61.169

type DeleteLogResourceRequest struct {
	*requests.RpcRequest
	Project  string `position:"Query" name:"Project"`
	Region   string `position:"Query" name:"Region"`
	Logstore string `position:"Query" name:"Logstore"`
}

DeleteLogResourceRequest is the request struct for api DeleteLogResource

func CreateDeleteLogResourceRequest added in v1.61.169

func CreateDeleteLogResourceRequest() (request *DeleteLogResourceRequest)

CreateDeleteLogResourceRequest creates a request to invoke DeleteLogResource API

type DeleteLogResourceResponse added in v1.61.169

type DeleteLogResourceResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Success   string `json:"Success" xml:"Success"`
	Message   string `json:"Message" xml:"Message"`
}

DeleteLogResourceResponse is the response struct for api DeleteLogResource

func CreateDeleteLogResourceResponse added in v1.61.169

func CreateDeleteLogResourceResponse() (response *DeleteLogResourceResponse)

CreateDeleteLogResourceResponse creates a response to parse from DeleteLogResource response

type DescribeAppRequest added in v1.61.144

type DescribeAppRequest struct {
	*requests.RpcRequest
	AppName  string `position:"Query" name:"AppName"`
	ClientIp string `position:"Query" name:"ClientIp"`
}

DescribeAppRequest is the request struct for api DescribeApp

func CreateDescribeAppRequest added in v1.61.144

func CreateDescribeAppRequest() (request *DescribeAppRequest)

CreateDescribeAppRequest creates a request to invoke DescribeApp API

type DescribeAppResponse added in v1.61.144

type DescribeAppResponse struct {
	*responses.BaseResponse
	Code      string   `json:"Code" xml:"Code"`
	Success   string   `json:"Success" xml:"Success"`
	Message   string   `json:"Message" xml:"Message"`
	RequestId string   `json:"RequestId" xml:"RequestId"`
	AppModel  AppModel `json:"AppModel" xml:"AppModel"`
}

DescribeAppResponse is the response struct for api DescribeApp

func CreateDescribeAppResponse added in v1.61.144

func CreateDescribeAppResponse() (response *DescribeAppResponse)

CreateDescribeAppResponse creates a response to parse from DescribeApp response

type DisableAlertRequest added in v1.61.762

type DisableAlertRequest struct {
	*requests.RpcRequest
	App         string `position:"Body" name:"App"`
	ProjectName string `position:"Body" name:"ProjectName"`
	Endpoint    string `position:"Body" name:"Endpoint"`
	AlertId     string `position:"Body" name:"AlertId"`
}

DisableAlertRequest is the request struct for api DisableAlert

func CreateDisableAlertRequest added in v1.61.762

func CreateDisableAlertRequest() (request *DisableAlertRequest)

CreateDisableAlertRequest creates a request to invoke DisableAlert API

type DisableAlertResponse added in v1.61.762

type DisableAlertResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
}

DisableAlertResponse is the response struct for api DisableAlert

func CreateDisableAlertResponse added in v1.61.762

func CreateDisableAlertResponse() (response *DisableAlertResponse)

CreateDisableAlertResponse creates a response to parse from DisableAlert response

type EnableAlertRequest added in v1.61.762

type EnableAlertRequest struct {
	*requests.RpcRequest
	Language    string `position:"Body" name:"Language"`
	RuleVersion string `position:"Body" name:"RuleVersion"`
	Endpoint    string `position:"Body" name:"Endpoint"`
	Tokens      string `position:"Body" name:"Tokens"`
	App         string `position:"Body" name:"App"`
	ProjectName string `position:"Body" name:"ProjectName"`
	AlertId     string `position:"Body" name:"AlertId"`
	RuleId      string `position:"Body" name:"RuleId"`
	Region      string `position:"Body" name:"Region"`
}

EnableAlertRequest is the request struct for api EnableAlert

func CreateEnableAlertRequest added in v1.61.762

func CreateEnableAlertRequest() (request *EnableAlertRequest)

CreateEnableAlertRequest creates a request to invoke EnableAlert API

type EnableAlertResponse added in v1.61.762

type EnableAlertResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
}

EnableAlertResponse is the response struct for api EnableAlert

func CreateEnableAlertResponse added in v1.61.762

func CreateEnableAlertResponse() (response *EnableAlertResponse)

CreateEnableAlertResponse creates a response to parse from EnableAlert response

type GetAlertHistoriesRequest added in v1.61.762

type GetAlertHistoriesRequest struct {
	*requests.RpcRequest
	Line        requests.Integer `position:"Body" name:"Line"`
	ToTs        requests.Integer `position:"Body" name:"ToTs"`
	Endpoint    string           `position:"Body" name:"Endpoint"`
	App         string           `position:"Body" name:"App"`
	FromTs      requests.Integer `position:"Body" name:"FromTs"`
	ProjectName string           `position:"Body" name:"ProjectName"`
	Offset      requests.Integer `position:"Body" name:"Offset"`
	AlertId     string           `position:"Body" name:"AlertId"`
	Region      string           `position:"Body" name:"Region"`
}

GetAlertHistoriesRequest is the request struct for api GetAlertHistories

func CreateGetAlertHistoriesRequest added in v1.61.762

func CreateGetAlertHistoriesRequest() (request *GetAlertHistoriesRequest)

CreateGetAlertHistoriesRequest creates a request to invoke GetAlertHistories API

type GetAlertHistoriesResponse added in v1.61.762

type GetAlertHistoriesResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      string `json:"Data" xml:"Data"`
}

GetAlertHistoriesResponse is the response struct for api GetAlertHistories

func CreateGetAlertHistoriesResponse added in v1.61.762

func CreateGetAlertHistoriesResponse() (response *GetAlertHistoriesResponse)

CreateGetAlertHistoriesResponse creates a response to parse from GetAlertHistories response

type GetAlertRequest added in v1.61.762

type GetAlertRequest struct {
	*requests.RpcRequest
	App         string `position:"Body" name:"App"`
	ProjectName string `position:"Body" name:"ProjectName"`
	Endpoint    string `position:"Body" name:"Endpoint"`
	AlertId     string `position:"Body" name:"AlertId"`
}

GetAlertRequest is the request struct for api GetAlert

func CreateGetAlertRequest added in v1.61.762

func CreateGetAlertRequest() (request *GetAlertRequest)

CreateGetAlertRequest creates a request to invoke GetAlert API

type GetAlertResponse added in v1.61.762

type GetAlertResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Success   bool   `json:"Success" xml:"Success"`
	Data      string `json:"Data" xml:"Data"`
}

GetAlertResponse is the response struct for api GetAlert

func CreateGetAlertResponse added in v1.61.762

func CreateGetAlertResponse() (response *GetAlertResponse)

CreateGetAlertResponse creates a response to parse from GetAlert response

type GetSlsServiceRequest added in v1.61.488

type GetSlsServiceRequest struct {
	*requests.RpcRequest
}

GetSlsServiceRequest is the request struct for api GetSlsService

func CreateGetSlsServiceRequest added in v1.61.488

func CreateGetSlsServiceRequest() (request *GetSlsServiceRequest)

CreateGetSlsServiceRequest creates a request to invoke GetSlsService API

type GetSlsServiceResponse added in v1.61.488

type GetSlsServiceResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Enabled   bool   `json:"Enabled" xml:"Enabled"`
	Status    string `json:"Status" xml:"Status"`
}

GetSlsServiceResponse is the response struct for api GetSlsService

func CreateGetSlsServiceResponse added in v1.61.488

func CreateGetSlsServiceResponse() (response *GetSlsServiceResponse)

CreateGetSlsServiceResponse creates a response to parse from GetSlsService response

type InitProjectAlertResourceRequest added in v1.61.1246

type InitProjectAlertResourceRequest struct {
	*requests.RpcRequest
	ProjectName string `position:"Body" name:"ProjectName"`
	Region      string `position:"Body" name:"Region"`
}

InitProjectAlertResourceRequest is the request struct for api InitProjectAlertResource

func CreateInitProjectAlertResourceRequest added in v1.61.1246

func CreateInitProjectAlertResourceRequest() (request *InitProjectAlertResourceRequest)

CreateInitProjectAlertResourceRequest creates a request to invoke InitProjectAlertResource API

type InitProjectAlertResourceResponse added in v1.61.1246

type InitProjectAlertResourceResponse struct {
	*responses.BaseResponse
	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
	Code           string `json:"Code" xml:"Code"`
	Message        string `json:"Message" xml:"Message"`
	RequestId      string `json:"RequestId" xml:"RequestId"`
	Success        bool   `json:"Success" xml:"Success"`
}

InitProjectAlertResourceResponse is the response struct for api InitProjectAlertResource

func CreateInitProjectAlertResourceResponse added in v1.61.1246

func CreateInitProjectAlertResourceResponse() (response *InitProjectAlertResourceResponse)

CreateInitProjectAlertResourceResponse creates a response to parse from InitProjectAlertResource response

type InitUserAlertResourceRequest added in v1.61.1246

type InitUserAlertResourceRequest struct {
	*requests.RpcRequest
	App      string `position:"Body" name:"App"`
	Language string `position:"Body" name:"Language"`
	Region   string `position:"Body" name:"Region"`
}

InitUserAlertResourceRequest is the request struct for api InitUserAlertResource

func CreateInitUserAlertResourceRequest added in v1.61.1246

func CreateInitUserAlertResourceRequest() (request *InitUserAlertResourceRequest)

CreateInitUserAlertResourceRequest creates a request to invoke InitUserAlertResource API

type InitUserAlertResourceResponse added in v1.61.1246

type InitUserAlertResourceResponse struct {
	*responses.BaseResponse
	HttpStatusCode int    `json:"HttpStatusCode" xml:"HttpStatusCode"`
	Code           string `json:"Code" xml:"Code"`
	Message        string `json:"Message" xml:"Message"`
	RequestId      string `json:"RequestId" xml:"RequestId"`
	Success        bool   `json:"Success" xml:"Success"`
}

InitUserAlertResourceResponse is the response struct for api InitUserAlertResource

func CreateInitUserAlertResourceResponse added in v1.61.1246

func CreateInitUserAlertResourceResponse() (response *InitUserAlertResourceResponse)

CreateInitUserAlertResourceResponse creates a response to parse from InitUserAlertResource response

type OpenSlsServiceRequest added in v1.61.488

type OpenSlsServiceRequest struct {
	*requests.RpcRequest
}

OpenSlsServiceRequest is the request struct for api OpenSlsService

func CreateOpenSlsServiceRequest added in v1.61.488

func CreateOpenSlsServiceRequest() (request *OpenSlsServiceRequest)

CreateOpenSlsServiceRequest creates a request to invoke OpenSlsService API

type OpenSlsServiceResponse added in v1.61.488

type OpenSlsServiceResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Message   string `json:"Message" xml:"Message"`
	Code      string `json:"Code" xml:"Code"`
}

OpenSlsServiceResponse is the response struct for api OpenSlsService

func CreateOpenSlsServiceResponse added in v1.61.488

func CreateOpenSlsServiceResponse() (response *OpenSlsServiceResponse)

CreateOpenSlsServiceResponse creates a response to parse from OpenSlsService response

type QuerySafServiceRequest added in v1.61.144

type QuerySafServiceRequest struct {
	*requests.RpcRequest
	ParamType   string `position:"Query" name:"ParamType"`
	ProjectName string `position:"Query" name:"ProjectName"`
	ParamValue  string `position:"Query" name:"ParamValue"`
}

QuerySafServiceRequest is the request struct for api QuerySafService

func CreateQuerySafServiceRequest added in v1.61.144

func CreateQuerySafServiceRequest() (request *QuerySafServiceRequest)

CreateQuerySafServiceRequest creates a request to invoke QuerySafService API

type QuerySafServiceResponse added in v1.61.144

type QuerySafServiceResponse struct {
	*responses.BaseResponse
	RequestId string                 `json:"RequestId" xml:"RequestId"`
	Code      string                 `json:"Code" xml:"Code"`
	Score     string                 `json:"Score" xml:"Score"`
	Ext       map[string]interface{} `json:"Ext" xml:"Ext"`
}

QuerySafServiceResponse is the response struct for api QuerySafService

func CreateQuerySafServiceResponse added in v1.61.144

func CreateQuerySafServiceResponse() (response *QuerySafServiceResponse)

CreateQuerySafServiceResponse creates a response to parse from QuerySafService response

type SetAlertActionPolicyRequest added in v1.61.762

type SetAlertActionPolicyRequest struct {
	*requests.RpcRequest
	App        string `position:"Body" name:"App"`
	PolicyId   string `position:"Body" name:"PolicyId"`
	PolicyName string `position:"Body" name:"PolicyName"`
	Policy     string `position:"Body" name:"Policy"`
}

SetAlertActionPolicyRequest is the request struct for api SetAlertActionPolicy

func CreateSetAlertActionPolicyRequest added in v1.61.762

func CreateSetAlertActionPolicyRequest() (request *SetAlertActionPolicyRequest)

CreateSetAlertActionPolicyRequest creates a request to invoke SetAlertActionPolicy API

type SetAlertActionPolicyResponse added in v1.61.762

type SetAlertActionPolicyResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Message   string `json:"Message" xml:"Message"`
	Code      string `json:"Code" xml:"Code"`
}

SetAlertActionPolicyResponse is the response struct for api SetAlertActionPolicy

func CreateSetAlertActionPolicyResponse added in v1.61.762

func CreateSetAlertActionPolicyResponse() (response *SetAlertActionPolicyResponse)

CreateSetAlertActionPolicyResponse creates a response to parse from SetAlertActionPolicy response

type SetAlertCenterResourceByConsoleRequest added in v1.61.1246

type SetAlertCenterResourceByConsoleRequest struct {
	*requests.RpcRequest
	App      string `position:"Body" name:"App"`
	Language string `position:"Body" name:"Language"`
	Region   string `position:"Body" name:"Region"`
}

SetAlertCenterResourceByConsoleRequest is the request struct for api SetAlertCenterResourceByConsole

func CreateSetAlertCenterResourceByConsoleRequest added in v1.61.1246

func CreateSetAlertCenterResourceByConsoleRequest() (request *SetAlertCenterResourceByConsoleRequest)

CreateSetAlertCenterResourceByConsoleRequest creates a request to invoke SetAlertCenterResourceByConsole API

type SetAlertCenterResourceByConsoleResponse added in v1.61.1246

type SetAlertCenterResourceByConsoleResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Message   string `json:"Message" xml:"Message"`
	Code      string `json:"Code" xml:"Code"`
}

SetAlertCenterResourceByConsoleResponse is the response struct for api SetAlertCenterResourceByConsole

func CreateSetAlertCenterResourceByConsoleResponse added in v1.61.1246

func CreateSetAlertCenterResourceByConsoleResponse() (response *SetAlertCenterResourceByConsoleResponse)

CreateSetAlertCenterResourceByConsoleResponse creates a response to parse from SetAlertCenterResourceByConsole response

type SetAlertCenterResourceRequest added in v1.61.762

type SetAlertCenterResourceRequest struct {
	*requests.RpcRequest
	App      string `position:"Body" name:"App"`
	Language string `position:"Body" name:"Language"`
	Region   string `position:"Body" name:"Region"`
}

SetAlertCenterResourceRequest is the request struct for api SetAlertCenterResource

func CreateSetAlertCenterResourceRequest added in v1.61.762

func CreateSetAlertCenterResourceRequest() (request *SetAlertCenterResourceRequest)

CreateSetAlertCenterResourceRequest creates a request to invoke SetAlertCenterResource API

type SetAlertCenterResourceResponse added in v1.61.762

type SetAlertCenterResourceResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Message   string `json:"Message" xml:"Message"`
	Code      string `json:"Code" xml:"Code"`
}

SetAlertCenterResourceResponse is the response struct for api SetAlertCenterResource

func CreateSetAlertCenterResourceResponse added in v1.61.762

func CreateSetAlertCenterResourceResponse() (response *SetAlertCenterResourceResponse)

CreateSetAlertCenterResourceResponse creates a response to parse from SetAlertCenterResource response

type SyncAlertGroupsRequest added in v1.61.762

type SyncAlertGroupsRequest struct {
	*requests.RpcRequest
	App    string `position:"Body" name:"App"`
	Groups string `position:"Body" name:"Groups"`
}

SyncAlertGroupsRequest is the request struct for api SyncAlertGroups

func CreateSyncAlertGroupsRequest added in v1.61.762

func CreateSyncAlertGroupsRequest() (request *SyncAlertGroupsRequest)

CreateSyncAlertGroupsRequest creates a request to invoke SyncAlertGroups API

type SyncAlertGroupsResponse added in v1.61.762

type SyncAlertGroupsResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      string `json:"Data" xml:"Data"`
}

SyncAlertGroupsResponse is the response struct for api SyncAlertGroups

func CreateSyncAlertGroupsResponse added in v1.61.762

func CreateSyncAlertGroupsResponse() (response *SyncAlertGroupsResponse)

CreateSyncAlertGroupsResponse creates a response to parse from SyncAlertGroups response

type SyncAlertUsersRequest added in v1.61.762

type SyncAlertUsersRequest struct {
	*requests.RpcRequest
	App   string `position:"Body" name:"App"`
	Users string `position:"Body" name:"Users"`
}

SyncAlertUsersRequest is the request struct for api SyncAlertUsers

func CreateSyncAlertUsersRequest added in v1.61.762

func CreateSyncAlertUsersRequest() (request *SyncAlertUsersRequest)

CreateSyncAlertUsersRequest creates a request to invoke SyncAlertUsers API

type SyncAlertUsersResponse added in v1.61.762

type SyncAlertUsersResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Success   bool   `json:"Success" xml:"Success"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      string `json:"Data" xml:"Data"`
}

SyncAlertUsersResponse is the response struct for api SyncAlertUsers

func CreateSyncAlertUsersResponse added in v1.61.762

func CreateSyncAlertUsersResponse() (response *SyncAlertUsersResponse)

CreateSyncAlertUsersResponse creates a response to parse from SyncAlertUsers response

type UpdateAppRequest added in v1.61.144

type UpdateAppRequest struct {
	*requests.RpcRequest
	AppName     string `position:"Query" name:"AppName"`
	DisplayName string `position:"Query" name:"DisplayName"`
	ClientIp    string `position:"Query" name:"ClientIp"`
	Config      string `position:"Body" name:"Config"`
}

UpdateAppRequest is the request struct for api UpdateApp

func CreateUpdateAppRequest added in v1.61.144

func CreateUpdateAppRequest() (request *UpdateAppRequest)

CreateUpdateAppRequest creates a request to invoke UpdateApp API

type UpdateAppResponse added in v1.61.144

type UpdateAppResponse struct {
	*responses.BaseResponse
	Code      string `json:"Code" xml:"Code"`
	Success   string `json:"Success" xml:"Success"`
	Message   string `json:"Message" xml:"Message"`
	RequestId string `json:"RequestId" xml:"RequestId"`
}

UpdateAppResponse is the response struct for api UpdateApp

func CreateUpdateAppResponse added in v1.61.144

func CreateUpdateAppResponse() (response *UpdateAppResponse)

CreateUpdateAppResponse creates a response to parse from UpdateApp response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL