Skip to content

Commit 482bb06

Browse files
authored
Update v2/types.json to align with v1/types.json (#12048)
* Update types.json * Update types.json * Update types.json * Update types.json * Update types.json
1 parent 87433cf commit 482bb06

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

specification/common-types/resource-management/v1/types.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
"create",
128128
"update"
129129
],
130-
"description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource."
130+
"description": "The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource."
131131
},
132132
"kind": {
133133
"type": "string",

specification/common-types/resource-management/v2/types.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"paths": {},
88
"definitions": {
99
"Resource": {
10+
"title": "Resource",
1011
"description": "Common fields that are returned in the response for all Azure Resource Manager resources",
1112
"properties": {
1213
"id": {
@@ -29,6 +30,7 @@
2930
},
3031
"AzureEntityResource": {
3132
"x-ms-client-name": "AzureEntityResource",
33+
"title": "Entity Resource",
3234
"description": "The resource model definition for an Azure Resource Manager resource with an etag.",
3335
"properties": {
3436
"etag": {
@@ -44,7 +46,8 @@
4446
]
4547
},
4648
"TrackedResource": {
47-
"description": "The resource model definition for an Azure Resource Manager tracked top level resource",
49+
"title": "Tracked Resource",
50+
"description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'",
4851
"properties": {
4952
"tags": {
5053
"type": "object",
@@ -77,7 +80,8 @@
7780
]
7881
},
7982
"ProxyResource": {
80-
"description": "The resource model definition for an Azure Resource Manager proxy resource. It will have everything other than required location and tags",
83+
"title": "Proxy Resource",
84+
"description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
8185
"allOf": [
8286
{
8387
"$ref": "#/definitions/Resource"
@@ -207,7 +211,7 @@
207211
"capacity": {
208212
"type": "integer",
209213
"format": "int32",
210-
"description": "If the SKU supports scale out/in then the capacity integer indicates the current scaling-factor of the resource. If scale out/in is not possible for the resource this may be omitted."
214+
"description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted."
211215
}
212216
},
213217
"required": [
@@ -332,6 +336,7 @@
332336
"description": "The resource management error additional info."
333337
},
334338
"Operation": {
339+
"title": "REST API Operation",
335340
"description": "Details of a REST API operation, returned from the Resource Provider Operations API",
336341
"type": "object",
337342
"properties": {

0 commit comments

Comments
 (0)