Skip to content

Commit a20f183

Browse files
Updating the api description for repeating time interval (#40906)
1 parent 12985f2 commit a20f183

File tree

28 files changed

+41
-45
lines changed

28 files changed

+41
-45
lines changed

specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/models.tsp

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3160,29 +3160,25 @@ model BackupPolicy extends BaseBackupPolicy {
31603160
*/
31613161
model BackupSchedule {
31623162
/**
3163-
* Repeating time interval which supports the ISO 8601 format and unsupported or partially supported formats.
3163+
* Repeating time intervals that define the backup schedule.
31643164
*
3165-
* Supported ISO 8601 Time Formats
3165+
* Each value must follow the format: `R/YYYY-MM-DDThh:mm:ss[.fff][Z|(+/-)hh:mm]/Duration`
31663166
*
3167-
* The following time formats were verified to be successfully parsed and supported:
3168-
* - T14:30:45.123 → Thh:mm:ss.sss (with milliseconds)
3169-
* - T14:30:45 → Thh:mm:ss (standard time format)
3170-
* - T14:30 → Thh:mm (hour and minute only)
3167+
* Only the exact formats listed below are supported. Other ISO 8601 variations are not accepted.
31713168
*
3172-
* All of the above may include time zone indicators like 'Z', '+05:30', '-08:00'.
3169+
* Supported time formats:
3170+
* - `Thh:mm:ss.fff` (with milliseconds)
3171+
* - `Thh:mm:ss` (with seconds)
3172+
* - `Thh:mm` (hours and minutes only)
31733173
*
3174-
* Examples of supported timestamps:
3175-
* - 2023-10-15T14:30:45Z
3176-
* - 2023-10-15T14:30:45.123+05:30
3177-
* - 2023-10-15T14:30Z
3174+
* A timezone indicator (`Z`, `+hh:mm`, or `-hh:mm`) may be appended to any of the above.
31783175
*
3179-
* Unsupported or partially supported formats:
3180-
* - T143045.123 or T143045 (no colons)
3181-
* - T14.500 (decimal hours)
3182-
* - T14 (hour only)
3183-
* - T14:30.500 (minute fractions)
3184-
* - T24:00:00 (invalid)
3185-
* - T23:59:60 (leap second)
3176+
* Unsupported formats include compact notation such as `T1430`, `T143045`, or `T14.5`.
3177+
*
3178+
* Examples:
3179+
* - `R/2023-10-15T14:30:00Z/P1W`
3180+
* - `R/2023-10-15T14:30:45.123+05:30/P1D`
3181+
* - `R/2023-10-15T14:30Z/P1D`
31863182
*/
31873183
repeatingTimeIntervals: string[];
31883184

specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/preview/2021-10-01-preview/dataprotection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3694,7 +3694,7 @@
36943694
"description": "Schedule for backup",
36953695
"properties": {
36963696
"repeatingTimeIntervals": {
3697-
"description": "Repeating time interval which supports the ISO 8601 format and unsupported or partially supported formats.\n\nSupported ISO 8601 Time Formats\n\nThe following time formats were verified to be successfully parsed and supported:\n- T14:30:45.123 → Thh:mm:ss.sss (with milliseconds)\n- T14:30:45 → Thh:mm:ss (standard time format)\n- T14:30 → Thh:mm (hour and minute only)\n\nAll of the above may include time zone indicators like 'Z', '+05:30', '-08:00'.\n\nExamples of supported timestamps:\n- 2023-10-15T14:30:45Z\n- 2023-10-15T14:30:45.123+05:30\n- 2023-10-15T14:30Z\n\nUnsupported or partially supported formats:\n- T143045.123 or T143045 (no colons)\n- T14.500 (decimal hours)\n- T14 (hour only)\n- T14:30.500 (minute fractions)\n- T24:00:00 (invalid)\n- T23:59:60 (leap second)",
3697+
"description": "Repeating time intervals that define the backup schedule.\n\nEach value must follow the format: `R/YYYY-MM-DDThh:mm:ss[.fff][Z|(+/-)hh:mm]/Duration`\n\nOnly the exact formats listed below are supported. Other ISO 8601 variations are not accepted.\n\nSupported time formats:\n- `Thh:mm:ss.fff` (with milliseconds)\n- `Thh:mm:ss` (with seconds)\n- `Thh:mm` (hours and minutes only)\n\nA timezone indicator (`Z`, `+hh:mm`, or `-hh:mm`) may be appended to any of the above.\n\nUnsupported formats include compact notation such as `T1430`, `T143045`, or `T14.5`.\n\nExamples:\n- `R/2023-10-15T14:30:00Z/P1W`\n- `R/2023-10-15T14:30:45.123+05:30/P1D`\n- `R/2023-10-15T14:30Z/P1D`",
36983698
"items": {
36993699
"type": "string"
37003700
},

specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/preview/2021-12-01-preview/dataprotection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3694,7 +3694,7 @@
36943694
"description": "Schedule for backup",
36953695
"properties": {
36963696
"repeatingTimeIntervals": {
3697-
"description": "Repeating time interval which supports the ISO 8601 format and unsupported or partially supported formats.\n\nSupported ISO 8601 Time Formats\n\nThe following time formats were verified to be successfully parsed and supported:\n- T14:30:45.123 → Thh:mm:ss.sss (with milliseconds)\n- T14:30:45 → Thh:mm:ss (standard time format)\n- T14:30 → Thh:mm (hour and minute only)\n\nAll of the above may include time zone indicators like 'Z', '+05:30', '-08:00'.\n\nExamples of supported timestamps:\n- 2023-10-15T14:30:45Z\n- 2023-10-15T14:30:45.123+05:30\n- 2023-10-15T14:30Z\n\nUnsupported or partially supported formats:\n- T143045.123 or T143045 (no colons)\n- T14.500 (decimal hours)\n- T14 (hour only)\n- T14:30.500 (minute fractions)\n- T24:00:00 (invalid)\n- T23:59:60 (leap second)",
3697+
"description": "Repeating time intervals that define the backup schedule.\n\nEach value must follow the format: `R/YYYY-MM-DDThh:mm:ss[.fff][Z|(+/-)hh:mm]/Duration`\n\nOnly the exact formats listed below are supported. Other ISO 8601 variations are not accepted.\n\nSupported time formats:\n- `Thh:mm:ss.fff` (with milliseconds)\n- `Thh:mm:ss` (with seconds)\n- `Thh:mm` (hours and minutes only)\n\nA timezone indicator (`Z`, `+hh:mm`, or `-hh:mm`) may be appended to any of the above.\n\nUnsupported formats include compact notation such as `T1430`, `T143045`, or `T14.5`.\n\nExamples:\n- `R/2023-10-15T14:30:00Z/P1W`\n- `R/2023-10-15T14:30:45.123+05:30/P1D`\n- `R/2023-10-15T14:30Z/P1D`",
36983698
"items": {
36993699
"type": "string"
37003700
},

specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/preview/2022-02-01-preview/dataprotection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4247,7 +4247,7 @@
42474247
"description": "Schedule for backup",
42484248
"properties": {
42494249
"repeatingTimeIntervals": {
4250-
"description": "Repeating time interval which supports the ISO 8601 format and unsupported or partially supported formats.\n\nSupported ISO 8601 Time Formats\n\nThe following time formats were verified to be successfully parsed and supported:\n- T14:30:45.123 → Thh:mm:ss.sss (with milliseconds)\n- T14:30:45 → Thh:mm:ss (standard time format)\n- T14:30 → Thh:mm (hour and minute only)\n\nAll of the above may include time zone indicators like 'Z', '+05:30', '-08:00'.\n\nExamples of supported timestamps:\n- 2023-10-15T14:30:45Z\n- 2023-10-15T14:30:45.123+05:30\n- 2023-10-15T14:30Z\n\nUnsupported or partially supported formats:\n- T143045.123 or T143045 (no colons)\n- T14.500 (decimal hours)\n- T14 (hour only)\n- T14:30.500 (minute fractions)\n- T24:00:00 (invalid)\n- T23:59:60 (leap second)",
4250+
"description": "Repeating time intervals that define the backup schedule.\n\nEach value must follow the format: `R/YYYY-MM-DDThh:mm:ss[.fff][Z|(+/-)hh:mm]/Duration`\n\nOnly the exact formats listed below are supported. Other ISO 8601 variations are not accepted.\n\nSupported time formats:\n- `Thh:mm:ss.fff` (with milliseconds)\n- `Thh:mm:ss` (with seconds)\n- `Thh:mm` (hours and minutes only)\n\nA timezone indicator (`Z`, `+hh:mm`, or `-hh:mm`) may be appended to any of the above.\n\nUnsupported formats include compact notation such as `T1430`, `T143045`, or `T14.5`.\n\nExamples:\n- `R/2023-10-15T14:30:00Z/P1W`\n- `R/2023-10-15T14:30:45.123+05:30/P1D`\n- `R/2023-10-15T14:30Z/P1D`",
42514251
"items": {
42524252
"type": "string"
42534253
},

specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/preview/2022-03-31-preview/dataprotection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4305,7 +4305,7 @@
43054305
"description": "Schedule for backup",
43064306
"properties": {
43074307
"repeatingTimeIntervals": {
4308-
"description": "Repeating time interval which supports the ISO 8601 format and unsupported or partially supported formats.\n\nSupported ISO 8601 Time Formats\n\nThe following time formats were verified to be successfully parsed and supported:\n- T14:30:45.123 → Thh:mm:ss.sss (with milliseconds)\n- T14:30:45 → Thh:mm:ss (standard time format)\n- T14:30 → Thh:mm (hour and minute only)\n\nAll of the above may include time zone indicators like 'Z', '+05:30', '-08:00'.\n\nExamples of supported timestamps:\n- 2023-10-15T14:30:45Z\n- 2023-10-15T14:30:45.123+05:30\n- 2023-10-15T14:30Z\n\nUnsupported or partially supported formats:\n- T143045.123 or T143045 (no colons)\n- T14.500 (decimal hours)\n- T14 (hour only)\n- T14:30.500 (minute fractions)\n- T24:00:00 (invalid)\n- T23:59:60 (leap second)",
4308+
"description": "Repeating time intervals that define the backup schedule.\n\nEach value must follow the format: `R/YYYY-MM-DDThh:mm:ss[.fff][Z|(+/-)hh:mm]/Duration`\n\nOnly the exact formats listed below are supported. Other ISO 8601 variations are not accepted.\n\nSupported time formats:\n- `Thh:mm:ss.fff` (with milliseconds)\n- `Thh:mm:ss` (with seconds)\n- `Thh:mm` (hours and minutes only)\n\nA timezone indicator (`Z`, `+hh:mm`, or `-hh:mm`) may be appended to any of the above.\n\nUnsupported formats include compact notation such as `T1430`, `T143045`, or `T14.5`.\n\nExamples:\n- `R/2023-10-15T14:30:00Z/P1W`\n- `R/2023-10-15T14:30:45.123+05:30/P1D`\n- `R/2023-10-15T14:30Z/P1D`",
43094309
"items": {
43104310
"type": "string"
43114311
},

specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/preview/2022-09-01-preview/dataprotection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4702,7 +4702,7 @@
47024702
"description": "Schedule for backup",
47034703
"properties": {
47044704
"repeatingTimeIntervals": {
4705-
"description": "Repeating time interval which supports the ISO 8601 format and unsupported or partially supported formats.\n\nSupported ISO 8601 Time Formats\n\nThe following time formats were verified to be successfully parsed and supported:\n- T14:30:45.123 → Thh:mm:ss.sss (with milliseconds)\n- T14:30:45 → Thh:mm:ss (standard time format)\n- T14:30 → Thh:mm (hour and minute only)\n\nAll of the above may include time zone indicators like 'Z', '+05:30', '-08:00'.\n\nExamples of supported timestamps:\n- 2023-10-15T14:30:45Z\n- 2023-10-15T14:30:45.123+05:30\n- 2023-10-15T14:30Z\n\nUnsupported or partially supported formats:\n- T143045.123 or T143045 (no colons)\n- T14.500 (decimal hours)\n- T14 (hour only)\n- T14:30.500 (minute fractions)\n- T24:00:00 (invalid)\n- T23:59:60 (leap second)",
4705+
"description": "Repeating time intervals that define the backup schedule.\n\nEach value must follow the format: `R/YYYY-MM-DDThh:mm:ss[.fff][Z|(+/-)hh:mm]/Duration`\n\nOnly the exact formats listed below are supported. Other ISO 8601 variations are not accepted.\n\nSupported time formats:\n- `Thh:mm:ss.fff` (with milliseconds)\n- `Thh:mm:ss` (with seconds)\n- `Thh:mm` (hours and minutes only)\n\nA timezone indicator (`Z`, `+hh:mm`, or `-hh:mm`) may be appended to any of the above.\n\nUnsupported formats include compact notation such as `T1430`, `T143045`, or `T14.5`.\n\nExamples:\n- `R/2023-10-15T14:30:00Z/P1W`\n- `R/2023-10-15T14:30:45.123+05:30/P1D`\n- `R/2023-10-15T14:30Z/P1D`",
47064706
"items": {
47074707
"type": "string"
47084708
},

specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/preview/2022-10-01-preview/dataprotection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4761,7 +4761,7 @@
47614761
"description": "Schedule for backup",
47624762
"properties": {
47634763
"repeatingTimeIntervals": {
4764-
"description": "Repeating time interval which supports the ISO 8601 format and unsupported or partially supported formats.\n\nSupported ISO 8601 Time Formats\n\nThe following time formats were verified to be successfully parsed and supported:\n- T14:30:45.123 → Thh:mm:ss.sss (with milliseconds)\n- T14:30:45 → Thh:mm:ss (standard time format)\n- T14:30 → Thh:mm (hour and minute only)\n\nAll of the above may include time zone indicators like 'Z', '+05:30', '-08:00'.\n\nExamples of supported timestamps:\n- 2023-10-15T14:30:45Z\n- 2023-10-15T14:30:45.123+05:30\n- 2023-10-15T14:30Z\n\nUnsupported or partially supported formats:\n- T143045.123 or T143045 (no colons)\n- T14.500 (decimal hours)\n- T14 (hour only)\n- T14:30.500 (minute fractions)\n- T24:00:00 (invalid)\n- T23:59:60 (leap second)",
4764+
"description": "Repeating time intervals that define the backup schedule.\n\nEach value must follow the format: `R/YYYY-MM-DDThh:mm:ss[.fff][Z|(+/-)hh:mm]/Duration`\n\nOnly the exact formats listed below are supported. Other ISO 8601 variations are not accepted.\n\nSupported time formats:\n- `Thh:mm:ss.fff` (with milliseconds)\n- `Thh:mm:ss` (with seconds)\n- `Thh:mm` (hours and minutes only)\n\nA timezone indicator (`Z`, `+hh:mm`, or `-hh:mm`) may be appended to any of the above.\n\nUnsupported formats include compact notation such as `T1430`, `T143045`, or `T14.5`.\n\nExamples:\n- `R/2023-10-15T14:30:00Z/P1W`\n- `R/2023-10-15T14:30:45.123+05:30/P1D`\n- `R/2023-10-15T14:30Z/P1D`",
47654765
"items": {
47664766
"type": "string"
47674767
},

specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/preview/2022-11-01-preview/dataprotection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4784,7 +4784,7 @@
47844784
"description": "Schedule for backup",
47854785
"properties": {
47864786
"repeatingTimeIntervals": {
4787-
"description": "Repeating time interval which supports the ISO 8601 format and unsupported or partially supported formats.\n\nSupported ISO 8601 Time Formats\n\nThe following time formats were verified to be successfully parsed and supported:\n- T14:30:45.123 → Thh:mm:ss.sss (with milliseconds)\n- T14:30:45 → Thh:mm:ss (standard time format)\n- T14:30 → Thh:mm (hour and minute only)\n\nAll of the above may include time zone indicators like 'Z', '+05:30', '-08:00'.\n\nExamples of supported timestamps:\n- 2023-10-15T14:30:45Z\n- 2023-10-15T14:30:45.123+05:30\n- 2023-10-15T14:30Z\n\nUnsupported or partially supported formats:\n- T143045.123 or T143045 (no colons)\n- T14.500 (decimal hours)\n- T14 (hour only)\n- T14:30.500 (minute fractions)\n- T24:00:00 (invalid)\n- T23:59:60 (leap second)",
4787+
"description": "Repeating time intervals that define the backup schedule.\n\nEach value must follow the format: `R/YYYY-MM-DDThh:mm:ss[.fff][Z|(+/-)hh:mm]/Duration`\n\nOnly the exact formats listed below are supported. Other ISO 8601 variations are not accepted.\n\nSupported time formats:\n- `Thh:mm:ss.fff` (with milliseconds)\n- `Thh:mm:ss` (with seconds)\n- `Thh:mm` (hours and minutes only)\n\nA timezone indicator (`Z`, `+hh:mm`, or `-hh:mm`) may be appended to any of the above.\n\nUnsupported formats include compact notation such as `T1430`, `T143045`, or `T14.5`.\n\nExamples:\n- `R/2023-10-15T14:30:00Z/P1W`\n- `R/2023-10-15T14:30:45.123+05:30/P1D`\n- `R/2023-10-15T14:30Z/P1D`",
47884788
"items": {
47894789
"type": "string"
47904790
},

specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/preview/2023-04-01-preview/dataprotection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5154,7 +5154,7 @@
51545154
"description": "Schedule for backup",
51555155
"properties": {
51565156
"repeatingTimeIntervals": {
5157-
"description": "Repeating time interval which supports the ISO 8601 format and unsupported or partially supported formats.\n\nSupported ISO 8601 Time Formats\n\nThe following time formats were verified to be successfully parsed and supported:\n- T14:30:45.123 → Thh:mm:ss.sss (with milliseconds)\n- T14:30:45 → Thh:mm:ss (standard time format)\n- T14:30 → Thh:mm (hour and minute only)\n\nAll of the above may include time zone indicators like 'Z', '+05:30', '-08:00'.\n\nExamples of supported timestamps:\n- 2023-10-15T14:30:45Z\n- 2023-10-15T14:30:45.123+05:30\n- 2023-10-15T14:30Z\n\nUnsupported or partially supported formats:\n- T143045.123 or T143045 (no colons)\n- T14.500 (decimal hours)\n- T14 (hour only)\n- T14:30.500 (minute fractions)\n- T24:00:00 (invalid)\n- T23:59:60 (leap second)",
5157+
"description": "Repeating time intervals that define the backup schedule.\n\nEach value must follow the format: `R/YYYY-MM-DDThh:mm:ss[.fff][Z|(+/-)hh:mm]/Duration`\n\nOnly the exact formats listed below are supported. Other ISO 8601 variations are not accepted.\n\nSupported time formats:\n- `Thh:mm:ss.fff` (with milliseconds)\n- `Thh:mm:ss` (with seconds)\n- `Thh:mm` (hours and minutes only)\n\nA timezone indicator (`Z`, `+hh:mm`, or `-hh:mm`) may be appended to any of the above.\n\nUnsupported formats include compact notation such as `T1430`, `T143045`, or `T14.5`.\n\nExamples:\n- `R/2023-10-15T14:30:00Z/P1W`\n- `R/2023-10-15T14:30:45.123+05:30/P1D`\n- `R/2023-10-15T14:30Z/P1D`",
51585158
"items": {
51595159
"type": "string"
51605160
},

specification/dataprotection/resource-manager/Microsoft.DataProtection/DataProtection/preview/2023-06-01-preview/dataprotection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5188,7 +5188,7 @@
51885188
"description": "Schedule for backup",
51895189
"properties": {
51905190
"repeatingTimeIntervals": {
5191-
"description": "Repeating time interval which supports the ISO 8601 format and unsupported or partially supported formats.\n\nSupported ISO 8601 Time Formats\n\nThe following time formats were verified to be successfully parsed and supported:\n- T14:30:45.123 → Thh:mm:ss.sss (with milliseconds)\n- T14:30:45 → Thh:mm:ss (standard time format)\n- T14:30 → Thh:mm (hour and minute only)\n\nAll of the above may include time zone indicators like 'Z', '+05:30', '-08:00'.\n\nExamples of supported timestamps:\n- 2023-10-15T14:30:45Z\n- 2023-10-15T14:30:45.123+05:30\n- 2023-10-15T14:30Z\n\nUnsupported or partially supported formats:\n- T143045.123 or T143045 (no colons)\n- T14.500 (decimal hours)\n- T14 (hour only)\n- T14:30.500 (minute fractions)\n- T24:00:00 (invalid)\n- T23:59:60 (leap second)",
5191+
"description": "Repeating time intervals that define the backup schedule.\n\nEach value must follow the format: `R/YYYY-MM-DDThh:mm:ss[.fff][Z|(+/-)hh:mm]/Duration`\n\nOnly the exact formats listed below are supported. Other ISO 8601 variations are not accepted.\n\nSupported time formats:\n- `Thh:mm:ss.fff` (with milliseconds)\n- `Thh:mm:ss` (with seconds)\n- `Thh:mm` (hours and minutes only)\n\nA timezone indicator (`Z`, `+hh:mm`, or `-hh:mm`) may be appended to any of the above.\n\nUnsupported formats include compact notation such as `T1430`, `T143045`, or `T14.5`.\n\nExamples:\n- `R/2023-10-15T14:30:00Z/P1W`\n- `R/2023-10-15T14:30:45.123+05:30/P1D`\n- `R/2023-10-15T14:30Z/P1D`",
51925192
"items": {
51935193
"type": "string"
51945194
},

0 commit comments

Comments
 (0)