Optional
contextContext value of the resource group. This can be used to contribute resource group specific actions.
For example, if a resource group is given a context value of exportable
, when contributing actions to scm/resourceGroup/context
using menus
extension point, you can specify context value for key scmResourceGroupState
in when
expressions, like scmResourceGroupState == exportable
.
"contributes": {
"menus": {
"scm/resourceGroup/context": [
{
"command": "extension.export",
"when": "scmResourceGroupState == exportable"
}
]
}
}
This will show action extension.export
only for resource groups with contextValue
equal to exportable
.
Optional
hideWhether this source control resource group is hidden when it contains no source control resource states.
Readonly
idThe id of this source control resource group.
The label of this source control resource group.
This group's collection of source control resource states.
A source control resource group is a collection of source control resource states.