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",