Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
},
"properties": {
"description": "A sample policy",
"routeTableUsageMode": "ManagedOnly",
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-000000000000"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
},
"properties": {
"description": "A sample policy",
"routeTableUsageMode": "ManagedOnly",
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-000000000000"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"networkManagerName": "testNetworkManager",
"routingConfiguration": {
"properties": {
"description": "A sample policy"
"description": "A sample policy",
"routeTableUsageMode": "ManagedOnly"
}
}
},
Expand All @@ -27,6 +28,7 @@
},
"properties": {
"description": "A sample policy",
"routeTableUsageMode": "ManagedOnly",
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-000000000000"
}
Expand All @@ -47,6 +49,7 @@
},
"properties": {
"description": "A sample policy",
"routeTableUsageMode": "ManagedOnly",
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-000000000000"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check notice on line 1 in specification/network/resource-manager/Microsoft.Network/stable/2025-01-01/networkManagerRoutingConfiguration.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

Your service description will soon be required to convert from OpenAPI to TypeSpec. See https://aka.ms/azsdk/typespec.
"swagger": "2.0",
"info": {
"title": "RoutingConfiguration",
Expand Down Expand Up @@ -642,6 +642,31 @@
"type": "string",
"readOnly": true,
"description": "Unique identifier for this resource."
},
"routeTableUsageMode": {
"type": "string",
"enum": [
"ManagedOnly",
"UseExisting"
],
"default": "ManagedOnly",
"x-ms-enum": {
"name": "RouteTableUsageMode",
"modelAsString": true,
"values": [
{
"name": "ManagedOnly",
"value": "ManagedOnly",
"description": "Only route tables managed by the routing configuration will be used."
},
{
"name": "UseExisting",
"value": "UseExisting",
"description": "Use existing user-defined route tables already associated with resources."
}
]
},
"description": "Route table usage mode defines which route table will be used by the configuration. If not defined, this will default to 'ManagedOnly'."
}
},
"description": "Defines the routing configuration properties."
Expand Down Expand Up @@ -719,7 +744,19 @@
],
"x-ms-enum": {
"name": "DisableBgpRoutePropagation",
"modelAsString": true
"modelAsString": true,
"values": [
{
"name": "False",
"value": "False",
"description": "BGP route propagation is enabled."
},
{
"name": "True",
"value": "True",
"description": "BGP route propagation is disabled."
}
]
},
"description": "Determines whether BGP route propagation is enabled. Defaults to true."
}
Expand Down Expand Up @@ -859,7 +896,34 @@
],
"x-ms-enum": {
"name": "RoutingRuleNextHopType",
"modelAsString": true
"modelAsString": true,
"values": [
{
"name": "Internet",
"value": "Internet",
"description": "Forward traffic to the Internet."
},
{
"name": "NoNextHop",
"value": "NoNextHop",
"description": "No next hop will be used."
},
{
"name": "VirtualAppliance",
"value": "VirtualAppliance",
"description": "Forward traffic to a specified virtual appliance IP address."
},
{
"name": "VirtualNetworkGateway",
"value": "VirtualNetworkGateway",
"description": "Forward traffic to the virtual network gateway."
},
{
"name": "VnetLocal",
"value": "VnetLocal",
"description": "Keep traffic within the local virtual network"
}
]
}
},
"RoutingRuleDestinationType": {
Expand All @@ -871,7 +935,19 @@
],
"x-ms-enum": {
"name": "RoutingRuleDestinationType",
"modelAsString": true
"modelAsString": true,
"values": [
{
"name": "AddressPrefix",
"value": "AddressPrefix",
"description": "Destination specified as an IP address prefix (CIDR)."
},
{
"name": "ServiceTag",
"value": "ServiceTag",
"description": "Destination specified as an Azure service tag."
}
]
}
},
"RoutingRuleListResult": {
Expand Down