You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/networking/troubleshoot-failed-state.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,21 +30,21 @@ The provisioning state is the status of a user-initiated, control-plane operatio
30
30
31
31
These states are metadata properties of the resource. They're independent from the functionality of the resource itself. Being in the failed state doesn't necessarily mean that the resource isn't functional. In most cases, it can continue operating and serving traffic without issues.
32
32
33
-
In several scenarios, if the resource is in the failed state, further operations on the resource or on other resources that depend on it might fail. The state needs to be reverted back to succeeded before executing other operations.
33
+
In several scenarios, if the resource is in the failed state, further operations on the resource or on other resources that depend on it might fail. You need to revert the state back to succeeded before running other operations.
34
34
35
35
For example, you can't run an operation on a `VirtualNetworkGateway` if it has a dependent `VirtualNetworkGatewayConnection` object in failed state.
36
36
37
37
## Restoring succeeded state through a PUT operation
38
38
39
-
The correct way to restore succeeded state is to execute another write (`PUT`) operation on the resource.
39
+
To restore succeeded state, run another write (`PUT`) operation on the resource.
40
40
41
41
The issue that caused the previous operation might no longer be current. The newer write operation should be successful and restore the provisioning state.
42
42
43
-
The easiest way to achieve this task is to use Azure PowerShell. Issue a resource-specific *Get* command that fetches all the current configuration for the impacted resource as it is deployed. Next, run a *Set* command, or equivalent, to commit to Azure a write operation that contains all the resource properties as currently configured.
43
+
The easiest way to achieve this task is to use Azure PowerShell. Issue a resource-specific *Get* command that fetches all the current configuration for the resource. Next, run a *Set* command, or equivalent, to commit to Azure a write operation that contains all the resource properties as currently configured.
44
44
45
45
> [!IMPORTANT]
46
46
>
47
-
> - Running a `Set` command on the resource without first running a `Get` results in overwriting the resource with default settings. Those settings might be different from the ones you currently have configured. Don't just run a `Set` command unless resetting settings is intentional.
47
+
> - Running a `Set` command on the resource without first running a `Get` results in overwriting the resource with default settings. Those settings might be different from the ones you currently have configured. Don't just run a `Set` command unless you intend to reset to default.
48
48
> - Running a `Get` and `Set` operation using third party software or any tool using older API version might also result in loss of some settings. Those settings might not be present in the API version with which you run the command.
49
49
>
50
50
## Azure PowerShell cmdlets to restore succeeded provisioning state
> `Microsoft.Network/expressRouteGateways` are those gateways deployed within a Virtual WAN. If you have a standalone ExpressRoute gateway in your Virtual Network, run the commands related to [Microsoft.Network/virtualNetworkGateways](#microsoftnetworkvirtualnetworkgateways).
126
+
> `Microsoft.Network/expressRouteGateways` are deployed within a Virtual WAN. If you have a standalone ExpressRoute gateway in your virtual network, run the commands related to [Microsoft.Network/virtualNetworkGateways](#microsoftnetworkvirtualnetworkgateways).
> -`Microsoft.Network/vpnGateways` are those gateways deployed within a Virtual WAN. If you have a standalone VPN gateway in your virtual network, run the commands related to [Microsoft.Network/virtualNetworkGateways](#microsoftnetworkvirtualnetworkgateways).
253
+
> -`Microsoft.Network/vpnGateways` are deployed within a Virtual WAN. If you have a standalone VPN gateway in your virtual network, run the commands related to [Microsoft.Network/virtualNetworkGateways](#microsoftnetworkvirtualnetworkgateways).
254
254
> - Most Virtual WAN related resources, such as vpnGateways, use the `Update` cmdlet, not the `Set` for write operations.
> Most Virtual WAN related resources, such as vpnSites, use the `Update` cmdlet, not the `Set` for write operations.
263
+
> Most Virtual WAN related resources, such as vpnSites, use the `Update` cmdlet, not the `Set`, for write operations.
264
264
265
265
## Next steps
266
266
267
-
If the command that you ran didn't fix the failed state, it should return an error code.
267
+
If the command that you ran didn't resolve the failed state, it should return an error code.
268
268
Most error codes contain a detailed description of what the problem might be and offer hints to solve it.
269
269
270
-
If you're still experiencing issues, open a support ticket with [Microsoft support](https://portal.azure.com/?#blade/Microsoft_Azure_Support/HelpAndSupportBlade). Make sure you specify to the support agent both the error code you received in the latest operation and the timestamp when you ran the operation.
270
+
If you're still experiencing issues, open a support ticket with [Microsoft support](https://portal.azure.com/?#blade/Microsoft_Azure_Support/HelpAndSupportBlade). Specify to the support agent both the error code that you received in the latest operation and the timestamp when you ran the operation.
Learn how to create and remove a NAT gateway resource from a virtual network subnet. A NAT gateway enables outbound connectivity for resources in an Azure Virtual Network. You might want to change the IP address or prefix that your resources use for outbound connectivity to the internet. The public IP address and public IP address prefix associated with the NAT gateway can be changed after deployment.
16
+
Learn how to create and remove a NAT gateway resource from a virtual network subnet. A NAT gateway enables outbound connectivity for resources in an Azure Virtual Network. You can change the public IP addresses and public IP address prefixes associated with the NAT gateway changed after deployment.
17
17
18
18
This article explains how to manage the following aspects of NAT gateway:
19
19
@@ -45,7 +45,7 @@ To use Azure PowerShell for this article, you need:
45
45
46
46
- Ensure that your `Az.Network` module is 4.3.0 or later. To verify the installed module, use the command `Get-InstalledModule -Name "Az.Network"`. If the module requires an update, use the command `Update-Module -Name Az.Network`.
47
47
48
-
- Sign in to Azure PowerShell and select the subscription with which you want to use this feature. For more information, see [Sign in with Azure PowerShell](/powershell/azure/authenticate-azureps).
48
+
- Sign in to Azure PowerShell and select the subscription that you want to use. For more information, see [Sign in with Azure PowerShell](/powershell/azure/authenticate-azureps).
49
49
50
50
To use Azure CLI for this article, you need:
51
51
@@ -67,16 +67,12 @@ You can create a NAT gateway resource and add it to an existing subnet by using
67
67
68
68
1. Enter the following information in the **Basics** tab of **Create network address translation (NAT) gateway**.
69
69
70
-
| Setting | Value |
71
-
| ------- | ----- |
72
-
|**Project details**||
73
-
| Subscription | Select your subscription. |
74
-
| Resource group | Select your resource group or select **Create new** to create a new resource group. |
75
-
|**Instance details**||
76
-
| NAT gateway name | Enter **myNATgateway**. |
77
-
| Region | Select your region. This example uses **East US 2**. |
78
-
| Availability zone | Select an availability zone. This example uses **No Zone**. For more information about NAT gateway availability, see [NAT gateway and availability zones](nat-availability-zones.md). |
79
-
| TCP idle timeout (minutes) | Select an idle timeout. This example uses the default of **4**. |
70
+
- Select your **Subscription**.
71
+
- Select your resource group or select **Create new** to create a new resource group.
72
+
-**NAT gateway name**. Enter *myNATgateway*.
73
+
- Select your **Region**. This example uses **East US 2**.
74
+
- Select an **Availability zone**. This example uses **No Zone**. For more information about NAT gateway availability, see [NAT gateway and availability zones](nat-availability-zones.md). |
75
+
- Select a **TCP idle timeout (minutes)**. This example uses the default of **4**.
80
76
81
77
1. Select the **Outbound IP** tab, or select **Next: Outbound IP**.
82
78
@@ -149,6 +145,7 @@ $sub = @{
149
145
Name = 'mySubnet'
150
146
VirtualNetwork = $vnet
151
147
NatGateway = $natGateway
148
+
AddressPrefix = '10.0.2.0/24'
152
149
}
153
150
Set-AzVirtualNetworkSubnetConfig @sub
154
151
@@ -300,7 +297,7 @@ To remove a NAT gateway from an existing subnet, complete the following steps.
300
297
301
298
1. Select **myNATgateway**.
302
299
303
-
1.Select**Subnets** in**Settings**.
300
+
1.Under**Settings**, select**Subnets**.
304
301
305
302
1. Select **Disassociate** to remove the NAT gateway from the configured subnet.
306
303
@@ -357,17 +354,16 @@ Complete the following steps to add or remove a public IP address from a NAT gat
357
354
358
355
1. Enter the following information in **Create public IP address**.
359
356
360
-
| Setting | Value |
361
-
| ------- | ----- |
362
-
| Subscription | Select your subscription. |
363
-
| Resource group | Select your resource group. The example uses **myResourceGroup**. |
364
-
| Region | Select a region. This example uses **East US 2**. |
365
-
| Name | Enter *myPublicIP-NAT2*. |
366
-
| IP version | Select **IPv4**. |
367
-
| SKU | Select **Standard**. |
368
-
| Availability zone | Select the default of **Zone-redundant**. |
369
-
| Tier | Select **Regional**. |
370
-
| Routing preference | Leave the default of **Microsoft network**. |
357
+
| Setting | Value |
358
+
| ------- | ----- |
359
+
| Subscription | Select your subscription. |
360
+
| Resource group | Select your resource group. The example uses **myResourceGroup**. |
361
+
| Region | Select a region. This example uses **East US 2**. |
362
+
| Name | Enter *myPublicIP-NAT2*. |
363
+
| IP version | Select **IPv4**. |
364
+
| SKU | Select **Standard**. |
365
+
| Availability zone | Select the default of **Zone-redundant**. |
366
+
| Tier | Select **Regional**. |
371
367
372
368
1. Select **Review + create** and then select **Create**.
373
369
@@ -533,17 +529,17 @@ Complete the following steps to add or remove a public IP prefix from a NAT gate
533
529
534
530
1. Enter the following information in the **Basics** tab of **Create a public IP prefix**.
535
531
536
-
| Setting | Value |
537
-
| ------- | ----- |
538
-
|**Project details**||
539
-
| Subscription | Select your subscription. |
540
-
| Resource group | Select your resource group. This example uses **myResourceGroup**. |
541
-
|**Instance details**||
542
-
| Name | Enter *myPublicIPPrefix-NAT*. |
543
-
| Region | Select your region. This example uses **East US 2**. |
Copy file name to clipboardExpand all lines: articles/virtual-network/update-virtual-network-peering-address-space.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,14 +17,14 @@ In this article, you learn how to update a peered virtual network by modifying,
17
17
## Prerequisites
18
18
19
19
- An existing peered virtual network with two virtual networks
20
-
- If adding address space, ensure it doesn't overlap other address spaces
20
+
- If you add an address space, ensure that it doesn't overlap other address spaces
21
21
22
22
## Modify the address range prefix of an existing address range
23
23
24
24
In this section, you modify the address range prefix for an existing address range within your peered virtual network.
25
25
26
-
1. In the search box at the top of the Azure portal, enter *virtual networks*. Select **Virtual networks**in the search results.
27
-
1. From the list of virtual networks, select the virtual network where you're modifying an address range.
26
+
1. In the search box at the top of the Azure portal, enter *virtual networks*. Select **Virtual networks**from the search results.
27
+
1. From the list of virtual networks, select the virtual network to modify.
28
28
1. Under **Settings**, select **Address space**.
29
29
1. On the **Address space** page, change the address range prefix per your requirements, and select **Save**.
30
30
@@ -41,7 +41,7 @@ In this section, you modify the address range prefix for an existing address ran
41
41
:::image type="content" source="media/update-virtual-network-peering-address-space/verify-address-space-thumb.png" alt-text="Screenshot of the Address Space page where you verify the address space has changed." lightbox="media/update-virtual-network-peering-address-space/verify-address-space-full.png":::
42
42
43
43
> [!NOTE]
44
-
> When you update the address space for a virtual network, you need to sync the virtual network peer for each remote peered virtual network to learn of the new address space updates. We recommend that you run sync after every resize address space operation instead of performing multiple resizing operations and then running the sync operation.
44
+
> When you update the address space for a virtual network, you need to sync the virtual network peer for each remote peered virtual network. We recommend that you run sync after every resize address space operation instead of performing multiple resizing operations and then running the sync operation.
45
45
>
46
46
> The following actions require you to sync:
47
47
>
@@ -53,7 +53,7 @@ In this section, you modify the address range prefix for an existing address ran
53
53
54
54
In this section, you add an IP address range to the IP address space of a peered virtual network.
55
55
56
-
1. In the search box at the top of the Azure portal, enter *virtual networks*. When**Virtual networks**appears in the search results, select it.
56
+
1. In the search box at the top of the Azure portal, enter *virtual networks*. Select**Virtual networks**from the search results.
57
57
1. From the list of virtual networks, select the virtual network where you're adding an address range.
58
58
1. Under **Settings**, select **Address space**.
59
59
1. On the **Address space** page, add the address range per your requirements, and select **Save** when finished.
0 commit comments