From 3a86fd325174f2cd17d6b853623f2212ab4b5bd2 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Thu, 10 Sep 2020 22:10:23 +0000 Subject: [PATCH] Generated from 8ec77545b6ecc5eff1923334b1129ef7ce75021a --- schemas/2017-08-15/Microsoft.NetApp.json | 2 +- schemas/2019-05-01/Microsoft.NetApp.json | 2 +- schemas/2019-06-01/Microsoft.NetApp.json | 2 +- schemas/2019-07-01/Microsoft.NetApp.json | 2 +- schemas/2019-08-01/Microsoft.NetApp.json | 2 +- schemas/2019-10-01/Microsoft.NetApp.json | 2 +- schemas/2019-11-01/Microsoft.NetApp.json | 2 +- schemas/2020-02-01/Microsoft.NetApp.json | 2 +- schemas/2020-06-01/Microsoft.NetApp.json | 247 +++++++++++++++++++++-- 9 files changed, 242 insertions(+), 21 deletions(-) diff --git a/schemas/2017-08-15/Microsoft.NetApp.json b/schemas/2017-08-15/Microsoft.NetApp.json index 7968061a1c..14fccbaa4b 100644 --- a/schemas/2017-08-15/Microsoft.NetApp.json +++ b/schemas/2017-08-15/Microsoft.NetApp.json @@ -651,4 +651,4 @@ "description": "Export policy rule" } } -} \ No newline at end of file +} diff --git a/schemas/2019-05-01/Microsoft.NetApp.json b/schemas/2019-05-01/Microsoft.NetApp.json index c6c0f8943d..54a5e77e9a 100644 --- a/schemas/2019-05-01/Microsoft.NetApp.json +++ b/schemas/2019-05-01/Microsoft.NetApp.json @@ -743,4 +743,4 @@ "description": "Set of export policy rules" } } -} \ No newline at end of file +} diff --git a/schemas/2019-06-01/Microsoft.NetApp.json b/schemas/2019-06-01/Microsoft.NetApp.json index 9c737f185f..a5fe3a835a 100644 --- a/schemas/2019-06-01/Microsoft.NetApp.json +++ b/schemas/2019-06-01/Microsoft.NetApp.json @@ -742,4 +742,4 @@ "description": "Set of export policy rules" } } -} \ No newline at end of file +} diff --git a/schemas/2019-07-01/Microsoft.NetApp.json b/schemas/2019-07-01/Microsoft.NetApp.json index f2afe849a4..436ffce945 100644 --- a/schemas/2019-07-01/Microsoft.NetApp.json +++ b/schemas/2019-07-01/Microsoft.NetApp.json @@ -742,4 +742,4 @@ "description": "Set of export policy rules" } } -} \ No newline at end of file +} diff --git a/schemas/2019-08-01/Microsoft.NetApp.json b/schemas/2019-08-01/Microsoft.NetApp.json index f5d3d57c5b..d727af389c 100644 --- a/schemas/2019-08-01/Microsoft.NetApp.json +++ b/schemas/2019-08-01/Microsoft.NetApp.json @@ -871,4 +871,4 @@ "description": "Set of export policy rules" } } -} \ No newline at end of file +} diff --git a/schemas/2019-10-01/Microsoft.NetApp.json b/schemas/2019-10-01/Microsoft.NetApp.json index d90b435d53..d70eae1ac5 100644 --- a/schemas/2019-10-01/Microsoft.NetApp.json +++ b/schemas/2019-10-01/Microsoft.NetApp.json @@ -910,4 +910,4 @@ "description": "Set of export policy rules" } } -} \ No newline at end of file +} diff --git a/schemas/2019-11-01/Microsoft.NetApp.json b/schemas/2019-11-01/Microsoft.NetApp.json index 764b137932..95da180082 100644 --- a/schemas/2019-11-01/Microsoft.NetApp.json +++ b/schemas/2019-11-01/Microsoft.NetApp.json @@ -934,4 +934,4 @@ "description": "Set of export policy rules" } } -} \ No newline at end of file +} diff --git a/schemas/2020-02-01/Microsoft.NetApp.json b/schemas/2020-02-01/Microsoft.NetApp.json index 1b08c57a3a..a57c50cec2 100644 --- a/schemas/2020-02-01/Microsoft.NetApp.json +++ b/schemas/2020-02-01/Microsoft.NetApp.json @@ -965,4 +965,4 @@ "description": "Volume Snapshot Properties" } } -} \ No newline at end of file +} diff --git a/schemas/2020-06-01/Microsoft.NetApp.json b/schemas/2020-06-01/Microsoft.NetApp.json index 07d9e5774c..6dfdcb2df8 100644 --- a/schemas/2020-06-01/Microsoft.NetApp.json +++ b/schemas/2020-06-01/Microsoft.NetApp.json @@ -648,6 +648,56 @@ }, "description": "Backup properties" }, + "DailySchedule": { + "type": "object", + "properties": { + "hour": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates which hour in UTC timezone a snapshot should be taken" + }, + "minute": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates which minute snapshot should be taken" + }, + "snapshotsToKeep": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Daily snapshot count to keep" + }, + "usedBytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource size in bytes, current storage usage for the volume in bytes" + } + }, + "description": "Daily Schedule properties" + }, "ExportPolicyRule": { "type": "object", "properties": { @@ -808,6 +858,99 @@ }, "description": "Volume Export Policy Rule" }, + "HourlySchedule": { + "type": "object", + "properties": { + "minute": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates which minute snapshot should be taken" + }, + "snapshotsToKeep": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Hourly snapshot count to keep" + }, + "usedBytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource size in bytes, current storage usage for the volume in bytes" + } + }, + "description": "Hourly Schedule properties" + }, + "MonthlySchedule": { + "type": "object", + "properties": { + "daysOfMonth": { + "type": "string", + "description": "Indicates which days of the month snapshot should be taken. A comma delimited string." + }, + "hour": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates which hour in UTC timezone a snapshot should be taken" + }, + "minute": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates which minute snapshot should be taken" + }, + "snapshotsToKeep": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Monthly snapshot count to keep" + }, + "usedBytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource size in bytes, current storage usage for the volume in bytes" + } + }, + "description": "Monthly Schedule properties" + }, "MountTargetProperties": { "type": "object", "properties": { @@ -1292,9 +1435,15 @@ "type": "object", "properties": { "dailySchedule": { - "type": "object", - "properties": {}, - "description": "Schedule for daily snapshots" + "oneOf": [ + { + "$ref": "#/definitions/DailySchedule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Daily Schedule properties" }, "enabled": { "oneOf": [ @@ -1308,19 +1457,37 @@ "description": "The property to decide policy is enabled or not" }, "hourlySchedule": { - "type": "object", - "properties": {}, - "description": "Schedule for hourly snapshots" + "oneOf": [ + { + "$ref": "#/definitions/HourlySchedule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Hourly Schedule properties" }, "monthlySchedule": { - "type": "object", - "properties": {}, - "description": "Schedule for monthly snapshots" + "oneOf": [ + { + "$ref": "#/definitions/MonthlySchedule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Monthly Schedule properties" }, "weeklySchedule": { - "type": "object", - "properties": {}, - "description": "Schedule for weekly snapshots" + "oneOf": [ + { + "$ref": "#/definitions/WeeklySchedule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Weekly Schedule properties, make a snapshot every week at a specific day or days" } }, "description": "Snapshot policy properties" @@ -1669,6 +1836,60 @@ } }, "description": "Volume Snapshot Properties" + }, + "WeeklySchedule": { + "type": "object", + "properties": { + "day": { + "type": "string", + "description": "Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english" + }, + "hour": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates which hour in UTC timezone a snapshot should be taken" + }, + "minute": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates which minute snapshot should be taken" + }, + "snapshotsToKeep": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Weekly snapshot count to keep" + }, + "usedBytes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource size in bytes, current storage usage for the volume in bytes" + } + }, + "description": "Weekly Schedule properties, make a snapshot every week at a specific day or days" } } -} \ No newline at end of file +}