Skip to content

Commit 21109e5

Browse files
thophan-microsoftharryli0108
authored andcommitted
Extend timeZoneId description (Azure#24261)
* Extend timeZoneId property * Fix ModelValidation errors * Fix LRO_RESPONSE_HEADER errors
1 parent 1851b8b commit 21109e5

38 files changed

+218
-69
lines changed

specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11624,7 +11624,7 @@
1162411624
"description": "If the schedule will occur multiple times a day, specify the hourly recurrence."
1162511625
},
1162611626
"timeZoneId": {
11627-
"description": "The time zone ID (e.g. Pacific Standard time).",
11627+
"description": "The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in `IReadOnlyCollection<string> TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds` (https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md)",
1162811628
"type": "string"
1162911629
},
1163011630
"notificationSettings": {
@@ -11703,7 +11703,7 @@
1170311703
"description": "If the schedule will occur multiple times a day, specify the hourly recurrence."
1170411704
},
1170511705
"timeZoneId": {
11706-
"description": "The time zone ID (e.g. Pacific Standard time).",
11706+
"description": "The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in `IReadOnlyCollection<string> TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds` (https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md)",
1170711707
"type": "string"
1170811708
},
1170911709
"notificationSettings": {

specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Costs_CreateOrUpdate.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,13 @@
126126
"createdDate": "2020-12-23T22:43:54.7253204+00:00",
127127
"provisioningState": "Succeeded",
128128
"uniqueIdentifier": "{uniqueIdentifier}"
129+
},
130+
"id": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.devtestlab/labs/{labName}/costs/{costName}",
131+
"name": "{costName}",
132+
"type": "Microsoft.DevTestLab/labs/costs",
133+
"location": "{location}",
134+
"tags": {
135+
"tagName1": "tagValue1"
129136
}
130137
}
131138
},
@@ -192,6 +199,13 @@
192199
"createdDate": "2020-12-23T22:43:54.7253204+00:00",
193200
"provisioningState": "Creating",
194201
"uniqueIdentifier": "{uniqueIdentifier}"
202+
},
203+
"id": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.devtestlab/labs/{labName}/costs/{costName}",
204+
"name": "{costName}",
205+
"type": "Microsoft.DevTestLab/labs/costs",
206+
"location": "{location}",
207+
"tags": {
208+
"tagName1": "tagValue1"
195209
}
196210
}
197211
}

specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Costs_Get.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@
7070
"createdDate": "2020-12-23T22:43:54.7253204+00:00",
7171
"provisioningState": "Succeeded",
7272
"uniqueIdentifier": "{uniqueIdentifier}"
73+
},
74+
"id": "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.devtestlab/labs/{labName}/costs/{costName}",
75+
"name": "{costName}",
76+
"type": "Microsoft.DevTestLab/labs/costs",
77+
"location": "{location}",
78+
"tags": {
79+
"tagName1": "tagValue1"
7380
}
7481
}
7582
}

specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/CustomImages_Delete.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
},
99
"responses": {
1010
"200": {},
11-
"202": {},
11+
"202": {
12+
"headers": {
13+
"location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/Microsoft.DevTestLabs/locations/{location}"
14+
}
15+
},
1216
"204": {}
1317
}
1418
}

specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Disks_Attach.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
},
1313
"responses": {
1414
"200": {},
15-
"202": {}
15+
"202": {
16+
"headers": {
17+
"location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/Microsoft.DevTestLabs/locations/{location}"
18+
}
19+
}
1620
}
1721
}

specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Disks_Delete.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
},
1010
"responses": {
1111
"200": {},
12-
"202": {},
12+
"202": {
13+
"headers": {
14+
"location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/Microsoft.DevTestLabs/locations/{location}"
15+
}
16+
},
1317
"204": {}
1418
}
1519
}

specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Disks_Detach.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
},
1313
"responses": {
1414
"200": {},
15-
"202": {}
15+
"202": {
16+
"headers": {
17+
"location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/Microsoft.DevTestLabs/locations/{location}"
18+
}
19+
}
1620
}
1721
}

specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Environments_Delete.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99
},
1010
"responses": {
1111
"200": {},
12-
"202": {},
12+
"202": {
13+
"headers": {
14+
"location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/Microsoft.DevTestLabs/locations/{location}"
15+
}
16+
},
1317
"204": {}
1418
}
1519
}

specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/GlobalSchedules_Execute.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
},
88
"responses": {
99
"200": {},
10-
"202": {}
10+
"202": {
11+
"headers": {
12+
"location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/Microsoft.DevTestLabs/locations/{location}"
13+
}
14+
}
1115
}
1216
}

specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/GlobalSchedules_Retarget.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
},
1212
"responses": {
1313
"200": {},
14-
"202": {}
14+
"202": {
15+
"headers": {
16+
"location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/Microsoft.DevTestLabs/locations/{location}"
17+
}
18+
}
1519
}
1620
}

0 commit comments

Comments
 (0)