Skip to content

Commit

Permalink
Updates advisor.Json to improve Documentation for Suppressions_Get op…
Browse files Browse the repository at this point in the history
…eration
  • Loading branch information
Yen-Chun Chang committed Oct 29, 2020
1 parent c9f1cc8 commit 7b8814e
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,12 @@
"schema": {
"$ref": "#/definitions/SuppressionContract"
}
},
"404": {
"description": "Suppression name is not specified or Suppression Id not found.",
"schema": {
"$ref": "#/definitions/ARMErrorResponseBody"
}
}
},
"deprecated": false,
Expand Down Expand Up @@ -1189,6 +1195,12 @@
"ttl": {
"description": "The duration for which the suppression is valid.",
"type": "string"
},
"expirationTimeStamp": {
"readOnly": true,
"format": "date-time",
"description": "Gets or sets the expiration time stamp.",
"type": "string"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,16 @@
"type": "Microsoft.Advisor/suppressions",
"properties": {
"suppressionId": "suppressionId1",
"ttl": "7.00:00:00"
"ttl": "7.00:00:00",
"expirationTimeStamp": "2020-10-25T22:24:43.3216408Z"
}
}
},
"404": {
"body": {
"code": "NotFound",
"message": "Suppression name is not specified or Suppression Id not found"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"type": "Microsoft.Advisor/suppressions",
"properties": {
"suppressionId": "suppressionId1",
"ttl": "7.00:00:00"
"ttl": "7.00:00:00",
"expirationTimeStamp": "2020-10-24T22:24:43.3216408Z"
}
},
{
Expand All @@ -23,7 +24,8 @@
"type": "Microsoft.Advisor/suppressions",
"properties": {
"suppressionId": "suppressionId2",
"ttl": "7.00:00:00"
"ttl": "7.00:00:00",
"expirationTimeStamp": "2020-10-25T22:24:43.3216408Z"
}
}
]
Expand Down

0 comments on commit 7b8814e

Please sign in to comment.