Skip to content

Commit 63312d0

Browse files
authored
Updating Microsoft.Security\Pricing API Documentation (#19439)
* Updating Microsoft.Security\Pricing API Documentation * Adding items property to replacedBy
1 parent 2feaf7f commit 63312d0

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

specification/security/resource-manager/Microsoft.Security/stable/2022-03-01/examples/Pricings/ListPricings_example.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,11 @@
5959
"type": "Microsoft.Security/pricings",
6060
"properties": {
6161
"pricingTier": "Free",
62-
"freeTrialRemainingTime": "PT0S"
62+
"freeTrialRemainingTime": "PT0S",
63+
"deprecated": true,
64+
"replacedBy": [
65+
"Containers"
66+
]
6367
}
6468
},
6569
{
@@ -68,7 +72,11 @@
6872
"type": "Microsoft.Security/pricings",
6973
"properties": {
7074
"pricingTier": "Free",
71-
"freeTrialRemainingTime": "PT0S"
75+
"freeTrialRemainingTime": "PT0S",
76+
"deprecated": true,
77+
"replacedBy": [
78+
"Containers"
79+
]
7280
}
7381
},
7482
{

specification/security/resource-manager/Microsoft.Security/stable/2022-03-01/pricings.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,19 @@
217217
"format": "duration",
218218
"readOnly": true,
219219
"description": "The duration left for the subscriptions free trial period - in ISO 8601 format (e.g. P3Y6M4DT12H30M5S)."
220+
},
221+
"deprecated": {
222+
"type": "boolean",
223+
"readOnly": true,
224+
"description": "Optional. True if the plan is deprecated. If there are replacing plans they will appear in `replacedBy` property"
225+
},
226+
"replacedBy": {
227+
"type": "array",
228+
"items": {
229+
"type": "string"
230+
},
231+
"readOnly": true,
232+
"description": "Optional. List of plans that replace this plan. This property exists only if this plan is deprecated."
220233
}
221234
},
222235
"required": [

0 commit comments

Comments
 (0)