初始化
This commit is contained in:
49
Aliyun.Api.LogService/Domain/Project/CreateProjectRequest.cs
Normal file
49
Aliyun.Api.LogService/Domain/Project/CreateProjectRequest.cs
Normal file
@@ -0,0 +1,49 @@
|
||||
//
|
||||
// CreateProjectRequest.cs
|
||||
//
|
||||
// Author:
|
||||
// MiNG <developer@ming.gz.cn>
|
||||
//
|
||||
// Copyright (c) 2018 Alibaba Cloud
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files (the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included in
|
||||
// all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
using System;
|
||||
|
||||
namespace Aliyun.Api.LogService.Domain.Project
|
||||
{
|
||||
public class CreateProjectRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// project的名称,全局唯一。
|
||||
/// </summary>
|
||||
public String ProjectName { get; }
|
||||
|
||||
/// <summary>
|
||||
/// project描述。
|
||||
/// </summary>
|
||||
public String ProjectDesc { get; }
|
||||
|
||||
public CreateProjectRequest(String projectName, String projectDesc)
|
||||
{
|
||||
this.ProjectName = projectName;
|
||||
this.ProjectDesc = projectDesc;
|
||||
}
|
||||
}
|
||||
}
|
||||
32
Aliyun.Api.LogService/Domain/Project/DeleteProjectRequest.cs
Normal file
32
Aliyun.Api.LogService/Domain/Project/DeleteProjectRequest.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
//
|
||||
// DeleteProjectRequest.cs
|
||||
//
|
||||
// Author:
|
||||
// MiNG <developer@ming.gz.cn>
|
||||
//
|
||||
// Copyright (c) 2018 Alibaba Cloud
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files (the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included in
|
||||
// all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
namespace Aliyun.Api.LogService.Domain.Project
|
||||
{
|
||||
public class DeleteProjectRequest : ProjectScopedRequest
|
||||
{
|
||||
}
|
||||
}
|
||||
32
Aliyun.Api.LogService/Domain/Project/GetProjectRequest.cs
Normal file
32
Aliyun.Api.LogService/Domain/Project/GetProjectRequest.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
//
|
||||
// GetProjectRequest.cs
|
||||
//
|
||||
// Author:
|
||||
// MiNG <developer@ming.gz.cn>
|
||||
//
|
||||
// Copyright (c) 2018 Alibaba Cloud
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files (the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included in
|
||||
// all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
namespace Aliyun.Api.LogService.Domain.Project
|
||||
{
|
||||
public class GetProjectRequest : ProjectScopedRequest
|
||||
{
|
||||
}
|
||||
}
|
||||
41
Aliyun.Api.LogService/Domain/Project/GetProjectResult.cs
Normal file
41
Aliyun.Api.LogService/Domain/Project/GetProjectResult.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
//
|
||||
// GetProjectResult.cs
|
||||
//
|
||||
// Author:
|
||||
// MiNG <developer@ming.gz.cn>
|
||||
//
|
||||
// Copyright (c) 2018 Alibaba Cloud
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files (the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included in
|
||||
// all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
namespace Aliyun.Api.LogService.Domain.Project
|
||||
{
|
||||
public class GetProjectResult
|
||||
{
|
||||
/// <summary>
|
||||
/// Project信息。
|
||||
/// </summary>
|
||||
public ProjectDetailInfo Project { get; }
|
||||
|
||||
public GetProjectResult(ProjectDetailInfo project)
|
||||
{
|
||||
this.Project = project;
|
||||
}
|
||||
}
|
||||
}
|
||||
51
Aliyun.Api.LogService/Domain/Project/ListProjectRequest.cs
Normal file
51
Aliyun.Api.LogService/Domain/Project/ListProjectRequest.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
//
|
||||
// ListProjectRequest.cs
|
||||
//
|
||||
// Author:
|
||||
// MiNG <developer@ming.gz.cn>
|
||||
//
|
||||
// Copyright (c) 2018 Alibaba Cloud
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files (the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included in
|
||||
// all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
using System;
|
||||
|
||||
namespace Aliyun.Api.LogService.Domain.Project
|
||||
{
|
||||
public class ListProjectRequest
|
||||
{
|
||||
public const Int32 DefaultOffset = 0;
|
||||
public const Int32 DefaultSize = 500;
|
||||
|
||||
/// <summary>
|
||||
/// 请求结果的起始位置,默认为0。
|
||||
/// </summary>
|
||||
public Int32 Offset { get; set; } = DefaultOffset;
|
||||
|
||||
/// <summary>
|
||||
/// 每次请求返回结果最大数量,默认500(最大值)。
|
||||
/// </summary>
|
||||
public Int32 Size { get; set; } = DefaultSize;
|
||||
|
||||
/// <summary>
|
||||
/// 用于过滤返回结果的project名称(支持部分匹配)。
|
||||
/// </summary>
|
||||
public String ProjectName { get; set; }
|
||||
}
|
||||
}
|
||||
56
Aliyun.Api.LogService/Domain/Project/ListProjectResult.cs
Normal file
56
Aliyun.Api.LogService/Domain/Project/ListProjectResult.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
//
|
||||
// ListProjectResult.cs
|
||||
//
|
||||
// Author:
|
||||
// MiNG <developer@ming.gz.cn>
|
||||
//
|
||||
// Copyright (c) 2018 Alibaba Cloud
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files (the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included in
|
||||
// all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Aliyun.Api.LogService.Domain.Project
|
||||
{
|
||||
public class ListProjectResult
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回project数量。
|
||||
/// </summary>
|
||||
public Int32 Count { get; }
|
||||
|
||||
/// <summary>
|
||||
/// project总数。
|
||||
/// </summary>
|
||||
public Int32 Total { get; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回的project属性列表。
|
||||
/// </summary>
|
||||
public IList<ProjectInfo> Projects { get; }
|
||||
|
||||
public ListProjectResult(Int32 count, Int32 total, IList<ProjectInfo> projects)
|
||||
{
|
||||
this.Count = count;
|
||||
this.Total = total;
|
||||
this.Projects = projects;
|
||||
}
|
||||
}
|
||||
}
|
||||
62
Aliyun.Api.LogService/Domain/Project/ProjectDetailInfo.cs
Normal file
62
Aliyun.Api.LogService/Domain/Project/ProjectDetailInfo.cs
Normal file
@@ -0,0 +1,62 @@
|
||||
//
|
||||
// ProjectDetailInfo.cs
|
||||
//
|
||||
// Author:
|
||||
// MiNG <developer@ming.gz.cn>
|
||||
//
|
||||
// Copyright (c) 2018 Alibaba Cloud
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files (the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included in
|
||||
// all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
using System;
|
||||
|
||||
namespace Aliyun.Api.LogService.Domain.Project
|
||||
{
|
||||
public class ProjectDetailInfo : ProjectInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Project所在区域。
|
||||
/// </summary>
|
||||
public String Region { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Project的所有者。
|
||||
/// </summary>
|
||||
public String Owner { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Project创建时间。
|
||||
/// </summary>
|
||||
public String CreateTime { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Project最后修改时间。
|
||||
/// </summary>
|
||||
public String LastModifyTime { get; }
|
||||
|
||||
public ProjectDetailInfo(String projectName, ProjectState status, String description, String region, String owner, String createTime, String lastModifyTime)
|
||||
: base(projectName, status, description)
|
||||
{
|
||||
this.Region = region;
|
||||
this.Owner = owner;
|
||||
this.CreateTime = createTime;
|
||||
this.LastModifyTime = lastModifyTime;
|
||||
}
|
||||
}
|
||||
}
|
||||
55
Aliyun.Api.LogService/Domain/Project/ProjectInfo.cs
Normal file
55
Aliyun.Api.LogService/Domain/Project/ProjectInfo.cs
Normal file
@@ -0,0 +1,55 @@
|
||||
//
|
||||
// ProjectInfo.cs
|
||||
//
|
||||
// Author:
|
||||
// MiNG <developer@ming.gz.cn>
|
||||
//
|
||||
// Copyright (c) 2018 Alibaba Cloud
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files (the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included in
|
||||
// all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
using System;
|
||||
|
||||
namespace Aliyun.Api.LogService.Domain.Project
|
||||
{
|
||||
public class ProjectInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// project名称。
|
||||
/// </summary>
|
||||
public String ProjectName { get; }
|
||||
|
||||
/// <summary>
|
||||
/// project状态,分为"Normal"(正常)和"Disable"(欠费停用)。
|
||||
/// </summary>
|
||||
public ProjectState Status { get; }
|
||||
|
||||
/// <summary>
|
||||
/// project描述。
|
||||
/// </summary>
|
||||
public String Description { get; }
|
||||
|
||||
public ProjectInfo(String projectName, ProjectState status, String description)
|
||||
{
|
||||
this.ProjectName = projectName;
|
||||
this.Status = status;
|
||||
this.Description = description;
|
||||
}
|
||||
}
|
||||
}
|
||||
43
Aliyun.Api.LogService/Domain/Project/ProjectScopedRequest.cs
Normal file
43
Aliyun.Api.LogService/Domain/Project/ProjectScopedRequest.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
//
|
||||
// LogServiceClientBuilders.cs
|
||||
//
|
||||
// Author:
|
||||
// MiNG <developer@ming.gz.cn>
|
||||
//
|
||||
// Copyright (c) 2018 Alibaba Cloud
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files (the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included in
|
||||
// all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
using System;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Aliyun.Api.LogService.Domain.Project
|
||||
{
|
||||
/// <summary>
|
||||
/// 限定在指定Project内的请求,可带有 <see cref="ProjectName"/> 属性,覆盖 <see cref="ILogServiceClient"/> 中默认的 Project。
|
||||
/// </summary>
|
||||
public abstract class ProjectScopedRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// 覆盖 <see cref="ILogServiceClient"/> 中默认的 Project。
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public String ProjectName { get; set; }
|
||||
}
|
||||
}
|
||||
41
Aliyun.Api.LogService/Domain/Project/ProjectState.cs
Normal file
41
Aliyun.Api.LogService/Domain/Project/ProjectState.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
//
|
||||
// ProjectState.cs
|
||||
//
|
||||
// Author:
|
||||
// MiNG <developer@ming.gz.cn>
|
||||
//
|
||||
// Copyright (c) 2018 Alibaba Cloud
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files (the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included in
|
||||
// all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
|
||||
namespace Aliyun.Api.LogService.Domain.Project
|
||||
{
|
||||
public enum ProjectState
|
||||
{
|
||||
/// <summary>
|
||||
/// 正常。
|
||||
/// </summary>
|
||||
Normal,
|
||||
|
||||
/// <summary>
|
||||
/// 欠费停用。
|
||||
/// </summary>
|
||||
Disable,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user