Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.Media to add version sta…
Browse files Browse the repository at this point in the history
…ble/2020-05-01 (#12681)

* update to new swaggers

* fix some validation issues

* change ErrorResponse to types.json for test

* Add systemData to other entities

* Fix encoding json to not use errorResponse test

* fix validation error

* updating examples with latest fixes

* fixing a few validation errors

* fix validation errors

* Fix validation error.

* fix int max len issue
  • Loading branch information
giakas authored Feb 10, 2021
1 parent 24c565d commit 88406f2
Show file tree
Hide file tree
Showing 27 changed files with 1,052 additions and 77 deletions.
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1735,6 +1735,7 @@ subtasksinfo
subteam
subtree
subtrees
subwoofer
subword
subwords
sudoer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,11 @@
"properties": {
"$ref": "#/definitions/MediaFilterProperties",
"x-ms-client-flatten": true
},
"systemData": {
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource.",
"readOnly": true
}
},
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,35 @@
"readOnly": true,
"x-nullable": false
},
"lockAggregationType": {
"type": "string",
"enum": [
"Average",
"Count",
"Total"
],
"x-ms-enum": {
"name": "MetricAggregationType",
"values": [
{
"value": "Average",
"description": "The average."
},
{
"value": "Count",
"description": "The count of a number of items, usually requests."
},
{
"value": "Total",
"description": "The sum."
}
],
"modelAsString": true
},
"description": "The metric lock aggregation type",
"readOnly": true,
"x-nullable": true
},
"supportedAggregationTypes": {
"type": "array",
"items": {
Expand Down Expand Up @@ -396,6 +425,11 @@
"identity": {
"$ref": "#/definitions/MediaServiceIdentity",
"description": "The Managed Identity for the Media Services account."
},
"systemData": {
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource.",
"readOnly": true
}
},
"type": "object"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,11 @@
"$ref": "#/definitions/AssetProperties",
"description": "The resource properties.",
"x-ms-client-flatten": true
},
"systemData": {
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource.",
"readOnly": true
}
},
"type": "object",
Expand Down Expand Up @@ -406,6 +411,11 @@
"properties": {
"$ref": "#/definitions/MediaFilterProperties",
"x-ms-client-flatten": true
},
"systemData": {
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource.",
"readOnly": true
}
},
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,11 @@
"properties": {
"$ref": "#/definitions/ContentKeyPolicyProperties",
"x-ms-client-flatten": true
},
"systemData": {
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData",
"description": "The system metadata relating to this resource.",
"readOnly": true
}
},
"type": "object",
Expand Down
Loading

0 comments on commit 88406f2

Please sign in to comment.