-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Thomas Soulard
committed
Dec 13, 2021
1 parent
8d2ac93
commit 7e97936
Showing
31 changed files
with
209 additions
and
48 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
namespace Enclave.Sdk.Api.Data.Account; | ||
|
||
/// <summary> | ||
/// The User roles. | ||
/// </summary> | ||
public enum UserOrganisationRole | ||
{ | ||
/// <summary> | ||
/// The owner of the organisation. | ||
/// </summary> | ||
Owner, | ||
|
||
/// <summary> | ||
/// An Admin of the organisaiton. | ||
/// </summary> | ||
Admin, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/Enclave.Sdk/Data/EnrolledSystems/Enum/SystemQuerySortMode.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,27 @@ | ||
namespace Enclave.Sdk.Api.Data.EnrolledSystems.Enum; | ||
|
||
/// <summary> | ||
/// System Query Sort order used when making a System request. | ||
/// </summary> | ||
public enum SystemQuerySortMode | ||
{ | ||
/// <summary> | ||
/// Sort by recently enrolled. | ||
/// </summary> | ||
RecentlyEnrolled, | ||
|
||
/// <summary> | ||
/// Sort by recently connected. | ||
/// </summary> | ||
RecentlyConnected, | ||
|
||
/// <summary> | ||
/// Sort by description. | ||
/// </summary> | ||
Description, | ||
|
||
/// <summary> | ||
/// Sort by enrolment key. | ||
/// </summary> | ||
EnrolmentKeyUsed, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,19 @@ | ||
namespace Enclave.Sdk.Api.Data.EnrolledSystems.Enum; | ||
|
||
/// <summary> | ||
/// Defines the types of Systems. | ||
/// </summary> | ||
public enum SystemType | ||
{ | ||
/// <summary> | ||
/// For workstations, laptops, servers, and other systems that are relatively long-lived or manually provisioned. | ||
/// Systems remain in your Enclave Organisation if they stop running. | ||
/// </summary> | ||
GeneralPurpose, | ||
|
||
/// <summary> | ||
/// For containers, kubernetes pods, and other systems that are temporary, short-lived or automatically provisioned. | ||
/// Systems are automatically removed from your Enclave Organisation when they stop/disconnect. | ||
/// </summary> | ||
Ephemeral, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
namespace Enclave.Sdk.Api.Data.EnrolmentKeys.Enum; | ||
|
||
/// <summary> | ||
/// System Approval Mode. | ||
/// </summary> | ||
public enum ApprovalMode | ||
{ | ||
/// <summary> | ||
/// Automatically approve systems. | ||
/// </summary> | ||
Automatic, | ||
|
||
/// <summary> | ||
/// Manually approve systems. | ||
/// </summary> | ||
Manual, | ||
} |
18 changes: 18 additions & 0 deletions
18
src/Enclave.Sdk/Data/EnrolmentKeys/Enum/EnrolmentKeySortOrder.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,27 @@ | ||
namespace Enclave.Sdk.Api.Data.EnrolmentKeys.Enum; | ||
|
||
/// <summary> | ||
/// Enrolment Key Sort Order used when making an Enrolment Key request. | ||
/// </summary> | ||
public enum EnrolmentKeySortOrder | ||
{ | ||
/// <summary> | ||
/// Sort by Description. | ||
/// </summary> | ||
Description, | ||
|
||
/// <summary> | ||
/// Sort by Last Used. | ||
/// </summary> | ||
LastUsed, | ||
|
||
/// <summary> | ||
/// Sort By Approval Mode. | ||
/// </summary> | ||
ApprovalMode, | ||
|
||
/// <summary> | ||
/// Sort by Uses Remaining. | ||
/// </summary> | ||
UsesRemaining, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,22 @@ | ||
namespace Enclave.Sdk.Api.Data.Logging.Enum; | ||
|
||
/// <summary> | ||
/// Log Error Type. | ||
/// </summary> | ||
public enum ActivityLogLevel | ||
{ | ||
/// <summary> | ||
/// Information log level. | ||
/// </summary> | ||
Information, | ||
|
||
/// <summary> | ||
/// Warning Log. | ||
/// </summary> | ||
Warning, | ||
|
||
/// <summary> | ||
/// Error Log. | ||
/// </summary> | ||
Error, | ||
} |
14 changes: 14 additions & 0 deletions
14
src/Enclave.Sdk/Data/Organisations/Enum/OrganisationPlan.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,22 @@ | ||
namespace Enclave.Sdk.Api.Data.Organisations.Enum; | ||
|
||
/// <summary> | ||
/// An Enum describing the types of plan. | ||
/// </summary> | ||
public enum OrganisationPlan | ||
{ | ||
/// <summary> | ||
/// Starter Organisation Plan. | ||
/// </summary> | ||
Starter = 0, | ||
|
||
/// <summary> | ||
/// Pro Organisaiton Plan. | ||
/// </summary> | ||
Pro = 1, | ||
|
||
/// <summary> | ||
/// Business Organisaiton Plan. | ||
/// </summary> | ||
Business = 2, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
namespace Enclave.Sdk.Api.Data.PatchModel; | ||
|
||
/// <summary> | ||
/// An interface for use with a PatchBuilder. | ||
/// </summary> | ||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1040:Avoid empty interfaces", Justification = "Useful for using PatchBuilder")] | ||
public interface IPatchModel | ||
{ | ||
} |
Oops, something went wrong.