Skip to content

Commit

Permalink
[Bug fix] Remove read-only constraint for management policy, and chan…
Browse files Browse the repository at this point in the history
…ge properties types from integer to number (#6551)

* [Bug fix] Remove read-only constraint for management policy

* [Bug fix] Change daysAfterCreationGreaterThan and daysAfterModificationGreaterThan to float type

* change type to number

* Modify description, remove integer

* Fix existing build errors in Storage swagger
  • Loading branch information
zfchen95 authored and Juliehzl committed Jul 17, 2019
1 parent 39fb386 commit df89eaf
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@
"monitor": "true"
},
"responses": {
"200": {
"body": ""
},
"204": {
"body": ""
}
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@
"type": "Microsoft.Storage/storageAccounts"
}
},
"202": {
"body": ""
}
"202": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@
"monitor": "true"
},
"responses": {
"200": {
"body": ""
},
"204": {
"body": ""
}
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@
"monitor": "true"
},
"responses": {
"200": {
"body": ""
},
"204": {
"body": ""
}
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@
"monitor": "true"
},
"responses": {
"200": {
"body": ""
},
"202": {
"body": ""
}
"200": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2160,7 +2160,6 @@
"properties": {
"$ref": "#/definitions/ManagementPolicyProperties",
"x-ms-client-flatten": true,
"readOnly": true,
"description": "Returns the Storage Account Data Policies Rules."
}
},
Expand Down Expand Up @@ -2317,9 +2316,10 @@
"DateAfterModification": {
"properties": {
"daysAfterModificationGreaterThan": {
"type": "integer",
"type": "number",
"multipleOf": 1.0,
"minimum": 0,
"description": "Integer value indicating the age in days after last modification"
"description": "Value indicating the age in days after last modification"
}
},
"required": [
Expand All @@ -2330,9 +2330,10 @@
"DateAfterCreation": {
"properties": {
"daysAfterCreationGreaterThan": {
"type": "integer",
"type": "number",
"multipleOf": 1.0,
"minimum": 0,
"description": "Integer value indicating the age in days after creation"
"description": "Value indicating the age in days after creation"
}
},
"required": [
Expand Down

0 comments on commit df89eaf

Please sign in to comment.