Skip to content

Commit

Permalink
CMS SDK Auto Released By wb-xzy262218,Version:6.0.11
Browse files Browse the repository at this point in the history
发布日志:
1, Add new API: SendDryRunSystemEvent,PutMetricAlarm,DescribeAlarmsForDimensions,DescribeAlarms.
  • Loading branch information
jxyowen committed Jul 26, 2018
1 parent f731de1 commit 2d4ce84
Show file tree
Hide file tree
Showing 24 changed files with 2,347 additions and 33 deletions.
3 changes: 3 additions & 0 deletions aliyun-net-sdk-cms/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2018-07-26 Version: 6.0.11
1, Add new API: SendDryRunSystemEvent,PutMetricAlarm,DescribeAlarmsForDimensions,DescribeAlarms.

2018-07-10 Version: 6.0.10
1, Add new API: EnableEventRule,DisableEventRule,DeleteEventTargets,DeleteEventRule,ListEventRules.
2, Modify the structured parameters for API: PutEventTargets,PutEventRule,DescribeEventRule.
Expand Down
19 changes: 19 additions & 0 deletions aliyun-net-sdk-cms/Cms/Model/V20180308/DeleteEventRuleRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,27 @@ public DeleteEventRuleRequest()
{
}

private List<string> ruleNamess;

private string ruleName;

public List<string> RuleNamess
{
get
{
return ruleNamess;
}

set
{
ruleNamess = value;
for (int i = 0; i < ruleNamess.Count; i++)
{
DictionaryUtil.Add(QueryParameters,"RuleNames." + (i + 1) , ruleNamess[i]);
}
}
}

public string RuleName
{
get
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you 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.
*/
using Aliyun.Acs.Core;
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Cms.Transform;
using Aliyun.Acs.Cms.Transform.V20180308;
using System.Collections.Generic;

namespace Aliyun.Acs.Cms.Model.V20180308
{
public class DescribeAlarmsForResourcesRequest : RpcAcsRequest<DescribeAlarmsForResourcesResponse>
{
public DescribeAlarmsForResourcesRequest()
: base("Cms", "2018-03-08", "DescribeAlarmsForResources", "cms", "openAPI")
{
}

private bool? enableState;

private string groupId;

private string _namespace;

private string pageSize;

private string alertState;

private string page;

private string metricName;

private string dimensions;

public bool? EnableState
{
get
{
return enableState;
}
set
{
enableState = value;
DictionaryUtil.Add(QueryParameters, "EnableState", value.ToString());
}
}

public string GroupId
{
get
{
return groupId;
}
set
{
groupId = value;
DictionaryUtil.Add(QueryParameters, "GroupId", value);
}
}

public string _Namespace
{
get
{
return _namespace;
}
set
{
_namespace = value;
DictionaryUtil.Add(QueryParameters, "Namespace", value);
}
}

public string PageSize
{
get
{
return pageSize;
}
set
{
pageSize = value;
DictionaryUtil.Add(QueryParameters, "PageSize", value);
}
}

public string AlertState
{
get
{
return alertState;
}
set
{
alertState = value;
DictionaryUtil.Add(QueryParameters, "AlertState", value);
}
}

public string Page
{
get
{
return page;
}
set
{
page = value;
DictionaryUtil.Add(QueryParameters, "Page", value);
}
}

public string MetricName
{
get
{
return metricName;
}
set
{
metricName = value;
DictionaryUtil.Add(QueryParameters, "MetricName", value);
}
}

public string Dimensions
{
get
{
return dimensions;
}
set
{
dimensions = value;
DictionaryUtil.Add(QueryParameters, "Dimensions", value);
}
}

public override DescribeAlarmsForResourcesResponse GetResponse(Core.Transform.UnmarshallerContext unmarshallerContext)
{
return DescribeAlarmsForResourcesResponseUnmarshaller.Unmarshall(unmarshallerContext);
}
}
}
Loading

0 comments on commit 2d4ce84

Please sign in to comment.