Variablegroups - Update
Update a variable group.
PUT https://dev.azure.com/{organization}/_apis/distributedtask/variablegroups/{groupId}?api-version=6.0-preview.2
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
group
|
path | True |
integer int32 |
Id of the variable group to update. |
organization
|
path | True |
string |
The name of the Azure DevOps organization. |
api-version
|
query | True |
string |
Version of the API to use. This should be set to '6.0-preview.2' to use this version of the api. |
Request Body
Name | Type | Description |
---|---|---|
description |
string |
Sets description of the variable group. |
name |
string |
Sets name of the variable group. |
providerData |
Sets provider data. |
|
type |
string |
Sets type of the variable group. |
variableGroupProjectReferences |
A variable group reference is a shallow reference to variable group. |
|
variables |
<string,
Variable |
Sets variables contained in the variable group. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
successful operation |
Security
accessToken
Personal access token. Use any value for the user name and the token as the password.
Type:
basic
Definitions
Name | Description |
---|---|
Identity |
|
Project |
|
Reference |
The class to represent a collection of REST reference links. |
Variable |
A variable group is a collection of related variables. |
Variable |
|
Variable |
A variable group reference is a shallow reference to variable group. |
Variable |
Defines provider data of the variable group. |
Variable |
IdentityRef
Name | Type | Description |
---|---|---|
_links |
This field contains zero or more interesting links about the graph subject. These links may be invoked to obtain additional relationships or more detailed information about this graph subject. |
|
descriptor |
string |
The descriptor is the primary way to reference the graph subject while the system is running. This field will uniquely identify the same graph subject across both Accounts and Organizations. |
directoryAlias |
string |
Deprecated - Can be retrieved by querying the Graph user referenced in the "self" entry of the IdentityRef "_links" dictionary |
displayName |
string |
This is the non-unique display name of the graph subject. To change this field, you must alter its value in the source provider. |
id |
string |
|
imageUrl |
string |
Deprecated - Available in the "avatar" entry of the IdentityRef "_links" dictionary |
inactive |
boolean |
Deprecated - Can be retrieved by querying the Graph membership state referenced in the "membershipState" entry of the GraphUser "_links" dictionary |
isAadIdentity |
boolean |
Deprecated - Can be inferred from the subject type of the descriptor (Descriptor.IsAadUserType/Descriptor.IsAadGroupType) |
isContainer |
boolean |
Deprecated - Can be inferred from the subject type of the descriptor (Descriptor.IsGroupType) |
isDeletedInOrigin |
boolean |
|
profileUrl |
string |
Deprecated - not in use in most preexisting implementations of ToIdentityRef |
uniqueName |
string |
Deprecated - use Domain+PrincipalName instead |
url |
string |
This url is the full route to the source resource of this graph subject. |
ProjectReference
Name | Type | Description |
---|---|---|
id |
string |
|
name |
string |
ReferenceLinks
The class to represent a collection of REST reference links.
Name | Type | Description |
---|---|---|
links |
object |
The readonly view of the links. Because Reference links are readonly, we only want to expose them as read only. |
VariableGroup
A variable group is a collection of related variables.
Name | Type | Description |
---|---|---|
createdBy |
Gets or sets the identity who created the variable group. |
|
createdOn |
string |
Gets or sets the time when variable group was created. |
description |
string |
Gets or sets description of the variable group. |
id |
integer |
Gets or sets id of the variable group. |
isShared |
boolean |
Indicates whether variable group is shared with other projects or not. |
modifiedBy |
Gets or sets the identity who modified the variable group. |
|
modifiedOn |
string |
Gets or sets the time when variable group was modified |
name |
string |
Gets or sets name of the variable group. |
providerData |
Gets or sets provider data. |
|
type |
string |
Gets or sets type of the variable group. |
variableGroupProjectReferences |
all project references where the variable group is shared with other projects. |
|
variables |
<string,
Variable |
Gets or sets variables contained in the variable group. |
VariableGroupParameters
Name | Type | Description |
---|---|---|
description |
string |
Sets description of the variable group. |
name |
string |
Sets name of the variable group. |
providerData |
Sets provider data. |
|
type |
string |
Sets type of the variable group. |
variableGroupProjectReferences |
A variable group reference is a shallow reference to variable group. |
|
variables |
<string,
Variable |
Sets variables contained in the variable group. |
VariableGroupProjectReference
A variable group reference is a shallow reference to variable group.
Name | Type | Description |
---|---|---|
description |
string |
Gets or sets description of the variable group. |
name |
string |
Gets or sets name of the variable group. |
projectReference |
Gets or sets project reference of the variable group. |
VariableGroupProviderData
Defines provider data of the variable group.
VariableValue
Name | Type | Description |
---|---|---|
isReadOnly |
boolean |
|
isSecret |
boolean |
|
value |
string |