< Back
Add-AzDoVariableGroupResourceAssignment
Post
NAME Add-AzDoVariableGroupResourceAssignment
SYNOPSIS
Add permission for a specific Azure DevOps libary
SYNTAX
Add-AzDoVariableGroupResourceAssignment [-AzDoConnection <AzDoConnectObject>] [-ApiVersion <String>]
-VariableGroupName <String> -RoleName <String> -UserOrGroupName <String> [-WhatIf] [-Confirm] [<CommonParameters>]
Add-AzDoVariableGroupResourceAssignment [-AzDoConnection <AzDoConnectObject>] [-ApiVersion <String>]
-VariableGroupId <Int32> -RoleName <String> -UserOrGroupName <String> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
The command will add the permissions for the specificed variable group
PARAMETERS
-AzDoConnection <AzDoConnectObject>
Common Parameters
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-ApiVersion <String>
Allows for specifying a specific version of the api to use (default is 5.0)
Required? false
Position? named
Default value $global:AzDoApiVersion
Accept pipeline input? false
Accept wildcard characters? false
-VariableGroupName <String>
The name of the variable group to retrieve
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-VariableGroupId <Int32>
Required? true
Position? named
Default value 0
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-RoleName <String>
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-UserOrGroupName <String>
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
Add-AzDoVariableGroupResourceAssignment -VariableGroupName <variable group name>
RELATED LINKS
https://github.com/ravensorb/Posh-AzureDevOps
SYNOPSIS
Add permission for a specific Azure DevOps libary
SYNTAX
Add-AzDoVariableGroupResourceAssignment [-AzDoConnection <AzDoConnectObject>] [-ApiVersion <String>]
-VariableGroupName <String> -RoleName <String> -UserOrGroupName <String> [-WhatIf] [-Confirm] [<CommonParameters>]
Add-AzDoVariableGroupResourceAssignment [-AzDoConnection <AzDoConnectObject>] [-ApiVersion <String>]
-VariableGroupId <Int32> -RoleName <String> -UserOrGroupName <String> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
The command will add the permissions for the specificed variable group
PARAMETERS
-AzDoConnection <AzDoConnectObject>
Common Parameters
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-ApiVersion <String>
Allows for specifying a specific version of the api to use (default is 5.0)
Required? false
Position? named
Default value $global:AzDoApiVersion
Accept pipeline input? false
Accept wildcard characters? false
-VariableGroupName <String>
The name of the variable group to retrieve
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-VariableGroupId <Int32>
Required? true
Position? named
Default value 0
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-RoleName <String>
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-UserOrGroupName <String>
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
Add-AzDoVariableGroupResourceAssignment -VariableGroupName <variable group name>
RELATED LINKS
https://github.com/ravensorb/Posh-AzureDevOps