Skip to content

Commit

Permalink
Merge pull request #507 from OctopusDeploy/enh-workerPoolVariable
Browse files Browse the repository at this point in the history
Added WorkerPoolVariable property to DeploymentActionResource
  • Loading branch information
droyad authored Feb 20, 2020
2 parents 4062372 + 6d8ebc5 commit 9e28e35
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2452,6 +2452,7 @@ Octopus.Client.Model
IDictionary<String, PropertyValueResource> Properties { get; }
Octopus.Client.Model.ReferenceCollection TenantTags { get; }
String WorkerPoolId { get; set; }
String WorkerPoolVariable { get; set; }
Octopus.Client.Model.DeploymentActionResource ClearAllConditions()
Octopus.Client.Model.DeploymentActionResource ForChannels(Octopus.Client.Model.ChannelResource[])
Octopus.Client.Model.DeploymentActionResource ForEnvironments(Octopus.Client.Model.EnvironmentResource[])
Expand Down Expand Up @@ -5134,6 +5135,7 @@ Octopus.Client.Model
Certificate = 2
AmazonWebServicesAccount = 3
AzureAccount = 4
WorkerPool = 5
}
class VersioningStrategyResource
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2468,6 +2468,7 @@ Octopus.Client.Model
IDictionary<String, PropertyValueResource> Properties { get; }
Octopus.Client.Model.ReferenceCollection TenantTags { get; }
String WorkerPoolId { get; set; }
String WorkerPoolVariable { get; set; }
Octopus.Client.Model.DeploymentActionResource ClearAllConditions()
Octopus.Client.Model.DeploymentActionResource ForChannels(Octopus.Client.Model.ChannelResource[])
Octopus.Client.Model.DeploymentActionResource ForEnvironments(Octopus.Client.Model.EnvironmentResource[])
Expand Down Expand Up @@ -5158,6 +5159,7 @@ Octopus.Client.Model
Certificate = 2
AmazonWebServicesAccount = 3
AzureAccount = 4
WorkerPool = 5
}
class VersioningStrategyResource
{
Expand Down
1 change: 1 addition & 0 deletions source/Octopus.Client/Model/DeploymentActionResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public class DeploymentActionResource : Resource
public string ActionType { get; set; }
public bool IsDisabled { get; set; }
public string WorkerPoolId { get; set; }
public string WorkerPoolVariable { get; set; }
public bool CanBeUsedForProjectVersioning { get; set; }

/// <summary>
Expand Down
3 changes: 2 additions & 1 deletion source/Octopus.Client/Model/VariableType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ public enum VariableType
Sensitive,
Certificate,
AmazonWebServicesAccount,
AzureAccount
AzureAccount,
WorkerPool
}
}

0 comments on commit 9e28e35

Please sign in to comment.