Skip to content

Commit

Permalink
Use tracked and proxy resource types
Browse files Browse the repository at this point in the history
  • Loading branch information
angosms committed Feb 20, 2020
1 parent 76f4cee commit f7e347d
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -353,30 +353,16 @@
"definitions": {
"Identity": {
"properties": {
"location": {
"type": "string",
"description": "The Azure region where the resource lives."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags"
},
"properties": {
"x-ms-client-flatten": true,
"readOnly": true,
"description": "The properties associated with the identity.",
"$ref": "#/definitions/IdentityProperties"
}
},
"required": [
"location"
],
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource"
}
],
"description": "Describes an identity resource."
Expand All @@ -385,7 +371,23 @@
"properties": {
"location": {
"type": "string",
"description": "The Azure region where the resource lives."
"x-ms-mutability": [
"read",
"create"
],
"description": "The geo-location where the resource lives"
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"x-ms-mutability": [
"read",
"create",
"update"
],
"description": "Resource tags"
},
"properties": {
"x-ms-client-flatten": true,
Expand All @@ -399,7 +401,7 @@
],
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource"
}
],
"description": "Describes a system assigned identity resource."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,30 +353,16 @@
"definitions": {
"Identity": {
"properties": {
"location": {
"type": "string",
"description": "The Azure region where the resource lives."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags"
},
"properties": {
"x-ms-client-flatten": true,
"readOnly": true,
"description": "The properties associated with the identity.",
"$ref": "#/definitions/UserAssignedIdentityProperties"
}
},
"required": [
"location"
],
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource"
}
],
"description": "Describes an identity resource."
Expand All @@ -385,13 +371,22 @@
"properties": {
"location": {
"type": "string",
"description": "The Azure region where the resource lives."
"x-ms-mutability": [
"read",
"create"
],
"description": "The geo-location where the resource lives"
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"x-ms-mutability": [
"read",
"create",
"update"
],
"description": "Resource tags"
},
"properties": {
Expand All @@ -412,7 +407,23 @@
"properties": {
"location": {
"type": "string",
"description": "The Azure region where the resource lives."
"x-ms-mutability": [
"read",
"create"
],
"description": "The geo-location where the resource lives"
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"x-ms-mutability": [
"read",
"create",
"update"
],
"description": "Resource tags"
},
"properties": {
"x-ms-client-flatten": true,
Expand All @@ -426,7 +437,7 @@
],
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource"
}
],
"description": "Describes a system assigned identity resource."
Expand Down

0 comments on commit f7e347d

Please sign in to comment.