|
|
@@ -78,6 +78,7 @@ type CreateNotifyPolicyRequest struct {
|
|
|
*requests.RpcRequest
|
|
|
PolicyType string `position:"Query" name:"PolicyType"`
|
|
|
AlertName string `position:"Query" name:"AlertName"`
|
|
|
+ GroupId string `position:"Query" name:"GroupId"`
|
|
|
EndTime requests.Integer `position:"Query" name:"EndTime"`
|
|
|
StartTime requests.Integer `position:"Query" name:"StartTime"`
|
|
|
Dimensions string `position:"Query" name:"Dimensions"`
|
|
|
@@ -86,11 +87,11 @@ type CreateNotifyPolicyRequest struct {
|
|
|
// CreateNotifyPolicyResponse is the response struct for api CreateNotifyPolicy
|
|
|
type CreateNotifyPolicyResponse struct {
|
|
|
*responses.BaseResponse
|
|
|
- Code string `json:"code" xml:"code"`
|
|
|
- Message string `json:"message" xml:"message"`
|
|
|
- Success string `json:"success" xml:"success"`
|
|
|
- TraceId string `json:"traceId" xml:"traceId"`
|
|
|
- Result int `json:"result" xml:"result"`
|
|
|
+ Code string `json:"Code" xml:"Code"`
|
|
|
+ Message string `json:"Message" xml:"Message"`
|
|
|
+ Success string `json:"Success" xml:"Success"`
|
|
|
+ RequestId string `json:"RequestId" xml:"RequestId"`
|
|
|
+ Result int `json:"Result" xml:"Result"`
|
|
|
}
|
|
|
|
|
|
// CreateCreateNotifyPolicyRequest creates a request to invoke CreateNotifyPolicy API
|