Skip to content

Commit a4dd927

Browse files
Merge pull request #304638 from MicrosoftDocs/main
Auto Publish – main to live - 2025-08-25 05:00 UTC
2 parents 609416b + 8546c0d commit a4dd927

4 files changed

Lines changed: 157 additions & 43 deletions

File tree

articles/azure-app-configuration/feature-management-javascript-reference.md

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,144 @@ This filter provides the capability to enable a feature based on a time window.
360360
]
361361
```
362362

363+
364+
The time window can be configured to recur periodically. This can be useful for the scenarios where one may need to turn on a feature during a low or high traffic period of a day or certain days of a week. To expand the individual time window to recurring time windows, the recurrence rule should be specified in the `Recurrence` parameter.
365+
366+
> [!NOTE]
367+
> `Start` and `End` must be both specified to enable `Recurrence`.
368+
369+
``` JavaScript
370+
"client_filters": [
371+
{
372+
"name": "Microsoft.TimeWindow",
373+
"parameters": {
374+
"Start": "Fri, 22 Mar 2024 20:00:00 GMT",
375+
"End": "Sat, 23 Mar 2024 02:00:00 GMT",
376+
"Recurrence": {
377+
"Pattern": {
378+
"Type": "Daily",
379+
"Interval": 1
380+
},
381+
"Range": {
382+
"Type": "NoEnd"
383+
}
384+
}
385+
}
386+
}
387+
]
388+
```
389+
390+
The `Recurrence` settings are made up of two parts: `Pattern` (how often the time window repeats) and `Range` (for how long the recurrence pattern repeats).
391+
392+
#### Recurrence Pattern
393+
394+
There are two possible recurrence pattern types: `Daily` and `Weekly`. For example, a time window could repeat "every day", "every three days", "every Monday" or "every other Friday".
395+
396+
Depending on the type, certain fields of the `Pattern` are required, optional, or ignored.
397+
398+
- `Daily`
399+
400+
The daily recurrence pattern causes the time window to repeat based on a number of days between each occurrence.
401+
402+
| Property | Relevance | Description |
403+
|----------|-----------|-------------|
404+
| **Type** | Required | Must be set to `Daily`. |
405+
| **Interval** | Optional | Specifies the number of days between each occurrence. Default value is 1. |
406+
407+
- `Weekly`
408+
409+
The weekly recurrence pattern causes the time window to repeat on the same day or days of the week, based on the number of weeks between each set of occurrences.
410+
411+
| Property | Relevance | Description |
412+
|----------|-----------|-------------|
413+
| **Type** | Required | Must be set to `Weekly`. |
414+
| **DaysOfWeek** | Required | Specifies on which days of the week the event occurs. |
415+
| **Interval** | Optional | Specifies the number of weeks between each set of occurrences. Default value is 1. |
416+
| **FirstDayOfWeek** | Optional | Specifies which day is considered the first day of the week. Default value is `Sunday`. |
417+
418+
The following example repeats the time window every other Monday and Tuesday
419+
420+
``` javascript
421+
"Pattern": {
422+
"Type": "Weekly",
423+
"Interval": 2,
424+
"DaysOfWeek": ["Monday", "Tuesday"]
425+
}
426+
```
427+
428+
> [!NOTE]
429+
> `Start` must be a valid first occurrence that fits the recurrence pattern. Additionally, the duration of the time window can't be longer than how frequently it occurs. For example, it's invalid to have a 25-hour time window recur every day.
430+
431+
#### Recurrence Range
432+
433+
There are three possible recurrence range types: `NoEnd`, `EndDate` and `Numbered`.
434+
435+
- `NoEnd`
436+
437+
The `NoEnd` range causes the recurrence to occur indefinitely.
438+
439+
| Property | Relevance | Description |
440+
|----------|-----------|-------------|
441+
| **Type** | Required | Must be set to `NoEnd`. |
442+
443+
- `EndDate`
444+
445+
The `EndDate` range causes the time window to occur on all days that fit the applicable pattern until the end date.
446+
447+
| Property | Relevance | Description |
448+
|----------|-----------|-------------|
449+
| **Type** | Required | Must be set to `EndDate`. |
450+
| **EndDate** | Required | Specifies the date time to stop applying the pattern. As long as the start time of the last occurrence falls before the end date, the end time of that occurrence is allowed to extend beyond it. |
451+
452+
The following example will repeat the time window every day until the last occurrence happens on April 1, 2024.
453+
454+
``` javascript
455+
"Start": "Fri, 22 Mar 2024 18:00:00 GMT",
456+
"End": "Fri, 22 Mar 2024 20:00:00 GMT",
457+
"Recurrence":{
458+
"Pattern": {
459+
"Type": "Daily",
460+
"Interval": 1
461+
},
462+
"Range": {
463+
"Type": "EndDate",
464+
"EndDate": "Mon, 1 Apr 2024 20:00:00 GMT"
465+
}
466+
}
467+
```
468+
469+
- `Numbered`
470+
471+
The `Numbered` range causes the time window to occur a fixed number of times (based on the pattern).
472+
473+
| Property | Relevance | Description |
474+
|----------|-----------|-------------|
475+
| **Type** | Required | Must be set to `Numbered`. |
476+
| **NumberOfOccurrences** | Required | Specifies the number of occurrences. |
477+
478+
The following example will repeat the time window on Monday and Tuesday until there are three occurrences, which respectively happen on April 1(Mon), April 2(Tue) and April 8(Mon).
479+
480+
``` javascript
481+
"Start": "Mon, 1 Apr 2024 18:00:00 GMT",
482+
"End": "Mon, 1 Apr 2024 20:00:00 GMT",
483+
"Recurrence":{
484+
"Pattern": {
485+
"Type": "Weekly",
486+
"Interval": 1,
487+
"DaysOfWeek": ["Monday", "Tuesday"]
488+
},
489+
"Range": {
490+
"Type": "Numbered",
491+
"NumberOfOccurrences": 3
492+
}
493+
}
494+
```
495+
496+
To create a recurrence rule, you must specify both `Pattern` and `Range`. Any pattern type can work with any range type.
497+
498+
**Advanced:** The time zone offset of the `Start` property is applied to the recurrence settings.
499+
500+
363501
### Microsoft.Targeting
364502

365503
This filter provides the capability to enable a feature for a target audience. An in-depth explanation of targeting is explained in the [targeting](#targeting) section below. The filter parameters include an `Audience` object that describes users, groups, excluded users/groups, and a default percentage of the user base that should have access to the feature. Each group object that is listed in the `Groups` section must also specify what percentage of the group's members should have access. If a user is specified in the `Exclusion` section, either directly or if the user is in an excluded group, the feature is disabled. Otherwise, if a user is specified in the `Users` section directly, or if the user is in the included percentage of any of the group rollouts, or if the user falls into the default rollout percentage then that user will have the feature enabled.

articles/azure-app-configuration/feature-management-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Targeting Filter | [GA](./feature-management-dotnet-reference.md#targeting) | GA
4444
Targeting Exclusion | [GA](./feature-management-dotnet-reference.md#targeting-exclusion) | GA | [GA](./feature-management-python-reference.md#targeting-exclusion) | [GA](./feature-management-javascript-reference.md#targeting-exclusion) | GA
4545
Ambient Targeting | [GA](./feature-management-dotnet-reference.md#targeting-in-a-web-application) | WIP | WIP | [GA](./feature-management-javascript-reference.md#targeting-in-a-web-application) | WIP
4646
Time Window Filter | [GA](./feature-management-dotnet-reference.md#microsofttimewindow) | GA | [GA](./feature-management-python-reference.md#microsofttimewindow) | [GA](./feature-management-javascript-reference.md#microsofttimewindow) | GA
47-
Recurring Time Window | [GA](./feature-management-dotnet-reference.md#microsofttimewindow) | GA | WIP | WIP | WIP
47+
Recurring Time Window | [GA](./feature-management-dotnet-reference.md#microsofttimewindow) | GA | GA | [GA](./feature-management-javascript-reference.md#microsofttimewindow) | WIP
4848
Custom Feature Filter | [GA](./feature-management-dotnet-reference.md#implementing-a-feature-filter) | GA | [GA](./feature-management-python-reference.md#implementing-a-feature-filter) | [GA](./feature-management-javascript-reference.md#implementing-a-feature-filter) | GA
4949
Feature Filter Requirement Type (AND/OR) | [GA](./feature-management-dotnet-reference.md#requirement-type) | GA | [GA](./feature-management-python-reference.md#requirement-type) | [GA](./feature-management-javascript-reference.md#requirement-type) | GA
5050
Variant Feature Flag | [GA](./feature-management-dotnet-reference.md#variants) | GA | [GA](./feature-management-python-reference.md#variants) | [GA](./feature-management-javascript-reference.md#variants) | WIP

articles/healthcare-apis/fhir/how-to-run-a-reindex.md

Lines changed: 16 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: How to run a reindex job in FHIR service - Azure Health Data Services
3-
description: How to run a reindex job to index any search or sort parameters that haven't yet been indexed in your database
3+
description: How to run a reindex job to index any search or sort parameters that are not yet indexed in your database
44
author: expekesheth
55
ms.service: azure-health-data-services
66
ms.subservice: fhir
@@ -78,15 +78,11 @@ Content-Location: https://{{FHIR URL}}/_operations/reindex/560c7c61-2c70-4c54-b8
7878
"valueString": "Queued"
7979
},
8080
{
81-
"name": "maximumConcurrency",
82-
"valueDecimal": 3.0
83-
},
84-
{
85-
"name": "queryDelayIntervalInMilliseconds",
86-
"valueDecimal": 500.0
81+
"name": "maximumNumberOfResourcesPerQuery",
82+
"valueDecimal": 100.0
8783
},
8884
{
89-
"name": "maximumNumberOfResourcesPerQuery",
85+
"name": "maximumNumberOfResourcesPerWrite",
9086
"valueDecimal": 100.0
9187
}
9288
]
@@ -113,7 +109,7 @@ content-type: application/fhir+json
113109
}
114110
```
115111
> [!NOTE]
116-
> To check the status of, or cancel a reindex job, you need the reindex ID. This is the `"id"` carried in the `"parameter"` value of the response. In the preceding example, the ID for the reindex job would be `560c7c61-2c70-4c54-b86d-c53a9d29495e`.
112+
> To check the status of, or cancel a reindex job, you need the reindex ID. Reindex ID is the `"id"` carried in the `"parameter"` value of the response. In the preceding example, the ID for the reindex job would be `560c7c61-2c70-4c54-b86d-c53a9d29495e`.
117113

118114
## How to check the status of a reindex job
119115

@@ -167,10 +163,6 @@ Here's an example response.
167163
"name": "status",
168164
"valueString": "Completed"
169165
},
170-
{
171-
"name": "maximumConcurrency",
172-
"valueDecimal": 3.0
173-
},
174166
{
175167
"name": "resources",
176168
"valueString": "{{LIST_OF_IMPACTED_RESOURCES}}"
@@ -184,11 +176,11 @@ Here's an example response.
184176
"valueString": "{{LIST_OF_SEARCHPARAM_URLS}}"
185177
},
186178
{
187-
"name": "queryDelayIntervalInMilliseconds",
188-
"valueDecimal": 500.0
179+
"name": "maximumNumberOfResourcesPerQuery",
180+
"valueDecimal": 100.0
189181
},
190182
{
191-
"name": "maximumNumberOfResourcesPerQuery",
183+
"name": "maximumNumberOfResourcesPerWrite",
192184
"valueDecimal": 100.0
193185
}
194186
]
@@ -199,7 +191,7 @@ The following information is shown in the preceding response:
199191

200192
* `totalResourcesToReindex`: Includes the total number of resources that are being reindexed in this job.
201193

202-
* `resourcesSuccessfullyReindexed`: The total number of resources that have already been reindexed in this job.
194+
* `resourcesSuccessfullyReindexed`: The total number of resources reindexed in this job.
203195

204196
* `progress`: Reindex job percent complete. Equals `resourcesSuccessfullyReindexed`/`totalResourcesToReindex` x 100.
205197

@@ -219,20 +211,8 @@ If you need to cancel a reindex job, use a `DELETE` call and specify the reindex
219211

220212
## Performance considerations
221213

222-
A reindex job can be quite performance intensive. The FHIR service offers throttling controls to help manage how a reindex job runs on your database.
223-
224-
> [!NOTE]
225-
> It is not uncommon on large datasets for a reindex job to run for days.
226-
227-
Below is a table outlining the available parameters, defaults, and recommended ranges for controlling reindex job compute resources. You can use these parameters to either speed up the process (use more compute) or slow down the process (use less compute).
228-
229-
| **Parameter** | **Description** | **Default** | **Available Range** |
230-
| --------------------------------- | ---------------------------- | ------------------ | ------------------------------- |
231-
| `QueryDelayIntervalInMilliseconds` | The delay between each batch of resources being kicked off during the reindex job. A smaller number speeds up the job while a larger number slows it down. | 500 MS (.5 seconds) | 50 to 500000 |
232-
| `MaximumResourcesPerQuery` | The maximum number of resources included in the batch to be reindexed. | 100 | 1-5000 |
233-
| `MaximumConcurrency` | The number of batches done at a time. | 1 | 1-10 |
234-
235-
If you want to use any of the preceding parameters, you can pass them into the `Parameters` resource when you send the initial `POST` request to start a reindex job.
214+
A reindex job can be quite performance intensive. The FHIR service offers throttling controls to help manage how a reindex job runs on your database. You can use `MaximumResourcesPerQuery` parameter to either speed up the process (use more compute) or slow down the process (use less compute). `MaximumResourcesPerQuery` parameter allows to set the maximum number of resources included in the batch to be reindexed. The default value is 100 and you can set value between 1-5000.
215+
Sample request with the parameter:
236216

237217
```json
238218

@@ -241,24 +221,20 @@ content-type: application/fhir+json
241221
{
242222
"resourceType": "Parameters",
243223
"parameter": [
244-
{
245-
"name": "maximumConcurrency",
246-
"valueInteger": "3"
247-
},
248-
{
249-
"name": "queryDelayIntervalInMilliseconds",
250-
"valueInteger": "1000"
251-
},
252224
{
253225
"name": "maximumNumberOfResourcesPerQuery",
254226
"valueInteger": "1"
255227
}
256228
]
257229
}
258230
```
231+
232+
> [!NOTE]
233+
> It is not uncommon on large datasets for a reindex job to run for days.
234+
259235
## Next steps
260236

261-
In this article, you've learned how to perform a reindex job in your FHIR service. To learn how to define custom search parameters, see
237+
In this article, you learned how to perform a reindex job in your FHIR service. To learn how to define custom search parameters, see
262238

263239
>[!div class="nextstepaction"]
264240
>[Defining custom search parameters](how-to-do-custom-search.md)

articles/reliability/availability-zones-enable-zone-resiliency.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ This table summarizes the availability zone support for many Azure services, and
154154
| [Azure ExpressRoute](/azure/expressroute/expressroute-howto-gateway-migration-portal) | :::image type="content" source="media/icon-checkmark.svg" alt-text="Yes" border="false"::: | | Modification |
155155
| [Azure Files](migrate-storage.md) | :::image type="content" source="media/icon-checkmark.svg" alt-text="Yes" border="false"::: | | Enablement |
156156
| [Azure Functions](reliability-functions.md#availability-zone-migration) | :::image type="content" source="media/icon-checkmark.svg" alt-text="Yes" border="false"::: | | Redeployment |
157-
| [Azure HDInsight](reliability-hdinsight.md#availability-zone-migration) | :::image type="content" source="media/icon-checkmark.svg" alt-text="Yes" border="false"::: | :::image type="content" source="media/icon-checkmark.svg" alt-text="Yes" border="false"::: | Redeployment |
157+
| [Azure HDInsight](reliability-hdinsight.md#availability-zone-migration) | | :::image type="content" source="media/icon-checkmark.svg" alt-text="Yes" border="false"::: | Redeployment |
158158
| [Azure IoT Hub](./reliability-iot-hub.md#availability-zone-support) | :::image type="content" source="media/icon-checkmark.svg" alt-text="Yes" border="false"::: | | Always zone-resilient |
159159
| [Azure Key Vault](./reliability-key-vault.md#availability-zone-support) | :::image type="content" source="media/icon-checkmark.svg" alt-text="Yes" border="false"::: | | Always zone-resilient |
160160
| [Azure Kubernetes Service (AKS)](./reliability-aks.md#availability-zone-support) | :::image type="content" source="media/icon-checkmark.svg" alt-text="Yes" border="false"::: | | Redeployment |
@@ -166,7 +166,7 @@ This table summarizes the availability zone support for many Azure services, and
166166
| [Azure Queue Storage](./reliability-storage-queue.md#availability-zone-support) | :::image type="content" source="media/icon-checkmark.svg" alt-text="Yes" border="false"::: | | Enablement |
167167
| [Azure Service Bus](/azure/service-bus-messaging/service-bus-outages-disasters#availability-zones) | :::image type="content" source="media/icon-checkmark.svg" alt-text="Yes" border="false"::: | | Always zone-resilient |
168168
| [Azure Service Fabric](migrate-service-fabric.md) | :::image type="content" source="media/icon-checkmark.svg" alt-text="Yes" border="false"::: | :::image type="content" source="media/icon-checkmark.svg" alt-text="Yes" border="false"::: | Redeployment |
169-
| [Azure Site Recovery](migrate-recovery-services-vault.md) | :::image type="content" source="media/icon-checkmark.svg" alt-text="Yes" border="false"::: | | Redeployment |
169+
| [Azure Site Recovery](migrate-recovery-services-vault.md) | | :::image type="content" source="media/icon-checkmark.svg" alt-text="Yes" border="false"::: | Redeployment |
170170
| [Azure SQL Database: Hyperscale tier](/azure/azure-sql/database/enable-zone-redundancy?view=azuresql-db&preserve-view=true&toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json) | :::image type="content" source="media/icon-checkmark.svg" alt-text="Yes" border="false"::: | | Redeployment |
171171
| [Azure SQL Database: other tiers](/azure/azure-sql/database/enable-zone-redundancy?view=azuresql-db&preserve-view=true&toc=/azure/reliability/toc.json&bc=/azure/reliability/breadcrumb/toc.json) | :::image type="content" source="media/icon-checkmark.svg" alt-text="Yes" border="false"::: | | Enablement |
172172
| [Azure SQL Managed Instance](/azure/azure-sql/managed-instance/instance-zone-redundancy-configure) | :::image type="content" source="media/icon-checkmark.svg" alt-text="Yes" border="false"::: | | Enablement |

0 commit comments

Comments
 (0)