Skip to content

Commit 148926f

Browse files
committed
export
1 parent 8ee2123 commit 148926f

File tree

15 files changed

+367
-0
lines changed

15 files changed

+367
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# [Command] _network vnet-gateway migration abort_
2+
3+
Trigger abort migration for the virtual network gateway.
4+
5+
## Versions
6+
7+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vYWJvcnRtaWdyYXRpb24=/2024-07-01.xml) **Stable**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/abortmigration 2024-07-01 -->
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# [Command] _network vnet-gateway migration commit_
2+
3+
Trigger commit migration for the virtual network gateway.
4+
5+
## Versions
6+
7+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vY29tbWl0bWlncmF0aW9u/2024-07-01.xml) **Stable**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/commitmigration 2024-07-01 -->
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# [Command] _network vnet-gateway migration execute_
2+
3+
Trigger execute migration for the virtual network gateway.
4+
5+
## Versions
6+
7+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vZXhlY3V0ZW1pZ3JhdGlvbg==/2024-07-01.xml) **Stable**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/executemigration 2024-07-01 -->
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# [Command] _network vnet-gateway migration prepare_
2+
3+
Trigger prepare migration for the virtual network gateway.
4+
5+
## Versions
6+
7+
### [2024-07-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3JrZ2F0ZXdheXMve30vcHJlcGFyZW1pZ3JhdGlvbg==/2024-07-01.xml) **Stable**
8+
9+
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/preparemigration 2024-07-01 -->
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# [Group] _network vnet-gateway migration_
2+
3+
Migrate vpn gateway from basic IP CSES to Standard IP based VMSS deployment.
4+
5+
## Commands
6+
7+
- [abort](/Commands/network/vnet-gateway/migration/_abort.md)
8+
: Trigger abort migration for the virtual network gateway.
9+
10+
- [commit](/Commands/network/vnet-gateway/migration/_commit.md)
11+
: Trigger commit migration for the virtual network gateway.
12+
13+
- [execute](/Commands/network/vnet-gateway/migration/_execute.md)
14+
: Trigger execute migration for the virtual network gateway.
15+
16+
- [prepare](/Commands/network/vnet-gateway/migration/_prepare.md)
17+
: Trigger prepare migration for the virtual network gateway.

Commands/network/vnet-gateway/readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ To learn more about Azure Virtual Network Gateways, visit https://learn.microsof
1515
- [ipsec-policy](/Commands/network/vnet-gateway/ipsec-policy/readme.md)
1616
: Manage virtual network gateway IPSec policies.
1717

18+
- [migration](/Commands/network/vnet-gateway/migration/readme.md)
19+
: Migrate vpn gateway from basic IP CSES to Standard IP based VMSS deployment.
20+
1821
- [nat-rule](/Commands/network/vnet-gateway/nat-rule/readme.md)
1922
: Manage nat rule in a virtual network gateway.
2023

