Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
namespace Microsoft.SelfService.Portal.Core.API.Dto.DeploymentComposition.Add
|
||||
{
|
||||
public class AddDeploymentParameterValueDto
|
||||
{
|
||||
public Guid? DeploymentTemplateSelectionId { get; set; }
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string ValueJson { get; set; } = "{}";
|
||||
public bool IsSecretReference { get; set; }
|
||||
public bool IsOverride { get; set; } = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace Microsoft.SelfService.Portal.Core.API.Dto.DeploymentComposition.Add
|
||||
{
|
||||
public class AddDeploymentTargetAssignmentDto
|
||||
{
|
||||
public Guid TargetId { get; set; }
|
||||
public string RoleKey { get; set; } = "Node";
|
||||
public int SortOrder { get; set; }
|
||||
public string NodeDataJson { get; set; } = "{}";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace Microsoft.SelfService.Portal.Core.API.Dto.DeploymentComposition.Add
|
||||
{
|
||||
public class AddDeploymentTemplateSelectionDto
|
||||
{
|
||||
public Guid TemplateVersionId { get; set; }
|
||||
public string TemplateRole { get; set; } = "Service";
|
||||
public int SortOrder { get; set; }
|
||||
public string? Alias { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user