代码修改后的版本,全部提交

This commit is contained in:
ss001
2026-02-07 15:48:27 +08:00
parent cccbaa37c9
commit c2cda58c65
15604 changed files with 2455502 additions and 0 deletions

View File

@@ -0,0 +1,82 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class AuthDomain : AbstractModel
{
/// <summary>
/// 域名ID
/// </summary>
[JsonProperty("Id")]
public string Id{ get; set; }
/// <summary>
/// 域名
/// </summary>
[JsonProperty("Domain")]
public string Domain{ get; set; }
/// <summary>
/// 域名类型。包含以下取值:
/// <li>SYSTEM</li>
/// <li>USER</li>
/// </summary>
[JsonProperty("Type")]
public string Type{ get; set; }
/// <summary>
/// 状态。包含以下取值:
/// <li>ENABLE</li>
/// <li>DISABLE</li>
/// </summary>
[JsonProperty("Status")]
public string Status{ get; set; }
/// <summary>
/// 创建时间
/// </summary>
[JsonProperty("CreateTime")]
public string CreateTime{ get; set; }
/// <summary>
/// 更新时间
/// </summary>
[JsonProperty("UpdateTime")]
public string UpdateTime{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Id", this.Id);
this.SetParamSimple(map, prefix + "Domain", this.Domain);
this.SetParamSimple(map, prefix + "Type", this.Type);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.SetParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
}
}
}

View File