Commands/tree.json

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152261,6 +152261,110 @@
152261152261
"ipsec-policy"
152262152262
]
152263152263
},
152264+
"migration": {
152265+
"commands": {
152266+
"abort": {
152267+
"help": {
152268+
"short": "Trigger abort migration for the virtual network gateway."
152269+
},
152270+
"names": [
152271+
"network",
152272+
"vnet-gateway",
152273+
"migration",
152274+
"abort"
152275+
],
152276+
"versions": [
152277+
{
152278+
"name": "2024-07-01",
152279+
"resources": [
152280+
{
152281+
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/abortmigration",
152282+
"plane": "mgmt-plane",
152283+
"version": "2024-07-01"
152284+
}
152285+
]
152286+
}
152287+
]
152288+
},
152289+
"commit": {
152290+
"help": {
152291+
"short": "Trigger commit migration for the virtual network gateway."
152292+
},
152293+
"names": [
152294+
"network",
152295+
"vnet-gateway",
152296+
"migration",
152297+
"commit"
152298+
],
152299+
"versions": [
152300+
{
152301+
"name": "2024-07-01",
152302+
"resources": [
152303+
{
152304+
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/commitmigration",
152305+
"plane": "mgmt-plane",
152306+
"version": "2024-07-01"
152307+
}
152308+
]
152309+
}
152310+
]
152311+
},
152312+
"execute": {
152313+
"help": {
152314+
"short": "Trigger execute migration for the virtual network gateway."
152315+
},
152316+
"names": [
152317+
"network",
152318+
"vnet-gateway",
152319+
"migration",
152320+
"execute"
152321+
],
152322+
"versions": [
152323+
{
152324+
"name": "2024-07-01",
152325+
"resources": [
152326+
{
152327+
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/executemigration",
152328+
"plane": "mgmt-plane",
152329+
"version": "2024-07-01"
152330+
}
152331+
]
152332+
}
152333+
]
152334+
},
152335+
"prepare": {
152336+
"help": {
152337+
"short": "Trigger prepare migration for the virtual network gateway."
152338+
},
152339+
"names": [
152340+
"network",
152341+
"vnet-gateway",
152342+
"migration",
152343+
"prepare"
152344+
],
152345+
"versions": [
152346+
{
152347+
"name": "2024-07-01",
152348+
"resources": [
152349+
{
152350+
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/preparemigration",
152351+
"plane": "mgmt-plane",
152352+
"version": "2024-07-01"
152353+
}
152354+
]
152355+
}
152356+
]
152357+
}
152358+
},
152359+
"help": {
152360+
"short": "Migrate vpn gateway from basic IP CSES to Standard IP based VMSS deployment."
152361+
},
152362+
"names": [
152363+
"network",
152364+
"vnet-gateway",
152365+
"migration"
152366+
]
152367+
},
152264152368
"nat-rule": {
152265152369
"commands": {
152266152370
"add": {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/commitmigration", "version": "2024-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfS9jb21taXRNaWdyYXRpb24=/V/MjAyNC0wNy0wMQ=="}], "commandGroups": [{"name": "network vnet-gateway migration", "commands": [{"name": "commit", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/commitmigration", "version": "2024-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfS9jb21taXRNaWdyYXRpb24=/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["n", "gateway-name", "vnet-gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the gateway."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "VirtualNetworkGateways_InvokeCommitMigration", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/commitMigration", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}]}]}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?xml version='1.0' encoding='utf-8'?>
2+
<CodeGen plane="mgmt-plane">
3+
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/commitmigration" version="2024-07-01" swagger="mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfS9jb21taXRNaWdyYXRpb24=/V/MjAyNC0wNy0wMQ=="/>
4+
<commandGroup name="network vnet-gateway migration">
5+
<command name="commit" version="2024-07-01" confirmation="">
6+
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/commitmigration" version="2024-07-01" swagger="mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfS9jb21taXRNaWdyYXRpb24=/V/MjAyNC0wNy0wMQ=="/>
7+
<argGroup name="">
8+
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
9+
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
10+
<arg type="string" var="$Path.virtualNetworkGatewayName" options="vnet-gateway-name gateway-name n" required="True" group="" idPart="name">
11+
<help short="The name of the gateway."/>
12+
</arg>
13+
</argGroup>
14+
<operation operationId="VirtualNetworkGateways_InvokeCommitMigration">
15+
<longRunning finalStateVia="location"/>
16+
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/commitMigration">
17+
<request method="post">
18+
<path>
19+
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"/>
20+
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
21+
<param type="string" name="virtualNetworkGatewayName" arg="$Path.virtualNetworkGatewayName" required="True"/>
22+
</path>
23+
<query>
24+
<const readOnly="True" const="True" type="string" name="api-version" required="True">
25+
<default value="&quot;2024-07-01&quot;"/>
26+
</const>
27+
</query>
28+
</request>
29+
<response statusCode="202">
30+
<header>
31+
<item name="location"/>
32+
</header>
33+
</response>
34+
<response isError="True">
35+
<body>
36+
<json>
37+
<schema type="@ODataV4Format"/>
38+
</json>
39+
</body>
40+
</response>
41+
</http>
42+
</operation>
43+
</command>
44+
</commandGroup>
45+
</CodeGen>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/abortmigration", "version": "2024-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfS9hYm9ydE1pZ3JhdGlvbg==/V/MjAyNC0wNy0wMQ=="}], "commandGroups": [{"name": "network vnet-gateway migration", "commands": [{"name": "abort", "version": "2024-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworkgateways/{}/abortmigration", "version": "2024-07-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya0dhdGV3YXlzL3t2aXJ0dWFsTmV0d29ya0dhdGV3YXlOYW1lfS9hYm9ydE1pZ3JhdGlvbg==/V/MjAyNC0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualNetworkGatewayName", "options": ["n", "gateway-name", "vnet-gateway-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the gateway."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "VirtualNetworkGateways_InvokeAbortMigration", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/abortMigration", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkGatewayName", "arg": "$Path.virtualNetworkGatewayName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-07-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "location"}]}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}]}]}

0 commit comments

Comments
 (0)