Skip to content

Commit

Permalink
Update Resources.json (Azure#16996)
Browse files Browse the repository at this point in the history
* Update Resources.json

* Specify additionalProperties type
  • Loading branch information
JoshLove-msft authored and LeiWang3 committed Mar 31, 2022
1 parent e2357d2 commit 99e557f
Showing 1 changed file with 96 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,22 @@
},
"authorization": {
"description": "The requested authorization for the operation.",
"type": "string"
"$ref": "#/definitions/ResourceAuthorization"
},
"claims": {
"description": "The properties of the claims.",
"type": "string"
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"correlationId": {
"description": "An operation ID used for troubleshooting.",
"type": "string"
},
"httpRequest": {
"description": "The details of the operation.",
"type": "string"
"$ref": "#/definitions/ResourceHttpRequest"
}
}
},
Expand Down Expand Up @@ -91,19 +94,22 @@
},
"authorization": {
"description": "The requested authorization for the operation.",
"type": "string"
"$ref": "#/definitions/ResourceAuthorization"
},
"claims": {
"description": "The properties of the claims.",
"type": "string"
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"correlationId": {
"description": "An operation ID used for troubleshooting.",
"type": "string"
},
"httpRequest": {
"description": "The details of the operation.",
"type": "string"
"$ref": "#/definitions/ResourceHttpRequest"
}
}
},
Expand Down Expand Up @@ -141,19 +147,22 @@
},
"authorization": {
"description": "The requested authorization for the operation.",
"type": "string"
"$ref": "#/definitions/ResourceAuthorization"
},
"claims": {
"description": "The properties of the claims.",
"type": "string"
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"correlationId": {
"description": "An operation ID used for troubleshooting.",
"type": "string"
},
"httpRequest": {
"description": "The details of the operation.",
"type": "string"
"$ref": "#/definitions/ResourceHttpRequest"
}
}
},
Expand Down Expand Up @@ -191,19 +200,22 @@
},
"authorization": {
"description": "The requested authorization for the operation.",
"type": "string"
"$ref": "#/definitions/ResourceAuthorization"
},
"claims": {
"description": "The properties of the claims.",
"type": "string"
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"correlationId": {
"description": "An operation ID used for troubleshooting.",
"type": "string"
},
"httpRequest": {
"description": "The details of the operation.",
"type": "string"
"$ref": "#/definitions/ResourceHttpRequest"
}
}
},
Expand Down Expand Up @@ -241,19 +253,22 @@
},
"authorization": {
"description": "The requested authorization for the operation.",
"type": "string"
"$ref": "#/definitions/ResourceAuthorization"
},
"claims": {
"description": "The properties of the claims.",
"type": "string"
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"correlationId": {
"description": "An operation ID used for troubleshooting.",
"type": "string"
},
"httpRequest": {
"description": "The details of the operation.",
"type": "string"
"$ref": "#/definitions/ResourceHttpRequest"
}
}
},
Expand Down Expand Up @@ -291,19 +306,22 @@
},
"authorization": {
"description": "The requested authorization for the operation.",
"type": "string"
"$ref": "#/definitions/ResourceAuthorization"
},
"claims": {
"description": "The properties of the claims.",
"type": "string"
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"correlationId": {
"description": "An operation ID used for troubleshooting.",
"type": "string"
},
"httpRequest": {
"description": "The details of the operation.",
"type": "string"
"$ref": "#/definitions/ResourceHttpRequest"
}
}
},
Expand Down Expand Up @@ -341,19 +359,22 @@
},
"authorization": {
"description": "The requested authorization for the operation.",
"type": "string"
"$ref": "#/definitions/ResourceAuthorization"
},
"claims": {
"description": "The properties of the claims.",
"type": "string"
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"correlationId": {
"description": "An operation ID used for troubleshooting.",
"type": "string"
},
"httpRequest": {
"description": "The details of the operation.",
"type": "string"
"$ref": "#/definitions/ResourceHttpRequest"
}
}
},
Expand Down Expand Up @@ -391,19 +412,22 @@
},
"authorization": {
"description": "The requested authorization for the operation.",
"type": "string"
"$ref": "#/definitions/ResourceAuthorization"
},
"claims": {
"description": "The properties of the claims.",
"type": "string"
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"correlationId": {
"description": "An operation ID used for troubleshooting.",
"type": "string"
},
"httpRequest": {
"description": "The details of the operation.",
"type": "string"
"$ref": "#/definitions/ResourceHttpRequest"
}
}
},
Expand Down Expand Up @@ -441,19 +465,65 @@
},
"authorization": {
"description": "The requested authorization for the operation.",
"type": "string"
"$ref": "#/definitions/ResourceAuthorization"
},
"claims": {
"description": "The properties of the claims.",
"type": "string"
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"correlationId": {
"description": "An operation ID used for troubleshooting.",
"type": "string"
},
"httpRequest": {
"description": "The details of the operation.",
"$ref": "#/definitions/ResourceHttpRequest"
}
}
},
"ResourceHttpRequest": {
"description": "The details of the HTTP request.",
"type": "object",
"properties": {
"clientRequestId": {
"description": "The client request ID.",
"type": "string"
},
"clientIpAddress": {
"description": "The client IP address.",
"type": "string"
},
"method": {
"description": "The request method.",
"type": "string"
},
"url": {
"description": "The url used in the request.",
"type": "string"
}
}
},
"ResourceAuthorization": {
"description": "The details of the authorization for the resource.",
"type": "object",
"properties": {
"scope": {
"description": "The scope of the authorization.",
"type": "string"
},
"action": {
"description": "The action being requested.",
"type": "string"
},
"evidence": {
"description": "The evidence for the authorization.",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
Expand Down

0 comments on commit 99e557f

Please sign in to comment.