Skip to content

Commit

Permalink
Support API ModifyOfficeSiteDnsInfo.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Feb 25, 2025
1 parent ab86100 commit ed63cd5
Show file tree
Hide file tree
Showing 19 changed files with 1,036 additions and 607 deletions.
9 changes: 9 additions & 0 deletions ecd-20200930/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2025-02-25 Version: 4.6.0
- Support API ModifyOfficeSiteDnsInfo.
- Update API CreatePolicyGroup: update param DomainResolveRule.
- Update API DescribeDesktopTypes: add param GpuMemory.
- Update API DescribeDesktopTypes: update param DesktopTypeIdList.
- Update API DescribeDesktops: update response param.
- Update API ModifyPolicyGroup: update param DomainResolveRule.


2025-02-17 Version: 4.5.0
- Support API BindConfigGroup.
- Support API CreateConfigGroup.
Expand Down
254 changes: 222 additions & 32 deletions ecd-20200930/core/Client.cs

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions ecd-20200930/core/Models/ClonePolicyGroupRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace AlibabaCloud.SDK.Ecd20200930.Models
{
public class ClonePolicyGroupRequest : TeaModel {
/// <summary>
/// <para>The name of the policy.</para>
/// <para>The name of the cloud computer policy that you want to create.</para>
/// <para>This parameter is required.</para>
///
/// <b>Example:</b>
Expand All @@ -21,7 +21,7 @@ public class ClonePolicyGroupRequest : TeaModel {
public string Name { get; set; }

/// <summary>
/// <para>The ID of the policy that you want to clone.</para>
/// <para>The ID of the destination cloud computer policy that you want to clone.</para>
/// <para>This parameter is required.</para>
///
/// <b>Example:</b>
Expand All @@ -32,7 +32,7 @@ public class ClonePolicyGroupRequest : TeaModel {
public string PolicyGroupId { get; set; }

/// <summary>
/// <para>The ID of the region.</para>
/// <para>The region ID. You can call the <a href="~~DescribeRegions~~">DescribeRegions</a> operation to query the regions supported by Elastic Desktop Service (EDS).</para>
/// <para>This parameter is required.</para>
///
/// <b>Example:</b>
Expand Down
2 changes: 1 addition & 1 deletion ecd-20200930/core/Models/ClonePolicyGroupResponseBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace AlibabaCloud.SDK.Ecd20200930.Models
{
public class ClonePolicyGroupResponseBody : TeaModel {
/// <summary>
/// <para>The ID of the new policy.</para>
/// <para>The ID of the new cloud computer policy.</para>
///
/// <b>Example:</b>
/// <para>pg-7jcaznnx6go6n****</para>
Expand Down
611 changes: 268 additions & 343 deletions ecd-20200930/core/Models/CreatePolicyGroupRequest.cs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ecd-20200930/core/Models/CreatePolicyGroupResponseBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace AlibabaCloud.SDK.Ecd20200930.Models
{
public class CreatePolicyGroupResponseBody : TeaModel {
/// <summary>
/// <para>The ID of the policy.</para>
/// <para>The cloud computer policy ID.</para>
///
/// <b>Example:</b>
/// <para>pg-gx2x1dhsmthe9****</para>
Expand Down
4 changes: 2 additions & 2 deletions ecd-20200930/core/Models/DeletePolicyGroupsRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace AlibabaCloud.SDK.Ecd20200930.Models
{
public class DeletePolicyGroupsRequest : TeaModel {
/// <summary>
/// <para>The ID of the policy. You can specify 1 to 100 policy IDs.</para>
/// <para>The cloud computer policy IDs. You can specify 1 to 100 policies.</para>
/// <para>This parameter is required.</para>
///
/// <b>Example:</b>
Expand All @@ -21,7 +21,7 @@ public class DeletePolicyGroupsRequest : TeaModel {
public List<string> PolicyGroupId { get; set; }

/// <summary>
/// <para>The ID of the region.</para>
/// <para>The region ID. You can call the <a href="~~DescribeRegions~~">DescribeRegions</a> operation to query the regions supported by EDS.</para>
/// <para>This parameter is required.</para>
///
/// <b>Example:</b>
Expand Down
25 changes: 24 additions & 1 deletion ecd-20200930/core/Models/DescribeDesktopSessionsRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
namespace AlibabaCloud.SDK.Ecd20200930.Models
{
public class DescribeDesktopSessionsRequest : TeaModel {
/// <summary>
/// <para>Specifies whether to turn on the switch to check session status of cloud computers.</para>
///
/// <b>Example:</b>
/// <para>true</para>
/// </summary>
[NameInMap("CheckOsSession")]
[Validation(Required=false)]
public bool? CheckOsSession { get; set; }
Expand Down Expand Up @@ -50,6 +56,10 @@ public class DescribeDesktopSessionsRequest : TeaModel {
[Validation(Required=false)]
public string EndUserId { get; set; }

/// <summary>
/// <b>Example:</b>
/// <para>alice</para>
/// </summary>
[NameInMap("EndUserIdFilter")]
[Validation(Required=false)]
public string EndUserIdFilter { get; set; }
Expand Down Expand Up @@ -85,7 +95,7 @@ public class DescribeDesktopSessionsRequest : TeaModel {
public int? PageSize { get; set; }

/// <summary>
/// <para>The ID of the region. You can call the <a href="https://help.aliyun.com/document_detail/196646.html">DescribeRegions</a> operation to query the regions supported by Elastic Desktop Service.</para>
/// <para>The region ID. You can call the <a href="~~DescribeRegions~~">DescribeRegions</a> operation to query the regions supported by Elastic Desktop Service (EDS).</para>
/// <para>This parameter is required.</para>
///
/// <b>Example:</b>
Expand Down Expand Up @@ -120,6 +130,19 @@ public class DescribeDesktopSessionsRequest : TeaModel {
[Validation(Required=false)]
public string StartTime { get; set; }

/// <summary>
/// <para>The billing method of cloud computers.</para>
/// <para>Valid values:</para>
/// <list type="bullet">
/// <item><description>duration: hourly plan (available for users in the whitelist)</description></item>
/// <item><description>postPaid: pay-as-you-go</description></item>
/// <item><description>monthPackage: monthly subscription (the 120-hour/250-hour computing plan)</description></item>
/// <item><description>prePaid: monthly subscription (the Unlimited computing plan)</description></item>
/// </list>
///
/// <b>Example:</b>
/// <para>monthPackage</para>
/// </summary>
[NameInMap("SubPayType")]
[Validation(Required=false)]
public string SubPayType { get; set; }
Expand Down
21 changes: 20 additions & 1 deletion ecd-20200930/core/Models/DescribeDesktopSessionsResponseBody.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class DescribeDesktopSessionsResponseBody : TeaModel {
public string RequestId { get; set; }

/// <summary>
/// <para>Details of the session.</para>
/// <para>Details of sessions.</para>
/// </summary>
[NameInMap("Sessions")]
[Validation(Required=false)]
Expand Down Expand Up @@ -126,6 +126,12 @@ public class DescribeDesktopSessionsResponseBodySessions : TeaModel {
[Validation(Required=false)]
public string OfficeSiteName { get; set; }

/// <summary>
/// <para>Indicates whether the switch to check session status of cloud computers is turned on.</para>
///
/// <b>Example:</b>
/// <para>true</para>
/// </summary>
[NameInMap("OsSessionStatus")]
[Validation(Required=false)]
public string OsSessionStatus { get; set; }
Expand Down Expand Up @@ -205,6 +211,19 @@ public class DescribeDesktopSessionsResponseBodySessions : TeaModel {
[Validation(Required=false)]
public string SessionStatus { get; set; }

/// <summary>
/// <para>The billing method of cloud computers.</para>
/// <para>Valid values:</para>
/// <list type="bullet">
/// <item><description>duration: hourly plan (available for users in the whitelist)</description></item>
/// <item><description>postPaid: pay-as-you-go</description></item>
/// <item><description>monthPackage: monthly subscription (120-hour computing plan and 250-hour computing plan)</description></item>
/// <item><description>prePaid: monthly subscription (Unlimited computing plan)</description></item>
/// </list>
///
/// <b>Example:</b>
/// <para>monthPackage</para>
/// </summary>
[NameInMap("SubPayType")]
[Validation(Required=false)]
public string SubPayType { get; set; }
Expand Down
4 changes: 4 additions & 0 deletions ecd-20200930/core/Models/DescribeDesktopTypesRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,10 @@ public class DescribeDesktopTypesRequest : TeaModel {
[Validation(Required=false)]
public string GpuDriverType { get; set; }

[NameInMap("GpuMemory")]
[Validation(Required=false)]
public int? GpuMemory { get; set; }

/// <summary>
/// <para>The name of the instance family.</para>
/// <remarks>
Expand Down
14 changes: 10 additions & 4 deletions ecd-20200930/core/Models/ModifyDesktopsPolicyGroupRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace AlibabaCloud.SDK.Ecd20200930.Models
{
public class ModifyDesktopsPolicyGroupRequest : TeaModel {
/// <summary>
/// <para>The ID of the cloud desktop. You can specify one or more desktop IDs. The value is a JSON array.</para>
/// <para>The cloud computer IDs. You can specify one or more cloud computers IDs. The value is a JSON array.</para>
/// <para>This parameter is required.</para>
///
/// <b>Example:</b>
Expand All @@ -21,7 +21,10 @@ public class ModifyDesktopsPolicyGroupRequest : TeaModel {
public List<string> DesktopId { get; set; }

/// <summary>
/// <para>The ID of the policy.</para>
/// <para>The ID of the cloud computer policy that you want to associate with cloud computers.</para>
/// <remarks>
/// <para> If the <c>PolicyGroupIds</c> parameter is used, ignore the current parameter.</para>
/// </remarks>
///
/// <b>Example:</b>
/// <para>pg-gx2x1dhsmthe9****</para>
Expand All @@ -31,14 +34,17 @@ public class ModifyDesktopsPolicyGroupRequest : TeaModel {
public string PolicyGroupId { get; set; }

/// <summary>
/// <para>策略ID列表。</para>
/// <para>The IDs of the cloud computer policies that you want to associate with cloud computers.</para>
/// <remarks>
/// <para> You can specify up to one cloud computer policy that takes effect globally, and up to four cloud computer policies that apply to specific IP addresses. If you specify more than one cloud computer policy that takes effect globally, only the policy first associate with the cloud computer can take effect.</para>
/// </remarks>
/// </summary>
[NameInMap("PolicyGroupIds")]
[Validation(Required=false)]
public List<string> PolicyGroupIds { get; set; }

/// <summary>
/// <para>The ID of the region.</para>
/// <para>The region ID. You can call the <a href="~~DescribeRegions~~">DescribeRegions</a> operation to query the regions supported by Elastic Desktop Service (EDS).</para>
/// <para>This parameter is required.</para>
///
/// <b>Example:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ namespace AlibabaCloud.SDK.Ecd20200930.Models
{
public class ModifyDesktopsPolicyGroupResponseBody : TeaModel {
/// <summary>
/// <para>The modification results.</para>
/// <para>The request results.</para>
/// </summary>
[NameInMap("ModifyResults")]
[Validation(Required=false)]
public List<ModifyDesktopsPolicyGroupResponseBodyModifyResults> ModifyResults { get; set; }
public class ModifyDesktopsPolicyGroupResponseBodyModifyResults : TeaModel {
/// <summary>
/// <para>The result of the modification. A value of success indicates that the policy is modified. If the policy failed to be modified, an error message is returned.</para>
/// <para>The returned message. If the request was successful, <c>success</c> is returned. If the request failed, an error message is returned.</para>
///
/// <b>Example:</b>
/// <para>success</para>
Expand All @@ -27,7 +27,7 @@ public class ModifyDesktopsPolicyGroupResponseBodyModifyResults : TeaModel {
public string Code { get; set; }

/// <summary>
/// <para>The ID of the cloud desktop.</para>
/// <para>The cloud computer ID.</para>
///
/// <b>Example:</b>
/// <para>ecd-7w78ozhjcwa3u****</para>
Expand Down
38 changes: 38 additions & 0 deletions ecd-20200930/core/Models/ModifyOfficeSiteDnsInfoRequest.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// This file is auto-generated, don't edit it. Thanks.

using System;
using System.Collections.Generic;
using System.IO;

using Tea;

namespace AlibabaCloud.SDK.Ecd20200930.Models
{
public class ModifyOfficeSiteDnsInfoRequest : TeaModel {
[NameInMap("DnsAddress")]
[Validation(Required=false)]
public List<string> DnsAddress { get; set; }

/// <summary>
/// <para>This parameter is required.</para>
///
/// <b>Example:</b>
/// <para>cn-hangzhou+dir-778418****</para>
/// </summary>
[NameInMap("OfficeSiteId")]
[Validation(Required=false)]
public string OfficeSiteId { get; set; }

/// <summary>
/// <para>This parameter is required.</para>
///
/// <b>Example:</b>
/// <para>cn-hangzhou</para>
/// </summary>
[NameInMap("RegionId")]
[Validation(Required=false)]
public string RegionId { get; set; }

}

}
26 changes: 26 additions & 0 deletions ecd-20200930/core/Models/ModifyOfficeSiteDnsInfoResponse.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// This file is auto-generated, don't edit it. Thanks.

using System;
using System.Collections.Generic;
using System.IO;

using Tea;

namespace AlibabaCloud.SDK.Ecd20200930.Models
{
public class ModifyOfficeSiteDnsInfoResponse : TeaModel {
[NameInMap("headers")]
[Validation(Required=false)]
public Dictionary<string, string> Headers { get; set; }

[NameInMap("statusCode")]
[Validation(Required=false)]
public int? StatusCode { get; set; }

[NameInMap("body")]
[Validation(Required=false)]
public ModifyOfficeSiteDnsInfoResponseBody Body { get; set; }

}

}
22 changes: 22 additions & 0 deletions ecd-20200930/core/Models/ModifyOfficeSiteDnsInfoResponseBody.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// This file is auto-generated, don't edit it. Thanks.

using System;
using System.Collections.Generic;
using System.IO;

using Tea;

namespace AlibabaCloud.SDK.Ecd20200930.Models
{
public class ModifyOfficeSiteDnsInfoResponseBody : TeaModel {
/// <summary>
/// <b>Example:</b>
/// <para>F7E4322D-D679-5ACB-A909-490D2F0E****</para>
/// </summary>
[NameInMap("RequestId")]
[Validation(Required=false)]
public string RequestId { get; set; }

}

}
Loading

0 comments on commit ed63cd5

Please sign in to comment.