Browse Source

ARMS SDK Auto Released By shichun.fsc,Version:1.60.32

Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
sdk-team 6 years ago
parent
commit
12eb007130

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2019-05-31 Version: 1.60.32
+1, add api 'search traces count' 
+2, add page index for api 'searchTraces'
+
 2019-05-31 Version: 1.60.31
 1, Add authority in GetMaterials API.
 

+ 1 - 1
services/arms/arms_query_data_set.go

@@ -126,7 +126,7 @@ func CreateARMSQueryDataSetRequest() (request *ARMSQueryDataSetRequest) {
 	request = &ARMSQueryDataSetRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("ARMS", "2018-12-19", "ARMSQueryDataSet", "arms", "openAPI")
+	request.InitWithApiInfo("ARMS", "2019-02-19", "ARMSQueryDataSet", "", "")
 	return
 }
 

+ 28 - 5
services/arms/client.go

@@ -18,6 +18,7 @@ package arms
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/credentials/provider"
 )
 
 // Client is the sdk client struct, each func corresponds to an OpenAPI
@@ -32,6 +33,20 @@ func NewClient() (client *Client, err error) {
 	return
 }
 
+// NewClientWithProvider creates a sdk client with providers
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error) {
+	client = &Client{}
+	var pc provider.Provider
+	if len(providers) == 0 {
+		pc = provider.DefaultChain
+	} else {
+		pc = provider.NewProviderChain(providers)
+	}
+	err = client.InitWithProviderChain(regionId, pc)
+	return
+}
+
 // NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential
 // this is the common api to create a sdk client
 func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) {
@@ -41,7 +56,7 @@ func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.C
 }
 
 // NewClientWithAccessKey is a shortcut to create sdk client with accesskey
-// usage: https://help.aliyun.com/document_detail/66217.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithAccessKey(regionId, accessKeyId, accessKeySecret)
@@ -49,7 +64,7 @@ func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (clie
 }
 
 // NewClientWithStsToken is a shortcut to create sdk client with sts token
-// usage: https://help.aliyun.com/document_detail/66222.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken)
@@ -57,15 +72,23 @@ func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToke
 }
 
 // NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn
-// usage: https://help.aliyun.com/document_detail/66222.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRamRoleArn(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName)
 	return
 }
 
+// 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 NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRamRoleArnAndPolicy(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy)
+	return
+}
+
 // NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role
-// usage: https://help.aliyun.com/document_detail/66223.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithEcsRamRole(regionId, roleName)
@@ -73,7 +96,7 @@ func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client,
 }
 
 // NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair
-// attention: rsa key pair auth is only Japan regions available
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRsaKeyPair(regionId, publicKeyId, privateKey, sessionExpiration)

+ 0 - 108
services/arms/create_app.go

