diff --git a/sdk/network/arm-network/package.json b/sdk/network/arm-network/package.json index 790252f30d0b..23fc1cf42d56 100644 --- a/sdk/network/arm-network/package.json +++ b/sdk/network/arm-network/package.json @@ -27,7 +27,7 @@ "rollup-plugin-sourcemaps": "^0.4.2", "uglify-js": "^3.6.0" }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/network/arm-network", + "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/network/arm-network", "repository": { "type": "git", "url": "https://github.com/Azure/azure-sdk-for-js.git" diff --git a/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts b/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts index 20f6080c8151..b2a648789e4f 100644 --- a/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts b/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts index 085f48973e50..2b3ed6f4ec25 100644 --- a/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts +++ b/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts b/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts index 961e05857c39..a70ac91fc1f8 100644 --- a/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts @@ -272,6 +272,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts b/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts index 1a17c77f185d..7464560dcdd5 100644 --- a/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts b/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts index e74f2601f5dd..9edbc20872af 100644 --- a/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts +++ b/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts b/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts index fb714f50d0e8..6eae23ae771b 100644 --- a/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts +++ b/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/azureFirewallsMappers.ts b/sdk/network/arm-network/src/models/azureFirewallsMappers.ts index 8a2990be74e0..95231ae37a3a 100644 --- a/sdk/network/arm-network/src/models/azureFirewallsMappers.ts +++ b/sdk/network/arm-network/src/models/azureFirewallsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/bastionHostsMappers.ts b/sdk/network/arm-network/src/models/bastionHostsMappers.ts index 1de5ff2e2f5f..c034af956eb4 100644 --- a/sdk/network/arm-network/src/models/bastionHostsMappers.ts +++ b/sdk/network/arm-network/src/models/bastionHostsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts b/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts index cb0c4ed366fd..9c80d0f19d75 100644 --- a/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts +++ b/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts b/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts index 2fab3db909a2..02b8bcee1360 100644 --- a/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts +++ b/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts @@ -269,6 +269,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/customIPPrefixesMappers.ts b/sdk/network/arm-network/src/models/customIPPrefixesMappers.ts index 608d3d8f1c42..e5ef61f3eaa3 100644 --- a/sdk/network/arm-network/src/models/customIPPrefixesMappers.ts +++ b/sdk/network/arm-network/src/models/customIPPrefixesMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts b/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts index 2c01f42d7417..030e115a19d0 100644 --- a/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts @@ -261,6 +261,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts b/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts index ca3bfb8b001b..937b21b5fc1b 100644 --- a/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts +++ b/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts b/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts index 92a807311a85..18b47d94ac62 100644 --- a/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts +++ b/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts @@ -261,6 +261,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, SecurityRuleListResult, diff --git a/sdk/network/arm-network/src/models/dscpConfigurationOperationsMappers.ts b/sdk/network/arm-network/src/models/dscpConfigurationOperationsMappers.ts index 88d310ceae45..a61783c05ec4 100644 --- a/sdk/network/arm-network/src/models/dscpConfigurationOperationsMappers.ts +++ b/sdk/network/arm-network/src/models/dscpConfigurationOperationsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts index edb5e959a7b7..f994cc02e7a5 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts index 7c533c78ed07..59cf1e52d314 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts index 93100ba9af3d..76f7c907b6d8 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts index 74bdba4d8a0a..2261ef9fdf80 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts @@ -268,6 +268,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts index 157b0c179f2e..5881ee299dd1 100644 --- a/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts index d310adca214f..1177d5da6acb 100644 --- a/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts index 12424d080f5f..4fc595132bbc 100644 --- a/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts @@ -268,6 +268,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts b/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts index b3d79c6e6992..6bea3b14ffb2 100644 --- a/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts b/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts index e515686c2b71..5ceedd2d8836 100644 --- a/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts b/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts index a3533942fe58..f5292d090e11 100644 --- a/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts b/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts index 0b214b969e3c..c64e7c96e9fd 100644 --- a/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts @@ -264,6 +264,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts b/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts index 791bb72ea4e3..2f3f1d490e72 100644 --- a/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts b/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts index 1a5297071e54..ce2f74cbfe2b 100644 --- a/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts b/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts index f0d183d45cb5..bf3790ccfe74 100644 --- a/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/flowLogsMappers.ts b/sdk/network/arm-network/src/models/flowLogsMappers.ts index b56a1e1adfea..70aa1bf3d575 100644 --- a/sdk/network/arm-network/src/models/flowLogsMappers.ts +++ b/sdk/network/arm-network/src/models/flowLogsMappers.ts @@ -263,6 +263,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts b/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts index 33350656798b..81ee3eef0f82 100644 --- a/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts +++ b/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts b/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts index 632f69bb932c..e58ad8d284c9 100644 --- a/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts b/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts index 593311fb34bb..dade62f7b752 100644 --- a/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts +++ b/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/inboundSecurityRuleOperationsMappers.ts b/sdk/network/arm-network/src/models/inboundSecurityRuleOperationsMappers.ts index 471135f9d19e..0a3d2fbc7afe 100644 --- a/sdk/network/arm-network/src/models/inboundSecurityRuleOperationsMappers.ts +++ b/sdk/network/arm-network/src/models/inboundSecurityRuleOperationsMappers.ts @@ -261,6 +261,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/index.ts b/sdk/network/arm-network/src/models/index.ts index 808f6a64a874..d13d4658a6a7 100644 --- a/sdk/network/arm-network/src/models/index.ts +++ b/sdk/network/arm-network/src/models/index.ts @@ -13247,6 +13247,56 @@ export interface EffectiveRoutesParameters { virtualWanResourceType?: string; } +/** + * The routing policy object used in a RoutingIntent resource. + */ +export interface RoutingPolicy { + /** + * The unique name for the routing policy. + */ + name: string; + /** + * List of all destinations which this routing policy is applicable to (for example: Internet, + * PrivateTraffic). + */ + destinations: string[]; + /** + * The next hop resource id on which this routing policy is applicable to. + */ + nextHop: string; +} + +/** + * The routing intent child resource of a Virtual hub. + */ +export interface RoutingIntent extends SubResource { + /** + * List of routing policies. + */ + routingPolicies?: RoutingPolicy[]; + /** + * The provisioning state of the RoutingIntent resource. Possible values include: 'Succeeded', + * 'Updating', 'Deleting', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: ProvisioningState; + /** + * The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + */ + name?: string; + /** + * A unique read-only string that changes whenever the resource is updated. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly etag?: string; + /** + * Resource type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; +} + /** * Defines contents of a web application firewall global configuration. */ @@ -15347,6 +15397,18 @@ export interface ListHubRouteTablesResult extends Array<HubRouteTable> { nextLink?: string; } +/** + * @interface + * List of the routing intent result and a URL nextLink to get the next set of results. + * @extends Array<RoutingIntent> + */ +export interface ListRoutingIntentResult extends Array<RoutingIntent> { + /** + * URL to get the next set of operation list results if there are any. + */ + nextLink?: string; +} + /** * @interface * Result of the request to list WebApplicationFirewallPolicies. It contains a list of @@ -31304,6 +31366,106 @@ export type HubRouteTablesListNextResponse = ListHubRouteTablesResult & { }; }; +/** + * Contains response data for the createOrUpdate operation. + */ +export type RoutingIntentCreateOrUpdateResponse = RoutingIntent & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: RoutingIntent; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type RoutingIntentGetResponse = RoutingIntent & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: RoutingIntent; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type RoutingIntentListResponse = ListRoutingIntentResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ListRoutingIntentResult; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type RoutingIntentBeginCreateOrUpdateResponse = RoutingIntent & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: RoutingIntent; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type RoutingIntentListNextResponse = ListRoutingIntentResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ListRoutingIntentResult; + }; +}; + /** * Contains response data for the list operation. */ diff --git a/sdk/network/arm-network/src/models/ipAllocationsMappers.ts b/sdk/network/arm-network/src/models/ipAllocationsMappers.ts index c77a606fc76b..6859ca11e1ec 100644 --- a/sdk/network/arm-network/src/models/ipAllocationsMappers.ts +++ b/sdk/network/arm-network/src/models/ipAllocationsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/ipGroupsMappers.ts b/sdk/network/arm-network/src/models/ipGroupsMappers.ts index a50350110eec..90b8d491f608 100644 --- a/sdk/network/arm-network/src/models/ipGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/ipGroupsMappers.ts @@ -263,6 +263,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts b/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts index 4964b421f80c..0c012ee9d049 100644 --- a/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts b/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts index c74b5fd875d4..62d647030955 100644 --- a/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts index d81ead53f761..dfb87184725b 100644 --- a/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts index b7a9cf64d66c..53b540f58768 100644 --- a/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts index b76e3c1636ad..a5513fbdf55e 100644 --- a/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts index 729e38860792..866e7379413d 100644 --- a/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/loadBalancersMappers.ts b/sdk/network/arm-network/src/models/loadBalancersMappers.ts index 1f069aad4190..240fe2f7c85e 100644 --- a/sdk/network/arm-network/src/models/loadBalancersMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancersMappers.ts @@ -264,6 +264,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts b/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts index 0bddf1898705..d2ebdd19a5f8 100644 --- a/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/mappers.ts b/sdk/network/arm-network/src/models/mappers.ts index 1859fdbd9bbc..5eb038d65db0 100644 --- a/sdk/network/arm-network/src/models/mappers.ts +++ b/sdk/network/arm-network/src/models/mappers.ts @@ -22628,6 +22628,92 @@ export const EffectiveRoutesParameters: msRest.CompositeMapper = { } }; +export const RoutingPolicy: msRest.CompositeMapper = { + serializedName: "RoutingPolicy", + type: { + name: "Composite", + className: "RoutingPolicy", + modelProperties: { + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } + }, + destinations: { + required: true, + serializedName: "destinations", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + nextHop: { + required: true, + serializedName: "nextHop", + type: { + name: "String" + } + } + } + } +}; + +export const RoutingIntent: msRest.CompositeMapper = { + serializedName: "RoutingIntent", + type: { + name: "Composite", + className: "RoutingIntent", + modelProperties: { + ...SubResource.type.modelProperties, + routingPolicies: { + serializedName: "properties.routingPolicies", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RoutingPolicy" + } + } + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + etag: { + readOnly: true, + serializedName: "etag", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + export const PolicySettings: msRest.CompositeMapper = { serializedName: "PolicySettings", type: { @@ -25910,6 +25996,34 @@ export const ListHubRouteTablesResult: msRest.CompositeMapper = { } }; +export const ListRoutingIntentResult: msRest.CompositeMapper = { + serializedName: "ListRoutingIntentResult", + type: { + name: "Composite", + className: "ListRoutingIntentResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RoutingIntent" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const WebApplicationFirewallPolicyListResult: msRest.CompositeMapper = { serializedName: "WebApplicationFirewallPolicyListResult", type: { diff --git a/sdk/network/arm-network/src/models/natGatewaysMappers.ts b/sdk/network/arm-network/src/models/natGatewaysMappers.ts index 895b58022890..084b893ee1d5 100644 --- a/sdk/network/arm-network/src/models/natGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/natGatewaysMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/natRulesMappers.ts b/sdk/network/arm-network/src/models/natRulesMappers.ts index e00a75691269..2e610eebe5d8 100644 --- a/sdk/network/arm-network/src/models/natRulesMappers.ts +++ b/sdk/network/arm-network/src/models/natRulesMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts index a6989fe37140..8cb67c60d326 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts index 16a23ccd1d88..b92ed951ea73 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts index ab204edb3cd9..010377415b3b 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/networkInterfacesMappers.ts b/sdk/network/arm-network/src/models/networkInterfacesMappers.ts index bebea1b8266d..b80905244b9b 100644 --- a/sdk/network/arm-network/src/models/networkInterfacesMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfacesMappers.ts @@ -269,6 +269,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/networkProfilesMappers.ts b/sdk/network/arm-network/src/models/networkProfilesMappers.ts index 5e7f9b2baea3..8c418ace85ab 100644 --- a/sdk/network/arm-network/src/models/networkProfilesMappers.ts +++ b/sdk/network/arm-network/src/models/networkProfilesMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts b/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts index 4e4c29f183e5..d750560a380b 100644 --- a/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts b/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts index 6f518e852a5e..345b4b0badc3 100644 --- a/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts +++ b/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/networkWatchersMappers.ts b/sdk/network/arm-network/src/models/networkWatchersMappers.ts index 77ce769ed3b4..8ea5bc60389d 100644 --- a/sdk/network/arm-network/src/models/networkWatchersMappers.ts +++ b/sdk/network/arm-network/src/models/networkWatchersMappers.ts @@ -297,6 +297,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityGroupNetworkInterface, SecurityGroupViewParameters, SecurityGroupViewResult, diff --git a/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts b/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts index f62b773f3a2e..fdff126ebc40 100644 --- a/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts @@ -266,6 +266,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/parameters.ts b/sdk/network/arm-network/src/models/parameters.ts index 61c3f0976a7c..7993991c1c99 100644 --- a/sdk/network/arm-network/src/models/parameters.ts +++ b/sdk/network/arm-network/src/models/parameters.ts @@ -25,7 +25,7 @@ export const apiVersion0: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2021-03-01', + defaultValue: '2021-05-01', type: { name: "String" } @@ -787,6 +787,16 @@ export const routeTableName: msRest.OperationURLParameter = { } } }; +export const routingIntentName: msRest.OperationURLParameter = { + parameterPath: "routingIntentName", + mapper: { + required: true, + serializedName: "routingIntentName", + type: { + name: "String" + } + } +}; export const ruleCollectionGroupName: msRest.OperationURLParameter = { parameterPath: "ruleCollectionGroupName", mapper: { diff --git a/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts b/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts index fed15747dc66..af4fc0ea241f 100644 --- a/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts b/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts index 8b8b6d17add5..5d344a062b7d 100644 --- a/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts @@ -264,6 +264,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/privateEndpointsMappers.ts b/sdk/network/arm-network/src/models/privateEndpointsMappers.ts index 6590a9b0b6c4..fee0eeffc45e 100644 --- a/sdk/network/arm-network/src/models/privateEndpointsMappers.ts +++ b/sdk/network/arm-network/src/models/privateEndpointsMappers.ts @@ -263,6 +263,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts b/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts index 6f2a148fb704..da49c582aa3c 100644 --- a/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts +++ b/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts @@ -269,6 +269,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts b/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts index 82a169078e96..bca6664d0655 100644 --- a/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts +++ b/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts b/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts index 7e2fea9722ba..0492c84ac4c7 100644 --- a/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts +++ b/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts b/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts index ce2002547d7f..eea437c90cc0 100644 --- a/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts +++ b/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts b/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts index 70054bd5f569..cc80c1e2deb0 100644 --- a/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts +++ b/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRuleListResult, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/routeFiltersMappers.ts b/sdk/network/arm-network/src/models/routeFiltersMappers.ts index 2d670e7cab5e..b82b6215b096 100644 --- a/sdk/network/arm-network/src/models/routeFiltersMappers.ts +++ b/sdk/network/arm-network/src/models/routeFiltersMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/routeTablesMappers.ts b/sdk/network/arm-network/src/models/routeTablesMappers.ts index f03d45f61dbe..f71fa5279b38 100644 --- a/sdk/network/arm-network/src/models/routeTablesMappers.ts +++ b/sdk/network/arm-network/src/models/routeTablesMappers.ts @@ -262,6 +262,8 @@ export { RouteTable, RouteTableListResult, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/routesMappers.ts b/sdk/network/arm-network/src/models/routesMappers.ts index 6c5fd9abe637..578a9ccb3f43 100644 --- a/sdk/network/arm-network/src/models/routesMappers.ts +++ b/sdk/network/arm-network/src/models/routesMappers.ts @@ -262,6 +262,8 @@ export { RouteListResult, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/routingIntentOperationsMappers.ts b/sdk/network/arm-network/src/models/routingIntentOperationsMappers.ts new file mode 100644 index 000000000000..e00c633ad154 --- /dev/null +++ b/sdk/network/arm-network/src/models/routingIntentOperationsMappers.ts @@ -0,0 +1,327 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + AadAuthenticationParameters, + AddressSpace, + ApplicationGateway, + ApplicationGatewayAuthenticationCertificate, + ApplicationGatewayAutoscaleConfiguration, + ApplicationGatewayAvailableSslOptions, + ApplicationGatewayBackendAddress, + ApplicationGatewayBackendAddressPool, + ApplicationGatewayBackendHttpSettings, + ApplicationGatewayClientAuthConfiguration, + ApplicationGatewayConnectionDraining, + ApplicationGatewayCustomError, + ApplicationGatewayFirewallDisabledRuleGroup, + ApplicationGatewayFirewallExclusion, + ApplicationGatewayFirewallRule, + ApplicationGatewayFirewallRuleGroup, + ApplicationGatewayFirewallRuleSet, + ApplicationGatewayFrontendIPConfiguration, + ApplicationGatewayFrontendPort, + ApplicationGatewayGlobalConfiguration, + ApplicationGatewayHeaderConfiguration, + ApplicationGatewayHttpListener, + ApplicationGatewayIPConfiguration, + ApplicationGatewayLoadDistributionPolicy, + ApplicationGatewayLoadDistributionTarget, + ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, + ApplicationGatewayProbe, + ApplicationGatewayProbeHealthResponseMatch, + ApplicationGatewayRedirectConfiguration, + ApplicationGatewayRequestRoutingRule, + ApplicationGatewayRewriteRule, + ApplicationGatewayRewriteRuleActionSet, + ApplicationGatewayRewriteRuleCondition, + ApplicationGatewayRewriteRuleSet, + ApplicationGatewaySku, + ApplicationGatewaySslCertificate, + ApplicationGatewaySslPolicy, + ApplicationGatewaySslPredefinedPolicy, + ApplicationGatewaySslProfile, + ApplicationGatewayTrustedClientCertificate, + ApplicationGatewayTrustedRootCertificate, + ApplicationGatewayUrlConfiguration, + ApplicationGatewayUrlPathMap, + ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRule, + ApplicationSecurityGroup, + AzureFirewall, + AzureFirewallApplicationRule, + AzureFirewallApplicationRuleCollection, + AzureFirewallApplicationRuleProtocol, + AzureFirewallFqdnTag, + AzureFirewallIPConfiguration, + AzureFirewallIpGroups, + AzureFirewallNatRCAction, + AzureFirewallNatRule, + AzureFirewallNatRuleCollection, + AzureFirewallNetworkRule, + AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, + AzureFirewallRCAction, + AzureFirewallSku, + BackendAddressPool, + BaseResource, + BastionHost, + BastionHostIPConfiguration, + BGPCommunity, + BgpConnection, + BgpServiceCommunity, + BgpSettings, + BreakOutCategoryPolicies, + CloudError, + ConnectionMonitorDestination, + ConnectionMonitorEndpoint, + ConnectionMonitorEndpointFilter, + ConnectionMonitorEndpointFilterItem, + ConnectionMonitorEndpointScope, + ConnectionMonitorEndpointScopeItem, + ConnectionMonitorHttpConfiguration, + ConnectionMonitorIcmpConfiguration, + ConnectionMonitorOutput, + ConnectionMonitorResult, + ConnectionMonitorSource, + ConnectionMonitorSuccessThreshold, + ConnectionMonitorTcpConfiguration, + ConnectionMonitorTestConfiguration, + ConnectionMonitorTestGroup, + ConnectionMonitorWorkspaceSettings, + ConnectionSharedKey, + Container, + ContainerNetworkInterface, + ContainerNetworkInterfaceConfiguration, + ContainerNetworkInterfaceIpConfiguration, + CustomDnsConfigPropertiesFormat, + CustomIpPrefix, + DdosCustomPolicy, + DdosProtectionPlan, + DdosSettings, + Delegation, + DeviceProperties, + DhcpOptions, + DnsSettings, + DscpConfiguration, + EndpointServiceResult, + ExplicitProxySettings, + ExpressRouteCircuit, + ExpressRouteCircuitAuthorization, + ExpressRouteCircuitConnection, + ExpressRouteCircuitPeering, + ExpressRouteCircuitPeeringConfig, + ExpressRouteCircuitPeeringId, + ExpressRouteCircuitReference, + ExpressRouteCircuitServiceProviderProperties, + ExpressRouteCircuitSku, + ExpressRouteCircuitStats, + ExpressRouteConnection, + ExpressRouteConnectionId, + ExpressRouteCrossConnection, + ExpressRouteCrossConnectionPeering, + ExpressRouteGateway, + ExpressRouteGatewayPropertiesAutoScaleConfiguration, + ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds, + ExpressRouteLink, + ExpressRouteLinkMacSecConfig, + ExpressRoutePort, + ExpressRoutePortsLocation, + ExpressRoutePortsLocationBandwidths, + ExpressRouteServiceProvider, + ExpressRouteServiceProviderBandwidthsOffered, + ExtendedLocation, + FirewallPolicy, + FirewallPolicyCertificateAuthority, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyInsights, + FirewallPolicyIntrusionDetection, + FirewallPolicyIntrusionDetectionBypassTrafficSpecifications, + FirewallPolicyIntrusionDetectionConfiguration, + FirewallPolicyIntrusionDetectionSignatureSpecification, + FirewallPolicyLogAnalyticsResources, + FirewallPolicyLogAnalyticsWorkspace, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, + FirewallPolicyRule, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, + FirewallPolicySku, + FirewallPolicySNAT, + FirewallPolicySQL, + FirewallPolicyThreatIntelWhitelist, + FirewallPolicyTransportSecurity, + FlowLog, + FlowLogFormatParameters, + FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, + HTTPHeader, + HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, + HubRoute, + HubRouteTable, + HubVirtualNetworkConnection, + InboundNatPool, + InboundNatRule, + InboundSecurityRule, + InboundSecurityRules, + IpAllocation, + IPConfiguration, + IPConfigurationBgpPeeringAddress, + IPConfigurationProfile, + IpGroup, + IpsecPolicy, + IpTag, + Ipv6CircuitConnectionConfig, + Ipv6ExpressRouteCircuitPeeringConfig, + ListRoutingIntentResult, + LoadBalancer, + LoadBalancerBackendAddress, + LoadBalancerSku, + LoadBalancingRule, + LocalNetworkGateway, + ManagedRuleGroupOverride, + ManagedRuleOverride, + ManagedRulesDefinition, + ManagedRuleSet, + ManagedServiceIdentity, + ManagedServiceIdentityUserAssignedIdentitiesValue, + MatchCondition, + MatchVariable, + NatGateway, + NatGatewaySku, + NatRule, + NetworkIntentPolicy, + NetworkInterface, + NetworkInterfaceDnsSettings, + NetworkInterfaceIPConfiguration, + NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, + NetworkInterfaceTapConfiguration, + NetworkProfile, + NetworkRule, + NetworkSecurityGroup, + NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, + NetworkWatcher, + O365BreakOutCategoryPolicies, + O365PolicyProperties, + Office365PolicyProperties, + OutboundRule, + OwaspCrsExclusionEntry, + P2SConnectionConfiguration, + P2SVpnGateway, + PatchRouteFilter, + PatchRouteFilterRule, + PeerExpressRouteCircuitConnection, + PolicySettings, + PrivateDnsZoneConfig, + PrivateDnsZoneGroup, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateEndpointIPConfiguration, + PrivateLinkService, + PrivateLinkServiceConnection, + PrivateLinkServiceConnectionState, + PrivateLinkServiceIpConfiguration, + PrivateLinkServicePropertiesAutoApproval, + PrivateLinkServicePropertiesVisibility, + Probe, + PropagatedRouteTable, + ProtocolCustomSettingsFormat, + PublicIPAddress, + PublicIPAddressDnsSettings, + PublicIPAddressSku, + PublicIPPrefix, + PublicIPPrefixSku, + QosDefinition, + QosIpRange, + QosPortRange, + RadiusServer, + RecordSet, + ReferencedPublicIpAddress, + Resource, + ResourceNavigationLink, + ResourceSet, + RetentionPolicyParameters, + Route, + RouteFilter, + RouteFilterRule, + RouteTable, + RoutingConfiguration, + RoutingIntent, + RoutingPolicy, + SecurityPartnerProvider, + SecurityRule, + ServiceAssociationLink, + ServiceEndpointPolicy, + ServiceEndpointPolicyDefinition, + ServiceEndpointPropertiesFormat, + Sku, + StaticRoute, + Subnet, + SubResource, + TrafficAnalyticsConfigurationProperties, + TrafficAnalyticsProperties, + TrafficSelectorPolicy, + TunnelConnectionHealth, + VirtualApplianceNicProperties, + VirtualApplianceSite, + VirtualApplianceSkuProperties, + VirtualHub, + VirtualHubId, + VirtualHubRoute, + VirtualHubRouteTable, + VirtualHubRouteTableV2, + VirtualHubRouteV2, + VirtualNetwork, + VirtualNetworkBgpCommunities, + VirtualNetworkConnectionGatewayReference, + VirtualNetworkGateway, + VirtualNetworkGatewayConnection, + VirtualNetworkGatewayConnectionListEntity, + VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, + VirtualNetworkGatewaySku, + VirtualNetworkPeering, + VirtualNetworkTap, + VirtualRouter, + VirtualRouterPeering, + VirtualWAN, + VM, + VnetRoute, + VpnClientConfiguration, + VpnClientConnectionHealth, + VpnClientRevokedCertificate, + VpnClientRootCertificate, + VpnConnection, + VpnGateway, + VpnGatewayIpConfiguration, + VpnGatewayNatRule, + VpnLinkBgpSettings, + VpnLinkProviderProperties, + VpnNatRuleMapping, + VpnServerConfigRadiusClientRootCertificate, + VpnServerConfigRadiusServerRootCertificate, + VpnServerConfiguration, + VpnServerConfigVpnClientRevokedCertificate, + VpnServerConfigVpnClientRootCertificate, + VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, + WebApplicationFirewallCustomRule, + WebApplicationFirewallPolicy +} from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts b/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts index 1b19554f2bad..c19701c96fa2 100644 --- a/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts +++ b/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts @@ -261,6 +261,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityPartnerProviderListResult, SecurityRule, diff --git a/sdk/network/arm-network/src/models/securityRulesMappers.ts b/sdk/network/arm-network/src/models/securityRulesMappers.ts index 92a807311a85..18b47d94ac62 100644 --- a/sdk/network/arm-network/src/models/securityRulesMappers.ts +++ b/sdk/network/arm-network/src/models/securityRulesMappers.ts @@ -261,6 +261,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, SecurityRuleListResult, diff --git a/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts b/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts index 7f466c5ea2d8..fde47f57d999 100644 --- a/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts +++ b/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts @@ -261,6 +261,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts b/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts index 0e314187ccea..7758eed5633e 100644 --- a/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts @@ -261,6 +261,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts b/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts index 2816fd60d91e..cfb8fe659d56 100644 --- a/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts +++ b/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts @@ -261,6 +261,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/subnetsMappers.ts b/sdk/network/arm-network/src/models/subnetsMappers.ts index 90f92d201ee7..d9ed68102b23 100644 --- a/sdk/network/arm-network/src/models/subnetsMappers.ts +++ b/sdk/network/arm-network/src/models/subnetsMappers.ts @@ -263,6 +263,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/virtualApplianceSitesMappers.ts b/sdk/network/arm-network/src/models/virtualApplianceSitesMappers.ts index 721fb105178a..07231c3bb102 100644 --- a/sdk/network/arm-network/src/models/virtualApplianceSitesMappers.ts +++ b/sdk/network/arm-network/src/models/virtualApplianceSitesMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/virtualApplianceSkusMappers.ts b/sdk/network/arm-network/src/models/virtualApplianceSkusMappers.ts index d1d5d62d67eb..7b1f22777910 100644 --- a/sdk/network/arm-network/src/models/virtualApplianceSkusMappers.ts +++ b/sdk/network/arm-network/src/models/virtualApplianceSkusMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/virtualHubBgpConnectionMappers.ts b/sdk/network/arm-network/src/models/virtualHubBgpConnectionMappers.ts index 471135f9d19e..0a3d2fbc7afe 100644 --- a/sdk/network/arm-network/src/models/virtualHubBgpConnectionMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubBgpConnectionMappers.ts @@ -261,6 +261,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/virtualHubBgpConnectionsMappers.ts b/sdk/network/arm-network/src/models/virtualHubBgpConnectionsMappers.ts index 61c40e291cc8..77c8bcf6a784 100644 --- a/sdk/network/arm-network/src/models/virtualHubBgpConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubBgpConnectionsMappers.ts @@ -264,6 +264,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/virtualHubIpConfigurationMappers.ts b/sdk/network/arm-network/src/models/virtualHubIpConfigurationMappers.ts index 2ddb1d83100e..36e3b1f38cba 100644 --- a/sdk/network/arm-network/src/models/virtualHubIpConfigurationMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubIpConfigurationMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts b/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts index 0113e82827f8..597d6957dd49 100644 --- a/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts @@ -264,6 +264,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/virtualHubsMappers.ts b/sdk/network/arm-network/src/models/virtualHubsMappers.ts index 9d1305f03a98..6fd98a49f0a4 100644 --- a/sdk/network/arm-network/src/models/virtualHubsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubsMappers.ts @@ -263,6 +263,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts index f1ff2bd83e87..b5695b9f1274 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts @@ -265,6 +265,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/virtualNetworkGatewayNatRulesMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkGatewayNatRulesMappers.ts index d3f7171a3a42..fac224e63c85 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkGatewayNatRulesMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkGatewayNatRulesMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts index 550fc9049076..2509c0b66f67 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts @@ -268,6 +268,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts index ae10e3976fa4..424f65f87c88 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts @@ -261,6 +261,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts index 51d54206100e..e572c35edc22 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts @@ -261,6 +261,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/virtualNetworksMappers.ts b/sdk/network/arm-network/src/models/virtualNetworksMappers.ts index c4c3cd4781a1..c16ae62ada91 100644 --- a/sdk/network/arm-network/src/models/virtualNetworksMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworksMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts b/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts index eeee24a2c981..f55726a5b4c2 100644 --- a/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/virtualRoutersMappers.ts b/sdk/network/arm-network/src/models/virtualRoutersMappers.ts index dd46beeb2546..02ab714e1ff0 100644 --- a/sdk/network/arm-network/src/models/virtualRoutersMappers.ts +++ b/sdk/network/arm-network/src/models/virtualRoutersMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/virtualWansMappers.ts b/sdk/network/arm-network/src/models/virtualWansMappers.ts index 18e0067f09c9..aa7fdba59467 100644 --- a/sdk/network/arm-network/src/models/virtualWansMappers.ts +++ b/sdk/network/arm-network/src/models/virtualWansMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts index b95ef833a562..d1a845b7a61c 100644 --- a/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts b/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts index 46f955d49c50..fabac5bba8f7 100644 --- a/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts index fe761b9f615c..e43c1f9c6544 100644 --- a/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts @@ -264,6 +264,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts b/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts index 7d3b6d58de48..110cf2cae488 100644 --- a/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts index 471135f9d19e..0a3d2fbc7afe 100644 --- a/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts @@ -261,6 +261,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts b/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts index 8a1f07cccabd..96054b957309 100644 --- a/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/vpnSitesMappers.ts b/sdk/network/arm-network/src/models/vpnSitesMappers.ts index f0ed020f5392..faf5a67f4333 100644 --- a/sdk/network/arm-network/src/models/vpnSitesMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSitesMappers.ts @@ -262,6 +262,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts b/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts index cf0f694c5354..e85f660e3a91 100644 --- a/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts @@ -261,6 +261,8 @@ export { RouteFilterRule, RouteTable, RoutingConfiguration, + RoutingIntent, + RoutingPolicy, SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/networkManagementClient.ts b/sdk/network/arm-network/src/networkManagementClient.ts index ac09eeaf5a11..73e42b92f72d 100644 --- a/sdk/network/arm-network/src/networkManagementClient.ts +++ b/sdk/network/arm-network/src/networkManagementClient.ts @@ -126,6 +126,7 @@ class NetworkManagementClient extends NetworkManagementClientContext { virtualHubBgpConnections: operations.VirtualHubBgpConnections; virtualHubIpConfiguration: operations.VirtualHubIpConfiguration; hubRouteTables: operations.HubRouteTables; + routingIntent: operations.RoutingIntentOperations; webApplicationFirewallPolicies: operations.WebApplicationFirewallPolicies; /** @@ -249,6 +250,7 @@ class NetworkManagementClient extends NetworkManagementClientContext { this.virtualHubBgpConnections = new operations.VirtualHubBgpConnections(this); this.virtualHubIpConfiguration = new operations.VirtualHubIpConfiguration(this); this.hubRouteTables = new operations.HubRouteTables(this); + this.routingIntent = new operations.RoutingIntentOperations(this); this.webApplicationFirewallPolicies = new operations.WebApplicationFirewallPolicies(this); } diff --git a/sdk/network/arm-network/src/operations/index.ts b/sdk/network/arm-network/src/operations/index.ts index edb1381b98b0..c1bbc2beb0a4 100644 --- a/sdk/network/arm-network/src/operations/index.ts +++ b/sdk/network/arm-network/src/operations/index.ts @@ -114,4 +114,5 @@ export * from "./virtualHubBgpConnection"; export * from "./virtualHubBgpConnections"; export * from "./virtualHubIpConfiguration"; export * from "./hubRouteTables"; +export * from "./routingIntentOperations"; export * from "./webApplicationFirewallPolicies"; diff --git a/sdk/network/arm-network/src/operations/routingIntentOperations.ts b/sdk/network/arm-network/src/operations/routingIntentOperations.ts new file mode 100644 index 000000000000..70e41c9b68a1 --- /dev/null +++ b/sdk/network/arm-network/src/operations/routingIntentOperations.ts @@ -0,0 +1,332 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/routingIntentOperationsMappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClientContext } from "../networkManagementClientContext"; + +/** Class representing a RoutingIntentOperations. */ +export class RoutingIntentOperations { + private readonly client: NetworkManagementClientContext; + + /** + * Create a RoutingIntentOperations. + * @param {NetworkManagementClientContext} client Reference to the service client. + */ + constructor(client: NetworkManagementClientContext) { + this.client = client; + } + + /** + * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. + * @param resourceGroupName The resource group name of the RoutingIntent. + * @param virtualHubName The name of the VirtualHub. + * @param routingIntentName The name of the per VirtualHub singleton Routing Intent resource. + * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. + * @param [options] The optional parameters + * @returns Promise<Models.RoutingIntentCreateOrUpdateResponse> + */ + createOrUpdate(resourceGroupName: string, virtualHubName: string, routingIntentName: string, routingIntentParameters: Models.RoutingIntent, options?: msRest.RequestOptionsBase): Promise<Models.RoutingIntentCreateOrUpdateResponse> { + return this.beginCreateOrUpdate(resourceGroupName,virtualHubName,routingIntentName,routingIntentParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.RoutingIntentCreateOrUpdateResponse>; + } + + /** + * Retrieves the details of a RoutingIntent. + * @param resourceGroupName The resource group name of the RoutingIntent. + * @param virtualHubName The name of the VirtualHub. + * @param routingIntentName The name of the RoutingIntent. + * @param [options] The optional parameters + * @returns Promise<Models.RoutingIntentGetResponse> + */ + get(resourceGroupName: string, virtualHubName: string, routingIntentName: string, options?: msRest.RequestOptionsBase): Promise<Models.RoutingIntentGetResponse>; + /** + * @param resourceGroupName The resource group name of the RoutingIntent. + * @param virtualHubName The name of the VirtualHub. + * @param routingIntentName The name of the RoutingIntent. + * @param callback The callback + */ + get(resourceGroupName: string, virtualHubName: string, routingIntentName: string, callback: msRest.ServiceCallback<Models.RoutingIntent>): void; + /** + * @param resourceGroupName The resource group name of the RoutingIntent. + * @param virtualHubName The name of the VirtualHub. + * @param routingIntentName The name of the RoutingIntent. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, virtualHubName: string, routingIntentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.RoutingIntent>): void; + get(resourceGroupName: string, virtualHubName: string, routingIntentName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.RoutingIntent>, callback?: msRest.ServiceCallback<Models.RoutingIntent>): Promise<Models.RoutingIntentGetResponse> { + return this.client.sendOperationRequest( + { + resourceGroupName, + virtualHubName, + routingIntentName, + options + }, + getOperationSpec, + callback) as Promise<Models.RoutingIntentGetResponse>; + } + + /** + * Deletes a RoutingIntent. + * @param resourceGroupName The resource group name of the RoutingIntent. + * @param virtualHubName The name of the VirtualHub. + * @param routingIntentName The name of the RoutingIntent. + * @param [options] The optional parameters + * @returns Promise<msRest.RestResponse> + */ + deleteMethod(resourceGroupName: string, virtualHubName: string, routingIntentName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> { + return this.beginDeleteMethod(resourceGroupName,virtualHubName,routingIntentName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Retrieves the details of all RoutingIntent child resources of the VirtualHub. + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param [options] The optional parameters + * @returns Promise<Models.RoutingIntentListResponse> + */ + list(resourceGroupName: string, virtualHubName: string, options?: msRest.RequestOptionsBase): Promise<Models.RoutingIntentListResponse>; + /** + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param callback The callback + */ + list(resourceGroupName: string, virtualHubName: string, callback: msRest.ServiceCallback<Models.ListRoutingIntentResult>): void; + /** + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, virtualHubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ListRoutingIntentResult>): void; + list(resourceGroupName: string, virtualHubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ListRoutingIntentResult>, callback?: msRest.ServiceCallback<Models.ListRoutingIntentResult>): Promise<Models.RoutingIntentListResponse> { + return this.client.sendOperationRequest( + { + resourceGroupName, + virtualHubName, + options + }, + listOperationSpec, + callback) as Promise<Models.RoutingIntentListResponse>; + } + + /** + * Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent. + * @param resourceGroupName The resource group name of the RoutingIntent. + * @param virtualHubName The name of the VirtualHub. + * @param routingIntentName The name of the per VirtualHub singleton Routing Intent resource. + * @param routingIntentParameters Parameters supplied to create or update RoutingIntent. + * @param [options] The optional parameters + * @returns Promise<msRestAzure.LROPoller> + */ + beginCreateOrUpdate(resourceGroupName: string, virtualHubName: string, routingIntentName: string, routingIntentParameters: Models.RoutingIntent, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> { + return this.client.sendLRORequest( + { + resourceGroupName, + virtualHubName, + routingIntentName, + routingIntentParameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Deletes a RoutingIntent. + * @param resourceGroupName The resource group name of the RoutingIntent. + * @param virtualHubName The name of the VirtualHub. + * @param routingIntentName The name of the RoutingIntent. + * @param [options] The optional parameters + * @returns Promise<msRestAzure.LROPoller> + */ + beginDeleteMethod(resourceGroupName: string, virtualHubName: string, routingIntentName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> { + return this.client.sendLRORequest( + { + resourceGroupName, + virtualHubName, + routingIntentName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Retrieves the details of all RoutingIntent child resources of the VirtualHub. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise<Models.RoutingIntentListNextResponse> + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.RoutingIntentListNextResponse>; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ListRoutingIntentResult>): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ListRoutingIntentResult>): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ListRoutingIntentResult>, callback?: msRest.ServiceCallback<Models.ListRoutingIntentResult>): Promise<Models.RoutingIntentListNextResponse> { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise<Models.RoutingIntentListNextResponse>; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualHubName, + Parameters.routingIntentName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.RoutingIntent + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualHubName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ListRoutingIntentResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualHubName, + Parameters.routingIntentName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "routingIntentParameters", + mapper: { + ...Mappers.RoutingIntent, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.RoutingIntent + }, + 201: { + bodyMapper: Mappers.RoutingIntent + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualHubName, + Parameters.routingIntentName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ListRoutingIntentResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +};