diff --git a/sdk/network/arm-network/README.md b/sdk/network/arm-network/README.md index 667bcbbb3319..581db9cb3972 100644 --- a/sdk/network/arm-network/README.md +++ b/sdk/network/arm-network/README.md @@ -19,8 +19,9 @@ npm install @azure/arm-network ##### Install @azure/ms-rest-nodeauth +- Please install minimum version of `"@azure/ms-rest-nodeauth": "^3.0.0"`. ```bash -npm install @azure/ms-rest-nodeauth +npm install @azure/ms-rest-nodeauth@"^3.0.0" ``` ##### Sample code diff --git a/sdk/network/arm-network/package.json b/sdk/network/arm-network/package.json index daf5c496a236..0ab7a8b2baa1 100644 --- a/sdk/network/arm-network/package.json +++ b/sdk/network/arm-network/package.json @@ -2,11 +2,11 @@ "name": "@azure/arm-network", "author": "Microsoft Corporation", "description": "NetworkManagementClient Library with typescript type definitions for node.js and browser.", - "version": "14.0.0", + "version": "15.0.0", "dependencies": { - "@azure/ms-rest-azure-js": "^1.3.2", - "@azure/ms-rest-js": "^1.8.1", - "tslib": "^1.9.3" + "@azure/ms-rest-azure-js": "^2.0.1", + "@azure/ms-rest-js": "^2.0.4", + "tslib": "^1.10.0" }, "keywords": [ "node", @@ -20,11 +20,11 @@ "module": "./esm/networkManagementClient.js", "types": "./esm/networkManagementClient.d.ts", "devDependencies": { - "typescript": "^3.1.1", - "rollup": "^0.66.2", - "rollup-plugin-node-resolve": "^3.4.0", + "typescript": "^3.5.3", + "rollup": "^1.18.0", + "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", - "uglify-js": "^3.4.9" + "uglify-js": "^3.6.0" }, "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/network/arm-network", "repository": { diff --git a/sdk/network/arm-network/rollup.config.js b/sdk/network/arm-network/rollup.config.js index 76a0e08ea2ae..05faeb884148 100644 --- a/sdk/network/arm-network/rollup.config.js +++ b/sdk/network/arm-network/rollup.config.js @@ -29,7 +29,7 @@ const config = { */` }, plugins: [ - nodeResolve({ module: true }), + nodeResolve({ mainFields: ['module', 'main'] }), sourcemaps() ] }; diff --git a/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts b/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts index 9ce1c26af26e..79198e26a325 100644 --- a/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -52,6 +53,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -64,6 +66,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -113,7 +116,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -138,6 +151,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -203,7 +217,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts b/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts index 959a58d306e6..1cf13dcfe5ef 100644 --- a/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, ApplicationSecurityGroupListResult, AzureFirewall, @@ -56,6 +58,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -193,7 +207,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/availableDelegationsMappers.ts b/sdk/network/arm-network/src/models/availableDelegationsMappers.ts index c9d8bd330c17..57f8341fb467 100644 --- a/sdk/network/arm-network/src/models/availableDelegationsMappers.ts +++ b/sdk/network/arm-network/src/models/availableDelegationsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AvailableDelegation, AvailableDelegationsResult, CloudError diff --git a/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts b/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts index 9d914a1c5612..cb75bc88c8d0 100644 --- a/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts +++ b/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/availablePrivateEndpointTypesMappers.ts b/sdk/network/arm-network/src/models/availablePrivateEndpointTypesMappers.ts index 648d8074a77c..44975597ca56 100644 --- a/sdk/network/arm-network/src/models/availablePrivateEndpointTypesMappers.ts +++ b/sdk/network/arm-network/src/models/availablePrivateEndpointTypesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AvailablePrivateEndpointType, AvailablePrivateEndpointTypesResult, CloudError diff --git a/sdk/network/arm-network/src/models/availableResourceGroupDelegationsMappers.ts b/sdk/network/arm-network/src/models/availableResourceGroupDelegationsMappers.ts index c9d8bd330c17..57f8341fb467 100644 --- a/sdk/network/arm-network/src/models/availableResourceGroupDelegationsMappers.ts +++ b/sdk/network/arm-network/src/models/availableResourceGroupDelegationsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AvailableDelegation, AvailableDelegationsResult, CloudError diff --git a/sdk/network/arm-network/src/models/availableResourceGroupPrivateEndpointTypesMappers.ts b/sdk/network/arm-network/src/models/availableResourceGroupPrivateEndpointTypesMappers.ts deleted file mode 100644 index 648d8074a77c..000000000000 --- a/sdk/network/arm-network/src/models/availableResourceGroupPrivateEndpointTypesMappers.ts +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for license information. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -export { - AvailablePrivateEndpointType, - AvailablePrivateEndpointTypesResult, - CloudError -} from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts b/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts index 4525bd978299..9fdd25b32210 100644 --- a/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts +++ b/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -56,6 +58,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/azureFirewallsMappers.ts b/sdk/network/arm-network/src/models/azureFirewallsMappers.ts index 7336dd9ed410..b73e8bf8d453 100644 --- a/sdk/network/arm-network/src/models/azureFirewallsMappers.ts +++ b/sdk/network/arm-network/src/models/azureFirewallsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -56,6 +58,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/bastionHostsMappers.ts b/sdk/network/arm-network/src/models/bastionHostsMappers.ts index 684456978daa..8d905853df3e 100644 --- a/sdk/network/arm-network/src/models/bastionHostsMappers.ts +++ b/sdk/network/arm-network/src/models/bastionHostsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -80,6 +83,8 @@ export { DeviceProperties, DhcpOptions, EndpointServiceResult, + ErrorDetails, + ErrorModel, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, ExpressRouteCircuitConnection, @@ -103,7 +108,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +143,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -171,6 +187,7 @@ export { ServiceEndpointPropertiesFormat, Subnet, SubResource, + TagsObject, TunnelConnectionHealth, VirtualHub, VirtualHubId, @@ -192,7 +209,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts b/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts index 0d99f96d404a..27cbb0a7b18a 100644 --- a/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts +++ b/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts b/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts index 88882cc71480..d3dd78018d3d 100644 --- a/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts +++ b/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -109,7 +112,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -134,6 +147,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -198,7 +212,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts b/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts index 3567844b6e9d..c8c17d603475 100644 --- a/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -127,6 +140,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts b/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts index 44d5c5d9efa7..57de0429c53a 100644 --- a/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts +++ b/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -193,7 +207,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts b/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts index d2f6fb9e6177..2a00b16d5d5a 100644 --- a/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts +++ b/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -127,6 +140,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts index 87c58233b67f..239822d9d354 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AuthorizationListResult, AzureFirewall, @@ -56,6 +58,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts index ee6192cfc392..e627084c173a 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts index f0c78f5b7346..42ac32e78dae 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts index 63efa63f8c5a..1b86d5154c62 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -109,7 +112,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -134,6 +147,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -199,7 +213,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts index 5a845bec8dfd..61e6d409f007 100644 --- a/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts index 9302ef7ed362..2d1f87f63963 100644 --- a/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts index 26d673b7f069..19326f6706ef 100644 --- a/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -109,7 +112,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -134,6 +147,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -199,7 +213,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts b/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts index fb9503d12adb..2697cd3be225 100644 --- a/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts b/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts index 231044bcd02f..a78d3b6ddebc 100644 --- a/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts b/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts index a7694d0cccda..7bba64ef1031 100644 --- a/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationListResult, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts b/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts index 7557197df422..897b3ffea3c4 100644 --- a/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -193,7 +207,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts b/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts index 4a6c38f9cdb7..0cfd66eb4396 100644 --- a/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, ExpressRouteServiceProviderListResult, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts b/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts new file mode 100644 index 000000000000..108dca318d37 --- /dev/null +++ b/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts @@ -0,0 +1,219 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + AddressSpace, + ApplicationGateway, + ApplicationGatewayAuthenticationCertificate, + ApplicationGatewayAutoscaleConfiguration, + ApplicationGatewayAvailableSslOptions, + ApplicationGatewayBackendAddress, + ApplicationGatewayBackendAddressPool, + ApplicationGatewayBackendHttpSettings, + ApplicationGatewayConnectionDraining, + ApplicationGatewayCustomError, + ApplicationGatewayFirewallDisabledRuleGroup, + ApplicationGatewayFirewallExclusion, + ApplicationGatewayFirewallRule, + ApplicationGatewayFirewallRuleGroup, + ApplicationGatewayFirewallRuleSet, + ApplicationGatewayFrontendIPConfiguration, + ApplicationGatewayFrontendPort, + ApplicationGatewayHeaderConfiguration, + ApplicationGatewayHttpListener, + ApplicationGatewayIPConfiguration, + ApplicationGatewayPathRule, + ApplicationGatewayProbe, + ApplicationGatewayProbeHealthResponseMatch, + ApplicationGatewayRedirectConfiguration, + ApplicationGatewayRequestRoutingRule, + ApplicationGatewayRewriteRule, + ApplicationGatewayRewriteRuleActionSet, + ApplicationGatewayRewriteRuleCondition, + ApplicationGatewayRewriteRuleSet, + ApplicationGatewaySku, + ApplicationGatewaySslCertificate, + ApplicationGatewaySslPolicy, + ApplicationGatewaySslPredefinedPolicy, + ApplicationGatewayTrustedRootCertificate, + ApplicationGatewayUrlPathMap, + ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, + ApplicationSecurityGroup, + AzureFirewall, + AzureFirewallApplicationRule, + AzureFirewallApplicationRuleCollection, + AzureFirewallApplicationRuleProtocol, + AzureFirewallFqdnTag, + AzureFirewallIPConfiguration, + AzureFirewallNatRCAction, + AzureFirewallNatRule, + AzureFirewallNatRuleCollection, + AzureFirewallNetworkRule, + AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, + AzureFirewallRCAction, + BackendAddressPool, + BaseResource, + BastionHost, + BastionHostIPConfiguration, + BGPCommunity, + BgpServiceCommunity, + BgpSettings, + CloudError, + ConnectionMonitorDestination, + ConnectionMonitorResult, + ConnectionMonitorSource, + ConnectionSharedKey, + Container, + ContainerNetworkInterface, + ContainerNetworkInterfaceConfiguration, + ContainerNetworkInterfaceIpConfiguration, + DdosCustomPolicy, + DdosProtectionPlan, + DdosSettings, + Delegation, + DeviceProperties, + DhcpOptions, + EndpointServiceResult, + ErrorDetails, + ErrorModel, + ExpressRouteCircuit, + ExpressRouteCircuitAuthorization, + ExpressRouteCircuitConnection, + ExpressRouteCircuitPeering, + ExpressRouteCircuitPeeringConfig, + ExpressRouteCircuitPeeringId, + ExpressRouteCircuitReference, + ExpressRouteCircuitServiceProviderProperties, + ExpressRouteCircuitSku, + ExpressRouteCircuitStats, + ExpressRouteConnection, + ExpressRouteConnectionId, + ExpressRouteCrossConnection, + ExpressRouteCrossConnectionPeering, + ExpressRouteGateway, + ExpressRouteGatewayPropertiesAutoScaleConfiguration, + ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds, + ExpressRouteLink, + ExpressRoutePort, + ExpressRoutePortsLocation, + ExpressRoutePortsLocationBandwidths, + ExpressRouteServiceProvider, + ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyListResult, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, + FrontendIPConfiguration, + HubIPAddresses, + HubVirtualNetworkConnection, + InboundNatPool, + InboundNatRule, + IPConfiguration, + IPConfigurationProfile, + IpsecPolicy, + IpTag, + Ipv6ExpressRouteCircuitPeeringConfig, + LoadBalancer, + LoadBalancerSku, + LoadBalancingRule, + LocalNetworkGateway, + ManagedServiceIdentity, + ManagedServiceIdentityUserAssignedIdentitiesValue, + MatchCondition, + MatchVariable, + NatGateway, + NatGatewaySku, + NetworkIntentPolicy, + NetworkInterface, + NetworkInterfaceDnsSettings, + NetworkInterfaceIPConfiguration, + NetworkInterfaceTapConfiguration, + NetworkProfile, + NetworkRuleCondition, + NetworkSecurityGroup, + NetworkWatcher, + OutboundRule, + P2SVpnGateway, + P2SVpnServerConfigRadiusClientRootCertificate, + P2SVpnServerConfigRadiusServerRootCertificate, + P2SVpnServerConfiguration, + P2SVpnServerConfigVpnClientRevokedCertificate, + P2SVpnServerConfigVpnClientRootCertificate, + PatchRouteFilter, + PatchRouteFilterRule, + PeerExpressRouteCircuitConnection, + PolicySettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkService, + PrivateLinkServiceConnection, + PrivateLinkServiceConnectionState, + PrivateLinkServiceIpConfiguration, + PrivateLinkServicePropertiesAutoApproval, + PrivateLinkServicePropertiesVisibility, + Probe, + ProtocolCustomSettingsFormat, + PublicIPAddress, + PublicIPAddressDnsSettings, + PublicIPAddressSku, + PublicIPPrefix, + PublicIPPrefixSku, + ReferencedPublicIpAddress, + Resource, + ResourceNavigationLink, + ResourceSet, + Route, + RouteFilter, + RouteFilterRule, + RouteTable, + SecurityRule, + ServiceAssociationLink, + ServiceEndpointPolicy, + ServiceEndpointPolicyDefinition, + ServiceEndpointPropertiesFormat, + Subnet, + SubResource, + TagsObject, + TunnelConnectionHealth, + VirtualHub, + VirtualHubId, + VirtualHubRoute, + VirtualHubRouteTable, + VirtualNetwork, + VirtualNetworkConnectionGatewayReference, + VirtualNetworkGateway, + VirtualNetworkGatewayConnection, + VirtualNetworkGatewayConnectionListEntity, + VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewaySku, + VirtualNetworkPeering, + VirtualNetworkTap, + VirtualWAN, + VpnClientConfiguration, + VpnClientConnectionHealth, + VpnClientRevokedCertificate, + VpnClientRootCertificate, + VpnConnection, + VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, + VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, + WebApplicationFirewallCustomRule, + WebApplicationFirewallPolicy +} from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/firewallPolicyRuleGroupsMappers.ts b/sdk/network/arm-network/src/models/firewallPolicyRuleGroupsMappers.ts new file mode 100644 index 000000000000..9fa2c73c8502 --- /dev/null +++ b/sdk/network/arm-network/src/models/firewallPolicyRuleGroupsMappers.ts @@ -0,0 +1,216 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + AddressSpace, + ApplicationGateway, + ApplicationGatewayAuthenticationCertificate, + ApplicationGatewayAutoscaleConfiguration, + ApplicationGatewayAvailableSslOptions, + ApplicationGatewayBackendAddress, + ApplicationGatewayBackendAddressPool, + ApplicationGatewayBackendHttpSettings, + ApplicationGatewayConnectionDraining, + ApplicationGatewayCustomError, + ApplicationGatewayFirewallDisabledRuleGroup, + ApplicationGatewayFirewallExclusion, + ApplicationGatewayFirewallRule, + ApplicationGatewayFirewallRuleGroup, + ApplicationGatewayFirewallRuleSet, + ApplicationGatewayFrontendIPConfiguration, + ApplicationGatewayFrontendPort, + ApplicationGatewayHeaderConfiguration, + ApplicationGatewayHttpListener, + ApplicationGatewayIPConfiguration, + ApplicationGatewayPathRule, + ApplicationGatewayProbe, + ApplicationGatewayProbeHealthResponseMatch, + ApplicationGatewayRedirectConfiguration, + ApplicationGatewayRequestRoutingRule, + ApplicationGatewayRewriteRule, + ApplicationGatewayRewriteRuleActionSet, + ApplicationGatewayRewriteRuleCondition, + ApplicationGatewayRewriteRuleSet, + ApplicationGatewaySku, + ApplicationGatewaySslCertificate, + ApplicationGatewaySslPolicy, + ApplicationGatewaySslPredefinedPolicy, + ApplicationGatewayTrustedRootCertificate, + ApplicationGatewayUrlPathMap, + ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, + ApplicationSecurityGroup, + AzureFirewall, + AzureFirewallApplicationRule, + AzureFirewallApplicationRuleCollection, + AzureFirewallApplicationRuleProtocol, + AzureFirewallFqdnTag, + AzureFirewallIPConfiguration, + AzureFirewallNatRCAction, + AzureFirewallNatRule, + AzureFirewallNatRuleCollection, + AzureFirewallNetworkRule, + AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, + AzureFirewallRCAction, + BackendAddressPool, + BaseResource, + BastionHost, + BastionHostIPConfiguration, + BGPCommunity, + BgpServiceCommunity, + BgpSettings, + CloudError, + ConnectionMonitorDestination, + ConnectionMonitorResult, + ConnectionMonitorSource, + ConnectionSharedKey, + Container, + ContainerNetworkInterface, + ContainerNetworkInterfaceConfiguration, + ContainerNetworkInterfaceIpConfiguration, + DdosCustomPolicy, + DdosProtectionPlan, + DdosSettings, + Delegation, + DeviceProperties, + DhcpOptions, + EndpointServiceResult, + ExpressRouteCircuit, + ExpressRouteCircuitAuthorization, + ExpressRouteCircuitConnection, + ExpressRouteCircuitPeering, + ExpressRouteCircuitPeeringConfig, + ExpressRouteCircuitPeeringId, + ExpressRouteCircuitReference, + ExpressRouteCircuitServiceProviderProperties, + ExpressRouteCircuitSku, + ExpressRouteCircuitStats, + ExpressRouteConnection, + ExpressRouteConnectionId, + ExpressRouteCrossConnection, + ExpressRouteCrossConnectionPeering, + ExpressRouteGateway, + ExpressRouteGatewayPropertiesAutoScaleConfiguration, + ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds, + ExpressRouteLink, + ExpressRoutePort, + ExpressRoutePortsLocation, + ExpressRoutePortsLocationBandwidths, + ExpressRouteServiceProvider, + ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, + FirewallPolicyRuleGroupListResult, + FrontendIPConfiguration, + HubIPAddresses, + HubVirtualNetworkConnection, + InboundNatPool, + InboundNatRule, + IPConfiguration, + IPConfigurationProfile, + IpsecPolicy, + IpTag, + Ipv6ExpressRouteCircuitPeeringConfig, + LoadBalancer, + LoadBalancerSku, + LoadBalancingRule, + LocalNetworkGateway, + ManagedServiceIdentity, + ManagedServiceIdentityUserAssignedIdentitiesValue, + MatchCondition, + MatchVariable, + NatGateway, + NatGatewaySku, + NetworkIntentPolicy, + NetworkInterface, + NetworkInterfaceDnsSettings, + NetworkInterfaceIPConfiguration, + NetworkInterfaceTapConfiguration, + NetworkProfile, + NetworkRuleCondition, + NetworkSecurityGroup, + NetworkWatcher, + OutboundRule, + P2SVpnGateway, + P2SVpnServerConfigRadiusClientRootCertificate, + P2SVpnServerConfigRadiusServerRootCertificate, + P2SVpnServerConfiguration, + P2SVpnServerConfigVpnClientRevokedCertificate, + P2SVpnServerConfigVpnClientRootCertificate, + PatchRouteFilter, + PatchRouteFilterRule, + PeerExpressRouteCircuitConnection, + PolicySettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkService, + PrivateLinkServiceConnection, + PrivateLinkServiceConnectionState, + PrivateLinkServiceIpConfiguration, + PrivateLinkServicePropertiesAutoApproval, + PrivateLinkServicePropertiesVisibility, + Probe, + ProtocolCustomSettingsFormat, + PublicIPAddress, + PublicIPAddressDnsSettings, + PublicIPAddressSku, + PublicIPPrefix, + PublicIPPrefixSku, + ReferencedPublicIpAddress, + Resource, + ResourceNavigationLink, + ResourceSet, + Route, + RouteFilter, + RouteFilterRule, + RouteTable, + SecurityRule, + ServiceAssociationLink, + ServiceEndpointPolicy, + ServiceEndpointPolicyDefinition, + ServiceEndpointPropertiesFormat, + Subnet, + SubResource, + TunnelConnectionHealth, + VirtualHub, + VirtualHubId, + VirtualHubRoute, + VirtualHubRouteTable, + VirtualNetwork, + VirtualNetworkConnectionGatewayReference, + VirtualNetworkGateway, + VirtualNetworkGatewayConnection, + VirtualNetworkGatewayConnectionListEntity, + VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewaySku, + VirtualNetworkPeering, + VirtualNetworkTap, + VirtualWAN, + VpnClientConfiguration, + VpnClientConnectionHealth, + VpnClientRevokedCertificate, + VpnClientRootCertificate, + VpnConnection, + VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, + VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, + WebApplicationFirewallCustomRule, + WebApplicationFirewallPolicy +} from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts b/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts index fd2d76a30abf..a73a2689aec5 100644 --- a/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -129,6 +142,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -193,7 +207,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts b/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts index 70b49fa34b40..cc46ecd83703 100644 --- a/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts +++ b/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/index.ts b/sdk/network/arm-network/src/models/index.ts index 4fc27ac3341a..b1e5ac69a645 100644 --- a/sdk/network/arm-network/src/models/index.ts +++ b/sdk/network/arm-network/src/models/index.ts @@ -25,6 +25,16 @@ export interface ApplicationGatewayProbeHealthResponseMatch { statusCodes?: string[]; } +/** + * Reference to another subresource. + */ +export interface SubResource extends BaseResource { + /** + * Resource ID. + */ + id?: string; +} + /** * Details of on demand test probe request. */ @@ -57,23 +67,13 @@ export interface ApplicationGatewayOnDemandProbe { */ match?: ApplicationGatewayProbeHealthResponseMatch; /** - * Name of backend pool of application gateway to which probe request will be sent. - */ - backendPoolName?: string; - /** - * Name of backend http setting of application gateway to be used for test probe. + * Reference of backend pool of application gateway to which probe request will be sent. */ - backendHttpSettingName?: string; -} - -/** - * Reference to another subresource. - */ -export interface SubResource extends BaseResource { + backendAddressPool?: SubResource; /** - * Resource ID. + * Reference of backend http setting of application gateway to be used for test probe. */ - id?: string; + backendHttpSettings?: SubResource; } /** @@ -272,6 +272,11 @@ export interface PrivateLinkServiceConnectionState { * PrivateLinkServiceConnection resource. */ export interface PrivateLinkServiceConnection extends SubResource { + /** + * The provisioning state of the private link service connection. Possible values include: + * 'Succeeded', 'Updating', 'Deleting', 'Failed' + */ + provisioningState?: ProvisioningState; /** * The resource id of private link service. */ @@ -296,6 +301,16 @@ export interface PrivateLinkServiceConnection extends SubResource { * access the resource. */ name?: string; + /** + * The resource type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: 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; } /** @@ -312,11 +327,10 @@ export interface PrivateEndpoint extends Resource { */ readonly networkInterfaces?: NetworkInterface[]; /** - * The provisioning state of the private endpoint. Possible values are: 'Updating', 'Deleting', - * and 'Failed'. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The provisioning state of the private endpoint. Possible values include: 'Succeeded', + * 'Updating', 'Deleting', 'Failed' */ - readonly provisioningState?: string; + provisioningState?: ProvisioningState; /** * A grouping of information about the connection to the remote resource. */ @@ -327,7 +341,7 @@ export interface PrivateEndpoint extends Resource { */ manualPrivateLinkServiceConnections?: PrivateLinkServiceConnection[]; /** - * Gets a unique read-only string that changes whenever the resource is updated. + * A unique read-only string that changes whenever the resource is updated. */ etag?: string; } @@ -976,6 +990,14 @@ export interface Subnet extends SubResource { * The provisioning state of the resource. */ provisioningState?: string; + /** + * Enable or Disable apply network policies on private end point in the subnet. + */ + privateEndpointNetworkPolicies?: string; + /** + * Enable or Disable apply network policies on private link service in the subnet. + */ + privateLinkServiceNetworkPolicies?: string; /** * The name of the resource that is unique within a resource group. This name can be used to * access the resource. @@ -1019,6 +1041,11 @@ export interface FrontendIPConfiguration extends SubResource { * The Private IP allocation method. Possible values include: 'Static', 'Dynamic' */ privateIPAllocationMethod?: IPAllocationMethod; + /** + * It represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. + * Possible values include: 'IPv4', 'IPv6' + */ + privateIPAddressVersion?: IPVersion; /** * The reference of the subnet resource. */ @@ -1037,14 +1064,19 @@ export interface FrontendIPConfiguration extends SubResource { */ provisioningState?: string; /** - * The name of the resource that is unique within a resource group. This name can be used to - * access the resource. + * The name of the resource that is unique within the set of frontend IP configurations used by + * the load balancer. This name can be used to access the resource. */ name?: string; /** * A unique read-only string that changes whenever the resource is updated. */ etag?: string; + /** + * Type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; /** * A list of availability zones denoting the IP allocated for the resource needs to come from. */ @@ -1110,20 +1142,30 @@ export interface BackendAddressPool extends SubResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly outboundRule?: SubResource; + /** + * Gets outbound rules that use this backend address pool. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly outboundRules?: SubResource[]; /** * Get provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', * and 'Failed'. */ provisioningState?: string; /** - * Gets name of the resource that is unique within a resource group. This name can be used to - * access the resource. + * Gets name of the resource that is unique within the set of backend address pools used by the + * load balancer. This name can be used to access the resource. */ name?: string; /** * A unique read-only string that changes whenever the resource is updated. */ etag?: string; + /** + * Type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; } /** @@ -1177,14 +1219,19 @@ export interface InboundNatRule extends SubResource { */ provisioningState?: string; /** - * Gets name of the resource that is unique within a resource group. This name can be used to - * access the resource. + * Gets name of the resource that is unique within the set of inbound NAT rules used by the load + * balancer. This name can be used to access the resource. */ name?: string; /** * A unique read-only string that changes whenever the resource is updated. */ etag?: string; + /** + * Type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; } /** @@ -2602,24 +2649,6 @@ export interface AvailableDelegation { actions?: string[]; } -/** - * The information of an AvailablePrivateEndpointType. - */ -export interface AvailablePrivateEndpointType { - /** - * A unique identifier of the AvailablePrivateEndpoint Type resource. - */ - id?: string; - /** - * Resource type. - */ - type?: string; - /** - * The name of the service and resource. - */ - serviceName?: string; -} - /** * IP configuration of an Azure Firewall. */ @@ -2654,6 +2683,30 @@ export interface AzureFirewallIPConfiguration extends SubResource { readonly etag?: string; } +/** + * Public IP Address associated with azure firewall. + */ +export interface AzureFirewallPublicIPAddress { + /** + * Public IP Address value. + */ + address?: string; +} + +/** + * IP addresses associated with azure firewall. + */ +export interface HubIPAddresses { + /** + * List of Public IP addresses associated with azure firewall. + */ + publicIPAddresses?: AzureFirewallPublicIPAddress[]; + /** + * Private IP Address associated with azure firewall. + */ + privateIPAddress?: string; +} + /** * Properties of the AzureFirewallRCAction. */ @@ -2915,6 +2968,19 @@ export interface AzureFirewall extends Resource { * The operation mode for Threat Intelligence. Possible values include: 'Alert', 'Deny', 'Off' */ threatIntelMode?: AzureFirewallThreatIntelMode; + /** + * The virtualHub to which the firewall belongs. + */ + virtualHub?: SubResource; + /** + * The firewallPolicy associated with this azure firewall. + */ + firewallPolicy?: SubResource; + /** + * IP addresses associated with AzureFirewall. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly hubIpAddresses?: HubIPAddresses; /** * A list of availability zones denoting where the resource needs to come from. */ @@ -2971,9 +3037,8 @@ export interface BastionHostIPConfiguration extends SubResource { /** * Name of the resource that is unique within a resource group. This name can be used to access * the resource. - * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly name?: string; + 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.** @@ -4209,174 +4274,330 @@ export interface ExpressRoutePort extends Resource { } /** - * The private link service ip configuration. + * FirewallPolicy Resource. */ -export interface PrivateLinkServiceIpConfiguration { +export interface FirewallPolicy extends Resource { /** - * The private IP address of the IP configuration. + * List of references to FirewallPolicyRuleGroups + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - privateIPAddress?: string; + readonly ruleGroups?: SubResource[]; /** - * The private IP address allocation method. Possible values include: 'Static', 'Dynamic' + * The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', + * 'Deleting', 'Failed' */ - privateIPAllocationMethod?: IPAllocationMethod; + provisioningState?: ProvisioningState; /** - * The reference of the subnet resource. + * The parent firewall policy from which rules are inherited. */ - subnet?: Subnet; + basePolicy?: SubResource; /** - * The reference of the public IP resource. + * List of references to Azure Firewalls that this Firewall Policy is associated with + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - publicIPAddress?: PublicIPAddress; + readonly firewalls?: SubResource[]; /** - * Gets the provisioning state of the public IP resource. Possible values are: 'Updating', - * 'Deleting', and 'Failed'. + * List of references to Child Firewall Policies + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - provisioningState?: string; + readonly childPolicies?: SubResource[]; /** - * Available from Api-Version 2016-03-30 onwards, it represents whether the specific - * ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values include: 'IPv4', - * 'IPv6' + * The operation mode for Threat Intelligence. Possible values include: 'Alert', 'Deny', 'Off' */ - privateIPAddressVersion?: IPVersion; + threatIntelMode?: AzureFirewallThreatIntelMode; /** - * The name of private link service ip configuration. + * Gets 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.** */ - name?: string; + readonly etag?: string; } /** - * PrivateEndpointConnection resource. + * Contains the possible cases for FirewallPolicyRule. */ -export interface PrivateEndpointConnection extends SubResource { +export type FirewallPolicyRuleUnion = FirewallPolicyRule | FirewallPolicyNatRule | FirewallPolicyFilterRule; + +/** + * Properties of the rule. + */ +export interface FirewallPolicyRule { /** - * The resource of private end point. + * Polymorphic Discriminator */ - privateEndpoint?: PrivateEndpoint; + ruleType: "FirewallPolicyRule"; /** - * A collection of information about the state of the connection between service consumer and - * provider. + * Name of the Rule */ - privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; + name?: string; /** - * The name of the resource that is unique within a resource group. This name can be used to - * access the resource. + * Priority of the Firewall Policy Rule resource. */ - name?: string; + priority?: number; } /** - * The base resource set for visibility and auto-approval. + * Rule Group resource */ -export interface ResourceSet { +export interface FirewallPolicyRuleGroup extends SubResource { /** - * The list of subscriptions. + * Priority of the Firewall Policy Rule Group resource. */ - subscriptions?: string[]; + priority?: number; + /** + * Group of Firewall Policy rules. + */ + rules?: FirewallPolicyRuleUnion[]; + /** + * The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', + * 'Deleting', 'Failed' + */ + provisioningState?: ProvisioningState; + /** + * Gets name of the resource that is unique within a resource group. This name can be used to + * access the resource. + */ + name?: string; + /** + * Gets 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; + /** + * Rule Group type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; } /** - * The visibility list of the private link service. + * Properties of the FirewallPolicyNatRuleAction. */ -export interface PrivateLinkServicePropertiesVisibility extends ResourceSet { +export interface FirewallPolicyNatRuleAction { + /** + * The type of action. Possible values include: 'DNAT', 'SNAT' + */ + type?: FirewallPolicyNatRuleActionType; } /** - * The auto-approval list of the private link service. + * Contains the possible cases for FirewallPolicyRuleCondition. */ -export interface PrivateLinkServicePropertiesAutoApproval extends ResourceSet { -} +export type FirewallPolicyRuleConditionUnion = FirewallPolicyRuleCondition | ApplicationRuleCondition | NetworkRuleCondition; /** - * Private link service resource. + * Properties of a rule. */ -export interface PrivateLinkService extends Resource { +export interface FirewallPolicyRuleCondition { /** - * An array of references to the load balancer IP configurations. + * Polymorphic Discriminator */ - loadBalancerFrontendIPConfigurations?: FrontendIPConfiguration[]; + ruleConditionType: "FirewallPolicyRuleCondition"; /** - * An array of references to the private link service IP configuration. + * Name of the rule condition. */ - ipConfigurations?: PrivateLinkServiceIpConfiguration[]; + name?: string; /** - * Gets an array of references to the network interfaces created for this private link service. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Description of the rule condition. */ - readonly networkInterfaces?: NetworkInterface[]; + description?: string; +} + +/** + * Firewall Policy NAT Rule + */ +export interface FirewallPolicyNatRule { /** - * The provisioning state of the private link service. Possible values are: 'Updating', - * 'Succeeded', and 'Failed'. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Polymorphic Discriminator */ - readonly provisioningState?: string; + ruleType: "FirewallPolicyNatRule"; /** - * An array of list about connections to the private endpoint. + * Name of the Rule */ - privateEndpointConnections?: PrivateEndpointConnection[]; + name?: string; /** - * The visibility list of the private link service. + * Priority of the Firewall Policy Rule resource. */ - visibility?: PrivateLinkServicePropertiesVisibility; + priority?: number; /** - * The auto-approval list of the private link service. + * The action type of a Nat rule, SNAT or DNAT */ - autoApproval?: PrivateLinkServicePropertiesAutoApproval; + action?: FirewallPolicyNatRuleAction; /** - * The list of Fqdn. + * The translated address for this NAT rule. */ - fqdns?: string[]; + translatedAddress?: string; /** - * The alias of the private link service. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The translated port for this NAT rule. */ - readonly alias?: string; + translatedPort?: string; /** - * Gets a unique read-only string that changes whenever the resource is updated. + * The match conditions for incoming traffic */ - etag?: string; + ruleCondition?: FirewallPolicyRuleConditionUnion; } /** - * SKU of a load balancer. + * Properties of the FirewallPolicyFilterRuleAction. */ -export interface LoadBalancerSku { +export interface FirewallPolicyFilterRuleAction { /** - * Name of a load balancer SKU. Possible values include: 'Basic', 'Standard' + * The type of action. Possible values include: 'Allow', 'Deny', 'Alert ' */ - name?: LoadBalancerSkuName; + type?: FirewallPolicyFilterRuleActionType; } /** - * A load balancing rule for a load balancer. + * Firewall Policy Filter Rule */ -export interface LoadBalancingRule extends SubResource { +export interface FirewallPolicyFilterRule { /** - * A reference to frontend IP addresses. + * Polymorphic Discriminator */ - frontendIPConfiguration?: SubResource; + ruleType: "FirewallPolicyFilterRule"; /** - * A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the - * backend IPs. + * Name of the Rule */ - backendAddressPool?: SubResource; + name?: string; /** - * The reference of the load balancer probe used by the load balancing rule. + * Priority of the Firewall Policy Rule resource. */ - probe?: SubResource; + priority?: number; /** - * The reference to the transport protocol used by the load balancing rule. Possible values - * include: 'Udp', 'Tcp', 'All' + * The action type of a Filter rule */ - protocol: TransportProtocol; + action?: FirewallPolicyFilterRuleAction; /** - * The load distribution policy for this rule. Possible values include: 'Default', 'SourceIP', - * 'SourceIPProtocol' + * Collection of rule conditions used by a rule. */ - loadDistribution?: LoadDistribution; - /** - * The port for the external endpoint. Port numbers for each rule must be unique within the Load - * Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port". + ruleConditions?: FirewallPolicyRuleConditionUnion[]; +} + +/** + * Properties of the application rule protocol. + */ +export interface FirewallPolicyRuleConditionApplicationProtocol { + /** + * Protocol type. Possible values include: 'Http', 'Https' + */ + protocolType?: FirewallPolicyRuleConditionApplicationProtocolType; + /** + * Port number for the protocol, cannot be greater than 64000. + */ + port?: number; +} + +/** + * Rule condition of type application. + */ +export interface ApplicationRuleCondition { + /** + * Polymorphic Discriminator + */ + ruleConditionType: "ApplicationRuleCondition"; + /** + * Name of the rule condition. + */ + name?: string; + /** + * Description of the rule condition. + */ + description?: string; + /** + * List of source IP addresses for this rule. + */ + sourceAddresses?: string[]; + /** + * List of destination IP addresses or Service Tags. + */ + destinationAddresses?: string[]; + /** + * Array of Application Protocols. + */ + protocols?: FirewallPolicyRuleConditionApplicationProtocol[]; + /** + * List of FQDNs for this rule condition. + */ + targetFqdns?: string[]; + /** + * List of FQDN Tags for this rule condition. + */ + fqdnTags?: string[]; +} + +/** + * Rule condition of type network + */ +export interface NetworkRuleCondition { + /** + * Polymorphic Discriminator + */ + ruleConditionType: "NetworkRuleCondition"; + /** + * Name of the rule condition. + */ + name?: string; + /** + * Description of the rule condition. + */ + description?: string; + /** + * Array of FirewallPolicyRuleConditionNetworkProtocols. + */ + ipProtocols?: FirewallPolicyRuleConditionNetworkProtocol[]; + /** + * List of source IP addresses for this rule. + */ + sourceAddresses?: string[]; + /** + * List of destination IP addresses or Service Tags. + */ + destinationAddresses?: string[]; + /** + * List of destination ports. + */ + destinationPorts?: string[]; +} + +/** + * SKU of a load balancer. + */ +export interface LoadBalancerSku { + /** + * Name of a load balancer SKU. Possible values include: 'Basic', 'Standard' + */ + name?: LoadBalancerSkuName; +} + +/** + * A load balancing rule for a load balancer. + */ +export interface LoadBalancingRule extends SubResource { + /** + * A reference to frontend IP addresses. + */ + frontendIPConfiguration?: SubResource; + /** + * A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the + * backend IPs. + */ + backendAddressPool?: SubResource; + /** + * The reference of the load balancer probe used by the load balancing rule. + */ + probe?: SubResource; + /** + * The reference to the transport protocol used by the load balancing rule. Possible values + * include: 'Udp', 'Tcp', 'All' + */ + protocol: TransportProtocol; + /** + * The load distribution policy for this rule. Possible values include: 'Default', 'SourceIP', + * 'SourceIPProtocol' + */ + loadDistribution?: LoadDistribution; + /** + * The port for the external endpoint. Port numbers for each rule must be unique within the Load + * Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port". */ frontendPort: number; /** @@ -4412,14 +4633,19 @@ export interface LoadBalancingRule extends SubResource { */ provisioningState?: string; /** - * The name of the resource that is unique within a resource group. This name can be used to - * access the resource. + * The name of the resource that is unique within the set of load balancing rules used by the + * load balancer. This name can be used to access the resource. */ name?: string; /** * A unique read-only string that changes whenever the resource is updated. */ etag?: string; + /** + * Type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; } /** @@ -4465,14 +4691,19 @@ export interface Probe extends SubResource { */ provisioningState?: string; /** - * Gets name of the resource that is unique within a resource group. This name can be used to - * access the resource. + * Gets name of the resource that is unique within the set of probes used by the load balancer. + * This name can be used to access the resource. */ name?: string; /** * A unique read-only string that changes whenever the resource is updated. */ etag?: string; + /** + * Type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; } /** @@ -4526,18 +4757,23 @@ export interface InboundNatPool extends SubResource { */ provisioningState?: string; /** - * The name of the resource that is unique within a resource group. This name can be used to - * access the resource. + * The name of the resource that is unique within the set of inbound NAT pools used by the load + * balancer. This name can be used to access the resource. */ name?: string; /** * A unique read-only string that changes whenever the resource is updated. */ etag?: string; + /** + * Type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; } /** - * Outbound pool of the load balancer. + * Outbound rule of the load balancer. */ export interface OutboundRule extends SubResource { /** @@ -4573,14 +4809,19 @@ export interface OutboundRule extends SubResource { */ idleTimeoutInMinutes?: number; /** - * The name of the resource that is unique within a resource group. This name can be used to - * access the resource. + * The name of the resource that is unique within the set of outbound rules used by the load + * balancer. This name can be used to access the resource. */ name?: string; /** * A unique read-only string that changes whenever the resource is updated. */ etag?: string; + /** + * Type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; } /** @@ -6633,99 +6874,102 @@ export interface Operation { } /** - * SKU of a public IP prefix. + * The information of an AvailablePrivateEndpointType. */ -export interface PublicIPPrefixSku { +export interface AvailablePrivateEndpointType { /** - * Name of a public IP prefix SKU. Possible values include: 'Standard' + * The name of the service and resource. */ - name?: PublicIPPrefixSkuName; -} - -/** - * Reference to a public IP address. - */ -export interface ReferencedPublicIpAddress { + name?: string; /** - * The PublicIPAddress Reference. + * A unique identifier of the AvailablePrivateEndpoint Type resource. */ id?: string; + /** + * Resource type. + */ + type?: string; + /** + * The name of the service and resource. + */ + resourceName?: string; } /** - * Public IP prefix resource. + * The private link service ip configuration. */ -export interface PublicIPPrefix extends Resource { - /** - * The public IP prefix SKU. - */ - sku?: PublicIPPrefixSku; +export interface PrivateLinkServiceIpConfiguration extends SubResource { /** - * The public IP address version. Possible values include: 'IPv4', 'IPv6' + * The private IP address of the IP configuration. */ - publicIPAddressVersion?: IPVersion; + privateIPAddress?: string; /** - * The list of tags associated with the public IP prefix. + * The private IP address allocation method. Possible values include: 'Static', 'Dynamic' */ - ipTags?: IpTag[]; + privateIPAllocationMethod?: IPAllocationMethod; /** - * The Length of the Public IP Prefix. + * The reference of the subnet resource. */ - prefixLength?: number; + subnet?: Subnet; /** - * The allocated Prefix. + * Whether the ip configuration is primary or not. */ - ipPrefix?: string; + primary?: boolean; /** - * The list of all referenced PublicIPAddresses. + * The provisioning state of the private link service ip configuration. Possible values include: + * 'Succeeded', 'Updating', 'Deleting', 'Failed' */ - publicIPAddresses?: ReferencedPublicIpAddress[]; + provisioningState?: ProvisioningState; /** - * The resource GUID property of the public IP prefix resource. + * Available from Api-Version 2016-03-30 onwards, it represents whether the specific + * ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values include: 'IPv4', + * 'IPv6' */ - resourceGuid?: string; + privateIPAddressVersion?: IPVersion; /** - * The provisioning state of the Public IP prefix resource. Possible values are: 'Updating', - * 'Deleting', and 'Failed'. + * The name of private link service ip configuration. */ - provisioningState?: string; + 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.** */ - etag?: string; + readonly etag?: string; /** - * A list of availability zones denoting the IP allocated for the resource needs to come from. + * The resource type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - zones?: string[]; + readonly type?: string; } /** - * Route Filter Rule Resource. + * PrivateEndpointConnection resource. */ -export interface RouteFilterRule extends SubResource { +export interface PrivateEndpointConnection extends SubResource { /** - * The access type of the rule. Possible values include: 'Allow', 'Deny' + * The resource of private end point. */ - access: Access; + privateEndpoint?: PrivateEndpoint; /** - * The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020']. + * A collection of information about the state of the connection between service consumer and + * provider. */ - communities: string[]; + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; /** - * The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', - * 'Succeeded' and 'Failed'. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The provisioning state of the private endpoint connection. Possible values include: + * 'Succeeded', 'Updating', 'Deleting', 'Failed' */ - readonly provisioningState?: string; + 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; /** - * Resource location. + * The resource type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - location?: string; + readonly type?: 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.** @@ -6734,23 +6978,230 @@ export interface RouteFilterRule extends SubResource { } /** - * Route Filter Rule Resource. + * The base resource set for visibility and auto-approval. */ -export interface PatchRouteFilterRule extends SubResource { +export interface ResourceSet { /** - * The access type of the rule. Possible values include: 'Allow', 'Deny' + * The list of subscriptions. */ - access: Access; + subscriptions?: string[]; +} + +/** + * The visibility list of the private link service. + */ +export interface PrivateLinkServicePropertiesVisibility extends ResourceSet { +} + +/** + * The auto-approval list of the private link service. + */ +export interface PrivateLinkServicePropertiesAutoApproval extends ResourceSet { +} + +/** + * Private link service resource. + */ +export interface PrivateLinkService extends Resource { /** - * The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020']. + * An array of references to the load balancer IP configurations. */ - communities: string[]; + loadBalancerFrontendIpConfigurations?: FrontendIPConfiguration[]; /** - * The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', - * 'Succeeded' and 'Failed'. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * An array of references to the private link service IP configuration. */ - readonly provisioningState?: string; + ipConfigurations?: PrivateLinkServiceIpConfiguration[]; + /** + * Gets an array of references to the network interfaces created for this private link service. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly networkInterfaces?: NetworkInterface[]; + /** + * The provisioning state of the private link service. Possible values include: 'Succeeded', + * 'Updating', 'Deleting', 'Failed' + */ + provisioningState?: ProvisioningState; + /** + * An array of list about connections to the private endpoint. + */ + privateEndpointConnections?: PrivateEndpointConnection[]; + /** + * The visibility list of the private link service. + */ + visibility?: PrivateLinkServicePropertiesVisibility; + /** + * The auto-approval list of the private link service. + */ + autoApproval?: PrivateLinkServicePropertiesAutoApproval; + /** + * The list of Fqdn. + */ + fqdns?: string[]; + /** + * The alias of the private link service. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly alias?: string; + /** + * A unique read-only string that changes whenever the resource is updated. + */ + etag?: string; +} + +/** + * Request body of the CheckPrivateLinkServiceVisibility API service call. + */ +export interface CheckPrivateLinkServiceVisibilityRequest { + /** + * The alias of the private link service. + */ + privateLinkServiceAlias?: string; +} + +/** + * Response for the CheckPrivateLinkServiceVisibility API service call. + */ +export interface PrivateLinkServiceVisibility { + /** + * Private Link Service Visibility (True/False). + */ + visible?: boolean; +} + +/** + * The information of an AutoApprovedPrivateLinkService. + */ +export interface AutoApprovedPrivateLinkService { + /** + * The id of the private link service resource. + */ + privateLinkService?: string; +} + +/** + * SKU of a public IP prefix. + */ +export interface PublicIPPrefixSku { + /** + * Name of a public IP prefix SKU. Possible values include: 'Standard' + */ + name?: PublicIPPrefixSkuName; +} + +/** + * Reference to a public IP address. + */ +export interface ReferencedPublicIpAddress { + /** + * The PublicIPAddress Reference. + */ + id?: string; +} + +/** + * Public IP prefix resource. + */ +export interface PublicIPPrefix extends Resource { + /** + * The public IP prefix SKU. + */ + sku?: PublicIPPrefixSku; + /** + * The public IP address version. Possible values include: 'IPv4', 'IPv6' + */ + publicIPAddressVersion?: IPVersion; + /** + * The list of tags associated with the public IP prefix. + */ + ipTags?: IpTag[]; + /** + * The Length of the Public IP Prefix. + */ + prefixLength?: number; + /** + * The allocated Prefix. + */ + ipPrefix?: string; + /** + * The list of all referenced PublicIPAddresses. + */ + publicIPAddresses?: ReferencedPublicIpAddress[]; + /** + * The reference to load balancer frontend IP configuration associated with the public IP prefix. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly loadBalancerFrontendIpConfiguration?: SubResource; + /** + * The resource GUID property of the public IP prefix resource. + */ + resourceGuid?: string; + /** + * The provisioning state of the Public IP prefix resource. Possible values are: 'Updating', + * 'Deleting', and 'Failed'. + */ + provisioningState?: string; + /** + * A unique read-only string that changes whenever the resource is updated. + */ + etag?: string; + /** + * A list of availability zones denoting the IP allocated for the resource needs to come from. + */ + zones?: string[]; +} + +/** + * Route Filter Rule Resource. + */ +export interface RouteFilterRule extends SubResource { + /** + * The access type of the rule. Possible values include: 'Allow', 'Deny' + */ + access: Access; + /** + * The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020']. + */ + communities: string[]; + /** + * The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', + * 'Succeeded' and 'Failed'. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; + /** + * The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + */ + name?: string; + /** + * Resource location. + */ + location?: 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; +} + +/** + * Route Filter Rule Resource. + */ +export interface PatchRouteFilterRule extends SubResource { + /** + * The access type of the rule. Possible values include: 'Allow', 'Deny' + */ + access: Access; + /** + * The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020']. + */ + communities: string[]; + /** + * The provisioning state of the resource. Possible values are: 'Updating', 'Deleting', + * 'Succeeded' and 'Failed'. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; /** * The name of the resource that is unique within a resource group. This name can be used to * access the resource. @@ -7253,16 +7704,22 @@ export interface PrepareNetworkPoliciesRequest { * The name of the service for which subnet is being prepared for. */ serviceName?: string; - /** - * The name of the resource group where the Network Intent Policy will be stored. - */ - resourceGroupName?: string; /** * A list of NetworkIntentPolicyConfiguration. */ networkIntentPolicyConfigurations?: NetworkIntentPolicyConfiguration[]; } +/** + * Details of UnprepareNetworkPolicies for Subnet. + */ +export interface UnprepareNetworkPoliciesRequest { + /** + * The name of the service for which subnet is being unprepared for. + */ + serviceName?: string; +} + /** * IP configuration for virtual network gateway. */ @@ -7615,7 +8072,7 @@ export interface VirtualNetworkGateway extends Resource { bgpSettings?: BgpSettings; /** * The reference of the address space resource which represents the custom routes address space - * specified by the the customer for virtual network gateway and VpnClient. + * specified by the customer for virtual network gateway and VpnClient. */ customRoutes?: AddressSpace; /** @@ -8340,6 +8797,72 @@ export interface DeviceProperties { linkSpeedInMbps?: number; } +/** + * List of properties of a link provider. + */ +export interface VpnLinkProviderProperties { + /** + * Name of the link provider. + */ + linkProviderName?: string; + /** + * Link speed. + */ + linkSpeedInMbps?: number; +} + +/** + * BGP settings details for a link. + */ +export interface VpnLinkBgpSettings { + /** + * The BGP speaker's ASN. + */ + asn?: number; + /** + * The BGP peering address and BGP identifier of this BGP speaker. + */ + bgpPeeringAddress?: string; +} + +/** + * VpnSiteLink Resource. + */ +export interface VpnSiteLink extends SubResource { + /** + * The link provider properties. + */ + linkProperties?: VpnLinkProviderProperties; + /** + * The ip-address for the vpn-site-link. + */ + ipAddress?: string; + /** + * The set of bgp properties. + */ + bgpProperties?: VpnLinkBgpSettings; + /** + * The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', + * 'Deleting', 'Failed' + */ + provisioningState?: ProvisioningState; + /** + * Gets 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; + /** + * The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + */ + name?: string; + /** + * Resource type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; +} + /** * VpnSite Resource. */ @@ -8377,6 +8900,10 @@ export interface VpnSite extends Resource { * IsSecuritySite flag. */ isSecuritySite?: boolean; + /** + * List of all vpn site links + */ + vpnSiteLinks?: VpnSiteLink[]; /** * Gets 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.** @@ -8504,13 +9031,13 @@ export interface VirtualHub extends Resource { } /** - * VpnConnection Resource. + * VpnSiteLinkConnection Resource. */ -export interface VpnConnection extends SubResource { +export interface VpnSiteLinkConnection extends SubResource { /** - * Id of the connected vpn site. + * Id of the connected vpn site link. */ - remoteVpnSite?: SubResource; + vpnSiteLink?: SubResource; /** * Routing weight for vpn connection. */ @@ -8558,10 +9085,6 @@ export interface VpnConnection extends SubResource { * EnableBgp flag. */ enableRateLimiting?: boolean; - /** - * Enable internet security. - */ - enableInternetSecurity?: boolean; /** * Use local azure ip to initiate connection. */ @@ -8581,10 +9104,99 @@ export interface VpnConnection extends SubResource { * **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; } /** - * VpnGateway Resource. + * VpnConnection Resource. + */ +export interface VpnConnection extends SubResource { + /** + * Id of the connected vpn site. + */ + remoteVpnSite?: SubResource; + /** + * Routing weight for vpn connection. + */ + routingWeight?: number; + /** + * The connection status. Possible values include: 'Unknown', 'Connecting', 'Connected', + * 'NotConnected' + */ + connectionStatus?: VpnConnectionStatus; + /** + * Connection protocol used for this connection. Possible values include: 'IKEv2', 'IKEv1' + */ + vpnConnectionProtocolType?: VirtualNetworkGatewayConnectionProtocol; + /** + * Ingress bytes transferred. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly ingressBytesTransferred?: number; + /** + * Egress bytes transferred. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly egressBytesTransferred?: number; + /** + * Expected bandwidth in MBPS. + */ + connectionBandwidth?: number; + /** + * SharedKey for the vpn connection. + */ + sharedKey?: string; + /** + * EnableBgp flag. + */ + enableBgp?: boolean; + /** + * Enable policy-based traffic selectors. + */ + usePolicyBasedTrafficSelectors?: boolean; + /** + * The IPSec Policies to be considered by this connection. + */ + ipsecPolicies?: IpsecPolicy[]; + /** + * EnableBgp flag. + */ + enableRateLimiting?: boolean; + /** + * Enable internet security. + */ + enableInternetSecurity?: boolean; + /** + * Use local azure ip to initiate connection. + */ + useLocalAzureIpAddress?: boolean; + /** + * The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', + * 'Deleting', 'Failed' + */ + provisioningState?: ProvisioningState; + /** + * List of all vpn site link connections to the gateway. + */ + vpnLinkConnections?: VpnSiteLinkConnection[]; + /** + * The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + */ + name?: string; + /** + * Gets 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; +} + +/** + * VpnGateway Resource. */ export interface VpnGateway extends Resource { /** @@ -8909,17 +9521,7 @@ export interface ApplicationGatewaysBeginBackendHealthOnDemandOptionalParams ext /** * Optional Parameters. */ -export interface PrivateEndpointsGetOptionalParams extends msRest.RequestOptionsBase { - /** - * Expands referenced resources. - */ - expand?: string; -} - -/** - * Optional Parameters. - */ -export interface PrivateLinkServicesGetOptionalParams extends msRest.RequestOptionsBase { +export interface FirewallPoliciesGetOptionalParams extends msRest.RequestOptionsBase { /** * Expands referenced resources. */ @@ -9016,6 +9618,26 @@ export interface NetworkSecurityGroupsGetOptionalParams extends msRest.RequestOp expand?: string; } +/** + * Optional Parameters. + */ +export interface PrivateEndpointsGetOptionalParams extends msRest.RequestOptionsBase { + /** + * Expands referenced resources. + */ + expand?: string; +} + +/** + * Optional Parameters. + */ +export interface PrivateLinkServicesGetOptionalParams extends msRest.RequestOptionsBase { + /** + * Expands referenced resources. + */ + expand?: string; +} + /** * Optional Parameters. */ @@ -9195,19 +9817,6 @@ export interface AvailableDelegationsResult extends Array { readonly nextLink?: string; } -/** - * @interface - * An array of available PrivateEndpoint types. - * @extends Array - */ -export interface AvailablePrivateEndpointTypesResult extends Array { - /** - * The URL to get the next set of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly nextLink?: string; -} - /** * @interface * Response for ListAzureFirewalls API service call. @@ -9413,28 +10022,26 @@ export interface ExpressRouteLinkListResult extends Array { /** * @interface - * Response for the ListPrivateEndpoints API service call. - * @extends Array + * Response for ListFirewallPolicies API service call. + * @extends Array */ -export interface PrivateEndpointListResult extends Array { +export interface FirewallPolicyListResult extends Array { /** - * The URL to get the next set of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * URL to get the next set of results. */ - readonly nextLink?: string; + nextLink?: string; } /** * @interface - * Response for the ListPrivateLinkService API service call. - * @extends Array + * Response for ListFirewallPolicyRuleGroups API service call. + * @extends Array */ -export interface PrivateLinkServiceListResult extends Array { +export interface FirewallPolicyRuleGroupListResult extends Array { /** - * The URL to get the next set of results. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * URL to get the next set of results. */ - readonly nextLink?: string; + nextLink?: string; } /** @@ -9666,6 +10273,59 @@ export interface OperationListResult extends Array { nextLink?: string; } +/** + * @interface + * Response for the ListPrivateEndpoints API service call. + * @extends Array + */ +export interface PrivateEndpointListResult extends Array { + /** + * The URL to get the next set of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * An array of available PrivateEndpoint types. + * @extends Array + */ +export interface AvailablePrivateEndpointTypesResult extends Array { + /** + * The URL to get the next set of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * Response for the ListPrivateLinkService API service call. + * @extends Array + */ +export interface PrivateLinkServiceListResult extends Array { + /** + * The URL to get the next set of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + +/** + * @interface + * An array of private link service id that can be linked to a private end point with auto + * approved. + * @extends Array + */ +export interface AutoApprovedPrivateLinkServicesResult extends Array { + /** + * The URL to get the next set of results. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextLink?: string; +} + /** * @interface * Response for ListPublicIpAddresses API service call. @@ -9927,6 +10587,19 @@ export interface ListVpnSitesResult extends Array { nextLink?: string; } +/** + * @interface + * Result of the request to list VpnSiteLinks. It contains a list of VpnSiteLinks and a URL + * nextLink to get the next set of results. + * @extends Array + */ +export interface ListVpnSiteLinksResult extends Array { + /** + * URL to get the next set of operation list results if there are any. + */ + nextLink?: string; +} + /** * @interface * Result of the request to list VirtualHubs. It contains a list of VirtualHubs and a URL nextLink @@ -9978,6 +10651,19 @@ export interface ListVpnConnectionsResult extends Array { nextLink?: string; } +/** + * @interface + * Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a + * list of Vpn Connections and a URL nextLink to get the next set of results. + * @extends Array + */ +export interface ListVpnSiteLinkConnectionsResult extends Array { + /** + * URL to get the next set of operation list results if there are any. + */ + nextLink?: string; +} + /** * @interface * Result of the request to list all P2SVpnServerConfigurations associated to a VirtualWan. It @@ -10007,7 +10693,7 @@ export interface ListP2SVpnGatewaysResult extends Array { /** * @interface * Result of the request to list WebApplicationFirewallPolicies. It contains a list of - * WebApplicationFirewallPolicy objects and a URL link to get the the next set of results. + * WebApplicationFirewallPolicy objects and a URL link to get the next set of results. * @extends Array */ export interface WebApplicationFirewallPolicyListResult extends Array { @@ -10034,6 +10720,14 @@ export type ApplicationGatewayProtocol = 'Http' | 'Https'; */ export type IPAllocationMethod = 'Static' | 'Dynamic'; +/** + * Defines values for IPVersion. + * Possible values include: 'IPv4', 'IPv6' + * @readonly + * @enum {string} + */ +export type IPVersion = 'IPv4' | 'IPv6'; + /** * Defines values for SecurityRuleProtocol. * Possible values include: 'Tcp', 'Udp', 'Icmp', 'Esp', '*' @@ -10058,6 +10752,14 @@ export type SecurityRuleAccess = 'Allow' | 'Deny'; */ export type SecurityRuleDirection = 'Inbound' | 'Outbound'; +/** + * Defines values for ProvisioningState. + * Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' + * @readonly + * @enum {string} + */ +export type ProvisioningState = 'Succeeded' | 'Updating' | 'Deleting' | 'Failed'; + /** * Defines values for RouteNextHopType. * Possible values include: 'VirtualNetworkGateway', 'VnetLocal', 'Internet', 'VirtualAppliance', @@ -10075,14 +10777,6 @@ export type RouteNextHopType = 'VirtualNetworkGateway' | 'VnetLocal' | 'Internet */ export type PublicIPAddressSkuName = 'Basic' | 'Standard'; -/** - * Defines values for IPVersion. - * Possible values include: 'IPv4', 'IPv6' - * @readonly - * @enum {string} - */ -export type IPVersion = 'IPv4' | 'IPv6'; - /** * Defines values for DdosSettingsProtectionCoverage. * Possible values include: 'Basic', 'Standard' @@ -10171,11 +10865,13 @@ export type ApplicationGatewaySslPolicyName = 'AppGwSslPolicy20150501' | 'AppGwS * 'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256', 'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA', * 'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA', 'TLS_DHE_DSS_WITH_AES_256_CBC_SHA256', * 'TLS_DHE_DSS_WITH_AES_128_CBC_SHA256', 'TLS_DHE_DSS_WITH_AES_256_CBC_SHA', - * 'TLS_DHE_DSS_WITH_AES_128_CBC_SHA', 'TLS_RSA_WITH_3DES_EDE_CBC_SHA' + * 'TLS_DHE_DSS_WITH_AES_128_CBC_SHA', 'TLS_RSA_WITH_3DES_EDE_CBC_SHA', + * 'TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA', 'TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256', + * 'TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384' * @readonly * @enum {string} */ -export type ApplicationGatewaySslCipherSuite = 'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384' | 'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256' | 'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA' | 'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA' | 'TLS_DHE_RSA_WITH_AES_256_GCM_SHA384' | 'TLS_DHE_RSA_WITH_AES_128_GCM_SHA256' | 'TLS_DHE_RSA_WITH_AES_256_CBC_SHA' | 'TLS_DHE_RSA_WITH_AES_128_CBC_SHA' | 'TLS_RSA_WITH_AES_256_GCM_SHA384' | 'TLS_RSA_WITH_AES_128_GCM_SHA256' | 'TLS_RSA_WITH_AES_256_CBC_SHA256' | 'TLS_RSA_WITH_AES_128_CBC_SHA256' | 'TLS_RSA_WITH_AES_256_CBC_SHA' | 'TLS_RSA_WITH_AES_128_CBC_SHA' | 'TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384' | 'TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256' | 'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384' | 'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256' | 'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA' | 'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA' | 'TLS_DHE_DSS_WITH_AES_256_CBC_SHA256' | 'TLS_DHE_DSS_WITH_AES_128_CBC_SHA256' | 'TLS_DHE_DSS_WITH_AES_256_CBC_SHA' | 'TLS_DHE_DSS_WITH_AES_128_CBC_SHA' | 'TLS_RSA_WITH_3DES_EDE_CBC_SHA'; +export type ApplicationGatewaySslCipherSuite = 'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384' | 'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256' | 'TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA' | 'TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA' | 'TLS_DHE_RSA_WITH_AES_256_GCM_SHA384' | 'TLS_DHE_RSA_WITH_AES_128_GCM_SHA256' | 'TLS_DHE_RSA_WITH_AES_256_CBC_SHA' | 'TLS_DHE_RSA_WITH_AES_128_CBC_SHA' | 'TLS_RSA_WITH_AES_256_GCM_SHA384' | 'TLS_RSA_WITH_AES_128_GCM_SHA256' | 'TLS_RSA_WITH_AES_256_CBC_SHA256' | 'TLS_RSA_WITH_AES_128_CBC_SHA256' | 'TLS_RSA_WITH_AES_256_CBC_SHA' | 'TLS_RSA_WITH_AES_128_CBC_SHA' | 'TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384' | 'TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256' | 'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384' | 'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256' | 'TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA' | 'TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA' | 'TLS_DHE_DSS_WITH_AES_256_CBC_SHA256' | 'TLS_DHE_DSS_WITH_AES_128_CBC_SHA256' | 'TLS_DHE_DSS_WITH_AES_256_CBC_SHA' | 'TLS_DHE_DSS_WITH_AES_128_CBC_SHA' | 'TLS_RSA_WITH_3DES_EDE_CBC_SHA' | 'TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA' | 'TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256' | 'TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384'; /** * Defines values for ApplicationGatewayCustomErrorStatusCode. @@ -10226,14 +10922,6 @@ export type ApplicationGatewayFirewallMode = 'Detection' | 'Prevention'; */ export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None'; -/** - * Defines values for ProvisioningState. - * Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - * @readonly - * @enum {string} - */ -export type ProvisioningState = 'Succeeded' | 'Updating' | 'Deleting' | 'Failed'; - /** * Defines values for AzureFirewallRCActionType. * Possible values include: 'Allow', 'Deny' @@ -10387,31 +11075,63 @@ export type ExpressRouteLinkAdminState = 'Enabled' | 'Disabled'; export type ExpressRoutePortsEncapsulation = 'Dot1Q' | 'QinQ'; /** - * Defines values for LoadBalancerSkuName. - * Possible values include: 'Basic', 'Standard' + * Defines values for FirewallPolicyNatRuleActionType. + * Possible values include: 'DNAT', 'SNAT' * @readonly * @enum {string} */ -export type LoadBalancerSkuName = 'Basic' | 'Standard'; +export type FirewallPolicyNatRuleActionType = 'DNAT' | 'SNAT'; /** - * Defines values for LoadDistribution. - * Possible values include: 'Default', 'SourceIP', 'SourceIPProtocol' + * Defines values for FirewallPolicyFilterRuleActionType. + * Possible values include: 'Allow', 'Deny', 'Alert ' * @readonly * @enum {string} */ -export type LoadDistribution = 'Default' | 'SourceIP' | 'SourceIPProtocol'; +export type FirewallPolicyFilterRuleActionType = 'Allow' | 'Deny' | 'Alert '; /** - * Defines values for ProbeProtocol. - * Possible values include: 'Http', 'Tcp', 'Https' + * Defines values for FirewallPolicyRuleConditionApplicationProtocolType. + * Possible values include: 'Http', 'Https' * @readonly * @enum {string} */ -export type ProbeProtocol = 'Http' | 'Tcp' | 'Https'; +export type FirewallPolicyRuleConditionApplicationProtocolType = 'Http' | 'Https'; /** - * Defines values for LoadBalancerOutboundRuleProtocol. + * Defines values for FirewallPolicyRuleConditionNetworkProtocol. + * Possible values include: 'TCP', 'UDP', 'Any', 'ICMP' + * @readonly + * @enum {string} + */ +export type FirewallPolicyRuleConditionNetworkProtocol = 'TCP' | 'UDP' | 'Any' | 'ICMP'; + +/** + * Defines values for LoadBalancerSkuName. + * Possible values include: 'Basic', 'Standard' + * @readonly + * @enum {string} + */ +export type LoadBalancerSkuName = 'Basic' | 'Standard'; + +/** + * Defines values for LoadDistribution. + * Possible values include: 'Default', 'SourceIP', 'SourceIPProtocol' + * @readonly + * @enum {string} + */ +export type LoadDistribution = 'Default' | 'SourceIP' | 'SourceIPProtocol'; + +/** + * Defines values for ProbeProtocol. + * Possible values include: 'Http', 'Tcp', 'Https' + * @readonly + * @enum {string} + */ +export type ProbeProtocol = 'Http' | 'Tcp' | 'Https'; + +/** + * Defines values for LoadBalancerOutboundRuleProtocol. * Possible values include: 'Tcp', 'Udp', 'All' * @readonly * @enum {string} @@ -11566,9 +12286,9 @@ export type AvailableResourceGroupDelegationsListNextResponse = AvailableDelegat }; /** - * Contains response data for the list operation. + * Contains response data for the get operation. */ -export type AvailablePrivateEndpointTypesListResponse = AvailablePrivateEndpointTypesResult & { +export type AzureFirewallsGetResponse = AzureFirewall & { /** * The underlying HTTP response. */ @@ -11581,14 +12301,14 @@ export type AvailablePrivateEndpointTypesListResponse = AvailablePrivateEndpoint /** * The response body as parsed JSON or XML */ - parsedBody: AvailablePrivateEndpointTypesResult; + parsedBody: AzureFirewall; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the createOrUpdate operation. */ -export type AvailablePrivateEndpointTypesListNextResponse = AvailablePrivateEndpointTypesResult & { +export type AzureFirewallsCreateOrUpdateResponse = AzureFirewall & { /** * The underlying HTTP response. */ @@ -11601,14 +12321,14 @@ export type AvailablePrivateEndpointTypesListNextResponse = AvailablePrivateEndp /** * The response body as parsed JSON or XML */ - parsedBody: AvailablePrivateEndpointTypesResult; + parsedBody: AzureFirewall; }; }; /** - * Contains response data for the list operation. + * Contains response data for the updateTags operation. */ -export type AvailableResourceGroupPrivateEndpointTypesListResponse = AvailablePrivateEndpointTypesResult & { +export type AzureFirewallsUpdateTagsResponse = AzureFirewall & { /** * The underlying HTTP response. */ @@ -11621,14 +12341,14 @@ export type AvailableResourceGroupPrivateEndpointTypesListResponse = AvailablePr /** * The response body as parsed JSON or XML */ - parsedBody: AvailablePrivateEndpointTypesResult; + parsedBody: AzureFirewall; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the list operation. */ -export type AvailableResourceGroupPrivateEndpointTypesListNextResponse = AvailablePrivateEndpointTypesResult & { +export type AzureFirewallsListResponse = AzureFirewallListResult & { /** * The underlying HTTP response. */ @@ -11641,14 +12361,14 @@ export type AvailableResourceGroupPrivateEndpointTypesListNextResponse = Availab /** * The response body as parsed JSON or XML */ - parsedBody: AvailablePrivateEndpointTypesResult; + parsedBody: AzureFirewallListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listAll operation. */ -export type AzureFirewallsGetResponse = AzureFirewall & { +export type AzureFirewallsListAllResponse = AzureFirewallListResult & { /** * The underlying HTTP response. */ @@ -11661,14 +12381,14 @@ export type AzureFirewallsGetResponse = AzureFirewall & { /** * The response body as parsed JSON or XML */ - parsedBody: AzureFirewall; + parsedBody: AzureFirewallListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type AzureFirewallsCreateOrUpdateResponse = AzureFirewall & { +export type AzureFirewallsBeginCreateOrUpdateResponse = AzureFirewall & { /** * The underlying HTTP response. */ @@ -11686,9 +12406,9 @@ export type AzureFirewallsCreateOrUpdateResponse = AzureFirewall & { }; /** - * Contains response data for the list operation. + * Contains response data for the listNext operation. */ -export type AzureFirewallsListResponse = AzureFirewallListResult & { +export type AzureFirewallsListNextResponse = AzureFirewallListResult & { /** * The underlying HTTP response. */ @@ -11706,9 +12426,9 @@ export type AzureFirewallsListResponse = AzureFirewallListResult & { }; /** - * Contains response data for the listAll operation. + * Contains response data for the listAllNext operation. */ -export type AzureFirewallsListAllResponse = AzureFirewallListResult & { +export type AzureFirewallsListAllNextResponse = AzureFirewallListResult & { /** * The underlying HTTP response. */ @@ -11726,29 +12446,9 @@ export type AzureFirewallsListAllResponse = AzureFirewallListResult & { }; /** - * Contains response data for the beginCreateOrUpdate operation. - */ -export type AzureFirewallsBeginCreateOrUpdateResponse = AzureFirewall & { - /** - * 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: AzureFirewall; - }; -}; - -/** - * Contains response data for the listNext operation. + * Contains response data for the listAll operation. */ -export type AzureFirewallsListNextResponse = AzureFirewallListResult & { +export type AzureFirewallFqdnTagsListAllResponse = AzureFirewallFqdnTagListResult & { /** * The underlying HTTP response. */ @@ -11761,14 +12461,14 @@ export type AzureFirewallsListNextResponse = AzureFirewallListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: AzureFirewallListResult; + parsedBody: AzureFirewallFqdnTagListResult; }; }; /** * Contains response data for the listAllNext operation. */ -export type AzureFirewallsListAllNextResponse = AzureFirewallListResult & { +export type AzureFirewallFqdnTagsListAllNextResponse = AzureFirewallFqdnTagListResult & { /** * The underlying HTTP response. */ @@ -11781,14 +12481,14 @@ export type AzureFirewallsListAllNextResponse = AzureFirewallListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: AzureFirewallListResult; + parsedBody: AzureFirewallFqdnTagListResult; }; }; /** - * Contains response data for the listAll operation. + * Contains response data for the get operation. */ -export type AzureFirewallFqdnTagsListAllResponse = AzureFirewallFqdnTagListResult & { +export type BastionHostsGetResponse = BastionHost & { /** * The underlying HTTP response. */ @@ -11801,14 +12501,14 @@ export type AzureFirewallFqdnTagsListAllResponse = AzureFirewallFqdnTagListResul /** * The response body as parsed JSON or XML */ - parsedBody: AzureFirewallFqdnTagListResult; + parsedBody: BastionHost; }; }; /** - * Contains response data for the listAllNext operation. + * Contains response data for the createOrUpdate operation. */ -export type AzureFirewallFqdnTagsListAllNextResponse = AzureFirewallFqdnTagListResult & { +export type BastionHostsCreateOrUpdateResponse = BastionHost & { /** * The underlying HTTP response. */ @@ -11821,14 +12521,14 @@ export type AzureFirewallFqdnTagsListAllNextResponse = AzureFirewallFqdnTagListR /** * The response body as parsed JSON or XML */ - parsedBody: AzureFirewallFqdnTagListResult; + parsedBody: BastionHost; }; }; /** - * Contains response data for the get operation. + * Contains response data for the updateTags operation. */ -export type BastionHostsGetResponse = BastionHost & { +export type BastionHostsUpdateTagsResponse = BastionHost & { /** * The underlying HTTP response. */ @@ -11846,9 +12546,9 @@ export type BastionHostsGetResponse = BastionHost & { }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the list operation. */ -export type BastionHostsCreateOrUpdateResponse = BastionHost & { +export type BastionHostsListResponse = BastionHostListResult & { /** * The underlying HTTP response. */ @@ -11861,14 +12561,14 @@ export type BastionHostsCreateOrUpdateResponse = BastionHost & { /** * The response body as parsed JSON or XML */ - parsedBody: BastionHost; + parsedBody: BastionHostListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByResourceGroup operation. */ -export type BastionHostsListResponse = BastionHostListResult & { +export type BastionHostsListByResourceGroupResponse = BastionHostListResult & { /** * The underlying HTTP response. */ @@ -11886,9 +12586,9 @@ export type BastionHostsListResponse = BastionHostListResult & { }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type BastionHostsListByResourceGroupResponse = BastionHostListResult & { +export type BastionHostsBeginCreateOrUpdateResponse = BastionHost & { /** * The underlying HTTP response. */ @@ -11901,14 +12601,14 @@ export type BastionHostsListByResourceGroupResponse = BastionHostListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: BastionHostListResult; + parsedBody: BastionHost; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the beginUpdateTags operation. */ -export type BastionHostsBeginCreateOrUpdateResponse = BastionHost & { +export type BastionHostsBeginUpdateTagsResponse = BastionHost & { /** * The underlying HTTP response. */ @@ -13948,7 +14648,7 @@ export type ExpressRouteLinksListNextResponse = ExpressRouteLinkListResult & { /** * Contains response data for the get operation. */ -export type PrivateEndpointsGetResponse = PrivateEndpoint & { +export type FirewallPoliciesGetResponse = FirewallPolicy & { /** * The underlying HTTP response. */ @@ -13961,14 +14661,14 @@ export type PrivateEndpointsGetResponse = PrivateEndpoint & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpoint; + parsedBody: FirewallPolicy; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the updateTags operation. */ -export type PrivateEndpointsCreateOrUpdateResponse = PrivateEndpoint & { +export type FirewallPoliciesUpdateTagsResponse = FirewallPolicy & { /** * The underlying HTTP response. */ @@ -13981,14 +14681,14 @@ export type PrivateEndpointsCreateOrUpdateResponse = PrivateEndpoint & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpoint; + parsedBody: FirewallPolicy; }; }; /** - * Contains response data for the list operation. + * Contains response data for the createOrUpdate operation. */ -export type PrivateEndpointsListResponse = PrivateEndpointListResult & { +export type FirewallPoliciesCreateOrUpdateResponse = FirewallPolicy & { /** * The underlying HTTP response. */ @@ -14001,14 +14701,14 @@ export type PrivateEndpointsListResponse = PrivateEndpointListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointListResult; + parsedBody: FirewallPolicy; }; }; /** - * Contains response data for the listBySubscription operation. + * Contains response data for the list operation. */ -export type PrivateEndpointsListBySubscriptionResponse = PrivateEndpointListResult & { +export type FirewallPoliciesListResponse = FirewallPolicyListResult & { /** * The underlying HTTP response. */ @@ -14021,14 +14721,14 @@ export type PrivateEndpointsListBySubscriptionResponse = PrivateEndpointListResu /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointListResult; + parsedBody: FirewallPolicyListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listAll operation. */ -export type PrivateEndpointsBeginCreateOrUpdateResponse = PrivateEndpoint & { +export type FirewallPoliciesListAllResponse = FirewallPolicyListResult & { /** * The underlying HTTP response. */ @@ -14041,14 +14741,14 @@ export type PrivateEndpointsBeginCreateOrUpdateResponse = PrivateEndpoint & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpoint; + parsedBody: FirewallPolicyListResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type PrivateEndpointsListNextResponse = PrivateEndpointListResult & { +export type FirewallPoliciesBeginCreateOrUpdateResponse = FirewallPolicy & { /** * The underlying HTTP response. */ @@ -14061,14 +14761,14 @@ export type PrivateEndpointsListNextResponse = PrivateEndpointListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointListResult; + parsedBody: FirewallPolicy; }; }; /** - * Contains response data for the listBySubscriptionNext operation. + * Contains response data for the listNext operation. */ -export type PrivateEndpointsListBySubscriptionNextResponse = PrivateEndpointListResult & { +export type FirewallPoliciesListNextResponse = FirewallPolicyListResult & { /** * The underlying HTTP response. */ @@ -14081,14 +14781,14 @@ export type PrivateEndpointsListBySubscriptionNextResponse = PrivateEndpointList /** * The response body as parsed JSON or XML */ - parsedBody: PrivateEndpointListResult; + parsedBody: FirewallPolicyListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listAllNext operation. */ -export type PrivateLinkServicesGetResponse = PrivateLinkService & { +export type FirewallPoliciesListAllNextResponse = FirewallPolicyListResult & { /** * The underlying HTTP response. */ @@ -14101,14 +14801,14 @@ export type PrivateLinkServicesGetResponse = PrivateLinkService & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkService; + parsedBody: FirewallPolicyListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the get operation. */ -export type PrivateLinkServicesCreateOrUpdateResponse = PrivateLinkService & { +export type FirewallPolicyRuleGroupsGetResponse = FirewallPolicyRuleGroup & { /** * The underlying HTTP response. */ @@ -14121,14 +14821,14 @@ export type PrivateLinkServicesCreateOrUpdateResponse = PrivateLinkService & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkService; + parsedBody: FirewallPolicyRuleGroup; }; }; /** - * Contains response data for the list operation. + * Contains response data for the createOrUpdate operation. */ -export type PrivateLinkServicesListResponse = PrivateLinkServiceListResult & { +export type FirewallPolicyRuleGroupsCreateOrUpdateResponse = FirewallPolicyRuleGroup & { /** * The underlying HTTP response. */ @@ -14141,14 +14841,14 @@ export type PrivateLinkServicesListResponse = PrivateLinkServiceListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkServiceListResult; + parsedBody: FirewallPolicyRuleGroup; }; }; /** - * Contains response data for the listBySubscription operation. + * Contains response data for the list operation. */ -export type PrivateLinkServicesListBySubscriptionResponse = PrivateLinkServiceListResult & { +export type FirewallPolicyRuleGroupsListResponse = FirewallPolicyRuleGroupListResult & { /** * The underlying HTTP response. */ @@ -14161,14 +14861,14 @@ export type PrivateLinkServicesListBySubscriptionResponse = PrivateLinkServiceLi /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkServiceListResult; + parsedBody: FirewallPolicyRuleGroupListResult; }; }; /** * Contains response data for the beginCreateOrUpdate operation. */ -export type PrivateLinkServicesBeginCreateOrUpdateResponse = PrivateLinkService & { +export type FirewallPolicyRuleGroupsBeginCreateOrUpdateResponse = FirewallPolicyRuleGroup & { /** * The underlying HTTP response. */ @@ -14181,34 +14881,14 @@ export type PrivateLinkServicesBeginCreateOrUpdateResponse = PrivateLinkService /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkService; + parsedBody: FirewallPolicyRuleGroup; }; }; /** * Contains response data for the listNext operation. */ -export type PrivateLinkServicesListNextResponse = PrivateLinkServiceListResult & { - /** - * 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: PrivateLinkServiceListResult; - }; -}; - -/** - * Contains response data for the listBySubscriptionNext operation. - */ -export type PrivateLinkServicesListBySubscriptionNextResponse = PrivateLinkServiceListResult & { +export type FirewallPolicyRuleGroupsListNextResponse = FirewallPolicyRuleGroupListResult & { /** * The underlying HTTP response. */ @@ -14221,7 +14901,7 @@ export type PrivateLinkServicesListBySubscriptionNextResponse = PrivateLinkServi /** * The response body as parsed JSON or XML */ - parsedBody: PrivateLinkServiceListResult; + parsedBody: FirewallPolicyRuleGroupListResult; }; }; @@ -16521,14 +17201,514 @@ export type NetworkWatchersBeginGetTroubleshootingResponse = TroubleshootingResu /** * The response body as parsed JSON or XML */ - parsedBody: TroubleshootingResult; + parsedBody: TroubleshootingResult; + }; +}; + +/** + * Contains response data for the beginGetTroubleshootingResult operation. + */ +export type NetworkWatchersBeginGetTroubleshootingResultResponse = TroubleshootingResult & { + /** + * 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: TroubleshootingResult; + }; +}; + +/** + * Contains response data for the beginSetFlowLogConfiguration operation. + */ +export type NetworkWatchersBeginSetFlowLogConfigurationResponse = FlowLogInformation & { + /** + * 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: FlowLogInformation; + }; +}; + +/** + * Contains response data for the beginGetFlowLogStatus operation. + */ +export type NetworkWatchersBeginGetFlowLogStatusResponse = FlowLogInformation & { + /** + * 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: FlowLogInformation; + }; +}; + +/** + * Contains response data for the beginCheckConnectivity operation. + */ +export type NetworkWatchersBeginCheckConnectivityResponse = ConnectivityInformation & { + /** + * 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: ConnectivityInformation; + }; +}; + +/** + * Contains response data for the beginGetAzureReachabilityReport operation. + */ +export type NetworkWatchersBeginGetAzureReachabilityReportResponse = AzureReachabilityReport & { + /** + * 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: AzureReachabilityReport; + }; +}; + +/** + * Contains response data for the beginListAvailableProviders operation. + */ +export type NetworkWatchersBeginListAvailableProvidersResponse = AvailableProvidersList & { + /** + * 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: AvailableProvidersList; + }; +}; + +/** + * Contains response data for the beginGetNetworkConfigurationDiagnostic operation. + */ +export type NetworkWatchersBeginGetNetworkConfigurationDiagnosticResponse = NetworkConfigurationDiagnosticResponse & { + /** + * 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: NetworkConfigurationDiagnosticResponse; + }; +}; + +/** + * Contains response data for the create operation. + */ +export type PacketCapturesCreateResponse = PacketCaptureResult & { + /** + * 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: PacketCaptureResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type PacketCapturesGetResponse = PacketCaptureResult & { + /** + * 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: PacketCaptureResult; + }; +}; + +/** + * Contains response data for the getStatus operation. + */ +export type PacketCapturesGetStatusResponse = PacketCaptureQueryStatusResult & { + /** + * 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: PacketCaptureQueryStatusResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type PacketCapturesListResponse = PacketCaptureListResult & { + /** + * 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: PacketCaptureListResult; + }; +}; + +/** + * Contains response data for the beginCreate operation. + */ +export type PacketCapturesBeginCreateResponse = PacketCaptureResult & { + /** + * 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: PacketCaptureResult; + }; +}; + +/** + * Contains response data for the beginGetStatus operation. + */ +export type PacketCapturesBeginGetStatusResponse = PacketCaptureQueryStatusResult & { + /** + * 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: PacketCaptureQueryStatusResult; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type ConnectionMonitorsCreateOrUpdateResponse = ConnectionMonitorResult & { + /** + * 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: ConnectionMonitorResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ConnectionMonitorsGetResponse = ConnectionMonitorResult & { + /** + * 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: ConnectionMonitorResult; + }; +}; + +/** + * Contains response data for the query operation. + */ +export type ConnectionMonitorsQueryResponse = ConnectionMonitorQueryResult & { + /** + * 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: ConnectionMonitorQueryResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type ConnectionMonitorsListResponse = ConnectionMonitorListResult & { + /** + * 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: ConnectionMonitorListResult; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type ConnectionMonitorsBeginCreateOrUpdateResponse = ConnectionMonitorResult & { + /** + * 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: ConnectionMonitorResult; + }; +}; + +/** + * Contains response data for the beginQuery operation. + */ +export type ConnectionMonitorsBeginQueryResponse = ConnectionMonitorQueryResult & { + /** + * 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: ConnectionMonitorQueryResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type OperationsListResponse = OperationListResult & { + /** + * 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: OperationListResult; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type OperationsListNextResponse = OperationListResult & { + /** + * 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: OperationListResult; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type PrivateEndpointsGetResponse = PrivateEndpoint & { + /** + * 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: PrivateEndpoint; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type PrivateEndpointsCreateOrUpdateResponse = PrivateEndpoint & { + /** + * 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: PrivateEndpoint; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type PrivateEndpointsListResponse = PrivateEndpointListResult & { + /** + * 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: PrivateEndpointListResult; + }; +}; + +/** + * Contains response data for the listBySubscription operation. + */ +export type PrivateEndpointsListBySubscriptionResponse = PrivateEndpointListResult & { + /** + * 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: PrivateEndpointListResult; }; }; /** - * Contains response data for the beginGetTroubleshootingResult operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type NetworkWatchersBeginGetTroubleshootingResultResponse = TroubleshootingResult & { +export type PrivateEndpointsBeginCreateOrUpdateResponse = PrivateEndpoint & { /** * The underlying HTTP response. */ @@ -16541,14 +17721,14 @@ export type NetworkWatchersBeginGetTroubleshootingResultResponse = Troubleshooti /** * The response body as parsed JSON or XML */ - parsedBody: TroubleshootingResult; + parsedBody: PrivateEndpoint; }; }; /** - * Contains response data for the beginSetFlowLogConfiguration operation. + * Contains response data for the listNext operation. */ -export type NetworkWatchersBeginSetFlowLogConfigurationResponse = FlowLogInformation & { +export type PrivateEndpointsListNextResponse = PrivateEndpointListResult & { /** * The underlying HTTP response. */ @@ -16561,14 +17741,14 @@ export type NetworkWatchersBeginSetFlowLogConfigurationResponse = FlowLogInforma /** * The response body as parsed JSON or XML */ - parsedBody: FlowLogInformation; + parsedBody: PrivateEndpointListResult; }; }; /** - * Contains response data for the beginGetFlowLogStatus operation. + * Contains response data for the listBySubscriptionNext operation. */ -export type NetworkWatchersBeginGetFlowLogStatusResponse = FlowLogInformation & { +export type PrivateEndpointsListBySubscriptionNextResponse = PrivateEndpointListResult & { /** * The underlying HTTP response. */ @@ -16581,14 +17761,14 @@ export type NetworkWatchersBeginGetFlowLogStatusResponse = FlowLogInformation & /** * The response body as parsed JSON or XML */ - parsedBody: FlowLogInformation; + parsedBody: PrivateEndpointListResult; }; }; /** - * Contains response data for the beginCheckConnectivity operation. + * Contains response data for the list operation. */ -export type NetworkWatchersBeginCheckConnectivityResponse = ConnectivityInformation & { +export type AvailablePrivateEndpointTypesListResponse = AvailablePrivateEndpointTypesResult & { /** * The underlying HTTP response. */ @@ -16601,14 +17781,14 @@ export type NetworkWatchersBeginCheckConnectivityResponse = ConnectivityInformat /** * The response body as parsed JSON or XML */ - parsedBody: ConnectivityInformation; + parsedBody: AvailablePrivateEndpointTypesResult; }; }; /** - * Contains response data for the beginGetAzureReachabilityReport operation. + * Contains response data for the listByResourceGroup operation. */ -export type NetworkWatchersBeginGetAzureReachabilityReportResponse = AzureReachabilityReport & { +export type AvailablePrivateEndpointTypesListByResourceGroupResponse = AvailablePrivateEndpointTypesResult & { /** * The underlying HTTP response. */ @@ -16621,14 +17801,14 @@ export type NetworkWatchersBeginGetAzureReachabilityReportResponse = AzureReacha /** * The response body as parsed JSON or XML */ - parsedBody: AzureReachabilityReport; + parsedBody: AvailablePrivateEndpointTypesResult; }; }; /** - * Contains response data for the beginListAvailableProviders operation. + * Contains response data for the listNext operation. */ -export type NetworkWatchersBeginListAvailableProvidersResponse = AvailableProvidersList & { +export type AvailablePrivateEndpointTypesListNextResponse = AvailablePrivateEndpointTypesResult & { /** * The underlying HTTP response. */ @@ -16641,14 +17821,14 @@ export type NetworkWatchersBeginListAvailableProvidersResponse = AvailableProvid /** * The response body as parsed JSON or XML */ - parsedBody: AvailableProvidersList; + parsedBody: AvailablePrivateEndpointTypesResult; }; }; /** - * Contains response data for the beginGetNetworkConfigurationDiagnostic operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type NetworkWatchersBeginGetNetworkConfigurationDiagnosticResponse = NetworkConfigurationDiagnosticResponse & { +export type AvailablePrivateEndpointTypesListByResourceGroupNextResponse = AvailablePrivateEndpointTypesResult & { /** * The underlying HTTP response. */ @@ -16661,14 +17841,14 @@ export type NetworkWatchersBeginGetNetworkConfigurationDiagnosticResponse = Netw /** * The response body as parsed JSON or XML */ - parsedBody: NetworkConfigurationDiagnosticResponse; + parsedBody: AvailablePrivateEndpointTypesResult; }; }; /** - * Contains response data for the create operation. + * Contains response data for the get operation. */ -export type PacketCapturesCreateResponse = PacketCaptureResult & { +export type PrivateLinkServicesGetResponse = PrivateLinkService & { /** * The underlying HTTP response. */ @@ -16681,14 +17861,14 @@ export type PacketCapturesCreateResponse = PacketCaptureResult & { /** * The response body as parsed JSON or XML */ - parsedBody: PacketCaptureResult; + parsedBody: PrivateLinkService; }; }; /** - * Contains response data for the get operation. + * Contains response data for the createOrUpdate operation. */ -export type PacketCapturesGetResponse = PacketCaptureResult & { +export type PrivateLinkServicesCreateOrUpdateResponse = PrivateLinkService & { /** * The underlying HTTP response. */ @@ -16701,14 +17881,14 @@ export type PacketCapturesGetResponse = PacketCaptureResult & { /** * The response body as parsed JSON or XML */ - parsedBody: PacketCaptureResult; + parsedBody: PrivateLinkService; }; }; /** - * Contains response data for the getStatus operation. + * Contains response data for the list operation. */ -export type PacketCapturesGetStatusResponse = PacketCaptureQueryStatusResult & { +export type PrivateLinkServicesListResponse = PrivateLinkServiceListResult & { /** * The underlying HTTP response. */ @@ -16721,14 +17901,14 @@ export type PacketCapturesGetStatusResponse = PacketCaptureQueryStatusResult & { /** * The response body as parsed JSON or XML */ - parsedBody: PacketCaptureQueryStatusResult; + parsedBody: PrivateLinkServiceListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listBySubscription operation. */ -export type PacketCapturesListResponse = PacketCaptureListResult & { +export type PrivateLinkServicesListBySubscriptionResponse = PrivateLinkServiceListResult & { /** * The underlying HTTP response. */ @@ -16741,14 +17921,14 @@ export type PacketCapturesListResponse = PacketCaptureListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: PacketCaptureListResult; + parsedBody: PrivateLinkServiceListResult; }; }; /** - * Contains response data for the beginCreate operation. + * Contains response data for the updatePrivateEndpointConnection operation. */ -export type PacketCapturesBeginCreateResponse = PacketCaptureResult & { +export type PrivateLinkServicesUpdatePrivateEndpointConnectionResponse = PrivateEndpointConnection & { /** * The underlying HTTP response. */ @@ -16761,14 +17941,14 @@ export type PacketCapturesBeginCreateResponse = PacketCaptureResult & { /** * The response body as parsed JSON or XML */ - parsedBody: PacketCaptureResult; + parsedBody: PrivateEndpointConnection; }; }; /** - * Contains response data for the beginGetStatus operation. + * Contains response data for the checkPrivateLinkServiceVisibility operation. */ -export type PacketCapturesBeginGetStatusResponse = PacketCaptureQueryStatusResult & { +export type PrivateLinkServicesCheckPrivateLinkServiceVisibilityResponse = PrivateLinkServiceVisibility & { /** * The underlying HTTP response. */ @@ -16781,14 +17961,14 @@ export type PacketCapturesBeginGetStatusResponse = PacketCaptureQueryStatusResul /** * The response body as parsed JSON or XML */ - parsedBody: PacketCaptureQueryStatusResult; + parsedBody: PrivateLinkServiceVisibility; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the checkPrivateLinkServiceVisibilityByResourceGroup operation. */ -export type ConnectionMonitorsCreateOrUpdateResponse = ConnectionMonitorResult & { +export type PrivateLinkServicesCheckPrivateLinkServiceVisibilityByResourceGroupResponse = PrivateLinkServiceVisibility & { /** * The underlying HTTP response. */ @@ -16801,14 +17981,14 @@ export type ConnectionMonitorsCreateOrUpdateResponse = ConnectionMonitorResult & /** * The response body as parsed JSON or XML */ - parsedBody: ConnectionMonitorResult; + parsedBody: PrivateLinkServiceVisibility; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listAutoApprovedPrivateLinkServices operation. */ -export type ConnectionMonitorsGetResponse = ConnectionMonitorResult & { +export type PrivateLinkServicesListAutoApprovedPrivateLinkServicesResponse = AutoApprovedPrivateLinkServicesResult & { /** * The underlying HTTP response. */ @@ -16821,14 +18001,14 @@ export type ConnectionMonitorsGetResponse = ConnectionMonitorResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ConnectionMonitorResult; + parsedBody: AutoApprovedPrivateLinkServicesResult; }; }; /** - * Contains response data for the query operation. + * Contains response data for the listAutoApprovedPrivateLinkServicesByResourceGroup operation. */ -export type ConnectionMonitorsQueryResponse = ConnectionMonitorQueryResult & { +export type PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupResponse = AutoApprovedPrivateLinkServicesResult & { /** * The underlying HTTP response. */ @@ -16841,14 +18021,14 @@ export type ConnectionMonitorsQueryResponse = ConnectionMonitorQueryResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ConnectionMonitorQueryResult; + parsedBody: AutoApprovedPrivateLinkServicesResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ConnectionMonitorsListResponse = ConnectionMonitorListResult & { +export type PrivateLinkServicesBeginCreateOrUpdateResponse = PrivateLinkService & { /** * The underlying HTTP response. */ @@ -16861,14 +18041,14 @@ export type ConnectionMonitorsListResponse = ConnectionMonitorListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ConnectionMonitorListResult; + parsedBody: PrivateLinkService; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listNext operation. */ -export type ConnectionMonitorsBeginCreateOrUpdateResponse = ConnectionMonitorResult & { +export type PrivateLinkServicesListNextResponse = PrivateLinkServiceListResult & { /** * The underlying HTTP response. */ @@ -16881,14 +18061,14 @@ export type ConnectionMonitorsBeginCreateOrUpdateResponse = ConnectionMonitorRes /** * The response body as parsed JSON or XML */ - parsedBody: ConnectionMonitorResult; + parsedBody: PrivateLinkServiceListResult; }; }; /** - * Contains response data for the beginQuery operation. + * Contains response data for the listBySubscriptionNext operation. */ -export type ConnectionMonitorsBeginQueryResponse = ConnectionMonitorQueryResult & { +export type PrivateLinkServicesListBySubscriptionNextResponse = PrivateLinkServiceListResult & { /** * The underlying HTTP response. */ @@ -16901,14 +18081,14 @@ export type ConnectionMonitorsBeginQueryResponse = ConnectionMonitorQueryResult /** * The response body as parsed JSON or XML */ - parsedBody: ConnectionMonitorQueryResult; + parsedBody: PrivateLinkServiceListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listAutoApprovedPrivateLinkServicesNext operation. */ -export type OperationsListResponse = OperationListResult & { +export type PrivateLinkServicesListAutoApprovedPrivateLinkServicesNextResponse = AutoApprovedPrivateLinkServicesResult & { /** * The underlying HTTP response. */ @@ -16921,14 +18101,14 @@ export type OperationsListResponse = OperationListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationListResult; + parsedBody: AutoApprovedPrivateLinkServicesResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listAutoApprovedPrivateLinkServicesByResourceGroupNext operation. */ -export type OperationsListNextResponse = OperationListResult & { +export type PrivateLinkServicesListAutoApprovedPrivateLinkServicesByResourceGroupNextResponse = AutoApprovedPrivateLinkServicesResult & { /** * The underlying HTTP response. */ @@ -16941,7 +18121,7 @@ export type OperationsListNextResponse = OperationListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: OperationListResult; + parsedBody: AutoApprovedPrivateLinkServicesResult; }; }; @@ -19290,6 +20470,56 @@ export type VirtualNetworkGatewaysBeginResetResponse = VirtualNetworkGateway & { }; }; +/** + * Contains response data for the beginGeneratevpnclientpackage operation. + */ +export type VirtualNetworkGatewaysBeginGeneratevpnclientpackageResponse = { + /** + * The parsed response body. + */ + body: string; + + /** + * 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: string; + }; +}; + +/** + * Contains response data for the beginGenerateVpnProfile operation. + */ +export type VirtualNetworkGatewaysBeginGenerateVpnProfileResponse = { + /** + * The parsed response body. + */ + body: string; + + /** + * 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: string; + }; +}; + /** * Contains response data for the beginGetVpnProfilePackageUrl operation. */ @@ -20395,6 +21625,66 @@ export type VpnSitesListNextResponse = ListVpnSitesResult & { }; }; +/** + * Contains response data for the get operation. + */ +export type VpnSiteLinksGetResponse = VpnSiteLink & { + /** + * 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: VpnSiteLink; + }; +}; + +/** + * Contains response data for the listByVpnSite operation. + */ +export type VpnSiteLinksListByVpnSiteResponse = ListVpnSiteLinksResult & { + /** + * 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: ListVpnSiteLinksResult; + }; +}; + +/** + * Contains response data for the listByVpnSiteNext operation. + */ +export type VpnSiteLinksListByVpnSiteNextResponse = ListVpnSiteLinksResult & { + /** + * 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: ListVpnSiteLinksResult; + }; +}; + /** * Contains response data for the get operation. */ @@ -20955,6 +22245,66 @@ export type VpnConnectionsListByVpnGatewayNextResponse = ListVpnConnectionsResul }; }; +/** + * Contains response data for the get operation. + */ +export type VpnSiteLinkConnectionsGetResponse = VpnSiteLinkConnection & { + /** + * 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: VpnSiteLinkConnection; + }; +}; + +/** + * Contains response data for the listByVpnConnection operation. + */ +export type VpnLinkConnectionsListByVpnConnectionResponse = ListVpnSiteLinkConnectionsResult & { + /** + * 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: ListVpnSiteLinkConnectionsResult; + }; +}; + +/** + * Contains response data for the listByVpnConnectionNext operation. + */ +export type VpnLinkConnectionsListByVpnConnectionNextResponse = ListVpnSiteLinkConnectionsResult & { + /** + * 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: ListVpnSiteLinkConnectionsResult; + }; +}; + /** * Contains response data for the get operation. */ diff --git a/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts b/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts index 293169dab1da..a4d02499b6ba 100644 --- a/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts b/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts index 2ca728df0d20..451acad6bc0f 100644 --- a/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts index fa4ee3ab0a50..6c33a2f66ac4 100644 --- a/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts index b896625257d6..3d16037a916a 100644 --- a/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceListResult, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts index 48134ec7691d..461604b83830 100644 --- a/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts index 310d02327748..b2f8683bd701 100644 --- a/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/loadBalancersMappers.ts b/sdk/network/arm-network/src/models/loadBalancersMappers.ts index 030c84033c67..5690e93bfc19 100644 --- a/sdk/network/arm-network/src/models/loadBalancersMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancersMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -193,7 +207,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts b/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts index 7e81d8b8352c..c87820d156f0 100644 --- a/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -193,7 +207,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/mappers.ts b/sdk/network/arm-network/src/models/mappers.ts index 46f386fc0495..b709ee4743db 100644 --- a/sdk/network/arm-network/src/models/mappers.ts +++ b/sdk/network/arm-network/src/models/mappers.ts @@ -39,6 +39,22 @@ export const ApplicationGatewayProbeHealthResponseMatch: msRest.CompositeMapper } }; +export const SubResource: msRest.CompositeMapper = { + serializedName: "SubResource", + type: { + name: "Composite", + className: "SubResource", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + export const ApplicationGatewayOnDemandProbe: msRest.CompositeMapper = { serializedName: "ApplicationGatewayOnDemandProbe", type: { @@ -82,32 +98,18 @@ export const ApplicationGatewayOnDemandProbe: msRest.CompositeMapper = { className: "ApplicationGatewayProbeHealthResponseMatch" } }, - backendPoolName: { - serializedName: "backendPoolName", + backendAddressPool: { + serializedName: "backendAddressPool", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - backendHttpSettingName: { - serializedName: "backendHttpSettingName", - type: { - name: "String" - } - } - } - } -}; - -export const SubResource: msRest.CompositeMapper = { - serializedName: "SubResource", - type: { - name: "Composite", - className: "SubResource", - modelProperties: { - id: { - serializedName: "id", + backendHttpSettings: { + serializedName: "backendHttpSettings", type: { - name: "String" + name: "Composite", + className: "SubResource" } } } @@ -426,6 +428,12 @@ export const PrivateLinkServiceConnection: msRest.CompositeMapper = { className: "PrivateLinkServiceConnection", modelProperties: { ...SubResource.type.modelProperties, + provisioningState: { + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, privateLinkServiceId: { serializedName: "properties.privateLinkServiceId", type: { @@ -461,6 +469,20 @@ export const PrivateLinkServiceConnection: msRest.CompositeMapper = { type: { name: "String" } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + etag: { + readOnly: true, + serializedName: "etag", + type: { + name: "String" + } } } } @@ -494,7 +516,6 @@ export const PrivateEndpoint: msRest.CompositeMapper = { } }, provisioningState: { - readOnly: true, serializedName: "properties.provisioningState", type: { name: "String" @@ -1646,6 +1667,18 @@ export const Subnet: msRest.CompositeMapper = { name: "String" } }, + privateEndpointNetworkPolicies: { + serializedName: "properties.privateEndpointNetworkPolicies", + type: { + name: "String" + } + }, + privateLinkServiceNetworkPolicies: { + serializedName: "properties.privateLinkServiceNetworkPolicies", + type: { + name: "String" + } + }, name: { serializedName: "name", type: { @@ -1733,6 +1766,12 @@ export const FrontendIPConfiguration: msRest.CompositeMapper = { name: "String" } }, + privateIPAddressVersion: { + serializedName: "properties.privateIPAddressVersion", + type: { + name: "String" + } + }, subnet: { serializedName: "properties.subnet", type: { @@ -1772,6 +1811,13 @@ export const FrontendIPConfiguration: msRest.CompositeMapper = { name: "String" } }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, zones: { serializedName: "zones", type: { @@ -1892,6 +1938,19 @@ export const BackendAddressPool: msRest.CompositeMapper = { className: "SubResource" } }, + outboundRules: { + readOnly: true, + serializedName: "properties.outboundRules", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, provisioningState: { serializedName: "properties.provisioningState", type: { @@ -1909,6 +1968,13 @@ export const BackendAddressPool: msRest.CompositeMapper = { type: { name: "String" } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } } } } @@ -1989,6 +2055,13 @@ export const InboundNatRule: msRest.CompositeMapper = { type: { name: "String" } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } } } } @@ -4463,34 +4536,6 @@ export const AvailableDelegation: msRest.CompositeMapper = { } }; -export const AvailablePrivateEndpointType: msRest.CompositeMapper = { - serializedName: "AvailablePrivateEndpointType", - type: { - name: "Composite", - className: "AvailablePrivateEndpointType", - modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - }, - type: { - serializedName: "type", - type: { - name: "String" - } - }, - serviceName: { - serializedName: "serviceName", - type: { - name: "String" - } - } - } - } -}; - export const AzureFirewallIPConfiguration: msRest.CompositeMapper = { serializedName: "AzureFirewallIPConfiguration", type: { @@ -4542,6 +4587,50 @@ export const AzureFirewallIPConfiguration: msRest.CompositeMapper = { } }; +export const AzureFirewallPublicIPAddress: msRest.CompositeMapper = { + serializedName: "AzureFirewallPublicIPAddress", + type: { + name: "Composite", + className: "AzureFirewallPublicIPAddress", + modelProperties: { + address: { + serializedName: "address", + type: { + name: "String" + } + } + } + } +}; + +export const HubIPAddresses: msRest.CompositeMapper = { + serializedName: "HubIPAddresses", + type: { + name: "Composite", + className: "HubIPAddresses", + modelProperties: { + publicIPAddresses: { + serializedName: "publicIPAddresses", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AzureFirewallPublicIPAddress" + } + } + } + }, + privateIPAddress: { + serializedName: "privateIPAddress", + type: { + name: "String" + } + } + } + } +}; + export const AzureFirewallRCAction: msRest.CompositeMapper = { serializedName: "AzureFirewallRCAction", type: { @@ -5055,6 +5144,28 @@ export const AzureFirewall: msRest.CompositeMapper = { name: "String" } }, + virtualHub: { + serializedName: "properties.virtualHub", + type: { + name: "Composite", + className: "SubResource" + } + }, + firewallPolicy: { + serializedName: "properties.firewallPolicy", + type: { + name: "Composite", + className: "SubResource" + } + }, + hubIpAddresses: { + readOnly: true, + serializedName: "properties.hubIpAddresses", + type: { + name: "Composite", + className: "HubIPAddresses" + } + }, zones: { serializedName: "zones", type: { @@ -5145,7 +5256,6 @@ export const BastionHostIPConfiguration: msRest.CompositeMapper = { } }, name: { - readOnly: true, serializedName: "name", type: { name: "String" @@ -7127,52 +7237,74 @@ export const ExpressRoutePort: msRest.CompositeMapper = { } }; -export const PrivateLinkServiceIpConfiguration: msRest.CompositeMapper = { - serializedName: "PrivateLinkServiceIpConfiguration", +export const FirewallPolicy: msRest.CompositeMapper = { + serializedName: "FirewallPolicy", type: { name: "Composite", - className: "PrivateLinkServiceIpConfiguration", + className: "FirewallPolicy", modelProperties: { - privateIPAddress: { - serializedName: "properties.privateIPAddress", + ...Resource.type.modelProperties, + ruleGroups: { + readOnly: true, + serializedName: "properties.ruleGroups", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, - privateIPAllocationMethod: { - serializedName: "properties.privateIPAllocationMethod", + provisioningState: { + serializedName: "properties.provisioningState", type: { name: "String" } }, - subnet: { - serializedName: "properties.subnet", + basePolicy: { + serializedName: "properties.basePolicy", type: { name: "Composite", - className: "Subnet" + className: "SubResource" } }, - publicIPAddress: { - serializedName: "properties.publicIPAddress", + firewalls: { + readOnly: true, + serializedName: "properties.firewalls", type: { - name: "Composite", - className: "PublicIPAddress" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, - provisioningState: { - serializedName: "properties.provisioningState", + childPolicies: { + readOnly: true, + serializedName: "properties.childPolicies", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } } }, - privateIPAddressVersion: { - serializedName: "properties.privateIPAddressVersion", + threatIntelMode: { + serializedName: "properties.threatIntelMode", type: { name: "String" } }, - name: { - serializedName: "name", + etag: { + readOnly: true, + serializedName: "etag", type: { name: "String" } @@ -7181,29 +7313,36 @@ export const PrivateLinkServiceIpConfiguration: msRest.CompositeMapper = { } }; -export const PrivateEndpointConnection: msRest.CompositeMapper = { - serializedName: "PrivateEndpointConnection", +export const FirewallPolicyRule: msRest.CompositeMapper = { + serializedName: "FirewallPolicyRule", type: { name: "Composite", - className: "PrivateEndpointConnection", + polymorphicDiscriminator: { + serializedName: "ruleType", + clientName: "ruleType" + }, + uberParent: "FirewallPolicyRule", + className: "FirewallPolicyRule", modelProperties: { - ...SubResource.type.modelProperties, - privateEndpoint: { - serializedName: "properties.privateEndpoint", + name: { + serializedName: "name", type: { - name: "Composite", - className: "PrivateEndpoint" + name: "String" } }, - privateLinkServiceConnectionState: { - serializedName: "properties.privateLinkServiceConnectionState", + priority: { + serializedName: "priority", + constraints: { + InclusiveMaximum: 65000, + InclusiveMinimum: 100 + }, type: { - name: "Composite", - className: "PrivateLinkServiceConnectionState" + name: "Number" } }, - name: { - serializedName: "name", + ruleType: { + required: true, + serializedName: "ruleType", type: { name: "String" } @@ -7212,128 +7351,273 @@ export const PrivateEndpointConnection: msRest.CompositeMapper = { } }; -export const ResourceSet: msRest.CompositeMapper = { - serializedName: "ResourceSet", +export const FirewallPolicyRuleGroup: msRest.CompositeMapper = { + serializedName: "FirewallPolicyRuleGroup", type: { name: "Composite", - className: "ResourceSet", + className: "FirewallPolicyRuleGroup", modelProperties: { - subscriptions: { - serializedName: "subscriptions", + ...SubResource.type.modelProperties, + priority: { + serializedName: "properties.priority", + constraints: { + InclusiveMaximum: 65000, + InclusiveMinimum: 100 + }, + type: { + name: "Number" + } + }, + rules: { + serializedName: "properties.rules", type: { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "FirewallPolicyRule" } } } + }, + provisioningState: { + 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 PrivateLinkServicePropertiesVisibility: msRest.CompositeMapper = { - serializedName: "PrivateLinkServiceProperties_visibility", +export const FirewallPolicyNatRuleAction: msRest.CompositeMapper = { + serializedName: "FirewallPolicyNatRuleAction", type: { name: "Composite", - className: "PrivateLinkServicePropertiesVisibility", + className: "FirewallPolicyNatRuleAction", modelProperties: { - ...ResourceSet.type.modelProperties + type: { + serializedName: "type", + type: { + name: "String" + } + } } } }; -export const PrivateLinkServicePropertiesAutoApproval: msRest.CompositeMapper = { - serializedName: "PrivateLinkServiceProperties_autoApproval", +export const FirewallPolicyRuleCondition: msRest.CompositeMapper = { + serializedName: "FirewallPolicyRuleCondition", type: { name: "Composite", - className: "PrivateLinkServicePropertiesAutoApproval", + polymorphicDiscriminator: { + serializedName: "ruleConditionType", + clientName: "ruleConditionType" + }, + uberParent: "FirewallPolicyRuleCondition", + className: "FirewallPolicyRuleCondition", modelProperties: { - ...ResourceSet.type.modelProperties + name: { + serializedName: "name", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + }, + ruleConditionType: { + required: true, + serializedName: "ruleConditionType", + type: { + name: "String" + } + } } } }; -export const PrivateLinkService: msRest.CompositeMapper = { - serializedName: "PrivateLinkService", +export const FirewallPolicyNatRule: msRest.CompositeMapper = { + serializedName: "FirewallPolicyNatRule", type: { name: "Composite", - className: "PrivateLinkService", + polymorphicDiscriminator: FirewallPolicyRule.type.polymorphicDiscriminator, + uberParent: "FirewallPolicyRule", + className: "FirewallPolicyNatRule", modelProperties: { - ...Resource.type.modelProperties, - loadBalancerFrontendIPConfigurations: { - serializedName: "properties.loadBalancerFrontendIPConfigurations", + ...FirewallPolicyRule.type.modelProperties, + action: { + serializedName: "action", + type: { + name: "Composite", + className: "FirewallPolicyNatRuleAction" + } + }, + translatedAddress: { + serializedName: "translatedAddress", + type: { + name: "String" + } + }, + translatedPort: { + serializedName: "translatedPort", + type: { + name: "String" + } + }, + ruleCondition: { + serializedName: "ruleCondition", + type: { + name: "Composite", + className: "FirewallPolicyRuleCondition" + } + } + } + } +}; + +export const FirewallPolicyFilterRuleAction: msRest.CompositeMapper = { + serializedName: "FirewallPolicyFilterRuleAction", + type: { + name: "Composite", + className: "FirewallPolicyFilterRuleAction", + modelProperties: { + type: { + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const FirewallPolicyFilterRule: msRest.CompositeMapper = { + serializedName: "FirewallPolicyFilterRule", + type: { + name: "Composite", + polymorphicDiscriminator: FirewallPolicyRule.type.polymorphicDiscriminator, + uberParent: "FirewallPolicyRule", + className: "FirewallPolicyFilterRule", + modelProperties: { + ...FirewallPolicyRule.type.modelProperties, + action: { + serializedName: "action", + type: { + name: "Composite", + className: "FirewallPolicyFilterRuleAction" + } + }, + ruleConditions: { + serializedName: "ruleConditions", type: { name: "Sequence", element: { type: { name: "Composite", - className: "FrontendIPConfiguration" + className: "FirewallPolicyRuleCondition" } } } + } + } + } +}; + +export const FirewallPolicyRuleConditionApplicationProtocol: msRest.CompositeMapper = { + serializedName: "FirewallPolicyRuleConditionApplicationProtocol", + type: { + name: "Composite", + className: "FirewallPolicyRuleConditionApplicationProtocol", + modelProperties: { + protocolType: { + serializedName: "protocolType", + type: { + name: "String" + } }, - ipConfigurations: { - serializedName: "properties.ipConfigurations", + port: { + serializedName: "port", + constraints: { + InclusiveMaximum: 64000, + InclusiveMinimum: 0 + }, + type: { + name: "Number" + } + } + } + } +}; + +export const ApplicationRuleCondition: msRest.CompositeMapper = { + serializedName: "ApplicationRuleCondition", + type: { + name: "Composite", + polymorphicDiscriminator: FirewallPolicyRuleCondition.type.polymorphicDiscriminator, + uberParent: "FirewallPolicyRuleCondition", + className: "ApplicationRuleCondition", + modelProperties: { + ...FirewallPolicyRuleCondition.type.modelProperties, + sourceAddresses: { + serializedName: "sourceAddresses", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "PrivateLinkServiceIpConfiguration" + name: "String" } } } }, - networkInterfaces: { - readOnly: true, - serializedName: "properties.networkInterfaces", + destinationAddresses: { + serializedName: "destinationAddresses", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "NetworkInterface" + name: "String" } } } }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", - type: { - name: "String" - } - }, - privateEndpointConnections: { - serializedName: "properties.privateEndpointConnections", + protocols: { + serializedName: "protocols", type: { name: "Sequence", element: { type: { name: "Composite", - className: "PrivateEndpointConnection" + className: "FirewallPolicyRuleConditionApplicationProtocol" } } } }, - visibility: { - serializedName: "properties.visibility", - type: { - name: "Composite", - className: "PrivateLinkServicePropertiesVisibility" - } - }, - autoApproval: { - serializedName: "properties.autoApproval", - type: { - name: "Composite", - className: "PrivateLinkServicePropertiesAutoApproval" - } - }, - fqdns: { - serializedName: "properties.fqdns", + targetFqdns: { + serializedName: "targetFqdns", type: { name: "Sequence", element: { @@ -7343,38 +7627,93 @@ export const PrivateLinkService: msRest.CompositeMapper = { } } }, - alias: { - readOnly: true, - serializedName: "properties.alias", - type: { - name: "String" - } - }, - etag: { - serializedName: "etag", + fqdnTags: { + serializedName: "fqdnTags", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } } } } }; -export const LoadBalancerSku: msRest.CompositeMapper = { - serializedName: "LoadBalancerSku", +export const NetworkRuleCondition: msRest.CompositeMapper = { + serializedName: "NetworkRuleCondition", type: { name: "Composite", - className: "LoadBalancerSku", + polymorphicDiscriminator: FirewallPolicyRuleCondition.type.polymorphicDiscriminator, + uberParent: "FirewallPolicyRuleCondition", + className: "NetworkRuleCondition", modelProperties: { - name: { - serializedName: "name", + ...FirewallPolicyRuleCondition.type.modelProperties, + ipProtocols: { + serializedName: "ipProtocols", type: { - name: "String" - } - } - } - } -}; + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + sourceAddresses: { + serializedName: "sourceAddresses", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + destinationAddresses: { + serializedName: "destinationAddresses", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + destinationPorts: { + serializedName: "destinationPorts", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const LoadBalancerSku: msRest.CompositeMapper = { + serializedName: "LoadBalancerSku", + type: { + name: "Composite", + className: "LoadBalancerSku", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + } + } + } +}; export const LoadBalancingRule: msRest.CompositeMapper = { serializedName: "LoadBalancingRule", @@ -7471,6 +7810,13 @@ export const LoadBalancingRule: msRest.CompositeMapper = { type: { name: "String" } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } } } } @@ -7545,6 +7891,13 @@ export const Probe: msRest.CompositeMapper = { type: { name: "String" } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } } } } @@ -7627,6 +7980,13 @@ export const InboundNatPool: msRest.CompositeMapper = { type: { name: "String" } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } } } } @@ -7702,6 +8062,13 @@ export const OutboundRule: msRest.CompositeMapper = { type: { name: "String" } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } } } } @@ -10737,30 +11104,448 @@ export const NetworkConfigurationDiagnosticProfile: msRest.CompositeMapper = { name: "String" } }, - protocol: { - required: true, - serializedName: "protocol", + protocol: { + required: true, + serializedName: "protocol", + type: { + name: "String" + } + }, + source: { + required: true, + serializedName: "source", + type: { + name: "String" + } + }, + destination: { + required: true, + serializedName: "destination", + type: { + name: "String" + } + }, + destinationPort: { + required: true, + serializedName: "destinationPort", + type: { + name: "String" + } + } + } + } +}; + +export const NetworkConfigurationDiagnosticParameters: msRest.CompositeMapper = { + serializedName: "NetworkConfigurationDiagnosticParameters", + type: { + name: "Composite", + className: "NetworkConfigurationDiagnosticParameters", + modelProperties: { + targetResourceId: { + required: true, + serializedName: "targetResourceId", + type: { + name: "String" + } + }, + verbosityLevel: { + serializedName: "verbosityLevel", + type: { + name: "String" + } + }, + profiles: { + required: true, + serializedName: "profiles", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NetworkConfigurationDiagnosticProfile" + } + } + } + } + } + } +}; + +export const MatchedRule: msRest.CompositeMapper = { + serializedName: "MatchedRule", + type: { + name: "Composite", + className: "MatchedRule", + modelProperties: { + ruleName: { + serializedName: "ruleName", + type: { + name: "String" + } + }, + action: { + serializedName: "action", + type: { + name: "String" + } + } + } + } +}; + +export const NetworkSecurityRulesEvaluationResult: msRest.CompositeMapper = { + serializedName: "NetworkSecurityRulesEvaluationResult", + type: { + name: "Composite", + className: "NetworkSecurityRulesEvaluationResult", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + protocolMatched: { + serializedName: "protocolMatched", + type: { + name: "Boolean" + } + }, + sourceMatched: { + serializedName: "sourceMatched", + type: { + name: "Boolean" + } + }, + sourcePortMatched: { + serializedName: "sourcePortMatched", + type: { + name: "Boolean" + } + }, + destinationMatched: { + serializedName: "destinationMatched", + type: { + name: "Boolean" + } + }, + destinationPortMatched: { + serializedName: "destinationPortMatched", + type: { + name: "Boolean" + } + } + } + } +}; + +export const EvaluatedNetworkSecurityGroup: msRest.CompositeMapper = { + serializedName: "EvaluatedNetworkSecurityGroup", + type: { + name: "Composite", + className: "EvaluatedNetworkSecurityGroup", + modelProperties: { + networkSecurityGroupId: { + serializedName: "networkSecurityGroupId", + type: { + name: "String" + } + }, + appliedTo: { + serializedName: "appliedTo", + type: { + name: "String" + } + }, + matchedRule: { + serializedName: "matchedRule", + type: { + name: "Composite", + className: "MatchedRule" + } + }, + rulesEvaluationResult: { + readOnly: true, + serializedName: "rulesEvaluationResult", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NetworkSecurityRulesEvaluationResult" + } + } + } + } + } + } +}; + +export const NetworkSecurityGroupResult: msRest.CompositeMapper = { + serializedName: "NetworkSecurityGroupResult", + type: { + name: "Composite", + className: "NetworkSecurityGroupResult", + modelProperties: { + securityRuleAccessResult: { + serializedName: "securityRuleAccessResult", + type: { + name: "String" + } + }, + evaluatedNetworkSecurityGroups: { + readOnly: true, + serializedName: "evaluatedNetworkSecurityGroups", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EvaluatedNetworkSecurityGroup" + } + } + } + } + } + } +}; + +export const NetworkConfigurationDiagnosticResult: msRest.CompositeMapper = { + serializedName: "NetworkConfigurationDiagnosticResult", + type: { + name: "Composite", + className: "NetworkConfigurationDiagnosticResult", + modelProperties: { + profile: { + serializedName: "profile", + type: { + name: "Composite", + className: "NetworkConfigurationDiagnosticProfile" + } + }, + networkSecurityGroupResult: { + serializedName: "networkSecurityGroupResult", + type: { + name: "Composite", + className: "NetworkSecurityGroupResult" + } + } + } + } +}; + +export const NetworkConfigurationDiagnosticResponse: msRest.CompositeMapper = { + serializedName: "NetworkConfigurationDiagnosticResponse", + type: { + name: "Composite", + className: "NetworkConfigurationDiagnosticResponse", + modelProperties: { + results: { + readOnly: true, + serializedName: "results", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NetworkConfigurationDiagnosticResult" + } + } + } + } + } + } +}; + +export const OperationDisplay: msRest.CompositeMapper = { + serializedName: "Operation_display", + type: { + name: "Composite", + className: "OperationDisplay", + modelProperties: { + provider: { + serializedName: "provider", + type: { + name: "String" + } + }, + resource: { + serializedName: "resource", + type: { + name: "String" + } + }, + operation: { + serializedName: "operation", + type: { + name: "String" + } + }, + description: { + serializedName: "description", + type: { + name: "String" + } + } + } + } +}; + +export const Availability: msRest.CompositeMapper = { + serializedName: "Availability", + type: { + name: "Composite", + className: "Availability", + modelProperties: { + timeGrain: { + serializedName: "timeGrain", + type: { + name: "String" + } + }, + retention: { + serializedName: "retention", + type: { + name: "String" + } + }, + blobDuration: { + serializedName: "blobDuration", + type: { + name: "String" + } + } + } + } +}; + +export const Dimension: msRest.CompositeMapper = { + serializedName: "Dimension", + type: { + name: "Composite", + className: "Dimension", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + }, + internalName: { + serializedName: "internalName", + type: { + name: "String" + } + } + } + } +}; + +export const MetricSpecification: msRest.CompositeMapper = { + serializedName: "MetricSpecification", + type: { + name: "Composite", + className: "MetricSpecification", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + }, + displayDescription: { + serializedName: "displayDescription", + type: { + name: "String" + } + }, + unit: { + serializedName: "unit", + type: { + name: "String" + } + }, + aggregationType: { + serializedName: "aggregationType", + type: { + name: "String" + } + }, + availabilities: { + serializedName: "availabilities", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Availability" + } + } + } + }, + enableRegionalMdmAccount: { + serializedName: "enableRegionalMdmAccount", + type: { + name: "Boolean" + } + }, + fillGapWithZero: { + serializedName: "fillGapWithZero", + type: { + name: "Boolean" + } + }, + metricFilterPattern: { + serializedName: "metricFilterPattern", + type: { + name: "String" + } + }, + dimensions: { + serializedName: "dimensions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Dimension" + } + } } }, - source: { - required: true, - serializedName: "source", + isInternal: { + serializedName: "isInternal", + type: { + name: "Boolean" + } + }, + sourceMdmAccount: { + serializedName: "sourceMdmAccount", type: { name: "String" } }, - destination: { - required: true, - serializedName: "destination", + sourceMdmNamespace: { + serializedName: "sourceMdmNamespace", type: { name: "String" } }, - destinationPort: { - required: true, - serializedName: "destinationPort", + resourceIdDimensionNameOverride: { + serializedName: "resourceIdDimensionNameOverride", type: { name: "String" } @@ -10769,69 +11554,73 @@ export const NetworkConfigurationDiagnosticProfile: msRest.CompositeMapper = { } }; -export const NetworkConfigurationDiagnosticParameters: msRest.CompositeMapper = { - serializedName: "NetworkConfigurationDiagnosticParameters", +export const LogSpecification: msRest.CompositeMapper = { + serializedName: "LogSpecification", type: { name: "Composite", - className: "NetworkConfigurationDiagnosticParameters", + className: "LogSpecification", modelProperties: { - targetResourceId: { - required: true, - serializedName: "targetResourceId", + name: { + serializedName: "name", type: { name: "String" } }, - verbosityLevel: { - serializedName: "verbosityLevel", + displayName: { + serializedName: "displayName", type: { name: "String" } }, - profiles: { - required: true, - serializedName: "profiles", + blobDuration: { + serializedName: "blobDuration", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NetworkConfigurationDiagnosticProfile" - } - } + name: "String" } } } } }; -export const MatchedRule: msRest.CompositeMapper = { - serializedName: "MatchedRule", +export const OperationPropertiesFormatServiceSpecification: msRest.CompositeMapper = { + serializedName: "OperationPropertiesFormat_serviceSpecification", type: { name: "Composite", - className: "MatchedRule", + className: "OperationPropertiesFormatServiceSpecification", modelProperties: { - ruleName: { - serializedName: "ruleName", + metricSpecifications: { + serializedName: "metricSpecifications", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "MetricSpecification" + } + } } }, - action: { - serializedName: "action", + logSpecifications: { + serializedName: "logSpecifications", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LogSpecification" + } + } } } } } }; -export const NetworkSecurityRulesEvaluationResult: msRest.CompositeMapper = { - serializedName: "NetworkSecurityRulesEvaluationResult", +export const Operation: msRest.CompositeMapper = { + serializedName: "Operation", type: { name: "Composite", - className: "NetworkSecurityRulesEvaluationResult", + className: "Operation", modelProperties: { name: { serializedName: "name", @@ -10839,184 +11628,124 @@ export const NetworkSecurityRulesEvaluationResult: msRest.CompositeMapper = { name: "String" } }, - protocolMatched: { - serializedName: "protocolMatched", - type: { - name: "Boolean" - } - }, - sourceMatched: { - serializedName: "sourceMatched", - type: { - name: "Boolean" - } - }, - sourcePortMatched: { - serializedName: "sourcePortMatched", + display: { + serializedName: "display", type: { - name: "Boolean" + name: "Composite", + className: "OperationDisplay" } }, - destinationMatched: { - serializedName: "destinationMatched", + origin: { + serializedName: "origin", type: { - name: "Boolean" + name: "String" } }, - destinationPortMatched: { - serializedName: "destinationPortMatched", + serviceSpecification: { + serializedName: "properties.serviceSpecification", type: { - name: "Boolean" + name: "Composite", + className: "OperationPropertiesFormatServiceSpecification" } } } } }; -export const EvaluatedNetworkSecurityGroup: msRest.CompositeMapper = { - serializedName: "EvaluatedNetworkSecurityGroup", +export const AvailablePrivateEndpointType: msRest.CompositeMapper = { + serializedName: "AvailablePrivateEndpointType", type: { name: "Composite", - className: "EvaluatedNetworkSecurityGroup", + className: "AvailablePrivateEndpointType", modelProperties: { - networkSecurityGroupId: { - serializedName: "networkSecurityGroupId", + name: { + serializedName: "name", type: { name: "String" } }, - appliedTo: { - serializedName: "appliedTo", + id: { + serializedName: "id", type: { name: "String" } }, - matchedRule: { - serializedName: "matchedRule", + type: { + serializedName: "type", type: { - name: "Composite", - className: "MatchedRule" + name: "String" } }, - rulesEvaluationResult: { - readOnly: true, - serializedName: "rulesEvaluationResult", + resourceName: { + serializedName: "resourceName", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NetworkSecurityRulesEvaluationResult" - } - } + name: "String" } } } } }; -export const NetworkSecurityGroupResult: msRest.CompositeMapper = { - serializedName: "NetworkSecurityGroupResult", +export const PrivateLinkServiceIpConfiguration: msRest.CompositeMapper = { + serializedName: "PrivateLinkServiceIpConfiguration", type: { name: "Composite", - className: "NetworkSecurityGroupResult", + className: "PrivateLinkServiceIpConfiguration", modelProperties: { - securityRuleAccessResult: { - serializedName: "securityRuleAccessResult", + ...SubResource.type.modelProperties, + privateIPAddress: { + serializedName: "properties.privateIPAddress", type: { name: "String" } }, - evaluatedNetworkSecurityGroups: { - readOnly: true, - serializedName: "evaluatedNetworkSecurityGroups", + privateIPAllocationMethod: { + serializedName: "properties.privateIPAllocationMethod", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "EvaluatedNetworkSecurityGroup" - } - } + name: "String" } - } - } - } -}; - -export const NetworkConfigurationDiagnosticResult: msRest.CompositeMapper = { - serializedName: "NetworkConfigurationDiagnosticResult", - type: { - name: "Composite", - className: "NetworkConfigurationDiagnosticResult", - modelProperties: { - profile: { - serializedName: "profile", + }, + subnet: { + serializedName: "properties.subnet", type: { name: "Composite", - className: "NetworkConfigurationDiagnosticProfile" + className: "Subnet" } }, - networkSecurityGroupResult: { - serializedName: "networkSecurityGroupResult", + primary: { + serializedName: "properties.primary", type: { - name: "Composite", - className: "NetworkSecurityGroupResult" + name: "Boolean" } - } - } - } -}; - -export const NetworkConfigurationDiagnosticResponse: msRest.CompositeMapper = { - serializedName: "NetworkConfigurationDiagnosticResponse", - type: { - name: "Composite", - className: "NetworkConfigurationDiagnosticResponse", - modelProperties: { - results: { - readOnly: true, - serializedName: "results", + }, + provisioningState: { + serializedName: "properties.provisioningState", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "NetworkConfigurationDiagnosticResult" - } - } + name: "String" } - } - } - } -}; - -export const OperationDisplay: msRest.CompositeMapper = { - serializedName: "Operation_display", - type: { - name: "Composite", - className: "OperationDisplay", - modelProperties: { - provider: { - serializedName: "provider", + }, + privateIPAddressVersion: { + serializedName: "properties.privateIPAddressVersion", type: { name: "String" } - }, - resource: { - serializedName: "resource", + }, + name: { + serializedName: "name", type: { name: "String" } }, - operation: { - serializedName: "operation", + etag: { + readOnly: true, + serializedName: "etag", type: { name: "String" } }, - description: { - serializedName: "description", + type: { + readOnly: true, + serializedName: "type", type: { name: "String" } @@ -11025,54 +11754,49 @@ export const OperationDisplay: msRest.CompositeMapper = { } }; -export const Availability: msRest.CompositeMapper = { - serializedName: "Availability", +export const PrivateEndpointConnection: msRest.CompositeMapper = { + serializedName: "PrivateEndpointConnection", type: { name: "Composite", - className: "Availability", + className: "PrivateEndpointConnection", modelProperties: { - timeGrain: { - serializedName: "timeGrain", + ...SubResource.type.modelProperties, + privateEndpoint: { + serializedName: "properties.privateEndpoint", type: { - name: "String" + name: "Composite", + className: "PrivateEndpoint" } }, - retention: { - serializedName: "retention", + privateLinkServiceConnectionState: { + serializedName: "properties.privateLinkServiceConnectionState", type: { - name: "String" + name: "Composite", + className: "PrivateLinkServiceConnectionState" } }, - blobDuration: { - serializedName: "blobDuration", + provisioningState: { + serializedName: "properties.provisioningState", type: { name: "String" } - } - } - } -}; - -export const Dimension: msRest.CompositeMapper = { - serializedName: "Dimension", - type: { - name: "Composite", - className: "Dimension", - modelProperties: { + }, name: { serializedName: "name", type: { name: "String" } }, - displayName: { - serializedName: "displayName", + type: { + readOnly: true, + serializedName: "type", type: { name: "String" } }, - internalName: { - serializedName: "internalName", + etag: { + readOnly: true, + serializedName: "etag", type: { name: "String" } @@ -11081,132 +11805,145 @@ export const Dimension: msRest.CompositeMapper = { } }; -export const MetricSpecification: msRest.CompositeMapper = { - serializedName: "MetricSpecification", +export const ResourceSet: msRest.CompositeMapper = { + serializedName: "ResourceSet", type: { name: "Composite", - className: "MetricSpecification", + className: "ResourceSet", modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - displayName: { - serializedName: "displayName", - type: { - name: "String" - } - }, - displayDescription: { - serializedName: "displayDescription", - type: { - name: "String" - } - }, - unit: { - serializedName: "unit", - type: { - name: "String" - } - }, - aggregationType: { - serializedName: "aggregationType", + subscriptions: { + serializedName: "subscriptions", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } - }, - availabilities: { - serializedName: "availabilities", + } + } + } +}; + +export const PrivateLinkServicePropertiesVisibility: msRest.CompositeMapper = { + serializedName: "PrivateLinkServiceProperties_visibility", + type: { + name: "Composite", + className: "PrivateLinkServicePropertiesVisibility", + modelProperties: { + ...ResourceSet.type.modelProperties + } + } +}; + +export const PrivateLinkServicePropertiesAutoApproval: msRest.CompositeMapper = { + serializedName: "PrivateLinkServiceProperties_autoApproval", + type: { + name: "Composite", + className: "PrivateLinkServicePropertiesAutoApproval", + modelProperties: { + ...ResourceSet.type.modelProperties + } + } +}; + +export const PrivateLinkService: msRest.CompositeMapper = { + serializedName: "PrivateLinkService", + type: { + name: "Composite", + className: "PrivateLinkService", + modelProperties: { + ...Resource.type.modelProperties, + loadBalancerFrontendIpConfigurations: { + serializedName: "properties.loadBalancerFrontendIpConfigurations", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Availability" + className: "FrontendIPConfiguration" } } } }, - enableRegionalMdmAccount: { - serializedName: "enableRegionalMdmAccount", + ipConfigurations: { + serializedName: "properties.ipConfigurations", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateLinkServiceIpConfiguration" + } + } } }, - fillGapWithZero: { - serializedName: "fillGapWithZero", + networkInterfaces: { + readOnly: true, + serializedName: "properties.networkInterfaces", type: { - name: "Boolean" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "NetworkInterface" + } + } } }, - metricFilterPattern: { - serializedName: "metricFilterPattern", + provisioningState: { + serializedName: "properties.provisioningState", type: { name: "String" } }, - dimensions: { - serializedName: "dimensions", + privateEndpointConnections: { + serializedName: "properties.privateEndpointConnections", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Dimension" + className: "PrivateEndpointConnection" } } } }, - isInternal: { - serializedName: "isInternal", - type: { - name: "Boolean" - } - }, - sourceMdmAccount: { - serializedName: "sourceMdmAccount", + visibility: { + serializedName: "properties.visibility", type: { - name: "String" + name: "Composite", + className: "PrivateLinkServicePropertiesVisibility" } }, - sourceMdmNamespace: { - serializedName: "sourceMdmNamespace", + autoApproval: { + serializedName: "properties.autoApproval", type: { - name: "String" + name: "Composite", + className: "PrivateLinkServicePropertiesAutoApproval" } }, - resourceIdDimensionNameOverride: { - serializedName: "resourceIdDimensionNameOverride", - type: { - name: "String" - } - } - } - } -}; - -export const LogSpecification: msRest.CompositeMapper = { - serializedName: "LogSpecification", - type: { - name: "Composite", - className: "LogSpecification", - modelProperties: { - name: { - serializedName: "name", + fqdns: { + serializedName: "properties.fqdns", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - displayName: { - serializedName: "displayName", + alias: { + readOnly: true, + serializedName: "properties.alias", type: { name: "String" } }, - blobDuration: { - serializedName: "blobDuration", + etag: { + serializedName: "etag", type: { name: "String" } @@ -11215,71 +11952,49 @@ export const LogSpecification: msRest.CompositeMapper = { } }; -export const OperationPropertiesFormatServiceSpecification: msRest.CompositeMapper = { - serializedName: "OperationPropertiesFormat_serviceSpecification", +export const CheckPrivateLinkServiceVisibilityRequest: msRest.CompositeMapper = { + serializedName: "CheckPrivateLinkServiceVisibilityRequest", type: { name: "Composite", - className: "OperationPropertiesFormatServiceSpecification", + className: "CheckPrivateLinkServiceVisibilityRequest", modelProperties: { - metricSpecifications: { - serializedName: "metricSpecifications", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "MetricSpecification" - } - } - } - }, - logSpecifications: { - serializedName: "logSpecifications", + privateLinkServiceAlias: { + serializedName: "privateLinkServiceAlias", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LogSpecification" - } - } + name: "String" } } } } }; -export const Operation: msRest.CompositeMapper = { - serializedName: "Operation", +export const PrivateLinkServiceVisibility: msRest.CompositeMapper = { + serializedName: "PrivateLinkServiceVisibility", type: { name: "Composite", - className: "Operation", + className: "PrivateLinkServiceVisibility", modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - display: { - serializedName: "display", + visible: { + serializedName: "visible", type: { - name: "Composite", - className: "OperationDisplay" + name: "Boolean" } - }, - origin: { - serializedName: "origin", + } + } + } +}; + +export const AutoApprovedPrivateLinkService: msRest.CompositeMapper = { + serializedName: "AutoApprovedPrivateLinkService", + type: { + name: "Composite", + className: "AutoApprovedPrivateLinkService", + modelProperties: { + privateLinkService: { + serializedName: "privateLinkService", type: { name: "String" } - }, - serviceSpecification: { - serializedName: "properties.serviceSpecification", - type: { - name: "Composite", - className: "OperationPropertiesFormatServiceSpecification" - } } } } @@ -11373,6 +12088,14 @@ export const PublicIPPrefix: msRest.CompositeMapper = { } } }, + loadBalancerFrontendIpConfiguration: { + readOnly: true, + serializedName: "properties.loadBalancerFrontendIpConfiguration", + type: { + name: "Composite", + className: "SubResource" + } + }, resourceGuid: { serializedName: "properties.resourceGuid", type: { @@ -12371,12 +13094,6 @@ export const PrepareNetworkPoliciesRequest: msRest.CompositeMapper = { name: "String" } }, - resourceGroupName: { - serializedName: "resourceGroupName", - type: { - name: "String" - } - }, networkIntentPolicyConfigurations: { serializedName: "networkIntentPolicyConfigurations", type: { @@ -12393,6 +13110,22 @@ export const PrepareNetworkPoliciesRequest: msRest.CompositeMapper = { } }; +export const UnprepareNetworkPoliciesRequest: msRest.CompositeMapper = { + serializedName: "UnprepareNetworkPoliciesRequest", + type: { + name: "Composite", + className: "UnprepareNetworkPoliciesRequest", + modelProperties: { + serviceName: { + serializedName: "serviceName", + type: { + name: "String" + } + } + } + } +}; + export const VirtualNetworkGatewayIPConfiguration: msRest.CompositeMapper = { serializedName: "VirtualNetworkGatewayIPConfiguration", type: { @@ -14115,6 +14848,107 @@ export const DeviceProperties: msRest.CompositeMapper = { } }; +export const VpnLinkProviderProperties: msRest.CompositeMapper = { + serializedName: "VpnLinkProviderProperties", + type: { + name: "Composite", + className: "VpnLinkProviderProperties", + modelProperties: { + linkProviderName: { + serializedName: "linkProviderName", + type: { + name: "String" + } + }, + linkSpeedInMbps: { + serializedName: "linkSpeedInMbps", + type: { + name: "Number" + } + } + } + } +}; + +export const VpnLinkBgpSettings: msRest.CompositeMapper = { + serializedName: "VpnLinkBgpSettings", + type: { + name: "Composite", + className: "VpnLinkBgpSettings", + modelProperties: { + asn: { + serializedName: "asn", + type: { + name: "Number" + } + }, + bgpPeeringAddress: { + serializedName: "bgpPeeringAddress", + type: { + name: "String" + } + } + } + } +}; + +export const VpnSiteLink: msRest.CompositeMapper = { + serializedName: "VpnSiteLink", + type: { + name: "Composite", + className: "VpnSiteLink", + modelProperties: { + ...SubResource.type.modelProperties, + linkProperties: { + serializedName: "properties.linkProperties", + type: { + name: "Composite", + className: "VpnLinkProviderProperties" + } + }, + ipAddress: { + serializedName: "properties.ipAddress", + type: { + name: "String" + } + }, + bgpProperties: { + serializedName: "properties.bgpProperties", + type: { + name: "Composite", + className: "VpnLinkBgpSettings" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + etag: { + readOnly: true, + serializedName: "etag", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + export const VpnSite: msRest.CompositeMapper = { serializedName: "VpnSite", type: { @@ -14174,6 +15008,18 @@ export const VpnSite: msRest.CompositeMapper = { name: "Boolean" } }, + vpnSiteLinks: { + serializedName: "properties.vpnSiteLinks", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VpnSiteLink" + } + } + } + }, etag: { readOnly: true, serializedName: "etag", @@ -14341,40 +15187,151 @@ export const VirtualHub: msRest.CompositeMapper = { p2SVpnGateway: { serializedName: "properties.p2SVpnGateway", type: { - name: "Composite", - className: "SubResource" + name: "Composite", + className: "SubResource" + } + }, + expressRouteGateway: { + serializedName: "properties.expressRouteGateway", + type: { + name: "Composite", + className: "SubResource" + } + }, + virtualNetworkConnections: { + serializedName: "properties.virtualNetworkConnections", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "HubVirtualNetworkConnection" + } + } + } + }, + addressPrefix: { + serializedName: "properties.addressPrefix", + type: { + name: "String" + } + }, + routeTable: { + serializedName: "properties.routeTable", + type: { + name: "Composite", + className: "VirtualHubRouteTable" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + etag: { + readOnly: true, + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const VpnSiteLinkConnection: msRest.CompositeMapper = { + serializedName: "VpnSiteLinkConnection", + type: { + name: "Composite", + className: "VpnSiteLinkConnection", + modelProperties: { + ...SubResource.type.modelProperties, + vpnSiteLink: { + serializedName: "properties.vpnSiteLink", + type: { + name: "Composite", + className: "SubResource" + } + }, + routingWeight: { + serializedName: "properties.routingWeight", + type: { + name: "Number" + } + }, + connectionStatus: { + serializedName: "properties.connectionStatus", + type: { + name: "String" + } + }, + vpnConnectionProtocolType: { + serializedName: "properties.vpnConnectionProtocolType", + type: { + name: "String" + } + }, + ingressBytesTransferred: { + readOnly: true, + serializedName: "properties.ingressBytesTransferred", + type: { + name: "Number" + } + }, + egressBytesTransferred: { + readOnly: true, + serializedName: "properties.egressBytesTransferred", + type: { + name: "Number" + } + }, + connectionBandwidth: { + serializedName: "properties.connectionBandwidth", + type: { + name: "Number" + } + }, + sharedKey: { + serializedName: "properties.sharedKey", + type: { + name: "String" + } + }, + enableBgp: { + serializedName: "properties.enableBgp", + type: { + name: "Boolean" } }, - expressRouteGateway: { - serializedName: "properties.expressRouteGateway", + usePolicyBasedTrafficSelectors: { + serializedName: "properties.usePolicyBasedTrafficSelectors", type: { - name: "Composite", - className: "SubResource" + name: "Boolean" } }, - virtualNetworkConnections: { - serializedName: "properties.virtualNetworkConnections", + ipsecPolicies: { + serializedName: "properties.ipsecPolicies", type: { name: "Sequence", element: { type: { name: "Composite", - className: "HubVirtualNetworkConnection" + className: "IpsecPolicy" } } } }, - addressPrefix: { - serializedName: "properties.addressPrefix", + enableRateLimiting: { + serializedName: "properties.enableRateLimiting", type: { - name: "String" + name: "Boolean" } }, - routeTable: { - serializedName: "properties.routeTable", + useLocalAzureIpAddress: { + serializedName: "properties.useLocalAzureIpAddress", type: { - name: "Composite", - className: "VirtualHubRouteTable" + name: "Boolean" } }, provisioningState: { @@ -14383,12 +15340,25 @@ export const VirtualHub: msRest.CompositeMapper = { name: "String" } }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, etag: { readOnly: true, serializedName: "etag", type: { name: "String" } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } } } } @@ -14500,6 +15470,18 @@ export const VpnConnection: msRest.CompositeMapper = { name: "String" } }, + vpnLinkConnections: { + serializedName: "properties.vpnLinkConnections", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VpnSiteLinkConnection" + } + } + } + }, name: { serializedName: "name", type: { @@ -15120,35 +16102,6 @@ export const AvailableDelegationsResult: msRest.CompositeMapper = { } }; -export const AvailablePrivateEndpointTypesResult: msRest.CompositeMapper = { - serializedName: "AvailablePrivateEndpointTypesResult", - type: { - name: "Composite", - className: "AvailablePrivateEndpointTypesResult", - modelProperties: { - value: { - serializedName: "", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "AvailablePrivateEndpointType" - } - } - } - }, - nextLink: { - readOnly: true, - serializedName: "nextLink", - type: { - name: "String" - } - } - } - } -}; - export const AzureFirewallListResult: msRest.CompositeMapper = { serializedName: "AzureFirewallListResult", type: { @@ -15600,11 +16553,11 @@ export const ExpressRouteLinkListResult: msRest.CompositeMapper = { } }; -export const PrivateEndpointListResult: msRest.CompositeMapper = { - serializedName: "PrivateEndpointListResult", +export const FirewallPolicyListResult: msRest.CompositeMapper = { + serializedName: "FirewallPolicyListResult", type: { name: "Composite", - className: "PrivateEndpointListResult", + className: "FirewallPolicyListResult", modelProperties: { value: { serializedName: "", @@ -15613,13 +16566,12 @@ export const PrivateEndpointListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "PrivateEndpoint" + className: "FirewallPolicy" } } } }, nextLink: { - readOnly: true, serializedName: "nextLink", type: { name: "String" @@ -15629,11 +16581,11 @@ export const PrivateEndpointListResult: msRest.CompositeMapper = { } }; -export const PrivateLinkServiceListResult: msRest.CompositeMapper = { - serializedName: "PrivateLinkServiceListResult", +export const FirewallPolicyRuleGroupListResult: msRest.CompositeMapper = { + serializedName: "FirewallPolicyRuleGroupListResult", type: { name: "Composite", - className: "PrivateLinkServiceListResult", + className: "FirewallPolicyRuleGroupListResult", modelProperties: { value: { serializedName: "", @@ -15642,13 +16594,12 @@ export const PrivateLinkServiceListResult: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "PrivateLinkService" + className: "FirewallPolicyRuleGroup" } } } }, nextLink: { - readOnly: true, serializedName: "nextLink", type: { name: "String" @@ -16183,6 +17134,122 @@ export const OperationListResult: msRest.CompositeMapper = { } }; +export const PrivateEndpointListResult: msRest.CompositeMapper = { + serializedName: "PrivateEndpointListResult", + type: { + name: "Composite", + className: "PrivateEndpointListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateEndpoint" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const AvailablePrivateEndpointTypesResult: msRest.CompositeMapper = { + serializedName: "AvailablePrivateEndpointTypesResult", + type: { + name: "Composite", + className: "AvailablePrivateEndpointTypesResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AvailablePrivateEndpointType" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const PrivateLinkServiceListResult: msRest.CompositeMapper = { + serializedName: "PrivateLinkServiceListResult", + type: { + name: "Composite", + className: "PrivateLinkServiceListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "PrivateLinkService" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + +export const AutoApprovedPrivateLinkServicesResult: msRest.CompositeMapper = { + serializedName: "AutoApprovedPrivateLinkServicesResult", + type: { + name: "Composite", + className: "AutoApprovedPrivateLinkServicesResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "AutoApprovedPrivateLinkService" + } + } + } + }, + nextLink: { + readOnly: true, + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const PublicIPAddressListResult: msRest.CompositeMapper = { serializedName: "PublicIPAddressListResult", type: { @@ -16777,6 +17844,34 @@ export const ListVpnSitesResult: msRest.CompositeMapper = { } }; +export const ListVpnSiteLinksResult: msRest.CompositeMapper = { + serializedName: "ListVpnSiteLinksResult", + type: { + name: "Composite", + className: "ListVpnSiteLinksResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VpnSiteLink" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const ListVirtualHubsResult: msRest.CompositeMapper = { serializedName: "ListVirtualHubsResult", type: { @@ -16889,6 +17984,34 @@ export const ListVpnConnectionsResult: msRest.CompositeMapper = { } }; +export const ListVpnSiteLinkConnectionsResult: msRest.CompositeMapper = { + serializedName: "ListVpnSiteLinkConnectionsResult", + type: { + name: "Composite", + className: "ListVpnSiteLinkConnectionsResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VpnSiteLinkConnection" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const ListP2SVpnServerConfigurationsResult: msRest.CompositeMapper = { serializedName: "ListP2SVpnServerConfigurationsResult", type: { @@ -16974,3 +18097,13 @@ export const WebApplicationFirewallPolicyListResult: msRest.CompositeMapper = { } } }; + +export const discriminators = { + 'FirewallPolicyRule' : FirewallPolicyRule, + 'FirewallPolicyRuleCondition' : FirewallPolicyRuleCondition, + 'FirewallPolicyRule.FirewallPolicyNatRule' : FirewallPolicyNatRule, + 'FirewallPolicyRule.FirewallPolicyFilterRule' : FirewallPolicyFilterRule, + 'FirewallPolicyRuleCondition.ApplicationRuleCondition' : ApplicationRuleCondition, + 'FirewallPolicyRuleCondition.NetworkRuleCondition' : NetworkRuleCondition + +}; diff --git a/sdk/network/arm-network/src/models/natGatewaysMappers.ts b/sdk/network/arm-network/src/models/natGatewaysMappers.ts index 4d1130f43b60..27f6efb69328 100644 --- a/sdk/network/arm-network/src/models/natGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/natGatewaysMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -193,7 +207,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts index 64d0b043aa11..d2a0dc4940aa 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfigurationListResult, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts index a0c5706d0dec..7a7ebae6ac8e 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceLoadBalancerListResult, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts index 130f6f760cbd..3783621aadc8 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceTapConfiguration, NetworkInterfaceTapConfigurationListResult, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/networkInterfacesMappers.ts b/sdk/network/arm-network/src/models/networkInterfacesMappers.ts index affd0e8e6816..2b0fb35b61d0 100644 --- a/sdk/network/arm-network/src/models/networkInterfacesMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfacesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -108,7 +111,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -135,6 +148,7 @@ export { NetworkInterfaceListResult, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -200,7 +214,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/networkProfilesMappers.ts b/sdk/network/arm-network/src/models/networkProfilesMappers.ts index 8f6b1446c2c5..76ad20a40eeb 100644 --- a/sdk/network/arm-network/src/models/networkProfilesMappers.ts +++ b/sdk/network/arm-network/src/models/networkProfilesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceTapConfiguration, NetworkProfile, NetworkProfileListResult, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -193,7 +207,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts b/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts index 0b512744e1e7..82585626226b 100644 --- a/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -127,6 +140,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkSecurityGroupListResult, NetworkWatcher, @@ -193,7 +207,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/networkWatchersMappers.ts b/sdk/network/arm-network/src/models/networkWatchersMappers.ts index 21d8a6e5ab49..8003ef81d1fe 100644 --- a/sdk/network/arm-network/src/models/networkWatchersMappers.ts +++ b/sdk/network/arm-network/src/models/networkWatchersMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AvailableProvidersList, AvailableProvidersListCity, @@ -60,6 +62,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, AzureReachabilityReport, AzureReachabilityReportItem, @@ -121,12 +124,22 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FlowLogFormatParameters, FlowLogInformation, FlowLogStatusParameters, FrontendIPConfiguration, HTTPConfiguration, HTTPHeader, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -157,6 +170,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkSecurityGroupResult, NetworkSecurityRulesEvaluationResult, @@ -247,7 +261,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/operationsMappers.ts b/sdk/network/arm-network/src/models/operationsMappers.ts index bf072e23821a..ade8e005e35a 100644 --- a/sdk/network/arm-network/src/models/operationsMappers.ts +++ b/sdk/network/arm-network/src/models/operationsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, Availability, CloudError, Dimension, diff --git a/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts b/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts index 71469a95b921..c0fd04f0a531 100644 --- a/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -104,7 +107,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -130,6 +143,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -196,8 +210,12 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnProfileResponse, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/p2sVpnServerConfigurationsMappers.ts b/sdk/network/arm-network/src/models/p2sVpnServerConfigurationsMappers.ts index 14e49772ff49..60fbfad0c334 100644 --- a/sdk/network/arm-network/src/models/p2sVpnServerConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/p2sVpnServerConfigurationsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -129,6 +142,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -193,7 +207,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/packetCapturesMappers.ts b/sdk/network/arm-network/src/models/packetCapturesMappers.ts index 7bd6f4a8e8df..3eb89cf39079 100644 --- a/sdk/network/arm-network/src/models/packetCapturesMappers.ts +++ b/sdk/network/arm-network/src/models/packetCapturesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, ErrorDetails, ErrorResponse, PacketCapture, diff --git a/sdk/network/arm-network/src/models/parameters.ts b/sdk/network/arm-network/src/models/parameters.ts index b9014a4d8cc8..ec8b02160b35 100644 --- a/sdk/network/arm-network/src/models/parameters.ts +++ b/sdk/network/arm-network/src/models/parameters.ts @@ -26,7 +26,7 @@ export const apiVersion0: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2019-04-01', + defaultValue: '2019-06-01', type: { name: "String" } @@ -226,6 +226,16 @@ export const expressRoutePortName: msRest.OperationURLParameter = { } } }; +export const firewallPolicyName: msRest.OperationURLParameter = { + parameterPath: "firewallPolicyName", + mapper: { + required: true, + serializedName: "firewallPolicyName", + type: { + name: "String" + } + } +}; export const frontendIPConfigurationName: msRest.OperationURLParameter = { parameterPath: "frontendIPConfigurationName", mapper: { @@ -288,6 +298,16 @@ export const ipConfigurationName: msRest.OperationURLParameter = { } } }; +export const linkConnectionName: msRest.OperationURLParameter = { + parameterPath: "linkConnectionName", + mapper: { + required: true, + serializedName: "linkConnectionName", + type: { + name: "String" + } + } +}; export const linkName: msRest.OperationURLParameter = { parameterPath: "linkName", mapper: { @@ -600,6 +620,16 @@ export const routeTableName: msRest.OperationURLParameter = { } } }; +export const ruleGroupName: msRest.OperationURLParameter = { + parameterPath: "ruleGroupName", + mapper: { + required: true, + serializedName: "ruleGroupName", + type: { + name: "String" + } + } +}; export const ruleName: msRest.OperationURLParameter = { parameterPath: "ruleName", mapper: { @@ -700,16 +730,6 @@ export const virtualHubName: msRest.OperationURLParameter = { } } }; -export const virtualmachineIndex: msRest.OperationURLParameter = { - parameterPath: "virtualmachineIndex", - mapper: { - required: true, - serializedName: "virtualmachineIndex", - type: { - name: "String" - } - } -}; export const virtualMachineScaleSetName: msRest.OperationURLParameter = { parameterPath: "virtualMachineScaleSetName", mapper: { @@ -760,6 +780,26 @@ export const virtualNetworkPeeringName: msRest.OperationURLParameter = { } } }; +export const virtualWANName0: msRest.OperationURLParameter = { + parameterPath: "virtualWANName", + mapper: { + required: true, + serializedName: "virtualWANName", + type: { + name: "String" + } + } +}; +export const virtualWANName1: msRest.OperationURLParameter = { + parameterPath: "virtualWANName", + mapper: { + required: true, + serializedName: "VirtualWANName", + type: { + name: "String" + } + } +}; export const virtualWanName: msRest.OperationURLParameter = { parameterPath: "virtualWanName", mapper: { @@ -770,21 +810,21 @@ export const virtualWanName: msRest.OperationURLParameter = { } } }; -export const virtualWANName0: msRest.OperationURLParameter = { - parameterPath: "virtualWANName", +export const virtualmachineIndex: msRest.OperationURLParameter = { + parameterPath: "virtualmachineIndex", mapper: { required: true, - serializedName: "virtualWANName", + serializedName: "virtualmachineIndex", type: { name: "String" } } }; -export const virtualWANName1: msRest.OperationURLParameter = { - parameterPath: "virtualWANName", +export const vpnSiteLinkName: msRest.OperationURLParameter = { + parameterPath: "vpnSiteLinkName", mapper: { required: true, - serializedName: "VirtualWANName", + serializedName: "vpnSiteLinkName", type: { name: "String" } diff --git a/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts b/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts index dc7ae81c56b3..2e33af62ffec 100644 --- a/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -127,6 +140,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/privateEndpointsMappers.ts b/sdk/network/arm-network/src/models/privateEndpointsMappers.ts index 45924b3d9a41..a71f62f1f497 100644 --- a/sdk/network/arm-network/src/models/privateEndpointsMappers.ts +++ b/sdk/network/arm-network/src/models/privateEndpointsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -193,7 +207,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts b/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts index a5d9ecfdc753..f608dab7d1a6 100644 --- a/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts +++ b/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,7 +44,10 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, + AutoApprovedPrivateLinkService, + AutoApprovedPrivateLinkServicesResult, AzureFirewall, AzureFirewallApplicationRule, AzureFirewallApplicationRuleCollection, @@ -55,6 +59,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -63,6 +68,8 @@ export { BGPCommunity, BgpServiceCommunity, BgpSettings, + CheckPrivateLinkServiceVisibilityRequest, + CloudError, ConnectionMonitorDestination, ConnectionMonitorResult, ConnectionMonitorSource, @@ -103,7 +110,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +145,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -150,6 +168,7 @@ export { PrivateLinkServiceListResult, PrivateLinkServicePropertiesAutoApproval, PrivateLinkServicePropertiesVisibility, + PrivateLinkServiceVisibility, Probe, ProtocolCustomSettingsFormat, PublicIPAddress, @@ -193,7 +212,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts b/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts index 4bccc16cf625..7e37ed04f9ed 100644 --- a/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts +++ b/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -127,6 +140,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -193,7 +207,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts b/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts index 5ad5cc5bf34f..7c1342e16d87 100644 --- a/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts +++ b/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -127,6 +140,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -193,7 +207,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts b/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts index a0d49f119fca..10369fd4c802 100644 --- a/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts +++ b/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -127,6 +140,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts b/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts index 3a9b5b7e5a08..902b94852143 100644 --- a/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts +++ b/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -127,6 +140,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/routeFiltersMappers.ts b/sdk/network/arm-network/src/models/routeFiltersMappers.ts index 8558f9074bbc..87375b89b4a7 100644 --- a/sdk/network/arm-network/src/models/routeFiltersMappers.ts +++ b/sdk/network/arm-network/src/models/routeFiltersMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -127,6 +140,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/routeTablesMappers.ts b/sdk/network/arm-network/src/models/routeTablesMappers.ts index 7fa77cb56fd0..cf99d28e4fe1 100644 --- a/sdk/network/arm-network/src/models/routeTablesMappers.ts +++ b/sdk/network/arm-network/src/models/routeTablesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -127,6 +140,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -193,7 +207,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/routesMappers.ts b/sdk/network/arm-network/src/models/routesMappers.ts index d926ff3f4e41..56168e6681a0 100644 --- a/sdk/network/arm-network/src/models/routesMappers.ts +++ b/sdk/network/arm-network/src/models/routesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -127,6 +140,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/securityRulesMappers.ts b/sdk/network/arm-network/src/models/securityRulesMappers.ts index d2f6fb9e6177..2a00b16d5d5a 100644 --- a/sdk/network/arm-network/src/models/securityRulesMappers.ts +++ b/sdk/network/arm-network/src/models/securityRulesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -127,6 +140,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts b/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts index dae0a38fdcf0..cc0d6dc1069b 100644 --- a/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts +++ b/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -127,6 +140,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts b/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts index 2ee3eed0a3ba..9509a3872e86 100644 --- a/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -127,6 +140,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -193,7 +207,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts b/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts index 847734531eb8..c569f756b71e 100644 --- a/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts +++ b/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -127,6 +140,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/serviceTagsMappers.ts b/sdk/network/arm-network/src/models/serviceTagsMappers.ts index 729bfcbe5ad7..2129ca66cdf3 100644 --- a/sdk/network/arm-network/src/models/serviceTagsMappers.ts +++ b/sdk/network/arm-network/src/models/serviceTagsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, CloudError, ServiceTagInformation, ServiceTagInformationPropertiesFormat, diff --git a/sdk/network/arm-network/src/models/subnetsMappers.ts b/sdk/network/arm-network/src/models/subnetsMappers.ts index 5caff67cf578..56323762e93a 100644 --- a/sdk/network/arm-network/src/models/subnetsMappers.ts +++ b/sdk/network/arm-network/src/models/subnetsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -174,6 +188,7 @@ export { SubnetListResult, SubResource, TunnelConnectionHealth, + UnprepareNetworkPoliciesRequest, VirtualHub, VirtualHubId, VirtualHubRoute, @@ -194,7 +209,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/usagesMappers.ts b/sdk/network/arm-network/src/models/usagesMappers.ts index 9618f0fdc195..9aaa27b35552 100644 --- a/sdk/network/arm-network/src/models/usagesMappers.ts +++ b/sdk/network/arm-network/src/models/usagesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, CloudError, Usage, UsageName, diff --git a/sdk/network/arm-network/src/models/virtualHubsMappers.ts b/sdk/network/arm-network/src/models/virtualHubsMappers.ts index a008386140a3..9b4b290b92a7 100644 --- a/sdk/network/arm-network/src/models/virtualHubsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -129,6 +142,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -194,7 +208,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts index c08f81d27e3c..5606e576c927 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -194,7 +208,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts index c6b9930bcc12..4892623facfb 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -104,9 +107,19 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, GatewayRoute, GatewayRouteListResult, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -131,6 +144,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -203,7 +217,11 @@ export { VpnConnection, VpnDeviceScriptParameters, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts index ce34911ffad9..b3058c25ec5a 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -127,6 +140,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -192,7 +206,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts index f23f3591e4c6..a120adcfdf91 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -127,6 +140,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -193,7 +207,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/virtualNetworksMappers.ts b/sdk/network/arm-network/src/models/virtualNetworksMappers.ts index 3afe2d4ae35d..ffad0c3045d5 100644 --- a/sdk/network/arm-network/src/models/virtualNetworksMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworksMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -128,6 +141,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -197,7 +211,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/virtualWansMappers.ts b/sdk/network/arm-network/src/models/virtualWansMappers.ts index 1f00a560f69b..7d887f74e27f 100644 --- a/sdk/network/arm-network/src/models/virtualWansMappers.ts +++ b/sdk/network/arm-network/src/models/virtualWansMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -129,6 +142,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -194,7 +208,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts index 0dcf0fb7b2c0..8c3a7ce48db8 100644 --- a/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -129,6 +142,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -193,7 +207,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts b/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts index 15aa47bd7c5d..1e5acc54c6bd 100644 --- a/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -104,7 +107,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -130,6 +143,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -195,7 +209,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts new file mode 100644 index 000000000000..d6f2bf084373 --- /dev/null +++ b/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts @@ -0,0 +1,217 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + AddressSpace, + ApplicationGateway, + ApplicationGatewayAuthenticationCertificate, + ApplicationGatewayAutoscaleConfiguration, + ApplicationGatewayAvailableSslOptions, + ApplicationGatewayBackendAddress, + ApplicationGatewayBackendAddressPool, + ApplicationGatewayBackendHttpSettings, + ApplicationGatewayConnectionDraining, + ApplicationGatewayCustomError, + ApplicationGatewayFirewallDisabledRuleGroup, + ApplicationGatewayFirewallExclusion, + ApplicationGatewayFirewallRule, + ApplicationGatewayFirewallRuleGroup, + ApplicationGatewayFirewallRuleSet, + ApplicationGatewayFrontendIPConfiguration, + ApplicationGatewayFrontendPort, + ApplicationGatewayHeaderConfiguration, + ApplicationGatewayHttpListener, + ApplicationGatewayIPConfiguration, + ApplicationGatewayPathRule, + ApplicationGatewayProbe, + ApplicationGatewayProbeHealthResponseMatch, + ApplicationGatewayRedirectConfiguration, + ApplicationGatewayRequestRoutingRule, + ApplicationGatewayRewriteRule, + ApplicationGatewayRewriteRuleActionSet, + ApplicationGatewayRewriteRuleCondition, + ApplicationGatewayRewriteRuleSet, + ApplicationGatewaySku, + ApplicationGatewaySslCertificate, + ApplicationGatewaySslPolicy, + ApplicationGatewaySslPredefinedPolicy, + ApplicationGatewayTrustedRootCertificate, + ApplicationGatewayUrlPathMap, + ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, + ApplicationSecurityGroup, + AzureFirewall, + AzureFirewallApplicationRule, + AzureFirewallApplicationRuleCollection, + AzureFirewallApplicationRuleProtocol, + AzureFirewallFqdnTag, + AzureFirewallIPConfiguration, + AzureFirewallNatRCAction, + AzureFirewallNatRule, + AzureFirewallNatRuleCollection, + AzureFirewallNetworkRule, + AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, + AzureFirewallRCAction, + BackendAddressPool, + BaseResource, + BastionHost, + BastionHostIPConfiguration, + BGPCommunity, + BgpServiceCommunity, + BgpSettings, + ConnectionMonitorDestination, + ConnectionMonitorResult, + ConnectionMonitorSource, + ConnectionSharedKey, + Container, + ContainerNetworkInterface, + ContainerNetworkInterfaceConfiguration, + ContainerNetworkInterfaceIpConfiguration, + DdosCustomPolicy, + DdosProtectionPlan, + DdosSettings, + Delegation, + DeviceProperties, + DhcpOptions, + EndpointServiceResult, + ErrorDetails, + ErrorModel, + ExpressRouteCircuit, + ExpressRouteCircuitAuthorization, + ExpressRouteCircuitConnection, + ExpressRouteCircuitPeering, + ExpressRouteCircuitPeeringConfig, + ExpressRouteCircuitPeeringId, + ExpressRouteCircuitReference, + ExpressRouteCircuitServiceProviderProperties, + ExpressRouteCircuitSku, + ExpressRouteCircuitStats, + ExpressRouteConnection, + ExpressRouteConnectionId, + ExpressRouteCrossConnection, + ExpressRouteCrossConnectionPeering, + ExpressRouteGateway, + ExpressRouteGatewayPropertiesAutoScaleConfiguration, + ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds, + ExpressRouteLink, + ExpressRoutePort, + ExpressRoutePortsLocation, + ExpressRoutePortsLocationBandwidths, + ExpressRouteServiceProvider, + ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, + FrontendIPConfiguration, + HubIPAddresses, + HubVirtualNetworkConnection, + InboundNatPool, + InboundNatRule, + IPConfiguration, + IPConfigurationProfile, + IpsecPolicy, + IpTag, + Ipv6ExpressRouteCircuitPeeringConfig, + ListVpnSiteLinkConnectionsResult, + LoadBalancer, + LoadBalancerSku, + LoadBalancingRule, + LocalNetworkGateway, + ManagedServiceIdentity, + ManagedServiceIdentityUserAssignedIdentitiesValue, + MatchCondition, + MatchVariable, + NatGateway, + NatGatewaySku, + NetworkIntentPolicy, + NetworkInterface, + NetworkInterfaceDnsSettings, + NetworkInterfaceIPConfiguration, + NetworkInterfaceTapConfiguration, + NetworkProfile, + NetworkRuleCondition, + NetworkSecurityGroup, + NetworkWatcher, + OutboundRule, + P2SVpnGateway, + P2SVpnServerConfigRadiusClientRootCertificate, + P2SVpnServerConfigRadiusServerRootCertificate, + P2SVpnServerConfiguration, + P2SVpnServerConfigVpnClientRevokedCertificate, + P2SVpnServerConfigVpnClientRootCertificate, + PatchRouteFilter, + PatchRouteFilterRule, + PeerExpressRouteCircuitConnection, + PolicySettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkService, + PrivateLinkServiceConnection, + PrivateLinkServiceConnectionState, + PrivateLinkServiceIpConfiguration, + PrivateLinkServicePropertiesAutoApproval, + PrivateLinkServicePropertiesVisibility, + Probe, + ProtocolCustomSettingsFormat, + PublicIPAddress, + PublicIPAddressDnsSettings, + PublicIPAddressSku, + PublicIPPrefix, + PublicIPPrefixSku, + ReferencedPublicIpAddress, + Resource, + ResourceNavigationLink, + ResourceSet, + Route, + RouteFilter, + RouteFilterRule, + RouteTable, + SecurityRule, + ServiceAssociationLink, + ServiceEndpointPolicy, + ServiceEndpointPolicyDefinition, + ServiceEndpointPropertiesFormat, + Subnet, + SubResource, + TunnelConnectionHealth, + VirtualHub, + VirtualHubId, + VirtualHubRoute, + VirtualHubRouteTable, + VirtualNetwork, + VirtualNetworkConnectionGatewayReference, + VirtualNetworkGateway, + VirtualNetworkGatewayConnection, + VirtualNetworkGatewayConnectionListEntity, + VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewaySku, + VirtualNetworkPeering, + VirtualNetworkTap, + VirtualWAN, + VpnClientConfiguration, + VpnClientConnectionHealth, + VpnClientRevokedCertificate, + VpnClientRootCertificate, + VpnConnection, + VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, + VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, + WebApplicationFirewallCustomRule, + WebApplicationFirewallPolicy +} from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts new file mode 100644 index 000000000000..50fa6d3d812e --- /dev/null +++ b/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts @@ -0,0 +1,216 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + AddressSpace, + ApplicationGateway, + ApplicationGatewayAuthenticationCertificate, + ApplicationGatewayAutoscaleConfiguration, + ApplicationGatewayAvailableSslOptions, + ApplicationGatewayBackendAddress, + ApplicationGatewayBackendAddressPool, + ApplicationGatewayBackendHttpSettings, + ApplicationGatewayConnectionDraining, + ApplicationGatewayCustomError, + ApplicationGatewayFirewallDisabledRuleGroup, + ApplicationGatewayFirewallExclusion, + ApplicationGatewayFirewallRule, + ApplicationGatewayFirewallRuleGroup, + ApplicationGatewayFirewallRuleSet, + ApplicationGatewayFrontendIPConfiguration, + ApplicationGatewayFrontendPort, + ApplicationGatewayHeaderConfiguration, + ApplicationGatewayHttpListener, + ApplicationGatewayIPConfiguration, + ApplicationGatewayPathRule, + ApplicationGatewayProbe, + ApplicationGatewayProbeHealthResponseMatch, + ApplicationGatewayRedirectConfiguration, + ApplicationGatewayRequestRoutingRule, + ApplicationGatewayRewriteRule, + ApplicationGatewayRewriteRuleActionSet, + ApplicationGatewayRewriteRuleCondition, + ApplicationGatewayRewriteRuleSet, + ApplicationGatewaySku, + ApplicationGatewaySslCertificate, + ApplicationGatewaySslPolicy, + ApplicationGatewaySslPredefinedPolicy, + ApplicationGatewayTrustedRootCertificate, + ApplicationGatewayUrlPathMap, + ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, + ApplicationSecurityGroup, + AzureFirewall, + AzureFirewallApplicationRule, + AzureFirewallApplicationRuleCollection, + AzureFirewallApplicationRuleProtocol, + AzureFirewallFqdnTag, + AzureFirewallIPConfiguration, + AzureFirewallNatRCAction, + AzureFirewallNatRule, + AzureFirewallNatRuleCollection, + AzureFirewallNetworkRule, + AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, + AzureFirewallRCAction, + BackendAddressPool, + BaseResource, + BastionHost, + BastionHostIPConfiguration, + BGPCommunity, + BgpServiceCommunity, + BgpSettings, + ConnectionMonitorDestination, + ConnectionMonitorResult, + ConnectionMonitorSource, + ConnectionSharedKey, + Container, + ContainerNetworkInterface, + ContainerNetworkInterfaceConfiguration, + ContainerNetworkInterfaceIpConfiguration, + DdosCustomPolicy, + DdosProtectionPlan, + DdosSettings, + Delegation, + DeviceProperties, + DhcpOptions, + EndpointServiceResult, + ErrorDetails, + ErrorModel, + ExpressRouteCircuit, + ExpressRouteCircuitAuthorization, + ExpressRouteCircuitConnection, + ExpressRouteCircuitPeering, + ExpressRouteCircuitPeeringConfig, + ExpressRouteCircuitPeeringId, + ExpressRouteCircuitReference, + ExpressRouteCircuitServiceProviderProperties, + ExpressRouteCircuitSku, + ExpressRouteCircuitStats, + ExpressRouteConnection, + ExpressRouteConnectionId, + ExpressRouteCrossConnection, + ExpressRouteCrossConnectionPeering, + ExpressRouteGateway, + ExpressRouteGatewayPropertiesAutoScaleConfiguration, + ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds, + ExpressRouteLink, + ExpressRoutePort, + ExpressRoutePortsLocation, + ExpressRoutePortsLocationBandwidths, + ExpressRouteServiceProvider, + ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, + FrontendIPConfiguration, + HubIPAddresses, + HubVirtualNetworkConnection, + InboundNatPool, + InboundNatRule, + IPConfiguration, + IPConfigurationProfile, + IpsecPolicy, + IpTag, + Ipv6ExpressRouteCircuitPeeringConfig, + LoadBalancer, + LoadBalancerSku, + LoadBalancingRule, + LocalNetworkGateway, + ManagedServiceIdentity, + ManagedServiceIdentityUserAssignedIdentitiesValue, + MatchCondition, + MatchVariable, + NatGateway, + NatGatewaySku, + NetworkIntentPolicy, + NetworkInterface, + NetworkInterfaceDnsSettings, + NetworkInterfaceIPConfiguration, + NetworkInterfaceTapConfiguration, + NetworkProfile, + NetworkRuleCondition, + NetworkSecurityGroup, + NetworkWatcher, + OutboundRule, + P2SVpnGateway, + P2SVpnServerConfigRadiusClientRootCertificate, + P2SVpnServerConfigRadiusServerRootCertificate, + P2SVpnServerConfiguration, + P2SVpnServerConfigVpnClientRevokedCertificate, + P2SVpnServerConfigVpnClientRootCertificate, + PatchRouteFilter, + PatchRouteFilterRule, + PeerExpressRouteCircuitConnection, + PolicySettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkService, + PrivateLinkServiceConnection, + PrivateLinkServiceConnectionState, + PrivateLinkServiceIpConfiguration, + PrivateLinkServicePropertiesAutoApproval, + PrivateLinkServicePropertiesVisibility, + Probe, + ProtocolCustomSettingsFormat, + PublicIPAddress, + PublicIPAddressDnsSettings, + PublicIPAddressSku, + PublicIPPrefix, + PublicIPPrefixSku, + ReferencedPublicIpAddress, + Resource, + ResourceNavigationLink, + ResourceSet, + Route, + RouteFilter, + RouteFilterRule, + RouteTable, + SecurityRule, + ServiceAssociationLink, + ServiceEndpointPolicy, + ServiceEndpointPolicyDefinition, + ServiceEndpointPropertiesFormat, + Subnet, + SubResource, + TunnelConnectionHealth, + VirtualHub, + VirtualHubId, + VirtualHubRoute, + VirtualHubRouteTable, + VirtualNetwork, + VirtualNetworkConnectionGatewayReference, + VirtualNetworkGateway, + VirtualNetworkGatewayConnection, + VirtualNetworkGatewayConnectionListEntity, + VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewaySku, + VirtualNetworkPeering, + VirtualNetworkTap, + VirtualWAN, + VpnClientConfiguration, + VpnClientConnectionHealth, + VpnClientRevokedCertificate, + VpnClientRootCertificate, + VpnConnection, + VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, + VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, + WebApplicationFirewallCustomRule, + WebApplicationFirewallPolicy +} from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts b/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts new file mode 100644 index 000000000000..cc7980596f69 --- /dev/null +++ b/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts @@ -0,0 +1,217 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + AddressSpace, + ApplicationGateway, + ApplicationGatewayAuthenticationCertificate, + ApplicationGatewayAutoscaleConfiguration, + ApplicationGatewayAvailableSslOptions, + ApplicationGatewayBackendAddress, + ApplicationGatewayBackendAddressPool, + ApplicationGatewayBackendHttpSettings, + ApplicationGatewayConnectionDraining, + ApplicationGatewayCustomError, + ApplicationGatewayFirewallDisabledRuleGroup, + ApplicationGatewayFirewallExclusion, + ApplicationGatewayFirewallRule, + ApplicationGatewayFirewallRuleGroup, + ApplicationGatewayFirewallRuleSet, + ApplicationGatewayFrontendIPConfiguration, + ApplicationGatewayFrontendPort, + ApplicationGatewayHeaderConfiguration, + ApplicationGatewayHttpListener, + ApplicationGatewayIPConfiguration, + ApplicationGatewayPathRule, + ApplicationGatewayProbe, + ApplicationGatewayProbeHealthResponseMatch, + ApplicationGatewayRedirectConfiguration, + ApplicationGatewayRequestRoutingRule, + ApplicationGatewayRewriteRule, + ApplicationGatewayRewriteRuleActionSet, + ApplicationGatewayRewriteRuleCondition, + ApplicationGatewayRewriteRuleSet, + ApplicationGatewaySku, + ApplicationGatewaySslCertificate, + ApplicationGatewaySslPolicy, + ApplicationGatewaySslPredefinedPolicy, + ApplicationGatewayTrustedRootCertificate, + ApplicationGatewayUrlPathMap, + ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, + ApplicationSecurityGroup, + AzureFirewall, + AzureFirewallApplicationRule, + AzureFirewallApplicationRuleCollection, + AzureFirewallApplicationRuleProtocol, + AzureFirewallFqdnTag, + AzureFirewallIPConfiguration, + AzureFirewallNatRCAction, + AzureFirewallNatRule, + AzureFirewallNatRuleCollection, + AzureFirewallNetworkRule, + AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, + AzureFirewallRCAction, + BackendAddressPool, + BaseResource, + BastionHost, + BastionHostIPConfiguration, + BGPCommunity, + BgpServiceCommunity, + BgpSettings, + ConnectionMonitorDestination, + ConnectionMonitorResult, + ConnectionMonitorSource, + ConnectionSharedKey, + Container, + ContainerNetworkInterface, + ContainerNetworkInterfaceConfiguration, + ContainerNetworkInterfaceIpConfiguration, + DdosCustomPolicy, + DdosProtectionPlan, + DdosSettings, + Delegation, + DeviceProperties, + DhcpOptions, + EndpointServiceResult, + ErrorDetails, + ErrorModel, + ExpressRouteCircuit, + ExpressRouteCircuitAuthorization, + ExpressRouteCircuitConnection, + ExpressRouteCircuitPeering, + ExpressRouteCircuitPeeringConfig, + ExpressRouteCircuitPeeringId, + ExpressRouteCircuitReference, + ExpressRouteCircuitServiceProviderProperties, + ExpressRouteCircuitSku, + ExpressRouteCircuitStats, + ExpressRouteConnection, + ExpressRouteConnectionId, + ExpressRouteCrossConnection, + ExpressRouteCrossConnectionPeering, + ExpressRouteGateway, + ExpressRouteGatewayPropertiesAutoScaleConfiguration, + ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds, + ExpressRouteLink, + ExpressRoutePort, + ExpressRoutePortsLocation, + ExpressRoutePortsLocationBandwidths, + ExpressRouteServiceProvider, + ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, + FrontendIPConfiguration, + HubIPAddresses, + HubVirtualNetworkConnection, + InboundNatPool, + InboundNatRule, + IPConfiguration, + IPConfigurationProfile, + IpsecPolicy, + IpTag, + Ipv6ExpressRouteCircuitPeeringConfig, + ListVpnSiteLinksResult, + LoadBalancer, + LoadBalancerSku, + LoadBalancingRule, + LocalNetworkGateway, + ManagedServiceIdentity, + ManagedServiceIdentityUserAssignedIdentitiesValue, + MatchCondition, + MatchVariable, + NatGateway, + NatGatewaySku, + NetworkIntentPolicy, + NetworkInterface, + NetworkInterfaceDnsSettings, + NetworkInterfaceIPConfiguration, + NetworkInterfaceTapConfiguration, + NetworkProfile, + NetworkRuleCondition, + NetworkSecurityGroup, + NetworkWatcher, + OutboundRule, + P2SVpnGateway, + P2SVpnServerConfigRadiusClientRootCertificate, + P2SVpnServerConfigRadiusServerRootCertificate, + P2SVpnServerConfiguration, + P2SVpnServerConfigVpnClientRevokedCertificate, + P2SVpnServerConfigVpnClientRootCertificate, + PatchRouteFilter, + PatchRouteFilterRule, + PeerExpressRouteCircuitConnection, + PolicySettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkService, + PrivateLinkServiceConnection, + PrivateLinkServiceConnectionState, + PrivateLinkServiceIpConfiguration, + PrivateLinkServicePropertiesAutoApproval, + PrivateLinkServicePropertiesVisibility, + Probe, + ProtocolCustomSettingsFormat, + PublicIPAddress, + PublicIPAddressDnsSettings, + PublicIPAddressSku, + PublicIPPrefix, + PublicIPPrefixSku, + ReferencedPublicIpAddress, + Resource, + ResourceNavigationLink, + ResourceSet, + Route, + RouteFilter, + RouteFilterRule, + RouteTable, + SecurityRule, + ServiceAssociationLink, + ServiceEndpointPolicy, + ServiceEndpointPolicyDefinition, + ServiceEndpointPropertiesFormat, + Subnet, + SubResource, + TunnelConnectionHealth, + VirtualHub, + VirtualHubId, + VirtualHubRoute, + VirtualHubRouteTable, + VirtualNetwork, + VirtualNetworkConnectionGatewayReference, + VirtualNetworkGateway, + VirtualNetworkGatewayConnection, + VirtualNetworkGatewayConnectionListEntity, + VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewaySku, + VirtualNetworkPeering, + VirtualNetworkTap, + VirtualWAN, + VpnClientConfiguration, + VpnClientConnectionHealth, + VpnClientRevokedCertificate, + VpnClientRootCertificate, + VpnConnection, + VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, + VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, + WebApplicationFirewallCustomRule, + WebApplicationFirewallPolicy +} from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/vpnSitesConfigurationMappers.ts b/sdk/network/arm-network/src/models/vpnSitesConfigurationMappers.ts index 08b441ba7f56..b66fa7df6e32 100644 --- a/sdk/network/arm-network/src/models/vpnSitesConfigurationMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSitesConfigurationMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, ErrorDetails, ErrorModel, GetVpnSitesConfigurationRequest diff --git a/sdk/network/arm-network/src/models/vpnSitesMappers.ts b/sdk/network/arm-network/src/models/vpnSitesMappers.ts index bde5cda81a41..09c26395dac6 100644 --- a/sdk/network/arm-network/src/models/vpnSitesMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSitesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -103,7 +106,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -129,6 +142,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -194,7 +208,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy } from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts b/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts index 744afd8d81f5..427a916bf02a 100644 --- a/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts @@ -7,6 +7,7 @@ */ export { + discriminators, AddressSpace, ApplicationGateway, ApplicationGatewayAuthenticationCertificate, @@ -43,6 +44,7 @@ export { ApplicationGatewayTrustedRootCertificate, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -55,6 +57,7 @@ export { AzureFirewallNatRuleCollection, AzureFirewallNetworkRule, AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, AzureFirewallRCAction, BackendAddressPool, BaseResource, @@ -102,7 +105,17 @@ export { ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, FrontendIPConfiguration, + HubIPAddresses, HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, @@ -127,6 +140,7 @@ export { NetworkInterfaceIPConfiguration, NetworkInterfaceTapConfiguration, NetworkProfile, + NetworkRuleCondition, NetworkSecurityGroup, NetworkWatcher, OutboundRule, @@ -191,7 +205,11 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, WebApplicationFirewallCustomRule, WebApplicationFirewallPolicy, WebApplicationFirewallPolicyListResult diff --git a/sdk/network/arm-network/src/networkManagementClient.ts b/sdk/network/arm-network/src/networkManagementClient.ts index d225af96c7ed..283e5cef5449 100644 --- a/sdk/network/arm-network/src/networkManagementClient.ts +++ b/sdk/network/arm-network/src/networkManagementClient.ts @@ -22,8 +22,6 @@ class NetworkManagementClient extends NetworkManagementClientContext { applicationSecurityGroups: operations.ApplicationSecurityGroups; availableDelegations: operations.AvailableDelegations; availableResourceGroupDelegations: operations.AvailableResourceGroupDelegations; - availablePrivateEndpointTypes: operations.AvailablePrivateEndpointTypes; - availableResourceGroupPrivateEndpointTypes: operations.AvailableResourceGroupPrivateEndpointTypes; azureFirewalls: operations.AzureFirewalls; azureFirewallFqdnTags: operations.AzureFirewallFqdnTags; bastionHosts: operations.BastionHosts; @@ -43,8 +41,8 @@ class NetworkManagementClient extends NetworkManagementClientContext { expressRoutePortsLocations: operations.ExpressRoutePortsLocations; expressRoutePorts: operations.ExpressRoutePorts; expressRouteLinks: operations.ExpressRouteLinks; - privateEndpoints: operations.PrivateEndpoints; - privateLinkServices: operations.PrivateLinkServices; + firewallPolicies: operations.FirewallPolicies; + firewallPolicyRuleGroups: operations.FirewallPolicyRuleGroups; loadBalancers: operations.LoadBalancers; loadBalancerBackendAddressPools: operations.LoadBalancerBackendAddressPools; loadBalancerFrontendIPConfigurations: operations.LoadBalancerFrontendIPConfigurations; @@ -66,6 +64,9 @@ class NetworkManagementClient extends NetworkManagementClientContext { packetCaptures: operations.PacketCaptures; connectionMonitors: operations.ConnectionMonitors; operations: operations.Operations; + privateEndpoints: operations.PrivateEndpoints; + availablePrivateEndpointTypes: operations.AvailablePrivateEndpointTypes; + privateLinkServices: operations.PrivateLinkServices; publicIPAddresses: operations.PublicIPAddresses; publicIPPrefixes: operations.PublicIPPrefixes; routeFilters: operations.RouteFilters; @@ -88,11 +89,14 @@ class NetworkManagementClient extends NetworkManagementClientContext { virtualNetworkTaps: operations.VirtualNetworkTaps; virtualWans: operations.VirtualWans; vpnSites: operations.VpnSites; + vpnSiteLinks: operations.VpnSiteLinks; vpnSitesConfiguration: operations.VpnSitesConfiguration; virtualHubs: operations.VirtualHubs; hubVirtualNetworkConnections: operations.HubVirtualNetworkConnections; vpnGateways: operations.VpnGateways; vpnConnections: operations.VpnConnections; + vpnSiteLinkConnections: operations.VpnSiteLinkConnections; + vpnLinkConnections: operations.VpnLinkConnections; p2sVpnServerConfigurations: operations.P2sVpnServerConfigurations; p2sVpnGateways: operations.P2sVpnGateways; webApplicationFirewallPolicies: operations.WebApplicationFirewallPolicies; @@ -110,8 +114,6 @@ class NetworkManagementClient extends NetworkManagementClientContext { this.applicationSecurityGroups = new operations.ApplicationSecurityGroups(this); this.availableDelegations = new operations.AvailableDelegations(this); this.availableResourceGroupDelegations = new operations.AvailableResourceGroupDelegations(this); - this.availablePrivateEndpointTypes = new operations.AvailablePrivateEndpointTypes(this); - this.availableResourceGroupPrivateEndpointTypes = new operations.AvailableResourceGroupPrivateEndpointTypes(this); this.azureFirewalls = new operations.AzureFirewalls(this); this.azureFirewallFqdnTags = new operations.AzureFirewallFqdnTags(this); this.bastionHosts = new operations.BastionHosts(this); @@ -131,8 +133,8 @@ class NetworkManagementClient extends NetworkManagementClientContext { this.expressRoutePortsLocations = new operations.ExpressRoutePortsLocations(this); this.expressRoutePorts = new operations.ExpressRoutePorts(this); this.expressRouteLinks = new operations.ExpressRouteLinks(this); - this.privateEndpoints = new operations.PrivateEndpoints(this); - this.privateLinkServices = new operations.PrivateLinkServices(this); + this.firewallPolicies = new operations.FirewallPolicies(this); + this.firewallPolicyRuleGroups = new operations.FirewallPolicyRuleGroups(this); this.loadBalancers = new operations.LoadBalancers(this); this.loadBalancerBackendAddressPools = new operations.LoadBalancerBackendAddressPools(this); this.loadBalancerFrontendIPConfigurations = new operations.LoadBalancerFrontendIPConfigurations(this); @@ -154,6 +156,9 @@ class NetworkManagementClient extends NetworkManagementClientContext { this.packetCaptures = new operations.PacketCaptures(this); this.connectionMonitors = new operations.ConnectionMonitors(this); this.operations = new operations.Operations(this); + this.privateEndpoints = new operations.PrivateEndpoints(this); + this.availablePrivateEndpointTypes = new operations.AvailablePrivateEndpointTypes(this); + this.privateLinkServices = new operations.PrivateLinkServices(this); this.publicIPAddresses = new operations.PublicIPAddresses(this); this.publicIPPrefixes = new operations.PublicIPPrefixes(this); this.routeFilters = new operations.RouteFilters(this); @@ -176,11 +181,14 @@ class NetworkManagementClient extends NetworkManagementClientContext { this.virtualNetworkTaps = new operations.VirtualNetworkTaps(this); this.virtualWans = new operations.VirtualWans(this); this.vpnSites = new operations.VpnSites(this); + this.vpnSiteLinks = new operations.VpnSiteLinks(this); this.vpnSitesConfiguration = new operations.VpnSitesConfiguration(this); this.virtualHubs = new operations.VirtualHubs(this); this.hubVirtualNetworkConnections = new operations.HubVirtualNetworkConnections(this); this.vpnGateways = new operations.VpnGateways(this); this.vpnConnections = new operations.VpnConnections(this); + this.vpnSiteLinkConnections = new operations.VpnSiteLinkConnections(this); + this.vpnLinkConnections = new operations.VpnLinkConnections(this); this.p2sVpnServerConfigurations = new operations.P2sVpnServerConfigurations(this); this.p2sVpnGateways = new operations.P2sVpnGateways(this); this.webApplicationFirewallPolicies = new operations.WebApplicationFirewallPolicies(this); diff --git a/sdk/network/arm-network/src/networkManagementClientContext.ts b/sdk/network/arm-network/src/networkManagementClientContext.ts index eae87fc18a95..db3cb9bb8412 100644 --- a/sdk/network/arm-network/src/networkManagementClientContext.ts +++ b/sdk/network/arm-network/src/networkManagementClientContext.ts @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/arm-network"; -const packageVersion = "14.0.0"; +const packageVersion = "15.0.0"; export class NetworkManagementClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; diff --git a/sdk/network/arm-network/src/operations/availablePrivateEndpointTypes.ts b/sdk/network/arm-network/src/operations/availablePrivateEndpointTypes.ts index 9d0199c211cc..602d728d31dc 100644 --- a/sdk/network/arm-network/src/operations/availablePrivateEndpointTypes.ts +++ b/sdk/network/arm-network/src/operations/availablePrivateEndpointTypes.ts @@ -55,6 +55,39 @@ export class AvailablePrivateEndpointTypes { callback) as Promise; } + /** + * Returns all of the resource types that can be linked to a Private Endpoint in this subscription + * in this region. + * @param location The location of the domain name. + * @param resourceGroupName The name of the resource group. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(location: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param location The location of the domain name. + * @param resourceGroupName The name of the resource group. + * @param callback The callback + */ + listByResourceGroup(location: string, resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param location The location of the domain name. + * @param resourceGroupName The name of the resource group. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(location: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(location: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + /** * Returns all of the resource types that can be linked to a Private Endpoint in this subscription * in this region. @@ -83,6 +116,35 @@ export class AvailablePrivateEndpointTypes { listNextOperationSpec, callback) as Promise; } + + /** + * Returns all of the resource types that can be linked to a Private Endpoint in this subscription + * in this region. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } } // Operation Specifications @@ -111,6 +173,31 @@ const listOperationSpec: msRest.OperationSpec = { serializer }; +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes", + urlParameters: [ + Parameters.location0, + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.AvailablePrivateEndpointTypesResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", @@ -131,3 +218,24 @@ const listNextOperationSpec: msRest.OperationSpec = { }, serializer }; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.AvailablePrivateEndpointTypesResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/network/arm-network/src/operations/availableResourceGroupPrivateEndpointTypes.ts b/sdk/network/arm-network/src/operations/availableResourceGroupPrivateEndpointTypes.ts deleted file mode 100644 index d3e8fb53e586..000000000000 --- a/sdk/network/arm-network/src/operations/availableResourceGroupPrivateEndpointTypes.ts +++ /dev/null @@ -1,138 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See License.txt in the project root for - * license information. - * - * 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 Models from "../models"; -import * as Mappers from "../models/availableResourceGroupPrivateEndpointTypesMappers"; -import * as Parameters from "../models/parameters"; -import { NetworkManagementClientContext } from "../networkManagementClientContext"; - -/** Class representing a AvailableResourceGroupPrivateEndpointTypes. */ -export class AvailableResourceGroupPrivateEndpointTypes { - private readonly client: NetworkManagementClientContext; - - /** - * Create a AvailableResourceGroupPrivateEndpointTypes. - * @param {NetworkManagementClientContext} client Reference to the service client. - */ - constructor(client: NetworkManagementClientContext) { - this.client = client; - } - - /** - * Returns all of the resource types that can be linked to a Private Endpoint in this subscription - * in this region. - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. - * @param [options] The optional parameters - * @returns Promise - */ - list(location: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. - * @param callback The callback - */ - list(location: string, resourceGroupName: string, callback: msRest.ServiceCallback): void; - /** - * @param location The location of the domain name. - * @param resourceGroupName The name of the resource group. - * @param options The optional parameters - * @param callback The callback - */ - list(location: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - list(location: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - location, - resourceGroupName, - options - }, - listOperationSpec, - callback) as Promise; - } - - /** - * Returns all of the resource types that can be linked to a Private Endpoint in this subscription - * in this region. - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param [options] The optional parameters - * @returns Promise - */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param nextPageLink The NextLink from the previous successful call to List operation. - * @param callback The callback - */ - listNext(nextPageLink: string, callback: msRest.ServiceCallback): 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): void; - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - nextPageLink, - options - }, - listNextOperationSpec, - callback) as Promise; - } -} - -// Operation Specifications -const serializer = new msRest.Serializer(Mappers); -const listOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes", - urlParameters: [ - Parameters.location0, - Parameters.resourceGroupName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion0 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.AvailablePrivateEndpointTypesResult - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - -const listNextOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - baseUrl: "https://management.azure.com", - path: "{nextLink}", - urlParameters: [ - Parameters.nextPageLink - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: { - bodyMapper: Mappers.AvailablePrivateEndpointTypesResult - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; diff --git a/sdk/network/arm-network/src/operations/azureFirewalls.ts b/sdk/network/arm-network/src/operations/azureFirewalls.ts index 9439b6a36f7c..d1c4c98877ed 100644 --- a/sdk/network/arm-network/src/operations/azureFirewalls.ts +++ b/sdk/network/arm-network/src/operations/azureFirewalls.ts @@ -84,6 +84,42 @@ export class AzureFirewalls { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Updates tags for an Azure Firewall resource. + * @param resourceGroupName The name of the resource group. + * @param azureFirewallName The name of the Azure Firewall. + * @param parameters Parameters supplied to the create or update Azure Firewall operation. + * @param [options] The optional parameters + * @returns Promise + */ + updateTags(resourceGroupName: string, azureFirewallName: string, parameters: Models.AzureFirewall, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param azureFirewallName The name of the Azure Firewall. + * @param parameters Parameters supplied to the create or update Azure Firewall operation. + * @param callback The callback + */ + updateTags(resourceGroupName: string, azureFirewallName: string, parameters: Models.AzureFirewall, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param azureFirewallName The name of the Azure Firewall. + * @param parameters Parameters supplied to the create or update Azure Firewall operation. + * @param options The optional parameters + * @param callback The callback + */ + updateTags(resourceGroupName: string, azureFirewallName: string, parameters: Models.AzureFirewall, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + updateTags(resourceGroupName: string, azureFirewallName: string, parameters: Models.AzureFirewall, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + azureFirewallName, + parameters, + options + }, + updateTagsOperationSpec, + callback) as Promise; + } + /** * Lists all Azure Firewalls in a resource group. * @param resourceGroupName The name of the resource group. @@ -258,6 +294,38 @@ const getOperationSpec: msRest.OperationSpec = { serializer }; +const updateTagsOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.azureFirewallName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.AzureFirewall, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.AzureFirewall + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls", diff --git a/sdk/network/arm-network/src/operations/bastionHosts.ts b/sdk/network/arm-network/src/operations/bastionHosts.ts index 672e956abda0..cce6b576f157 100644 --- a/sdk/network/arm-network/src/operations/bastionHosts.ts +++ b/sdk/network/arm-network/src/operations/bastionHosts.ts @@ -84,6 +84,19 @@ export class BastionHosts { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Updates bastion host tags. + * @param resourceGroupName The resource group name of the BastionHost. + * @param bastionHostName The name of the bastionHost. + * @param bastionHostParameters Parameters supplied to update a bastion host tags. + * @param [options] The optional parameters + * @returns Promise + */ + updateTags(resourceGroupName: string, bastionHostName: string, bastionHostParameters: Models.TagsObject, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdateTags(resourceGroupName,bastionHostName,bastionHostParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** * Lists all Bastion Hosts in a subscription. * @param [options] The optional parameters @@ -174,6 +187,26 @@ export class BastionHosts { options); } + /** + * Updates bastion host tags. + * @param resourceGroupName The resource group name of the BastionHost. + * @param bastionHostName The name of the bastionHost. + * @param bastionHostParameters Parameters supplied to update a bastion host tags. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdateTags(resourceGroupName: string, bastionHostName: string, bastionHostParameters: Models.TagsObject, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + bastionHostName, + bastionHostParameters, + options + }, + beginUpdateTagsOperationSpec, + options); + } + /** * Lists all Bastion Hosts in a subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -365,6 +398,41 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { serializer }; +const beginUpdateTagsOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.bastionHostName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "bastionHostParameters", + mapper: { + ...Mappers.TagsObject, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.BastionHost + }, + 201: { + bodyMapper: Mappers.BastionHost + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", diff --git a/sdk/network/arm-network/src/operations/firewallPolicies.ts b/sdk/network/arm-network/src/operations/firewallPolicies.ts new file mode 100644 index 000000000000..63a1563ef95c --- /dev/null +++ b/sdk/network/arm-network/src/operations/firewallPolicies.ts @@ -0,0 +1,477 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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/firewallPoliciesMappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClientContext } from "../networkManagementClientContext"; + +/** Class representing a FirewallPolicies. */ +export class FirewallPolicies { + private readonly client: NetworkManagementClientContext; + + /** + * Create a FirewallPolicies. + * @param {NetworkManagementClientContext} client Reference to the service client. + */ + constructor(client: NetworkManagementClientContext) { + this.client = client; + } + + /** + * Deletes the specified Firewall Policy. + * @param resourceGroupName The name of the resource group. + * @param firewallPolicyName The name of the Firewall Policy. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, firewallPolicyName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,firewallPolicyName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Gets the specified Firewall Policy. + * @param resourceGroupName The name of the resource group. + * @param firewallPolicyName The name of the Firewall Policy. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, firewallPolicyName: string, options?: Models.FirewallPoliciesGetOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param firewallPolicyName The name of the Firewall Policy. + * @param callback The callback + */ + get(resourceGroupName: string, firewallPolicyName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param firewallPolicyName The name of the Firewall Policy. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, firewallPolicyName: string, options: Models.FirewallPoliciesGetOptionalParams, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, firewallPolicyName: string, options?: Models.FirewallPoliciesGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + firewallPolicyName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Updates a Firewall Policy Tags. + * @param resourceGroupName The resource group name of the Firewall Policy. + * @param firewallPolicyName The name of the Firewall Policy being updated. + * @param firewallPolicyParameters Parameters supplied to Update Firewall Policy tags. + * @param [options] The optional parameters + * @returns Promise + */ + updateTags(resourceGroupName: string, firewallPolicyName: string, firewallPolicyParameters: Models.TagsObject, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name of the Firewall Policy. + * @param firewallPolicyName The name of the Firewall Policy being updated. + * @param firewallPolicyParameters Parameters supplied to Update Firewall Policy tags. + * @param callback The callback + */ + updateTags(resourceGroupName: string, firewallPolicyName: string, firewallPolicyParameters: Models.TagsObject, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name of the Firewall Policy. + * @param firewallPolicyName The name of the Firewall Policy being updated. + * @param firewallPolicyParameters Parameters supplied to Update Firewall Policy tags. + * @param options The optional parameters + * @param callback The callback + */ + updateTags(resourceGroupName: string, firewallPolicyName: string, firewallPolicyParameters: Models.TagsObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + updateTags(resourceGroupName: string, firewallPolicyName: string, firewallPolicyParameters: Models.TagsObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + firewallPolicyName, + firewallPolicyParameters, + options + }, + updateTagsOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates the specified Firewall Policy. + * @param resourceGroupName The name of the resource group. + * @param firewallPolicyName The name of the Firewall Policy. + * @param parameters Parameters supplied to the create or update Firewall Policy operation. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, firewallPolicyName: string, parameters: Models.FirewallPolicy, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,firewallPolicyName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Lists all Firewall Policies in a resource group. + * @param resourceGroupName The name of the resource group. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param callback The callback + */ + list(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Gets all the Firewall Policies in a subscription. + * @param [options] The optional parameters + * @returns Promise + */ + listAll(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + listAll(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + listAll(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listAll(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listAllOperationSpec, + callback) as Promise; + } + + /** + * Deletes the specified Firewall Policy. + * @param resourceGroupName The name of the resource group. + * @param firewallPolicyName The name of the Firewall Policy. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, firewallPolicyName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + firewallPolicyName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Creates or updates the specified Firewall Policy. + * @param resourceGroupName The name of the resource group. + * @param firewallPolicyName The name of the Firewall Policy. + * @param parameters Parameters supplied to the create or update Firewall Policy operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, firewallPolicyName: string, parameters: Models.FirewallPolicy, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + firewallPolicyName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Lists all Firewall Policies in a resource group. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): 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): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } + + /** + * Gets all the Firewall Policies in a subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listAllNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listAllNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listAllNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.firewallPolicyName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0, + Parameters.expand + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.FirewallPolicy + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateTagsOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.firewallPolicyName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "firewallPolicyParameters", + mapper: { + ...Mappers.TagsObject, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.FirewallPolicy + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.FirewallPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listAllOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Network/firewallPolicies", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.FirewallPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.firewallPolicyName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.firewallPolicyName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.FirewallPolicy, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.FirewallPolicy + }, + 201: { + bodyMapper: Mappers.FirewallPolicy + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.FirewallPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listAllNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.FirewallPolicyListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/network/arm-network/src/operations/firewallPolicyRuleGroups.ts b/sdk/network/arm-network/src/operations/firewallPolicyRuleGroups.ts new file mode 100644 index 000000000000..da39c41293a4 --- /dev/null +++ b/sdk/network/arm-network/src/operations/firewallPolicyRuleGroups.ts @@ -0,0 +1,330 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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/firewallPolicyRuleGroupsMappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClientContext } from "../networkManagementClientContext"; + +/** Class representing a FirewallPolicyRuleGroups. */ +export class FirewallPolicyRuleGroups { + private readonly client: NetworkManagementClientContext; + + /** + * Create a FirewallPolicyRuleGroups. + * @param {NetworkManagementClientContext} client Reference to the service client. + */ + constructor(client: NetworkManagementClientContext) { + this.client = client; + } + + /** + * Deletes the specified FirewallPolicyRuleGroup. + * @param resourceGroupName The name of the resource group. + * @param firewallPolicyName The name of the Firewall Policy. + * @param ruleGroupName The name of the FirewallPolicyRuleGroup. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, firewallPolicyName: string, ruleGroupName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,firewallPolicyName,ruleGroupName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Gets the specified FirewallPolicyRuleGroup. + * @param resourceGroupName The name of the resource group. + * @param firewallPolicyName The name of the Firewall Policy. + * @param ruleGroupName The name of the FirewallPolicyRuleGroup. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, firewallPolicyName: string, ruleGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param firewallPolicyName The name of the Firewall Policy. + * @param ruleGroupName The name of the FirewallPolicyRuleGroup. + * @param callback The callback + */ + get(resourceGroupName: string, firewallPolicyName: string, ruleGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param firewallPolicyName The name of the Firewall Policy. + * @param ruleGroupName The name of the FirewallPolicyRuleGroup. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, firewallPolicyName: string, ruleGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, firewallPolicyName: string, ruleGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + firewallPolicyName, + ruleGroupName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates the specified FirewallPolicyRuleGroup. + * @param resourceGroupName The name of the resource group. + * @param firewallPolicyName The name of the Firewall Policy. + * @param ruleGroupName The name of the FirewallPolicyRuleGroup. + * @param parameters Parameters supplied to the create or update FirewallPolicyRuleGroup operation. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, firewallPolicyName: string, ruleGroupName: string, parameters: Models.FirewallPolicyRuleGroup, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,firewallPolicyName,ruleGroupName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Lists all FirewallPolicyRuleGroups in a FirewallPolicy resource. + * @param resourceGroupName The name of the resource group. + * @param firewallPolicyName The name of the Firewall Policy. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, firewallPolicyName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param firewallPolicyName The name of the Firewall Policy. + * @param callback The callback + */ + list(resourceGroupName: string, firewallPolicyName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param firewallPolicyName The name of the Firewall Policy. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, firewallPolicyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, firewallPolicyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + firewallPolicyName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Deletes the specified FirewallPolicyRuleGroup. + * @param resourceGroupName The name of the resource group. + * @param firewallPolicyName The name of the Firewall Policy. + * @param ruleGroupName The name of the FirewallPolicyRuleGroup. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, firewallPolicyName: string, ruleGroupName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + firewallPolicyName, + ruleGroupName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Creates or updates the specified FirewallPolicyRuleGroup. + * @param resourceGroupName The name of the resource group. + * @param firewallPolicyName The name of the Firewall Policy. + * @param ruleGroupName The name of the FirewallPolicyRuleGroup. + * @param parameters Parameters supplied to the create or update FirewallPolicyRuleGroup operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, firewallPolicyName: string, ruleGroupName: string, parameters: Models.FirewallPolicyRuleGroup, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + firewallPolicyName, + ruleGroupName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Lists all FirewallPolicyRuleGroups in a FirewallPolicy resource. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): 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): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups/{ruleGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.firewallPolicyName, + Parameters.ruleGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.FirewallPolicyRuleGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.firewallPolicyName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.FirewallPolicyRuleGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups/{ruleGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.firewallPolicyName, + Parameters.ruleGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups/{ruleGroupName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.firewallPolicyName, + Parameters.ruleGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.FirewallPolicyRuleGroup, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.FirewallPolicyRuleGroup + }, + 201: { + bodyMapper: Mappers.FirewallPolicyRuleGroup + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.FirewallPolicyRuleGroupListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/network/arm-network/src/operations/index.ts b/sdk/network/arm-network/src/operations/index.ts index 09b1f8a7782e..dba017b0a900 100644 --- a/sdk/network/arm-network/src/operations/index.ts +++ b/sdk/network/arm-network/src/operations/index.ts @@ -12,8 +12,6 @@ export * from "./applicationGateways"; export * from "./applicationSecurityGroups"; export * from "./availableDelegations"; export * from "./availableResourceGroupDelegations"; -export * from "./availablePrivateEndpointTypes"; -export * from "./availableResourceGroupPrivateEndpointTypes"; export * from "./azureFirewalls"; export * from "./azureFirewallFqdnTags"; export * from "./bastionHosts"; @@ -33,8 +31,8 @@ export * from "./expressRouteConnections"; export * from "./expressRoutePortsLocations"; export * from "./expressRoutePorts"; export * from "./expressRouteLinks"; -export * from "./privateEndpoints"; -export * from "./privateLinkServices"; +export * from "./firewallPolicies"; +export * from "./firewallPolicyRuleGroups"; export * from "./loadBalancers"; export * from "./loadBalancerBackendAddressPools"; export * from "./loadBalancerFrontendIPConfigurations"; @@ -56,6 +54,9 @@ export * from "./networkWatchers"; export * from "./packetCaptures"; export * from "./connectionMonitors"; export * from "./operations"; +export * from "./privateEndpoints"; +export * from "./availablePrivateEndpointTypes"; +export * from "./privateLinkServices"; export * from "./publicIPAddresses"; export * from "./publicIPPrefixes"; export * from "./routeFilters"; @@ -78,11 +79,14 @@ export * from "./localNetworkGateways"; export * from "./virtualNetworkTaps"; export * from "./virtualWans"; export * from "./vpnSites"; +export * from "./vpnSiteLinks"; export * from "./vpnSitesConfiguration"; export * from "./virtualHubs"; export * from "./hubVirtualNetworkConnections"; export * from "./vpnGateways"; export * from "./vpnConnections"; +export * from "./vpnSiteLinkConnections"; +export * from "./vpnLinkConnections"; export * from "./p2sVpnServerConfigurations"; export * from "./p2sVpnGateways"; export * from "./webApplicationFirewallPolicies"; diff --git a/sdk/network/arm-network/src/operations/networkProfiles.ts b/sdk/network/arm-network/src/operations/networkProfiles.ts index 18567211482a..c8c4c14f0126 100644 --- a/sdk/network/arm-network/src/operations/networkProfiles.ts +++ b/sdk/network/arm-network/src/operations/networkProfiles.ts @@ -9,6 +9,7 @@ */ 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/networkProfilesMappers"; import * as Parameters from "../models/parameters"; @@ -33,29 +34,9 @@ export class NetworkProfiles { * @param [options] The optional parameters * @returns Promise */ - deleteMethod(resourceGroupName: string, networkProfileName: string, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the NetworkProfile. - * @param callback The callback - */ - deleteMethod(resourceGroupName: string, networkProfileName: string, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param networkProfileName The name of the NetworkProfile. - * @param options The optional parameters - * @param callback The callback - */ - deleteMethod(resourceGroupName: string, networkProfileName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - deleteMethod(resourceGroupName: string, networkProfileName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - networkProfileName, - options - }, - deleteMethodOperationSpec, - callback); + deleteMethod(resourceGroupName: string, networkProfileName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,networkProfileName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); } /** @@ -214,6 +195,24 @@ export class NetworkProfiles { callback) as Promise; } + /** + * Deletes the specified network profile. + * @param resourceGroupName The name of the resource group. + * @param networkProfileName The name of the NetworkProfile. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, networkProfileName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + networkProfileName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + /** * Gets all the network profiles in a subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -273,31 +272,6 @@ export class NetworkProfiles { // Operation Specifications const serializer = new msRest.Serializer(Mappers); -const deleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.networkProfileName, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion0 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - responses: { - 200: {}, - 202: {}, - 204: {}, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}", @@ -438,6 +412,31 @@ const listOperationSpec: msRest.OperationSpec = { serializer }; +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.networkProfileName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listAllNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", diff --git a/sdk/network/arm-network/src/operations/networkWatchers.ts b/sdk/network/arm-network/src/operations/networkWatchers.ts index 1a7cb0a3148d..d9dfd4b244d0 100644 --- a/sdk/network/arm-network/src/operations/networkWatchers.ts +++ b/sdk/network/arm-network/src/operations/networkWatchers.ts @@ -314,7 +314,7 @@ export class NetworkWatchers { * @param resourceGroupName The name of the network watcher resource group. * @param networkWatcherName The name of the network watcher resource. * @param parameters Parameters that define a resource to query flow log and traffic analytics - * (optional) status. + * (optional) status. * @param [options] The optional parameters * @returns Promise */ @@ -520,7 +520,7 @@ export class NetworkWatchers { * @param resourceGroupName The name of the network watcher resource group. * @param networkWatcherName The name of the network watcher resource. * @param parameters Parameters that define a resource to query flow log and traffic analytics - * (optional) status. + * (optional) status. * @param [options] The optional parameters * @returns Promise */ diff --git a/sdk/network/arm-network/src/operations/privateEndpoints.ts b/sdk/network/arm-network/src/operations/privateEndpoints.ts index fa7ee53f1cde..3f9a3dd261ea 100644 --- a/sdk/network/arm-network/src/operations/privateEndpoints.ts +++ b/sdk/network/arm-network/src/operations/privateEndpoints.ts @@ -75,7 +75,7 @@ export class PrivateEndpoints { * Creates or updates an private endpoint in the specified resource group. * @param resourceGroupName The name of the resource group. * @param privateEndpointName The name of the private endpoint. - * @param parameters Parameters supplied to the create or update private endpoint operation + * @param parameters Parameters supplied to the create or update private endpoint operation. * @param [options] The optional parameters * @returns Promise */ @@ -158,7 +158,7 @@ export class PrivateEndpoints { * Creates or updates an private endpoint in the specified resource group. * @param resourceGroupName The name of the resource group. * @param privateEndpointName The name of the private endpoint. - * @param parameters Parameters supplied to the create or update private endpoint operation + * @param parameters Parameters supplied to the create or update private endpoint operation. * @param [options] The optional parameters * @returns Promise */ diff --git a/sdk/network/arm-network/src/operations/privateLinkServices.ts b/sdk/network/arm-network/src/operations/privateLinkServices.ts index 70c404bfda57..1a00b40b8a96 100644 --- a/sdk/network/arm-network/src/operations/privateLinkServices.ts +++ b/sdk/network/arm-network/src/operations/privateLinkServices.ts @@ -75,7 +75,7 @@ export class PrivateLinkServices { * Creates or updates an private link service in the specified resource group. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the private link service. - * @param parameters Parameters supplied to the create or update private link service operation + * @param parameters Parameters supplied to the create or update private link service operation. * @param [options] The optional parameters * @returns Promise */ @@ -143,9 +143,9 @@ export class PrivateLinkServices { * @param peConnectionName The name of the private end point connection. * @param parameters Parameters supplied to approve or reject the private end point connection. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - updatePrivateEndpointConnection(resourceGroupName: string, serviceName: string, peConnectionName: string, parameters: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise; + updatePrivateEndpointConnection(resourceGroupName: string, serviceName: string, peConnectionName: string, parameters: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the private link service. @@ -153,7 +153,7 @@ export class PrivateLinkServices { * @param parameters Parameters supplied to approve or reject the private end point connection. * @param callback The callback */ - updatePrivateEndpointConnection(resourceGroupName: string, serviceName: string, peConnectionName: string, parameters: Models.PrivateEndpointConnection, callback: msRest.ServiceCallback): void; + updatePrivateEndpointConnection(resourceGroupName: string, serviceName: string, peConnectionName: string, parameters: Models.PrivateEndpointConnection, callback: msRest.ServiceCallback): void; /** * @param resourceGroupName The name of the resource group. * @param serviceName The name of the private link service. @@ -162,8 +162,8 @@ export class PrivateLinkServices { * @param options The optional parameters * @param callback The callback */ - updatePrivateEndpointConnection(resourceGroupName: string, serviceName: string, peConnectionName: string, parameters: Models.PrivateEndpointConnection, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updatePrivateEndpointConnection(resourceGroupName: string, serviceName: string, peConnectionName: string, parameters: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + updatePrivateEndpointConnection(resourceGroupName: string, serviceName: string, peConnectionName: string, parameters: Models.PrivateEndpointConnection, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + updatePrivateEndpointConnection(resourceGroupName: string, serviceName: string, peConnectionName: string, parameters: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, @@ -173,7 +173,7 @@ export class PrivateLinkServices { options }, updatePrivateEndpointConnectionOperationSpec, - callback); + callback) as Promise; } /** @@ -189,6 +189,138 @@ export class PrivateLinkServices { .then(lroPoller => lroPoller.pollUntilFinished()); } + /** + * Checks the subscription is visible to private link service + * @param location The location of the domain name. + * @param parameters The request body of CheckPrivateLinkService API call. + * @param [options] The optional parameters + * @returns Promise + */ + checkPrivateLinkServiceVisibility(location: string, parameters: Models.CheckPrivateLinkServiceVisibilityRequest, options?: msRest.RequestOptionsBase): Promise; + /** + * @param location The location of the domain name. + * @param parameters The request body of CheckPrivateLinkService API call. + * @param callback The callback + */ + checkPrivateLinkServiceVisibility(location: string, parameters: Models.CheckPrivateLinkServiceVisibilityRequest, callback: msRest.ServiceCallback): void; + /** + * @param location The location of the domain name. + * @param parameters The request body of CheckPrivateLinkService API call. + * @param options The optional parameters + * @param callback The callback + */ + checkPrivateLinkServiceVisibility(location: string, parameters: Models.CheckPrivateLinkServiceVisibilityRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + checkPrivateLinkServiceVisibility(location: string, parameters: Models.CheckPrivateLinkServiceVisibilityRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + parameters, + options + }, + checkPrivateLinkServiceVisibilityOperationSpec, + callback) as Promise; + } + + /** + * Checks the subscription is visible to private link service + * @param location The location of the domain name. + * @param resourceGroupName The name of the resource group. + * @param parameters The request body of CheckPrivateLinkService API call. + * @param [options] The optional parameters + * @returns + * Promise + */ + checkPrivateLinkServiceVisibilityByResourceGroup(location: string, resourceGroupName: string, parameters: Models.CheckPrivateLinkServiceVisibilityRequest, options?: msRest.RequestOptionsBase): Promise; + /** + * @param location The location of the domain name. + * @param resourceGroupName The name of the resource group. + * @param parameters The request body of CheckPrivateLinkService API call. + * @param callback The callback + */ + checkPrivateLinkServiceVisibilityByResourceGroup(location: string, resourceGroupName: string, parameters: Models.CheckPrivateLinkServiceVisibilityRequest, callback: msRest.ServiceCallback): void; + /** + * @param location The location of the domain name. + * @param resourceGroupName The name of the resource group. + * @param parameters The request body of CheckPrivateLinkService API call. + * @param options The optional parameters + * @param callback The callback + */ + checkPrivateLinkServiceVisibilityByResourceGroup(location: string, resourceGroupName: string, parameters: Models.CheckPrivateLinkServiceVisibilityRequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + checkPrivateLinkServiceVisibilityByResourceGroup(location: string, resourceGroupName: string, parameters: Models.CheckPrivateLinkServiceVisibilityRequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + resourceGroupName, + parameters, + options + }, + checkPrivateLinkServiceVisibilityByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Returns all of the private link service ids that can be linked to a Private Endpoint with auto + * approved in this subscription in this region. + * @param location The location of the domain name. + * @param [options] The optional parameters + * @returns Promise + */ + listAutoApprovedPrivateLinkServices(location: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param location The location of the domain name. + * @param callback The callback + */ + listAutoApprovedPrivateLinkServices(location: string, callback: msRest.ServiceCallback): void; + /** + * @param location The location of the domain name. + * @param options The optional parameters + * @param callback The callback + */ + listAutoApprovedPrivateLinkServices(location: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listAutoApprovedPrivateLinkServices(location: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + options + }, + listAutoApprovedPrivateLinkServicesOperationSpec, + callback) as Promise; + } + + /** + * Returns all of the private link service ids that can be linked to a Private Endpoint with auto + * approved in this subscription in this region. + * @param location The location of the domain name. + * @param resourceGroupName The name of the resource group. + * @param [options] The optional parameters + * @returns + * Promise + */ + listAutoApprovedPrivateLinkServicesByResourceGroup(location: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param location The location of the domain name. + * @param resourceGroupName The name of the resource group. + * @param callback The callback + */ + listAutoApprovedPrivateLinkServicesByResourceGroup(location: string, resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param location The location of the domain name. + * @param resourceGroupName The name of the resource group. + * @param options The optional parameters + * @param callback The callback + */ + listAutoApprovedPrivateLinkServicesByResourceGroup(location: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listAutoApprovedPrivateLinkServicesByResourceGroup(location: string, resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + location, + resourceGroupName, + options + }, + listAutoApprovedPrivateLinkServicesByResourceGroupOperationSpec, + callback) as Promise; + } + /** * Deletes the specified private link service. * @param resourceGroupName The name of the resource group. @@ -211,7 +343,7 @@ export class PrivateLinkServices { * Creates or updates an private link service in the specified resource group. * @param resourceGroupName The name of the resource group. * @param serviceName The name of the private link service. - * @param parameters Parameters supplied to the create or update private link service operation + * @param parameters Parameters supplied to the create or update private link service operation. * @param [options] The optional parameters * @returns Promise */ @@ -302,6 +434,65 @@ export class PrivateLinkServices { listBySubscriptionNextOperationSpec, callback) as Promise; } + + /** + * Returns all of the private link service ids that can be linked to a Private Endpoint with auto + * approved in this subscription in this region. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listAutoApprovedPrivateLinkServicesNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listAutoApprovedPrivateLinkServicesNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listAutoApprovedPrivateLinkServicesNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listAutoApprovedPrivateLinkServicesNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listAutoApprovedPrivateLinkServicesNextOperationSpec, + callback) as Promise; + } + + /** + * Returns all of the private link service ids that can be linked to a Private Endpoint with auto + * approved in this subscription in this region. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns + * Promise + */ + listAutoApprovedPrivateLinkServicesByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listAutoApprovedPrivateLinkServicesByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listAutoApprovedPrivateLinkServicesByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listAutoApprovedPrivateLinkServicesByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listAutoApprovedPrivateLinkServicesByResourceGroupNextOperationSpec, + callback) as Promise; + } } // Operation Specifications @@ -402,7 +593,9 @@ const updatePrivateEndpointConnectionOperationSpec: msRest.OperationSpec = { } }, responses: { - 200: {}, + 200: { + bodyMapper: Mappers.PrivateEndpointConnection + }, default: { bodyMapper: Mappers.ErrorModel } @@ -410,6 +603,118 @@ const updatePrivateEndpointConnectionOperationSpec: msRest.OperationSpec = { serializer }; +const checkPrivateLinkServiceVisibilityOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility", + urlParameters: [ + Parameters.location0, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.CheckPrivateLinkServiceVisibilityRequest, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.PrivateLinkServiceVisibility + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const checkPrivateLinkServiceVisibilityByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility", + urlParameters: [ + Parameters.location0, + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.CheckPrivateLinkServiceVisibilityRequest, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.PrivateLinkServiceVisibility + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listAutoApprovedPrivateLinkServicesOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices", + urlParameters: [ + Parameters.location0, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.AutoApprovedPrivateLinkServicesResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listAutoApprovedPrivateLinkServicesByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices", + urlParameters: [ + Parameters.location0, + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.AutoApprovedPrivateLinkServicesResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}", @@ -537,3 +842,45 @@ const listBySubscriptionNextOperationSpec: msRest.OperationSpec = { }, serializer }; + +const listAutoApprovedPrivateLinkServicesNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.AutoApprovedPrivateLinkServicesResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listAutoApprovedPrivateLinkServicesByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.AutoApprovedPrivateLinkServicesResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/network/arm-network/src/operations/serviceTags.ts b/sdk/network/arm-network/src/operations/serviceTags.ts index bc5842716fd2..f073cd359c8c 100644 --- a/sdk/network/arm-network/src/operations/serviceTags.ts +++ b/sdk/network/arm-network/src/operations/serviceTags.ts @@ -28,18 +28,24 @@ export class ServiceTags { /** * Gets a list of service tag information resources. - * @param location The location. + * @param location The location that will be used as a reference for version (not as a filter based + * on location, you will get the list of service tags with prefix details across all regions but + * limited to the cloud that your subscription belongs to). * @param [options] The optional parameters * @returns Promise */ list(location: string, options?: msRest.RequestOptionsBase): Promise; /** - * @param location The location. + * @param location The location that will be used as a reference for version (not as a filter based + * on location, you will get the list of service tags with prefix details across all regions but + * limited to the cloud that your subscription belongs to). * @param callback The callback */ list(location: string, callback: msRest.ServiceCallback): void; /** - * @param location The location. + * @param location The location that will be used as a reference for version (not as a filter based + * on location, you will get the list of service tags with prefix details across all regions but + * limited to the cloud that your subscription belongs to). * @param options The optional parameters * @param callback The callback */ diff --git a/sdk/network/arm-network/src/operations/subnets.ts b/sdk/network/arm-network/src/operations/subnets.ts index 8eea4b5db914..8e82fb2881eb 100644 --- a/sdk/network/arm-network/src/operations/subnets.ts +++ b/sdk/network/arm-network/src/operations/subnets.ts @@ -105,6 +105,21 @@ export class Subnets { .then(lroPoller => lroPoller.pollUntilFinished()); } + /** + * Unprepares a subnet by removing network intent policies. + * @param resourceGroupName The name of the resource group. + * @param virtualNetworkName The name of the virtual network. + * @param subnetName The name of the subnet. + * @param unprepareNetworkPoliciesRequestParameters Parameters supplied to unprepare subnet to + * remove network intent policies. + * @param [options] The optional parameters + * @returns Promise + */ + unprepareNetworkPolicies(resourceGroupName: string, virtualNetworkName: string, subnetName: string, unprepareNetworkPoliciesRequestParameters: Models.UnprepareNetworkPoliciesRequest, options?: msRest.RequestOptionsBase): Promise { + return this.beginUnprepareNetworkPolicies(resourceGroupName,virtualNetworkName,subnetName,unprepareNetworkPoliciesRequestParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + /** * Gets all subnets in a virtual network. * @param resourceGroupName The name of the resource group. @@ -202,6 +217,29 @@ export class Subnets { options); } + /** + * Unprepares a subnet by removing network intent policies. + * @param resourceGroupName The name of the resource group. + * @param virtualNetworkName The name of the virtual network. + * @param subnetName The name of the subnet. + * @param unprepareNetworkPoliciesRequestParameters Parameters supplied to unprepare subnet to + * remove network intent policies. + * @param [options] The optional parameters + * @returns Promise + */ + beginUnprepareNetworkPolicies(resourceGroupName: string, virtualNetworkName: string, subnetName: string, unprepareNetworkPoliciesRequestParameters: Models.UnprepareNetworkPoliciesRequest, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + virtualNetworkName, + subnetName, + unprepareNetworkPoliciesRequestParameters, + options + }, + beginUnprepareNetworkPoliciesOperationSpec, + options); + } + /** * Gets all subnets in a virtual network. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -379,6 +417,38 @@ const beginPrepareNetworkPoliciesOperationSpec: msRest.OperationSpec = { serializer }; +const beginUnprepareNetworkPoliciesOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/UnprepareNetworkPolicies", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.virtualNetworkName, + Parameters.subnetName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "unprepareNetworkPoliciesRequestParameters", + mapper: { + ...Mappers.UnprepareNetworkPoliciesRequest, + required: true + } + }, + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", diff --git a/sdk/network/arm-network/src/operations/virtualNetworkGatewayConnections.ts b/sdk/network/arm-network/src/operations/virtualNetworkGatewayConnections.ts index 580f7280b48a..d336e03597e0 100644 --- a/sdk/network/arm-network/src/operations/virtualNetworkGatewayConnections.ts +++ b/sdk/network/arm-network/src/operations/virtualNetworkGatewayConnections.ts @@ -493,6 +493,7 @@ const beginUpdateTagsOperationSpec: msRest.OperationSpec = { 200: { bodyMapper: Mappers.VirtualNetworkGatewayConnection }, + 202: {}, default: { bodyMapper: Mappers.CloudError } diff --git a/sdk/network/arm-network/src/operations/virtualNetworkGateways.ts b/sdk/network/arm-network/src/operations/virtualNetworkGateways.ts index dd4e8a1c9ee8..37c08268c66d 100644 --- a/sdk/network/arm-network/src/operations/virtualNetworkGateways.ts +++ b/sdk/network/arm-network/src/operations/virtualNetworkGateways.ts @@ -191,34 +191,9 @@ export class VirtualNetworkGateways { * @param [options] The optional parameters * @returns Promise */ - generatevpnclientpackage(resourceGroupName: string, virtualNetworkGatewayName: string, parameters: Models.VpnClientParameters, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to the generate virtual network gateway VPN client package - * operation. - * @param callback The callback - */ - generatevpnclientpackage(resourceGroupName: string, virtualNetworkGatewayName: string, parameters: Models.VpnClientParameters, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to the generate virtual network gateway VPN client package - * operation. - * @param options The optional parameters - * @param callback The callback - */ - generatevpnclientpackage(resourceGroupName: string, virtualNetworkGatewayName: string, parameters: Models.VpnClientParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - generatevpnclientpackage(resourceGroupName: string, virtualNetworkGatewayName: string, parameters: Models.VpnClientParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - virtualNetworkGatewayName, - parameters, - options - }, - generatevpnclientpackageOperationSpec, - callback) as Promise; + generatevpnclientpackage(resourceGroupName: string, virtualNetworkGatewayName: string, parameters: Models.VpnClientParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginGeneratevpnclientpackage(resourceGroupName,virtualNetworkGatewayName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -231,34 +206,9 @@ export class VirtualNetworkGateways { * @param [options] The optional parameters * @returns Promise */ - generateVpnProfile(resourceGroupName: string, virtualNetworkGatewayName: string, parameters: Models.VpnClientParameters, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to the generate virtual network gateway VPN client package - * operation. - * @param callback The callback - */ - generateVpnProfile(resourceGroupName: string, virtualNetworkGatewayName: string, parameters: Models.VpnClientParameters, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param virtualNetworkGatewayName The name of the virtual network gateway. - * @param parameters Parameters supplied to the generate virtual network gateway VPN client package - * operation. - * @param options The optional parameters - * @param callback The callback - */ - generateVpnProfile(resourceGroupName: string, virtualNetworkGatewayName: string, parameters: Models.VpnClientParameters, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - generateVpnProfile(resourceGroupName: string, virtualNetworkGatewayName: string, parameters: Models.VpnClientParameters, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - virtualNetworkGatewayName, - parameters, - options - }, - generateVpnProfileOperationSpec, - callback) as Promise; + generateVpnProfile(resourceGroupName: string, virtualNetworkGatewayName: string, parameters: Models.VpnClientParameters, options?: msRest.RequestOptionsBase): Promise { + return this.beginGenerateVpnProfile(resourceGroupName,virtualNetworkGatewayName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -520,6 +470,50 @@ export class VirtualNetworkGateways { options); } + /** + * Generates VPN client package for P2S client of the virtual network gateway in the specified + * resource group. + * @param resourceGroupName The name of the resource group. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to the generate virtual network gateway VPN client package + * operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginGeneratevpnclientpackage(resourceGroupName: string, virtualNetworkGatewayName: string, parameters: Models.VpnClientParameters, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + virtualNetworkGatewayName, + parameters, + options + }, + beginGeneratevpnclientpackageOperationSpec, + options); + } + + /** + * Generates VPN profile for P2S client of the virtual network gateway in the specified resource + * group. Used for IKEV2 and radius based authentication. + * @param resourceGroupName The name of the resource group. + * @param virtualNetworkGatewayName The name of the virtual network gateway. + * @param parameters Parameters supplied to the generate virtual network gateway VPN client package + * operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginGenerateVpnProfile(resourceGroupName: string, virtualNetworkGatewayName: string, parameters: Models.VpnClientParameters, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + virtualNetworkGatewayName, + parameters, + options + }, + beginGenerateVpnProfileOperationSpec, + options); + } + /** * Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified * resource group. The profile needs to be generated first using generateVpnProfile. @@ -791,9 +785,9 @@ const listConnectionsOperationSpec: msRest.OperationSpec = { serializer }; -const generatevpnclientpackageOperationSpec: msRest.OperationSpec = { +const supportedVpnDevicesOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices", urlParameters: [ Parameters.resourceGroupName, Parameters.virtualNetworkGatewayName, @@ -805,13 +799,6 @@ const generatevpnclientpackageOperationSpec: msRest.OperationSpec = { headerParameters: [ Parameters.acceptLanguage ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.VpnClientParameters, - required: true - } - }, responses: { 200: { bodyMapper: { @@ -821,7 +808,6 @@ const generatevpnclientpackageOperationSpec: msRest.OperationSpec = { } } }, - 202: {}, default: { bodyMapper: Mappers.CloudError } @@ -829,12 +815,12 @@ const generatevpnclientpackageOperationSpec: msRest.OperationSpec = { serializer }; -const generateVpnProfileOperationSpec: msRest.OperationSpec = { +const vpnDeviceConfigurationScriptOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/vpndeviceconfigurationscript", urlParameters: [ Parameters.resourceGroupName, - Parameters.virtualNetworkGatewayName, + Parameters.virtualNetworkGatewayConnectionName, Parameters.subscriptionId ], queryParameters: [ @@ -846,7 +832,7 @@ const generateVpnProfileOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "parameters", mapper: { - ...Mappers.VpnClientParameters, + ...Mappers.VpnDeviceScriptParameters, required: true } }, @@ -859,7 +845,6 @@ const generateVpnProfileOperationSpec: msRest.OperationSpec = { } } }, - 202: {}, default: { bodyMapper: Mappers.CloudError } @@ -867,9 +852,9 @@ const generateVpnProfileOperationSpec: msRest.OperationSpec = { serializer }; -const supportedVpnDevicesOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices", +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", urlParameters: [ Parameters.resourceGroupName, Parameters.virtualNetworkGatewayName, @@ -881,14 +866,19 @@ const supportedVpnDevicesOperationSpec: msRest.OperationSpec = { headerParameters: [ Parameters.acceptLanguage ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.VirtualNetworkGateway, + required: true + } + }, responses: { 200: { - bodyMapper: { - serializedName: "parsedResponse", - type: { - name: "String" - } - } + bodyMapper: Mappers.VirtualNetworkGateway + }, + 201: { + bodyMapper: Mappers.VirtualNetworkGateway }, default: { bodyMapper: Mappers.CloudError @@ -897,12 +887,12 @@ const supportedVpnDevicesOperationSpec: msRest.OperationSpec = { serializer }; -const vpnDeviceConfigurationScriptOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/vpndeviceconfigurationscript", +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", urlParameters: [ Parameters.resourceGroupName, - Parameters.virtualNetworkGatewayConnectionName, + Parameters.virtualNetworkGatewayName, Parameters.subscriptionId ], queryParameters: [ @@ -911,22 +901,10 @@ const vpnDeviceConfigurationScriptOperationSpec: msRest.OperationSpec = { headerParameters: [ Parameters.acceptLanguage ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.VpnDeviceScriptParameters, - required: true - } - }, responses: { - 200: { - bodyMapper: { - serializedName: "parsedResponse", - type: { - name: "String" - } - } - }, + 200: {}, + 202: {}, + 204: {}, default: { bodyMapper: Mappers.CloudError } @@ -934,8 +912,8 @@ const vpnDeviceConfigurationScriptOperationSpec: msRest.OperationSpec = { serializer }; -const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", +const beginUpdateTagsOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", urlParameters: [ Parameters.resourceGroupName, @@ -951,7 +929,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "parameters", mapper: { - ...Mappers.VirtualNetworkGateway, + ...Mappers.TagsObject, required: true } }, @@ -959,9 +937,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { 200: { bodyMapper: Mappers.VirtualNetworkGateway }, - 201: { - bodyMapper: Mappers.VirtualNetworkGateway - }, + 202: {}, default: { bodyMapper: Mappers.CloudError } @@ -969,24 +945,26 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { serializer }; -const beginDeleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", +const beginResetOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset", urlParameters: [ Parameters.resourceGroupName, Parameters.virtualNetworkGatewayName, Parameters.subscriptionId ], queryParameters: [ + Parameters.gatewayVip, Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage ], responses: { - 200: {}, + 200: { + bodyMapper: Mappers.VirtualNetworkGateway + }, 202: {}, - 204: {}, default: { bodyMapper: Mappers.CloudError } @@ -994,9 +972,9 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { serializer }; -const beginUpdateTagsOperationSpec: msRest.OperationSpec = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}", +const beginResetVpnClientSharedKeyOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey", urlParameters: [ Parameters.resourceGroupName, Parameters.virtualNetworkGatewayName, @@ -1008,17 +986,9 @@ const beginUpdateTagsOperationSpec: msRest.OperationSpec = { headerParameters: [ Parameters.acceptLanguage ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.TagsObject, - required: true - } - }, responses: { - 200: { - bodyMapper: Mappers.VirtualNetworkGateway - }, + 200: {}, + 202: {}, default: { bodyMapper: Mappers.CloudError } @@ -1026,24 +996,35 @@ const beginUpdateTagsOperationSpec: msRest.OperationSpec = { serializer }; -const beginResetOperationSpec: msRest.OperationSpec = { +const beginGeneratevpnclientpackageOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage", urlParameters: [ Parameters.resourceGroupName, Parameters.virtualNetworkGatewayName, Parameters.subscriptionId ], queryParameters: [ - Parameters.gatewayVip, Parameters.apiVersion0 ], headerParameters: [ Parameters.acceptLanguage ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.VpnClientParameters, + required: true + } + }, responses: { 200: { - bodyMapper: Mappers.VirtualNetworkGateway + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "String" + } + } }, 202: {}, default: { @@ -1053,9 +1034,9 @@ const beginResetOperationSpec: msRest.OperationSpec = { serializer }; -const beginResetVpnClientSharedKeyOperationSpec: msRest.OperationSpec = { +const beginGenerateVpnProfileOperationSpec: msRest.OperationSpec = { httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile", urlParameters: [ Parameters.resourceGroupName, Parameters.virtualNetworkGatewayName, @@ -1067,8 +1048,22 @@ const beginResetVpnClientSharedKeyOperationSpec: msRest.OperationSpec = { headerParameters: [ Parameters.acceptLanguage ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.VpnClientParameters, + required: true + } + }, responses: { - 200: {}, + 200: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "String" + } + } + }, 202: {}, default: { bodyMapper: Mappers.CloudError diff --git a/sdk/network/arm-network/src/operations/vpnLinkConnections.ts b/sdk/network/arm-network/src/operations/vpnLinkConnections.ts new file mode 100644 index 000000000000..83d64154f7bc --- /dev/null +++ b/sdk/network/arm-network/src/operations/vpnLinkConnections.ts @@ -0,0 +1,141 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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 Models from "../models"; +import * as Mappers from "../models/vpnLinkConnectionsMappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClientContext } from "../networkManagementClientContext"; + +/** Class representing a VpnLinkConnections. */ +export class VpnLinkConnections { + private readonly client: NetworkManagementClientContext; + + /** + * Create a VpnLinkConnections. + * @param {NetworkManagementClientContext} client Reference to the service client. + */ + constructor(client: NetworkManagementClientContext) { + this.client = client; + } + + /** + * Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. + * @param resourceGroupName The resource group name of the VpnGateway. + * @param gatewayName The name of the gateway. + * @param connectionName The name of the vpn connection. + * @param [options] The optional parameters + * @returns Promise + */ + listByVpnConnection(resourceGroupName: string, gatewayName: string, connectionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name of the VpnGateway. + * @param gatewayName The name of the gateway. + * @param connectionName The name of the vpn connection. + * @param callback The callback + */ + listByVpnConnection(resourceGroupName: string, gatewayName: string, connectionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name of the VpnGateway. + * @param gatewayName The name of the gateway. + * @param connectionName The name of the vpn connection. + * @param options The optional parameters + * @param callback The callback + */ + listByVpnConnection(resourceGroupName: string, gatewayName: string, connectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByVpnConnection(resourceGroupName: string, gatewayName: string, connectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + gatewayName, + connectionName, + options + }, + listByVpnConnectionOperationSpec, + callback) as Promise; + } + + /** + * Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByVpnConnectionNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByVpnConnectionNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByVpnConnectionNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByVpnConnectionNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByVpnConnectionNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listByVpnConnectionOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.gatewayName, + Parameters.connectionName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ListVpnSiteLinkConnectionsResult + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const listByVpnConnectionNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ListVpnSiteLinkConnectionsResult + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; diff --git a/sdk/network/arm-network/src/operations/vpnSiteLinkConnections.ts b/sdk/network/arm-network/src/operations/vpnSiteLinkConnections.ts new file mode 100644 index 000000000000..428ef40de8a5 --- /dev/null +++ b/sdk/network/arm-network/src/operations/vpnSiteLinkConnections.ts @@ -0,0 +1,97 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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 Models from "../models"; +import * as Mappers from "../models/vpnSiteLinkConnectionsMappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClientContext } from "../networkManagementClientContext"; + +/** Class representing a VpnSiteLinkConnections. */ +export class VpnSiteLinkConnections { + private readonly client: NetworkManagementClientContext; + + /** + * Create a VpnSiteLinkConnections. + * @param {NetworkManagementClientContext} client Reference to the service client. + */ + constructor(client: NetworkManagementClientContext) { + this.client = client; + } + + /** + * Retrieves the details of a vpn site link connection. + * @param resourceGroupName The resource group name of the VpnGateway. + * @param gatewayName The name of the gateway. + * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn connection. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, gatewayName: string, connectionName: string, linkConnectionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name of the VpnGateway. + * @param gatewayName The name of the gateway. + * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn connection. + * @param callback The callback + */ + get(resourceGroupName: string, gatewayName: string, connectionName: string, linkConnectionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name of the VpnGateway. + * @param gatewayName The name of the gateway. + * @param connectionName The name of the vpn connection. + * @param linkConnectionName The name of the vpn connection. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, gatewayName: string, connectionName: string, linkConnectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, gatewayName: string, connectionName: string, linkConnectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + gatewayName, + connectionName, + linkConnectionName, + options + }, + getOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.gatewayName, + Parameters.connectionName, + Parameters.linkConnectionName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VpnSiteLinkConnection + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; diff --git a/sdk/network/arm-network/src/operations/vpnSiteLinks.ts b/sdk/network/arm-network/src/operations/vpnSiteLinks.ts new file mode 100644 index 000000000000..a43943c975f2 --- /dev/null +++ b/sdk/network/arm-network/src/operations/vpnSiteLinks.ts @@ -0,0 +1,198 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * 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 Models from "../models"; +import * as Mappers from "../models/vpnSiteLinksMappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClientContext } from "../networkManagementClientContext"; + +/** Class representing a VpnSiteLinks. */ +export class VpnSiteLinks { + private readonly client: NetworkManagementClientContext; + + /** + * Create a VpnSiteLinks. + * @param {NetworkManagementClientContext} client Reference to the service client. + */ + constructor(client: NetworkManagementClientContext) { + this.client = client; + } + + /** + * Retrieves the details of a VPN site link. + * @param resourceGroupName The resource group name of the VpnSite. + * @param vpnSiteName The name of the VpnSite. + * @param vpnSiteLinkName The name of the VpnSiteLink being retrieved. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, vpnSiteName: string, vpnSiteLinkName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name of the VpnSite. + * @param vpnSiteName The name of the VpnSite. + * @param vpnSiteLinkName The name of the VpnSiteLink being retrieved. + * @param callback The callback + */ + get(resourceGroupName: string, vpnSiteName: string, vpnSiteLinkName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name of the VpnSite. + * @param vpnSiteName The name of the VpnSite. + * @param vpnSiteLinkName The name of the VpnSiteLink being retrieved. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, vpnSiteName: string, vpnSiteLinkName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, vpnSiteName: string, vpnSiteLinkName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + vpnSiteName, + vpnSiteLinkName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists all the vpnSiteLinks in a resource group for a vpn site. + * @param resourceGroupName The resource group name of the VpnSite. + * @param vpnSiteName The name of the VpnSite. + * @param [options] The optional parameters + * @returns Promise + */ + listByVpnSite(resourceGroupName: string, vpnSiteName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name of the VpnSite. + * @param vpnSiteName The name of the VpnSite. + * @param callback The callback + */ + listByVpnSite(resourceGroupName: string, vpnSiteName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name of the VpnSite. + * @param vpnSiteName The name of the VpnSite. + * @param options The optional parameters + * @param callback The callback + */ + listByVpnSite(resourceGroupName: string, vpnSiteName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByVpnSite(resourceGroupName: string, vpnSiteName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + vpnSiteName, + options + }, + listByVpnSiteOperationSpec, + callback) as Promise; + } + + /** + * Lists all the vpnSiteLinks in a resource group for a vpn site. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByVpnSiteNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByVpnSiteNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByVpnSiteNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByVpnSiteNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByVpnSiteNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks/{vpnSiteLinkName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.vpnSiteName, + Parameters.vpnSiteLinkName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VpnSiteLink + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const listByVpnSiteOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.vpnSiteName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ListVpnSiteLinksResult + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; + +const listByVpnSiteNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ListVpnSiteLinksResult + }, + default: { + bodyMapper: Mappers.ErrorModel + } + }, + serializer +}; diff --git a/sdk/network/arm-network/tsconfig.json b/sdk/network/arm-network/tsconfig.json index 87bbf5b5fa49..422b584abd5e 100644 --- a/sdk/network/arm-network/tsconfig.json +++ b/sdk/network/arm-network/tsconfig.json @@ -9,7 +9,7 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, - "lib": ["es6"], + "lib": ["es6", "dom"], "declaration": true, "outDir": "./esm", "importHelpers": true