@@ -1,108 +0,0 @@
-package arms
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// CreateApp invokes the arms.CreateApp API synchronously
-// api document: https://help.aliyun.com/api/arms/createapp.html
-func (client *Client) CreateApp(request *CreateAppRequest) (response *CreateAppResponse, err error) {
-	response = CreateCreateAppResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateAppWithChan invokes the arms.CreateApp API asynchronously
-// api document: https://help.aliyun.com/api/arms/createapp.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateAppWithChan(request *CreateAppRequest) (<-chan *CreateAppResponse, <-chan error) {
-	responseChan := make(chan *CreateAppResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateApp(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateAppWithCallback invokes the arms.CreateApp API asynchronously
-// api document: https://help.aliyun.com/api/arms/createapp.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateAppWithCallback(request *CreateAppRequest, callback func(response *CreateAppResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateAppResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateApp(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateAppRequest is the request struct for api CreateApp
-type CreateAppRequest struct {
-	*requests.RpcRequest
-	AppName string `position:"Query" name:"AppName"`
-	AppId   string `position:"Query" name:"AppId"`
-	Source  string `position:"Query" name:"Source"`
-	Type    string `position:"Query" name:"Type"`
-	Config  string `position:"Query" name:"Config"`
-}
-
-// CreateAppResponse is the response struct for api CreateApp
-type CreateAppResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Data      string `json:"Data" xml:"Data"`
-}
-
-// CreateCreateAppRequest creates a request to invoke CreateApp API
-func CreateCreateAppRequest() (request *CreateAppRequest) {
-	request = &CreateAppRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ARMS", "2018-12-19", "CreateApp", "arms", "openAPI")
-	return
-}
-
-// CreateCreateAppResponse creates a response to parse from CreateApp response
-func CreateCreateAppResponse() (response *CreateAppResponse) {
-	response = &CreateAppResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 27 - 28
services/arms/delete_app.go → services/arms/get_services.go

@@ -20,24 +20,24 @@ import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
 )
 
-// DeleteApp invokes the arms.DeleteApp API synchronously
-// api document: https://help.aliyun.com/api/arms/deleteapp.html
-func (client *Client) DeleteApp(request *DeleteAppRequest) (response *DeleteAppResponse, err error) {
-	response = CreateDeleteAppResponse()
+// GetServices invokes the arms.GetServices API synchronously
+// api document: https://help.aliyun.com/api/arms/getservices.html
+func (client *Client) GetServices(request *GetServicesRequest) (response *GetServicesResponse, err error) {
+	response = CreateGetServicesResponse()
 	err = client.DoAction(request, response)
 	return
 }
 
-// DeleteAppWithChan invokes the arms.DeleteApp API asynchronously
-// api document: https://help.aliyun.com/api/arms/deleteapp.html
+// GetServicesWithChan invokes the arms.GetServices API asynchronously
+// api document: https://help.aliyun.com/api/arms/getservices.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteAppWithChan(request *DeleteAppRequest) (<-chan *DeleteAppResponse, <-chan error) {
-	responseChan := make(chan *DeleteAppResponse, 1)
+func (client *Client) GetServicesWithChan(request *GetServicesRequest) (<-chan *GetServicesResponse, <-chan error) {
+	responseChan := make(chan *GetServicesResponse, 1)
 	errChan := make(chan error, 1)
 	err := client.AddAsyncTask(func() {
 		defer close(responseChan)
 		defer close(errChan)
-		response, err := client.DeleteApp(request)
+		response, err := client.GetServices(request)
 		if err != nil {
 			errChan <- err
 		} else {
@@ -52,16 +52,16 @@ func (client *Client) DeleteAppWithChan(request *DeleteAppRequest) (<-chan *Dele
 	return responseChan, errChan
 }
 
-// DeleteAppWithCallback invokes the arms.DeleteApp API asynchronously
-// api document: https://help.aliyun.com/api/arms/deleteapp.html
+// GetServicesWithCallback invokes the arms.GetServices API asynchronously
+// api document: https://help.aliyun.com/api/arms/getservices.html
 // asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteAppWithCallback(request *DeleteAppRequest, callback func(response *DeleteAppResponse, err error)) <-chan int {
+func (client *Client) GetServicesWithCallback(request *GetServicesRequest, callback func(response *GetServicesResponse, err error)) <-chan int {
 	result := make(chan int, 1)
 	err := client.AddAsyncTask(func() {
-		var response *DeleteAppResponse
+		var response *GetServicesResponse
 		var err error
 		defer close(result)
-		response, err = client.DeleteApp(request)
+		response, err = client.GetServices(request)
 		callback(response, err)
 		result <- 1
 	})
@@ -73,32 +73,31 @@ func (client *Client) DeleteAppWithCallback(request *DeleteAppRequest, callback
 	return result
 }
 
-// DeleteAppRequest is the request struct for api DeleteApp
-type DeleteAppRequest struct {
+// GetServicesRequest is the request struct for api GetServices
+type GetServicesRequest struct {
 	*requests.RpcRequest
-	AppId string `position:"Query" name:"AppId"`
-	Type  string `position:"Query" name:"Type"`
+	AppType string `position:"Query" name:"AppType"`
 }
 
-// DeleteAppResponse is the response struct for api DeleteApp
-type DeleteAppResponse struct {
+// GetServicesResponse is the response struct for api GetServices
+type GetServicesResponse struct {
 	*responses.BaseResponse
 	RequestId string `json:"RequestId" xml:"RequestId"`
-	Data      string `json:"Data" xml:"Data"`
+	Data      Data   `json:"Data" xml:"Data"`
 }
 
-// CreateDeleteAppRequest creates a request to invoke DeleteApp API
-func CreateDeleteAppRequest() (request *DeleteAppRequest) {
-	request = &DeleteAppRequest{
+// CreateGetServicesRequest creates a request to invoke GetServices API
+func CreateGetServicesRequest() (request *GetServicesRequest) {
+	request = &GetServicesRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("ARMS", "2018-12-19", "DeleteApp", "arms", "openAPI")
+	request.InitWithApiInfo("ARMS", "2019-02-19", "GetServices", "", "")
 	return
 }
 
-// CreateDeleteAppResponse creates a response to parse from DeleteApp response
-func CreateDeleteAppResponse() (response *DeleteAppResponse) {
-	response = &DeleteAppResponse{
+// CreateGetServicesResponse creates a response to parse from GetServices response
+func CreateGetServicesResponse() (response *GetServicesResponse) {
+	response = &GetServicesResponse{
 		BaseResponse: &responses.BaseResponse{},
 	}
 	return

+ 106 - 0
services/arms/get_span_names.go

@@ -0,0 +1,106 @@
+package arms
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// GetSpanNames invokes the arms.GetSpanNames API synchronously
+// api document: https://help.aliyun.com/api/arms/getspannames.html
+func (client *Client) GetSpanNames(request *GetSpanNamesRequest) (response *GetSpanNamesResponse, err error) {
+	response = CreateGetSpanNamesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetSpanNamesWithChan invokes the arms.GetSpanNames API asynchronously
+// api document: https://help.aliyun.com/api/arms/getspannames.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetSpanNamesWithChan(request *GetSpanNamesRequest) (<-chan *GetSpanNamesResponse, <-chan error) {
+	responseChan := make(chan *GetSpanNamesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetSpanNames(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetSpanNamesWithCallback invokes the arms.GetSpanNames API asynchronously
+// api document: https://help.aliyun.com/api/arms/getspannames.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetSpanNamesWithCallback(request *GetSpanNamesRequest, callback func(response *GetSpanNamesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetSpanNamesResponse
+		var err error
+		defer close(result)
+		response, err = client.GetSpanNames(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetSpanNamesRequest is the request struct for api GetSpanNames
+type GetSpanNamesRequest struct {
+	*requests.RpcRequest
+	EndTime     requests.Integer `position:"Query" name:"EndTime"`
+	ServiceName string           `position:"Query" name:"ServiceName"`
+	StartTime   requests.Integer `position:"Query" name:"StartTime"`
+}
+
+// GetSpanNamesResponse is the response struct for api GetSpanNames
+type GetSpanNamesResponse struct {
+	*responses.BaseResponse
+	RequestId string             `json:"RequestId" xml:"RequestId"`
+	Data      DataInGetSpanNames `json:"Data" xml:"Data"`
+}
+
+// CreateGetSpanNamesRequest creates a request to invoke GetSpanNames API
+func CreateGetSpanNamesRequest() (request *GetSpanNamesRequest) {
+	request = &GetSpanNamesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ARMS", "2019-02-19", "GetSpanNames", "", "")
+	return
+}
+
+// CreateGetSpanNamesResponse creates a response to parse from GetSpanNames response
+func CreateGetSpanNamesResponse() (response *GetSpanNamesResponse) {
+	response = &GetSpanNamesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/arms/get_tag_key.go

@@ -0,0 +1,107 @@
+package arms
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// GetTagKey invokes the arms.GetTagKey API synchronously
+// api document: https://help.aliyun.com/api/arms/gettagkey.html
+func (client *Client) GetTagKey(request *GetTagKeyRequest) (response *GetTagKeyResponse, err error) {
+	response = CreateGetTagKeyResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetTagKeyWithChan invokes the arms.GetTagKey API asynchronously
+// api document: https://help.aliyun.com/api/arms/gettagkey.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetTagKeyWithChan(request *GetTagKeyRequest) (<-chan *GetTagKeyResponse, <-chan error) {
+	responseChan := make(chan *GetTagKeyResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetTagKey(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetTagKeyWithCallback invokes the arms.GetTagKey API asynchronously
+// api document: https://help.aliyun.com/api/arms/gettagkey.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetTagKeyWithCallback(request *GetTagKeyRequest, callback func(response *GetTagKeyResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetTagKeyResponse
+		var err error
+		defer close(result)
+		response, err = client.GetTagKey(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetTagKeyRequest is the request struct for api GetTagKey
+type GetTagKeyRequest struct {
+	*requests.RpcRequest
+	EndTime     requests.Integer `position:"Query" name:"EndTime"`
+	ServiceName string           `position:"Query" name:"ServiceName"`
+	StartTime   requests.Integer `position:"Query" name:"StartTime"`
+	SpanName    string           `position:"Query" name:"SpanName"`
+}
+
+// GetTagKeyResponse is the response struct for api GetTagKey
+type GetTagKeyResponse struct {
+	*responses.BaseResponse
+	RequestId string          `json:"RequestId" xml:"RequestId"`
+	Data      DataInGetTagKey `json:"Data" xml:"Data"`
+}
+
+// CreateGetTagKeyRequest creates a request to invoke GetTagKey API
+func CreateGetTagKeyRequest() (request *GetTagKeyRequest) {
+	request = &GetTagKeyRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ARMS", "2019-02-19", "GetTagKey", "", "")
+	return
+}
+
+// CreateGetTagKeyResponse creates a response to parse from GetTagKey response
+func CreateGetTagKeyResponse() (response *GetTagKeyResponse) {
+	response = &GetTagKeyResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/arms/get_tag_val.go

@@ -0,0 +1,108 @@
+package arms
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// GetTagVal invokes the arms.GetTagVal API synchronously
+// api document: https://help.aliyun.com/api/arms/gettagval.html
+func (client *Client) GetTagVal(request *GetTagValRequest) (response *GetTagValResponse, err error) {
+	response = CreateGetTagValResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetTagValWithChan invokes the arms.GetTagVal API asynchronously
+// api document: https://help.aliyun.com/api/arms/gettagval.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetTagValWithChan(request *GetTagValRequest) (<-chan *GetTagValResponse, <-chan error) {
+	responseChan := make(chan *GetTagValResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetTagVal(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetTagValWithCallback invokes the arms.GetTagVal API asynchronously
+// api document: https://help.aliyun.com/api/arms/gettagval.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetTagValWithCallback(request *GetTagValRequest, callback func(response *GetTagValResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetTagValResponse
+		var err error
+		defer close(result)
+		response, err = client.GetTagVal(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetTagValRequest is the request struct for api GetTagVal
+type GetTagValRequest struct {
+	*requests.RpcRequest
+	EndTime     requests.Integer `position:"Query" name:"EndTime"`
+	ServiceName string           `position:"Query" name:"ServiceName"`
+	StartTime   requests.Integer `position:"Query" name:"StartTime"`
+	TagKey      string           `position:"Query" name:"TagKey"`
+	SpanName    string           `position:"Query" name:"SpanName"`
+}
+
+// GetTagValResponse is the response struct for api GetTagVal
+type GetTagValResponse struct {
+	*responses.BaseResponse
+	RequestId string          `json:"RequestId" xml:"RequestId"`
+	Data      DataInGetTagVal `json:"Data" xml:"Data"`
+}
+
+// CreateGetTagValRequest creates a request to invoke GetTagVal API
+func CreateGetTagValRequest() (request *GetTagValRequest) {
+	request = &GetTagValRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ARMS", "2019-02-19", "GetTagVal", "", "")
+	return
+}
+
+// CreateGetTagValResponse creates a response to parse from GetTagVal response
+func CreateGetTagValResponse() (response *GetTagValResponse) {
+	response = &GetTagValResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 105 - 0
services/arms/get_trace.go

@@ -0,0 +1,105 @@
+package arms
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// GetTrace invokes the arms.GetTrace API synchronously
+// api document: https://help.aliyun.com/api/arms/gettrace.html
+func (client *Client) GetTrace(request *GetTraceRequest) (response *GetTraceResponse, err error) {
+	response = CreateGetTraceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetTraceWithChan invokes the arms.GetTrace API asynchronously
+// api document: https://help.aliyun.com/api/arms/gettrace.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetTraceWithChan(request *GetTraceRequest) (<-chan *GetTraceResponse, <-chan error) {
+	responseChan := make(chan *GetTraceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetTrace(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetTraceWithCallback invokes the arms.GetTrace API asynchronously
+// api document: https://help.aliyun.com/api/arms/gettrace.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetTraceWithCallback(request *GetTraceRequest, callback func(response *GetTraceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetTraceResponse
+		var err error
+		defer close(result)
+		response, err = client.GetTrace(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetTraceRequest is the request struct for api GetTrace
+type GetTraceRequest struct {
+	*requests.RpcRequest
+	TraceID string `position:"Query" name:"TraceID"`
+	AppType string `position:"Query" name:"AppType"`
+}
+
+// GetTraceResponse is the response struct for api GetTrace
+type GetTraceResponse struct {
+	*responses.BaseResponse
+	RequestId string         `json:"RequestId" xml:"RequestId"`
+	Data      DataInGetTrace `json:"Data" xml:"Data"`
+}
+
+// CreateGetTraceRequest creates a request to invoke GetTrace API
+func CreateGetTraceRequest() (request *GetTraceRequest) {
+	request = &GetTraceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ARMS", "2019-02-19", "GetTrace", "", "")
+	return
+}
+
+// CreateGetTraceResponse creates a response to parse from GetTrace response
+func CreateGetTraceResponse() (response *GetTraceResponse) {
+	response = &GetTraceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/arms/metric_query.go

@@ -107,7 +107,7 @@ func CreateMetricQueryRequest() (request *MetricQueryRequest) {
 	request = &MetricQueryRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("ARMS", "2018-12-19", "MetricQuery", "arms", "openAPI")
+	request.InitWithApiInfo("ARMS", "2019-02-19", "MetricQuery", "", "")
 	return
 }
 

+ 117 - 0
services/arms/search_trace_count.go

@@ -0,0 +1,117 @@
+package arms
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// SearchTraceCount invokes the arms.SearchTraceCount API synchronously
+// api document: https://help.aliyun.com/api/arms/searchtracecount.html
+func (client *Client) SearchTraceCount(request *SearchTraceCountRequest) (response *SearchTraceCountResponse, err error) {
+	response = CreateSearchTraceCountResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// SearchTraceCountWithChan invokes the arms.SearchTraceCount API asynchronously
+// api document: https://help.aliyun.com/api/arms/searchtracecount.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SearchTraceCountWithChan(request *SearchTraceCountRequest) (<-chan *SearchTraceCountResponse, <-chan error) {
+	responseChan := make(chan *SearchTraceCountResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.SearchTraceCount(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// SearchTraceCountWithCallback invokes the arms.SearchTraceCount API asynchronously
+// api document: https://help.aliyun.com/api/arms/searchtracecount.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SearchTraceCountWithCallback(request *SearchTraceCountRequest, callback func(response *SearchTraceCountResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *SearchTraceCountResponse
+		var err error
+		defer close(result)
+		response, err = client.SearchTraceCount(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// SearchTraceCountRequest is the request struct for api SearchTraceCount
+type SearchTraceCountRequest struct {
+	*requests.RpcRequest
+	InstanceId    string                 `position:"Query" name:"InstanceId"`
+	OperationName string                 `position:"Query" name:"OperationName"`
+	AppType       string                 `position:"Query" name:"AppType"`
+	EndTime       requests.Integer       `position:"Query" name:"EndTime"`
+	ServiceName   string                 `position:"Query" name:"ServiceName"`
+	StartTime     requests.Integer       `position:"Query" name:"StartTime"`
+	Tag           *[]SearchTraceCountTag `position:"Query" name:"Tag"  type:"Repeated"`
+	MinDuration   requests.Integer       `position:"Query" name:"MinDuration"`
+}
+
+// SearchTraceCountTag is a repeated param struct in SearchTraceCountRequest
+type SearchTraceCountTag struct {
+	Value string `name:"Value"`
+	Key   string `name:"Key"`
+}
+
+// SearchTraceCountResponse is the response struct for api SearchTraceCount
+type SearchTraceCountResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Data      Data   `json:"Data" xml:"Data"`
+}
+
+// CreateSearchTraceCountRequest creates a request to invoke SearchTraceCount API
+func CreateSearchTraceCountRequest() (request *SearchTraceCountRequest) {
+	request = &SearchTraceCountRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ARMS", "2019-02-19", "SearchTraceCount", "", "")
+	return
+}
+
+// CreateSearchTraceCountResponse creates a response to parse from SearchTraceCount response
+func CreateSearchTraceCountResponse() (response *SearchTraceCountResponse) {
+	response = &SearchTraceCountResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 120 - 0
services/arms/search_traces.go

@@ -0,0 +1,120 @@
+package arms
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// SearchTraces invokes the arms.SearchTraces API synchronously
+// api document: https://help.aliyun.com/api/arms/searchtraces.html
+func (client *Client) SearchTraces(request *SearchTracesRequest) (response *SearchTracesResponse, err error) {
+	response = CreateSearchTracesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// SearchTracesWithChan invokes the arms.SearchTraces API asynchronously
+// api document: https://help.aliyun.com/api/arms/searchtraces.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SearchTracesWithChan(request *SearchTracesRequest) (<-chan *SearchTracesResponse, <-chan error) {
+	responseChan := make(chan *SearchTracesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.SearchTraces(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// SearchTracesWithCallback invokes the arms.SearchTraces API asynchronously
+// api document: https://help.aliyun.com/api/arms/searchtraces.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SearchTracesWithCallback(request *SearchTracesRequest, callback func(response *SearchTracesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *SearchTracesResponse
+		var err error
+		defer close(result)
+		response, err = client.SearchTraces(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// SearchTracesRequest is the request struct for api SearchTraces
+type SearchTracesRequest struct {
+	*requests.RpcRequest
+	ServiceIp     string             `position:"Query" name:"ServiceIp"`
+	OperationName string             `position:"Query" name:"OperationName"`
+	AppType       string             `position:"Query" name:"AppType"`
+	PageSize      requests.Integer   `position:"Query" name:"PageSize"`
+	EndTime       requests.Integer   `position:"Query" name:"EndTime"`
+	ServiceName   string             `position:"Query" name:"ServiceName"`
+	PageIndex     requests.Integer   `position:"Query" name:"PageIndex"`
+	StartTime     requests.Integer   `position:"Query" name:"StartTime"`
+	Tag           *[]SearchTracesTag `position:"Query" name:"Tag"  type:"Repeated"`
+	Reverse       requests.Boolean   `position:"Query" name:"Reverse"`
+	MinDuration   requests.Integer   `position:"Query" name:"MinDuration"`
+}
+
+// SearchTracesTag is a repeated param struct in SearchTracesRequest
+type SearchTracesTag struct {
+	Value string `name:"Value"`
+	Key   string `name:"Key"`
+}
+
+// SearchTracesResponse is the response struct for api SearchTraces
+type SearchTracesResponse struct {
+	*responses.BaseResponse
+	RequestId string             `json:"RequestId" xml:"RequestId"`
+	Data      DataInSearchTraces `json:"Data" xml:"Data"`
+}
+
+// CreateSearchTracesRequest creates a request to invoke SearchTraces API
+func CreateSearchTracesRequest() (request *SearchTracesRequest) {
+	request = &SearchTracesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ARMS", "2019-02-19", "SearchTraces", "", "")
+	return
+}
+
+// CreateSearchTracesResponse creates a response to parse from SearchTraces response
+func CreateSearchTracesResponse() (response *SearchTracesResponse) {
+	response = &SearchTracesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 31 - 0
services/arms/struct_call_chain_info.go

@@ -0,0 +1,31 @@
+package arms
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// CallChainInfo is a nested struct in arms response
+type CallChainInfo struct {
+	TraceID       string                 `json:"TraceID" xml:"TraceID"`
+	OperationName string                 `json:"OperationName" xml:"OperationName"`
+	Duration      int                    `json:"Duration" xml:"Duration"`
+	ServiceName   string                 `json:"ServiceName" xml:"ServiceName"`
+	ServiceIp     string                 `json:"ServiceIp" xml:"ServiceIp"`
+	Timestamp     int                    `json:"Timestamp" xml:"Timestamp"`
+	RpcId         string                 `json:"RpcId" xml:"RpcId"`
+	ResultCode    string                 `json:"ResultCode" xml:"ResultCode"`
+	HaveStack     bool                   `json:"HaveStack" xml:"HaveStack"`
+	TagEntryList  TagEntryListInGetTrace `json:"TagEntryList" xml:"TagEntryList"`
+	LogEventList  LogEventList           `json:"LogEventList" xml:"LogEventList"`
+}

+ 23 - 0
services/arms/struct_data.go

@@ -0,0 +1,23 @@
+package arms
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// Data is a nested struct in arms response
+type Data struct {
+	Count    int      `json:"Count" xml:"Count"`
+	Services Services `json:"Services" xml:"Services"`
+	Details  Details  `json:"Details" xml:"Details"`
+}

+ 21 - 0
services/arms/struct_data_in_get_span_names.go

@@ -0,0 +1,21 @@
+package arms
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DataInGetSpanNames is a nested struct in arms response
+type DataInGetSpanNames struct {
+	Data []string `json:"Data" xml:"Data"`
+}

+ 21 - 0
services/arms/struct_data_in_get_tag_key.go

@@ -0,0 +1,21 @@
+package arms
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DataInGetTagKey is a nested struct in arms response
+type DataInGetTagKey struct {
+	Data []string `json:"Data" xml:"Data"`
+}

+ 21 - 0
services/arms/struct_data_in_get_tag_val.go

@@ -0,0 +1,21 @@
+package arms
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DataInGetTagVal is a nested struct in arms response
+type DataInGetTagVal struct {
+	Data []string `json:"Data" xml:"Data"`
+}

+ 21 - 0
services/arms/struct_data_in_get_trace.go

@@ -0,0 +1,21 @@
+package arms
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DataInGetTrace is a nested struct in arms response
+type DataInGetTrace struct {
+	CallChainInfo []CallChainInfo `json:"CallChainInfo" xml:"CallChainInfo"`
+}

+ 21 - 0
services/arms/struct_data_in_search_traces.go

@@ -0,0 +1,21 @@
+package arms
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DataInSearchTraces is a nested struct in arms response
+type DataInSearchTraces struct {
+	TraceInfo []TraceInfo `json:"TraceInfo" xml:"TraceInfo"`
+}

+ 21 - 0
services/arms/struct_details.go

@@ -0,0 +1,21 @@
+package arms
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// Details is a nested struct in arms response
+type Details struct {
+	DetailsItem []DetailsItem `json:"DetailsItem" xml:"DetailsItem"`
+}

+ 23 - 0
services/arms/struct_details_item.go

@@ -0,0 +1,23 @@
+package arms
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DetailsItem is a nested struct in arms response
+type DetailsItem struct {
+	ServiceName string `json:"ServiceName" xml:"ServiceName"`
+	Pid         string `json:"Pid" xml:"Pid"`
+	RegionId    string `json:"RegionId" xml:"RegionId"`
+}

+ 22 - 0
services/arms/struct_log_event.go

@@ -0,0 +1,22 @@
+package arms
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// LogEvent is a nested struct in arms response
+type LogEvent struct {
+	Timestamp    int                    `json:"Timestamp" xml:"Timestamp"`
+	TagEntryList TagEntryListInGetTrace `json:"TagEntryList" xml:"TagEntryList"`
+}

+ 21 - 0
services/arms/struct_log_event_list.go

@@ -0,0 +1,21 @@
+package arms
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// LogEventList is a nested struct in arms response
+type LogEventList struct {
+	LogEvent []LogEvent `json:"LogEvent" xml:"LogEvent"`
+}

+ 21 - 0
services/arms/struct_services.go

@@ -0,0 +1,21 @@
+package arms
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// Services is a nested struct in arms response
+type Services struct {
+	Services []string `json:"Services" xml:"Services"`
+}

+ 22 - 0
services/arms/struct_tag_entry.go

@@ -0,0 +1,22 @@
+package arms
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// TagEntry is a nested struct in arms response
+type TagEntry struct {
+	Key   string `json:"Key" xml:"Key"`
+	Value string `json:"Value" xml:"Value"`
+}

+ 21 - 0
services/arms/struct_tag_entry_list_in_get_trace.go

@@ -0,0 +1,21 @@
+package arms
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// TagEntryListInGetTrace is a nested struct in arms response
+type TagEntryListInGetTrace struct {
+	TagEntry []TagEntry `json:"TagEntry" xml:"TagEntry"`
+}

+ 26 - 0
services/arms/struct_trace_info.go

@@ -0,0 +1,26 @@
+package arms
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// TraceInfo is a nested struct in arms response
+type TraceInfo struct {
+	TraceID       string `json:"TraceID" xml:"TraceID"`
+	OperationName string `json:"OperationName" xml:"OperationName"`
+	Duration      int    `json:"Duration" xml:"Duration"`
+	ServiceName   string `json:"ServiceName" xml:"ServiceName"`
+	ServiceIp     string `json:"ServiceIp" xml:"ServiceIp"`
+	Timestamp     int    `json:"Timestamp" xml:"Timestamp"`
+}