From 48b7fd8fd872926801177ecd740ee13b342c0c47 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Mon, 29 Jun 2020 23:40:20 +0000 Subject: [PATCH 1/2] Update from master --- ...atewayPrivateEndpointConnectionsMappers.ts | 290 ++ ...ationGatewayPrivateLinkResourcesMappers.ts | 290 ++ .../src/models/applicationGatewaysMappers.ts | 33 +- .../applicationSecurityGroupsMappers.ts | 33 +- .../availableEndpointServicesMappers.ts | 33 +- .../models/azureFirewallFqdnTagsMappers.ts | 33 +- .../src/models/azureFirewallsMappers.ts | 33 +- .../src/models/bastionHostsMappers.ts | 33 +- .../models/bgpServiceCommunitiesMappers.ts | 33 +- .../src/models/connectionMonitorsMappers.ts | 34 +- .../src/models/ddosCustomPoliciesMappers.ts | 33 +- .../src/models/ddosProtectionPlansMappers.ts | 33 +- .../src/models/defaultSecurityRulesMappers.ts | 33 +- ...xpressRouteCircuitAuthorizationsMappers.ts | 33 +- .../expressRouteCircuitConnectionsMappers.ts | 33 +- .../expressRouteCircuitPeeringsMappers.ts | 33 +- .../src/models/expressRouteCircuitsMappers.ts | 33 +- .../models/expressRouteConnectionsMappers.ts | 33 +- ...ressRouteCrossConnectionPeeringsMappers.ts | 33 +- .../expressRouteCrossConnectionsMappers.ts | 33 +- .../src/models/expressRouteGatewaysMappers.ts | 33 +- .../src/models/expressRouteLinksMappers.ts | 33 +- .../expressRoutePortsLocationsMappers.ts | 33 +- .../src/models/expressRoutePortsMappers.ts | 33 +- .../expressRouteServiceProvidersMappers.ts | 33 +- .../src/models/firewallPoliciesMappers.ts | 33 +- ...rewallPolicyRuleCollectionGroupsMappers.ts | 290 ++ .../arm-network/src/models/flowLogsMappers.ts | 33 +- .../src/models/hubRouteTablesMappers.ts | 33 +- .../hubVirtualNetworkConnectionsMappers.ts | 33 +- .../src/models/inboundNatRulesMappers.ts | 33 +- sdk/network/arm-network/src/models/index.ts | 2388 +++++++++++++---- .../src/models/ipAllocationsMappers.ts | 33 +- .../arm-network/src/models/ipGroupsMappers.ts | 33 +- .../loadBalancerBackendAddressPoolsMappers.ts | 33 +- ...BalancerFrontendIPConfigurationsMappers.ts | 33 +- .../loadBalancerLoadBalancingRulesMappers.ts | 33 +- .../loadBalancerNetworkInterfacesMappers.ts | 33 +- .../loadBalancerOutboundRulesMappers.ts | 33 +- .../src/models/loadBalancerProbesMappers.ts | 33 +- .../src/models/loadBalancersMappers.ts | 33 +- .../src/models/localNetworkGatewaysMappers.ts | 33 +- sdk/network/arm-network/src/models/mappers.ts | 2351 +++++++++++----- .../src/models/natGatewaysMappers.ts | 33 +- ...networkInterfaceIPConfigurationsMappers.ts | 33 +- .../networkInterfaceLoadBalancersMappers.ts | 33 +- ...etworkInterfaceTapConfigurationsMappers.ts | 33 +- .../src/models/networkInterfacesMappers.ts | 33 +- .../src/models/networkProfilesMappers.ts | 33 +- .../models/networkSecurityGroupsMappers.ts | 33 +- .../models/networkVirtualAppliancesMappers.ts | 33 +- .../src/models/networkWatchersMappers.ts | 34 +- .../src/models/p2sVpnGatewaysMappers.ts | 33 +- .../arm-network/src/models/parameters.ts | 38 +- ...erExpressRouteCircuitConnectionsMappers.ts | 33 +- .../src/models/privateDnsZoneGroupsMappers.ts | 33 +- .../src/models/privateEndpointsMappers.ts | 33 +- .../src/models/privateLinkServicesMappers.ts | 33 +- .../src/models/publicIPAddressesMappers.ts | 33 +- .../src/models/publicIPPrefixesMappers.ts | 33 +- .../models/resourceNavigationLinksMappers.ts | 33 +- .../src/models/routeFilterRulesMappers.ts | 33 +- .../src/models/routeFiltersMappers.ts | 33 +- .../src/models/routeTablesMappers.ts | 33 +- .../arm-network/src/models/routesMappers.ts | 33 +- .../models/securityPartnerProvidersMappers.ts | 33 +- .../src/models/securityRulesMappers.ts | 33 +- .../models/serviceAssociationLinksMappers.ts | 33 +- .../models/serviceEndpointPoliciesMappers.ts | 33 +- ...serviceEndpointPolicyDefinitionsMappers.ts | 33 +- .../arm-network/src/models/subnetsMappers.ts | 33 +- .../models/virtualApplianceSitesMappers.ts | 290 ++ .../src/models/virtualApplianceSkusMappers.ts | 290 ++ ...s.ts => virtualHubBgpConnectionMappers.ts} | 34 +- .../models/virtualHubBgpConnectionsMappers.ts | 290 ++ .../virtualHubIpConfigurationMappers.ts | 290 ++ .../models/virtualHubRouteTableV2sMappers.ts | 33 +- .../src/models/virtualHubsMappers.ts | 34 +- ...virtualNetworkGatewayConnectionsMappers.ts | 33 +- .../models/virtualNetworkGatewaysMappers.ts | 33 +- .../models/virtualNetworkPeeringsMappers.ts | 33 +- .../src/models/virtualNetworkTapsMappers.ts | 33 +- .../src/models/virtualNetworksMappers.ts | 33 +- .../models/virtualRouterPeeringsMappers.ts | 33 +- .../src/models/virtualRoutersMappers.ts | 33 +- .../src/models/virtualWansMappers.ts | 33 +- .../src/models/vpnConnectionsMappers.ts | 33 +- .../src/models/vpnGatewaysMappers.ts | 33 +- .../src/models/vpnLinkConnectionsMappers.ts | 33 +- .../models/vpnServerConfigurationsMappers.ts | 33 +- .../models/vpnSiteLinkConnectionsMappers.ts | 33 +- .../src/models/vpnSiteLinksMappers.ts | 33 +- .../arm-network/src/models/vpnSitesMappers.ts | 33 +- .../webApplicationFirewallPoliciesMappers.ts | 33 +- .../src/networkManagementClient.ts | 18 +- ...cationGatewayPrivateEndpointConnections.ts | 330 +++ .../applicationGatewayPrivateLinkResources.ts | 136 + ... => firewallPolicyRuleCollectionGroups.ts} | 126 +- .../hubVirtualNetworkConnections.ts | 134 + .../arm-network/src/operations/index.ts | 9 +- .../src/operations/privateLinkServices.ts | 210 +- .../src/operations/virtualApplianceSites.ts | 332 +++ .../src/operations/virtualApplianceSkus.ts | 178 ++ .../src/operations/virtualHubBgpConnection.ts | 226 ++ .../operations/virtualHubBgpConnections.ts | 136 + .../operations/virtualHubIpConfiguration.ts | 332 +++ .../arm-network/src/operations/virtualHubs.ts | 61 + 107 files changed, 9579 insertions(+), 2232 deletions(-) create mode 100644 sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts create mode 100644 sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts create mode 100644 sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts create mode 100644 sdk/network/arm-network/src/models/virtualApplianceSitesMappers.ts create mode 100644 sdk/network/arm-network/src/models/virtualApplianceSkusMappers.ts rename sdk/network/arm-network/src/models/{firewallPolicyRuleGroupsMappers.ts => virtualHubBgpConnectionMappers.ts} (91%) create mode 100644 sdk/network/arm-network/src/models/virtualHubBgpConnectionsMappers.ts create mode 100644 sdk/network/arm-network/src/models/virtualHubIpConfigurationMappers.ts create mode 100644 sdk/network/arm-network/src/operations/applicationGatewayPrivateEndpointConnections.ts create mode 100644 sdk/network/arm-network/src/operations/applicationGatewayPrivateLinkResources.ts rename sdk/network/arm-network/src/operations/{firewallPolicyRuleGroups.ts => firewallPolicyRuleCollectionGroups.ts} (62%) create mode 100644 sdk/network/arm-network/src/operations/virtualApplianceSites.ts create mode 100644 sdk/network/arm-network/src/operations/virtualApplianceSkus.ts create mode 100644 sdk/network/arm-network/src/operations/virtualHubBgpConnection.ts create mode 100644 sdk/network/arm-network/src/operations/virtualHubBgpConnections.ts create mode 100644 sdk/network/arm-network/src/operations/virtualHubIpConfiguration.ts diff --git a/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts b/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts new file mode 100644 index 000000000000..2528c8fda2ce --- /dev/null +++ b/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts @@ -0,0 +1,290 @@ +/* + * 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, + AadAuthenticationParameters, + AddressSpace, + ApplicationGateway, + ApplicationGatewayAuthenticationCertificate, + ApplicationGatewayAutoscaleConfiguration, + ApplicationGatewayAvailableSslOptions, + ApplicationGatewayBackendAddress, + ApplicationGatewayBackendAddressPool, + ApplicationGatewayBackendHttpSettings, + ApplicationGatewayConnectionDraining, + ApplicationGatewayCustomError, + ApplicationGatewayFirewallDisabledRuleGroup, + ApplicationGatewayFirewallExclusion, + ApplicationGatewayFirewallRule, + ApplicationGatewayFirewallRuleGroup, + ApplicationGatewayFirewallRuleSet, + ApplicationGatewayFrontendIPConfiguration, + ApplicationGatewayFrontendPort, + ApplicationGatewayHeaderConfiguration, + ApplicationGatewayHttpListener, + ApplicationGatewayIPConfiguration, + ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateEndpointConnectionListResult, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, + ApplicationGatewayProbe, + ApplicationGatewayProbeHealthResponseMatch, + ApplicationGatewayRedirectConfiguration, + ApplicationGatewayRequestRoutingRule, + ApplicationGatewayRewriteRule, + ApplicationGatewayRewriteRuleActionSet, + ApplicationGatewayRewriteRuleCondition, + ApplicationGatewayRewriteRuleSet, + ApplicationGatewaySku, + ApplicationGatewaySslCertificate, + ApplicationGatewaySslPolicy, + ApplicationGatewaySslPredefinedPolicy, + ApplicationGatewayTrustedRootCertificate, + ApplicationGatewayUrlConfiguration, + ApplicationGatewayUrlPathMap, + ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRule, + ApplicationSecurityGroup, + AzureFirewall, + AzureFirewallApplicationRule, + AzureFirewallApplicationRuleCollection, + AzureFirewallApplicationRuleProtocol, + AzureFirewallFqdnTag, + AzureFirewallIPConfiguration, + AzureFirewallIpGroups, + AzureFirewallNatRCAction, + AzureFirewallNatRule, + AzureFirewallNatRuleCollection, + AzureFirewallNetworkRule, + AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, + AzureFirewallRCAction, + AzureFirewallSku, + BackendAddressPool, + BaseResource, + BastionHost, + BastionHostIPConfiguration, + BGPCommunity, + BgpConnection, + BgpServiceCommunity, + BgpSettings, + BreakOutCategoryPolicies, + CloudError, + ConnectionMonitorDestination, + ConnectionMonitorEndpoint, + ConnectionMonitorEndpointFilter, + ConnectionMonitorEndpointFilterItem, + ConnectionMonitorHttpConfiguration, + ConnectionMonitorIcmpConfiguration, + ConnectionMonitorOutput, + ConnectionMonitorResult, + ConnectionMonitorSource, + ConnectionMonitorSuccessThreshold, + ConnectionMonitorTcpConfiguration, + ConnectionMonitorTestConfiguration, + ConnectionMonitorTestGroup, + ConnectionMonitorWorkspaceSettings, + ConnectionSharedKey, + Container, + ContainerNetworkInterface, + ContainerNetworkInterfaceConfiguration, + ContainerNetworkInterfaceIpConfiguration, + CustomDnsConfigPropertiesFormat, + DdosCustomPolicy, + DdosProtectionPlan, + DdosSettings, + Delegation, + DeviceProperties, + DhcpOptions, + DnsSettings, + EndpointServiceResult, + ExpressRouteCircuit, + ExpressRouteCircuitAuthorization, + ExpressRouteCircuitConnection, + ExpressRouteCircuitPeering, + ExpressRouteCircuitPeeringConfig, + ExpressRouteCircuitPeeringId, + ExpressRouteCircuitReference, + ExpressRouteCircuitServiceProviderProperties, + ExpressRouteCircuitSku, + ExpressRouteCircuitStats, + ExpressRouteConnection, + ExpressRouteConnectionId, + ExpressRouteCrossConnection, + ExpressRouteCrossConnectionPeering, + ExpressRouteGateway, + ExpressRouteGatewayPropertiesAutoScaleConfiguration, + ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds, + ExpressRouteLink, + ExpressRouteLinkMacSecConfig, + ExpressRoutePort, + ExpressRoutePortsLocation, + ExpressRoutePortsLocationBandwidths, + ExpressRouteServiceProvider, + ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyCertificateAuthority, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, + FirewallPolicyRule, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, + FirewallPolicyThreatIntelWhitelist, + FirewallPolicyTransportSecurity, + FirewallPolicyTrustedRootCertificate, + FlowLog, + FlowLogFormatParameters, + FrontendIPConfiguration, + HTTPHeader, + HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, + HubRoute, + HubRouteTable, + HubVirtualNetworkConnection, + InboundNatPool, + InboundNatRule, + IpAllocation, + IPConfiguration, + IPConfigurationBgpPeeringAddress, + IPConfigurationProfile, + IpGroup, + IpsecPolicy, + IpTag, + Ipv6CircuitConnectionConfig, + Ipv6ExpressRouteCircuitPeeringConfig, + LoadBalancer, + LoadBalancerBackendAddress, + LoadBalancerSku, + LoadBalancingRule, + LocalNetworkGateway, + ManagedRuleGroupOverride, + ManagedRuleOverride, + ManagedRulesDefinition, + ManagedRuleSet, + ManagedServiceIdentity, + ManagedServiceIdentityUserAssignedIdentitiesValue, + MatchCondition, + MatchVariable, + NatGateway, + NatGatewaySku, + NatRule, + NetworkIntentPolicy, + NetworkInterface, + NetworkInterfaceDnsSettings, + NetworkInterfaceIPConfiguration, + NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, + NetworkInterfaceTapConfiguration, + NetworkProfile, + NetworkRule, + NetworkSecurityGroup, + NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, + NetworkWatcher, + Office365PolicyProperties, + OutboundRule, + OwaspCrsExclusionEntry, + P2SConnectionConfiguration, + P2SVpnGateway, + PatchRouteFilter, + PatchRouteFilterRule, + PeerExpressRouteCircuitConnection, + PolicySettings, + PrivateDnsZoneConfig, + PrivateDnsZoneGroup, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkService, + PrivateLinkServiceConnection, + PrivateLinkServiceConnectionState, + PrivateLinkServiceIpConfiguration, + PrivateLinkServicePropertiesAutoApproval, + PrivateLinkServicePropertiesVisibility, + Probe, + PropagatedRouteTable, + ProtocolCustomSettingsFormat, + PublicIPAddress, + PublicIPAddressDnsSettings, + PublicIPAddressSku, + PublicIPPrefix, + PublicIPPrefixSku, + RadiusServer, + RecordSet, + ReferencedPublicIpAddress, + Resource, + ResourceNavigationLink, + ResourceSet, + RetentionPolicyParameters, + Route, + RouteFilter, + RouteFilterRule, + RouteTable, + RoutingConfiguration, + SecurityPartnerProvider, + SecurityRule, + ServiceAssociationLink, + ServiceEndpointPolicy, + ServiceEndpointPolicyDefinition, + ServiceEndpointPropertiesFormat, + StaticRoute, + Subnet, + SubResource, + TrafficAnalyticsConfigurationProperties, + TrafficAnalyticsProperties, + TrafficSelectorPolicy, + TunnelConnectionHealth, + VirtualApplianceNicProperties, + VirtualApplianceSite, + VirtualApplianceSkuProperties, + VirtualHub, + VirtualHubId, + VirtualHubRoute, + VirtualHubRouteTable, + VirtualHubRouteTableV2, + VirtualHubRouteV2, + VirtualNetwork, + VirtualNetworkBgpCommunities, + VirtualNetworkConnectionGatewayReference, + VirtualNetworkGateway, + VirtualNetworkGatewayConnection, + VirtualNetworkGatewayConnectionListEntity, + VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewaySku, + VirtualNetworkPeering, + VirtualNetworkTap, + VirtualRouter, + VirtualRouterPeering, + VirtualWAN, + VM, + VnetRoute, + VpnClientConfiguration, + VpnClientConnectionHealth, + VpnClientRevokedCertificate, + VpnClientRootCertificate, + VpnConnection, + VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, + VpnServerConfigRadiusClientRootCertificate, + VpnServerConfigRadiusServerRootCertificate, + VpnServerConfiguration, + VpnServerConfigVpnClientRevokedCertificate, + VpnServerConfigVpnClientRootCertificate, + VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, + WebApplicationFirewallCustomRule, + WebApplicationFirewallPolicy +} from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts b/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts new file mode 100644 index 000000000000..0b0901be9add --- /dev/null +++ b/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts @@ -0,0 +1,290 @@ +/* + * 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, + AadAuthenticationParameters, + AddressSpace, + ApplicationGateway, + ApplicationGatewayAuthenticationCertificate, + ApplicationGatewayAutoscaleConfiguration, + ApplicationGatewayAvailableSslOptions, + ApplicationGatewayBackendAddress, + ApplicationGatewayBackendAddressPool, + ApplicationGatewayBackendHttpSettings, + ApplicationGatewayConnectionDraining, + ApplicationGatewayCustomError, + ApplicationGatewayFirewallDisabledRuleGroup, + ApplicationGatewayFirewallExclusion, + ApplicationGatewayFirewallRule, + ApplicationGatewayFirewallRuleGroup, + ApplicationGatewayFirewallRuleSet, + ApplicationGatewayFrontendIPConfiguration, + ApplicationGatewayFrontendPort, + ApplicationGatewayHeaderConfiguration, + ApplicationGatewayHttpListener, + ApplicationGatewayIPConfiguration, + ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, + ApplicationGatewayPrivateLinkResourceListResult, + ApplicationGatewayProbe, + ApplicationGatewayProbeHealthResponseMatch, + ApplicationGatewayRedirectConfiguration, + ApplicationGatewayRequestRoutingRule, + ApplicationGatewayRewriteRule, + ApplicationGatewayRewriteRuleActionSet, + ApplicationGatewayRewriteRuleCondition, + ApplicationGatewayRewriteRuleSet, + ApplicationGatewaySku, + ApplicationGatewaySslCertificate, + ApplicationGatewaySslPolicy, + ApplicationGatewaySslPredefinedPolicy, + ApplicationGatewayTrustedRootCertificate, + ApplicationGatewayUrlConfiguration, + ApplicationGatewayUrlPathMap, + ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRule, + ApplicationSecurityGroup, + AzureFirewall, + AzureFirewallApplicationRule, + AzureFirewallApplicationRuleCollection, + AzureFirewallApplicationRuleProtocol, + AzureFirewallFqdnTag, + AzureFirewallIPConfiguration, + AzureFirewallIpGroups, + AzureFirewallNatRCAction, + AzureFirewallNatRule, + AzureFirewallNatRuleCollection, + AzureFirewallNetworkRule, + AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, + AzureFirewallRCAction, + AzureFirewallSku, + BackendAddressPool, + BaseResource, + BastionHost, + BastionHostIPConfiguration, + BGPCommunity, + BgpConnection, + BgpServiceCommunity, + BgpSettings, + BreakOutCategoryPolicies, + CloudError, + ConnectionMonitorDestination, + ConnectionMonitorEndpoint, + ConnectionMonitorEndpointFilter, + ConnectionMonitorEndpointFilterItem, + ConnectionMonitorHttpConfiguration, + ConnectionMonitorIcmpConfiguration, + ConnectionMonitorOutput, + ConnectionMonitorResult, + ConnectionMonitorSource, + ConnectionMonitorSuccessThreshold, + ConnectionMonitorTcpConfiguration, + ConnectionMonitorTestConfiguration, + ConnectionMonitorTestGroup, + ConnectionMonitorWorkspaceSettings, + ConnectionSharedKey, + Container, + ContainerNetworkInterface, + ContainerNetworkInterfaceConfiguration, + ContainerNetworkInterfaceIpConfiguration, + CustomDnsConfigPropertiesFormat, + DdosCustomPolicy, + DdosProtectionPlan, + DdosSettings, + Delegation, + DeviceProperties, + DhcpOptions, + DnsSettings, + EndpointServiceResult, + ExpressRouteCircuit, + ExpressRouteCircuitAuthorization, + ExpressRouteCircuitConnection, + ExpressRouteCircuitPeering, + ExpressRouteCircuitPeeringConfig, + ExpressRouteCircuitPeeringId, + ExpressRouteCircuitReference, + ExpressRouteCircuitServiceProviderProperties, + ExpressRouteCircuitSku, + ExpressRouteCircuitStats, + ExpressRouteConnection, + ExpressRouteConnectionId, + ExpressRouteCrossConnection, + ExpressRouteCrossConnectionPeering, + ExpressRouteGateway, + ExpressRouteGatewayPropertiesAutoScaleConfiguration, + ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds, + ExpressRouteLink, + ExpressRouteLinkMacSecConfig, + ExpressRoutePort, + ExpressRoutePortsLocation, + ExpressRoutePortsLocationBandwidths, + ExpressRouteServiceProvider, + ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyCertificateAuthority, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, + FirewallPolicyRule, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, + FirewallPolicyThreatIntelWhitelist, + FirewallPolicyTransportSecurity, + FirewallPolicyTrustedRootCertificate, + FlowLog, + FlowLogFormatParameters, + FrontendIPConfiguration, + HTTPHeader, + HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, + HubRoute, + HubRouteTable, + HubVirtualNetworkConnection, + InboundNatPool, + InboundNatRule, + IpAllocation, + IPConfiguration, + IPConfigurationBgpPeeringAddress, + IPConfigurationProfile, + IpGroup, + IpsecPolicy, + IpTag, + Ipv6CircuitConnectionConfig, + Ipv6ExpressRouteCircuitPeeringConfig, + LoadBalancer, + LoadBalancerBackendAddress, + LoadBalancerSku, + LoadBalancingRule, + LocalNetworkGateway, + ManagedRuleGroupOverride, + ManagedRuleOverride, + ManagedRulesDefinition, + ManagedRuleSet, + ManagedServiceIdentity, + ManagedServiceIdentityUserAssignedIdentitiesValue, + MatchCondition, + MatchVariable, + NatGateway, + NatGatewaySku, + NatRule, + NetworkIntentPolicy, + NetworkInterface, + NetworkInterfaceDnsSettings, + NetworkInterfaceIPConfiguration, + NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, + NetworkInterfaceTapConfiguration, + NetworkProfile, + NetworkRule, + NetworkSecurityGroup, + NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, + NetworkWatcher, + Office365PolicyProperties, + OutboundRule, + OwaspCrsExclusionEntry, + P2SConnectionConfiguration, + P2SVpnGateway, + PatchRouteFilter, + PatchRouteFilterRule, + PeerExpressRouteCircuitConnection, + PolicySettings, + PrivateDnsZoneConfig, + PrivateDnsZoneGroup, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkService, + PrivateLinkServiceConnection, + PrivateLinkServiceConnectionState, + PrivateLinkServiceIpConfiguration, + PrivateLinkServicePropertiesAutoApproval, + PrivateLinkServicePropertiesVisibility, + Probe, + PropagatedRouteTable, + ProtocolCustomSettingsFormat, + PublicIPAddress, + PublicIPAddressDnsSettings, + PublicIPAddressSku, + PublicIPPrefix, + PublicIPPrefixSku, + RadiusServer, + RecordSet, + ReferencedPublicIpAddress, + Resource, + ResourceNavigationLink, + ResourceSet, + RetentionPolicyParameters, + Route, + RouteFilter, + RouteFilterRule, + RouteTable, + RoutingConfiguration, + SecurityPartnerProvider, + SecurityRule, + ServiceAssociationLink, + ServiceEndpointPolicy, + ServiceEndpointPolicyDefinition, + ServiceEndpointPropertiesFormat, + StaticRoute, + Subnet, + SubResource, + TrafficAnalyticsConfigurationProperties, + TrafficAnalyticsProperties, + TrafficSelectorPolicy, + TunnelConnectionHealth, + VirtualApplianceNicProperties, + VirtualApplianceSite, + VirtualApplianceSkuProperties, + VirtualHub, + VirtualHubId, + VirtualHubRoute, + VirtualHubRouteTable, + VirtualHubRouteTableV2, + VirtualHubRouteV2, + VirtualNetwork, + VirtualNetworkBgpCommunities, + VirtualNetworkConnectionGatewayReference, + VirtualNetworkGateway, + VirtualNetworkGatewayConnection, + VirtualNetworkGatewayConnectionListEntity, + VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewaySku, + VirtualNetworkPeering, + VirtualNetworkTap, + VirtualRouter, + VirtualRouterPeering, + VirtualWAN, + VM, + VnetRoute, + VpnClientConfiguration, + VpnClientConnectionHealth, + VpnClientRevokedCertificate, + VpnClientRootCertificate, + VpnConnection, + VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, + VpnServerConfigRadiusClientRootCertificate, + VpnServerConfigRadiusServerRootCertificate, + VpnServerConfiguration, + VpnServerConfigVpnClientRevokedCertificate, + VpnServerConfigVpnClientRootCertificate, + VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, + WebApplicationFirewallCustomRule, + WebApplicationFirewallPolicy +} from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts b/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts index 61de09dd0e32..588333e0027b 100644 --- a/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts @@ -39,6 +39,10 @@ export { ApplicationGatewayListResult, ApplicationGatewayOnDemandProbe, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -55,7 +59,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -77,8 +81,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -106,6 +112,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ErrorDetails, ErrorModel, @@ -135,14 +142,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -151,6 +158,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -180,7 +189,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -188,10 +197,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -245,6 +257,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts b/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts index adc4a992a678..52ff3c0cade9 100644 --- a/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, ApplicationSecurityGroupListResult, AzureFirewall, @@ -69,8 +73,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -98,6 +104,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, @@ -125,14 +132,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -141,6 +148,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -170,7 +179,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -178,10 +187,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -235,6 +247,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts b/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts index afea9566eca2..ff8a76dfcd61 100644 --- a/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts +++ b/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -68,8 +72,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -97,6 +103,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, EndpointServicesListResult, ExpressRouteCircuit, @@ -125,14 +132,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -141,6 +148,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -170,7 +179,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -178,10 +187,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -234,6 +246,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts b/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts index 3c81d0f4586c..eeae81b4e562 100644 --- a/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts +++ b/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -69,8 +73,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -98,6 +104,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, @@ -125,14 +132,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -141,6 +148,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -170,7 +179,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -178,10 +187,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -234,6 +246,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/azureFirewallsMappers.ts b/sdk/network/arm-network/src/models/azureFirewallsMappers.ts index c3ea4d791fa3..3694470a2cbd 100644 --- a/sdk/network/arm-network/src/models/azureFirewallsMappers.ts +++ b/sdk/network/arm-network/src/models/azureFirewallsMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -69,8 +73,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -98,6 +104,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, @@ -125,14 +132,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -141,6 +148,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -170,7 +179,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -178,10 +187,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -235,6 +247,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/bastionHostsMappers.ts b/sdk/network/arm-network/src/models/bastionHostsMappers.ts index 458b483e245a..565b29fb2356 100644 --- a/sdk/network/arm-network/src/models/bastionHostsMappers.ts +++ b/sdk/network/arm-network/src/models/bastionHostsMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -69,8 +73,10 @@ export { BastionHostIPConfiguration, BastionHostListResult, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -98,6 +104,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, @@ -125,14 +132,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -141,6 +148,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -170,7 +179,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -178,10 +187,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -234,6 +246,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts b/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts index 6d69e42676bd..f55771393a04 100644 --- a/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts +++ b/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -68,9 +72,11 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpServiceCommunityListResult, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -98,6 +104,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, @@ -125,14 +132,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -141,6 +148,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -170,7 +179,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -178,10 +187,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -234,6 +246,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts b/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts index e25ebe3a7eba..285e97137907 100644 --- a/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts +++ b/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -68,8 +72,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, ConnectionMonitor, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -102,6 +108,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ErrorDetails, ErrorResponse, @@ -131,22 +138,25 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + HopLink, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -176,7 +186,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -184,10 +194,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -241,6 +254,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts b/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts index 286cc53ab85c..61913eba9b37 100644 --- a/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -68,8 +72,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -97,6 +103,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, @@ -124,14 +131,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -140,6 +147,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -169,7 +178,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -177,10 +186,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -234,6 +246,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts b/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts index 638d2b5b2c3e..17a85b4656a5 100644 --- a/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts +++ b/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -68,8 +72,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -98,6 +104,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, @@ -125,14 +132,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -141,6 +148,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -170,7 +179,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -178,10 +187,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -235,6 +247,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts b/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts index e0990964baed..a731394592a8 100644 --- a/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts +++ b/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -68,8 +72,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -97,6 +103,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, @@ -124,14 +131,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -140,6 +147,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -169,7 +178,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -177,10 +186,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -234,6 +246,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts index b526c5ba59b4..193bf4a65dbc 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AuthorizationListResult, AzureFirewall, @@ -69,8 +73,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -98,6 +104,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, @@ -125,14 +132,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -141,6 +148,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -170,7 +179,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -178,10 +187,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -234,6 +246,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts index ac0c5961fb60..7fb6c33a3f59 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -68,8 +72,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -97,6 +103,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, @@ -125,14 +132,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -141,6 +148,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -170,7 +179,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -178,10 +187,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -234,6 +246,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts index 7b06669114e7..249c69e8dbca 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -68,8 +72,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -97,6 +103,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, @@ -125,14 +132,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -141,6 +148,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -170,7 +179,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -178,10 +187,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -234,6 +246,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts index 451c4bcce8b6..94b15312b0a7 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -68,8 +72,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -97,6 +103,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitArpTable, @@ -131,14 +138,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -147,6 +154,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -176,7 +185,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -184,10 +193,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -241,6 +253,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts index 1bb85e8385c0..29fad1de4d38 100644 --- a/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -68,8 +72,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -97,6 +103,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, @@ -125,14 +132,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -141,6 +148,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -170,7 +179,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -178,10 +187,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -234,6 +246,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts index e39504dfe499..ae7d96aa20a4 100644 --- a/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -68,8 +72,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -97,6 +103,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, @@ -125,14 +132,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -141,6 +148,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -170,7 +179,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -178,10 +187,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -234,6 +246,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts index 5cc2dcc28675..b0b285242539 100644 --- a/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -68,8 +72,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -97,6 +103,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitArpTable, @@ -131,14 +138,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -147,6 +154,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -176,7 +185,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -184,10 +193,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -241,6 +253,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts b/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts index 2d33a40f38b9..2d898f09bff0 100644 --- a/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -68,8 +72,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -97,6 +103,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, @@ -125,14 +132,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -141,6 +148,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -170,7 +179,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -178,10 +187,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -234,6 +246,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts b/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts index 5dd5d90c4275..eabc8a81b3b6 100644 --- a/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -68,8 +72,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -97,6 +103,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, @@ -125,14 +132,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -141,6 +148,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -170,7 +179,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -178,10 +187,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -234,6 +246,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts b/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts index 04e707f0f18e..52446d5684fd 100644 --- a/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -68,8 +72,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -97,6 +103,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, @@ -125,14 +132,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -141,6 +148,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -170,7 +179,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -178,10 +187,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -234,6 +246,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts b/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts index 38b552bcba65..d8883e35a5b9 100644 --- a/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -68,8 +72,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -97,6 +103,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, @@ -125,14 +132,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -141,6 +148,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -170,7 +179,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -178,10 +187,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -235,6 +247,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts b/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts index 39b91be08933..c131dcbb127a 100644 --- a/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -68,8 +72,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -97,6 +103,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, @@ -125,14 +132,14 @@ export { ExpressRouteServiceProviderListResult, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -141,6 +148,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -170,7 +179,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -178,10 +187,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -234,6 +246,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts b/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts index 7035a08b1d04..7099836be302 100644 --- a/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -68,8 +72,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -97,6 +103,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, @@ -124,15 +131,15 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, FirewallPolicyListResult, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -141,6 +148,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -170,7 +179,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -178,10 +187,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -234,6 +246,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts b/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts new file mode 100644 index 000000000000..60a8222392ef --- /dev/null +++ b/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts @@ -0,0 +1,290 @@ +/* + * 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, + AadAuthenticationParameters, + AddressSpace, + ApplicationGateway, + ApplicationGatewayAuthenticationCertificate, + ApplicationGatewayAutoscaleConfiguration, + ApplicationGatewayAvailableSslOptions, + ApplicationGatewayBackendAddress, + ApplicationGatewayBackendAddressPool, + ApplicationGatewayBackendHttpSettings, + ApplicationGatewayConnectionDraining, + ApplicationGatewayCustomError, + ApplicationGatewayFirewallDisabledRuleGroup, + ApplicationGatewayFirewallExclusion, + ApplicationGatewayFirewallRule, + ApplicationGatewayFirewallRuleGroup, + ApplicationGatewayFirewallRuleSet, + ApplicationGatewayFrontendIPConfiguration, + ApplicationGatewayFrontendPort, + ApplicationGatewayHeaderConfiguration, + ApplicationGatewayHttpListener, + ApplicationGatewayIPConfiguration, + ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, + ApplicationGatewayProbe, + ApplicationGatewayProbeHealthResponseMatch, + ApplicationGatewayRedirectConfiguration, + ApplicationGatewayRequestRoutingRule, + ApplicationGatewayRewriteRule, + ApplicationGatewayRewriteRuleActionSet, + ApplicationGatewayRewriteRuleCondition, + ApplicationGatewayRewriteRuleSet, + ApplicationGatewaySku, + ApplicationGatewaySslCertificate, + ApplicationGatewaySslPolicy, + ApplicationGatewaySslPredefinedPolicy, + ApplicationGatewayTrustedRootCertificate, + ApplicationGatewayUrlConfiguration, + ApplicationGatewayUrlPathMap, + ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRule, + ApplicationSecurityGroup, + AzureFirewall, + AzureFirewallApplicationRule, + AzureFirewallApplicationRuleCollection, + AzureFirewallApplicationRuleProtocol, + AzureFirewallFqdnTag, + AzureFirewallIPConfiguration, + AzureFirewallIpGroups, + AzureFirewallNatRCAction, + AzureFirewallNatRule, + AzureFirewallNatRuleCollection, + AzureFirewallNetworkRule, + AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, + AzureFirewallRCAction, + AzureFirewallSku, + BackendAddressPool, + BaseResource, + BastionHost, + BastionHostIPConfiguration, + BGPCommunity, + BgpConnection, + BgpServiceCommunity, + BgpSettings, + BreakOutCategoryPolicies, + CloudError, + ConnectionMonitorDestination, + ConnectionMonitorEndpoint, + ConnectionMonitorEndpointFilter, + ConnectionMonitorEndpointFilterItem, + ConnectionMonitorHttpConfiguration, + ConnectionMonitorIcmpConfiguration, + ConnectionMonitorOutput, + ConnectionMonitorResult, + ConnectionMonitorSource, + ConnectionMonitorSuccessThreshold, + ConnectionMonitorTcpConfiguration, + ConnectionMonitorTestConfiguration, + ConnectionMonitorTestGroup, + ConnectionMonitorWorkspaceSettings, + ConnectionSharedKey, + Container, + ContainerNetworkInterface, + ContainerNetworkInterfaceConfiguration, + ContainerNetworkInterfaceIpConfiguration, + CustomDnsConfigPropertiesFormat, + DdosCustomPolicy, + DdosProtectionPlan, + DdosSettings, + Delegation, + DeviceProperties, + DhcpOptions, + DnsSettings, + EndpointServiceResult, + ExpressRouteCircuit, + ExpressRouteCircuitAuthorization, + ExpressRouteCircuitConnection, + ExpressRouteCircuitPeering, + ExpressRouteCircuitPeeringConfig, + ExpressRouteCircuitPeeringId, + ExpressRouteCircuitReference, + ExpressRouteCircuitServiceProviderProperties, + ExpressRouteCircuitSku, + ExpressRouteCircuitStats, + ExpressRouteConnection, + ExpressRouteConnectionId, + ExpressRouteCrossConnection, + ExpressRouteCrossConnectionPeering, + ExpressRouteGateway, + ExpressRouteGatewayPropertiesAutoScaleConfiguration, + ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds, + ExpressRouteLink, + ExpressRouteLinkMacSecConfig, + ExpressRoutePort, + ExpressRoutePortsLocation, + ExpressRoutePortsLocationBandwidths, + ExpressRouteServiceProvider, + ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyCertificateAuthority, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, + FirewallPolicyRule, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, + FirewallPolicyRuleCollectionGroupListResult, + FirewallPolicyThreatIntelWhitelist, + FirewallPolicyTransportSecurity, + FirewallPolicyTrustedRootCertificate, + FlowLog, + FlowLogFormatParameters, + FrontendIPConfiguration, + HTTPHeader, + HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, + HubRoute, + HubRouteTable, + HubVirtualNetworkConnection, + InboundNatPool, + InboundNatRule, + IpAllocation, + IPConfiguration, + IPConfigurationBgpPeeringAddress, + IPConfigurationProfile, + IpGroup, + IpsecPolicy, + IpTag, + Ipv6CircuitConnectionConfig, + Ipv6ExpressRouteCircuitPeeringConfig, + LoadBalancer, + LoadBalancerBackendAddress, + LoadBalancerSku, + LoadBalancingRule, + LocalNetworkGateway, + ManagedRuleGroupOverride, + ManagedRuleOverride, + ManagedRulesDefinition, + ManagedRuleSet, + ManagedServiceIdentity, + ManagedServiceIdentityUserAssignedIdentitiesValue, + MatchCondition, + MatchVariable, + NatGateway, + NatGatewaySku, + NatRule, + NetworkIntentPolicy, + NetworkInterface, + NetworkInterfaceDnsSettings, + NetworkInterfaceIPConfiguration, + NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, + NetworkInterfaceTapConfiguration, + NetworkProfile, + NetworkRule, + NetworkSecurityGroup, + NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, + NetworkWatcher, + Office365PolicyProperties, + OutboundRule, + OwaspCrsExclusionEntry, + P2SConnectionConfiguration, + P2SVpnGateway, + PatchRouteFilter, + PatchRouteFilterRule, + PeerExpressRouteCircuitConnection, + PolicySettings, + PrivateDnsZoneConfig, + PrivateDnsZoneGroup, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkService, + PrivateLinkServiceConnection, + PrivateLinkServiceConnectionState, + PrivateLinkServiceIpConfiguration, + PrivateLinkServicePropertiesAutoApproval, + PrivateLinkServicePropertiesVisibility, + Probe, + PropagatedRouteTable, + ProtocolCustomSettingsFormat, + PublicIPAddress, + PublicIPAddressDnsSettings, + PublicIPAddressSku, + PublicIPPrefix, + PublicIPPrefixSku, + RadiusServer, + RecordSet, + ReferencedPublicIpAddress, + Resource, + ResourceNavigationLink, + ResourceSet, + RetentionPolicyParameters, + Route, + RouteFilter, + RouteFilterRule, + RouteTable, + RoutingConfiguration, + SecurityPartnerProvider, + SecurityRule, + ServiceAssociationLink, + ServiceEndpointPolicy, + ServiceEndpointPolicyDefinition, + ServiceEndpointPropertiesFormat, + StaticRoute, + Subnet, + SubResource, + TrafficAnalyticsConfigurationProperties, + TrafficAnalyticsProperties, + TrafficSelectorPolicy, + TunnelConnectionHealth, + VirtualApplianceNicProperties, + VirtualApplianceSite, + VirtualApplianceSkuProperties, + VirtualHub, + VirtualHubId, + VirtualHubRoute, + VirtualHubRouteTable, + VirtualHubRouteTableV2, + VirtualHubRouteV2, + VirtualNetwork, + VirtualNetworkBgpCommunities, + VirtualNetworkConnectionGatewayReference, + VirtualNetworkGateway, + VirtualNetworkGatewayConnection, + VirtualNetworkGatewayConnectionListEntity, + VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewaySku, + VirtualNetworkPeering, + VirtualNetworkTap, + VirtualRouter, + VirtualRouterPeering, + VirtualWAN, + VM, + VnetRoute, + VpnClientConfiguration, + VpnClientConnectionHealth, + VpnClientRevokedCertificate, + VpnClientRootCertificate, + VpnConnection, + VpnGateway, + VpnLinkBgpSettings, + VpnLinkProviderProperties, + VpnServerConfigRadiusClientRootCertificate, + VpnServerConfigRadiusServerRootCertificate, + VpnServerConfiguration, + VpnServerConfigVpnClientRevokedCertificate, + VpnServerConfigVpnClientRootCertificate, + VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, + WebApplicationFirewallCustomRule, + WebApplicationFirewallPolicy +} from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/flowLogsMappers.ts b/sdk/network/arm-network/src/models/flowLogsMappers.ts index 2d0e85afa2b0..d688a6b67d5b 100644 --- a/sdk/network/arm-network/src/models/flowLogsMappers.ts +++ b/sdk/network/arm-network/src/models/flowLogsMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -68,8 +72,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, ConnectionMonitorDestination, ConnectionMonitorEndpoint, ConnectionMonitorEndpointFilter, @@ -96,6 +102,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ErrorDetails, ErrorResponse, @@ -125,14 +132,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -142,6 +149,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -171,7 +180,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -179,10 +188,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -235,6 +247,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts b/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts index 08e2e948d055..17396d2fe4e3 100644 --- a/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts +++ b/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -68,8 +72,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -97,6 +103,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, @@ -124,14 +131,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -140,6 +147,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -170,7 +179,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -178,10 +187,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -234,6 +246,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts b/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts index 9b59655bbc9e..758985e2e3d6 100644 --- a/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -68,8 +72,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -97,6 +103,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, @@ -124,14 +131,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -140,6 +147,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -170,7 +179,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -178,10 +187,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -234,6 +246,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts b/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts index 50c177562f66..9049c3ede699 100644 --- a/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts +++ b/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts @@ -30,6 +30,10 @@ export { ApplicationGatewayHttpListener, ApplicationGatewayIPConfiguration, ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, ApplicationGatewayProbe, ApplicationGatewayProbeHealthResponseMatch, ApplicationGatewayRedirectConfiguration, @@ -46,7 +50,7 @@ export { ApplicationGatewayUrlConfiguration, ApplicationGatewayUrlPathMap, ApplicationGatewayWebApplicationFirewallConfiguration, - ApplicationRuleCondition, + ApplicationRule, ApplicationSecurityGroup, AzureFirewall, AzureFirewallApplicationRule, @@ -68,8 +72,10 @@ export { BastionHost, BastionHostIPConfiguration, BGPCommunity, + BgpConnection, BgpServiceCommunity, BgpSettings, + BreakOutCategoryPolicies, CloudError, ConnectionMonitorDestination, ConnectionMonitorEndpoint, @@ -97,6 +103,7 @@ export { Delegation, DeviceProperties, DhcpOptions, + DnsSettings, EndpointServiceResult, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, @@ -124,14 +131,14 @@ export { ExpressRouteServiceProviderBandwidthsOffered, FirewallPolicy, FirewallPolicyCertificateAuthority, - FirewallPolicyFilterRule, - FirewallPolicyFilterRuleAction, - FirewallPolicyNatRule, - FirewallPolicyNatRuleAction, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, FirewallPolicyRule, - FirewallPolicyRuleCondition, - FirewallPolicyRuleConditionApplicationProtocol, - FirewallPolicyRuleGroup, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, FirewallPolicyThreatIntelWhitelist, FirewallPolicyTransportSecurity, FirewallPolicyTrustedRootCertificate, @@ -140,6 +147,8 @@ export { FrontendIPConfiguration, HTTPHeader, HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, HubRoute, HubRouteTable, HubVirtualNetworkConnection, @@ -170,7 +179,7 @@ export { MatchVariable, NatGateway, NatGatewaySku, - NatRuleCondition, + NatRule, NetworkIntentPolicy, NetworkInterface, NetworkInterfaceDnsSettings, @@ -178,10 +187,13 @@ export { NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, NetworkInterfaceTapConfiguration, NetworkProfile, - NetworkRuleCondition, + NetworkRule, NetworkSecurityGroup, NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, NetworkWatcher, + Office365PolicyProperties, OutboundRule, OwaspCrsExclusionEntry, P2SConnectionConfiguration, @@ -234,6 +246,7 @@ export { TrafficSelectorPolicy, TunnelConnectionHealth, VirtualApplianceNicProperties, + VirtualApplianceSite, VirtualApplianceSkuProperties, VirtualHub, VirtualHubId, diff --git a/sdk/network/arm-network/src/models/index.ts b/sdk/network/arm-network/src/models/index.ts index 33f14fdf22e4..9cdc6fded1a0 100644 --- a/sdk/network/arm-network/src/models/index.ts +++ b/sdk/network/arm-network/src/models/index.ts @@ -1311,163 +1311,6 @@ export interface VirtualNetworkTap extends Resource { readonly etag?: string; } -/** - * AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual - * network. - */ -export interface AddressSpace { - /** - * A list of address blocks reserved for this virtual network in CIDR notation. - */ - addressPrefixes?: string[]; -} - -/** - * DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. - * Standard DHCP option for a subnet overrides VNET DHCP options. - */ -export interface DhcpOptions { - /** - * The list of DNS servers IP addresses. - */ - dnsServers?: string[]; -} - -/** - * Peerings in a virtual network resource. - */ -export interface VirtualNetworkPeering extends SubResource { - /** - * Whether the VMs in the local virtual network space would be able to access the VMs in remote - * virtual network space. - */ - allowVirtualNetworkAccess?: boolean; - /** - * Whether the forwarded traffic from the VMs in the local virtual network will be - * allowed/disallowed in remote virtual network. - */ - allowForwardedTraffic?: boolean; - /** - * If gateway links can be used in remote virtual networking to link to this virtual network. - */ - allowGatewayTransit?: boolean; - /** - * If remote gateways can be used on this virtual network. If the flag is set to true, and - * allowGatewayTransit on remote peering is also true, virtual network will use gateways of - * remote virtual network for transit. Only one peering can have this flag set to true. This flag - * cannot be set if virtual network already has a gateway. - */ - useRemoteGateways?: boolean; - /** - * The reference to the remote virtual network. The remote virtual network can be in the same or - * different region (preview). See here to register for the preview and learn more - * (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). - */ - remoteVirtualNetwork?: SubResource; - /** - * The reference to the remote virtual network address space. - */ - remoteAddressSpace?: AddressSpace; - /** - * The status of the virtual network peering. Possible values include: 'Initiated', 'Connected', - * 'Disconnected' - */ - peeringState?: VirtualNetworkPeeringState; - /** - * The provisioning state of the virtual network peering resource. Possible values include: - * 'Succeeded', 'Updating', 'Deleting', 'Failed' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly provisioningState?: ProvisioningState; - /** - * The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - */ - name?: string; - /** - * A unique read-only string that changes whenever the resource is updated. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly etag?: string; -} - -/** - * Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET. - */ -export interface VirtualNetworkBgpCommunities { - /** - * The BGP community associated with the virtual network. - */ - virtualNetworkCommunity: string; - /** - * The BGP community associated with the region of the virtual network. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly regionalCommunity?: string; -} - -/** - * Virtual Network resource. - */ -export interface VirtualNetwork extends Resource { - /** - * The AddressSpace that contains an array of IP address ranges that can be used by subnets. - */ - addressSpace?: AddressSpace; - /** - * The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual - * network. - */ - dhcpOptions?: DhcpOptions; - /** - * A list of subnets in a Virtual Network. - */ - subnets?: Subnet[]; - /** - * A list of peerings in a Virtual Network. - */ - virtualNetworkPeerings?: VirtualNetworkPeering[]; - /** - * The resourceGuid property of the Virtual Network resource. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly resourceGuid?: string; - /** - * The provisioning state of the virtual network resource. Possible values include: 'Succeeded', - * 'Updating', 'Deleting', 'Failed' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly provisioningState?: ProvisioningState; - /** - * Indicates if DDoS protection is enabled for all the protected resources in the virtual - * network. It requires a DDoS protection plan associated with the resource. Default value: - * false. - */ - enableDdosProtection?: boolean; - /** - * Indicates if VM protection is enabled for all the subnets in the virtual network. Default - * value: false. - */ - enableVmProtection?: boolean; - /** - * The DDoS protection plan associated with the virtual network. - */ - ddosProtectionPlan?: SubResource; - /** - * Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET. - */ - bgpCommunities?: VirtualNetworkBgpCommunities; - /** - * Array of IpAllocation which reference this VNET. - */ - ipAllocations?: SubResource[]; - /** - * 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; -} - /** * Load balancer backend addresses. */ @@ -1475,15 +1318,16 @@ export interface LoadBalancerBackendAddress { /** * Reference to an existing virtual network. */ - virtualNetwork?: VirtualNetwork; + virtualNetwork?: SubResource; /** * IP Address belonging to the referenced virtual network. */ ipAddress?: string; /** * Reference to IP address defined in network interfaces. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - networkInterfaceIPConfiguration?: NetworkInterfaceIPConfiguration; + readonly networkInterfaceIPConfiguration?: SubResource; /** * Name of the backend address. */ @@ -2133,6 +1977,10 @@ export interface ApplicationGatewayFrontendIPConfiguration extends SubResource { * Reference to the PublicIP resource. */ publicIPAddress?: SubResource; + /** + * Reference to the application gateway private link configuration. + */ + privateLinkConfiguration?: SubResource; /** * The provisioning state of the frontend IP configuration resource. Possible values include: * 'Succeeded', 'Updating', 'Deleting', 'Failed' @@ -2622,37 +2470,33 @@ export interface ApplicationGatewayRedirectConfiguration extends SubResource { } /** - * UrlPathMaps give a url path to the backend mapping information for PathBasedRouting. + * The application gateway private link ip configuration. */ -export interface ApplicationGatewayUrlPathMap extends SubResource { - /** - * Default backend address pool resource of URL path map. - */ - defaultBackendAddressPool?: SubResource; +export interface ApplicationGatewayPrivateLinkIpConfiguration extends SubResource { /** - * Default backend http settings resource of URL path map. + * The private IP address of the IP configuration. */ - defaultBackendHttpSettings?: SubResource; + privateIPAddress?: string; /** - * Default Rewrite rule set resource of URL path map. + * The private IP address allocation method. Possible values include: 'Static', 'Dynamic' */ - defaultRewriteRuleSet?: SubResource; + privateIPAllocationMethod?: IPAllocationMethod; /** - * Default redirect configuration resource of URL path map. + * Reference to the subnet resource. */ - defaultRedirectConfiguration?: SubResource; + subnet?: SubResource; /** - * Path rule of URL path map resource. + * Whether the ip configuration is primary or not. */ - pathRules?: ApplicationGatewayPathRule[]; + primary?: boolean; /** - * The provisioning state of the URL path map resource. Possible values include: 'Succeeded', - * 'Updating', 'Deleting', 'Failed' + * The provisioning state of the application gateway private link IP configuration. Possible + * values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; /** - * Name of the URL path map that is unique within an Application Gateway. + * The name of application gateway private link ip configuration. */ name?: string; /** @@ -2661,83 +2505,234 @@ export interface ApplicationGatewayUrlPathMap extends SubResource { */ readonly etag?: string; /** - * Type of the resource. + * The resource type. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; } /** - * Allows to disable rules within a rule group or an entire rule group. + * Private Link Configuration on an application gateway. */ -export interface ApplicationGatewayFirewallDisabledRuleGroup { +export interface ApplicationGatewayPrivateLinkConfiguration extends SubResource { /** - * The name of the rule group that will be disabled. + * An array of application gateway private link ip configurations. */ - ruleGroupName: string; + ipConfigurations?: ApplicationGatewayPrivateLinkIpConfiguration[]; /** - * The list of rules that will be disabled. If null, all rules of the rule group will be - * disabled. + * The provisioning state of the application gateway private link configuration. Possible values + * include: 'Succeeded', 'Updating', 'Deleting', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - rules?: number[]; -} - -/** - * Allow to exclude some variable satisfy the condition for the WAF check. - */ -export interface ApplicationGatewayFirewallExclusion { + readonly provisioningState?: ProvisioningState; /** - * The variable to be excluded. + * Name of the private link configuration that is unique within an Application Gateway. */ - matchVariable: string; + name?: string; /** - * When matchVariable is a collection, operate on the selector to specify which elements in the - * collection this exclusion applies to. + * 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.** */ - selectorMatchOperator: string; + readonly etag?: string; /** - * When matchVariable is a collection, operator used to specify which elements in the collection - * this exclusion applies to. + * Type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - selector: string; + readonly type?: string; } /** - * Application gateway web application firewall configuration. + * PrivateLink Resource of an application gateway. */ -export interface ApplicationGatewayWebApplicationFirewallConfiguration { +export interface ApplicationGatewayPrivateLinkResource extends SubResource { /** - * Whether the web application firewall is enabled or not. + * Group identifier of private link resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - enabled: boolean; + readonly groupId?: string; /** - * Web application firewall mode. Possible values include: 'Detection', 'Prevention' + * Required member names of private link resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - firewallMode: ApplicationGatewayFirewallMode; + readonly requiredMembers?: string[]; /** - * The type of the web application firewall rule set. Possible values are: 'OWASP'. + * Required DNS zone names of the the private link resource. */ - ruleSetType: string; + requiredZoneNames?: string[]; /** - * The version of the rule set type. + * Name of the private link resource that is unique within an Application Gateway. */ - ruleSetVersion: string; + name?: string; /** - * The disabled rule groups. + * 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.** */ - disabledRuleGroups?: ApplicationGatewayFirewallDisabledRuleGroup[]; + readonly etag?: string; /** - * Whether allow WAF to check request Body. + * Type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - requestBodyCheck?: boolean; + readonly type?: string; +} + +/** + * Private Endpoint connection on an application gateway. + */ +export interface ApplicationGatewayPrivateEndpointConnection extends SubResource { /** - * Maximum request body size for WAF. + * The resource of private end point. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - maxRequestBodySize?: number; + readonly privateEndpoint?: PrivateEndpoint; /** - * Maximum request body size in Kb for WAF. + * A collection of information about the state of the connection between service consumer and + * provider. */ - maxRequestBodySizeInKb?: number; + privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState; + /** + * The provisioning state of the application gateway private endpoint connection resource. + * Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: ProvisioningState; + /** + * The consumer link id. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly linkIdentifier?: string; + /** + * Name of the private endpoint connection on an application gateway. + */ + name?: string; + /** + * A unique read-only string that changes whenever the resource is updated. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly etag?: string; + /** + * Type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; +} + +/** + * UrlPathMaps give a url path to the backend mapping information for PathBasedRouting. + */ +export interface ApplicationGatewayUrlPathMap extends SubResource { + /** + * Default backend address pool resource of URL path map. + */ + defaultBackendAddressPool?: SubResource; + /** + * Default backend http settings resource of URL path map. + */ + defaultBackendHttpSettings?: SubResource; + /** + * Default Rewrite rule set resource of URL path map. + */ + defaultRewriteRuleSet?: SubResource; + /** + * Default redirect configuration resource of URL path map. + */ + defaultRedirectConfiguration?: SubResource; + /** + * Path rule of URL path map resource. + */ + pathRules?: ApplicationGatewayPathRule[]; + /** + * The provisioning state of the URL path map resource. Possible values include: 'Succeeded', + * 'Updating', 'Deleting', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: ProvisioningState; + /** + * Name of the URL path map that is unique within an Application Gateway. + */ + name?: string; + /** + * A unique read-only string that changes whenever the resource is updated. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly etag?: string; + /** + * Type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; +} + +/** + * Allows to disable rules within a rule group or an entire rule group. + */ +export interface ApplicationGatewayFirewallDisabledRuleGroup { + /** + * The name of the rule group that will be disabled. + */ + ruleGroupName: string; + /** + * The list of rules that will be disabled. If null, all rules of the rule group will be + * disabled. + */ + rules?: number[]; +} + +/** + * Allow to exclude some variable satisfy the condition for the WAF check. + */ +export interface ApplicationGatewayFirewallExclusion { + /** + * The variable to be excluded. + */ + matchVariable: string; + /** + * When matchVariable is a collection, operate on the selector to specify which elements in the + * collection this exclusion applies to. + */ + selectorMatchOperator: string; + /** + * When matchVariable is a collection, operator used to specify which elements in the collection + * this exclusion applies to. + */ + selector: string; +} + +/** + * Application gateway web application firewall configuration. + */ +export interface ApplicationGatewayWebApplicationFirewallConfiguration { + /** + * Whether the web application firewall is enabled or not. + */ + enabled: boolean; + /** + * Web application firewall mode. Possible values include: 'Detection', 'Prevention' + */ + firewallMode: ApplicationGatewayFirewallMode; + /** + * The type of the web application firewall rule set. Possible values are: 'OWASP'. + */ + ruleSetType: string; + /** + * The version of the rule set type. + */ + ruleSetVersion: string; + /** + * The disabled rule groups. + */ + disabledRuleGroups?: ApplicationGatewayFirewallDisabledRuleGroup[]; + /** + * Whether allow WAF to check request Body. + */ + requestBodyCheck?: boolean; + /** + * Maximum request body size for WAF. + */ + maxRequestBodySize?: number; + /** + * Maximum request body size in Kb for WAF. + */ + maxRequestBodySizeInKb?: number; /** * Maximum file upload size in Mb for WAF. */ @@ -2923,6 +2918,15 @@ export interface ApplicationGateway extends Resource { * Autoscale Configuration. */ autoscaleConfiguration?: ApplicationGatewayAutoscaleConfiguration; + /** + * PrivateLink configurations on application gateway. + */ + privateLinkConfigurations?: ApplicationGatewayPrivateLinkConfiguration[]; + /** + * Private Endpoint connections on application gateway. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly privateEndpointConnections?: ApplicationGatewayPrivateEndpointConnection[]; /** * The resource GUID property of the application gateway resource. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -3235,14 +3239,28 @@ export interface AzureFirewallIpGroups { readonly changeNumber?: string; } +/** + * Public IP addresses associated with azure firewall. + */ +export interface HubPublicIPAddresses { + /** + * The number of Public IP addresses associated with azure firewall. + */ + addresses?: AzureFirewallPublicIPAddress[]; + /** + * Private IP Address associated with azure firewall. + */ + count?: number; +} + /** * IP addresses associated with azure firewall. */ export interface HubIPAddresses { /** - * List of Public IP addresses associated with azure firewall. + * Public IP addresses associated with azure firewall. */ - publicIPAddresses?: AzureFirewallPublicIPAddress[]; + publicIPs?: HubPublicIPAddresses; /** * Private IP Address associated with azure firewall. */ @@ -3566,9 +3584,8 @@ export interface AzureFirewall extends Resource { 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; + hubIPAddresses?: HubIPAddresses; /** * IpGroups associated with AzureFirewall. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -5006,15 +5023,33 @@ export interface FirewallPolicyTransportSecurity { trustedRootCertificates?: FirewallPolicyTrustedRootCertificate[]; } +/** + * DNS Proxy Settings in Firewall Policy. + */ +export interface DnsSettings { + /** + * List of Custom DNS Servers. + */ + servers?: string[]; + /** + * Enable DNS Proxy on Firewalls attached to the Firewall Policy. + */ + enableProxy?: boolean; + /** + * FQDNs in Network Rules are supported when set to true. + */ + requireProxyForNetworkRules?: boolean; +} + /** * FirewallPolicy Resource. */ export interface FirewallPolicy extends Resource { /** - * List of references to FirewallPolicyRuleGroups. + * List of references to FirewallPolicyRuleCollectionGroups. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly ruleGroups?: SubResource[]; + readonly ruleCollectionGroups?: SubResource[]; /** * The provisioning state of the firewall policy resource. Possible values include: 'Succeeded', * 'Updating', 'Deleting', 'Failed' @@ -5051,6 +5086,10 @@ export interface FirewallPolicy extends Resource { * TLS Configuration definition. */ transportSecurity?: FirewallPolicyTransportSecurity; + /** + * DNS Proxy Settings definition. + */ + dnsSettings?: DnsSettings; /** * 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.** @@ -5063,43 +5102,43 @@ export interface FirewallPolicy extends Resource { } /** - * Contains the possible cases for FirewallPolicyRule. + * Contains the possible cases for FirewallPolicyRuleCollection. */ -export type FirewallPolicyRuleUnion = FirewallPolicyRule | FirewallPolicyNatRule | FirewallPolicyFilterRule; +export type FirewallPolicyRuleCollectionUnion = FirewallPolicyRuleCollection | FirewallPolicyNatRuleCollection | FirewallPolicyFilterRuleCollection; /** - * Properties of the rule. + * Properties of the rule collection. */ -export interface FirewallPolicyRule { +export interface FirewallPolicyRuleCollection { /** * Polymorphic Discriminator */ - ruleType: "FirewallPolicyRule"; + ruleCollectionType: "FirewallPolicyRuleCollection"; /** - * The name of the rule. + * The name of the rule collection. */ name?: string; /** - * Priority of the Firewall Policy Rule resource. + * Priority of the Firewall Policy Rule Collection resource. */ priority?: number; } /** - * Rule Group resource. + * Rule Collection Group resource. */ -export interface FirewallPolicyRuleGroup extends SubResource { +export interface FirewallPolicyRuleCollectionGroup extends SubResource { /** - * Priority of the Firewall Policy Rule Group resource. + * Priority of the Firewall Policy Rule Collection Group resource. */ priority?: number; /** - * Group of Firewall Policy rules. + * Group of Firewall Policy rule collections. */ - rules?: FirewallPolicyRuleUnion[]; + ruleCollections?: FirewallPolicyRuleCollectionUnion[]; /** - * The provisioning state of the firewall policy rule group resource. Possible values include: - * 'Succeeded', 'Updating', 'Deleting', 'Failed' + * The provisioning state of the firewall policy rule collection group resource. Possible values + * include: 'Succeeded', 'Updating', 'Deleting', 'Failed' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; @@ -5121,116 +5160,108 @@ export interface FirewallPolicyRuleGroup extends SubResource { } /** - * Properties of the FirewallPolicyNatRuleAction. + * Properties of the FirewallPolicyNatRuleCollectionAction. */ -export interface FirewallPolicyNatRuleAction { +export interface FirewallPolicyNatRuleCollectionAction { /** * The type of action. Possible values include: 'DNAT' */ - type?: FirewallPolicyNatRuleActionType; + type?: FirewallPolicyNatRuleCollectionActionType; } /** - * Contains the possible cases for FirewallPolicyRuleCondition. + * Contains the possible cases for FirewallPolicyRule. */ -export type FirewallPolicyRuleConditionUnion = FirewallPolicyRuleCondition | ApplicationRuleCondition | NatRuleCondition | NetworkRuleCondition; +export type FirewallPolicyRuleUnion = FirewallPolicyRule | ApplicationRule | NatRule | NetworkRule; /** * Properties of a rule. */ -export interface FirewallPolicyRuleCondition { +export interface FirewallPolicyRule { /** * Polymorphic Discriminator */ - ruleConditionType: "FirewallPolicyRuleCondition"; + ruleType: "FirewallPolicyRule"; /** - * Name of the rule condition. + * Name of the rule. */ name?: string; /** - * Description of the rule condition. + * Description of the rule. */ description?: string; } /** - * Firewall Policy NAT Rule. + * Firewall Policy NAT Rule Collection. */ -export interface FirewallPolicyNatRule { +export interface FirewallPolicyNatRuleCollection { /** * Polymorphic Discriminator */ - ruleType: "FirewallPolicyNatRule"; + ruleCollectionType: "FirewallPolicyNatRuleCollection"; /** - * The name of the rule. + * The name of the rule collection. */ name?: string; /** - * Priority of the Firewall Policy Rule resource. + * Priority of the Firewall Policy Rule Collection resource. */ priority?: number; /** - * The action type of a Nat rule. - */ - action?: FirewallPolicyNatRuleAction; - /** - * The translated address for this NAT rule. - */ - translatedAddress?: string; - /** - * The translated port for this NAT rule. + * The action type of a Nat rule collection. */ - translatedPort?: string; + action?: FirewallPolicyNatRuleCollectionAction; /** - * The match conditions for incoming traffic. + * List of rules included in a rule collection. */ - ruleCondition?: FirewallPolicyRuleConditionUnion; + rules?: FirewallPolicyRuleUnion[]; } /** - * Properties of the FirewallPolicyFilterRuleAction. + * Properties of the FirewallPolicyFilterRuleCollectionAction. */ -export interface FirewallPolicyFilterRuleAction { +export interface FirewallPolicyFilterRuleCollectionAction { /** * The type of action. Possible values include: 'Allow', 'Deny' */ - type?: FirewallPolicyFilterRuleActionType; + type?: FirewallPolicyFilterRuleCollectionActionType; } /** - * Firewall Policy Filter Rule. + * Firewall Policy Filter Rule Collection. */ -export interface FirewallPolicyFilterRule { +export interface FirewallPolicyFilterRuleCollection { /** * Polymorphic Discriminator */ - ruleType: "FirewallPolicyFilterRule"; + ruleCollectionType: "FirewallPolicyFilterRuleCollection"; /** - * The name of the rule. + * The name of the rule collection. */ name?: string; /** - * Priority of the Firewall Policy Rule resource. + * Priority of the Firewall Policy Rule Collection resource. */ priority?: number; /** - * The action type of a Filter rule. + * The action type of a Filter rule collection. */ - action?: FirewallPolicyFilterRuleAction; + action?: FirewallPolicyFilterRuleCollectionAction; /** - * Collection of rule conditions used by a rule. + * List of rules included in a rule collection. */ - ruleConditions?: FirewallPolicyRuleConditionUnion[]; + rules?: FirewallPolicyRuleUnion[]; } /** * Properties of the application rule protocol. */ -export interface FirewallPolicyRuleConditionApplicationProtocol { +export interface FirewallPolicyRuleApplicationProtocol { /** * Protocol type. Possible values include: 'Http', 'Https' */ - protocolType?: FirewallPolicyRuleConditionApplicationProtocolType; + protocolType?: FirewallPolicyRuleApplicationProtocolType; /** * Port number for the protocol, cannot be greater than 64000. */ @@ -5238,19 +5269,19 @@ export interface FirewallPolicyRuleConditionApplicationProtocol { } /** - * Rule condition of type application. + * Rule of type application. */ -export interface ApplicationRuleCondition { +export interface ApplicationRule { /** * Polymorphic Discriminator */ - ruleConditionType: "ApplicationRuleCondition"; + ruleType: "ApplicationRule"; /** - * Name of the rule condition. + * Name of the rule. */ name?: string; /** - * Description of the rule condition. + * Description of the rule. */ description?: string; /** @@ -5264,45 +5295,49 @@ export interface ApplicationRuleCondition { /** * Array of Application Protocols. */ - protocols?: FirewallPolicyRuleConditionApplicationProtocol[]; + protocols?: FirewallPolicyRuleApplicationProtocol[]; /** * List of Urls for this rule condition. */ targetUrls?: string[]; /** - * List of FQDNs for this rule condition. + * List of FQDNs for this rule. */ targetFqdns?: string[]; /** - * List of FQDN Tags for this rule condition. + * List of FQDN Tags for this rule. */ fqdnTags?: string[]; /** * List of source IpGroups for this rule. */ sourceIpGroups?: string[]; + /** + * Terminate TLS connections for this rule. + */ + terminateTLS?: boolean; } /** - * Rule condition of type nat. + * Rule of type nat. */ -export interface NatRuleCondition { +export interface NatRule { /** * Polymorphic Discriminator */ - ruleConditionType: "NatRuleCondition"; + ruleType: "NatRule"; /** - * Name of the rule condition. + * Name of the rule. */ name?: string; /** - * Description of the rule condition. + * Description of the rule. */ description?: string; /** - * Array of FirewallPolicyRuleConditionNetworkProtocols. + * Array of FirewallPolicyRuleNetworkProtocols. */ - ipProtocols?: FirewallPolicyRuleConditionNetworkProtocol[]; + ipProtocols?: FirewallPolicyRuleNetworkProtocol[]; /** * List of source IP addresses for this rule. */ @@ -5316,35 +5351,39 @@ export interface NatRuleCondition { */ destinationPorts?: string[]; /** - * List of source IpGroups for this rule. + * The translated address for this NAT rule. */ - sourceIpGroups?: string[]; + translatedAddress?: string; /** - * Terminate TLS connections for this rule. + * The translated port for this NAT rule. */ - terminateTLS?: boolean; + translatedPort?: string; + /** + * List of source IpGroups for this rule. + */ + sourceIpGroups?: string[]; } /** - * Rule condition of type network. + * Rule of type network. */ -export interface NetworkRuleCondition { +export interface NetworkRule { /** * Polymorphic Discriminator */ - ruleConditionType: "NetworkRuleCondition"; + ruleType: "NetworkRule"; /** - * Name of the rule condition. + * Name of the rule. */ name?: string; /** - * Description of the rule condition. + * Description of the rule. */ description?: string; /** - * Array of FirewallPolicyRuleConditionNetworkProtocols. + * Array of FirewallPolicyRuleNetworkProtocols. */ - ipProtocols?: FirewallPolicyRuleConditionNetworkProtocol[]; + ipProtocols?: FirewallPolicyRuleNetworkProtocol[]; /** * List of source IP addresses for this rule. */ @@ -5365,6 +5404,10 @@ export interface NetworkRuleCondition { * List of destination IpGroups for this rule. */ destinationIpGroups?: string[]; + /** + * List of destination FQDNs. + */ + destinationFqdns?: string[]; } /** @@ -6164,6 +6207,24 @@ export interface NetworkProfile extends Resource { readonly etag?: string; } +/** + * Network Virtual Appliance Sku Properties. + */ +export interface VirtualApplianceSkuProperties { + /** + * Virtual Appliance Vendor. + */ + vendor?: string; + /** + * Virtual Appliance Scale Unit. + */ + bundledScaleUnit?: string; + /** + * Virtual Appliance Version. + */ + marketPlaceVersion?: string; +} + /** * Network Virtual Appliance NIC properties. */ @@ -6185,32 +6246,18 @@ export interface VirtualApplianceNicProperties { readonly privateIpAddress?: string; } -/** - * Network Virtual Appliance Sku Properties. - */ -export interface VirtualApplianceSkuProperties { - /** - * Virtual Appliance Vendor. - */ - vendor?: string; - /** - * Virtual Appliance Scale Unit. - */ - bundledScaleUnit?: string; - /** - * Virtual Appliance Version. - */ - marketPlaceVersion?: string; -} - /** * NetworkVirtualAppliance Resource. */ export interface NetworkVirtualAppliance extends Resource { /** - * BootStrapConfigurationBlob storage URLs. + * Network Virtual Appliance SKU. + */ + nvaSku?: VirtualApplianceSkuProperties; + /** + * BootStrapConfigurationBlobs storage URLs. */ - bootStrapConfigurationBlob?: string[]; + bootStrapConfigurationBlobs?: string[]; /** * The Virtual Hub where Network Virtual Appliance is being deployed. */ @@ -6218,7 +6265,11 @@ export interface NetworkVirtualAppliance extends Resource { /** * CloudInitConfigurationBlob storage URLs. */ - cloudInitConfigurationBlob?: string[]; + cloudInitConfigurationBlobs?: string[]; + /** + * CloudInitConfiguration string in plain text. + */ + cloudInitConfiguration?: string; /** * VirtualAppliance ASN. */ @@ -6229,7 +6280,12 @@ export interface NetworkVirtualAppliance extends Resource { */ readonly virtualApplianceNics?: VirtualApplianceNicProperties[]; /** - * The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', + * List of references to VirtualApplianceSite. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly virtualApplianceSites?: SubResource[]; + /** + * The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', * 'Deleting', 'Failed' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ @@ -6239,9 +6295,110 @@ export interface NetworkVirtualAppliance extends Resource { */ identity?: ManagedServiceIdentity; /** - * Network Virtual Appliance SKU. + * 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; +} + +/** + * Network Virtual Appliance Sku Properties. + */ +export interface BreakOutCategoryPolicies { + /** + * Flag to control breakout of o365 allow category. + */ + allow?: boolean; + /** + * Flag to control breakout of o365 optimize category. + */ + optimize?: boolean; + /** + * Flag to control breakout of o365 default category. + */ + default?: boolean; +} + +/** + * Network Virtual Appliance Sku Properties. + */ +export interface Office365PolicyProperties { + /** + * Office 365 breakout categories. + */ + breakOutCategories?: BreakOutCategoryPolicies; +} + +/** + * Virtual Appliance Site resource. + */ +export interface VirtualApplianceSite extends SubResource { + /** + * Address Prefix. + */ + addressPrefix?: string; + /** + * Office 365 Policy. + */ + o365Policy?: Office365PolicyProperties; + /** + * The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', + * 'Deleting', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: ProvisioningState; + /** + * Name of the virtual appliance site. + */ + name?: string; + /** + * A unique read-only string that changes whenever the resource is updated. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly etag?: string; + /** + * Site type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; +} + +/** + * List of available Sku and instances. + * @summary Network Virtual Appliance Sku Instances + */ +export interface NetworkVirtualApplianceSkuInstances { + /** + * Scale Unit. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly scaleUnit?: string; + /** + * Instance Count. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly instanceCount?: number; +} + +/** + * Definition of the NetworkVirtualApplianceSkus resource. + * @summary Available NetworkVirtualApplianceSkus + */ +export interface NetworkVirtualApplianceSku extends Resource { + /** + * Network Virtual Appliance Sku vendor. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly vendor?: string; + /** + * Available Network Virtual Appliance versions. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly availableVersions?: string[]; + /** + * The list of scale units available. */ - sku?: VirtualApplianceSkuProperties; + availableScaleUnits?: NetworkVirtualApplianceSkuInstances[]; /** * 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.** @@ -7013,6 +7170,52 @@ export interface ConnectivityIssue { readonly context?: { [propertyName: string]: string }[]; } +/** + * Hop link. + */ +export interface HopLink { + /** + * The ID of the next hop. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly nextHopId?: string; + /** + * Link type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly linkType?: string; + /** + * Minimum roundtrip time in milliseconds. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly roundTripTimeMin?: number; + /** + * Average roundtrip time in milliseconds. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly roundTripTimeAvg?: number; + /** + * Maximum roundtrip time in milliseconds. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly roundTripTimeMax?: number; + /** + * List of issues. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly issues?: ConnectivityIssue[]; + /** + * Provides additional context on links. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly context?: { [propertyName: string]: string }; + /** + * Resource ID. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly resourceId?: string; +} + /** * Information about a hop between the source and the destination. */ @@ -7042,6 +7245,21 @@ export interface ConnectivityHop { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly nextHopIds?: string[]; + /** + * List of previous hop identifiers. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly previousHopIds?: string[]; + /** + * List of hop links. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly links?: HopLink[]; + /** + * List of previous hop links. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly previousLinks?: HopLink[]; /** * List of issues. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -8798,6 +9016,75 @@ export interface Usage { name: UsageName; } +/** + * AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual + * network. + */ +export interface AddressSpace { + /** + * A list of address blocks reserved for this virtual network in CIDR notation. + */ + addressPrefixes?: string[]; +} + +/** + * Peerings in a virtual network resource. + */ +export interface VirtualNetworkPeering extends SubResource { + /** + * Whether the VMs in the local virtual network space would be able to access the VMs in remote + * virtual network space. + */ + allowVirtualNetworkAccess?: boolean; + /** + * Whether the forwarded traffic from the VMs in the local virtual network will be + * allowed/disallowed in remote virtual network. + */ + allowForwardedTraffic?: boolean; + /** + * If gateway links can be used in remote virtual networking to link to this virtual network. + */ + allowGatewayTransit?: boolean; + /** + * If remote gateways can be used on this virtual network. If the flag is set to true, and + * allowGatewayTransit on remote peering is also true, virtual network will use gateways of + * remote virtual network for transit. Only one peering can have this flag set to true. This flag + * cannot be set if virtual network already has a gateway. + */ + useRemoteGateways?: boolean; + /** + * The reference to the remote virtual network. The remote virtual network can be in the same or + * different region (preview). See here to register for the preview and learn more + * (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). + */ + remoteVirtualNetwork?: SubResource; + /** + * The reference to the remote virtual network address space. + */ + remoteAddressSpace?: AddressSpace; + /** + * The status of the virtual network peering. Possible values include: 'Initiated', 'Connected', + * 'Disconnected' + */ + peeringState?: VirtualNetworkPeeringState; + /** + * The provisioning state of the virtual network peering resource. Possible values include: + * 'Succeeded', 'Updating', 'Deleting', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: ProvisioningState; + /** + * The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + */ + name?: string; + /** + * A unique read-only string that changes whenever the resource is updated. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly etag?: string; +} + /** * Response for ResourceNavigationLinks_List operation. */ @@ -8829,81 +9116,169 @@ export interface ServiceAssociationLinksListResult { } /** - * Response for CheckIPAddressAvailability API service call. + * DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. + * Standard DHCP option for a subnet overrides VNET DHCP options. */ -export interface IPAddressAvailabilityResult { - /** - * Private IP address availability. - */ - available?: boolean; +export interface DhcpOptions { /** - * Contains other available private IP addresses if the asked for address is taken. + * The list of DNS servers IP addresses. */ - availableIPAddresses?: string[]; + dnsServers?: string[]; } /** - * Usage strings container. + * Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET. */ -export interface VirtualNetworkUsageName { +export interface VirtualNetworkBgpCommunities { /** - * Localized subnet size and usage string. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The BGP community associated with the virtual network. */ - readonly localizedValue?: string; + virtualNetworkCommunity: string; /** - * Subnet size and usage string. + * The BGP community associated with the region of the virtual network. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly value?: string; + readonly regionalCommunity?: string; } /** - * Usage details for subnet. + * Virtual Network resource. */ -export interface VirtualNetworkUsage { +export interface VirtualNetwork extends Resource { /** - * Indicates number of IPs used from the Subnet. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The AddressSpace that contains an array of IP address ranges that can be used by subnets. */ - readonly currentValue?: number; + addressSpace?: AddressSpace; /** - * Subnet identifier. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual + * network. */ - readonly id?: string; + dhcpOptions?: DhcpOptions; /** - * Indicates the size of the subnet. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * A list of subnets in a Virtual Network. */ - readonly limit?: number; + subnets?: Subnet[]; /** - * The name containing common and localized value for usage. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * A list of peerings in a Virtual Network. */ - readonly name?: VirtualNetworkUsageName; + virtualNetworkPeerings?: VirtualNetworkPeering[]; /** - * Usage units. Returns 'Count'. + * The resourceGuid property of the Virtual Network resource. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly unit?: string; -} - -/** - * Network Intent Policy resource. - */ -export interface NetworkIntentPolicy extends Resource { + readonly resourceGuid?: string; /** - * A unique read-only string that changes whenever the resource is updated. + * The provisioning state of the virtual network resource. Possible values include: 'Succeeded', + * 'Updating', 'Deleting', 'Failed' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly etag?: string; -} - -/** - * Details of NetworkIntentPolicyConfiguration for PrepareNetworkPoliciesRequest. - */ -export interface NetworkIntentPolicyConfiguration { + readonly provisioningState?: ProvisioningState; + /** + * Indicates if DDoS protection is enabled for all the protected resources in the virtual + * network. It requires a DDoS protection plan associated with the resource. Default value: + * false. + */ + enableDdosProtection?: boolean; + /** + * Indicates if VM protection is enabled for all the subnets in the virtual network. Default + * value: false. + */ + enableVmProtection?: boolean; + /** + * The DDoS protection plan associated with the virtual network. + */ + ddosProtectionPlan?: SubResource; + /** + * Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET. + */ + bgpCommunities?: VirtualNetworkBgpCommunities; + /** + * Array of IpAllocation which reference this VNET. + */ + ipAllocations?: SubResource[]; + /** + * 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; +} + +/** + * Response for CheckIPAddressAvailability API service call. + */ +export interface IPAddressAvailabilityResult { + /** + * Private IP address availability. + */ + available?: boolean; + /** + * Contains other available private IP addresses if the asked for address is taken. + */ + availableIPAddresses?: string[]; +} + +/** + * Usage strings container. + */ +export interface VirtualNetworkUsageName { + /** + * Localized subnet size and usage string. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly localizedValue?: string; + /** + * Subnet size and usage string. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly value?: string; +} + +/** + * Usage details for subnet. + */ +export interface VirtualNetworkUsage { + /** + * Indicates number of IPs used from the Subnet. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly currentValue?: number; + /** + * Subnet identifier. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * Indicates the size of the subnet. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly limit?: number; + /** + * The name containing common and localized value for usage. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name?: VirtualNetworkUsageName; + /** + * Usage units. Returns 'Count'. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly unit?: string; +} + +/** + * Network Intent Policy resource. + */ +export interface NetworkIntentPolicy extends Resource { + /** + * 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; +} + +/** + * Details of NetworkIntentPolicyConfiguration for PrepareNetworkPoliciesRequest. + */ +export interface NetworkIntentPolicyConfiguration { /** * The name of the Network Intent Policy for storing in target subscription. */ @@ -10198,93 +10573,66 @@ export interface GetVpnSitesConfigurationRequest { } /** - * The list of RouteTables to advertise the routes to. - */ -export interface PropagatedRouteTable { - /** - * The list of labels. - */ - labels?: string[]; - /** - * The list of resource ids of all the RouteTables. - */ - ids?: SubResource[]; -} - -/** - * List of all Static Routes. + * VirtualHub route. */ -export interface StaticRoute { - /** - * The name of the StaticRoute that is unique within a VnetRoute. - */ - name?: string; +export interface VirtualHubRoute { /** - * List of all address prefixes. + * List of all addressPrefixes. */ addressPrefixes?: string[]; /** - * The ip address of the next hop. + * NextHop ip address. */ nextHopIpAddress?: string; } /** - * List of routes that control routing from VirtualHub into a virtual network connection. + * VirtualHub route table. */ -export interface VnetRoute { +export interface VirtualHubRouteTable { /** - * List of all Static Routes. + * List of all routes. */ - staticRoutes?: StaticRoute[]; + routes?: VirtualHubRoute[]; } /** - * Routing Configuration indicating the associated and propagated route tables for this connection. + * VirtualHubRouteTableV2 route. */ -export interface RoutingConfiguration { +export interface VirtualHubRouteV2 { /** - * The resource id RouteTable associated with this RoutingConfiguration. + * The type of destinations. */ - associatedRouteTable?: SubResource; + destinationType?: string; /** - * The list of RouteTables to advertise the routes to. + * List of all destinations. */ - propagatedRouteTables?: PropagatedRouteTable; + destinations?: string[]; /** - * List of routes that control routing from VirtualHub into a virtual network connection. + * The type of next hops. */ - vnetRoutes?: VnetRoute; + nextHopType?: string; + /** + * NextHops ip address. + */ + nextHops?: string[]; } /** - * HubVirtualNetworkConnection Resource. + * VirtualHubRouteTableV2 Resource. */ -export interface HubVirtualNetworkConnection extends SubResource { - /** - * Reference to the remote virtual network. - */ - remoteVirtualNetwork?: SubResource; - /** - * VirtualHub to RemoteVnet transit to enabled or not. - */ - allowHubToRemoteVnetTransit?: boolean; - /** - * Allow RemoteVnet to use Virtual Hub's gateways. - */ - allowRemoteVnetToUseHubVnetGateways?: boolean; +export interface VirtualHubRouteTableV2 extends SubResource { /** - * Enable internet security. + * List of all routes. */ - enableInternetSecurity?: boolean; + routes?: VirtualHubRouteV2[]; /** - * The Routing Configuration indicating the associated and propagated route tables on this - * connection. + * List of all connections attached to this route table v2. */ - routingConfiguration?: RoutingConfiguration; + attachedConnections?: string[]; /** - * The provisioning state of the hub virtual network connection resource. Possible values - * include: 'Succeeded', 'Updating', 'Deleting', 'Failed' + * The provisioning state of the virtual hub route table v2 resource. Possible values include: + * 'Succeeded', 'Updating', 'Deleting', 'Failed' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; @@ -10301,72 +10649,73 @@ export interface HubVirtualNetworkConnection extends SubResource { } /** - * VirtualHub route. + * Virtual Appliance Site resource. */ -export interface VirtualHubRoute { +export interface BgpConnection extends SubResource { /** - * List of all addressPrefixes. + * Peer ASN. */ - addressPrefixes?: string[]; + peerAsn?: number; /** - * NextHop ip address. + * Peer IP. */ - nextHopIpAddress?: string; -} - -/** - * VirtualHub route table. - */ -export interface VirtualHubRouteTable { + peerIp?: string; /** - * List of all routes. + * The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', + * 'Deleting', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - routes?: VirtualHubRoute[]; -} - -/** - * VirtualHubRouteTableV2 route. - */ -export interface VirtualHubRouteV2 { + readonly provisioningState?: ProvisioningState; /** - * The type of destinations. + * The current state of the VirtualHub to Peer. Possible values include: 'Unknown', 'Connecting', + * 'Connected', 'NotConnected' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - destinationType?: string; + readonly connectionState?: HubBgpConnectionStatus; /** - * List of all destinations. + * Name of the connection. */ - destinations?: string[]; + name?: string; /** - * The type of next hops. + * 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.** */ - nextHopType?: string; + readonly etag?: string; /** - * NextHops ip address. + * Connection type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - nextHops?: string[]; + readonly type?: string; } /** - * VirtualHubRouteTableV2 Resource. + * IpConfigurations. */ -export interface VirtualHubRouteTableV2 extends SubResource { +export interface HubIpConfiguration extends SubResource { /** - * List of all routes. + * The private IP address of the IP configuration. */ - routes?: VirtualHubRouteV2[]; + privateIPAddress?: string; /** - * List of all connections attached to this route table v2. + * The private IP address allocation method. Possible values include: 'Static', 'Dynamic' */ - attachedConnections?: string[]; + privateIPAllocationMethod?: IPAllocationMethod; /** - * The provisioning state of the virtual hub route table v2 resource. Possible values include: - * 'Succeeded', 'Updating', 'Deleting', 'Failed' + * The reference to the subnet resource. + */ + subnet?: Subnet; + /** + * The reference to the public IP resource. + */ + publicIPAddress?: PublicIPAddress; + /** + * The provisioning state of the IP configuration resource. Possible values include: 'Succeeded', + * 'Updating', 'Deleting', 'Failed' * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; /** - * The name of the resource that is unique within a resource group. This name can be used to - * access the resource. + * Name of the Ip Configuration. */ name?: string; /** @@ -10374,6 +10723,11 @@ export interface VirtualHubRouteTableV2 extends SubResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly etag?: string; + /** + * Ipconfiguration type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; } /** @@ -10404,10 +10758,6 @@ export interface VirtualHub extends Resource { * The securityPartnerProvider associated with this VirtualHub. */ securityPartnerProvider?: SubResource; - /** - * List of all vnet connections with this VirtualHub. - */ - virtualNetworkConnections?: HubVirtualNetworkConnection[]; /** * Address-prefix for this VirtualHub. */ @@ -10434,6 +10784,28 @@ export interface VirtualHub extends Resource { * The sku of this VirtualHub. */ sku?: string; + /** + * The routing state. Possible values include: 'None', 'Provisioned', 'Provisioning', 'Failed' + */ + routingState?: RoutingState; + /** + * List of references to Bgp Connections. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly bgpConnections?: SubResource[]; + /** + * List of references to IpConfigurations. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly ipConfigurations?: SubResource[]; + /** + * VirtualRouter ASN. + */ + virtualRouterAsn?: number; + /** + * VirtualRouter IPs. + */ + virtualRouterIps?: 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.** @@ -10523,6 +10895,66 @@ export interface VpnSiteLinkConnection extends SubResource { readonly type?: string; } +/** + * The list of RouteTables to advertise the routes to. + */ +export interface PropagatedRouteTable { + /** + * The list of labels. + */ + labels?: string[]; + /** + * The list of resource ids of all the RouteTables. + */ + ids?: SubResource[]; +} + +/** + * List of all Static Routes. + */ +export interface StaticRoute { + /** + * The name of the StaticRoute that is unique within a VnetRoute. + */ + name?: string; + /** + * List of all address prefixes. + */ + addressPrefixes?: string[]; + /** + * The ip address of the next hop. + */ + nextHopIpAddress?: string; +} + +/** + * List of routes that control routing from VirtualHub into a virtual network connection. + */ +export interface VnetRoute { + /** + * List of all Static Routes. + */ + staticRoutes?: StaticRoute[]; +} + +/** + * Routing Configuration indicating the associated and propagated route tables for this connection. + */ +export interface RoutingConfiguration { + /** + * The resource id RouteTable associated with this RoutingConfiguration. + */ + associatedRouteTable?: SubResource; + /** + * The list of RouteTables to advertise the routes to. + */ + propagatedRouteTables?: PropagatedRouteTable; + /** + * List of routes that control routing from VirtualHub into a virtual network connection. + */ + vnetRoutes?: VnetRoute; +} + /** * VpnConnection Resource. */ @@ -10650,6 +11082,49 @@ export interface VpnGateway extends Resource { readonly etag?: string; } +/** + * HubVirtualNetworkConnection Resource. + */ +export interface HubVirtualNetworkConnection extends SubResource { + /** + * Reference to the remote virtual network. + */ + remoteVirtualNetwork?: SubResource; + /** + * Deprecated: VirtualHub to RemoteVnet transit to enabled or not. + */ + allowHubToRemoteVnetTransit?: boolean; + /** + * Deprecated: Allow RemoteVnet to use Virtual Hub's gateways. + */ + allowRemoteVnetToUseHubVnetGateways?: boolean; + /** + * Enable internet security. + */ + enableInternetSecurity?: boolean; + /** + * The Routing Configuration indicating the associated and propagated route tables on this + * connection. + */ + routingConfiguration?: RoutingConfiguration; + /** + * The provisioning state of the hub virtual network connection resource. Possible values + * include: 'Succeeded', 'Updating', 'Deleting', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: ProvisioningState; + /** + * The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + */ + name?: string; + /** + * A unique read-only string that changes whenever the resource is updated. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly etag?: string; +} + /** * RouteTable route. */ @@ -10693,12 +11168,12 @@ export interface HubRouteTable extends SubResource { * List of all connections associated with this route table. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly associatedConnections?: SubResource[]; + readonly associatedConnections?: string[]; /** * List of all connections that advertise to this route table. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly propagatingConnections?: SubResource[]; + readonly propagatingConnections?: string[]; /** * The provisioning state of the RouteTable resource. Possible values include: 'Succeeded', * 'Updating', 'Deleting', 'Failed' @@ -10921,6 +11396,10 @@ export interface P2SVpnGateway extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly vpnClientConnectionHealth?: VpnClientConnectionHealth; + /** + * List of all customer specified DNS servers IP addresses. + */ + customDnsServers?: 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.** @@ -11157,53 +11636,104 @@ export interface ExpressRouteConnection extends SubResource { } /** - * ExpressRoute gateway resource. + * ExpressRoute gateway resource. + */ +export interface ExpressRouteGateway extends Resource { + /** + * Configuration for auto scaling. + */ + autoScaleConfiguration?: ExpressRouteGatewayPropertiesAutoScaleConfiguration; + /** + * List of ExpressRoute connections to the ExpressRoute gateway. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly expressRouteConnections?: ExpressRouteConnection[]; + /** + * The provisioning state of the express route gateway resource. Possible values include: + * 'Succeeded', 'Updating', 'Deleting', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: ProvisioningState; + /** + * The Virtual Hub where the ExpressRoute gateway is or will be deployed. + */ + virtualHub: VirtualHubId; + /** + * 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; +} + +/** + * List of ExpressRoute gateways. + */ +export interface ExpressRouteGatewayList { + /** + * List of ExpressRoute gateways. + */ + value?: ExpressRouteGateway[]; +} + +/** + * ExpressRouteConnection list. + */ +export interface ExpressRouteConnectionList { + /** + * The list of ExpressRoute connections. + */ + value?: ExpressRouteConnection[]; +} + +/** + * The effective route configured on the virtual hub or specified resource. */ -export interface ExpressRouteGateway extends Resource { +export interface VirtualHubEffectiveRoute { /** - * Configuration for auto scaling. + * The list of address prefixes. */ - autoScaleConfiguration?: ExpressRouteGatewayPropertiesAutoScaleConfiguration; + addressPrefixes?: string[]; /** - * List of ExpressRoute connections to the ExpressRoute gateway. - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The list of next hops. */ - readonly expressRouteConnections?: ExpressRouteConnection[]; + nextHops?: string[]; /** - * The provisioning state of the express route gateway resource. Possible values include: - * 'Succeeded', 'Updating', 'Deleting', 'Failed' - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * The type of the next hop. */ - readonly provisioningState?: ProvisioningState; + nextHopType?: string; /** - * The Virtual Hub where the ExpressRoute gateway is or will be deployed. + * The ASPath of this route. */ - virtualHub: VirtualHubId; + asPath?: 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.** + * The origin of this route. */ - readonly etag?: string; + routeOrigin?: string; } /** - * List of ExpressRoute gateways. + * EffectiveRoutes List. */ -export interface ExpressRouteGatewayList { +export interface VirtualHubEffectiveRouteList { /** - * List of ExpressRoute gateways. + * The list of effective routes configured on the virtual hub or the specified resource. */ - value?: ExpressRouteGateway[]; + value?: VirtualHubEffectiveRoute[]; } /** - * ExpressRouteConnection list. + * The parameters specifying the resource whose effective routes are being requested. */ -export interface ExpressRouteConnectionList { +export interface EffectiveRoutesParameters { /** - * The list of ExpressRoute connections. + * The resource whose effective routes are being requested. */ - value?: ExpressRouteConnection[]; + resourceId?: Resource; + /** + * The type of the specified resource like RouteTable, ExpressRouteConnection, + * HubVirtualNetworkConnection, VpnConnection and P2SConnection. + */ + virtualWanResourceType?: string; } /** @@ -11817,6 +12347,26 @@ export interface VirtualRoutersGetOptionalParams extends msRest.RequestOptionsBa expand?: string; } +/** + * Optional Parameters. + */ +export interface VirtualHubsGetEffectiveVirtualHubRoutesOptionalParams extends msRest.RequestOptionsBase { + /** + * Parameters supplied to get the effective routes for a specific resource. + */ + effectiveRoutesParameters?: EffectiveRoutesParameters; +} + +/** + * Optional Parameters. + */ +export interface VirtualHubsBeginGetEffectiveVirtualHubRoutesOptionalParams extends msRest.RequestOptionsBase { + /** + * Parameters supplied to get the effective routes for a specific resource. + */ + effectiveRoutesParameters?: EffectiveRoutesParameters; +} + /** * An interface representing NetworkManagementClientOptions. */ @@ -11848,6 +12398,32 @@ export interface ApplicationGatewayAvailableSslPredefinedPolicies extends Array< nextLink?: string; } +/** + * @interface + * Response for ListApplicationGatewayPrivateLinkResources API service call. Gets all private link + * resources for an application gateway. + * @extends Array + */ +export interface ApplicationGatewayPrivateLinkResourceListResult extends Array { + /** + * URL to get the next set of results. + */ + nextLink?: string; +} + +/** + * @interface + * Response for ListApplicationGatewayPrivateEndpointConnection API service call. Gets all private + * endpoint connections for an application gateway. + * @extends Array + */ +export interface ApplicationGatewayPrivateEndpointConnectionListResult extends Array { + /** + * URL to get the next set of results. + */ + nextLink?: string; +} + /** * @interface * A list of application security groups. @@ -12140,10 +12716,10 @@ export interface FirewallPolicyListResult extends Array { /** * @interface - * Response for ListFirewallPolicyRuleGroups API service call. - * @extends Array + * Response for ListFirewallPolicyRuleCollectionGroups API service call. + * @extends Array */ -export interface FirewallPolicyRuleGroupListResult extends Array { +export interface FirewallPolicyRuleCollectionGroupListResult extends Array { /** * URL to get the next set of results. */ @@ -12378,6 +12954,30 @@ export interface NetworkVirtualApplianceListResult extends Array + */ +export interface NetworkVirtualApplianceSiteListResult extends Array { + /** + * URL to get the next set of results. + */ + nextLink?: string; +} + +/** + * @interface + * Response for ListNetworkVirtualApplianceSkus API service call. + * @extends Array + */ +export interface NetworkVirtualApplianceSkuListResult extends Array { + /** + * URL to get the next set of results. + */ + nextLink?: string; +} + /** * @interface * Response for ListNetworkWatchers API service call. @@ -12919,6 +13519,30 @@ export interface ListVirtualHubRouteTableV2sResult extends Array + */ +export interface ListVirtualHubBgpConnectionResults extends Array { + /** + * URL to get the next set of results. + */ + nextLink?: string; +} + +/** + * @interface + * VirtualHubIpConfigurations list. + * @extends Array + */ +export interface ListVirtualHubIpConfigurationResults extends Array { + /** + * URL to get the next set of results. + */ + nextLink?: string; +} + /** * @interface * List of RouteTables and a URL nextLink to get the next set of results. @@ -13034,14 +13658,6 @@ export type PublicIPAddressSkuName = 'Basic' | 'Standard'; */ export type DdosSettingsProtectionCoverage = 'Basic' | 'Standard'; -/** - * Defines values for VirtualNetworkPeeringState. - * Possible values include: 'Initiated', 'Connected', 'Disconnected' - * @readonly - * @enum {string} - */ -export type VirtualNetworkPeeringState = 'Initiated' | 'Connected' | 'Disconnected'; - /** * Defines values for TransportProtocol. * Possible values include: 'Udp', 'Tcp', 'All' @@ -13372,36 +13988,36 @@ export type ExpressRoutePortsEncapsulation = 'Dot1Q' | 'QinQ'; export type FirewallPolicyIntrusionSystemMode = 'Enabled' | 'Disabled'; /** - * Defines values for FirewallPolicyNatRuleActionType. + * Defines values for FirewallPolicyNatRuleCollectionActionType. * Possible values include: 'DNAT' * @readonly * @enum {string} */ -export type FirewallPolicyNatRuleActionType = 'DNAT'; +export type FirewallPolicyNatRuleCollectionActionType = 'DNAT'; /** - * Defines values for FirewallPolicyFilterRuleActionType. + * Defines values for FirewallPolicyFilterRuleCollectionActionType. * Possible values include: 'Allow', 'Deny' * @readonly * @enum {string} */ -export type FirewallPolicyFilterRuleActionType = 'Allow' | 'Deny'; +export type FirewallPolicyFilterRuleCollectionActionType = 'Allow' | 'Deny'; /** - * Defines values for FirewallPolicyRuleConditionApplicationProtocolType. + * Defines values for FirewallPolicyRuleApplicationProtocolType. * Possible values include: 'Http', 'Https' * @readonly * @enum {string} */ -export type FirewallPolicyRuleConditionApplicationProtocolType = 'Http' | 'Https'; +export type FirewallPolicyRuleApplicationProtocolType = 'Http' | 'Https'; /** - * Defines values for FirewallPolicyRuleConditionNetworkProtocol. + * Defines values for FirewallPolicyRuleNetworkProtocol. * Possible values include: 'TCP', 'UDP', 'Any', 'ICMP' * @readonly * @enum {string} */ -export type FirewallPolicyRuleConditionNetworkProtocol = 'TCP' | 'UDP' | 'Any' | 'ICMP'; +export type FirewallPolicyRuleNetworkProtocol = 'TCP' | 'UDP' | 'Any' | 'ICMP'; /** * Defines values for IpAllocationType. @@ -13718,6 +14334,14 @@ export type SecurityProviderName = 'ZScaler' | 'IBoss' | 'Checkpoint'; */ export type SecurityPartnerProviderConnectionStatus = 'Unknown' | 'PartiallyConnected' | 'Connected' | 'NotConnected'; +/** + * Defines values for VirtualNetworkPeeringState. + * Possible values include: 'Initiated', 'Connected', 'Disconnected' + * @readonly + * @enum {string} + */ +export type VirtualNetworkPeeringState = 'Initiated' | 'Connected' | 'Disconnected'; + /** * Defines values for VirtualNetworkGatewayType. * Possible values include: 'Vpn', 'ExpressRoute' @@ -13869,6 +14493,22 @@ export type VirtualNetworkGatewayConnectionProtocol = 'IKEv2' | 'IKEv1'; */ export type OfficeTrafficCategory = 'Optimize' | 'OptimizeAndAllow' | 'All' | 'None'; +/** + * Defines values for RoutingState. + * Possible values include: 'None', 'Provisioned', 'Provisioning', 'Failed' + * @readonly + * @enum {string} + */ +export type RoutingState = 'None' | 'Provisioned' | 'Provisioning' | 'Failed'; + +/** + * Defines values for HubBgpConnectionStatus. + * Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected' + * @readonly + * @enum {string} + */ +export type HubBgpConnectionStatus = 'Unknown' | 'Connecting' | 'Connected' | 'NotConnected'; + /** * Defines values for VpnConnectionStatus. * Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected' @@ -14009,9 +14649,149 @@ export type OwaspCrsExclusionEntrySelectorMatchOperator = 'Equals' | 'Contains' export type ManagedRuleEnabledState = 'Disabled'; /** - * Contains response data for the get operation. + * Contains response data for the get operation. + */ +export type ApplicationGatewaysGetResponse = ApplicationGateway & { + /** + * 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: ApplicationGateway; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type ApplicationGatewaysCreateOrUpdateResponse = ApplicationGateway & { + /** + * 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: ApplicationGateway; + }; +}; + +/** + * Contains response data for the updateTags operation. + */ +export type ApplicationGatewaysUpdateTagsResponse = ApplicationGateway & { + /** + * 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: ApplicationGateway; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type ApplicationGatewaysListResponse = ApplicationGatewayListResult & { + /** + * 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: ApplicationGatewayListResult; + }; +}; + +/** + * Contains response data for the listAll operation. + */ +export type ApplicationGatewaysListAllResponse = ApplicationGatewayListResult & { + /** + * 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: ApplicationGatewayListResult; + }; +}; + +/** + * Contains response data for the backendHealth operation. + */ +export type ApplicationGatewaysBackendHealthResponse = ApplicationGatewayBackendHealth & { + /** + * 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: ApplicationGatewayBackendHealth; + }; +}; + +/** + * Contains response data for the backendHealthOnDemand operation. + */ +export type ApplicationGatewaysBackendHealthOnDemandResponse = ApplicationGatewayBackendHealthOnDemand & { + /** + * 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: ApplicationGatewayBackendHealthOnDemand; + }; +}; + +/** + * Contains response data for the listAvailableServerVariables operation. */ -export type ApplicationGatewaysGetResponse = ApplicationGateway & { +export type ApplicationGatewaysListAvailableServerVariablesResponse = Array & { /** * The underlying HTTP response. */ @@ -14024,14 +14804,14 @@ export type ApplicationGatewaysGetResponse = ApplicationGateway & { /** * The response body as parsed JSON or XML */ - parsedBody: ApplicationGateway; + parsedBody: string[]; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listAvailableRequestHeaders operation. */ -export type ApplicationGatewaysCreateOrUpdateResponse = ApplicationGateway & { +export type ApplicationGatewaysListAvailableRequestHeadersResponse = Array & { /** * The underlying HTTP response. */ @@ -14044,14 +14824,14 @@ export type ApplicationGatewaysCreateOrUpdateResponse = ApplicationGateway & { /** * The response body as parsed JSON or XML */ - parsedBody: ApplicationGateway; + parsedBody: string[]; }; }; /** - * Contains response data for the updateTags operation. + * Contains response data for the listAvailableResponseHeaders operation. */ -export type ApplicationGatewaysUpdateTagsResponse = ApplicationGateway & { +export type ApplicationGatewaysListAvailableResponseHeadersResponse = Array & { /** * The underlying HTTP response. */ @@ -14064,14 +14844,14 @@ export type ApplicationGatewaysUpdateTagsResponse = ApplicationGateway & { /** * The response body as parsed JSON or XML */ - parsedBody: ApplicationGateway; + parsedBody: string[]; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listAvailableWafRuleSets operation. */ -export type ApplicationGatewaysListResponse = ApplicationGatewayListResult & { +export type ApplicationGatewaysListAvailableWafRuleSetsResponse = ApplicationGatewayAvailableWafRuleSetsResult & { /** * The underlying HTTP response. */ @@ -14084,14 +14864,14 @@ export type ApplicationGatewaysListResponse = ApplicationGatewayListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ApplicationGatewayListResult; + parsedBody: ApplicationGatewayAvailableWafRuleSetsResult; }; }; /** - * Contains response data for the listAll operation. + * Contains response data for the listAvailableSslOptions operation. */ -export type ApplicationGatewaysListAllResponse = ApplicationGatewayListResult & { +export type ApplicationGatewaysListAvailableSslOptionsResponse = ApplicationGatewayAvailableSslOptions & { /** * The underlying HTTP response. */ @@ -14104,14 +14884,14 @@ export type ApplicationGatewaysListAllResponse = ApplicationGatewayListResult & /** * The response body as parsed JSON or XML */ - parsedBody: ApplicationGatewayListResult; + parsedBody: ApplicationGatewayAvailableSslOptions; }; }; /** - * Contains response data for the backendHealth operation. + * Contains response data for the listAvailableSslPredefinedPolicies operation. */ -export type ApplicationGatewaysBackendHealthResponse = ApplicationGatewayBackendHealth & { +export type ApplicationGatewaysListAvailableSslPredefinedPoliciesResponse = ApplicationGatewayAvailableSslPredefinedPolicies & { /** * The underlying HTTP response. */ @@ -14124,14 +14904,14 @@ export type ApplicationGatewaysBackendHealthResponse = ApplicationGatewayBackend /** * The response body as parsed JSON or XML */ - parsedBody: ApplicationGatewayBackendHealth; + parsedBody: ApplicationGatewayAvailableSslPredefinedPolicies; }; }; /** - * Contains response data for the backendHealthOnDemand operation. + * Contains response data for the getSslPredefinedPolicy operation. */ -export type ApplicationGatewaysBackendHealthOnDemandResponse = ApplicationGatewayBackendHealthOnDemand & { +export type ApplicationGatewaysGetSslPredefinedPolicyResponse = ApplicationGatewaySslPredefinedPolicy & { /** * The underlying HTTP response. */ @@ -14144,14 +14924,14 @@ export type ApplicationGatewaysBackendHealthOnDemandResponse = ApplicationGatewa /** * The response body as parsed JSON or XML */ - parsedBody: ApplicationGatewayBackendHealthOnDemand; + parsedBody: ApplicationGatewaySslPredefinedPolicy; }; }; /** - * Contains response data for the listAvailableServerVariables operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ApplicationGatewaysListAvailableServerVariablesResponse = Array & { +export type ApplicationGatewaysBeginCreateOrUpdateResponse = ApplicationGateway & { /** * The underlying HTTP response. */ @@ -14164,14 +14944,14 @@ export type ApplicationGatewaysListAvailableServerVariablesResponse = Array & { +export type ApplicationGatewaysBeginBackendHealthResponse = ApplicationGatewayBackendHealth & { /** * The underlying HTTP response. */ @@ -14184,14 +14964,14 @@ export type ApplicationGatewaysListAvailableRequestHeadersResponse = Array & { +export type ApplicationGatewaysBeginBackendHealthOnDemandResponse = ApplicationGatewayBackendHealthOnDemand & { /** * The underlying HTTP response. */ @@ -14204,14 +14984,14 @@ export type ApplicationGatewaysListAvailableResponseHeadersResponse = Array + */ + deleteMethod(resourceGroupName: string, applicationGatewayName: string, connectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,applicationGatewayName,connectionName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Updates the specified private endpoint connection on application gateway. + * @param resourceGroupName The name of the resource group. + * @param applicationGatewayName The name of the application gateway. + * @param connectionName The name of the application gateway private endpoint connection. + * @param parameters Parameters supplied to update application gateway private endpoint connection + * operation. + * @param [options] The optional parameters + * @returns Promise + */ + update(resourceGroupName: string, applicationGatewayName: string, connectionName: string, parameters: Models.ApplicationGatewayPrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdate(resourceGroupName,applicationGatewayName,connectionName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Gets the specified private endpoint connection on application gateway. + * @param resourceGroupName The name of the resource group. + * @param applicationGatewayName The name of the application gateway. + * @param connectionName The name of the application gateway private endpoint connection. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, applicationGatewayName: string, connectionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param applicationGatewayName The name of the application gateway. + * @param connectionName The name of the application gateway private endpoint connection. + * @param callback The callback + */ + get(resourceGroupName: string, applicationGatewayName: string, connectionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param applicationGatewayName The name of the application gateway. + * @param connectionName The name of the application gateway private endpoint connection. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, applicationGatewayName: string, connectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, applicationGatewayName: string, connectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + applicationGatewayName, + connectionName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Lists all private endpoint connections on an application gateway. + * @param resourceGroupName The name of the resource group. + * @param applicationGatewayName The name of the application gateway. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, applicationGatewayName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param applicationGatewayName The name of the application gateway. + * @param callback The callback + */ + list(resourceGroupName: string, applicationGatewayName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param applicationGatewayName The name of the application gateway. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, applicationGatewayName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, applicationGatewayName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + applicationGatewayName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Deletes the specified private endpoint connection on application gateway. + * @param resourceGroupName The name of the resource group. + * @param applicationGatewayName The name of the application gateway. + * @param connectionName The name of the application gateway private endpoint connection. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, applicationGatewayName: string, connectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + applicationGatewayName, + connectionName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Updates the specified private endpoint connection on application gateway. + * @param resourceGroupName The name of the resource group. + * @param applicationGatewayName The name of the application gateway. + * @param connectionName The name of the application gateway private endpoint connection. + * @param parameters Parameters supplied to update application gateway private endpoint connection + * operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdate(resourceGroupName: string, applicationGatewayName: string, connectionName: string, parameters: Models.ApplicationGatewayPrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + applicationGatewayName, + connectionName, + parameters, + options + }, + beginUpdateOperationSpec, + options); + } + + /** + * Lists all private endpoint connections on an application gateway. + * @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/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.applicationGatewayName, + Parameters.connectionName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ApplicationGatewayPrivateEndpointConnection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.applicationGatewayName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ApplicationGatewayPrivateEndpointConnectionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.applicationGatewayName, + Parameters.connectionName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.applicationGatewayName, + Parameters.connectionName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ApplicationGatewayPrivateEndpointConnection, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ApplicationGatewayPrivateEndpointConnection + }, + 202: {}, + 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.ApplicationGatewayPrivateEndpointConnectionListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/network/arm-network/src/operations/applicationGatewayPrivateLinkResources.ts b/sdk/network/arm-network/src/operations/applicationGatewayPrivateLinkResources.ts new file mode 100644 index 000000000000..df2708aaed9d --- /dev/null +++ b/sdk/network/arm-network/src/operations/applicationGatewayPrivateLinkResources.ts @@ -0,0 +1,136 @@ +/* + * 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/applicationGatewayPrivateLinkResourcesMappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClientContext } from "../networkManagementClientContext"; + +/** Class representing a ApplicationGatewayPrivateLinkResources. */ +export class ApplicationGatewayPrivateLinkResources { + private readonly client: NetworkManagementClientContext; + + /** + * Create a ApplicationGatewayPrivateLinkResources. + * @param {NetworkManagementClientContext} client Reference to the service client. + */ + constructor(client: NetworkManagementClientContext) { + this.client = client; + } + + /** + * Lists all private link resources on an application gateway. + * @param resourceGroupName The name of the resource group. + * @param applicationGatewayName The name of the application gateway. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, applicationGatewayName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param applicationGatewayName The name of the application gateway. + * @param callback The callback + */ + list(resourceGroupName: string, applicationGatewayName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param applicationGatewayName The name of the application gateway. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, applicationGatewayName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, applicationGatewayName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + applicationGatewayName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Lists all private link resources on an application gateway. + * @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/applicationGateways/{applicationGatewayName}/privateLinkResources", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.applicationGatewayName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ApplicationGatewayPrivateLinkResourceListResult + }, + 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.ApplicationGatewayPrivateLinkResourceListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/network/arm-network/src/operations/firewallPolicyRuleGroups.ts b/sdk/network/arm-network/src/operations/firewallPolicyRuleCollectionGroups.ts similarity index 62% rename from sdk/network/arm-network/src/operations/firewallPolicyRuleGroups.ts rename to sdk/network/arm-network/src/operations/firewallPolicyRuleCollectionGroups.ts index da39c41293a4..c16d38ff8b3d 100644 --- a/sdk/network/arm-network/src/operations/firewallPolicyRuleGroups.ts +++ b/sdk/network/arm-network/src/operations/firewallPolicyRuleCollectionGroups.ts @@ -11,16 +11,16 @@ 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 Mappers from "../models/firewallPolicyRuleCollectionGroupsMappers"; import * as Parameters from "../models/parameters"; import { NetworkManagementClientContext } from "../networkManagementClientContext"; -/** Class representing a FirewallPolicyRuleGroups. */ -export class FirewallPolicyRuleGroups { +/** Class representing a FirewallPolicyRuleCollectionGroups. */ +export class FirewallPolicyRuleCollectionGroups { private readonly client: NetworkManagementClientContext; /** - * Create a FirewallPolicyRuleGroups. + * Create a FirewallPolicyRuleCollectionGroups. * @param {NetworkManagementClientContext} client Reference to the service client. */ constructor(client: NetworkManagementClientContext) { @@ -28,90 +28,91 @@ export class FirewallPolicyRuleGroups { } /** - * Deletes the specified FirewallPolicyRuleGroup. + * Deletes the specified FirewallPolicyRuleCollectionGroup. * @param resourceGroupName The name of the resource group. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleGroupName The name of the FirewallPolicyRuleGroup. + * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. * @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) + deleteMethod(resourceGroupName: string, firewallPolicyName: string, ruleCollectionGroupName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,firewallPolicyName,ruleCollectionGroupName,options) .then(lroPoller => lroPoller.pollUntilFinished()); } /** - * Gets the specified FirewallPolicyRuleGroup. + * Gets the specified FirewallPolicyRuleCollectionGroup. * @param resourceGroupName The name of the resource group. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleGroupName The name of the FirewallPolicyRuleGroup. + * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - get(resourceGroupName: string, firewallPolicyName: string, ruleGroupName: string, options?: msRest.RequestOptionsBase): Promise; + get(resourceGroupName: string, firewallPolicyName: string, ruleCollectionGroupName: 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 ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. * @param callback The callback */ - get(resourceGroupName: string, firewallPolicyName: string, ruleGroupName: string, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, firewallPolicyName: string, ruleCollectionGroupName: 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 ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. * @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 { + get(resourceGroupName: string, firewallPolicyName: string, ruleCollectionGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, firewallPolicyName: string, ruleCollectionGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { resourceGroupName, firewallPolicyName, - ruleGroupName, + ruleCollectionGroupName, options }, getOperationSpec, - callback) as Promise; + callback) as Promise; } /** - * Creates or updates the specified FirewallPolicyRuleGroup. + * Creates or updates the specified FirewallPolicyRuleCollectionGroup. * @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 ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup + * operation. * @param [options] The optional parameters - * @returns Promise + * @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; + createOrUpdate(resourceGroupName: string, firewallPolicyName: string, ruleCollectionGroupName: string, parameters: Models.FirewallPolicyRuleCollectionGroup, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,firewallPolicyName,ruleCollectionGroupName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** - * Lists all FirewallPolicyRuleGroups in a FirewallPolicy resource. + * Lists all FirewallPolicyRuleCollectionGroups 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 + * @returns Promise */ - list(resourceGroupName: string, firewallPolicyName: string, options?: msRest.RequestOptionsBase): 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; + 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 { + 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, @@ -119,23 +120,23 @@ export class FirewallPolicyRuleGroups { options }, listOperationSpec, - callback) as Promise; + callback) as Promise; } /** - * Deletes the specified FirewallPolicyRuleGroup. + * Deletes the specified FirewallPolicyRuleCollectionGroup. * @param resourceGroupName The name of the resource group. * @param firewallPolicyName The name of the Firewall Policy. - * @param ruleGroupName The name of the FirewallPolicyRuleGroup. + * @param ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. * @param [options] The optional parameters * @returns Promise */ - beginDeleteMethod(resourceGroupName: string, firewallPolicyName: string, ruleGroupName: string, options?: msRest.RequestOptionsBase): Promise { + beginDeleteMethod(resourceGroupName: string, firewallPolicyName: string, ruleCollectionGroupName: string, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, firewallPolicyName, - ruleGroupName, + ruleCollectionGroupName, options }, beginDeleteMethodOperationSpec, @@ -143,20 +144,21 @@ export class FirewallPolicyRuleGroups { } /** - * Creates or updates the specified FirewallPolicyRuleGroup. + * Creates or updates the specified FirewallPolicyRuleCollectionGroup. * @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 ruleCollectionGroupName The name of the FirewallPolicyRuleCollectionGroup. + * @param parameters Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup + * operation. * @param [options] The optional parameters * @returns Promise */ - beginCreateOrUpdate(resourceGroupName: string, firewallPolicyName: string, ruleGroupName: string, parameters: Models.FirewallPolicyRuleGroup, options?: msRest.RequestOptionsBase): Promise { + beginCreateOrUpdate(resourceGroupName: string, firewallPolicyName: string, ruleCollectionGroupName: string, parameters: Models.FirewallPolicyRuleCollectionGroup, options?: msRest.RequestOptionsBase): Promise { return this.client.sendLRORequest( { resourceGroupName, firewallPolicyName, - ruleGroupName, + ruleCollectionGroupName, parameters, options }, @@ -165,31 +167,31 @@ export class FirewallPolicyRuleGroups { } /** - * Lists all FirewallPolicyRuleGroups in a FirewallPolicy resource. + * Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): 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; + 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 { + 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; + callback) as Promise; } } @@ -197,11 +199,11 @@ export class FirewallPolicyRuleGroups { const serializer = new msRest.Serializer(Mappers); const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups/{ruleGroupName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}", urlParameters: [ Parameters.resourceGroupName, Parameters.firewallPolicyName, - Parameters.ruleGroupName, + Parameters.ruleCollectionGroupName, Parameters.subscriptionId ], queryParameters: [ @@ -212,7 +214,7 @@ const getOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.FirewallPolicyRuleGroup + bodyMapper: Mappers.FirewallPolicyRuleCollectionGroup }, default: { bodyMapper: Mappers.CloudError @@ -223,7 +225,7 @@ const getOperationSpec: msRest.OperationSpec = { const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups", urlParameters: [ Parameters.resourceGroupName, Parameters.firewallPolicyName, @@ -237,7 +239,7 @@ const listOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.FirewallPolicyRuleGroupListResult + bodyMapper: Mappers.FirewallPolicyRuleCollectionGroupListResult }, default: { bodyMapper: Mappers.CloudError @@ -248,11 +250,11 @@ const listOperationSpec: msRest.OperationSpec = { const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups/{ruleGroupName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}", urlParameters: [ Parameters.resourceGroupName, Parameters.firewallPolicyName, - Parameters.ruleGroupName, + Parameters.ruleCollectionGroupName, Parameters.subscriptionId ], queryParameters: [ @@ -274,11 +276,11 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups/{ruleGroupName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}", urlParameters: [ Parameters.resourceGroupName, Parameters.firewallPolicyName, - Parameters.ruleGroupName, + Parameters.ruleCollectionGroupName, Parameters.subscriptionId ], queryParameters: [ @@ -290,16 +292,16 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "parameters", mapper: { - ...Mappers.FirewallPolicyRuleGroup, + ...Mappers.FirewallPolicyRuleCollectionGroup, required: true } }, responses: { 200: { - bodyMapper: Mappers.FirewallPolicyRuleGroup + bodyMapper: Mappers.FirewallPolicyRuleCollectionGroup }, 201: { - bodyMapper: Mappers.FirewallPolicyRuleGroup + bodyMapper: Mappers.FirewallPolicyRuleCollectionGroup }, default: { bodyMapper: Mappers.CloudError @@ -320,7 +322,7 @@ const listNextOperationSpec: msRest.OperationSpec = { ], responses: { 200: { - bodyMapper: Mappers.FirewallPolicyRuleGroupListResult + bodyMapper: Mappers.FirewallPolicyRuleCollectionGroupListResult }, default: { bodyMapper: Mappers.CloudError diff --git a/sdk/network/arm-network/src/operations/hubVirtualNetworkConnections.ts b/sdk/network/arm-network/src/operations/hubVirtualNetworkConnections.ts index d2e149073d03..880b1a7c7f5b 100644 --- a/sdk/network/arm-network/src/operations/hubVirtualNetworkConnections.ts +++ b/sdk/network/arm-network/src/operations/hubVirtualNetworkConnections.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/hubVirtualNetworkConnectionsMappers"; import * as Parameters from "../models/parameters"; @@ -26,6 +27,34 @@ export class HubVirtualNetworkConnections { this.client = client; } + /** + * Creates a hub virtual network connection if it doesn't exist else updates the existing one. + * @param resourceGroupName The resource group name of the HubVirtualNetworkConnection. + * @param virtualHubName The name of the VirtualHub. + * @param connectionName The name of the HubVirtualNetworkConnection. + * @param hubVirtualNetworkConnectionParameters Parameters supplied to create or update a hub + * virtual network connection. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, virtualHubName: string, connectionName: string, hubVirtualNetworkConnectionParameters: Models.HubVirtualNetworkConnection, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,virtualHubName,connectionName,hubVirtualNetworkConnectionParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Deletes a HubVirtualNetworkConnection. + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param connectionName The name of the HubVirtualNetworkConnection. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, virtualHubName: string, connectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,virtualHubName,connectionName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + /** * Retrieves the details of a HubVirtualNetworkConnection. * @param resourceGroupName The resource group name of the VirtualHub. @@ -94,6 +123,49 @@ export class HubVirtualNetworkConnections { callback) as Promise; } + /** + * Creates a hub virtual network connection if it doesn't exist else updates the existing one. + * @param resourceGroupName The resource group name of the HubVirtualNetworkConnection. + * @param virtualHubName The name of the VirtualHub. + * @param connectionName The name of the HubVirtualNetworkConnection. + * @param hubVirtualNetworkConnectionParameters Parameters supplied to create or update a hub + * virtual network connection. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, virtualHubName: string, connectionName: string, hubVirtualNetworkConnectionParameters: Models.HubVirtualNetworkConnection, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + virtualHubName, + connectionName, + hubVirtualNetworkConnectionParameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Deletes a HubVirtualNetworkConnection. + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param connectionName The name of the HubVirtualNetworkConnection. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, virtualHubName: string, connectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + virtualHubName, + connectionName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + /** * Retrieves the details of all HubVirtualNetworkConnections. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -176,6 +248,68 @@ const listOperationSpec: msRest.OperationSpec = { serializer }; +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualHubName, + Parameters.connectionName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "hubVirtualNetworkConnectionParameters", + mapper: { + ...Mappers.HubVirtualNetworkConnection, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.HubVirtualNetworkConnection + }, + 201: { + bodyMapper: Mappers.HubVirtualNetworkConnection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualHubName, + Parameters.connectionName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", diff --git a/sdk/network/arm-network/src/operations/index.ts b/sdk/network/arm-network/src/operations/index.ts index 26925d896836..6a822c1cb820 100644 --- a/sdk/network/arm-network/src/operations/index.ts +++ b/sdk/network/arm-network/src/operations/index.ts @@ -9,6 +9,8 @@ */ export * from "./applicationGateways"; +export * from "./applicationGatewayPrivateLinkResources"; +export * from "./applicationGatewayPrivateEndpointConnections"; export * from "./applicationSecurityGroups"; export * from "./availableDelegations"; export * from "./availableResourceGroupDelegations"; @@ -31,7 +33,7 @@ export * from "./expressRoutePortsLocations"; export * from "./expressRoutePorts"; export * from "./expressRouteLinks"; export * from "./firewallPolicies"; -export * from "./firewallPolicyRuleGroups"; +export * from "./firewallPolicyRuleCollectionGroups"; export * from "./ipAllocations"; export * from "./ipGroups"; export * from "./loadBalancers"; @@ -52,6 +54,8 @@ export * from "./networkSecurityGroups"; export * from "./securityRules"; export * from "./defaultSecurityRules"; export * from "./networkVirtualAppliances"; +export * from "./virtualApplianceSites"; +export * from "./virtualApplianceSkus"; export * from "./networkWatchers"; export * from "./packetCaptures"; export * from "./connectionMonitors"; @@ -100,5 +104,8 @@ export * from "./vpnServerConfigurationsAssociatedWithVirtualWan"; export * from "./virtualHubRouteTableV2s"; export * from "./expressRouteGateways"; export * from "./expressRouteConnections"; +export * from "./virtualHubBgpConnection"; +export * from "./virtualHubBgpConnections"; +export * from "./virtualHubIpConfiguration"; export * from "./hubRouteTables"; export * from "./webApplicationFirewallPolicies"; diff --git a/sdk/network/arm-network/src/operations/privateLinkServices.ts b/sdk/network/arm-network/src/operations/privateLinkServices.ts index 1e2449a4f8b6..3ae6ebefa054 100644 --- a/sdk/network/arm-network/src/operations/privateLinkServices.ts +++ b/sdk/network/arm-network/src/operations/privateLinkServices.ts @@ -265,29 +265,9 @@ export class PrivateLinkServices { * @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; + checkPrivateLinkServiceVisibility(location: string, parameters: Models.CheckPrivateLinkServiceVisibilityRequest, options?: msRest.RequestOptionsBase): Promise { + return this.beginCheckPrivateLinkServiceVisibility(location,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -300,32 +280,9 @@ export class PrivateLinkServices { * @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; + checkPrivateLinkServiceVisibilityByResourceGroup(location: string, resourceGroupName: string, parameters: Models.CheckPrivateLinkServiceVisibilityRequest, options?: msRest.RequestOptionsBase): Promise { + return this.beginCheckPrivateLinkServiceVisibilityByResourceGroup(location,resourceGroupName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -449,6 +406,45 @@ export class PrivateLinkServices { options); } + /** + * Checks whether 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 + */ + beginCheckPrivateLinkServiceVisibility(location: string, parameters: Models.CheckPrivateLinkServiceVisibilityRequest, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + location, + parameters, + options + }, + beginCheckPrivateLinkServiceVisibilityOperationSpec, + options); + } + + /** + * Checks whether the subscription is visible to private link service in the specified resource + * group. + * @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 + */ + beginCheckPrivateLinkServiceVisibilityByResourceGroup(location: string, resourceGroupName: string, parameters: Models.CheckPrivateLinkServiceVisibilityRequest, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + location, + resourceGroupName, + parameters, + options + }, + beginCheckPrivateLinkServiceVisibilityByResourceGroupOperationSpec, + options); + } + /** * Gets all private link services in a resource group. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -753,9 +749,9 @@ const listPrivateEndpointConnectionsOperationSpec: msRest.OperationSpec = { serializer }; -const checkPrivateLinkServiceVisibilityOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility", +const listAutoApprovedPrivateLinkServicesOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices", urlParameters: [ Parameters.location0, Parameters.subscriptionId @@ -766,16 +762,9 @@ const checkPrivateLinkServiceVisibilityOperationSpec: msRest.OperationSpec = { headerParameters: [ Parameters.acceptLanguage ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.CheckPrivateLinkServiceVisibilityRequest, - required: true - } - }, responses: { 200: { - bodyMapper: Mappers.PrivateLinkServiceVisibility + bodyMapper: Mappers.AutoApprovedPrivateLinkServicesResult }, default: { bodyMapper: Mappers.CloudError @@ -784,9 +773,9 @@ const checkPrivateLinkServiceVisibilityOperationSpec: msRest.OperationSpec = { serializer }; -const checkPrivateLinkServiceVisibilityByResourceGroupOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility", +const listAutoApprovedPrivateLinkServicesByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices", urlParameters: [ Parameters.location0, Parameters.resourceGroupName, @@ -798,16 +787,9 @@ const checkPrivateLinkServiceVisibilityByResourceGroupOperationSpec: msRest.Oper headerParameters: [ Parameters.acceptLanguage ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.CheckPrivateLinkServiceVisibilityRequest, - required: true - } - }, responses: { 200: { - bodyMapper: Mappers.PrivateLinkServiceVisibility + bodyMapper: Mappers.AutoApprovedPrivateLinkServicesResult }, default: { bodyMapper: Mappers.CloudError @@ -816,11 +798,12 @@ const checkPrivateLinkServiceVisibilityByResourceGroupOperationSpec: msRest.Oper serializer }; -const listAutoApprovedPrivateLinkServicesOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices", +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}", urlParameters: [ - Parameters.location0, + Parameters.resourceGroupName, + Parameters.serviceName, Parameters.subscriptionId ], queryParameters: [ @@ -830,22 +813,22 @@ const listAutoApprovedPrivateLinkServicesOperationSpec: msRest.OperationSpec = { Parameters.acceptLanguage ], responses: { - 200: { - bodyMapper: Mappers.AutoApprovedPrivateLinkServicesResult - }, + 200: {}, + 202: {}, + 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorModel } }, serializer }; -const listAutoApprovedPrivateLinkServicesByResourceGroupOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices", +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}", urlParameters: [ - Parameters.location0, Parameters.resourceGroupName, + Parameters.serviceName, Parameters.subscriptionId ], queryParameters: [ @@ -854,23 +837,34 @@ const listAutoApprovedPrivateLinkServicesByResourceGroupOperationSpec: msRest.Op headerParameters: [ Parameters.acceptLanguage ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.PrivateLinkService, + required: true + } + }, responses: { 200: { - bodyMapper: Mappers.AutoApprovedPrivateLinkServicesResult + bodyMapper: Mappers.PrivateLinkService + }, + 201: { + bodyMapper: Mappers.PrivateLinkService }, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorModel } }, serializer }; -const beginDeleteMethodOperationSpec: msRest.OperationSpec = { +const beginDeletePrivateEndpointConnectionOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}", urlParameters: [ Parameters.resourceGroupName, Parameters.serviceName, + Parameters.peConnectionName, Parameters.subscriptionId ], queryParameters: [ @@ -890,12 +884,11 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { serializer }; -const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}", +const beginCheckPrivateLinkServiceVisibilityOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility", urlParameters: [ - Parameters.resourceGroupName, - Parameters.serviceName, + Parameters.location0, Parameters.subscriptionId ], queryParameters: [ @@ -907,31 +900,28 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "parameters", mapper: { - ...Mappers.PrivateLinkService, + ...Mappers.CheckPrivateLinkServiceVisibilityRequest, required: true } }, responses: { 200: { - bodyMapper: Mappers.PrivateLinkService - }, - 201: { - bodyMapper: Mappers.PrivateLinkService + bodyMapper: Mappers.PrivateLinkServiceVisibility }, + 202: {}, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.CloudError } }, serializer }; -const beginDeletePrivateEndpointConnectionOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}", +const beginCheckPrivateLinkServiceVisibilityByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility", urlParameters: [ + Parameters.location0, Parameters.resourceGroupName, - Parameters.serviceName, - Parameters.peConnectionName, Parameters.subscriptionId ], queryParameters: [ @@ -940,12 +930,20 @@ const beginDeletePrivateEndpointConnectionOperationSpec: msRest.OperationSpec = headerParameters: [ Parameters.acceptLanguage ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.CheckPrivateLinkServiceVisibilityRequest, + required: true + } + }, responses: { - 200: {}, + 200: { + bodyMapper: Mappers.PrivateLinkServiceVisibility + }, 202: {}, - 204: {}, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.CloudError } }, serializer diff --git a/sdk/network/arm-network/src/operations/virtualApplianceSites.ts b/sdk/network/arm-network/src/operations/virtualApplianceSites.ts new file mode 100644 index 000000000000..3606f332cabd --- /dev/null +++ b/sdk/network/arm-network/src/operations/virtualApplianceSites.ts @@ -0,0 +1,332 @@ +/* + * 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/virtualApplianceSitesMappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClientContext } from "../networkManagementClientContext"; + +/** Class representing a VirtualApplianceSites. */ +export class VirtualApplianceSites { + private readonly client: NetworkManagementClientContext; + + /** + * Create a VirtualApplianceSites. + * @param {NetworkManagementClientContext} client Reference to the service client. + */ + constructor(client: NetworkManagementClientContext) { + this.client = client; + } + + /** + * Deletes the specified site from a Virtual Appliance. + * @param resourceGroupName The name of the resource group. + * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param siteName The name of the site. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, networkVirtualApplianceName: string, siteName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,networkVirtualApplianceName,siteName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Gets the specified Virtual Appliance Site. + * @param resourceGroupName The name of the resource group. + * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param siteName The name of the site. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, networkVirtualApplianceName: string, siteName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param siteName The name of the site. + * @param callback The callback + */ + get(resourceGroupName: string, networkVirtualApplianceName: string, siteName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param siteName The name of the site. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, networkVirtualApplianceName: string, siteName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, networkVirtualApplianceName: string, siteName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + networkVirtualApplianceName, + siteName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates the specified Network Virtual Appliance Site. + * @param resourceGroupName The name of the resource group. + * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param siteName The name of the site. + * @param parameters Parameters supplied to the create or update Network Virtual Appliance Site + * operation. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, networkVirtualApplianceName: string, siteName: string, parameters: Models.VirtualApplianceSite, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,networkVirtualApplianceName,siteName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource. + * @param resourceGroupName The name of the resource group. + * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, networkVirtualApplianceName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param callback The callback + */ + list(resourceGroupName: string, networkVirtualApplianceName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, networkVirtualApplianceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, networkVirtualApplianceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + networkVirtualApplianceName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Deletes the specified site from a Virtual Appliance. + * @param resourceGroupName The name of the resource group. + * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param siteName The name of the site. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, networkVirtualApplianceName: string, siteName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + networkVirtualApplianceName, + siteName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Creates or updates the specified Network Virtual Appliance Site. + * @param resourceGroupName The name of the resource group. + * @param networkVirtualApplianceName The name of the Network Virtual Appliance. + * @param siteName The name of the site. + * @param parameters Parameters supplied to the create or update Network Virtual Appliance Site + * operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, networkVirtualApplianceName: string, siteName: string, parameters: Models.VirtualApplianceSite, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + networkVirtualApplianceName, + siteName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Lists all Network Virtual Appliance Sites in a Network Virtual Appliance 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/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.networkVirtualApplianceName, + Parameters.siteName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VirtualApplianceSite + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.networkVirtualApplianceName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.NetworkVirtualApplianceSiteListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.networkVirtualApplianceName, + Parameters.siteName, + 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/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.networkVirtualApplianceName, + Parameters.siteName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.VirtualApplianceSite, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.VirtualApplianceSite + }, + 201: { + bodyMapper: Mappers.VirtualApplianceSite + }, + 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.NetworkVirtualApplianceSiteListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/network/arm-network/src/operations/virtualApplianceSkus.ts b/sdk/network/arm-network/src/operations/virtualApplianceSkus.ts new file mode 100644 index 000000000000..b59d9ed0c778 --- /dev/null +++ b/sdk/network/arm-network/src/operations/virtualApplianceSkus.ts @@ -0,0 +1,178 @@ +/* + * 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/virtualApplianceSkusMappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClientContext } from "../networkManagementClientContext"; + +/** Class representing a VirtualApplianceSkus. */ +export class VirtualApplianceSkus { + private readonly client: NetworkManagementClientContext; + + /** + * Create a VirtualApplianceSkus. + * @param {NetworkManagementClientContext} client Reference to the service client. + */ + constructor(client: NetworkManagementClientContext) { + this.client = client; + } + + /** + * List all SKUs available for a virtual appliance. + * @param [options] The optional parameters + * @returns Promise + */ + list(options?: msRest.RequestOptionsBase): Promise; + /** + * @param callback The callback + */ + list(callback: msRest.ServiceCallback): void; + /** + * @param options The optional parameters + * @param callback The callback + */ + list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Retrieves a single available sku for network virtual appliance. + * @param skuName Name of the Sku. + * @param [options] The optional parameters + * @returns Promise + */ + get(skuName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param skuName Name of the Sku. + * @param callback The callback + */ + get(skuName: string, callback: msRest.ServiceCallback): void; + /** + * @param skuName Name of the Sku. + * @param options The optional parameters + * @param callback The callback + */ + get(skuName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(skuName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + skuName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * List all SKUs available for a virtual appliance. + * @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}/providers/Microsoft.Network/networkVirtualApplianceSkus", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.NetworkVirtualApplianceSkuListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus/{skuName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.skuName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.NetworkVirtualApplianceSku + }, + 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.NetworkVirtualApplianceSkuListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/network/arm-network/src/operations/virtualHubBgpConnection.ts b/sdk/network/arm-network/src/operations/virtualHubBgpConnection.ts new file mode 100644 index 000000000000..85d56c7afc79 --- /dev/null +++ b/sdk/network/arm-network/src/operations/virtualHubBgpConnection.ts @@ -0,0 +1,226 @@ +/* + * 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/virtualHubBgpConnectionMappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClientContext } from "../networkManagementClientContext"; + +/** Class representing a VirtualHubBgpConnection. */ +export class VirtualHubBgpConnection { + private readonly client: NetworkManagementClientContext; + + /** + * Create a VirtualHubBgpConnection. + * @param {NetworkManagementClientContext} client Reference to the service client. + */ + constructor(client: NetworkManagementClientContext) { + this.client = client; + } + + /** + * Retrieves the details of a Virtual Hub Bgp Connection. + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param connectionName The name of the connection. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, virtualHubName: string, connectionName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param connectionName The name of the connection. + * @param callback The callback + */ + get(resourceGroupName: string, virtualHubName: string, connectionName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param connectionName The name of the connection. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, virtualHubName: string, connectionName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, virtualHubName: string, connectionName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + virtualHubName, + connectionName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing + * VirtualHubBgpConnection. + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param connectionName The name of the connection. + * @param parameters Parameters of Bgp connection. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, virtualHubName: string, connectionName: string, parameters: Models.BgpConnection, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,virtualHubName,connectionName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Deletes a VirtualHubBgpConnection. + * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param virtualHubName The name of the VirtualHub. + * @param connectionName The name of the connection. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, virtualHubName: string, connectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,virtualHubName,connectionName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing + * VirtualHubBgpConnection. + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param connectionName The name of the connection. + * @param parameters Parameters of Bgp connection. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, virtualHubName: string, connectionName: string, parameters: Models.BgpConnection, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + virtualHubName, + connectionName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Deletes a VirtualHubBgpConnection. + * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param virtualHubName The name of the VirtualHub. + * @param connectionName The name of the connection. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, virtualHubName: string, connectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + virtualHubName, + connectionName, + options + }, + beginDeleteMethodOperationSpec, + options); + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualHubName, + Parameters.connectionName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.BgpConnection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualHubName, + Parameters.connectionName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.BgpConnection, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.BgpConnection + }, + 201: { + bodyMapper: Mappers.BgpConnection + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualHubName, + Parameters.connectionName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/network/arm-network/src/operations/virtualHubBgpConnections.ts b/sdk/network/arm-network/src/operations/virtualHubBgpConnections.ts new file mode 100644 index 000000000000..22c9ccecefe2 --- /dev/null +++ b/sdk/network/arm-network/src/operations/virtualHubBgpConnections.ts @@ -0,0 +1,136 @@ +/* + * 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/virtualHubBgpConnectionsMappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClientContext } from "../networkManagementClientContext"; + +/** Class representing a VirtualHubBgpConnections. */ +export class VirtualHubBgpConnections { + private readonly client: NetworkManagementClientContext; + + /** + * Create a VirtualHubBgpConnections. + * @param {NetworkManagementClientContext} client Reference to the service client. + */ + constructor(client: NetworkManagementClientContext) { + this.client = client; + } + + /** + * Retrieves the details of all VirtualHubBgpConnections. + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, virtualHubName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param callback The callback + */ + list(resourceGroupName: string, virtualHubName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, virtualHubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, virtualHubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + virtualHubName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Retrieves the details of all VirtualHubBgpConnections. + * @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/virtualHubs/{virtualHubName}/bgpConnections", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualHubName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ListVirtualHubBgpConnectionResults + }, + 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.ListVirtualHubBgpConnectionResults + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/network/arm-network/src/operations/virtualHubIpConfiguration.ts b/sdk/network/arm-network/src/operations/virtualHubIpConfiguration.ts new file mode 100644 index 000000000000..a09a25ab0615 --- /dev/null +++ b/sdk/network/arm-network/src/operations/virtualHubIpConfiguration.ts @@ -0,0 +1,332 @@ +/* + * 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/virtualHubIpConfigurationMappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClientContext } from "../networkManagementClientContext"; + +/** Class representing a VirtualHubIpConfiguration. */ +export class VirtualHubIpConfiguration { + private readonly client: NetworkManagementClientContext; + + /** + * Create a VirtualHubIpConfiguration. + * @param {NetworkManagementClientContext} client Reference to the service client. + */ + constructor(client: NetworkManagementClientContext) { + this.client = client; + } + + /** + * Retrieves the details of a Virtual Hub Ip configuration. + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param ipConfigName The name of the ipconfig. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, virtualHubName: string, ipConfigName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param ipConfigName The name of the ipconfig. + * @param callback The callback + */ + get(resourceGroupName: string, virtualHubName: string, ipConfigName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param ipConfigName The name of the ipconfig. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, virtualHubName: string, ipConfigName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, virtualHubName: string, ipConfigName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + virtualHubName, + ipConfigName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing + * VirtualHubIpConfiguration. + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param ipConfigName The name of the ipconfig. + * @param parameters Hub Ip Configuration parameters. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, virtualHubName: string, ipConfigName: string, parameters: Models.HubIpConfiguration, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,virtualHubName,ipConfigName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Deletes a VirtualHubIpConfiguration. + * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param virtualHubName The name of the VirtualHub. + * @param ipConfigName The name of the ipconfig. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, virtualHubName: string, ipConfigName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,virtualHubName,ipConfigName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Retrieves the details of all VirtualHubIpConfigurations. + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, virtualHubName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param callback The callback + */ + list(resourceGroupName: string, virtualHubName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, virtualHubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, virtualHubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + virtualHubName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing + * VirtualHubIpConfiguration. + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param ipConfigName The name of the ipconfig. + * @param parameters Hub Ip Configuration parameters. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, virtualHubName: string, ipConfigName: string, parameters: Models.HubIpConfiguration, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + virtualHubName, + ipConfigName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Deletes a VirtualHubIpConfiguration. + * @param resourceGroupName The resource group name of the VirtualHubBgpConnection. + * @param virtualHubName The name of the VirtualHub. + * @param ipConfigName The name of the ipconfig. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, virtualHubName: string, ipConfigName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + virtualHubName, + ipConfigName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Retrieves the details of all VirtualHubIpConfigurations. + * @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/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualHubName, + Parameters.ipConfigName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.HubIpConfiguration + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualHubName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ListVirtualHubIpConfigurationResults + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualHubName, + Parameters.ipConfigName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.HubIpConfiguration, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.HubIpConfiguration + }, + 201: { + bodyMapper: Mappers.HubIpConfiguration + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualHubName, + Parameters.ipConfigName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ListVirtualHubIpConfigurationResults + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/network/arm-network/src/operations/virtualHubs.ts b/sdk/network/arm-network/src/operations/virtualHubs.ts index 03ca0e64f21d..fc2cafb01940 100644 --- a/sdk/network/arm-network/src/operations/virtualHubs.ts +++ b/sdk/network/arm-network/src/operations/virtualHubs.ts @@ -172,6 +172,18 @@ export class VirtualHubs { callback) as Promise; } + /** + * Gets the effective routes configured for the Virtual Hub resource or the specified resource . + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param [options] The optional parameters + * @returns Promise + */ + getEffectiveVirtualHubRoutes(resourceGroupName: string, virtualHubName: string, options?: Models.VirtualHubsGetEffectiveVirtualHubRoutesOptionalParams): Promise { + return this.beginGetEffectiveVirtualHubRoutes(resourceGroupName,virtualHubName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + /** * Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub. * @param resourceGroupName The resource group name of the VirtualHub. @@ -210,6 +222,24 @@ export class VirtualHubs { options); } + /** + * Gets the effective routes configured for the Virtual Hub resource or the specified resource . + * @param resourceGroupName The resource group name of the VirtualHub. + * @param virtualHubName The name of the VirtualHub. + * @param [options] The optional parameters + * @returns Promise + */ + beginGetEffectiveVirtualHubRoutes(resourceGroupName: string, virtualHubName: string, options?: Models.VirtualHubsBeginGetEffectiveVirtualHubRoutesOptionalParams): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + virtualHubName, + options + }, + beginGetEffectiveVirtualHubRoutesOperationSpec, + options); + } + /** * Lists all the VirtualHubs in a resource group. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -433,6 +463,37 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { serializer }; +const beginGetEffectiveVirtualHubRoutesOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/effectiveRoutes", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualHubName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: [ + "options", + "effectiveRoutesParameters" + ], + mapper: Mappers.EffectiveRoutesParameters + }, + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", From 9a11725529a7247a4448e16d717c9967e7b429b4 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Mon, 29 Jun 2020 23:40:25 +0000 Subject: [PATCH 2/2] Generated from f623ead25fe62ba910864d808ca10c144d6ac036 Fixed prettier warning --- ...atewayPrivateEndpointConnectionsMappers.ts | 1 + ...ationGatewayPrivateLinkResourcesMappers.ts | 1 + .../src/models/applicationGatewaysMappers.ts | 1 + .../applicationSecurityGroupsMappers.ts | 1 + .../availableEndpointServicesMappers.ts | 1 + .../models/azureFirewallFqdnTagsMappers.ts | 1 + .../src/models/azureFirewallsMappers.ts | 1 + .../src/models/bastionHostsMappers.ts | 1 + .../models/bgpServiceCommunitiesMappers.ts | 1 + .../src/models/connectionMonitorsMappers.ts | 1 + .../src/models/ddosCustomPoliciesMappers.ts | 1 + .../src/models/ddosProtectionPlansMappers.ts | 1 + .../src/models/defaultSecurityRulesMappers.ts | 1 + ...xpressRouteCircuitAuthorizationsMappers.ts | 1 + .../expressRouteCircuitConnectionsMappers.ts | 1 + .../expressRouteCircuitPeeringsMappers.ts | 1 + .../src/models/expressRouteCircuitsMappers.ts | 1 + .../models/expressRouteConnectionsMappers.ts | 1 + ...ressRouteCrossConnectionPeeringsMappers.ts | 1 + .../expressRouteCrossConnectionsMappers.ts | 1 + .../src/models/expressRouteGatewaysMappers.ts | 1 + .../src/models/expressRouteLinksMappers.ts | 1 + .../expressRoutePortsLocationsMappers.ts | 1 + .../src/models/expressRoutePortsMappers.ts | 3 + .../expressRouteServiceProvidersMappers.ts | 1 + .../src/models/firewallPoliciesMappers.ts | 1 + ...rewallPolicyRuleCollectionGroupsMappers.ts | 1 + .../arm-network/src/models/flowLogsMappers.ts | 2 + .../src/models/hubRouteTablesMappers.ts | 1 + .../hubVirtualNetworkConnectionsMappers.ts | 1 + .../src/models/inboundNatRulesMappers.ts | 1 + sdk/network/arm-network/src/models/index.ts | 213 +++++++++++++----- .../src/models/ipAllocationsMappers.ts | 1 + .../arm-network/src/models/ipGroupsMappers.ts | 1 + .../loadBalancerBackendAddressPoolsMappers.ts | 1 + ...BalancerFrontendIPConfigurationsMappers.ts | 1 + .../loadBalancerLoadBalancingRulesMappers.ts | 1 + .../loadBalancerNetworkInterfacesMappers.ts | 1 + .../loadBalancerOutboundRulesMappers.ts | 1 + .../src/models/loadBalancerProbesMappers.ts | 1 + .../src/models/loadBalancersMappers.ts | 1 + .../src/models/localNetworkGatewaysMappers.ts | 1 + sdk/network/arm-network/src/models/mappers.ts | 158 ++++++++++--- .../src/models/natGatewaysMappers.ts | 1 + ...networkInterfaceIPConfigurationsMappers.ts | 1 + .../networkInterfaceLoadBalancersMappers.ts | 1 + ...etworkInterfaceTapConfigurationsMappers.ts | 1 + .../src/models/networkInterfacesMappers.ts | 1 + .../src/models/networkProfilesMappers.ts | 1 + .../models/networkSecurityGroupsMappers.ts | 1 + .../models/networkVirtualAppliancesMappers.ts | 1 + .../src/models/networkWatchersMappers.ts | 1 + .../src/models/p2sVpnGatewaysMappers.ts | 1 + .../arm-network/src/models/parameters.ts | 2 +- ...erExpressRouteCircuitConnectionsMappers.ts | 1 + .../src/models/privateDnsZoneGroupsMappers.ts | 1 + .../src/models/privateEndpointsMappers.ts | 1 + .../src/models/privateLinkServicesMappers.ts | 1 + .../src/models/publicIPAddressesMappers.ts | 1 + .../src/models/publicIPPrefixesMappers.ts | 1 + .../models/resourceNavigationLinksMappers.ts | 1 + .../src/models/routeFilterRulesMappers.ts | 1 + .../src/models/routeFiltersMappers.ts | 1 + .../src/models/routeTablesMappers.ts | 1 + .../arm-network/src/models/routesMappers.ts | 1 + .../models/securityPartnerProvidersMappers.ts | 1 + .../src/models/securityRulesMappers.ts | 1 + .../models/serviceAssociationLinksMappers.ts | 1 + .../models/serviceEndpointPoliciesMappers.ts | 1 + ...serviceEndpointPolicyDefinitionsMappers.ts | 1 + .../arm-network/src/models/subnetsMappers.ts | 1 + .../models/virtualApplianceSitesMappers.ts | 1 + .../src/models/virtualApplianceSkusMappers.ts | 1 + .../models/virtualHubBgpConnectionMappers.ts | 1 + .../models/virtualHubBgpConnectionsMappers.ts | 1 + .../virtualHubIpConfigurationMappers.ts | 1 + .../models/virtualHubRouteTableV2sMappers.ts | 1 + .../src/models/virtualHubsMappers.ts | 1 + ...virtualNetworkGatewayConnectionsMappers.ts | 1 + .../models/virtualNetworkGatewaysMappers.ts | 1 + .../models/virtualNetworkPeeringsMappers.ts | 1 + .../src/models/virtualNetworkTapsMappers.ts | 1 + .../src/models/virtualNetworksMappers.ts | 1 + .../models/virtualRouterPeeringsMappers.ts | 1 + .../src/models/virtualRoutersMappers.ts | 1 + .../src/models/virtualWansMappers.ts | 1 + .../src/models/vpnConnectionsMappers.ts | 1 + .../src/models/vpnGatewaysMappers.ts | 1 + .../src/models/vpnLinkConnectionsMappers.ts | 1 + .../models/vpnServerConfigurationsMappers.ts | 1 + .../models/vpnSiteLinkConnectionsMappers.ts | 1 + .../src/models/vpnSiteLinksMappers.ts | 1 + .../arm-network/src/models/vpnSitesMappers.ts | 1 + .../webApplicationFirewallPoliciesMappers.ts | 1 + .../src/operations/expressRoutePorts.ts | 68 ++++++ .../arm-network/src/operations/flowLogs.ts | 73 ++++++ .../src/operations/p2sVpnGateways.ts | 106 +++++---- .../src/operations/privateLinkServices.ts | 210 ++++++++--------- .../arm-network/src/operations/vpnGateways.ts | 106 +++++---- 99 files changed, 724 insertions(+), 306 deletions(-) diff --git a/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts b/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts index 2528c8fda2ce..2b6fda28c2ba 100644 --- a/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts b/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts index 0b0901be9add..929b957f5bf1 100644 --- a/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts +++ b/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts b/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts index 588333e0027b..f4b31705c619 100644 --- a/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts @@ -286,6 +286,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts b/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts index 52ff3c0cade9..1403600aae6c 100644 --- a/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts b/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts index ff8a76dfcd61..6a57c66f2fff 100644 --- a/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts +++ b/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts b/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts index eeae81b4e562..09cedb102e54 100644 --- a/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts +++ b/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/azureFirewallsMappers.ts b/sdk/network/arm-network/src/models/azureFirewallsMappers.ts index 3694470a2cbd..29355e474943 100644 --- a/sdk/network/arm-network/src/models/azureFirewallsMappers.ts +++ b/sdk/network/arm-network/src/models/azureFirewallsMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/bastionHostsMappers.ts b/sdk/network/arm-network/src/models/bastionHostsMappers.ts index 565b29fb2356..213c32bf0fd9 100644 --- a/sdk/network/arm-network/src/models/bastionHostsMappers.ts +++ b/sdk/network/arm-network/src/models/bastionHostsMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts b/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts index f55771393a04..a0ae1425f6c4 100644 --- a/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts +++ b/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts b/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts index 285e97137907..a633a558d18c 100644 --- a/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts +++ b/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts @@ -283,6 +283,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts b/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts index 61913eba9b37..48c96865b3f4 100644 --- a/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts b/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts index 17a85b4656a5..791f55ba83aa 100644 --- a/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts +++ b/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts b/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts index a731394592a8..fd0a7da15fd2 100644 --- a/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts +++ b/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts index 193bf4a65dbc..21aba7992624 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts index 7fb6c33a3f59..132e0440ec93 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts index 249c69e8dbca..2cffc85fff44 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts index 94b15312b0a7..c203ef8a79e1 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts @@ -282,6 +282,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts index 29fad1de4d38..8422d52478e3 100644 --- a/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts index ae7d96aa20a4..3423488f9cf0 100644 --- a/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts index b0b285242539..f8cbd9264ab9 100644 --- a/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts @@ -282,6 +282,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts b/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts index 2d898f09bff0..8624d865b9ca 100644 --- a/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts b/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts index eabc8a81b3b6..570d82e681f2 100644 --- a/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts b/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts index 52446d5684fd..eccad4346df0 100644 --- a/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts b/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts index d8883e35a5b9..2e233496d368 100644 --- a/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts @@ -146,6 +146,8 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GenerateExpressRoutePortsLOARequest, + GenerateExpressRoutePortsLOAResult, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -276,6 +278,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts b/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts index c131dcbb127a..c2bcac545369 100644 --- a/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts b/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts index 7099836be302..23ebf3329097 100644 --- a/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts b/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts index 60a8222392ef..64c45bb6d96a 100644 --- a/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/flowLogsMappers.ts b/sdk/network/arm-network/src/models/flowLogsMappers.ts index d688a6b67d5b..ce664ec40ed5 100644 --- a/sdk/network/arm-network/src/models/flowLogsMappers.ts +++ b/sdk/network/arm-network/src/models/flowLogsMappers.ts @@ -242,6 +242,7 @@ export { StaticRoute, Subnet, SubResource, + TagsObject, TrafficAnalyticsConfigurationProperties, TrafficAnalyticsProperties, TrafficSelectorPolicy, @@ -276,6 +277,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts b/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts index 17396d2fe4e3..7db18a808615 100644 --- a/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts +++ b/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts b/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts index 758985e2e3d6..78774617f38d 100644 --- a/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts b/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts index 9049c3ede699..068cce7dc08c 100644 --- a/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts +++ b/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/index.ts b/sdk/network/arm-network/src/models/index.ts index 9cdc6fded1a0..878e9e2c78d8 100644 --- a/sdk/network/arm-network/src/models/index.ts +++ b/sdk/network/arm-network/src/models/index.ts @@ -4962,6 +4962,26 @@ export interface ExpressRoutePort extends Resource { identity?: ManagedServiceIdentity; } +/** + * The customer name to be printed on a letter of authorization. + */ +export interface GenerateExpressRoutePortsLOARequest { + /** + * The customer name. + */ + customerName: string; +} + +/** + * Response for GenerateExpressRoutePortsLOA API service call. + */ +export interface GenerateExpressRoutePortsLOAResult { + /** + * The content as a base64 encoded string. + */ + encodedContent?: string; +} + /** * ThreatIntel Whitelist for Firewall Policy. */ @@ -7205,10 +7225,10 @@ export interface HopLink { */ readonly issues?: ConnectivityIssue[]; /** - * Provides additional context on links. + * Provides additional context on the issue. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly context?: { [propertyName: string]: string }; + readonly context?: { [propertyName: string]: string }[]; /** * Resource ID. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -7764,6 +7784,10 @@ export interface ConnectionMonitorTcpConfiguration { * Value indicating whether path evaluation with trace route should be disabled. */ disableTraceRoute?: boolean; + /** + * Destination port behavior. + */ + destinationPortBehavior?: string; } /** @@ -9027,6 +9051,21 @@ export interface AddressSpace { addressPrefixes?: string[]; } +/** + * Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET. + */ +export interface VirtualNetworkBgpCommunities { + /** + * The BGP community associated with the virtual network. + */ + virtualNetworkCommunity: string; + /** + * The BGP community associated with the region of the virtual network. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly regionalCommunity?: string; +} + /** * Peerings in a virtual network resource. */ @@ -9062,6 +9101,10 @@ export interface VirtualNetworkPeering extends SubResource { * The reference to the remote virtual network address space. */ remoteAddressSpace?: AddressSpace; + /** + * The reference to the remote virtual network's Bgp Communities. + */ + remoteBgpCommunities?: VirtualNetworkBgpCommunities; /** * The status of the virtual network peering. Possible values include: 'Initiated', 'Connected', * 'Disconnected' @@ -9126,21 +9169,6 @@ export interface DhcpOptions { dnsServers?: string[]; } -/** - * Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET. - */ -export interface VirtualNetworkBgpCommunities { - /** - * The BGP community associated with the virtual network. - */ - virtualNetworkCommunity: string; - /** - * The BGP community associated with the region of the virtual network. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly regionalCommunity?: string; -} - /** * Virtual Network resource. */ @@ -10968,7 +10996,7 @@ export interface VpnConnection extends SubResource { */ routingWeight?: number; /** - * The dead peer detection timeout for a vpn connection in seconds. + * DPD timeout in seconds for vpn connection. */ dpdTimeoutSeconds?: number; /** @@ -11049,6 +11077,24 @@ export interface VpnConnection extends SubResource { readonly etag?: string; } +/** + * IP Configuration of a VPN Gateway Resource. + */ +export interface VpnGatewayIpConfiguration { + /** + * The identifier of the IP configuration for a VPN Gateway. + */ + id?: string; + /** + * The public IP address of this IP configuration. + */ + publicIpAddress?: string; + /** + * The private IP address of this IP configuration. + */ + privateIpAddress?: string; +} + /** * VpnGateway Resource. */ @@ -11075,6 +11121,11 @@ export interface VpnGateway extends Resource { * The scale unit for this vpn gateway. */ vpnGatewayScaleUnit?: number; + /** + * List of all IPs configured on the gateway. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly ipConfigurations?: VpnGatewayIpConfiguration[]; /** * 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.** @@ -11168,12 +11219,12 @@ export interface HubRouteTable extends SubResource { * List of all connections associated with this route table. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly associatedConnections?: string[]; + readonly associatedConnections?: SubResource[]; /** * List of all connections that advertise to this route table. * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - readonly propagatingConnections?: string[]; + readonly propagatingConnections?: SubResource[]; /** * The provisioning state of the RouteTable resource. Possible values include: 'Succeeded', * 'Updating', 'Deleting', 'Failed' @@ -11714,7 +11765,7 @@ export interface VirtualHubEffectiveRoute { /** * EffectiveRoutes List. */ -export interface VirtualHubEffectiveRouteList { +export interface VirtualHubEffectiveRouteEffectiveRouteList { /** * The list of effective routes configured on the virtual hub or the specified resource. */ @@ -17729,6 +17780,26 @@ export type ExpressRoutePortsListResponse = ExpressRoutePortListResult & { }; }; +/** + * Contains response data for the generateLOA operation. + */ +export type ExpressRoutePortsGenerateLOAResponse = GenerateExpressRoutePortsLOAResult & { + /** + * 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: GenerateExpressRoutePortsLOAResult; + }; +}; + /** * Contains response data for the beginCreateOrUpdate operation. */ @@ -21429,6 +21500,26 @@ export type FlowLogsCreateOrUpdateResponse = FlowLog & { }; }; +/** + * Contains response data for the updateTags operation. + */ +export type FlowLogsUpdateTagsResponse = FlowLog & { + /** + * 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: FlowLog; + }; +}; + /** * Contains response data for the get operation. */ @@ -22109,46 +22200,6 @@ export type PrivateLinkServicesBeginCreateOrUpdateResponse = PrivateLinkService }; }; -/** - * Contains response data for the beginCheckPrivateLinkServiceVisibility operation. - */ -export type PrivateLinkServicesBeginCheckPrivateLinkServiceVisibilityResponse = PrivateLinkServiceVisibility & { - /** - * 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: PrivateLinkServiceVisibility; - }; -}; - -/** - * Contains response data for the beginCheckPrivateLinkServiceVisibilityByResourceGroup operation. - */ -export type PrivateLinkServicesBeginCheckPrivateLinkServiceVisibilityByResourceGroupResponse = PrivateLinkServiceVisibility & { - /** - * 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: PrivateLinkServiceVisibility; - }; -}; - /** * Contains response data for the listNext operation. */ @@ -26729,6 +26780,26 @@ export type VpnGatewaysBeginCreateOrUpdateResponse = VpnGateway & { }; }; +/** + * Contains response data for the beginUpdateTags operation. + */ +export type VpnGatewaysBeginUpdateTagsResponse = VpnGateway & { + /** + * 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: VpnGateway; + }; +}; + /** * Contains response data for the beginReset operation. */ @@ -27129,6 +27200,26 @@ export type P2sVpnGatewaysBeginCreateOrUpdateResponse = P2SVpnGateway & { }; }; +/** + * Contains response data for the beginUpdateTags operation. + */ +export type P2sVpnGatewaysBeginUpdateTagsResponse = P2SVpnGateway & { + /** + * 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: P2SVpnGateway; + }; +}; + /** * Contains response data for the beginGenerateVpnProfile operation. */ diff --git a/sdk/network/arm-network/src/models/ipAllocationsMappers.ts b/sdk/network/arm-network/src/models/ipAllocationsMappers.ts index 6e0b60b7c15d..549ced81f9c9 100644 --- a/sdk/network/arm-network/src/models/ipAllocationsMappers.ts +++ b/sdk/network/arm-network/src/models/ipAllocationsMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/ipGroupsMappers.ts b/sdk/network/arm-network/src/models/ipGroupsMappers.ts index 95f92924a610..8b49f4b617cf 100644 --- a/sdk/network/arm-network/src/models/ipGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/ipGroupsMappers.ts @@ -277,6 +277,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts b/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts index 0d59259c367d..824d7d75d85a 100644 --- a/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts b/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts index b93b1e183f18..f38c4a996e1d 100644 --- a/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts index b7eac601a3e1..daf249cd1aa5 100644 --- a/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts index 7690797a8a84..3bc70ced093d 100644 --- a/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts index 71471bf1136e..4a84fe92a9e4 100644 --- a/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts index c0093316fc2d..174e942308b0 100644 --- a/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/loadBalancersMappers.ts b/sdk/network/arm-network/src/models/loadBalancersMappers.ts index 292cc5f34bf3..9cee375adfd8 100644 --- a/sdk/network/arm-network/src/models/loadBalancersMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancersMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts b/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts index b38e3e38d783..3d96b5cd534e 100644 --- a/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/mappers.ts b/sdk/network/arm-network/src/models/mappers.ts index 8c9786939ec4..7256fa3d26a7 100644 --- a/sdk/network/arm-network/src/models/mappers.ts +++ b/sdk/network/arm-network/src/models/mappers.ts @@ -8309,6 +8309,39 @@ export const ExpressRoutePort: msRest.CompositeMapper = { } }; +export const GenerateExpressRoutePortsLOARequest: msRest.CompositeMapper = { + serializedName: "GenerateExpressRoutePortsLOARequest", + type: { + name: "Composite", + className: "GenerateExpressRoutePortsLOARequest", + modelProperties: { + customerName: { + required: true, + serializedName: "customerName", + type: { + name: "String" + } + } + } + } +}; + +export const GenerateExpressRoutePortsLOAResult: msRest.CompositeMapper = { + serializedName: "GenerateExpressRoutePortsLOAResult", + type: { + name: "Composite", + className: "GenerateExpressRoutePortsLOAResult", + modelProperties: { + encodedContent: { + serializedName: "encodedContent", + type: { + name: "String" + } + } + } + } +}; + export const FirewallPolicyThreatIntelWhitelist: msRest.CompositeMapper = { serializedName: "FirewallPolicyThreatIntelWhitelist", type: { @@ -12094,10 +12127,15 @@ export const HopLink: msRest.CompositeMapper = { readOnly: true, serializedName: "context", type: { - name: "Dictionary", - value: { + name: "Sequence", + element: { type: { - name: "String" + name: "Dictionary", + value: { + type: { + name: "String" + } + } } } } @@ -13105,6 +13143,12 @@ export const ConnectionMonitorTcpConfiguration: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + destinationPortBehavior: { + serializedName: "destinationPortBehavior", + type: { + name: "String" + } } } } @@ -15331,6 +15375,30 @@ export const AddressSpace: msRest.CompositeMapper = { } }; +export const VirtualNetworkBgpCommunities: msRest.CompositeMapper = { + serializedName: "VirtualNetworkBgpCommunities", + type: { + name: "Composite", + className: "VirtualNetworkBgpCommunities", + modelProperties: { + virtualNetworkCommunity: { + required: true, + serializedName: "virtualNetworkCommunity", + type: { + name: "String" + } + }, + regionalCommunity: { + readOnly: true, + serializedName: "regionalCommunity", + type: { + name: "String" + } + } + } + } +}; + export const VirtualNetworkPeering: msRest.CompositeMapper = { serializedName: "VirtualNetworkPeering", type: { @@ -15376,6 +15444,13 @@ export const VirtualNetworkPeering: msRest.CompositeMapper = { className: "AddressSpace" } }, + remoteBgpCommunities: { + serializedName: "properties.remoteBgpCommunities", + type: { + name: "Composite", + className: "VirtualNetworkBgpCommunities" + } + }, peeringState: { serializedName: "properties.peeringState", type: { @@ -15485,30 +15560,6 @@ export const DhcpOptions: msRest.CompositeMapper = { } }; -export const VirtualNetworkBgpCommunities: msRest.CompositeMapper = { - serializedName: "VirtualNetworkBgpCommunities", - type: { - name: "Composite", - className: "VirtualNetworkBgpCommunities", - modelProperties: { - virtualNetworkCommunity: { - required: true, - serializedName: "virtualNetworkCommunity", - type: { - name: "String" - } - }, - regionalCommunity: { - readOnly: true, - serializedName: "regionalCommunity", - type: { - name: "String" - } - } - } - } -}; - export const VirtualNetwork: msRest.CompositeMapper = { serializedName: "VirtualNetwork", type: { @@ -18680,6 +18731,34 @@ export const VpnConnection: msRest.CompositeMapper = { } }; +export const VpnGatewayIpConfiguration: msRest.CompositeMapper = { + serializedName: "VpnGatewayIpConfiguration", + type: { + name: "Composite", + className: "VpnGatewayIpConfiguration", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + }, + publicIpAddress: { + serializedName: "publicIpAddress", + type: { + name: "String" + } + }, + privateIpAddress: { + serializedName: "privateIpAddress", + type: { + name: "String" + } + } + } + } +}; + export const VpnGateway: msRest.CompositeMapper = { serializedName: "VpnGateway", type: { @@ -18726,6 +18805,19 @@ export const VpnGateway: msRest.CompositeMapper = { name: "Number" } }, + ipConfigurations: { + readOnly: true, + serializedName: "properties.ipConfigurations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VpnGatewayIpConfiguration" + } + } + } + }, etag: { readOnly: true, serializedName: "etag", @@ -18887,7 +18979,8 @@ export const HubRouteTable: msRest.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "SubResource" } } } @@ -18899,7 +18992,8 @@ export const HubRouteTable: msRest.CompositeMapper = { name: "Sequence", element: { type: { - name: "String" + name: "Composite", + className: "SubResource" } } } @@ -19838,11 +19932,11 @@ export const VirtualHubEffectiveRoute: msRest.CompositeMapper = { } }; -export const VirtualHubEffectiveRouteList: msRest.CompositeMapper = { - serializedName: "VirtualHubEffectiveRouteList", +export const VirtualHubEffectiveRouteEffectiveRouteList: msRest.CompositeMapper = { + serializedName: "VirtualHubEffectiveRouteEffectiveRouteList", type: { name: "Composite", - className: "VirtualHubEffectiveRouteList", + className: "VirtualHubEffectiveRouteEffectiveRouteList", modelProperties: { value: { serializedName: "value", diff --git a/sdk/network/arm-network/src/models/natGatewaysMappers.ts b/sdk/network/arm-network/src/models/natGatewaysMappers.ts index f97163dcb9d7..def28adff9ad 100644 --- a/sdk/network/arm-network/src/models/natGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/natGatewaysMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts index fe480cecd75c..89341fe41977 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts index cf208c3b2046..83cade7f16f9 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts index 839ca12970f1..331b71bf1275 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/networkInterfacesMappers.ts b/sdk/network/arm-network/src/models/networkInterfacesMappers.ts index 8b32c796d0e2..b7c17d0df509 100644 --- a/sdk/network/arm-network/src/models/networkInterfacesMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfacesMappers.ts @@ -283,6 +283,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/networkProfilesMappers.ts b/sdk/network/arm-network/src/models/networkProfilesMappers.ts index eefd235fc5db..0a9b97140699 100644 --- a/sdk/network/arm-network/src/models/networkProfilesMappers.ts +++ b/sdk/network/arm-network/src/models/networkProfilesMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts b/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts index eb9d1f325857..b9ed2a1275ee 100644 --- a/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts b/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts index f9f85e1f8bbe..757003f05902 100644 --- a/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts +++ b/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/networkWatchersMappers.ts b/sdk/network/arm-network/src/models/networkWatchersMappers.ts index 5c6738e529ba..03bbefb84d37 100644 --- a/sdk/network/arm-network/src/models/networkWatchersMappers.ts +++ b/sdk/network/arm-network/src/models/networkWatchersMappers.ts @@ -326,6 +326,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts b/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts index 13a00a3c9545..b44d27a46af0 100644 --- a/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts @@ -280,6 +280,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnProfileResponse, diff --git a/sdk/network/arm-network/src/models/parameters.ts b/sdk/network/arm-network/src/models/parameters.ts index 981a242b4896..80fd0b6f585d 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: '2020-05-01', + defaultValue: '2020-06-01', type: { name: "String" } diff --git a/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts b/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts index c82878e21ef2..2e6736ec0b51 100644 --- a/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts b/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts index 3d1ba4f097ac..876b87f50857 100644 --- a/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts @@ -277,6 +277,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/privateEndpointsMappers.ts b/sdk/network/arm-network/src/models/privateEndpointsMappers.ts index 1b43f93ff50c..a729a83fcd6f 100644 --- a/sdk/network/arm-network/src/models/privateEndpointsMappers.ts +++ b/sdk/network/arm-network/src/models/privateEndpointsMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts b/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts index 5a44e4637b87..83262ff75869 100644 --- a/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts +++ b/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts @@ -282,6 +282,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts b/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts index 550af9869b86..85a63ddd397e 100644 --- a/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts +++ b/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts b/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts index 540c10645485..3572b198a889 100644 --- a/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts +++ b/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts b/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts index 1a08893d32f8..d0d9377238b2 100644 --- a/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts +++ b/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts b/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts index 5f6c1b1b23a8..45ca06082f20 100644 --- a/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts +++ b/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/routeFiltersMappers.ts b/sdk/network/arm-network/src/models/routeFiltersMappers.ts index 5f487e4c817f..6228b8c522ae 100644 --- a/sdk/network/arm-network/src/models/routeFiltersMappers.ts +++ b/sdk/network/arm-network/src/models/routeFiltersMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/routeTablesMappers.ts b/sdk/network/arm-network/src/models/routeTablesMappers.ts index 8cc2c425dfc3..63d85fc1f04d 100644 --- a/sdk/network/arm-network/src/models/routeTablesMappers.ts +++ b/sdk/network/arm-network/src/models/routeTablesMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/routesMappers.ts b/sdk/network/arm-network/src/models/routesMappers.ts index 9aa74e77f076..c15703eef704 100644 --- a/sdk/network/arm-network/src/models/routesMappers.ts +++ b/sdk/network/arm-network/src/models/routesMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts b/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts index 1c9d1d2e463e..f932a97eb98b 100644 --- a/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts +++ b/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/securityRulesMappers.ts b/sdk/network/arm-network/src/models/securityRulesMappers.ts index a731394592a8..fd0a7da15fd2 100644 --- a/sdk/network/arm-network/src/models/securityRulesMappers.ts +++ b/sdk/network/arm-network/src/models/securityRulesMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts b/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts index 1a4a11203048..82ec722ff9f0 100644 --- a/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts +++ b/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts b/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts index 9fc5d6f596c2..b44b82640c2a 100644 --- a/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts b/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts index 80cffa46ef6e..c47b01315d5e 100644 --- a/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts +++ b/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/subnetsMappers.ts b/sdk/network/arm-network/src/models/subnetsMappers.ts index 30df557e65c5..d3f3151c3f23 100644 --- a/sdk/network/arm-network/src/models/subnetsMappers.ts +++ b/sdk/network/arm-network/src/models/subnetsMappers.ts @@ -278,6 +278,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/virtualApplianceSitesMappers.ts b/sdk/network/arm-network/src/models/virtualApplianceSitesMappers.ts index 9ee781a51631..4f312b862ecf 100644 --- a/sdk/network/arm-network/src/models/virtualApplianceSitesMappers.ts +++ b/sdk/network/arm-network/src/models/virtualApplianceSitesMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/virtualApplianceSkusMappers.ts b/sdk/network/arm-network/src/models/virtualApplianceSkusMappers.ts index b85259eef738..45c78b769e88 100644 --- a/sdk/network/arm-network/src/models/virtualApplianceSkusMappers.ts +++ b/sdk/network/arm-network/src/models/virtualApplianceSkusMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/virtualHubBgpConnectionMappers.ts b/sdk/network/arm-network/src/models/virtualHubBgpConnectionMappers.ts index 59412a83e046..41014f4054bd 100644 --- a/sdk/network/arm-network/src/models/virtualHubBgpConnectionMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubBgpConnectionMappers.ts @@ -274,6 +274,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/virtualHubBgpConnectionsMappers.ts b/sdk/network/arm-network/src/models/virtualHubBgpConnectionsMappers.ts index 914d4356f5af..af7dee014fb7 100644 --- a/sdk/network/arm-network/src/models/virtualHubBgpConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubBgpConnectionsMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/virtualHubIpConfigurationMappers.ts b/sdk/network/arm-network/src/models/virtualHubIpConfigurationMappers.ts index 89a6eefd0abe..c6e0f85c8448 100644 --- a/sdk/network/arm-network/src/models/virtualHubIpConfigurationMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubIpConfigurationMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts b/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts index aac875a78066..1de9e746cfef 100644 --- a/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts @@ -277,6 +277,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/virtualHubsMappers.ts b/sdk/network/arm-network/src/models/virtualHubsMappers.ts index d4b94a7c553b..6a6bbe8e6921 100644 --- a/sdk/network/arm-network/src/models/virtualHubsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubsMappers.ts @@ -277,6 +277,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts index 36f441b1029e..4d756804a171 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts @@ -279,6 +279,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnPacketCaptureStartParameters, diff --git a/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts index 08d3105a1448..1a0b80e5d395 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts @@ -289,6 +289,7 @@ export { VpnConnection, VpnDeviceScriptParameters, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnPacketCaptureStartParameters, diff --git a/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts index 8bbdb73fe5db..b11629e4c8ec 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts index c47ccf17b6a0..f29b82f4ae5d 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/virtualNetworksMappers.ts b/sdk/network/arm-network/src/models/virtualNetworksMappers.ts index 36defd464545..c52fc016e917 100644 --- a/sdk/network/arm-network/src/models/virtualNetworksMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworksMappers.ts @@ -280,6 +280,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts b/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts index eb1fbfad80c9..38d3575d7cc4 100644 --- a/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/virtualRoutersMappers.ts b/sdk/network/arm-network/src/models/virtualRoutersMappers.ts index 6645faf98e32..b95e9fd879cc 100644 --- a/sdk/network/arm-network/src/models/virtualRoutersMappers.ts +++ b/sdk/network/arm-network/src/models/virtualRoutersMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/virtualWansMappers.ts b/sdk/network/arm-network/src/models/virtualWansMappers.ts index 2f0276b3f1c5..c419bd0cfdd5 100644 --- a/sdk/network/arm-network/src/models/virtualWansMappers.ts +++ b/sdk/network/arm-network/src/models/virtualWansMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts index 2bcc5772ff23..7e3400496b95 100644 --- a/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts b/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts index a78d6a450831..d910aa81c5a5 100644 --- a/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts index 59d49d0f59ea..6c4ce44717af 100644 --- a/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts b/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts index e8ba5a3217ce..0aaad37fac66 100644 --- a/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts index 59412a83e046..41014f4054bd 100644 --- a/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts @@ -274,6 +274,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts b/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts index 95db8d0e0905..2da6703bb452 100644 --- a/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts @@ -275,6 +275,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/vpnSitesMappers.ts b/sdk/network/arm-network/src/models/vpnSitesMappers.ts index 248c844d6c06..d2fd50d5a14a 100644 --- a/sdk/network/arm-network/src/models/vpnSitesMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSitesMappers.ts @@ -276,6 +276,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts b/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts index 337476a0c56b..3177490e7e96 100644 --- a/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts @@ -274,6 +274,7 @@ export { VpnClientRootCertificate, VpnConnection, VpnGateway, + VpnGatewayIpConfiguration, VpnLinkBgpSettings, VpnLinkProviderProperties, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/operations/expressRoutePorts.ts b/sdk/network/arm-network/src/operations/expressRoutePorts.ts index 95b1d9adb97a..9372f6773b61 100644 --- a/sdk/network/arm-network/src/operations/expressRoutePorts.ts +++ b/sdk/network/arm-network/src/operations/expressRoutePorts.ts @@ -172,6 +172,42 @@ export class ExpressRoutePorts { callback) as Promise; } + /** + * Generate a letter of authorization for the requested ExpressRoutePort resource. + * @param resourceGroupName The name of the resource group. + * @param expressRoutePortName The name of ExpressRoutePort. + * @param request Request parameters supplied to generate a letter of authorization. + * @param [options] The optional parameters + * @returns Promise + */ + generateLOA(resourceGroupName: string, expressRoutePortName: string, request: Models.GenerateExpressRoutePortsLOARequest, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param expressRoutePortName The name of ExpressRoutePort. + * @param request Request parameters supplied to generate a letter of authorization. + * @param callback The callback + */ + generateLOA(resourceGroupName: string, expressRoutePortName: string, request: Models.GenerateExpressRoutePortsLOARequest, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param expressRoutePortName The name of ExpressRoutePort. + * @param request Request parameters supplied to generate a letter of authorization. + * @param options The optional parameters + * @param callback The callback + */ + generateLOA(resourceGroupName: string, expressRoutePortName: string, request: Models.GenerateExpressRoutePortsLOARequest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + generateLOA(resourceGroupName: string, expressRoutePortName: string, request: Models.GenerateExpressRoutePortsLOARequest, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + expressRoutePortName, + request, + options + }, + generateLOAOperationSpec, + callback) as Promise; + } + /** * Deletes the specified ExpressRoutePort resource. * @param resourceGroupName The name of the resource group. @@ -373,6 +409,38 @@ const listOperationSpec: msRest.OperationSpec = { serializer }; +const generateLOAOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/generateLoa", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.expressRoutePortName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "request", + mapper: { + ...Mappers.GenerateExpressRoutePortsLOARequest, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.GenerateExpressRoutePortsLOAResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}", diff --git a/sdk/network/arm-network/src/operations/flowLogs.ts b/sdk/network/arm-network/src/operations/flowLogs.ts index 6eed5603ede8..56e275506f0f 100644 --- a/sdk/network/arm-network/src/operations/flowLogs.ts +++ b/sdk/network/arm-network/src/operations/flowLogs.ts @@ -41,6 +41,46 @@ export class FlowLogs { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Update tags of the specified flow log. + * @param resourceGroupName The name of the resource group. + * @param networkWatcherName The name of the network watcher. + * @param flowLogName The name of the flow log. + * @param parameters Parameters supplied to update flow log tags. + * @param [options] The optional parameters + * @returns Promise + */ + updateTags(resourceGroupName: string, networkWatcherName: string, flowLogName: string, parameters: Models.TagsObject, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param networkWatcherName The name of the network watcher. + * @param flowLogName The name of the flow log. + * @param parameters Parameters supplied to update flow log tags. + * @param callback The callback + */ + updateTags(resourceGroupName: string, networkWatcherName: string, flowLogName: string, parameters: Models.TagsObject, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param networkWatcherName The name of the network watcher. + * @param flowLogName The name of the flow log. + * @param parameters Parameters supplied to update flow log tags. + * @param options The optional parameters + * @param callback The callback + */ + updateTags(resourceGroupName: string, networkWatcherName: string, flowLogName: string, parameters: Models.TagsObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + updateTags(resourceGroupName: string, networkWatcherName: string, flowLogName: string, parameters: Models.TagsObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + networkWatcherName, + flowLogName, + parameters, + options + }, + updateTagsOperationSpec, + callback) as Promise; + } + /** * Gets a flow log resource by name. * @param resourceGroupName The name of the resource group. @@ -195,6 +235,39 @@ export class FlowLogs { // Operation Specifications const serializer = new msRest.Serializer(Mappers); +const updateTagsOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.networkWatcherName, + Parameters.flowLogName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.TagsObject, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.FlowLog + }, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + const getOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}", diff --git a/sdk/network/arm-network/src/operations/p2sVpnGateways.ts b/sdk/network/arm-network/src/operations/p2sVpnGateways.ts index 63a48074c3b6..0837bd648188 100644 --- a/sdk/network/arm-network/src/operations/p2sVpnGateways.ts +++ b/sdk/network/arm-network/src/operations/p2sVpnGateways.ts @@ -81,32 +81,9 @@ export class P2sVpnGateways { * @param [options] The optional parameters * @returns Promise */ - updateTags(resourceGroupName: string, gatewayName: string, p2SVpnGatewayParameters: Models.TagsObject, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @param callback The callback - */ - updateTags(resourceGroupName: string, gatewayName: string, p2SVpnGatewayParameters: Models.TagsObject, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name of the P2SVpnGateway. - * @param gatewayName The name of the gateway. - * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. - * @param options The optional parameters - * @param callback The callback - */ - updateTags(resourceGroupName: string, gatewayName: string, p2SVpnGatewayParameters: Models.TagsObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateTags(resourceGroupName: string, gatewayName: string, p2SVpnGatewayParameters: Models.TagsObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - gatewayName, - p2SVpnGatewayParameters, - options - }, - updateTagsOperationSpec, - callback) as Promise; + updateTags(resourceGroupName: string, gatewayName: string, p2SVpnGatewayParameters: Models.TagsObject, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdateTags(resourceGroupName,gatewayName,p2SVpnGatewayParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -248,6 +225,26 @@ export class P2sVpnGateways { options); } + /** + * Updates virtual wan p2s vpn gateway tags. + * @param resourceGroupName The resource group name of the P2SVpnGateway. + * @param gatewayName The name of the gateway. + * @param p2SVpnGatewayParameters Parameters supplied to update a virtual wan p2s vpn gateway tags. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdateTags(resourceGroupName: string, gatewayName: string, p2SVpnGatewayParameters: Models.TagsObject, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + gatewayName, + p2SVpnGatewayParameters, + options + }, + beginUpdateTagsOperationSpec, + options); + } + /** * Deletes a virtual wan p2s vpn gateway. * @param resourceGroupName The resource group name of the P2SVpnGateway. @@ -431,13 +428,12 @@ const getOperationSpec: msRest.OperationSpec = { serializer }; -const updateTagsOperationSpec: msRest.OperationSpec = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}", +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.gatewayName + Parameters.resourceGroupName ], queryParameters: [ Parameters.apiVersion0 @@ -445,16 +441,9 @@ const updateTagsOperationSpec: msRest.OperationSpec = { headerParameters: [ Parameters.acceptLanguage ], - requestBody: { - parameterPath: "p2SVpnGatewayParameters", - mapper: { - ...Mappers.TagsObject, - required: true - } - }, responses: { 200: { - bodyMapper: Mappers.P2SVpnGateway + bodyMapper: Mappers.ListP2SVpnGatewaysResult }, default: { bodyMapper: Mappers.CloudError @@ -463,12 +452,11 @@ const updateTagsOperationSpec: msRest.OperationSpec = { serializer }; -const listByResourceGroupOperationSpec: msRest.OperationSpec = { +const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Network/p2svpnGateways", urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.subscriptionId ], queryParameters: [ Parameters.apiVersion0 @@ -487,11 +475,13 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { serializer }; -const listOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Network/p2svpnGateways", +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}", urlParameters: [ - Parameters.subscriptionId + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.gatewayName ], queryParameters: [ Parameters.apiVersion0 @@ -499,9 +489,19 @@ const listOperationSpec: msRest.OperationSpec = { headerParameters: [ Parameters.acceptLanguage ], + requestBody: { + parameterPath: "p2SVpnGatewayParameters", + mapper: { + ...Mappers.P2SVpnGateway, + required: true + } + }, responses: { 200: { - bodyMapper: Mappers.ListP2SVpnGatewaysResult + bodyMapper: Mappers.P2SVpnGateway + }, + 201: { + bodyMapper: Mappers.P2SVpnGateway }, default: { bodyMapper: Mappers.CloudError @@ -510,8 +510,8 @@ const listOperationSpec: msRest.OperationSpec = { serializer }; -const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", +const beginUpdateTagsOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}", urlParameters: [ Parameters.subscriptionId, @@ -527,7 +527,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "p2SVpnGatewayParameters", mapper: { - ...Mappers.P2SVpnGateway, + ...Mappers.TagsObject, required: true } }, @@ -535,9 +535,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { 200: { bodyMapper: Mappers.P2SVpnGateway }, - 201: { - bodyMapper: Mappers.P2SVpnGateway - }, + 202: {}, default: { bodyMapper: Mappers.CloudError } diff --git a/sdk/network/arm-network/src/operations/privateLinkServices.ts b/sdk/network/arm-network/src/operations/privateLinkServices.ts index 3ae6ebefa054..1e2449a4f8b6 100644 --- a/sdk/network/arm-network/src/operations/privateLinkServices.ts +++ b/sdk/network/arm-network/src/operations/privateLinkServices.ts @@ -265,9 +265,29 @@ export class PrivateLinkServices { * @param [options] The optional parameters * @returns Promise */ - checkPrivateLinkServiceVisibility(location: string, parameters: Models.CheckPrivateLinkServiceVisibilityRequest, options?: msRest.RequestOptionsBase): Promise { - return this.beginCheckPrivateLinkServiceVisibility(location,parameters,options) - .then(lroPoller => lroPoller.pollUntilFinished()) as 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; } /** @@ -280,9 +300,32 @@ export class PrivateLinkServices { * @returns * Promise */ - checkPrivateLinkServiceVisibilityByResourceGroup(location: string, resourceGroupName: string, parameters: Models.CheckPrivateLinkServiceVisibilityRequest, options?: msRest.RequestOptionsBase): Promise { - return this.beginCheckPrivateLinkServiceVisibilityByResourceGroup(location,resourceGroupName,parameters,options) - .then(lroPoller => lroPoller.pollUntilFinished()) as 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; } /** @@ -406,45 +449,6 @@ export class PrivateLinkServices { options); } - /** - * Checks whether 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 - */ - beginCheckPrivateLinkServiceVisibility(location: string, parameters: Models.CheckPrivateLinkServiceVisibilityRequest, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( - { - location, - parameters, - options - }, - beginCheckPrivateLinkServiceVisibilityOperationSpec, - options); - } - - /** - * Checks whether the subscription is visible to private link service in the specified resource - * group. - * @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 - */ - beginCheckPrivateLinkServiceVisibilityByResourceGroup(location: string, resourceGroupName: string, parameters: Models.CheckPrivateLinkServiceVisibilityRequest, options?: msRest.RequestOptionsBase): Promise { - return this.client.sendLRORequest( - { - location, - resourceGroupName, - parameters, - options - }, - beginCheckPrivateLinkServiceVisibilityByResourceGroupOperationSpec, - options); - } - /** * Gets all private link services in a resource group. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -749,9 +753,9 @@ const listPrivateEndpointConnectionsOperationSpec: msRest.OperationSpec = { serializer }; -const listAutoApprovedPrivateLinkServicesOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices", +const checkPrivateLinkServiceVisibilityOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility", urlParameters: [ Parameters.location0, Parameters.subscriptionId @@ -762,9 +766,16 @@ const listAutoApprovedPrivateLinkServicesOperationSpec: msRest.OperationSpec = { headerParameters: [ Parameters.acceptLanguage ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.CheckPrivateLinkServiceVisibilityRequest, + required: true + } + }, responses: { 200: { - bodyMapper: Mappers.AutoApprovedPrivateLinkServicesResult + bodyMapper: Mappers.PrivateLinkServiceVisibility }, default: { bodyMapper: Mappers.CloudError @@ -773,9 +784,9 @@ const listAutoApprovedPrivateLinkServicesOperationSpec: msRest.OperationSpec = { serializer }; -const listAutoApprovedPrivateLinkServicesByResourceGroupOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices", +const checkPrivateLinkServiceVisibilityByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility", urlParameters: [ Parameters.location0, Parameters.resourceGroupName, @@ -787,9 +798,16 @@ const listAutoApprovedPrivateLinkServicesByResourceGroupOperationSpec: msRest.Op headerParameters: [ Parameters.acceptLanguage ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.CheckPrivateLinkServiceVisibilityRequest, + required: true + } + }, responses: { 200: { - bodyMapper: Mappers.AutoApprovedPrivateLinkServicesResult + bodyMapper: Mappers.PrivateLinkServiceVisibility }, default: { bodyMapper: Mappers.CloudError @@ -798,12 +816,11 @@ const listAutoApprovedPrivateLinkServicesByResourceGroupOperationSpec: msRest.Op serializer }; -const beginDeleteMethodOperationSpec: msRest.OperationSpec = { - httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}", +const listAutoApprovedPrivateLinkServicesOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices", urlParameters: [ - Parameters.resourceGroupName, - Parameters.serviceName, + Parameters.location0, Parameters.subscriptionId ], queryParameters: [ @@ -813,22 +830,22 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = { Parameters.acceptLanguage ], responses: { - 200: {}, - 202: {}, - 204: {}, + 200: { + bodyMapper: Mappers.AutoApprovedPrivateLinkServicesResult + }, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.CloudError } }, serializer }; -const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}", +const listAutoApprovedPrivateLinkServicesByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices", urlParameters: [ + Parameters.location0, Parameters.resourceGroupName, - Parameters.serviceName, Parameters.subscriptionId ], queryParameters: [ @@ -837,34 +854,23 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { headerParameters: [ Parameters.acceptLanguage ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.PrivateLinkService, - required: true - } - }, responses: { 200: { - bodyMapper: Mappers.PrivateLinkService - }, - 201: { - bodyMapper: Mappers.PrivateLinkService + bodyMapper: Mappers.AutoApprovedPrivateLinkServicesResult }, default: { - bodyMapper: Mappers.ErrorModel + bodyMapper: Mappers.CloudError } }, serializer }; -const beginDeletePrivateEndpointConnectionOperationSpec: msRest.OperationSpec = { +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}", urlParameters: [ Parameters.resourceGroupName, Parameters.serviceName, - Parameters.peConnectionName, Parameters.subscriptionId ], queryParameters: [ @@ -884,11 +890,12 @@ const beginDeletePrivateEndpointConnectionOperationSpec: msRest.OperationSpec = serializer }; -const beginCheckPrivateLinkServiceVisibilityOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility", +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}", urlParameters: [ - Parameters.location0, + Parameters.resourceGroupName, + Parameters.serviceName, Parameters.subscriptionId ], queryParameters: [ @@ -900,28 +907,31 @@ const beginCheckPrivateLinkServiceVisibilityOperationSpec: msRest.OperationSpec requestBody: { parameterPath: "parameters", mapper: { - ...Mappers.CheckPrivateLinkServiceVisibilityRequest, + ...Mappers.PrivateLinkService, required: true } }, responses: { 200: { - bodyMapper: Mappers.PrivateLinkServiceVisibility + bodyMapper: Mappers.PrivateLinkService + }, + 201: { + bodyMapper: Mappers.PrivateLinkService }, - 202: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorModel } }, serializer }; -const beginCheckPrivateLinkServiceVisibilityByResourceGroupOperationSpec: msRest.OperationSpec = { - httpMethod: "POST", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility", +const beginDeletePrivateEndpointConnectionOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}", urlParameters: [ - Parameters.location0, Parameters.resourceGroupName, + Parameters.serviceName, + Parameters.peConnectionName, Parameters.subscriptionId ], queryParameters: [ @@ -930,20 +940,12 @@ const beginCheckPrivateLinkServiceVisibilityByResourceGroupOperationSpec: msRest headerParameters: [ Parameters.acceptLanguage ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.CheckPrivateLinkServiceVisibilityRequest, - required: true - } - }, responses: { - 200: { - bodyMapper: Mappers.PrivateLinkServiceVisibility - }, + 200: {}, 202: {}, + 204: {}, default: { - bodyMapper: Mappers.CloudError + bodyMapper: Mappers.ErrorModel } }, serializer diff --git a/sdk/network/arm-network/src/operations/vpnGateways.ts b/sdk/network/arm-network/src/operations/vpnGateways.ts index 600c6e1324c1..47819653fe42 100644 --- a/sdk/network/arm-network/src/operations/vpnGateways.ts +++ b/sdk/network/arm-network/src/operations/vpnGateways.ts @@ -80,32 +80,9 @@ export class VpnGateways { * @param [options] The optional parameters * @returns Promise */ - updateTags(resourceGroupName: string, gatewayName: string, vpnGatewayParameters: Models.TagsObject, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param vpnGatewayParameters Parameters supplied to update a virtual wan vpn gateway tags. - * @param callback The callback - */ - updateTags(resourceGroupName: string, gatewayName: string, vpnGatewayParameters: Models.TagsObject, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The resource group name of the VpnGateway. - * @param gatewayName The name of the gateway. - * @param vpnGatewayParameters Parameters supplied to update a virtual wan vpn gateway tags. - * @param options The optional parameters - * @param callback The callback - */ - updateTags(resourceGroupName: string, gatewayName: string, vpnGatewayParameters: Models.TagsObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateTags(resourceGroupName: string, gatewayName: string, vpnGatewayParameters: Models.TagsObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - gatewayName, - vpnGatewayParameters, - options - }, - updateTagsOperationSpec, - callback) as Promise; + updateTags(resourceGroupName: string, gatewayName: string, vpnGatewayParameters: Models.TagsObject, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdateTags(resourceGroupName,gatewayName,vpnGatewayParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -204,6 +181,26 @@ export class VpnGateways { options); } + /** + * Updates virtual wan vpn gateway tags. + * @param resourceGroupName The resource group name of the VpnGateway. + * @param gatewayName The name of the gateway. + * @param vpnGatewayParameters Parameters supplied to update a virtual wan vpn gateway tags. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdateTags(resourceGroupName: string, gatewayName: string, vpnGatewayParameters: Models.TagsObject, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + gatewayName, + vpnGatewayParameters, + options + }, + beginUpdateTagsOperationSpec, + options); + } + /** * Deletes a virtual wan vpn gateway. * @param resourceGroupName The resource group name of the VpnGateway. @@ -324,13 +321,12 @@ const getOperationSpec: msRest.OperationSpec = { serializer }; -const updateTagsOperationSpec: msRest.OperationSpec = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}", +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways", urlParameters: [ Parameters.subscriptionId, - Parameters.resourceGroupName, - Parameters.gatewayName + Parameters.resourceGroupName ], queryParameters: [ Parameters.apiVersion0 @@ -338,16 +334,9 @@ const updateTagsOperationSpec: msRest.OperationSpec = { headerParameters: [ Parameters.acceptLanguage ], - requestBody: { - parameterPath: "vpnGatewayParameters", - mapper: { - ...Mappers.TagsObject, - required: true - } - }, responses: { 200: { - bodyMapper: Mappers.VpnGateway + bodyMapper: Mappers.ListVpnGatewaysResult }, default: { bodyMapper: Mappers.CloudError @@ -356,12 +345,11 @@ const updateTagsOperationSpec: msRest.OperationSpec = { serializer }; -const listByResourceGroupOperationSpec: msRest.OperationSpec = { +const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnGateways", urlParameters: [ - Parameters.subscriptionId, - Parameters.resourceGroupName + Parameters.subscriptionId ], queryParameters: [ Parameters.apiVersion0 @@ -380,11 +368,13 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = { serializer }; -const listOperationSpec: msRest.OperationSpec = { - httpMethod: "GET", - path: "subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnGateways", +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}", urlParameters: [ - Parameters.subscriptionId + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.gatewayName ], queryParameters: [ Parameters.apiVersion0 @@ -392,9 +382,19 @@ const listOperationSpec: msRest.OperationSpec = { headerParameters: [ Parameters.acceptLanguage ], + requestBody: { + parameterPath: "vpnGatewayParameters", + mapper: { + ...Mappers.VpnGateway, + required: true + } + }, responses: { 200: { - bodyMapper: Mappers.ListVpnGatewaysResult + bodyMapper: Mappers.VpnGateway + }, + 201: { + bodyMapper: Mappers.VpnGateway }, default: { bodyMapper: Mappers.CloudError @@ -403,8 +403,8 @@ const listOperationSpec: msRest.OperationSpec = { serializer }; -const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { - httpMethod: "PUT", +const beginUpdateTagsOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}", urlParameters: [ Parameters.subscriptionId, @@ -420,7 +420,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { requestBody: { parameterPath: "vpnGatewayParameters", mapper: { - ...Mappers.VpnGateway, + ...Mappers.TagsObject, required: true } }, @@ -428,9 +428,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { 200: { bodyMapper: Mappers.VpnGateway }, - 201: { - bodyMapper: Mappers.VpnGateway - }, + 202: {}, default: { bodyMapper: Mappers.CloudError }