diff --git a/Commands/network/vnet/peering/_create.md b/Commands/network/vnet/peering/_create.md index f7e97af79..0070b22af 100644 --- a/Commands/network/vnet/peering/_create.md +++ b/Commands/network/vnet/peering/_create.md @@ -38,3 +38,14 @@ To successfully peer two virtual networks this command must be called twice with ```bash network vnet peering create -g MyResourceGroup -n MyVnet1ToMyVnet2 --vnet-name MyVnet1 --remote-vnet MyVnet2Id --allow-vnet-access ``` + +### [2023-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS92aXJ0dWFsbmV0d29ya3BlZXJpbmdzL3t9/2023-11-01.xml) **Stable** + + + +#### examples + +- Create a peering connection between two virtual networks. + ```bash + network vnet peering create -g MyResourceGroup -n MyVnet1ToMyVnet2 --vnet-name MyVnet1 --remote-vnet MyVnet2Id --allow-vnet-access + ``` diff --git a/Commands/network/vnet/peering/_delete.md b/Commands/network/vnet/peering/_delete.md index 2cbeb15e7..a4e50db1e 100644 --- a/Commands/network/vnet/peering/_delete.md +++ b/Commands/network/vnet/peering/_delete.md @@ -36,3 +36,14 @@ Delete a peering. ```bash network vnet peering delete -g MyResourceGroup -n MyVnet1ToMyVnet2 --vnet-name MyVnet1 ``` + +### [2023-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS92aXJ0dWFsbmV0d29ya3BlZXJpbmdzL3t9/2023-11-01.xml) **Stable** + + + +#### examples + +- Delete a virtual network peering connection. + ```bash + network vnet peering delete -g MyResourceGroup -n MyVnet1ToMyVnet2 --vnet-name MyVnet1 + ``` diff --git a/Commands/network/vnet/peering/_list.md b/Commands/network/vnet/peering/_list.md index 08eca24ff..00a2a2bfe 100644 --- a/Commands/network/vnet/peering/_list.md +++ b/Commands/network/vnet/peering/_list.md @@ -36,3 +36,14 @@ List peerings. ```bash network vnet peering list -g MyResourceGroup --vnet-name MyVnet1 ``` + +### [2023-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS92aXJ0dWFsbmV0d29ya3BlZXJpbmdz/2023-11-01.xml) **Stable** + + + +#### examples + +- List all peerings of a specified virtual network. + ```bash + network vnet peering list -g MyResourceGroup --vnet-name MyVnet1 + ``` diff --git a/Commands/network/vnet/peering/_show.md b/Commands/network/vnet/peering/_show.md index 0b0f945f7..357f10ba1 100644 --- a/Commands/network/vnet/peering/_show.md +++ b/Commands/network/vnet/peering/_show.md @@ -36,3 +36,14 @@ Show details of a peering. ```bash network vnet peering show -g MyResourceGroup -n MyVnet1ToMyVnet2 --vnet-name MyVnet1 ``` + +### [2023-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS92aXJ0dWFsbmV0d29ya3BlZXJpbmdzL3t9/2023-11-01.xml) **Stable** + + + +#### examples + +- Show all details of the specified virtual network peering. + ```bash + network vnet peering show -g MyResourceGroup -n MyVnet1ToMyVnet2 --vnet-name MyVnet1 + ``` diff --git a/Commands/network/vnet/peering/_update.md b/Commands/network/vnet/peering/_update.md index c692247c2..e114cee8f 100644 --- a/Commands/network/vnet/peering/_update.md +++ b/Commands/network/vnet/peering/_update.md @@ -81,3 +81,29 @@ Update a peering. ```bash network vnet peering update -g MyResourceGroup -n MyVnet1ToMyVnet2 --vnet-name MyVnet1 --set useRemoteGateways=true ``` + +### [2023-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS92aXJ0dWFsbmV0d29ya3BlZXJpbmdzL3t9/2023-11-01.xml) **Stable** + + + +#### examples + +- Change forwarded traffic configuration of a virtual network peering. + ```bash + network vnet peering update -g MyResourceGroup -n MyVnet1ToMyVnet2 --vnet-name MyVnet1 --set allowForwardedTraffic=true + ``` + +- Change virtual network access of a virtual network peering. + ```bash + network vnet peering update -g MyResourceGroup -n MyVnet1ToMyVnet2 --vnet-name MyVnet1 --set allowVirtualNetworkAccess=true + ``` + +- Change gateway transit property configuration of a virtual network peering. + ```bash + network vnet peering update -g MyResourceGroup -n MyVnet1ToMyVnet2 --vnet-name MyVnet1 --set allowGatewayTransit=true + ``` + +- Use remote gateways in virtual network peering. + ```bash + network vnet peering update -g MyResourceGroup -n MyVnet1ToMyVnet2 --vnet-name MyVnet1 --set useRemoteGateways=true + ``` diff --git a/Commands/tree.json b/Commands/tree.json index d52f0ea4d..2fed4759a 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -115321,6 +115321,24 @@ "version": "2017-10-01" } ] + }, + { + "examples": [ + { + "commands": [ + "network vnet peering create -g MyResourceGroup -n MyVnet1ToMyVnet2 --vnet-name MyVnet1 --remote-vnet MyVnet2Id --allow-vnet-access" + ], + "name": "Create a peering connection between two virtual networks." + } + ], + "name": "2023-11-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/virtualnetworkpeerings/{}", + "plane": "mgmt-plane", + "version": "2023-11-01" + } + ] } ] }, @@ -115388,6 +115406,24 @@ "version": "2017-10-01" } ] + }, + { + "examples": [ + { + "commands": [ + "network vnet peering delete -g MyResourceGroup -n MyVnet1ToMyVnet2 --vnet-name MyVnet1" + ], + "name": "Delete a virtual network peering connection." + } + ], + "name": "2023-11-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/virtualnetworkpeerings/{}", + "plane": "mgmt-plane", + "version": "2023-11-01" + } + ] } ] }, @@ -115455,6 +115491,24 @@ "version": "2017-10-01" } ] + }, + { + "examples": [ + { + "commands": [ + "network vnet peering list -g MyResourceGroup --vnet-name MyVnet1" + ], + "name": "List all peerings of a specified virtual network." + } + ], + "name": "2023-11-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/virtualnetworkpeerings", + "plane": "mgmt-plane", + "version": "2023-11-01" + } + ] } ] }, @@ -115522,6 +115576,24 @@ "version": "2017-10-01" } ] + }, + { + "examples": [ + { + "commands": [ + "network vnet peering show -g MyResourceGroup -n MyVnet1ToMyVnet2 --vnet-name MyVnet1" + ], + "name": "Show all details of the specified virtual network peering." + } + ], + "name": "2023-11-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/virtualnetworkpeerings/{}", + "plane": "mgmt-plane", + "version": "2023-11-01" + } + ] } ] }, @@ -115643,6 +115715,42 @@ "version": "2017-10-01" } ] + }, + { + "examples": [ + { + "commands": [ + "network vnet peering update -g MyResourceGroup -n MyVnet1ToMyVnet2 --vnet-name MyVnet1 --set allowForwardedTraffic=true" + ], + "name": "Change forwarded traffic configuration of a virtual network peering." + }, + { + "commands": [ + "network vnet peering update -g MyResourceGroup -n MyVnet1ToMyVnet2 --vnet-name MyVnet1 --set allowVirtualNetworkAccess=true" + ], + "name": "Change virtual network access of a virtual network peering." + }, + { + "commands": [ + "network vnet peering update -g MyResourceGroup -n MyVnet1ToMyVnet2 --vnet-name MyVnet1 --set allowGatewayTransit=true" + ], + "name": "Change gateway transit property configuration of a virtual network peering." + }, + { + "commands": [ + "network vnet peering update -g MyResourceGroup -n MyVnet1ToMyVnet2 --vnet-name MyVnet1 --set useRemoteGateways=true" + ], + "name": "Use remote gateways in virtual network peering." + } + ], + "name": "2023-11-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/virtualnetworkpeerings/{}", + "plane": "mgmt-plane", + "version": "2023-11-01" + } + ] } ] } diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS92aXJ0dWFsbmV0d29ya3BlZXJpbmdz/2023-11-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS92aXJ0dWFsbmV0d29ya3BlZXJpbmdz/2023-11-01.json new file mode 100644 index 000000000..b48d819b9 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS92aXJ0dWFsbmV0d29ya3BlZXJpbmdz/2023-11-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/virtualnetworkpeerings", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya3Mve3ZpcnR1YWxOZXR3b3JrTmFtZX0vdmlydHVhbE5ldHdvcmtQZWVyaW5ncw==/V/MjAyMy0xMS0wMQ=="}], "commandGroups": [{"name": "network vnet peering", "commands": [{"name": "list", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/virtualnetworkpeerings", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya3Mve3ZpcnR1YWxOZXR3b3JrTmFtZX0vdmlydHVhbE5ldHdvcmtQZWVyaW5ncw==/V/MjAyMy0xMS0wMQ=="}], "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.virtualNetworkName", "options": ["vnet-name"], "required": true, "idPart": "name", "help": {"short": "The virtual network (VNet) name."}}]}], "operations": [{"operationId": "VirtualNetworkPeerings_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkName", "arg": "$Path.virtualNetworkName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/virtualNetworkPeerings/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "allowForwardedTraffic"}, {"type": "boolean", "name": "allowGatewayTransit"}, {"type": "boolean", "name": "allowVirtualNetworkAccess"}, {"type": "boolean", "name": "doNotVerifyRemoteGateways"}, {"type": "boolean", "name": "enableOnlyIPv6Peering"}, {"type": "object", "name": "localAddressSpace", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "localSubnetNames", "item": {"type": "string"}}, {"type": "@AddressSpace_read", "name": "localVirtualNetworkAddressSpace"}, {"type": "boolean", "name": "peerCompleteVnets"}, {"type": "string", "name": "peeringState", "enum": {"items": [{"value": "Connected"}, {"value": "Disconnected"}, {"value": "Initiated"}]}}, {"type": "string", "name": "peeringSyncLevel", "enum": {"items": [{"value": "FullyInSync"}, {"value": "LocalAndRemoteNotInSync"}, {"value": "LocalNotInSync"}, {"value": "RemoteNotInSync"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@AddressSpace_read", "name": "remoteAddressSpace"}, {"type": "object", "name": "remoteBgpCommunities", "props": [{"readOnly": true, "type": "string", "name": "regionalCommunity"}, {"type": "string", "name": "virtualNetworkCommunity", "required": true}]}, {"type": "array", "name": "remoteSubnetNames", "item": {"type": "string"}}, {"type": "object", "name": "remoteVirtualNetwork", "props": [{"type": "string", "name": "id"}]}, {"type": "@AddressSpace_read", "name": "remoteVirtualNetworkAddressSpace"}, {"type": "object", "name": "remoteVirtualNetworkEncryption", "props": [{"type": "boolean", "name": "enabled", "required": true}, {"type": "string", "name": "enforcement", "enum": {"items": [{"value": "AllowUnencrypted"}, {"value": "DropUnencrypted"}]}}]}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "boolean", "name": "useRemoteGateways"}], "clientFlatten": true}, {"type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS92aXJ0dWFsbmV0d29ya3BlZXJpbmdz/2023-11-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS92aXJ0dWFsbmV0d29ya3BlZXJpbmdz/2023-11-01.xml new file mode 100644 index 000000000..0fa3659c9 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS92aXJ0dWFsbmV0d29ya3BlZXJpbmdz/2023-11-01.xml @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS92aXJ0dWFsbmV0d29ya3BlZXJpbmdzL3t9/2023-11-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS92aXJ0dWFsbmV0d29ya3BlZXJpbmdzL3t9/2023-11-01.json new file mode 100644 index 000000000..bdda37239 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS92aXJ0dWFsbmV0d29ya3BlZXJpbmdzL3t9/2023-11-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/virtualnetworkpeerings/{}", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya3Mve3ZpcnR1YWxOZXR3b3JrTmFtZX0vdmlydHVhbE5ldHdvcmtQZWVyaW5ncy97dmlydHVhbE5ldHdvcmtQZWVyaW5nTmFtZX0=/V/MjAyMy0xMS0wMQ=="}], "commandGroups": [{"name": "network vnet peering", "commands": [{"name": "show", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/virtualnetworkpeerings/{}", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya3Mve3ZpcnR1YWxOZXR3b3JrTmFtZX0vdmlydHVhbE5ldHdvcmtQZWVyaW5ncy97dmlydHVhbE5ldHdvcmtQZWVyaW5nTmFtZX0=/V/MjAyMy0xMS0wMQ=="}], "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.virtualNetworkName", "options": ["vnet-name"], "required": true, "idPart": "name", "help": {"short": "The virtual network (VNet) name."}}, {"type": "string", "var": "$Path.virtualNetworkPeeringName", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the VNet peering."}}]}], "operations": [{"operationId": "VirtualNetworkPeerings_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkName", "arg": "$Path.virtualNetworkName", "required": true}, {"type": "string", "name": "virtualNetworkPeeringName", "arg": "$Path.virtualNetworkPeeringName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/virtualNetworkPeerings/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "allowForwardedTraffic"}, {"type": "boolean", "name": "allowGatewayTransit"}, {"type": "boolean", "name": "allowVirtualNetworkAccess"}, {"type": "boolean", "name": "doNotVerifyRemoteGateways"}, {"type": "boolean", "name": "enableOnlyIPv6Peering"}, {"type": "object", "name": "localAddressSpace", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "localSubnetNames", "item": {"type": "string"}}, {"type": "@AddressSpace_read", "name": "localVirtualNetworkAddressSpace"}, {"type": "boolean", "name": "peerCompleteVnets"}, {"type": "string", "name": "peeringState", "enum": {"items": [{"value": "Connected"}, {"value": "Disconnected"}, {"value": "Initiated"}]}}, {"type": "string", "name": "peeringSyncLevel", "enum": {"items": [{"value": "FullyInSync"}, {"value": "LocalAndRemoteNotInSync"}, {"value": "LocalNotInSync"}, {"value": "RemoteNotInSync"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@AddressSpace_read", "name": "remoteAddressSpace"}, {"type": "object", "name": "remoteBgpCommunities", "props": [{"readOnly": true, "type": "string", "name": "regionalCommunity"}, {"type": "string", "name": "virtualNetworkCommunity", "required": true}]}, {"type": "array", "name": "remoteSubnetNames", "item": {"type": "string"}}, {"type": "object", "name": "remoteVirtualNetwork", "props": [{"type": "string", "name": "id"}]}, {"type": "@AddressSpace_read", "name": "remoteVirtualNetworkAddressSpace"}, {"type": "object", "name": "remoteVirtualNetworkEncryption", "props": [{"type": "boolean", "name": "enabled", "required": true}, {"type": "string", "name": "enforcement", "enum": {"items": [{"value": "AllowUnencrypted"}, {"value": "DropUnencrypted"}]}}]}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "boolean", "name": "useRemoteGateways"}], "clientFlatten": true}, {"type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/virtualnetworkpeerings/{}", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya3Mve3ZpcnR1YWxOZXR3b3JrTmFtZX0vdmlydHVhbE5ldHdvcmtQZWVyaW5ncy97dmlydHVhbE5ldHdvcmtQZWVyaW5nTmFtZX0=/V/MjAyMy0xMS0wMQ=="}], "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.virtualNetworkName", "options": ["vnet-name"], "required": true, "idPart": "name", "help": {"short": "The virtual network (VNet) name."}}, {"type": "string", "var": "$Path.virtualNetworkPeeringName", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the VNet peering."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "VirtualNetworkPeerings_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkName", "arg": "$Path.virtualNetworkName", "required": true}, {"type": "string", "name": "virtualNetworkPeeringName", "arg": "$Path.virtualNetworkPeeringName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": ""}, {"name": "create", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/virtualnetworkpeerings/{}", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya3Mve3ZpcnR1YWxOZXR3b3JrTmFtZX0vdmlydHVhbE5ldHdvcmtQZWVyaW5ncy97dmlydHVhbE5ldHdvcmtQZWVyaW5nTmFtZX0=/V/MjAyMy0xMS0wMQ=="}], "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.virtualNetworkName", "options": ["vnet-name"], "required": true, "idPart": "name", "help": {"short": "The virtual network (VNet) name."}}, {"type": "string", "var": "$Path.virtualNetworkPeeringName", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the VNet peering."}}, {"type": "string", "var": "$Query.syncRemoteAddressSpace", "options": ["sync-remote"], "group": "", "help": {"short": "Indicate the intention to sync the peering with the current address space on the remote VNet after it's updated."}, "enum": {"items": [{"name": "true", "value": "true"}]}}, {"type": "boolean", "var": "$VirtualNetworkPeeringParameters.properties.allowForwardedTraffic", "options": ["allow-forwarded-traffic"], "group": "", "help": {"short": "Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network."}, "default": {"value": false}}, {"type": "boolean", "var": "$VirtualNetworkPeeringParameters.properties.allowGatewayTransit", "options": ["allow-gateway-transit"], "group": "", "help": {"short": "If gateway links can be used in remote virtual networking to link to this virtual network."}, "default": {"value": false}}, {"type": "boolean", "var": "$VirtualNetworkPeeringParameters.properties.allowVirtualNetworkAccess", "options": ["allow-vnet-access"], "group": "", "help": {"short": "Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space."}, "default": {"value": false}}, {"type": "boolean", "var": "$VirtualNetworkPeeringParameters.properties.enableOnlyIPv6Peering", "options": ["enable-only-ipv6"], "group": "", "help": {"short": "Whether only Ipv6 address space is peered for subnet peering."}}, {"type": "array", "var": "$VirtualNetworkPeeringParameters.properties.localSubnetNames", "options": ["local-subnet-names"], "group": "", "help": {"short": "List of local subnet names that are subnet peered with remote virtual network."}, "item": {"type": "string"}}, {"type": "boolean", "var": "$VirtualNetworkPeeringParameters.properties.peerCompleteVnets", "options": ["peer-complete-vnets"], "group": "", "help": {"short": "Whether complete virtual network address space is peered."}}, {"type": "array", "var": "$VirtualNetworkPeeringParameters.properties.remoteSubnetNames", "options": ["remote-subnet-names"], "group": "", "help": {"short": "List of remote subnet names from remote virtual network that are subnet peered."}, "item": {"type": "string"}}, {"type": "string", "var": "$VirtualNetworkPeeringParameters.properties.remoteVirtualNetwork.id", "options": ["remote-vnet"], "group": "", "help": {"short": "Name or ID of the remote VNet."}}, {"type": "boolean", "var": "$VirtualNetworkPeeringParameters.properties.useRemoteGateways", "options": ["use-remote-gateways"], "group": "", "help": {"short": "Allows VNet to use the remote VNet's gateway. Remote VNet gateway must have --allow-gateway-transit enabled for remote peering. Only 1 peering can have this flag enabled. Cannot be set if the VNet already has a gateway."}, "default": {"value": false}}]}, {"name": "Properties", "args": [{"type": "boolean", "var": "$VirtualNetworkPeeringParameters.properties.doNotVerifyRemoteGateways", "options": ["do-not-verify-remote-gateways"], "hide": true, "group": "Properties", "help": {"short": "If we need to verify the provisioning state of the remote gateway."}}, {"type": "object", "var": "$VirtualNetworkPeeringParameters.properties.localAddressSpace", "options": ["local-address-space"], "hide": true, "group": "Properties", "help": {"short": "The local address space of the local virtual network that is peered."}, "args": [{"type": "array", "var": "@AddressSpace_create.addressPrefixes", "options": ["address-prefixes"], "help": {"short": "A list of address blocks reserved for this virtual network in CIDR notation."}, "item": {"type": "string"}}], "cls": "AddressSpace_create"}, {"type": "@AddressSpace_create", "var": "$VirtualNetworkPeeringParameters.properties.localVirtualNetworkAddressSpace", "options": ["local-vnet-address-space"], "hide": true, "group": "Properties", "help": {"short": "The current local address space of the local virtual network that is peered."}}, {"type": "string", "var": "$VirtualNetworkPeeringParameters.properties.peeringState", "options": ["peering-state"], "hide": true, "group": "Properties", "help": {"short": "The status of the virtual network peering."}, "enum": {"items": [{"name": "Connected", "value": "Connected"}, {"name": "Disconnected", "value": "Disconnected"}, {"name": "Initiated", "value": "Initiated"}]}}, {"type": "string", "var": "$VirtualNetworkPeeringParameters.properties.peeringSyncLevel", "options": ["peering-sync-level"], "hide": true, "group": "Properties", "help": {"short": "The peering sync status of the virtual network peering."}, "enum": {"items": [{"name": "FullyInSync", "value": "FullyInSync"}, {"name": "LocalAndRemoteNotInSync", "value": "LocalAndRemoteNotInSync"}, {"name": "LocalNotInSync", "value": "LocalNotInSync"}, {"name": "RemoteNotInSync", "value": "RemoteNotInSync"}]}}, {"type": "@AddressSpace_create", "var": "$VirtualNetworkPeeringParameters.properties.remoteAddressSpace", "options": ["remote-address-space"], "hide": true, "group": "Properties", "help": {"short": "The reference to the address space peered with the remote virtual network."}}, {"type": "object", "var": "$VirtualNetworkPeeringParameters.properties.remoteBgpCommunities", "options": ["remote-bgp-communities"], "hide": true, "group": "Properties", "help": {"short": "The reference to the remote virtual network's Bgp Communities."}, "args": [{"type": "string", "var": "$VirtualNetworkPeeringParameters.properties.remoteBgpCommunities.virtualNetworkCommunity", "options": ["virtual-network-community"], "required": true, "help": {"short": "The BGP community associated with the virtual network."}}]}, {"type": "@AddressSpace_create", "var": "$VirtualNetworkPeeringParameters.properties.remoteVirtualNetworkAddressSpace", "options": ["remote-virtual-network-address-space"], "hide": true, "group": "Properties", "help": {"short": "The reference to the current address space of the remote virtual network."}}]}, {"name": "VirtualNetworkPeeringParameters", "args": [{"type": "ResourceId", "var": "$VirtualNetworkPeeringParameters.id", "options": ["id"], "hide": true, "group": "VirtualNetworkPeeringParameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/virtualNetworkPeerings/{}"}}, {"type": "string", "var": "$VirtualNetworkPeeringParameters.type", "options": ["type"], "hide": true, "group": "VirtualNetworkPeeringParameters", "help": {"short": "Resource type."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkPeerings_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkName", "arg": "$Path.virtualNetworkName", "required": true}, {"type": "string", "name": "virtualNetworkPeeringName", "arg": "$Path.virtualNetworkPeeringName", "required": true}]}, "query": {"params": [{"type": "string", "name": "syncRemoteAddressSpace", "arg": "$Query.syncRemoteAddressSpace", "enum": {"items": [{"value": "true"}]}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "VirtualNetworkPeeringParameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$VirtualNetworkPeeringParameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/virtualNetworkPeerings/{}"}}, {"type": "string", "name": "name", "arg": "$Path.virtualNetworkPeeringName"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "allowForwardedTraffic", "arg": "$VirtualNetworkPeeringParameters.properties.allowForwardedTraffic"}, {"type": "boolean", "name": "allowGatewayTransit", "arg": "$VirtualNetworkPeeringParameters.properties.allowGatewayTransit"}, {"type": "boolean", "name": "allowVirtualNetworkAccess", "arg": "$VirtualNetworkPeeringParameters.properties.allowVirtualNetworkAccess"}, {"type": "boolean", "name": "doNotVerifyRemoteGateways", "arg": "$VirtualNetworkPeeringParameters.properties.doNotVerifyRemoteGateways"}, {"type": "boolean", "name": "enableOnlyIPv6Peering", "arg": "$VirtualNetworkPeeringParameters.properties.enableOnlyIPv6Peering"}, {"type": "object", "name": "localAddressSpace", "arg": "$VirtualNetworkPeeringParameters.properties.localAddressSpace", "props": [{"type": "array", "name": "addressPrefixes", "arg": "@AddressSpace_create.addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_create"}, {"type": "array", "name": "localSubnetNames", "arg": "$VirtualNetworkPeeringParameters.properties.localSubnetNames", "item": {"type": "string"}}, {"type": "@AddressSpace_create", "name": "localVirtualNetworkAddressSpace", "arg": "$VirtualNetworkPeeringParameters.properties.localVirtualNetworkAddressSpace"}, {"type": "boolean", "name": "peerCompleteVnets", "arg": "$VirtualNetworkPeeringParameters.properties.peerCompleteVnets"}, {"type": "string", "name": "peeringState", "arg": "$VirtualNetworkPeeringParameters.properties.peeringState", "enum": {"items": [{"value": "Connected"}, {"value": "Disconnected"}, {"value": "Initiated"}]}}, {"type": "string", "name": "peeringSyncLevel", "arg": "$VirtualNetworkPeeringParameters.properties.peeringSyncLevel", "enum": {"items": [{"value": "FullyInSync"}, {"value": "LocalAndRemoteNotInSync"}, {"value": "LocalNotInSync"}, {"value": "RemoteNotInSync"}]}}, {"type": "@AddressSpace_create", "name": "remoteAddressSpace", "arg": "$VirtualNetworkPeeringParameters.properties.remoteAddressSpace"}, {"type": "object", "name": "remoteBgpCommunities", "arg": "$VirtualNetworkPeeringParameters.properties.remoteBgpCommunities", "props": [{"type": "string", "name": "virtualNetworkCommunity", "arg": "$VirtualNetworkPeeringParameters.properties.remoteBgpCommunities.virtualNetworkCommunity", "required": true}]}, {"type": "array", "name": "remoteSubnetNames", "arg": "$VirtualNetworkPeeringParameters.properties.remoteSubnetNames", "item": {"type": "string"}}, {"type": "object", "name": "remoteVirtualNetwork", "props": [{"type": "string", "name": "id", "arg": "$VirtualNetworkPeeringParameters.properties.remoteVirtualNetwork.id"}]}, {"type": "@AddressSpace_create", "name": "remoteVirtualNetworkAddressSpace", "arg": "$VirtualNetworkPeeringParameters.properties.remoteVirtualNetworkAddressSpace"}, {"type": "boolean", "name": "useRemoteGateways", "arg": "$VirtualNetworkPeeringParameters.properties.useRemoteGateways"}], "clientFlatten": true}, {"type": "string", "name": "type", "arg": "$VirtualNetworkPeeringParameters.type"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/virtualNetworkPeerings/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "allowForwardedTraffic"}, {"type": "boolean", "name": "allowGatewayTransit"}, {"type": "boolean", "name": "allowVirtualNetworkAccess"}, {"type": "boolean", "name": "doNotVerifyRemoteGateways"}, {"type": "boolean", "name": "enableOnlyIPv6Peering"}, {"type": "object", "name": "localAddressSpace", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "localSubnetNames", "item": {"type": "string"}}, {"type": "@AddressSpace_read", "name": "localVirtualNetworkAddressSpace"}, {"type": "boolean", "name": "peerCompleteVnets"}, {"type": "string", "name": "peeringState", "enum": {"items": [{"value": "Connected"}, {"value": "Disconnected"}, {"value": "Initiated"}]}}, {"type": "string", "name": "peeringSyncLevel", "enum": {"items": [{"value": "FullyInSync"}, {"value": "LocalAndRemoteNotInSync"}, {"value": "LocalNotInSync"}, {"value": "RemoteNotInSync"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@AddressSpace_read", "name": "remoteAddressSpace"}, {"type": "object", "name": "remoteBgpCommunities", "props": [{"readOnly": true, "type": "string", "name": "regionalCommunity"}, {"type": "string", "name": "virtualNetworkCommunity", "required": true}]}, {"type": "array", "name": "remoteSubnetNames", "item": {"type": "string"}}, {"type": "object", "name": "remoteVirtualNetwork", "props": [{"type": "string", "name": "id"}]}, {"type": "@AddressSpace_read", "name": "remoteVirtualNetworkAddressSpace"}, {"type": "object", "name": "remoteVirtualNetworkEncryption", "props": [{"type": "boolean", "name": "enabled", "required": true}, {"type": "string", "name": "enforcement", "enum": {"items": [{"value": "AllowUnencrypted"}, {"value": "DropUnencrypted"}]}}]}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "boolean", "name": "useRemoteGateways"}], "clientFlatten": true}, {"type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2023-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualnetworks/{}/virtualnetworkpeerings/{}", "version": "2023-11-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsTmV0d29ya3Mve3ZpcnR1YWxOZXR3b3JrTmFtZX0vdmlydHVhbE5ldHdvcmtQZWVyaW5ncy97dmlydHVhbE5ldHdvcmtQZWVyaW5nTmFtZX0=/V/MjAyMy0xMS0wMQ=="}], "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.virtualNetworkName", "options": ["vnet-name"], "required": true, "idPart": "name", "help": {"short": "The virtual network (VNet) name."}}, {"type": "string", "var": "$Path.virtualNetworkPeeringName", "options": ["n", "name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the VNet peering."}}, {"type": "string", "var": "$Query.syncRemoteAddressSpace", "options": ["sync-remote-address-space"], "hide": true, "group": "", "help": {"short": "Parameter indicates the intention to sync the peering with the current address space on the remote vNet after it's updated."}, "enum": {"items": [{"name": "true", "value": "true"}]}}, {"nullable": true, "type": "boolean", "var": "$VirtualNetworkPeeringParameters.properties.allowForwardedTraffic", "options": ["allow-forwarded-traffic"], "hide": true, "group": "", "help": {"short": "Allows forwarded traffic from the local VNet to the remote VNet."}}, {"nullable": true, "type": "boolean", "var": "$VirtualNetworkPeeringParameters.properties.allowGatewayTransit", "options": ["allow-gateway-transit"], "hide": true, "group": "", "help": {"short": "Allows gateway link to be used in the remote VNet."}}, {"nullable": true, "type": "boolean", "var": "$VirtualNetworkPeeringParameters.properties.allowVirtualNetworkAccess", "options": ["allow-vnet-access"], "hide": true, "group": "", "help": {"short": "Allows access from the local VNet to the remote VNet."}}, {"nullable": true, "type": "boolean", "var": "$VirtualNetworkPeeringParameters.properties.enableOnlyIPv6Peering", "options": ["enable-only-ipv6-peering"], "hide": true, "group": "", "help": {"short": "Whether only Ipv6 address space is peered for subnet peering."}}, {"nullable": true, "type": "array", "var": "$VirtualNetworkPeeringParameters.properties.localSubnetNames", "options": ["local-subnet-names"], "hide": true, "group": "", "help": {"short": "List of local subnet names that are subnet peered with remote virtual network."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "boolean", "var": "$VirtualNetworkPeeringParameters.properties.peerCompleteVnets", "options": ["peer-complete-vnets"], "hide": true, "group": "", "help": {"short": "Whether complete virtual network address space is peered."}}, {"nullable": true, "type": "array", "var": "$VirtualNetworkPeeringParameters.properties.remoteSubnetNames", "options": ["remote-subnet-names"], "hide": true, "group": "", "help": {"short": "List of remote subnet names from remote virtual network that are subnet peered."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$VirtualNetworkPeeringParameters.properties.remoteVirtualNetwork.id", "options": ["remote-vnet"], "hide": true, "group": "", "help": {"short": "Name or ID of the remote VNet."}}, {"nullable": true, "type": "boolean", "var": "$VirtualNetworkPeeringParameters.properties.useRemoteGateways", "options": ["use-remote-gateways"], "hide": true, "group": "", "help": {"short": "Allows VNet to use the remote VNet's gateway. Remote VNet gateway must have --allow-gateway-transit enabled for remote peering. Only 1 peering can have this flag enabled. Cannot be set if the VNet already has a gateway."}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "boolean", "var": "$VirtualNetworkPeeringParameters.properties.doNotVerifyRemoteGateways", "options": ["do-not-verify-remote-gateways"], "hide": true, "group": "Properties", "help": {"short": "If we need to verify the provisioning state of the remote gateway."}}, {"nullable": true, "type": "object", "var": "$VirtualNetworkPeeringParameters.properties.localAddressSpace", "options": ["local-address-space"], "hide": true, "group": "Properties", "help": {"short": "The local address space of the local virtual network that is peered."}, "args": [{"nullable": true, "type": "array", "var": "@AddressSpace_update.addressPrefixes", "options": ["address-prefixes"], "help": {"short": "A list of address blocks reserved for this virtual network in CIDR notation."}, "item": {"nullable": true, "type": "string"}}], "cls": "AddressSpace_update"}, {"nullable": true, "type": "@AddressSpace_update", "var": "$VirtualNetworkPeeringParameters.properties.localVirtualNetworkAddressSpace", "options": ["local-virtual-network-address-space"], "hide": true, "group": "Properties", "help": {"short": "The current local address space of the local virtual network that is peered."}}, {"nullable": true, "type": "string", "var": "$VirtualNetworkPeeringParameters.properties.peeringState", "options": ["peering-state"], "hide": true, "group": "Properties", "help": {"short": "The status of the virtual network peering."}, "enum": {"items": [{"name": "Connected", "value": "Connected"}, {"name": "Disconnected", "value": "Disconnected"}, {"name": "Initiated", "value": "Initiated"}]}}, {"nullable": true, "type": "string", "var": "$VirtualNetworkPeeringParameters.properties.peeringSyncLevel", "options": ["peering-sync-level"], "hide": true, "group": "Properties", "help": {"short": "The peering sync status of the virtual network peering."}, "enum": {"items": [{"name": "FullyInSync", "value": "FullyInSync"}, {"name": "LocalAndRemoteNotInSync", "value": "LocalAndRemoteNotInSync"}, {"name": "LocalNotInSync", "value": "LocalNotInSync"}, {"name": "RemoteNotInSync", "value": "RemoteNotInSync"}]}}, {"nullable": true, "type": "@AddressSpace_update", "var": "$VirtualNetworkPeeringParameters.properties.remoteAddressSpace", "options": ["remote-address-space"], "hide": true, "group": "Properties", "help": {"short": "The reference to the address space peered with the remote virtual network."}}, {"nullable": true, "type": "object", "var": "$VirtualNetworkPeeringParameters.properties.remoteBgpCommunities", "options": ["remote-bgp-communities"], "hide": true, "group": "Properties", "help": {"short": "The reference to the remote virtual network's Bgp Communities."}, "args": [{"type": "string", "var": "$VirtualNetworkPeeringParameters.properties.remoteBgpCommunities.virtualNetworkCommunity", "options": ["virtual-network-community"], "help": {"short": "The BGP community associated with the virtual network."}}]}, {"nullable": true, "type": "@AddressSpace_update", "var": "$VirtualNetworkPeeringParameters.properties.remoteVirtualNetworkAddressSpace", "options": ["remote-virtual-network-address-space"], "hide": true, "group": "Properties", "help": {"short": "The reference to the current address space of the remote virtual network."}}]}, {"name": "VirtualNetworkPeeringParameters", "args": [{"nullable": true, "type": "ResourceId", "var": "$VirtualNetworkPeeringParameters.id", "options": ["id"], "hide": true, "group": "VirtualNetworkPeeringParameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/virtualNetworkPeerings/{}"}}, {"nullable": true, "type": "string", "var": "$VirtualNetworkPeeringParameters.type", "options": ["type"], "hide": true, "group": "VirtualNetworkPeeringParameters", "help": {"short": "Resource type."}}]}], "operations": [{"operationId": "VirtualNetworkPeerings_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkName", "arg": "$Path.virtualNetworkName", "required": true}, {"type": "string", "name": "virtualNetworkPeeringName", "arg": "$Path.virtualNetworkPeeringName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/virtualNetworkPeerings/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "allowForwardedTraffic"}, {"type": "boolean", "name": "allowGatewayTransit"}, {"type": "boolean", "name": "allowVirtualNetworkAccess"}, {"type": "boolean", "name": "doNotVerifyRemoteGateways"}, {"type": "boolean", "name": "enableOnlyIPv6Peering"}, {"type": "object", "name": "localAddressSpace", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_read"}, {"type": "array", "name": "localSubnetNames", "item": {"type": "string"}}, {"type": "@AddressSpace_read", "name": "localVirtualNetworkAddressSpace"}, {"type": "boolean", "name": "peerCompleteVnets"}, {"type": "string", "name": "peeringState", "enum": {"items": [{"value": "Connected"}, {"value": "Disconnected"}, {"value": "Initiated"}]}}, {"type": "string", "name": "peeringSyncLevel", "enum": {"items": [{"value": "FullyInSync"}, {"value": "LocalAndRemoteNotInSync"}, {"value": "LocalNotInSync"}, {"value": "RemoteNotInSync"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@AddressSpace_read", "name": "remoteAddressSpace"}, {"type": "object", "name": "remoteBgpCommunities", "props": [{"readOnly": true, "type": "string", "name": "regionalCommunity"}, {"type": "string", "name": "virtualNetworkCommunity", "required": true}]}, {"type": "array", "name": "remoteSubnetNames", "item": {"type": "string"}}, {"type": "object", "name": "remoteVirtualNetwork", "props": [{"type": "string", "name": "id"}]}, {"type": "@AddressSpace_read", "name": "remoteVirtualNetworkAddressSpace"}, {"type": "object", "name": "remoteVirtualNetworkEncryption", "props": [{"type": "boolean", "name": "enabled", "required": true}, {"type": "string", "name": "enforcement", "enum": {"items": [{"value": "AllowUnencrypted"}, {"value": "DropUnencrypted"}]}}]}, {"readOnly": true, "type": "string", "name": "resourceGuid"}, {"type": "boolean", "name": "useRemoteGateways"}], "clientFlatten": true}, {"type": "string", "name": "type"}], "cls": "VirtualNetworkPeering_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "VirtualNetworkPeeringParameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$VirtualNetworkPeeringParameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualNetworks/{}/virtualNetworkPeerings/{}"}}, {"type": "string", "name": "name", "arg": "$Path.virtualNetworkPeeringName"}, {"type": "object", "name": "properties", "props": [{"type": "boolean", "name": "allowForwardedTraffic", "arg": "$VirtualNetworkPeeringParameters.properties.allowForwardedTraffic"}, {"type": "boolean", "name": "allowGatewayTransit", "arg": "$VirtualNetworkPeeringParameters.properties.allowGatewayTransit"}, {"type": "boolean", "name": "allowVirtualNetworkAccess", "arg": "$VirtualNetworkPeeringParameters.properties.allowVirtualNetworkAccess"}, {"type": "boolean", "name": "doNotVerifyRemoteGateways", "arg": "$VirtualNetworkPeeringParameters.properties.doNotVerifyRemoteGateways"}, {"type": "boolean", "name": "enableOnlyIPv6Peering", "arg": "$VirtualNetworkPeeringParameters.properties.enableOnlyIPv6Peering"}, {"type": "object", "name": "localAddressSpace", "arg": "$VirtualNetworkPeeringParameters.properties.localAddressSpace", "props": [{"type": "array", "name": "addressPrefixes", "arg": "@AddressSpace_update.addressPrefixes", "item": {"type": "string"}}], "cls": "AddressSpace_update"}, {"type": "array", "name": "localSubnetNames", "arg": "$VirtualNetworkPeeringParameters.properties.localSubnetNames", "item": {"type": "string"}}, {"type": "@AddressSpace_update", "name": "localVirtualNetworkAddressSpace", "arg": "$VirtualNetworkPeeringParameters.properties.localVirtualNetworkAddressSpace"}, {"type": "boolean", "name": "peerCompleteVnets", "arg": "$VirtualNetworkPeeringParameters.properties.peerCompleteVnets"}, {"type": "string", "name": "peeringState", "arg": "$VirtualNetworkPeeringParameters.properties.peeringState", "enum": {"items": [{"value": "Connected"}, {"value": "Disconnected"}, {"value": "Initiated"}]}}, {"type": "string", "name": "peeringSyncLevel", "arg": "$VirtualNetworkPeeringParameters.properties.peeringSyncLevel", "enum": {"items": [{"value": "FullyInSync"}, {"value": "LocalAndRemoteNotInSync"}, {"value": "LocalNotInSync"}, {"value": "RemoteNotInSync"}]}}, {"type": "@AddressSpace_update", "name": "remoteAddressSpace", "arg": "$VirtualNetworkPeeringParameters.properties.remoteAddressSpace"}, {"type": "object", "name": "remoteBgpCommunities", "arg": "$VirtualNetworkPeeringParameters.properties.remoteBgpCommunities", "props": [{"type": "string", "name": "virtualNetworkCommunity", "arg": "$VirtualNetworkPeeringParameters.properties.remoteBgpCommunities.virtualNetworkCommunity", "required": true}]}, {"type": "array", "name": "remoteSubnetNames", "arg": "$VirtualNetworkPeeringParameters.properties.remoteSubnetNames", "item": {"type": "string"}}, {"type": "object", "name": "remoteVirtualNetwork", "props": [{"type": "string", "name": "id", "arg": "$VirtualNetworkPeeringParameters.properties.remoteVirtualNetwork.id"}]}, {"type": "@AddressSpace_update", "name": "remoteVirtualNetworkAddressSpace", "arg": "$VirtualNetworkPeeringParameters.properties.remoteVirtualNetworkAddressSpace"}, {"type": "boolean", "name": "useRemoteGateways", "arg": "$VirtualNetworkPeeringParameters.properties.useRemoteGateways"}], "clientFlatten": true}, {"type": "string", "name": "type", "arg": "$VirtualNetworkPeeringParameters.type"}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualNetworkPeerings_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualNetworkName", "arg": "$Path.virtualNetworkName", "required": true}, {"type": "string", "name": "virtualNetworkPeeringName", "arg": "$Path.virtualNetworkPeeringName", "required": true}]}, "query": {"params": [{"type": "string", "name": "syncRemoteAddressSpace", "arg": "$Query.syncRemoteAddressSpace", "enum": {"items": [{"value": "true"}]}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2023-11-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualNetworkPeering_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS92aXJ0dWFsbmV0d29ya3BlZXJpbmdzL3t9/2023-11-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS92aXJ0dWFsbmV0d29ya3BlZXJpbmdzL3t9/2023-11-01.xml new file mode 100644 index 000000000..fa26bf414 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxuZXR3b3Jrcy97fS92aXJ0dWFsbmV0d29ya3BlZXJpbmdzL3t9/2023-11-01.xml @@ -0,0 +1,730 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +