Skip to content

Commit a3dada0

Browse files
authored
Formatting fixes
1 parent d527e5d commit a3dada0

File tree

1 file changed

+23
-25
lines changed

1 file changed

+23
-25
lines changed

articles/connectors/enable-stateful-affinity-built-in-connectors.md

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,16 @@ To run these connector operations in stateful mode, you must enable this capabil
2525

2626
- An Azure account and subscription. If you don't have a subscription, [sign up for a free Azure account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
2727

28-
- The Standard logic app resource where you plan to create the workflow that uses the stateful mode-enabled connector operations. If you don't have this resource, [create your Standard logic app resource now](../logic-apps/create-single-tenant-workflows-azure-portal.md).
28+
- The Standard logic app resource where you plan to create the workflow that uses the stateful mode-enabled connector operations. If you don't have this resource, [create your Standard logic app resource now](/azure/logic-apps/create-single-tenant-workflows-azure-portal).
2929

3030
- An Azure virtual network with a subnet to integrate with your logic app. If you don't have these items, see the following documentation:
3131

32-
- [Quickstart: Create a virtual network with the Azure portal](../virtual-network/quick-create-portal.md)
33-
- [Add, change, or delete a virtual network subnet](../virtual-network/virtual-network-manage-subnet.md?tabs=azure-portal)
32+
- [Quickstart: Create a virtual network with the Azure portal](/azure/virtual-network/quick-create-portal)
33+
- [Add, change, or delete a virtual network subnet](/azurevirtual-network/virtual-network-manage-subnet?tabs=azure-portal)
3434

3535
## Enable stateful mode in the Azure portal
3636

37-
> [!NOTE]
38-
> If you use network security groups in your virtual network, stateful mode requires that
39-
> you open [ports 20,000 to 30,000](../app-service/overview-vnet-integration.md#private-ports).
37+
If you use network security groups in your virtual network, stateful mode requires that you open [ports 20,000 to 30,000](../app-service/overview-vnet-integration.md#private-ports).
4038

4139
1. In the [Azure portal](https://portal.azure.com), open the Standard logic app resource where you want to enable stateful mode for these connector operations.
4240

@@ -100,22 +98,22 @@ OAuth authorization and the bearer token are required. To get the bearer token,
10098

10199
Updates a resource by using the specified resource ID:
102100

103-
`PATCH https://management.azure.com/{resourceId}?api-version=2021-04-01`
101+
**`PATCH https://management.azure.com/<resource-ID>?api-version=2021-04-01`**
104102

105103
#### Parameter values
106104

107105
| Element | Value |
108106
|---------|--------|
109107
| HTTP request method | **PATCH** |
110-
| <*resourceId*> | **subscriptions/{yourSubscriptionID}/resourcegroups/{yourResourceGroup}/providers/Microsoft.Web/sites/{websiteName}/config/web** |
111-
| <*yourSubscriptionId*> | The ID for your Azure subscription |
112-
| <*yourResourceGroup*> | The resource group that contains your logic app resource |
113-
| <*websiteName*> | The name for your logic app resource, which is **mystandardlogicapp** in this example |
114-
| HTTP request body | **{"properties": {"vnetPrivatePortsCount": "2"}}** |
108+
| <*resource-ID*> | **`subscriptions/<Azure-subscription-ID>/resourcegroups/<resource-group>/providers/Microsoft.Web/sites/<website-name>/config/web`** |
109+
| <*Azure-subscription-ID*> | The ID for your Azure subscription |
110+
| <*resource-group*> | The resource group that contains your logic app resource, which is **My-Standard-RG** in this example |
111+
| <*website-name*> | The name for your logic app resource, which is **mystandardlogicapp** in this example |
112+
| HTTP request body | **`{"properties": {"vnetPrivatePortsCount": "2"}}`** |
115113

116114
#### Example
117115

118-
`https://management.azure.com/subscriptions/XXxXxxXX-xXXx-XxxX-xXXX-XXXXxXxXxxXX/resourcegroups/My-Standard-RG/providers/Microsoft.Web/sites/mystandardlogicapp/config/web?api-version=2021-02-01`
116+
**`https://management.azure.com/subscriptions/XXxXxxXX-xXXx-XxxX-xXXX-XXXXxXxXxxXX/resourcegroups/My-Standard-RG/providers/Microsoft.Web/sites/mystandardlogicapp/config/web?api-version=2021-02-01`**
119117

120118
### Azure PowerShell
121119

@@ -124,10 +122,10 @@ To complete this task with Azure PowerShell, review the following requirements,
124122
#### Syntax
125123

126124
```powershell
127-
Set-AzContext -Subscription {yourSubscriptionID}
128-
$webConfig = Get-AzResource -ResourceId {resourceId}
125+
Set-AzContext -Subscription <Azure-subscription-ID>
126+
$webConfig = Get-AzResource -ResourceId <resource-ID>
129127
$webConfig.Properties.vnetPrivatePortsCount = 2
130-
$webConfig | Set-AzResource -ResourceId {resourceId}
128+
$webConfig | Set-AzResource -ResourceId <resource-ID>
131129
```
132130

133131
For more information, see the following documentation:
@@ -140,14 +138,14 @@ For more information, see the following documentation:
140138

141139
| Element | Value |
142140
|---------|--------|
143-
| <*yourSubscriptionID*> | The ID for your Azure subscription |
144-
| <*resourceId*> | **subscriptions/{yourSubscriptionID}/resourcegroups/{yourResourceGroup}/providers/Microsoft.Web/sites/{websiteName}/config/web** |
145-
| <*yourResourceGroup*> | The resource group that contains your logic app resource |
146-
| <*websiteName*> | The name for your logic app resource, which is **mystandardlogicapp** in this example |
141+
| <*Azure-subscription-ID*> | The ID for your Azure subscription |
142+
| <*resource-ID*> | **`subscriptions/<Azure-subscription-ID>/resourcegroups/<resource-group>/providers/Microsoft.Web/sites/<website-name>/config/web`** |
143+
| <*resource-group*> | The resource group that contains your logic app resource, which is **My-Standard-RG** in this example |
144+
| <*website-name*> | The name for your logic app resource, which is **mystandardlogicapp** in this example |
147145

148146
#### Example
149147

150-
`https://management.azure.com/subscriptions/XXxXxxXX-xXXx-XxxX-xXXX-XXXXxXxXxxXX/resourcegroups/My-Standard-RG/providers/Microsoft.Web/sites/mystandardlogicapp/config/web?api-version=2021-02-01`
148+
**`https://management.azure.com/subscriptions/<Azure-subscription-ID>/resourcegroups/My-Standard-RG/providers/Microsoft.Web/sites/mystandardlogicapp/config/web?api-version=2021-02-01`**
151149

152150
#### Troubleshoot errors
153151

@@ -199,15 +197,15 @@ Set-AzResource :
199197

200198
Resource scale-in events might cause the loss of context for built-in connectors with stateful mode enabled. To prevent this potential loss before such events can happen, fix the number of instances available for your logic app resource. This way, no scale-in events can happen to cause this potential context loss.
201199

202-
1. On your logic app resource menu, under **Settings**, select **Scale out**.
200+
1. On your logic app resource menu, under **Settings**, select **Scale out (App Service plan)**.
203201

204-
1. On the **Scale out** page, in the **App Scale out** section, follow these steps:
202+
1. On the **Scale out (App Service plan)** page, in the **App Scale out** section, follow these steps:
205203

206-
1. Set **Enforce Scale Out Limit** to **Yes**, which shows the **Maximum Scale Out Limit**.
204+
1. Set **Enforce Scale Out Limit** to **Yes**, which shows the **Maximum Scale Out Limit** property.
207205

208206
1. Set **Always Ready Instances** to the same number as **Maximum Scale Out Limit** and **Maximum Burst**, which appears in the **Plan Scale out** section, for example:
209207

210-
:::image type="content" source="media/enable-stateful-affinity-built-in-connectors/scale-in-settings.png" alt-text="Screenshot shows Azure portal, Standard logic app resource, Scale out page, and Always Ready Instances number set to match Maximum Burst and Maximum Scale Out Limit.":::
208+
:::image type="content" source="media/enable-stateful-affinity-built-in-connectors/scale-in-settings.png" alt-text="Screenshot shows Azure portal, Standard logic app resource, Scale out page, and Always Ready Instances number set to match Maximum Burst and Maximum Scale Out Limit.":::
211209

212210
1. When you're done, on the **Scale out** toolbar, select **Save**.
213211

0 commit comments

Comments
 (0)