-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable & Enable agents in pool (#72)
* added method to enable and disable agents in pool + unit tests * added docs * Updated parameter types for agent functions. * Surfacing enabled on the Agent class. * Surfacing enabled on the Agent class.
- Loading branch information
1 parent
eb9f93c
commit 391931b
Showing
17 changed files
with
418 additions
and
22 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<!-- #include "./common/header.md" --> | ||
|
||
# Disable-VSTeamAgent | ||
|
||
## SYNOPSIS | ||
|
||
<!-- #include "./synopsis/Disable-VSTeamAgent.md" --> | ||
|
||
## SYNTAX | ||
|
||
## DESCRIPTION | ||
|
||
<!-- #include "./synopsis/Disable-VSTeamAgent.md" --> | ||
|
||
## EXAMPLES | ||
|
||
## PARAMETERS | ||
|
||
### -PoolId | ||
|
||
Id of the pool. | ||
|
||
```yaml | ||
Type: int | ||
Required: True | ||
Accept pipeline input: true (ByValue) | ||
``` | ||
### -Id | ||
Id of the agent to disable. | ||
```yaml | ||
Type: int[] | ||
Aliases: AgentID | ||
Required: True | ||
Accept pipeline input: true (ByPropertyName) | ||
``` | ||
## INPUTS | ||
### System.String | ||
## OUTPUTS | ||
## NOTES | ||
## RELATED LINKS |
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<!-- #include "./common/header.md" --> | ||
|
||
# Enable-VSTeamAgent | ||
|
||
## SYNOPSIS | ||
|
||
<!-- #include "./synopsis/Enable-VSTeamAgent.md" --> | ||
|
||
## SYNTAX | ||
|
||
## DESCRIPTION | ||
|
||
<!-- #include "./synopsis/Enable-VSTeamAgent.md" --> | ||
|
||
## EXAMPLES | ||
|
||
## PARAMETERS | ||
|
||
### -PoolId | ||
|
||
Id of the pool. | ||
|
||
```yaml | ||
Type: int | ||
Required: True | ||
Accept pipeline input: true (ByValue) | ||
``` | ||
### -Id | ||
Id of the agent to enable. | ||
```yaml | ||
Type: int[] | ||
Aliases: AgentID | ||
Required: True | ||
Accept pipeline input: true (ByPropertyName) | ||
``` | ||
## INPUTS | ||
### System.String | ||
## OUTPUTS | ||
## NOTES | ||
## RELATED LINKS |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Disables an agent in a pool. |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Enables an agent in a pool. |
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
Oops, something went wrong.