Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/add variable groups support #170

Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
138 changes: 138 additions & 0 deletions .docs/Add-VSTeamVariableGroup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
<!-- #include "./common/header.md" -->

# Add-VSTeamVariableGroup

## SYNOPSIS
<!-- #include "./synopsis/Add-VSTeamServiceEndpoint.md" -->
DarqueWarrior marked this conversation as resolved.
Show resolved Hide resolved

## SYNTAX

DarqueWarrior marked this conversation as resolved.
Show resolved Hide resolved
```powershell
Add-VSTeamVariableGroup [-variableGroupName] <String> [-variableGroupType] <String>
[-variableGroupDescription] <String> [-variableGroupVariables] <Hashtable>
[[-variableGroupProviderData] <Hashtable>] [-ProjectName] <String> [<CommonParameters>]
```

## DESCRIPTION
<!-- #include "./synopsis/Add-VSTeamServiceEndpoint.md" -->
DarqueWarrior marked this conversation as resolved.
Show resolved Hide resolved

## EXAMPLES
DarqueWarrior marked this conversation as resolved.
Show resolved Hide resolved

## PARAMETERS

### -ProjectName
DarqueWarrior marked this conversation as resolved.
Show resolved Hide resolved
The name of the project.
You can tab complete from the projects in your Team Services or TFS account when passed on the command line.

```yaml
Type: String
Parameter Sets: (All)
DarqueWarrior marked this conversation as resolved.
Show resolved Hide resolved
Aliases:
Accepted values:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```

### -variableGroupDescription
The variable group description

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 3
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```

### -variableGroupName
The variable group name

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```

### -variableGroupProviderData
The variable group ProviderData. This should be $null for Vsts types.

```yaml
Type: Hashtable
Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```

### -variableGroupType
The variable group type

```yaml
Type: String
Parameter Sets: (All)
Aliases:
Accepted values: Vsts, AzureKeyVault

Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```

### -variableGroupVariables
The variable group variables. Please refer to the unit test for examples.

```yaml
Type: Hashtable
Parameter Sets: (All)
Aliases:

Required: True
Position: 4
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

### System.String
System.Collections.Hashtable


## OUTPUTS

### System.Object

## NOTES

## RELATED LINKS

[Update-VSTeamVariableGroup](Update-VSTeamVariableGroup.md)

[Get-VSTeamVariableGroup](Get-VSTeamVariableGroup.md)

[Remove-VSTeamVariableGroup](Remove-VSTeamVariableGroup.md)
81 changes: 81 additions & 0 deletions .docs/Get-VSTeamVariableGroup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
<!-- #include "./common/header.md" -->

# Get-VSTeamVariableGroup

## SYNOPSIS
<!-- #include "./synopsis/Get-VSTeamVariableGroup.md" -->

## SYNTAX

### List (Default)
```powershell
Get-VSTeamVariableGroup [-ProjectName] <String> [<CommonParameters>]
```

### ByID
```powershell
Get-VSTeamVariableGroup -id <String> [-ProjectName] <String> [<CommonParameters>]
```

## DESCRIPTION
<!-- #include "./synopsis/Get-VSTeamVariableGroup.md" -->
## EXAMPLES

### Example 1
DarqueWarrior marked this conversation as resolved.
Show resolved Hide resolved

## PARAMETERS

### -ProjectName
The name of the project.
You can tab complete from the projects in your Team Services or TFS account when passed on the command line.

```yaml
Type: String
Parameter Sets: (All)
Aliases:
Accepted values:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```

### -id
ID of the existing variable group

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

### System.String


## OUTPUTS

### System.Object

## NOTES

## RELATED LINKS

[Add-VSTeamVariableGroup](Add-VSTeamVariableGroup.md)

[Update-VSTeamVariableGroup](Update-VSTeamVariableGroup.md)

[Remove-VSTeamVariableGroup](Remove-VSTeamVariableGroup.md)
121 changes: 121 additions & 0 deletions .docs/Remove-VSTeamVariableGroup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
<!-- #include "./common/header.md" -->

# Remove-VSTeamVariableGroup

## SYNOPSIS
<!-- #include "./synopsis/Remove-VSTeamVariableGroup.md" -->

## SYNTAX

```powershell
Remove-VSTeamVariableGroup [-id] <String[]> [-Force] [-WhatIf] [-Confirm] [-ProjectName] <String>
[<CommonParameters>]
```

## DESCRIPTION
<!-- #include "./synopsis/Remove-VSTeamVariableGroup.md" -->

## EXAMPLES

## PARAMETERS

### -Confirm
Prompts you for confirmation before running the cmdlet.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Force
Does not prompt

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ProjectName
The name of the project.
You can tab complete from the projects in your Team Services or TFS account when passed on the command line.

```yaml
Type: String
Parameter Sets: (All)
Aliases:
Accepted values:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```

### -WhatIf
Shows what would happen if the cmdlet runs.
The cmdlet is not run.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -id
ID of the existing variable group

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

### System.String[]
System.String

## OUTPUTS

### System.Object

## NOTES

## RELATED LINKS

[Add-VSTeamVariableGroup](Add-VSTeamVariableGroup.md)

[Get-VSTeamVariableGroup](Get-VSTeamVariableGroup.md)

[Update-VSTeamVariableGroup](Update-VSTeamVariableGroup.md)
Loading