-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
PutTagsResource.json
35 lines (35 loc) · 1.05 KB
/
PutTagsResource.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"parameters": {
"scope": "subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/my-resource-group/providers/myPRNameSpace/VM/myVm",
"api-version": "2022-09-01",
"parameters": {
"properties": {
"tags": {
"tagKey1": "tag-value-1",
"tagKey2": "tag-value-2"
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/providers/subscriptions//00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Purview/accounts/testpurview234/providers/Microsoft.Resources/tags/default",
"name": "default",
"type": "Microsoft.Resources/tags",
"properties": {
"tags": {
"tagKey1": "tag-value-1",
"tagKey2": "tag-value-2"
}
}
}
},
"202": {
"description": "Accepted",
"headers": {
"location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/tagsoperationresults/c9bbccf4-e16a-4eb7-befb-2e2e5195c347?api-version=2018-08-01"
}
}
}
}