@@ -0,0 +1,36 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CheckTcbServiceRequest : AbstractModel
{
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CheckTcbServiceResponse : AbstractModel
{
/// <summary>
/// true表示已开通
/// </summary>
[JsonProperty("Initialized")]
public bool? Initialized{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Initialized", this.Initialized);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CommonServiceAPIRequest : AbstractModel
{
/// <summary>
/// Service名需要转发访问的接口名
/// </summary>
[JsonProperty("Service")]
public string Service{ get; set; }
/// <summary>
/// 需要转发的云API参数要转成JSON格式
/// </summary>
[JsonProperty("JSONData")]
public string JSONData{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Service", this.Service);
this.SetParamSimple(map, prefix + "JSONData", this.JSONData);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CommonServiceAPIResponse : AbstractModel
{
/// <summary>
/// json格式response
/// </summary>
[JsonProperty("JSONResp")]
public string JSONResp{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "JSONResp", this.JSONResp);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateAuthDomainRequest : AbstractModel
{
/// <summary>
/// 环境ID
/// </summary>
[JsonProperty("EnvId")]
public string EnvId{ get; set; }
/// <summary>
/// 安全域名
/// </summary>
[JsonProperty("Domains")]
public string[] Domains{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "EnvId", this.EnvId);
this.SetParamArraySimple(map, prefix + "Domains.", this.Domains);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateAuthDomainResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateHostingDomainRequest : AbstractModel
{
/// <summary>
/// 环境ID
/// </summary>
[JsonProperty("EnvId")]
public string EnvId{ get; set; }
/// <summary>
/// 域名
/// </summary>
[JsonProperty("Domain")]
public string Domain{ get; set; }
/// <summary>
/// 证书ID
/// </summary>
[JsonProperty("CertId")]
public string CertId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "EnvId", this.EnvId);
this.SetParamSimple(map, prefix + "Domain", this.Domain);
this.SetParamSimple(map, prefix + "CertId", this.CertId);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateHostingDomainResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateStaticStoreRequest : AbstractModel
{
/// <summary>
/// 环境ID
/// </summary>
[JsonProperty("EnvId")]
public string EnvId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "EnvId", this.EnvId);
}
}
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class CreateStaticStoreResponse : AbstractModel
{
/// <summary>
/// 创建静态资源结果(succ/fail)
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Result")]
public string Result{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Result", this.Result);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,62 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DatabasesInfo : AbstractModel
{
/// <summary>
/// 数据库唯一标识
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 状态。包含以下取值:
/// <li>INITIALIZING资源初始化中</li>
/// <li>RUNNING运行中可正常使用的状态</li>
/// <li>UNUSABLE禁用不可用</li>
/// <li>OVERDUE资源过期</li>
/// </summary>
[JsonProperty("Status")]
public string Status{ get; set; }
/// <summary>
/// 所属地域。
/// 当前支持ap-shanghai
/// </summary>
[JsonProperty("Region")]
public string Region{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "Region", this.Region);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DeleteEndUserRequest : AbstractModel
{
/// <summary>
/// 环境ID
/// </summary>
[JsonProperty("EnvId")]
public string EnvId{ get; set; }
/// <summary>
/// 用户列表每一项都是uuid
/// </summary>
[JsonProperty("UserList")]
public string[] UserList{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "EnvId", this.EnvId);
this.SetParamArraySimple(map, prefix + "UserList.", this.UserList);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DeleteEndUserResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeAuthDomainsRequest : AbstractModel
{
/// <summary>
/// 环境ID
/// </summary>
[JsonProperty("EnvId")]
public string EnvId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "EnvId", this.EnvId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeAuthDomainsResponse : AbstractModel
{
/// <summary>
/// 安全域名列表列表
/// </summary>
[JsonProperty("Domains")]
public AuthDomain[] Domains{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArrayObj(map, prefix + "Domains.", this.Domains);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeDatabaseACLRequest : AbstractModel
{
/// <summary>
/// 环境ID
/// </summary>
[JsonProperty("EnvId")]
public string EnvId{ get; set; }
/// <summary>
/// 集合名称
/// </summary>
[JsonProperty("CollectionName")]
public string CollectionName{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "EnvId", this.EnvId);
this.SetParamSimple(map, prefix + "CollectionName", this.CollectionName);
}
}
}

View File

@@ -0,0 +1,54 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeDatabaseACLResponse : AbstractModel
{
/// <summary>
/// 权限标签。包含以下取值:
/// <li> READONLY所有用户可读仅创建者和管理员可写</li>
/// <li> PRIVATE仅创建者及管理员可读写</li>
/// <li> ADMINWRITE所有用户可读仅管理员可写</li>
/// <li> ADMINONLY仅管理员可读写</li>
/// </summary>
[JsonProperty("AclTag")]
public string AclTag{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "AclTag", this.AclTag);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeEndUsersRequest : AbstractModel
{
/// <summary>
/// 开发者的环境ID
/// </summary>
[JsonProperty("EnvId")]
public string EnvId{ get; set; }
/// <summary>
/// 按照 uuid 列表过滤最大个数为100
/// </summary>
[JsonProperty("UUIds")]
public string[] UUIds{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "EnvId", this.EnvId);
this.SetParamArraySimple(map, prefix + "UUIds.", this.UUIds);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeEndUsersResponse : AbstractModel
{
/// <summary>
/// 用户总数
/// </summary>
[JsonProperty("Total")]
public ulong? Total{ get; set; }
/// <summary>
/// 用户列表
/// </summary>
[JsonProperty("Users")]
public EndUserInfo[] Users{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Total", this.Total);
this.SetParamArrayObj(map, prefix + "Users.", this.Users);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeEnvFreeQuotaRequest : AbstractModel
{
/// <summary>
/// 环境ID
/// </summary>
[JsonProperty("EnvId")]
public string EnvId{ get; set; }
/// <summary>
/// 资源类型可选值CDN, COS, FLEXDB, HOSTING, SCF
/// 不传则返回全部资源指标
/// </summary>
[JsonProperty("ResourceTypes")]
public string[] ResourceTypes{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "EnvId", this.EnvId);
this.SetParamArraySimple(map, prefix + "ResourceTypes.", this.ResourceTypes);
}
}
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeEnvFreeQuotaResponse : AbstractModel
{
/// <summary>
/// 免费抵扣配额详情
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("QuotaItems")]
public PostpayEnvQuota[] QuotaItems{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArrayObj(map, prefix + "QuotaItems.", this.QuotaItems);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,36 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeEnvLimitRequest : AbstractModel
{
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
}
}
}

View File

@@ -0,0 +1,99 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeEnvLimitResponse : AbstractModel
{
/// <summary>
/// 环境总数上限
/// </summary>
[JsonProperty("MaxEnvNum")]
public long? MaxEnvNum{ get; set; }
/// <summary>
/// 目前环境总数
/// </summary>
[JsonProperty("CurrentEnvNum")]
public long? CurrentEnvNum{ get; set; }
/// <summary>
/// 免费环境数量上限
/// </summary>
[JsonProperty("MaxFreeEnvNum")]
public long? MaxFreeEnvNum{ get; set; }
/// <summary>
/// 目前免费环境数量
/// </summary>
[JsonProperty("CurrentFreeEnvNum")]
public long? CurrentFreeEnvNum{ get; set; }
/// <summary>
/// 总计允许销毁环境次数上限
/// </summary>
[JsonProperty("MaxDeleteTotal")]
public long? MaxDeleteTotal{ get; set; }
/// <summary>
/// 目前已销毁环境次数
/// </summary>
[JsonProperty("CurrentDeleteTotal")]
public long? CurrentDeleteTotal{ get; set; }
/// <summary>
/// 每月允许销毁环境次数上限
/// </summary>
[JsonProperty("MaxDeleteMonthly")]
public long? MaxDeleteMonthly{ get; set; }
/// <summary>
/// 本月已销毁环境次数
/// </summary>
[JsonProperty("CurrentDeleteMonthly")]
public long? CurrentDeleteMonthly{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "MaxEnvNum", this.MaxEnvNum);
this.SetParamSimple(map, prefix + "CurrentEnvNum", this.CurrentEnvNum);
this.SetParamSimple(map, prefix + "MaxFreeEnvNum", this.MaxFreeEnvNum);
this.SetParamSimple(map, prefix + "CurrentFreeEnvNum", this.CurrentFreeEnvNum);
this.SetParamSimple(map, prefix + "MaxDeleteTotal", this.MaxDeleteTotal);
this.SetParamSimple(map, prefix + "CurrentDeleteTotal", this.CurrentDeleteTotal);
this.SetParamSimple(map, prefix + "MaxDeleteMonthly", this.MaxDeleteMonthly);
this.SetParamSimple(map, prefix + "CurrentDeleteMonthly", this.CurrentDeleteMonthly);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,58 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeEnvsRequest : AbstractModel
{
/// <summary>
/// 环境ID如果传了这个参数则只返回该环境的相关信息
/// </summary>
[JsonProperty("EnvId")]
public string EnvId{ get; set; }
/// <summary>
/// 指定Channels字段为可见渠道列表或不可见渠道列表
/// 如只想获取渠道A的环境 就填写IsVisible= true,Channels = ["A"], 过滤渠道A拉取其他渠道环境时填写IsVisible= false,Channels = ["A"]
/// </summary>
[JsonProperty("IsVisible")]
public bool? IsVisible{ get; set; }
/// <summary>
/// 渠道列表代表可见或不可见渠道由IsVisible参数指定
/// </summary>
[JsonProperty("Channels")]
public string[] Channels{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "EnvId", this.EnvId);
this.SetParamSimple(map, prefix + "IsVisible", this.IsVisible);
this.SetParamArraySimple(map, prefix + "Channels.", this.Channels);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeEnvsResponse : AbstractModel
{
/// <summary>
/// 环境信息列表
/// </summary>
[JsonProperty("EnvList")]
public EnvInfo[] EnvList{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamArrayObj(map, prefix + "EnvList.", this.EnvList);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,78 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeQuotaDataRequest : AbstractModel
{
/// <summary>
/// 环境ID
/// </summary>
[JsonProperty("EnvId")]
public string EnvId{ get; set; }
/// <summary>
/// <li> 指标名: </li>
/// <li> StorageSizepkg: 当月存储空间容量, 单位MB </li>
/// <li> StorageReadpkg: 当月存储读请求次数 </li>
/// <li> StorageWritepkg: 当月存储写请求次数 </li>
/// <li> StorageCdnOriginFluxpkg: 当月CDN回源流量, 单位字节 </li>
/// <li> StorageCdnOriginFluxpkgDay: 当日CDN回源流量, 单位字节 </li>
/// <li> StorageReadpkgDay: 当日存储读请求次数 </li>
/// <li> StorageWritepkgDay: 当日写请求次数 </li>
/// <li> CDNFluxpkg: 当月CDN流量, 单位为字节 </li>
/// <li> CDNFluxpkgDay: 当日CDN流量, 单位为字节 </li>
/// <li> FunctionInvocationpkg: 当月云函数调用次数 </li>
/// <li> FunctionGBspkg: 当月云函数资源使用量, 单位Mb*Ms </li>
/// <li> FunctionFluxpkg: 当月云函数流量, 单位千字节(KB) </li>
/// <li> FunctionInvocationpkgDay: 当日云函数调用次数 </li>
/// <li> FunctionGBspkgDay: 当日云函数资源使用量, 单位Mb*Ms </li>
/// <li> FunctionFluxpkgDay: 当日云函数流量, 单位千字节(KB) </li>
/// <li> DbSizepkg: 当月数据库容量大小, 单位MB </li>
/// <li> DbReadpkg: 当日数据库读请求数 </li>
/// <li> DbWritepkg: 当日数据库写请求数 </li>
/// <li> StaticFsFluxPkgDay: 当日静态托管流量 </li>
/// <li> StaticFsFluxPkg: 当月静态托管流量</li>
/// <li> StaticFsSizePkg: 当月静态托管容量 </li>
/// </summary>
[JsonProperty("MetricName")]
public string MetricName{ get; set; }
/// <summary>
/// 资源ID, 目前仅对云函数相关的指标(FunctionInvocationpkg, FunctionGBspkg, FunctionFluxpkg)有意义, 如果想查询某个云函数的指标则在ResourceId中传入函数名; 如果只想查询整个namespace的指标, 则留空或不传.
/// </summary>
[JsonProperty("ResourceID")]
public string ResourceID{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "EnvId", this.EnvId);
this.SetParamSimple(map, prefix + "MetricName", this.MetricName);
this.SetParamSimple(map, prefix + "ResourceID", this.ResourceID);
}
}
}

View File

@@ -0,0 +1,57 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeQuotaDataResponse : AbstractModel
{
/// <summary>
/// 指标名
/// </summary>
[JsonProperty("MetricName")]
public string MetricName{ get; set; }
/// <summary>
/// 指标的值
/// </summary>
[JsonProperty("Value")]
public long? Value{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "MetricName", this.MetricName);
this.SetParamSimple(map, prefix + "Value", this.Value);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DestroyEnvRequest : AbstractModel
{
/// <summary>
/// 环境Id
/// </summary>
[JsonProperty("EnvId")]
public string EnvId{ get; set; }
/// <summary>
/// 针对预付费 删除隔离中的环境时要传true 正常环境直接跳过隔离期删除
/// </summary>
[JsonProperty("IsForce")]
public bool? IsForce{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "EnvId", this.EnvId);
this.SetParamSimple(map, prefix + "IsForce", this.IsForce);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DestroyEnvResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DestroyStaticStoreRequest : AbstractModel
{
/// <summary>
/// 环境ID
/// </summary>
[JsonProperty("EnvId")]
public string EnvId{ get; set; }
/// <summary>
/// cdn域名
/// </summary>
[JsonProperty("CdnDomain")]
public string CdnDomain{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "EnvId", this.EnvId);
this.SetParamSimple(map, prefix + "CdnDomain", this.CdnDomain);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DestroyStaticStoreResponse : AbstractModel
{
/// <summary>
/// 条件任务结果(succ/fail)
/// </summary>
[JsonProperty("Result")]
public string Result{ get; set; }
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Result", this.Result);
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,120 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class EndUserInfo : AbstractModel
{
/// <summary>
/// 用户唯一ID
/// </summary>
[JsonProperty("UUId")]
public string UUId{ get; set; }
/// <summary>
/// 微信ID
/// </summary>
[JsonProperty("WXOpenId")]
public string WXOpenId{ get; set; }
/// <summary>
/// qq ID
/// </summary>
[JsonProperty("QQOpenId")]
public string QQOpenId{ get; set; }
/// <summary>
/// 手机号
/// </summary>
[JsonProperty("Phone")]
public string Phone{ get; set; }
/// <summary>
/// 邮箱
/// </summary>
[JsonProperty("Email")]
public string Email{ get; set; }
/// <summary>
/// 昵称
/// </summary>
[JsonProperty("NickName")]
public string NickName{ get; set; }
/// <summary>
/// 性别
/// </summary>
[JsonProperty("Gender")]
public string Gender{ get; set; }
/// <summary>
/// 头像地址
/// </summary>
[JsonProperty("AvatarUrl")]
public string AvatarUrl{ get; set; }
/// <summary>
/// 更新时间
/// </summary>
[JsonProperty("UpdateTime")]
public string UpdateTime{ get; set; }
/// <summary>
/// 创建时间
/// </summary>
[JsonProperty("CreateTime")]
public string CreateTime{ get; set; }
/// <summary>
/// 是否为匿名用户
/// </summary>
[JsonProperty("IsAnonymous")]
public bool? IsAnonymous{ get; set; }
/// <summary>
/// 是否禁用账户
/// </summary>
[JsonProperty("IsDisabled")]
public bool? IsDisabled{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "UUId", this.UUId);
this.SetParamSimple(map, prefix + "WXOpenId", this.WXOpenId);
this.SetParamSimple(map, prefix + "QQOpenId", this.QQOpenId);
this.SetParamSimple(map, prefix + "Phone", this.Phone);
this.SetParamSimple(map, prefix + "Email", this.Email);
this.SetParamSimple(map, prefix + "NickName", this.NickName);
this.SetParamSimple(map, prefix + "Gender", this.Gender);
this.SetParamSimple(map, prefix + "AvatarUrl", this.AvatarUrl);
this.SetParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.SetParamSimple(map, prefix + "IsAnonymous", this.IsAnonymous);
this.SetParamSimple(map, prefix + "IsDisabled", this.IsDisabled);
}
}
}

View File

@@ -0,0 +1,143 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class EnvInfo : AbstractModel
{
/// <summary>
/// 账户下该环境唯一标识
/// </summary>
[JsonProperty("EnvId")]
public string EnvId{ get; set; }
/// <summary>
/// 环境来源。包含以下取值:
/// <li>miniapp微信小程序</li>
/// <li>qcloud :腾讯云</li>
/// </summary>
[JsonProperty("Source")]
public string Source{ get; set; }
/// <summary>
/// 环境别名要以a-z开头不能包含 a-zA-z0-9- 以外的字符
/// </summary>
[JsonProperty("Alias")]
public string Alias{ get; set; }
/// <summary>
/// 创建时间
/// </summary>
[JsonProperty("CreateTime")]
public string CreateTime{ get; set; }
/// <summary>
/// 最后修改时间
/// </summary>
[JsonProperty("UpdateTime")]
public string UpdateTime{ get; set; }
/// <summary>
/// 环境状态。包含以下取值:
/// <li>NORMAL正常可用</li>
/// <li>UNAVAILABLE服务不可用可能是尚未初始化或者初始化过程中</li>
/// </summary>
[JsonProperty("Status")]
public string Status{ get; set; }
/// <summary>
/// 数据库列表
/// </summary>
[JsonProperty("Databases")]
public DatabasesInfo[] Databases{ get; set; }
/// <summary>
/// 存储列表
/// </summary>
[JsonProperty("Storages")]
public StorageInfo[] Storages{ get; set; }
/// <summary>
/// 函数列表
/// </summary>
[JsonProperty("Functions")]
public FunctionInfo[] Functions{ get; set; }
/// <summary>
/// tcb产品套餐ID参考DescribePackages接口的返回值。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("PackageId")]
public string PackageId{ get; set; }
/// <summary>
/// 套餐中文名称参考DescribePackages接口的返回值。
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("PackageName")]
public string PackageName{ get; set; }
/// <summary>
/// 云日志服务列表
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("LogServices")]
public LogServiceInfo[] LogServices{ get; set; }
/// <summary>
/// 静态资源信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("StaticStorages")]
public StaticStorageInfo[] StaticStorages{ get; set; }
/// <summary>
/// 是否到期自动降为免费版
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("IsAutoDegrade")]
public bool? IsAutoDegrade{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "EnvId", this.EnvId);
this.SetParamSimple(map, prefix + "Source", this.Source);
this.SetParamSimple(map, prefix + "Alias", this.Alias);
this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.SetParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamArrayObj(map, prefix + "Databases.", this.Databases);
this.SetParamArrayObj(map, prefix + "Storages.", this.Storages);
this.SetParamArrayObj(map, prefix + "Functions.", this.Functions);
this.SetParamSimple(map, prefix + "PackageId", this.PackageId);
this.SetParamSimple(map, prefix + "PackageName", this.PackageName);
this.SetParamArrayObj(map, prefix + "LogServices.", this.LogServices);
this.SetParamArrayObj(map, prefix + "StaticStorages.", this.StaticStorages);
this.SetParamSimple(map, prefix + "IsAutoDegrade", this.IsAutoDegrade);
}
}
}

View File

@@ -0,0 +1,51 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class FunctionInfo : AbstractModel
{
/// <summary>
/// 命名空间
/// </summary>
[JsonProperty("Namespace")]
public string Namespace{ get; set; }
/// <summary>
/// 所属地域。
/// 当前支持ap-shanghai
/// </summary>
[JsonProperty("Region")]
public string Region{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Namespace", this.Namespace);
this.SetParamSimple(map, prefix + "Region", this.Region);
}
}
}

View File

@@ -0,0 +1,71 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class LogServiceInfo : AbstractModel
{
/// <summary>
/// log名
/// </summary>
[JsonProperty("LogsetName")]
public string LogsetName{ get; set; }
/// <summary>
/// log-id
/// </summary>
[JsonProperty("LogsetId")]
public string LogsetId{ get; set; }
/// <summary>
/// topic名
/// </summary>
[JsonProperty("TopicName")]
public string TopicName{ get; set; }
/// <summary>
/// topic-id
/// </summary>
[JsonProperty("TopicId")]
public string TopicId{ get; set; }
/// <summary>
/// cls日志所属地域
/// </summary>
[JsonProperty("Region")]
public string Region{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "LogsetName", this.LogsetName);
this.SetParamSimple(map, prefix + "LogsetId", this.LogsetId);
this.SetParamSimple(map, prefix + "TopicName", this.TopicName);
this.SetParamSimple(map, prefix + "TopicId", this.TopicId);
this.SetParamSimple(map, prefix + "Region", this.Region);
}
}
}

View File

@@ -0,0 +1,61 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ModifyDatabaseACLRequest : AbstractModel
{
/// <summary>
/// 环境ID
/// </summary>
[JsonProperty("EnvId")]
public string EnvId{ get; set; }
/// <summary>
/// 集合名称
/// </summary>
[JsonProperty("CollectionName")]
public string CollectionName{ get; set; }
/// <summary>
/// 权限标签。包含以下取值:
/// <li> READONLY所有用户可读仅创建者和管理员可写</li>
/// <li> PRIVATE仅创建者及管理员可读写</li>
/// <li> ADMINWRITE所有用户可读仅管理员可写</li>
/// <li> ADMINONLY仅管理员可读写</li>
/// </summary>
[JsonProperty("AclTag")]
public string AclTag{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "EnvId", this.EnvId);
this.SetParamSimple(map, prefix + "CollectionName", this.CollectionName);
this.SetParamSimple(map, prefix + "AclTag", this.AclTag);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ModifyDatabaseACLResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,50 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ModifyEnvRequest : AbstractModel
{
/// <summary>
/// 环境ID
/// </summary>
[JsonProperty("EnvId")]
public string EnvId{ get; set; }
/// <summary>
/// 环境备注名要以a-z开头不能包含 a-zA-z0-9- 以外的字符
/// </summary>
[JsonProperty("Alias")]
public string Alias{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "EnvId", this.EnvId);
this.SetParamSimple(map, prefix + "Alias", this.Alias);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ModifyEnvResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,73 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class PostpayEnvQuota : AbstractModel
{
/// <summary>
/// 资源类型
/// </summary>
[JsonProperty("ResourceType")]
public string ResourceType{ get; set; }
/// <summary>
/// 指标名
/// </summary>
[JsonProperty("MetricName")]
public string MetricName{ get; set; }
/// <summary>
/// 配额值
/// </summary>
[JsonProperty("Value")]
public ulong? Value{ get; set; }
/// <summary>
/// 配额生效时间
/// 为空表示没有时间限制
/// </summary>
[JsonProperty("StartTime")]
public string StartTime{ get; set; }
/// <summary>
/// 配额失效时间
/// 为空表示没有时间限制
/// </summary>
[JsonProperty("EndTime")]
public string EndTime{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "ResourceType", this.ResourceType);
this.SetParamSimple(map, prefix + "MetricName", this.MetricName);
this.SetParamSimple(map, prefix + "Value", this.Value);
this.SetParamSimple(map, prefix + "StartTime", this.StartTime);
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ReinstateEnvRequest : AbstractModel
{
/// <summary>
/// 环境ID
/// </summary>
[JsonProperty("EnvId")]
public string EnvId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "EnvId", this.EnvId);
}
}
}

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ReinstateEnvResponse : AbstractModel
{
/// <summary>
/// 唯一请求 ID每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
/// </summary>
[JsonProperty("RequestId")]
public string RequestId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
}

View File

@@ -0,0 +1,76 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class StaticStorageInfo : AbstractModel
{
/// <summary>
/// 静态CDN域名
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("StaticDomain")]
public string StaticDomain{ get; set; }
/// <summary>
/// 静态CDN默认文件夹当前为根目录
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("DefaultDirName")]
public string DefaultDirName{ get; set; }
/// <summary>
/// 资源状态(process/online/offline/init)
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Status")]
public string Status{ get; set; }
/// <summary>
/// cos所属区域
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Region")]
public string Region{ get; set; }
/// <summary>
/// bucket信息
/// 注意:此字段可能返回 null表示取不到有效值。
/// </summary>
[JsonProperty("Bucket")]
public string Bucket{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "StaticDomain", this.StaticDomain);
this.SetParamSimple(map, prefix + "DefaultDirName", this.DefaultDirName);
this.SetParamSimple(map, prefix + "Status", this.Status);
this.SetParamSimple(map, prefix + "Region", this.Region);
this.SetParamSimple(map, prefix + "Bucket", this.Bucket);
}
}
}

View File

@@ -0,0 +1,65 @@
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.
*/
namespace TencentCloud.Tcb.V20180608.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class StorageInfo : AbstractModel
{
/// <summary>
/// 资源所属地域。
/// 当前支持ap-shanghai
/// </summary>
[JsonProperty("Region")]
public string Region{ get; set; }
/// <summary>
/// 桶名,存储资源的唯一标识
/// </summary>
[JsonProperty("Bucket")]
public string Bucket{ get; set; }
/// <summary>
/// cdn 域名
/// </summary>
[JsonProperty("CdnDomain")]
public string CdnDomain{ get; set; }
/// <summary>
/// 资源所属用户的腾讯云appId
/// </summary>
[JsonProperty("AppId")]
public string AppId{ get; set; }
/// <summary>
/// For internal usage only. DO NOT USE IT.
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "Region", this.Region);
this.SetParamSimple(map, prefix + "Bucket", this.Bucket);
this.SetParamSimple(map, prefix + "CdnDomain", this.CdnDomain);
this.SetParamSimple(map, prefix + "AppId", this.AppId);
}
}
}