Skip to content

Commit

Permalink
Include Tags in GetSubscription and Deployment APIs (Azure#8268)
Browse files Browse the repository at this point in the history
* changes to get subscription

* tags for deployments

* fixes from another fork

* added extension
  • Loading branch information
ramoka178 authored and 00Kai0 committed Oct 12, 2020
1 parent bdf9972 commit 29cd182
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
},
"parameters": {},
"mode": "Incremental"
},
"tags": {
"tagKey1": "tagValue1",
"tagKey2": "tagValue2"
}
}
},
Expand Down Expand Up @@ -72,6 +76,10 @@
"resourceName": "location-lock"
}
]
},
"tags": {
"tagKey1": "tagValue1",
"tagKey2": "tagValue2"
}
}
},
Expand Down Expand Up @@ -132,6 +140,10 @@
"resourceName": "location-lock"
}
]
},
"tags": {
"tagKey1": "tagValue1",
"tagKey2": "tagValue2"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
},
"parameters": {},
"mode": "Incremental"
},
"tags": {
"tagKey1": "tagValue1",
"tagKey2": "tagValue2"
}
}
},
Expand Down Expand Up @@ -71,6 +75,10 @@
"resourceName": "location-lock"
}
]
},
"tags": {
"tagKey1": "tagValue1",
"tagKey2": "tagValue2"
}
}
},
Expand Down Expand Up @@ -131,6 +139,10 @@
"resourceName": "location-lock"
}
]
},
"tags": {
"tagKey1": "tagValue1",
"tagKey2": "tagValue2"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4291,6 +4291,13 @@
"properties": {
"$ref": "#/definitions/DeploymentProperties",
"description": "The deployment properties."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Deployment tags"
}
},
"required": [
Expand All @@ -4307,6 +4314,13 @@
"properties": {
"$ref": "#/definitions/DeploymentProperties",
"description": "The deployment properties."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Deployment tags"
}
},
"required": [
Expand Down Expand Up @@ -4735,6 +4749,13 @@
"properties": {
"$ref": "#/definitions/DeploymentPropertiesExtended",
"description": "Deployment properties."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Deployment tags"
}
},
"x-ms-azure-resource": true,
Expand Down Expand Up @@ -5139,6 +5160,7 @@
"description": "The list of tag values."
}
},
"x-ms-azure-resource": true,
"description": "Tag details."
},
"TagsListResult": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
{
"tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7"
}
]
],
"tags": {
"tagKey1": "tagValue1",
"tagKey2": "tagValue2"
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
{
"tenantId": "8f70baf1-1f6e-46a2-a1ff-238dac1ebfb7"
}
]
],
"tags": {
"tagKey1": "tagValue1",
"tagKey2": "tagValue2"
}
},
{
"id": "/subscriptions/72ac930a-f34e-42d8-b06d-dc2a9e12ed71",
Expand All @@ -43,7 +47,11 @@
{
"tenantId": "f7fb6af2-321d-47c8-9c0f-b0239eaad39a"
}
]
],
"tags": {
"tagKey1": "tagValue1",
"tagKey2": "tagValue2"
}
}
],
"nextLink": "..."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,14 @@
"$ref": "#/definitions/ManagedByTenant"
},
"description": "An array containing the tenants managing the subscription."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string",
"description": "The additional properties. "
},
"description": "The tags attached to the subscription."
}
},
"description": "Subscription information."
Expand Down

0 comments on commit 29cd182

Please sign in to comment.