diff --git a/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts b/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts index 8f6bd9ee34b9..1c5cb044c3af 100644 --- a/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts @@ -149,6 +149,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -215,6 +216,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts b/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts index ccb3cba1015f..d2060fb9d94b 100644 --- a/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts b/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts index de5e613be185..d3f0ec412fff 100644 --- a/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts +++ b/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts b/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts index 1fba9e2082ca..102e18af7029 100644 --- a/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts +++ b/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/azureFirewallsMappers.ts b/sdk/network/arm-network/src/models/azureFirewallsMappers.ts index bf24d7283e49..5219bda08c30 100644 --- a/sdk/network/arm-network/src/models/azureFirewallsMappers.ts +++ b/sdk/network/arm-network/src/models/azureFirewallsMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/bastionHostsMappers.ts b/sdk/network/arm-network/src/models/bastionHostsMappers.ts index 1c3d30eef35b..dc054c7d0b07 100644 --- a/sdk/network/arm-network/src/models/bastionHostsMappers.ts +++ b/sdk/network/arm-network/src/models/bastionHostsMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts b/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts index 850c2c2cb4fc..c4713b7a699a 100644 --- a/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts +++ b/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts b/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts index e71476822d44..825371441f14 100644 --- a/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts +++ b/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts @@ -145,6 +145,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -211,6 +212,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts b/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts index d418d0d35854..8a641dc99636 100644 --- a/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -204,6 +205,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts b/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts index f93d63f7c55a..4851b3d66ac6 100644 --- a/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts +++ b/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts b/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts index 64870c23e94d..c529cb20b800 100644 --- a/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts +++ b/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -204,6 +205,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, SecurityRuleListResult, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts index bef11e3952c6..57675e34bbb1 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts index a9fc3427a82d..426174ddd023 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts index 17a5fa91f33b..5ab40c28b140 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts index 0cd3a2b1de74..e0213a93a0ec 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts @@ -145,6 +145,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -211,6 +212,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts index 03efbe80addf..0f855e18c239 100644 --- a/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts index 209bfa65e372..bc3e367ce39c 100644 --- a/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts index d28a34d8e133..67f9b582eb4f 100644 --- a/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts @@ -145,6 +145,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -211,6 +212,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts b/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts index 22ca0782cdc8..76994038651e 100644 --- a/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts b/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts index c0b7edd93dd6..b3e8b61967b0 100644 --- a/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts b/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts index fc75e2fd4c66..20df1e56a80e 100644 --- a/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts b/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts index 67f524d7f58d..3cebd5943181 100644 --- a/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts b/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts index 4b9ef1f920a4..9b12ef1324f7 100644 --- a/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts b/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts index b729907b6bbd..775e1a200920 100644 --- a/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/firewallPolicyRuleGroupsMappers.ts b/sdk/network/arm-network/src/models/firewallPolicyRuleGroupsMappers.ts index 5304b2c09773..ce9954f382b1 100644 --- a/sdk/network/arm-network/src/models/firewallPolicyRuleGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/firewallPolicyRuleGroupsMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/flowLogsMappers.ts b/sdk/network/arm-network/src/models/flowLogsMappers.ts index b2bd3fdb62d1..b5234b19f741 100644 --- a/sdk/network/arm-network/src/models/flowLogsMappers.ts +++ b/sdk/network/arm-network/src/models/flowLogsMappers.ts @@ -140,6 +140,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -206,6 +207,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts b/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts index 9429f591bc1e..3e3ab4a0b382 100644 --- a/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts b/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts index e97e7daeb204..322030f3867a 100644 --- a/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts +++ b/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts @@ -139,6 +139,7 @@ export { InboundNatPool, InboundNatRule, InboundNatRuleListResult, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/index.ts b/sdk/network/arm-network/src/models/index.ts index afc7d7a776a4..bbf742179de9 100644 --- a/sdk/network/arm-network/src/models/index.ts +++ b/sdk/network/arm-network/src/models/index.ts @@ -1126,6 +1126,10 @@ export interface Subnet extends SubResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly ipConfigurationProfiles?: IPConfigurationProfile[]; + /** + * Array of IpAllocation which reference this subnet. + */ + ipAllocations?: SubResource[]; /** * An array of references to the external resources using subnet. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -4549,134 +4553,6 @@ export interface ExpressRouteCrossConnection extends Resource { readonly etag?: string; } -/** - * Virtual Hub identifier. - */ -export interface VirtualHubId { - /** - * The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. - * The Virtual Hub resource and the ExpressRoute gateway resource reside in the same - * subscription. - */ - id?: string; -} - -/** - * ExpressRoute circuit peering identifier. - */ -export interface ExpressRouteCircuitPeeringId { - /** - * The ID of the ExpressRoute circuit peering. - */ - id?: string; -} - -/** - * Minimum and maximum number of scale units to deploy. - */ -export interface ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds { - /** - * Minimum number of scale units deployed for ExpressRoute gateway. - */ - min?: number; - /** - * Maximum number of scale units deployed for ExpressRoute gateway. - */ - max?: number; -} - -/** - * Configuration for auto scaling. - */ -export interface ExpressRouteGatewayPropertiesAutoScaleConfiguration { - /** - * Minimum and maximum number of scale units to deploy. - */ - bounds?: ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds; -} - -/** - * ExpressRouteConnection resource. - */ -export interface ExpressRouteConnection extends SubResource { - /** - * The provisioning state of the express route 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 ExpressRoute circuit peering. - */ - expressRouteCircuitPeering: ExpressRouteCircuitPeeringId; - /** - * Authorization key to establish the connection. - */ - authorizationKey?: string; - /** - * The routing weight associated to the connection. - */ - routingWeight?: number; - /** - * Enable internet security. - */ - enableInternetSecurity?: boolean; - /** - * The name of the resource. - */ - name: string; -} - -/** - * 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[]; -} - /** * Real-time inventory of available ExpressRoute port bandwidths. * @summary ExpressRoutePorts Location Bandwidths @@ -5200,6 +5076,51 @@ export interface NetworkRuleCondition { destinationIpGroups?: string[]; } +/** + * IpAllocation resource. + */ +export interface IpAllocation extends Resource { + /** + * The Subnet that using the prefix of this IpAllocation resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly subnet?: SubResource; + /** + * The VirtualNetwork that using the prefix of this IpAllocation resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly virtualNetwork?: SubResource; + /** + * The type for the IpAllocation. Possible values include: 'Undefined', 'Hypernet' + */ + ipAllocationType?: IpAllocationType; + /** + * The address prefix for the IpAllocation. + */ + prefix?: string; + /** + * The address prefix length for the IpAllocation. Default value: 0. + */ + prefixLength?: number; + /** + * The address prefix Type for the IpAllocation. Possible values include: 'IPv4', 'IPv6' + */ + prefixType?: IPVersion; + /** + * The IPAM allocation ID. + */ + ipamAllocationId?: string; + /** + * IpAllocation tags. + */ + allocationTags?: { [propertyName: string]: 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; +} + /** * The IpGroups resource information. */ @@ -8311,6 +8232,37 @@ export interface PatchRouteFilter extends SubResource { tags?: { [propertyName: string]: string }; } +/** + * Security Partner Provider resource. + */ +export interface SecurityPartnerProvider extends Resource { + /** + * The provisioning state of the Security Partner Provider 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 security provider name. Possible values include: 'ZScaler', 'IBoss', 'Checkpoint' + */ + securityProviderName?: SecurityProviderName; + /** + * The connection status with the Security Partner Provider. Possible values include: 'Unknown', + * 'PartiallyConnected', 'Connected', 'NotConnected' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly connectionStatus?: SecurityPartnerProviderConnectionStatus; + /** + * The virtualHub to which the Security Partner Provider belongs. + */ + virtualHub?: 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; +} + /** * Contains bgp community information offered in Service Community resources. */ @@ -8652,6 +8604,10 @@ export interface VirtualNetwork extends Resource { * 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.** @@ -10140,6 +10096,10 @@ export interface VirtualHub extends Resource { * The azureFirewall associated with this VirtualHub. */ azureFirewall?: SubResource; + /** + * The securityPartnerProvider associated with this VirtualHub. + */ + securityPartnerProvider?: SubResource; /** * List of all vnet connections with this VirtualHub. */ @@ -10720,66 +10680,194 @@ export interface P2SVpnConnectionHealth { } /** - * Defines contents of a web application firewall global configuration. + * Virtual Hub identifier. */ -export interface PolicySettings { - /** - * The state of the policy. Possible values include: 'Disabled', 'Enabled' - */ - state?: WebApplicationFirewallEnabledState; +export interface VirtualHubId { /** - * The mode of the policy. Possible values include: 'Prevention', 'Detection' + * The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. + * The Virtual Hub resource and the ExpressRoute gateway resource reside in the same + * subscription. */ - mode?: WebApplicationFirewallMode; + id?: string; +} + +/** + * ExpressRoute circuit peering identifier. + */ +export interface ExpressRouteCircuitPeeringId { /** - * Whether to allow WAF to check request Body. + * The ID of the ExpressRoute circuit peering. */ - requestBodyCheck?: boolean; + id?: string; +} + +/** + * Minimum and maximum number of scale units to deploy. + */ +export interface ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds { /** - * Maximum request body size in Kb for WAF. + * Minimum number of scale units deployed for ExpressRoute gateway. */ - maxRequestBodySizeInKb?: number; + min?: number; /** - * Maximum file upload size in Mb for WAF. + * Maximum number of scale units deployed for ExpressRoute gateway. */ - fileUploadLimitInMb?: number; + max?: number; } /** - * Define match variables. + * Configuration for auto scaling. */ -export interface MatchVariable { - /** - * Match Variable. Possible values include: 'RemoteAddr', 'RequestMethod', 'QueryString', - * 'PostArgs', 'RequestUri', 'RequestHeaders', 'RequestBody', 'RequestCookies' - */ - variableName: WebApplicationFirewallMatchVariable; +export interface ExpressRouteGatewayPropertiesAutoScaleConfiguration { /** - * The selector of match variable. + * Minimum and maximum number of scale units to deploy. */ - selector?: string; + bounds?: ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds; } /** - * Define match conditions. + * ExpressRouteConnection resource. */ -export interface MatchCondition { +export interface ExpressRouteConnection extends SubResource { /** - * List of match variables. + * The provisioning state of the express route connection resource. Possible values include: + * 'Succeeded', 'Updating', 'Deleting', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - matchVariables: MatchVariable[]; + readonly provisioningState?: ProvisioningState; /** - * The operator to be matched. Possible values include: 'IPMatch', 'Equal', 'Contains', - * 'LessThan', 'GreaterThan', 'LessThanOrEqual', 'GreaterThanOrEqual', 'BeginsWith', 'EndsWith', - * 'Regex', 'GeoMatch' + * The ExpressRoute circuit peering. */ - operator: WebApplicationFirewallOperator; + expressRouteCircuitPeering: ExpressRouteCircuitPeeringId; /** - * Whether this is negate condition or not. + * Authorization key to establish the connection. */ - negationConditon?: boolean; + authorizationKey?: string; /** - * Match value. + * The routing weight associated to the connection. + */ + routingWeight?: number; + /** + * Enable internet security. + */ + enableInternetSecurity?: boolean; + /** + * The name of the resource. + */ + name: string; +} + +/** + * 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[]; +} + +/** + * Defines contents of a web application firewall global configuration. + */ +export interface PolicySettings { + /** + * The state of the policy. Possible values include: 'Disabled', 'Enabled' + */ + state?: WebApplicationFirewallEnabledState; + /** + * The mode of the policy. Possible values include: 'Prevention', 'Detection' + */ + mode?: WebApplicationFirewallMode; + /** + * Whether to allow WAF to check request Body. + */ + requestBodyCheck?: boolean; + /** + * Maximum request body size in Kb for WAF. + */ + maxRequestBodySizeInKb?: number; + /** + * Maximum file upload size in Mb for WAF. + */ + fileUploadLimitInMb?: number; +} + +/** + * Define match variables. + */ +export interface MatchVariable { + /** + * Match Variable. Possible values include: 'RemoteAddr', 'RequestMethod', 'QueryString', + * 'PostArgs', 'RequestUri', 'RequestHeaders', 'RequestBody', 'RequestCookies' + */ + variableName: WebApplicationFirewallMatchVariable; + /** + * The selector of match variable. + */ + selector?: string; +} + +/** + * Define match conditions. + */ +export interface MatchCondition { + /** + * List of match variables. + */ + matchVariables: MatchVariable[]; + /** + * The operator to be matched. Possible values include: 'IPMatch', 'Equal', 'Contains', + * 'LessThan', 'GreaterThan', 'LessThanOrEqual', 'GreaterThanOrEqual', 'BeginsWith', 'EndsWith', + * 'Regex', 'GeoMatch' + */ + operator: WebApplicationFirewallOperator; + /** + * Whether this is negate condition or not. + */ + negationConditon?: boolean; + /** + * Match value. */ matchValues: string[]; /** @@ -11005,6 +11093,16 @@ export interface FirewallPoliciesGetOptionalParams extends msRest.RequestOptions expand?: string; } +/** + * Optional Parameters. + */ +export interface IpAllocationsGetOptionalParams extends msRest.RequestOptionsBase { + /** + * Expands referenced resources. + */ + expand?: string; +} + /** * Optional Parameters. */ @@ -11653,6 +11751,18 @@ export interface FirewallPolicyRuleGroupListResult extends Array + */ +export interface IpAllocationListResult extends Array { + /** + * The URL to get the next set of results. + */ + nextLink?: string; +} + /** * @interface * Response for the ListIpGroups API service call. @@ -12057,6 +12167,18 @@ export interface RouteListResult extends Array { nextLink?: string; } +/** + * @interface + * Response for ListSecurityPartnerProviders API service call. + * @extends Array + */ +export interface SecurityPartnerProviderListResult extends Array { + /** + * URL to get the next set of results. + */ + nextLink?: string; +} + /** * @interface * Response for the ListServiceCommunity API service call. @@ -12841,6 +12963,14 @@ export type FirewallPolicyRuleConditionApplicationProtocolType = 'Http' | 'Https */ export type FirewallPolicyRuleConditionNetworkProtocol = 'TCP' | 'UDP' | 'Any' | 'ICMP'; +/** + * Defines values for IpAllocationType. + * Possible values include: 'Undefined', 'Hypernet' + * @readonly + * @enum {string} + */ +export type IpAllocationType = 'Undefined' | 'Hypernet'; + /** * Defines values for LoadBalancerSkuName. * Possible values include: 'Basic', 'Standard' @@ -13132,6 +13262,22 @@ export type ConnectionMonitorSourceStatus = 'Unknown' | 'Active' | 'Inactive'; */ export type PublicIPPrefixSkuName = 'Standard'; +/** + * Defines values for SecurityProviderName. + * Possible values include: 'ZScaler', 'IBoss', 'Checkpoint' + * @readonly + * @enum {string} + */ +export type SecurityProviderName = 'ZScaler' | 'IBoss' | 'Checkpoint'; + +/** + * Defines values for SecurityPartnerProviderConnectionStatus. + * Possible values include: 'Unknown', 'PartiallyConnected', 'Connected', 'NotConnected' + * @readonly + * @enum {string} + */ +export type SecurityPartnerProviderConnectionStatus = 'Unknown' | 'PartiallyConnected' | 'Connected' | 'NotConnected'; + /** * Defines values for VirtualNetworkPeeringState. * Possible values include: 'Initiated', 'Connected', 'Disconnected' @@ -14270,6 +14416,26 @@ export type AzureFirewallsBeginCreateOrUpdateResponse = AzureFirewall & { }; }; +/** + * Contains response data for the beginUpdateTags operation. + */ +export type AzureFirewallsBeginUpdateTagsResponse = AzureFirewall & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: AzureFirewall; + }; +}; + /** * Contains response data for the listNext operation. */ @@ -16192,9 +16358,9 @@ export type ExpressRouteCrossConnectionPeeringsListNextResponse = ExpressRouteCr }; /** - * Contains response data for the listBySubscription operation. + * Contains response data for the list operation. */ -export type ExpressRouteGatewaysListBySubscriptionResponse = ExpressRouteGatewayList & { +export type ExpressRoutePortsLocationsListResponse = ExpressRoutePortsLocationListResult & { /** * The underlying HTTP response. */ @@ -16207,14 +16373,14 @@ export type ExpressRouteGatewaysListBySubscriptionResponse = ExpressRouteGateway /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRouteGatewayList; + parsedBody: ExpressRoutePortsLocationListResult; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the get operation. */ -export type ExpressRouteGatewaysListByResourceGroupResponse = ExpressRouteGatewayList & { +export type ExpressRoutePortsLocationsGetResponse = ExpressRoutePortsLocation & { /** * The underlying HTTP response. */ @@ -16227,14 +16393,14 @@ export type ExpressRouteGatewaysListByResourceGroupResponse = ExpressRouteGatewa /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRouteGatewayList; + parsedBody: ExpressRoutePortsLocation; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listNext operation. */ -export type ExpressRouteGatewaysCreateOrUpdateResponse = ExpressRouteGateway & { +export type ExpressRoutePortsLocationsListNextResponse = ExpressRoutePortsLocationListResult & { /** * The underlying HTTP response. */ @@ -16247,14 +16413,14 @@ export type ExpressRouteGatewaysCreateOrUpdateResponse = ExpressRouteGateway & { /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRouteGateway; + parsedBody: ExpressRoutePortsLocationListResult; }; }; /** * Contains response data for the get operation. */ -export type ExpressRouteGatewaysGetResponse = ExpressRouteGateway & { +export type ExpressRoutePortsGetResponse = ExpressRoutePort & { /** * The underlying HTTP response. */ @@ -16267,14 +16433,14 @@ export type ExpressRouteGatewaysGetResponse = ExpressRouteGateway & { /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRouteGateway; + parsedBody: ExpressRoutePort; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the createOrUpdate operation. */ -export type ExpressRouteGatewaysBeginCreateOrUpdateResponse = ExpressRouteGateway & { +export type ExpressRoutePortsCreateOrUpdateResponse = ExpressRoutePort & { /** * The underlying HTTP response. */ @@ -16287,14 +16453,14 @@ export type ExpressRouteGatewaysBeginCreateOrUpdateResponse = ExpressRouteGatewa /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRouteGateway; + parsedBody: ExpressRoutePort; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the updateTags operation. */ -export type ExpressRouteConnectionsCreateOrUpdateResponse = ExpressRouteConnection & { +export type ExpressRoutePortsUpdateTagsResponse = ExpressRoutePort & { /** * The underlying HTTP response. */ @@ -16307,14 +16473,14 @@ export type ExpressRouteConnectionsCreateOrUpdateResponse = ExpressRouteConnecti /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRouteConnection; + parsedBody: ExpressRoutePort; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listByResourceGroup operation. */ -export type ExpressRouteConnectionsGetResponse = ExpressRouteConnection & { +export type ExpressRoutePortsListByResourceGroupResponse = ExpressRoutePortListResult & { /** * The underlying HTTP response. */ @@ -16327,14 +16493,14 @@ export type ExpressRouteConnectionsGetResponse = ExpressRouteConnection & { /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRouteConnection; + parsedBody: ExpressRoutePortListResult; }; }; /** * Contains response data for the list operation. */ -export type ExpressRouteConnectionsListResponse = ExpressRouteConnectionList & { +export type ExpressRoutePortsListResponse = ExpressRoutePortListResult & { /** * The underlying HTTP response. */ @@ -16347,14 +16513,14 @@ export type ExpressRouteConnectionsListResponse = ExpressRouteConnectionList & { /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRouteConnectionList; + parsedBody: ExpressRoutePortListResult; }; }; /** * Contains response data for the beginCreateOrUpdate operation. */ -export type ExpressRouteConnectionsBeginCreateOrUpdateResponse = ExpressRouteConnection & { +export type ExpressRoutePortsBeginCreateOrUpdateResponse = ExpressRoutePort & { /** * The underlying HTTP response. */ @@ -16367,14 +16533,14 @@ export type ExpressRouteConnectionsBeginCreateOrUpdateResponse = ExpressRouteCon /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRouteConnection; + parsedBody: ExpressRoutePort; }; }; /** - * Contains response data for the list operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type ExpressRoutePortsLocationsListResponse = ExpressRoutePortsLocationListResult & { +export type ExpressRoutePortsListByResourceGroupNextResponse = ExpressRoutePortListResult & { /** * The underlying HTTP response. */ @@ -16387,14 +16553,14 @@ export type ExpressRoutePortsLocationsListResponse = ExpressRoutePortsLocationLi /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRoutePortsLocationListResult; + parsedBody: ExpressRoutePortListResult; }; }; /** - * Contains response data for the get operation. + * Contains response data for the listNext operation. */ -export type ExpressRoutePortsLocationsGetResponse = ExpressRoutePortsLocation & { +export type ExpressRoutePortsListNextResponse = ExpressRoutePortListResult & { /** * The underlying HTTP response. */ @@ -16407,14 +16573,14 @@ export type ExpressRoutePortsLocationsGetResponse = ExpressRoutePortsLocation & /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRoutePortsLocation; + parsedBody: ExpressRoutePortListResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type ExpressRoutePortsLocationsListNextResponse = ExpressRoutePortsLocationListResult & { +export type ExpressRouteLinksGetResponse = ExpressRouteLink & { /** * The underlying HTTP response. */ @@ -16427,14 +16593,14 @@ export type ExpressRoutePortsLocationsListNextResponse = ExpressRoutePortsLocati /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRoutePortsLocationListResult; + parsedBody: ExpressRouteLink; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type ExpressRoutePortsGetResponse = ExpressRoutePort & { +export type ExpressRouteLinksListResponse = ExpressRouteLinkListResult & { /** * The underlying HTTP response. */ @@ -16447,14 +16613,14 @@ export type ExpressRoutePortsGetResponse = ExpressRoutePort & { /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRoutePort; + parsedBody: ExpressRouteLinkListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listNext operation. */ -export type ExpressRoutePortsCreateOrUpdateResponse = ExpressRoutePort & { +export type ExpressRouteLinksListNextResponse = ExpressRouteLinkListResult & { /** * The underlying HTTP response. */ @@ -16467,14 +16633,14 @@ export type ExpressRoutePortsCreateOrUpdateResponse = ExpressRoutePort & { /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRoutePort; + parsedBody: ExpressRouteLinkListResult; }; }; /** - * Contains response data for the updateTags operation. + * Contains response data for the get operation. */ -export type ExpressRoutePortsUpdateTagsResponse = ExpressRoutePort & { +export type FirewallPoliciesGetResponse = FirewallPolicy & { /** * The underlying HTTP response. */ @@ -16487,14 +16653,14 @@ export type ExpressRoutePortsUpdateTagsResponse = ExpressRoutePort & { /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRoutePort; + parsedBody: FirewallPolicy; }; }; /** - * Contains response data for the listByResourceGroup operation. + * Contains response data for the createOrUpdate operation. */ -export type ExpressRoutePortsListByResourceGroupResponse = ExpressRoutePortListResult & { +export type FirewallPoliciesCreateOrUpdateResponse = FirewallPolicy & { /** * The underlying HTTP response. */ @@ -16507,14 +16673,14 @@ export type ExpressRoutePortsListByResourceGroupResponse = ExpressRoutePortListR /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRoutePortListResult; + parsedBody: FirewallPolicy; }; }; /** * Contains response data for the list operation. */ -export type ExpressRoutePortsListResponse = ExpressRoutePortListResult & { +export type FirewallPoliciesListResponse = FirewallPolicyListResult & { /** * The underlying HTTP response. */ @@ -16527,14 +16693,14 @@ export type ExpressRoutePortsListResponse = ExpressRoutePortListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRoutePortListResult; + parsedBody: FirewallPolicyListResult; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listAll operation. */ -export type ExpressRoutePortsBeginCreateOrUpdateResponse = ExpressRoutePort & { +export type FirewallPoliciesListAllResponse = FirewallPolicyListResult & { /** * The underlying HTTP response. */ @@ -16547,14 +16713,14 @@ export type ExpressRoutePortsBeginCreateOrUpdateResponse = ExpressRoutePort & { /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRoutePort; + parsedBody: FirewallPolicyListResult; }; }; /** - * Contains response data for the listByResourceGroupNext operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type ExpressRoutePortsListByResourceGroupNextResponse = ExpressRoutePortListResult & { +export type FirewallPoliciesBeginCreateOrUpdateResponse = FirewallPolicy & { /** * The underlying HTTP response. */ @@ -16567,54 +16733,14 @@ export type ExpressRoutePortsListByResourceGroupNextResponse = ExpressRoutePortL /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRoutePortListResult; + parsedBody: FirewallPolicy; }; }; /** * Contains response data for the listNext operation. */ -export type ExpressRoutePortsListNextResponse = ExpressRoutePortListResult & { - /** - * 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: ExpressRoutePortListResult; - }; -}; - -/** - * Contains response data for the get operation. - */ -export type ExpressRouteLinksGetResponse = ExpressRouteLink & { - /** - * 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: ExpressRouteLink; - }; -}; - -/** - * Contains response data for the list operation. - */ -export type ExpressRouteLinksListResponse = ExpressRouteLinkListResult & { +export type FirewallPoliciesListNextResponse = FirewallPolicyListResult & { /** * The underlying HTTP response. */ @@ -16627,14 +16753,14 @@ export type ExpressRouteLinksListResponse = ExpressRouteLinkListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRouteLinkListResult; + parsedBody: FirewallPolicyListResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listAllNext operation. */ -export type ExpressRouteLinksListNextResponse = ExpressRouteLinkListResult & { +export type FirewallPoliciesListAllNextResponse = FirewallPolicyListResult & { /** * The underlying HTTP response. */ @@ -16647,14 +16773,14 @@ export type ExpressRouteLinksListNextResponse = ExpressRouteLinkListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: ExpressRouteLinkListResult; + parsedBody: FirewallPolicyListResult; }; }; /** * Contains response data for the get operation. */ -export type FirewallPoliciesGetResponse = FirewallPolicy & { +export type FirewallPolicyRuleGroupsGetResponse = FirewallPolicyRuleGroup & { /** * The underlying HTTP response. */ @@ -16667,14 +16793,14 @@ export type FirewallPoliciesGetResponse = FirewallPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallPolicy; + parsedBody: FirewallPolicyRuleGroup; }; }; /** * Contains response data for the createOrUpdate operation. */ -export type FirewallPoliciesCreateOrUpdateResponse = FirewallPolicy & { +export type FirewallPolicyRuleGroupsCreateOrUpdateResponse = FirewallPolicyRuleGroup & { /** * The underlying HTTP response. */ @@ -16687,14 +16813,14 @@ export type FirewallPoliciesCreateOrUpdateResponse = FirewallPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallPolicy; + parsedBody: FirewallPolicyRuleGroup; }; }; /** * Contains response data for the list operation. */ -export type FirewallPoliciesListResponse = FirewallPolicyListResult & { +export type FirewallPolicyRuleGroupsListResponse = FirewallPolicyRuleGroupListResult & { /** * The underlying HTTP response. */ @@ -16707,14 +16833,14 @@ export type FirewallPoliciesListResponse = FirewallPolicyListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallPolicyListResult; + parsedBody: FirewallPolicyRuleGroupListResult; }; }; /** - * Contains response data for the listAll operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type FirewallPoliciesListAllResponse = FirewallPolicyListResult & { +export type FirewallPolicyRuleGroupsBeginCreateOrUpdateResponse = FirewallPolicyRuleGroup & { /** * The underlying HTTP response. */ @@ -16727,14 +16853,14 @@ export type FirewallPoliciesListAllResponse = FirewallPolicyListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallPolicyListResult; + parsedBody: FirewallPolicyRuleGroup; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listNext operation. */ -export type FirewallPoliciesBeginCreateOrUpdateResponse = FirewallPolicy & { +export type FirewallPolicyRuleGroupsListNextResponse = FirewallPolicyRuleGroupListResult & { /** * The underlying HTTP response. */ @@ -16747,14 +16873,14 @@ export type FirewallPoliciesBeginCreateOrUpdateResponse = FirewallPolicy & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallPolicy; + parsedBody: FirewallPolicyRuleGroupListResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the get operation. */ -export type FirewallPoliciesListNextResponse = FirewallPolicyListResult & { +export type IpAllocationsGetResponse = IpAllocation & { /** * The underlying HTTP response. */ @@ -16767,14 +16893,14 @@ export type FirewallPoliciesListNextResponse = FirewallPolicyListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallPolicyListResult; + parsedBody: IpAllocation; }; }; /** - * Contains response data for the listAllNext operation. + * Contains response data for the createOrUpdate operation. */ -export type FirewallPoliciesListAllNextResponse = FirewallPolicyListResult & { +export type IpAllocationsCreateOrUpdateResponse = IpAllocation & { /** * The underlying HTTP response. */ @@ -16787,14 +16913,14 @@ export type FirewallPoliciesListAllNextResponse = FirewallPolicyListResult & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallPolicyListResult; + parsedBody: IpAllocation; }; }; /** - * Contains response data for the get operation. + * Contains response data for the list operation. */ -export type FirewallPolicyRuleGroupsGetResponse = FirewallPolicyRuleGroup & { +export type IpAllocationsListResponse = IpAllocationListResult & { /** * The underlying HTTP response. */ @@ -16807,14 +16933,14 @@ export type FirewallPolicyRuleGroupsGetResponse = FirewallPolicyRuleGroup & { /** * The response body as parsed JSON or XML */ - parsedBody: FirewallPolicyRuleGroup; + parsedBody: IpAllocationListResult; }; }; /** - * Contains response data for the createOrUpdate operation. + * Contains response data for the listByResourceGroup operation. */ -export type FirewallPolicyRuleGroupsCreateOrUpdateResponse = FirewallPolicyRuleGroup & { +export type IpAllocationsListByResourceGroupResponse = IpAllocationListResult & { /** * The underlying HTTP response. */ @@ -16827,14 +16953,14 @@ export type FirewallPolicyRuleGroupsCreateOrUpdateResponse = FirewallPolicyRuleG /** * The response body as parsed JSON or XML */ - parsedBody: FirewallPolicyRuleGroup; + parsedBody: IpAllocationListResult; }; }; /** - * Contains response data for the list operation. + * Contains response data for the beginCreateOrUpdate operation. */ -export type FirewallPolicyRuleGroupsListResponse = FirewallPolicyRuleGroupListResult & { +export type IpAllocationsBeginCreateOrUpdateResponse = IpAllocation & { /** * The underlying HTTP response. */ @@ -16847,14 +16973,14 @@ export type FirewallPolicyRuleGroupsListResponse = FirewallPolicyRuleGroupListRe /** * The response body as parsed JSON or XML */ - parsedBody: FirewallPolicyRuleGroupListResult; + parsedBody: IpAllocation; }; }; /** - * Contains response data for the beginCreateOrUpdate operation. + * Contains response data for the listNext operation. */ -export type FirewallPolicyRuleGroupsBeginCreateOrUpdateResponse = FirewallPolicyRuleGroup & { +export type IpAllocationsListNextResponse = IpAllocationListResult & { /** * The underlying HTTP response. */ @@ -16867,14 +16993,14 @@ export type FirewallPolicyRuleGroupsBeginCreateOrUpdateResponse = FirewallPolicy /** * The response body as parsed JSON or XML */ - parsedBody: FirewallPolicyRuleGroup; + parsedBody: IpAllocationListResult; }; }; /** - * Contains response data for the listNext operation. + * Contains response data for the listByResourceGroupNext operation. */ -export type FirewallPolicyRuleGroupsListNextResponse = FirewallPolicyRuleGroupListResult & { +export type IpAllocationsListByResourceGroupNextResponse = IpAllocationListResult & { /** * The underlying HTTP response. */ @@ -16887,7 +17013,7 @@ export type FirewallPolicyRuleGroupsListNextResponse = FirewallPolicyRuleGroupLi /** * The response body as parsed JSON or XML */ - parsedBody: FirewallPolicyRuleGroupListResult; + parsedBody: IpAllocationListResult; }; }; @@ -21491,6 +21617,166 @@ export type RoutesListNextResponse = RouteListResult & { }; }; +/** + * Contains response data for the get operation. + */ +export type SecurityPartnerProvidersGetResponse = SecurityPartnerProvider & { + /** + * 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: SecurityPartnerProvider; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type SecurityPartnerProvidersCreateOrUpdateResponse = SecurityPartnerProvider & { + /** + * 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: SecurityPartnerProvider; + }; +}; + +/** + * Contains response data for the updateTags operation. + */ +export type SecurityPartnerProvidersUpdateTagsResponse = SecurityPartnerProvider & { + /** + * 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: SecurityPartnerProvider; + }; +}; + +/** + * Contains response data for the listByResourceGroup operation. + */ +export type SecurityPartnerProvidersListByResourceGroupResponse = SecurityPartnerProviderListResult & { + /** + * 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: SecurityPartnerProviderListResult; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type SecurityPartnerProvidersListResponse = SecurityPartnerProviderListResult & { + /** + * 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: SecurityPartnerProviderListResult; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type SecurityPartnerProvidersBeginCreateOrUpdateResponse = SecurityPartnerProvider & { + /** + * 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: SecurityPartnerProvider; + }; +}; + +/** + * Contains response data for the listByResourceGroupNext operation. + */ +export type SecurityPartnerProvidersListByResourceGroupNextResponse = SecurityPartnerProviderListResult & { + /** + * 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: SecurityPartnerProviderListResult; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type SecurityPartnerProvidersListNextResponse = SecurityPartnerProviderListResult & { + /** + * 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: SecurityPartnerProviderListResult; + }; +}; + /** * Contains response data for the list operation. */ @@ -25471,6 +25757,186 @@ export type VirtualHubRouteTableV2sListNextResponse = ListVirtualHubRouteTableV2 }; }; +/** + * Contains response data for the listBySubscription operation. + */ +export type ExpressRouteGatewaysListBySubscriptionResponse = ExpressRouteGatewayList & { + /** + * 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: ExpressRouteGatewayList; + }; +}; + +/** + * Contains response data for the listByResourceGroup operation. + */ +export type ExpressRouteGatewaysListByResourceGroupResponse = ExpressRouteGatewayList & { + /** + * 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: ExpressRouteGatewayList; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type ExpressRouteGatewaysCreateOrUpdateResponse = ExpressRouteGateway & { + /** + * 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: ExpressRouteGateway; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ExpressRouteGatewaysGetResponse = ExpressRouteGateway & { + /** + * 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: ExpressRouteGateway; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type ExpressRouteGatewaysBeginCreateOrUpdateResponse = ExpressRouteGateway & { + /** + * 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: ExpressRouteGateway; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type ExpressRouteConnectionsCreateOrUpdateResponse = ExpressRouteConnection & { + /** + * 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: ExpressRouteConnection; + }; +}; + +/** + * Contains response data for the get operation. + */ +export type ExpressRouteConnectionsGetResponse = ExpressRouteConnection & { + /** + * 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: ExpressRouteConnection; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type ExpressRouteConnectionsListResponse = ExpressRouteConnectionList & { + /** + * 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: ExpressRouteConnectionList; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type ExpressRouteConnectionsBeginCreateOrUpdateResponse = ExpressRouteConnection & { + /** + * 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: ExpressRouteConnection; + }; +}; + /** * Contains response data for the list operation. */ diff --git a/sdk/network/arm-network/src/models/ipAllocationsMappers.ts b/sdk/network/arm-network/src/models/ipAllocationsMappers.ts new file mode 100644 index 000000000000..ba9c1de926a6 --- /dev/null +++ b/sdk/network/arm-network/src/models/ipAllocationsMappers.ts @@ -0,0 +1,261 @@ +/* + * 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, + ApplicationGatewayProbe, + ApplicationGatewayProbeHealthResponseMatch, + ApplicationGatewayRedirectConfiguration, + ApplicationGatewayRequestRoutingRule, + ApplicationGatewayRewriteRule, + ApplicationGatewayRewriteRuleActionSet, + ApplicationGatewayRewriteRuleCondition, + ApplicationGatewayRewriteRuleSet, + ApplicationGatewaySku, + ApplicationGatewaySslCertificate, + ApplicationGatewaySslPolicy, + ApplicationGatewaySslPredefinedPolicy, + ApplicationGatewayTrustedRootCertificate, + ApplicationGatewayUrlConfiguration, + ApplicationGatewayUrlPathMap, + ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, + ApplicationSecurityGroup, + AzureFirewall, + AzureFirewallApplicationRule, + AzureFirewallApplicationRuleCollection, + AzureFirewallApplicationRuleProtocol, + AzureFirewallFqdnTag, + AzureFirewallIPConfiguration, + AzureFirewallIpGroups, + AzureFirewallNatRCAction, + AzureFirewallNatRule, + AzureFirewallNatRuleCollection, + AzureFirewallNetworkRule, + AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, + AzureFirewallRCAction, + AzureFirewallSku, + BackendAddressPool, + BaseResource, + BastionHost, + BastionHostIPConfiguration, + BGPCommunity, + BgpServiceCommunity, + BgpSettings, + CloudError, + ConnectionMonitorDestination, + ConnectionMonitorEndpoint, + ConnectionMonitorEndpointFilter, + ConnectionMonitorEndpointFilterItem, + ConnectionMonitorHttpConfiguration, + ConnectionMonitorIcmpConfiguration, + ConnectionMonitorOutput, + ConnectionMonitorResult, + ConnectionMonitorSource, + ConnectionMonitorSuccessThreshold, + ConnectionMonitorTcpConfiguration, + ConnectionMonitorTestConfiguration, + ConnectionMonitorTestGroup, + ConnectionMonitorWorkspaceSettings, + ConnectionSharedKey, + Container, + ContainerNetworkInterface, + ContainerNetworkInterfaceConfiguration, + ContainerNetworkInterfaceIpConfiguration, + DdosCustomPolicy, + DdosProtectionPlan, + DdosSettings, + Delegation, + DeviceProperties, + DhcpOptions, + EndpointServiceResult, + ExpressRouteCircuit, + ExpressRouteCircuitAuthorization, + ExpressRouteCircuitConnection, + ExpressRouteCircuitPeering, + ExpressRouteCircuitPeeringConfig, + ExpressRouteCircuitPeeringId, + ExpressRouteCircuitReference, + ExpressRouteCircuitServiceProviderProperties, + ExpressRouteCircuitSku, + ExpressRouteCircuitStats, + ExpressRouteConnection, + ExpressRouteConnectionId, + ExpressRouteCrossConnection, + ExpressRouteCrossConnectionPeering, + ExpressRouteGateway, + ExpressRouteGatewayPropertiesAutoScaleConfiguration, + ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds, + ExpressRouteLink, + ExpressRouteLinkMacSecConfig, + ExpressRoutePort, + ExpressRoutePortsLocation, + ExpressRoutePortsLocationBandwidths, + ExpressRouteServiceProvider, + ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, + FlowLog, + FlowLogFormatParameters, + FrontendIPConfiguration, + HTTPHeader, + HubIPAddresses, + HubVirtualNetworkConnection, + InboundNatPool, + InboundNatRule, + IpAllocation, + IpAllocationListResult, + IPConfiguration, + IPConfigurationBgpPeeringAddress, + IPConfigurationProfile, + IpGroup, + IpsecPolicy, + IpTag, + Ipv6CircuitConnectionConfig, + Ipv6ExpressRouteCircuitPeeringConfig, + LoadBalancer, + LoadBalancerSku, + LoadBalancingRule, + LocalNetworkGateway, + ManagedRuleGroupOverride, + ManagedRuleOverride, + ManagedRulesDefinition, + ManagedRuleSet, + ManagedServiceIdentity, + ManagedServiceIdentityUserAssignedIdentitiesValue, + MatchCondition, + MatchVariable, + NatGateway, + NatGatewaySku, + NatRuleCondition, + NetworkIntentPolicy, + NetworkInterface, + NetworkInterfaceDnsSettings, + NetworkInterfaceIPConfiguration, + NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, + NetworkInterfaceTapConfiguration, + NetworkProfile, + NetworkRuleCondition, + NetworkSecurityGroup, + NetworkVirtualAppliance, + NetworkWatcher, + OutboundRule, + OwaspCrsExclusionEntry, + P2SConnectionConfiguration, + P2SVpnGateway, + PatchRouteFilter, + PatchRouteFilterRule, + PeerExpressRouteCircuitConnection, + PolicySettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkService, + PrivateLinkServiceConnection, + PrivateLinkServiceConnectionState, + PrivateLinkServiceIpConfiguration, + PrivateLinkServicePropertiesAutoApproval, + PrivateLinkServicePropertiesVisibility, + Probe, + ProtocolCustomSettingsFormat, + PublicIPAddress, + PublicIPAddressDnsSettings, + PublicIPAddressSku, + PublicIPPrefix, + PublicIPPrefixSku, + ReferencedPublicIpAddress, + Resource, + ResourceNavigationLink, + ResourceSet, + RetentionPolicyParameters, + Route, + RouteFilter, + RouteFilterRule, + RouteTable, + SecurityPartnerProvider, + SecurityRule, + ServiceAssociationLink, + ServiceEndpointPolicy, + ServiceEndpointPolicyDefinition, + ServiceEndpointPropertiesFormat, + Subnet, + SubResource, + TrafficAnalyticsConfigurationProperties, + TrafficAnalyticsProperties, + TrafficSelectorPolicy, + TunnelConnectionHealth, + VirtualApplianceNicProperties, + VirtualApplianceSkuProperties, + VirtualHub, + VirtualHubId, + VirtualHubRoute, + VirtualHubRouteTable, + VirtualHubRouteTableV2, + VirtualHubRouteV2, + VirtualNetwork, + VirtualNetworkBgpCommunities, + VirtualNetworkConnectionGatewayReference, + VirtualNetworkGateway, + VirtualNetworkGatewayConnection, + VirtualNetworkGatewayConnectionListEntity, + VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewaySku, + VirtualNetworkPeering, + VirtualNetworkTap, + VirtualRouter, + VirtualRouterPeering, + VirtualWAN, + VM, + 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/ipGroupsMappers.ts b/sdk/network/arm-network/src/models/ipGroupsMappers.ts index 37d563266785..ea4324d52080 100644 --- a/sdk/network/arm-network/src/models/ipGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/ipGroupsMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -206,6 +207,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts b/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts index 730d20daf200..3ffb59161109 100644 --- a/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts b/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts index 236ec7267ce7..cfd1ae38f87d 100644 --- a/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts index e4b52442ebaf..b29b78e1e518 100644 --- a/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts index 2133e58c7121..1ba2819ae880 100644 --- a/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts index 7df2fca2dd3b..c3bd00c0bc11 100644 --- a/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts index a1379ac785a7..7f0e5d740b42 100644 --- a/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/loadBalancersMappers.ts b/sdk/network/arm-network/src/models/loadBalancersMappers.ts index 40d49a9765a7..70d0bd0d14b4 100644 --- a/sdk/network/arm-network/src/models/loadBalancersMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancersMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts b/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts index 3730a7eb48df..4f52cf383ef5 100644 --- a/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/mappers.ts b/sdk/network/arm-network/src/models/mappers.ts index 3721301f854c..db33962a7c61 100644 --- a/sdk/network/arm-network/src/models/mappers.ts +++ b/sdk/network/arm-network/src/models/mappers.ts @@ -1849,6 +1849,18 @@ export const Subnet: msRest.CompositeMapper = { } } }, + ipAllocations: { + serializedName: "properties.ipAllocations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, resourceNavigationLinks: { readOnly: true, serializedName: "properties.resourceNavigationLinks", @@ -7630,225 +7642,6 @@ export const ExpressRouteCrossConnection: msRest.CompositeMapper = { } }; -export const VirtualHubId: msRest.CompositeMapper = { - serializedName: "VirtualHubId", - type: { - name: "Composite", - className: "VirtualHubId", - modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - } - } - } -}; - -export const ExpressRouteCircuitPeeringId: msRest.CompositeMapper = { - serializedName: "ExpressRouteCircuitPeeringId", - type: { - name: "Composite", - className: "ExpressRouteCircuitPeeringId", - modelProperties: { - id: { - serializedName: "id", - type: { - name: "String" - } - } - } - } -}; - -export const ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds: msRest.CompositeMapper = { - serializedName: "ExpressRouteGatewayProperties_autoScaleConfiguration_bounds", - type: { - name: "Composite", - className: "ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds", - modelProperties: { - min: { - serializedName: "min", - type: { - name: "Number" - } - }, - max: { - serializedName: "max", - type: { - name: "Number" - } - } - } - } -}; - -export const ExpressRouteGatewayPropertiesAutoScaleConfiguration: msRest.CompositeMapper = { - serializedName: "ExpressRouteGatewayProperties_autoScaleConfiguration", - type: { - name: "Composite", - className: "ExpressRouteGatewayPropertiesAutoScaleConfiguration", - modelProperties: { - bounds: { - serializedName: "bounds", - type: { - name: "Composite", - className: "ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds" - } - } - } - } -}; - -export const ExpressRouteConnection: msRest.CompositeMapper = { - serializedName: "ExpressRouteConnection", - type: { - name: "Composite", - className: "ExpressRouteConnection", - modelProperties: { - ...SubResource.type.modelProperties, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", - type: { - name: "String" - } - }, - expressRouteCircuitPeering: { - required: true, - serializedName: "properties.expressRouteCircuitPeering", - type: { - name: "Composite", - className: "ExpressRouteCircuitPeeringId" - } - }, - authorizationKey: { - serializedName: "properties.authorizationKey", - type: { - name: "String" - } - }, - routingWeight: { - serializedName: "properties.routingWeight", - type: { - name: "Number" - } - }, - enableInternetSecurity: { - serializedName: "properties.enableInternetSecurity", - type: { - name: "Boolean" - } - }, - name: { - required: true, - serializedName: "name", - type: { - name: "String" - } - } - } - } -}; - -export const ExpressRouteGateway: msRest.CompositeMapper = { - serializedName: "ExpressRouteGateway", - type: { - name: "Composite", - className: "ExpressRouteGateway", - modelProperties: { - ...Resource.type.modelProperties, - autoScaleConfiguration: { - serializedName: "properties.autoScaleConfiguration", - type: { - name: "Composite", - className: "ExpressRouteGatewayPropertiesAutoScaleConfiguration" - } - }, - expressRouteConnections: { - readOnly: true, - serializedName: "properties.expressRouteConnections", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ExpressRouteConnection" - } - } - } - }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", - type: { - name: "String" - } - }, - virtualHub: { - required: true, - serializedName: "properties.virtualHub", - type: { - name: "Composite", - className: "VirtualHubId" - } - }, - etag: { - readOnly: true, - serializedName: "etag", - type: { - name: "String" - } - } - } - } -}; - -export const ExpressRouteGatewayList: msRest.CompositeMapper = { - serializedName: "ExpressRouteGatewayList", - type: { - name: "Composite", - className: "ExpressRouteGatewayList", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ExpressRouteGateway" - } - } - } - } - } - } -}; - -export const ExpressRouteConnectionList: msRest.CompositeMapper = { - serializedName: "ExpressRouteConnectionList", - type: { - name: "Composite", - className: "ExpressRouteConnectionList", - modelProperties: { - value: { - serializedName: "value", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ExpressRouteConnection" - } - } - } - } - } - } -}; - export const ExpressRoutePortsLocationBandwidths: msRest.CompositeMapper = { serializedName: "ExpressRoutePortsLocationBandwidths", type: { @@ -8699,37 +8492,114 @@ export const NetworkRuleCondition: msRest.CompositeMapper = { } }; -export const IpGroup: msRest.CompositeMapper = { - serializedName: "IpGroup", +export const IpAllocation: msRest.CompositeMapper = { + serializedName: "IpAllocation", type: { name: "Composite", - className: "IpGroup", + className: "IpAllocation", modelProperties: { ...Resource.type.modelProperties, - provisioningState: { + subnet: { readOnly: true, - serializedName: "properties.provisioningState", + serializedName: "properties.subnet", type: { - name: "String" + name: "Composite", + className: "SubResource" } }, - ipAddresses: { - serializedName: "properties.ipAddresses", + virtualNetwork: { + readOnly: true, + serializedName: "properties.virtualNetwork", type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } + name: "Composite", + className: "SubResource" } }, - firewalls: { - readOnly: true, - serializedName: "properties.firewalls", + ipAllocationType: { + serializedName: "properties.type", type: { - name: "Sequence", - element: { + name: "String" + } + }, + prefix: { + serializedName: "properties.prefix", + type: { + name: "String" + } + }, + prefixLength: { + nullable: true, + serializedName: "properties.prefixLength", + defaultValue: 0, + type: { + name: "Number" + } + }, + prefixType: { + serializedName: "properties.prefixType", + type: { + name: "String" + } + }, + ipamAllocationId: { + serializedName: "properties.ipamAllocationId", + type: { + name: "String" + } + }, + allocationTags: { + serializedName: "properties.allocationTags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + etag: { + readOnly: true, + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const IpGroup: msRest.CompositeMapper = { + serializedName: "IpGroup", + type: { + name: "Composite", + className: "IpGroup", + modelProperties: { + ...Resource.type.modelProperties, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + ipAddresses: { + serializedName: "properties.ipAddresses", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + firewalls: { + readOnly: true, + serializedName: "properties.firewalls", + type: { + name: "Sequence", + element: { type: { name: "Composite", className: "SubResource" @@ -14080,6 +13950,51 @@ export const PatchRouteFilter: msRest.CompositeMapper = { } }; +export const SecurityPartnerProvider: msRest.CompositeMapper = { + serializedName: "SecurityPartnerProvider", + type: { + name: "Composite", + className: "SecurityPartnerProvider", + modelProperties: { + ...Resource.type.modelProperties, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + securityProviderName: { + serializedName: "properties.securityProviderName", + type: { + name: "String" + } + }, + connectionStatus: { + readOnly: true, + serializedName: "properties.connectionStatus", + type: { + name: "String" + } + }, + virtualHub: { + serializedName: "properties.virtualHub", + type: { + name: "Composite", + className: "SubResource" + } + }, + etag: { + readOnly: true, + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + export const BGPCommunity: msRest.CompositeMapper = { serializedName: "BGPCommunity", type: { @@ -14649,6 +14564,18 @@ export const VirtualNetwork: msRest.CompositeMapper = { className: "VirtualNetworkBgpCommunities" } }, + ipAllocations: { + serializedName: "properties.ipAllocations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, etag: { readOnly: true, serializedName: "etag", @@ -17089,6 +17016,13 @@ export const VirtualHub: msRest.CompositeMapper = { className: "SubResource" } }, + securityPartnerProvider: { + serializedName: "properties.securityPartnerProvider", + type: { + name: "Composite", + className: "SubResource" + } + }, virtualNetworkConnections: { serializedName: "properties.virtualNetworkConnections", type: { @@ -18071,6 +18005,225 @@ export const P2SVpnConnectionHealth: msRest.CompositeMapper = { } }; +export const VirtualHubId: msRest.CompositeMapper = { + serializedName: "VirtualHubId", + type: { + name: "Composite", + className: "VirtualHubId", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const ExpressRouteCircuitPeeringId: msRest.CompositeMapper = { + serializedName: "ExpressRouteCircuitPeeringId", + type: { + name: "Composite", + className: "ExpressRouteCircuitPeeringId", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + } + } + } +}; + +export const ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds: msRest.CompositeMapper = { + serializedName: "ExpressRouteGatewayProperties_autoScaleConfiguration_bounds", + type: { + name: "Composite", + className: "ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds", + modelProperties: { + min: { + serializedName: "min", + type: { + name: "Number" + } + }, + max: { + serializedName: "max", + type: { + name: "Number" + } + } + } + } +}; + +export const ExpressRouteGatewayPropertiesAutoScaleConfiguration: msRest.CompositeMapper = { + serializedName: "ExpressRouteGatewayProperties_autoScaleConfiguration", + type: { + name: "Composite", + className: "ExpressRouteGatewayPropertiesAutoScaleConfiguration", + modelProperties: { + bounds: { + serializedName: "bounds", + type: { + name: "Composite", + className: "ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds" + } + } + } + } +}; + +export const ExpressRouteConnection: msRest.CompositeMapper = { + serializedName: "ExpressRouteConnection", + type: { + name: "Composite", + className: "ExpressRouteConnection", + modelProperties: { + ...SubResource.type.modelProperties, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + expressRouteCircuitPeering: { + required: true, + serializedName: "properties.expressRouteCircuitPeering", + type: { + name: "Composite", + className: "ExpressRouteCircuitPeeringId" + } + }, + authorizationKey: { + serializedName: "properties.authorizationKey", + type: { + name: "String" + } + }, + routingWeight: { + serializedName: "properties.routingWeight", + type: { + name: "Number" + } + }, + enableInternetSecurity: { + serializedName: "properties.enableInternetSecurity", + type: { + name: "Boolean" + } + }, + name: { + required: true, + serializedName: "name", + type: { + name: "String" + } + } + } + } +}; + +export const ExpressRouteGateway: msRest.CompositeMapper = { + serializedName: "ExpressRouteGateway", + type: { + name: "Composite", + className: "ExpressRouteGateway", + modelProperties: { + ...Resource.type.modelProperties, + autoScaleConfiguration: { + serializedName: "properties.autoScaleConfiguration", + type: { + name: "Composite", + className: "ExpressRouteGatewayPropertiesAutoScaleConfiguration" + } + }, + expressRouteConnections: { + readOnly: true, + serializedName: "properties.expressRouteConnections", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ExpressRouteConnection" + } + } + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + virtualHub: { + required: true, + serializedName: "properties.virtualHub", + type: { + name: "Composite", + className: "VirtualHubId" + } + }, + etag: { + readOnly: true, + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const ExpressRouteGatewayList: msRest.CompositeMapper = { + serializedName: "ExpressRouteGatewayList", + type: { + name: "Composite", + className: "ExpressRouteGatewayList", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ExpressRouteGateway" + } + } + } + } + } + } +}; + +export const ExpressRouteConnectionList: msRest.CompositeMapper = { + serializedName: "ExpressRouteConnectionList", + type: { + name: "Composite", + className: "ExpressRouteConnectionList", + modelProperties: { + value: { + serializedName: "value", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ExpressRouteConnection" + } + } + } + } + } + } +}; + export const PolicySettings: msRest.CompositeMapper = { serializedName: "PolicySettings", type: { @@ -19246,6 +19399,34 @@ export const FirewallPolicyRuleGroupListResult: msRest.CompositeMapper = { } }; +export const IpAllocationListResult: msRest.CompositeMapper = { + serializedName: "IpAllocationListResult", + type: { + name: "Composite", + className: "IpAllocationListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "IpAllocation" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const IpGroupListResult: msRest.CompositeMapper = { serializedName: "IpGroupListResult", type: { @@ -20169,6 +20350,34 @@ export const RouteListResult: msRest.CompositeMapper = { } }; +export const SecurityPartnerProviderListResult: msRest.CompositeMapper = { + serializedName: "SecurityPartnerProviderListResult", + type: { + name: "Composite", + className: "SecurityPartnerProviderListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SecurityPartnerProvider" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const BgpServiceCommunityListResult: msRest.CompositeMapper = { serializedName: "BgpServiceCommunityListResult", type: { diff --git a/sdk/network/arm-network/src/models/natGatewaysMappers.ts b/sdk/network/arm-network/src/models/natGatewaysMappers.ts index 133ee17488fd..9ad87313862a 100644 --- a/sdk/network/arm-network/src/models/natGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/natGatewaysMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts index 34bf158d4510..27937884c38a 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts index 93c53cd05a1e..74f54ba45310 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts index 3c0dff29819f..dbf0a3cee4d1 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/networkInterfacesMappers.ts b/sdk/network/arm-network/src/models/networkInterfacesMappers.ts index 2f2ca1921d6e..8a18fa05aaaf 100644 --- a/sdk/network/arm-network/src/models/networkInterfacesMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfacesMappers.ts @@ -144,6 +144,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -212,6 +213,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/networkProfilesMappers.ts b/sdk/network/arm-network/src/models/networkProfilesMappers.ts index e40e533d8198..1dc0d9875ac0 100644 --- a/sdk/network/arm-network/src/models/networkProfilesMappers.ts +++ b/sdk/network/arm-network/src/models/networkProfilesMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts b/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts index d458ea21645f..eba6f827470e 100644 --- a/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts b/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts index 8ebe37b5d0f8..3e1963e0c4bc 100644 --- a/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts +++ b/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/networkWatchersMappers.ts b/sdk/network/arm-network/src/models/networkWatchersMappers.ts index a90ba659877e..329b29648278 100644 --- a/sdk/network/arm-network/src/models/networkWatchersMappers.ts +++ b/sdk/network/arm-network/src/models/networkWatchersMappers.ts @@ -160,6 +160,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -242,6 +243,7 @@ export { SecurityGroupNetworkInterface, SecurityGroupViewParameters, SecurityGroupViewResult, + SecurityPartnerProvider, SecurityRule, SecurityRuleAssociations, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts b/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts index 59efed8df815..7ff8547e8d70 100644 --- a/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -209,6 +210,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/parameters.ts b/sdk/network/arm-network/src/models/parameters.ts index a3f1f44a7ba8..42c1cc09535d 100644 --- a/sdk/network/arm-network/src/models/parameters.ts +++ b/sdk/network/arm-network/src/models/parameters.ts @@ -26,7 +26,7 @@ export const apiVersion0: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2019-12-01', + defaultValue: '2020-03-01', type: { name: "String" } @@ -312,6 +312,16 @@ export const ipAddress: msRest.OperationQueryParameter = { } } }; +export const ipAllocationName: msRest.OperationURLParameter = { + parameterPath: "ipAllocationName", + mapper: { + required: true, + serializedName: "ipAllocationName", + type: { + name: "String" + } + } +}; export const ipConfigurationName: msRest.OperationURLParameter = { parameterPath: "ipConfigurationName", mapper: { @@ -684,6 +694,16 @@ export const ruleName: msRest.OperationURLParameter = { } } }; +export const securityPartnerProviderName: msRest.OperationURLParameter = { + parameterPath: "securityPartnerProviderName", + mapper: { + required: true, + serializedName: "securityPartnerProviderName", + type: { + name: "String" + } + } +}; export const securityRuleName: msRest.OperationURLParameter = { parameterPath: "securityRuleName", mapper: { @@ -774,6 +794,16 @@ export const virtualHubName: msRest.OperationURLParameter = { } } }; +export const virtualmachineIndex: msRest.OperationURLParameter = { + parameterPath: "virtualmachineIndex", + mapper: { + required: true, + serializedName: "virtualmachineIndex", + type: { + name: "String" + } + } +}; export const virtualMachineScaleSetName: msRest.OperationURLParameter = { parameterPath: "virtualMachineScaleSetName", mapper: { @@ -854,16 +884,6 @@ export const virtualWANName1: msRest.OperationURLParameter = { } } }; -export const virtualmachineIndex: msRest.OperationURLParameter = { - parameterPath: "virtualmachineIndex", - mapper: { - required: true, - serializedName: "virtualmachineIndex", - type: { - name: "String" - } - } -}; export const vpnServerConfigurationName: msRest.OperationURLParameter = { parameterPath: "vpnServerConfigurationName", mapper: { diff --git a/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts b/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts index 277455fd97e2..7193c1d4b897 100644 --- a/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/privateEndpointsMappers.ts b/sdk/network/arm-network/src/models/privateEndpointsMappers.ts index e21d9d59f9e1..ef6a431fbdc9 100644 --- a/sdk/network/arm-network/src/models/privateEndpointsMappers.ts +++ b/sdk/network/arm-network/src/models/privateEndpointsMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -206,6 +207,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts b/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts index 68ab5e02f57c..993ad507b1ba 100644 --- a/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts +++ b/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts @@ -143,6 +143,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -212,6 +213,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts b/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts index f42631dc33cc..e64df2b45141 100644 --- a/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts +++ b/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts b/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts index 7173f4df990f..c61c25c0e4f1 100644 --- a/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts +++ b/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts b/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts index 0220d9e880ef..61d1a1ec94d5 100644 --- a/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts +++ b/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts b/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts index 4803e6ff9c16..6996012db140 100644 --- a/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts +++ b/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilterRule, RouteFilterRuleListResult, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/routeFiltersMappers.ts b/sdk/network/arm-network/src/models/routeFiltersMappers.ts index b4a4f8f77af6..4465b6ee7526 100644 --- a/sdk/network/arm-network/src/models/routeFiltersMappers.ts +++ b/sdk/network/arm-network/src/models/routeFiltersMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilterListResult, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/routeTablesMappers.ts b/sdk/network/arm-network/src/models/routeTablesMappers.ts index 94ef3f65eec9..574072524e92 100644 --- a/sdk/network/arm-network/src/models/routeTablesMappers.ts +++ b/sdk/network/arm-network/src/models/routeTablesMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilterRule, RouteTable, RouteTableListResult, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/routesMappers.ts b/sdk/network/arm-network/src/models/routesMappers.ts index fd968d93144f..054133880249 100644 --- a/sdk/network/arm-network/src/models/routesMappers.ts +++ b/sdk/network/arm-network/src/models/routesMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilterRule, RouteListResult, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts b/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts new file mode 100644 index 000000000000..1dabe7fd9228 --- /dev/null +++ b/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts @@ -0,0 +1,262 @@ +/* + * 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, + ApplicationGatewayProbe, + ApplicationGatewayProbeHealthResponseMatch, + ApplicationGatewayRedirectConfiguration, + ApplicationGatewayRequestRoutingRule, + ApplicationGatewayRewriteRule, + ApplicationGatewayRewriteRuleActionSet, + ApplicationGatewayRewriteRuleCondition, + ApplicationGatewayRewriteRuleSet, + ApplicationGatewaySku, + ApplicationGatewaySslCertificate, + ApplicationGatewaySslPolicy, + ApplicationGatewaySslPredefinedPolicy, + ApplicationGatewayTrustedRootCertificate, + ApplicationGatewayUrlConfiguration, + ApplicationGatewayUrlPathMap, + ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRuleCondition, + ApplicationSecurityGroup, + AzureFirewall, + AzureFirewallApplicationRule, + AzureFirewallApplicationRuleCollection, + AzureFirewallApplicationRuleProtocol, + AzureFirewallFqdnTag, + AzureFirewallIPConfiguration, + AzureFirewallIpGroups, + AzureFirewallNatRCAction, + AzureFirewallNatRule, + AzureFirewallNatRuleCollection, + AzureFirewallNetworkRule, + AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, + AzureFirewallRCAction, + AzureFirewallSku, + BackendAddressPool, + BaseResource, + BastionHost, + BastionHostIPConfiguration, + BGPCommunity, + BgpServiceCommunity, + BgpSettings, + CloudError, + ConnectionMonitorDestination, + ConnectionMonitorEndpoint, + ConnectionMonitorEndpointFilter, + ConnectionMonitorEndpointFilterItem, + ConnectionMonitorHttpConfiguration, + ConnectionMonitorIcmpConfiguration, + ConnectionMonitorOutput, + ConnectionMonitorResult, + ConnectionMonitorSource, + ConnectionMonitorSuccessThreshold, + ConnectionMonitorTcpConfiguration, + ConnectionMonitorTestConfiguration, + ConnectionMonitorTestGroup, + ConnectionMonitorWorkspaceSettings, + ConnectionSharedKey, + Container, + ContainerNetworkInterface, + ContainerNetworkInterfaceConfiguration, + ContainerNetworkInterfaceIpConfiguration, + DdosCustomPolicy, + DdosProtectionPlan, + DdosSettings, + Delegation, + DeviceProperties, + DhcpOptions, + EndpointServiceResult, + ExpressRouteCircuit, + ExpressRouteCircuitAuthorization, + ExpressRouteCircuitConnection, + ExpressRouteCircuitPeering, + ExpressRouteCircuitPeeringConfig, + ExpressRouteCircuitPeeringId, + ExpressRouteCircuitReference, + ExpressRouteCircuitServiceProviderProperties, + ExpressRouteCircuitSku, + ExpressRouteCircuitStats, + ExpressRouteConnection, + ExpressRouteConnectionId, + ExpressRouteCrossConnection, + ExpressRouteCrossConnectionPeering, + ExpressRouteGateway, + ExpressRouteGatewayPropertiesAutoScaleConfiguration, + ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds, + ExpressRouteLink, + ExpressRouteLinkMacSecConfig, + ExpressRoutePort, + ExpressRoutePortsLocation, + ExpressRoutePortsLocationBandwidths, + ExpressRouteServiceProvider, + ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRule, + FirewallPolicyFilterRuleAction, + FirewallPolicyNatRule, + FirewallPolicyNatRuleAction, + FirewallPolicyRule, + FirewallPolicyRuleCondition, + FirewallPolicyRuleConditionApplicationProtocol, + FirewallPolicyRuleGroup, + FlowLog, + FlowLogFormatParameters, + FrontendIPConfiguration, + HTTPHeader, + HubIPAddresses, + HubVirtualNetworkConnection, + InboundNatPool, + InboundNatRule, + IpAllocation, + IPConfiguration, + IPConfigurationBgpPeeringAddress, + IPConfigurationProfile, + IpGroup, + IpsecPolicy, + IpTag, + Ipv6CircuitConnectionConfig, + Ipv6ExpressRouteCircuitPeeringConfig, + LoadBalancer, + LoadBalancerSku, + LoadBalancingRule, + LocalNetworkGateway, + ManagedRuleGroupOverride, + ManagedRuleOverride, + ManagedRulesDefinition, + ManagedRuleSet, + ManagedServiceIdentity, + ManagedServiceIdentityUserAssignedIdentitiesValue, + MatchCondition, + MatchVariable, + NatGateway, + NatGatewaySku, + NatRuleCondition, + NetworkIntentPolicy, + NetworkInterface, + NetworkInterfaceDnsSettings, + NetworkInterfaceIPConfiguration, + NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, + NetworkInterfaceTapConfiguration, + NetworkProfile, + NetworkRuleCondition, + NetworkSecurityGroup, + NetworkVirtualAppliance, + NetworkWatcher, + OutboundRule, + OwaspCrsExclusionEntry, + P2SConnectionConfiguration, + P2SVpnGateway, + PatchRouteFilter, + PatchRouteFilterRule, + PeerExpressRouteCircuitConnection, + PolicySettings, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkService, + PrivateLinkServiceConnection, + PrivateLinkServiceConnectionState, + PrivateLinkServiceIpConfiguration, + PrivateLinkServicePropertiesAutoApproval, + PrivateLinkServicePropertiesVisibility, + Probe, + ProtocolCustomSettingsFormat, + PublicIPAddress, + PublicIPAddressDnsSettings, + PublicIPAddressSku, + PublicIPPrefix, + PublicIPPrefixSku, + ReferencedPublicIpAddress, + Resource, + ResourceNavigationLink, + ResourceSet, + RetentionPolicyParameters, + Route, + RouteFilter, + RouteFilterRule, + RouteTable, + SecurityPartnerProvider, + SecurityPartnerProviderListResult, + SecurityRule, + ServiceAssociationLink, + ServiceEndpointPolicy, + ServiceEndpointPolicyDefinition, + ServiceEndpointPropertiesFormat, + Subnet, + SubResource, + TagsObject, + TrafficAnalyticsConfigurationProperties, + TrafficAnalyticsProperties, + TrafficSelectorPolicy, + TunnelConnectionHealth, + VirtualApplianceNicProperties, + VirtualApplianceSkuProperties, + VirtualHub, + VirtualHubId, + VirtualHubRoute, + VirtualHubRouteTable, + VirtualHubRouteTableV2, + VirtualHubRouteV2, + VirtualNetwork, + VirtualNetworkBgpCommunities, + VirtualNetworkConnectionGatewayReference, + VirtualNetworkGateway, + VirtualNetworkGatewayConnection, + VirtualNetworkGatewayConnectionListEntity, + VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewaySku, + VirtualNetworkPeering, + VirtualNetworkTap, + VirtualRouter, + VirtualRouterPeering, + VirtualWAN, + VM, + 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/securityRulesMappers.ts b/sdk/network/arm-network/src/models/securityRulesMappers.ts index 64870c23e94d..c529cb20b800 100644 --- a/sdk/network/arm-network/src/models/securityRulesMappers.ts +++ b/sdk/network/arm-network/src/models/securityRulesMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -204,6 +205,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, SecurityRuleListResult, ServiceAssociationLink, diff --git a/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts b/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts index e9c44c99ae72..3c1a72de6497 100644 --- a/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts +++ b/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -204,6 +205,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceAssociationLinksListResult, diff --git a/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts b/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts index 36dbc4212ab3..119ed17cd039 100644 --- a/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -204,6 +205,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts b/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts index 69d9f3d99491..75f3843abc8e 100644 --- a/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts +++ b/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -204,6 +205,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/subnetsMappers.ts b/sdk/network/arm-network/src/models/subnetsMappers.ts index 557e6c85f202..fbe512739f1b 100644 --- a/sdk/network/arm-network/src/models/subnetsMappers.ts +++ b/sdk/network/arm-network/src/models/subnetsMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -206,6 +207,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts b/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts index fe55265b11ed..52aee0a1217f 100644 --- a/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts @@ -140,6 +140,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -207,6 +208,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/virtualHubsMappers.ts b/sdk/network/arm-network/src/models/virtualHubsMappers.ts index 2cc5d6274259..e2bd873607e3 100644 --- a/sdk/network/arm-network/src/models/virtualHubsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubsMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts index f7d2e5c93371..a787c4c5203c 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts @@ -141,6 +141,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -207,6 +208,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts index 650e0350dac9..81fe840f349a 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts @@ -144,6 +144,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -211,6 +212,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts index 0eb76a9f28ec..d14d6475a26f 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -204,6 +205,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts index 72e166204b35..dad5ca43a072 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -204,6 +205,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/virtualNetworksMappers.ts b/sdk/network/arm-network/src/models/virtualNetworksMappers.ts index d2df775eeaef..2ab08a1cf471 100644 --- a/sdk/network/arm-network/src/models/virtualNetworksMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworksMappers.ts @@ -139,6 +139,7 @@ export { InboundNatPool, InboundNatRule, IPAddressAvailabilityResult, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts b/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts index 72b529b13883..36797e3df870 100644 --- a/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/virtualRoutersMappers.ts b/sdk/network/arm-network/src/models/virtualRoutersMappers.ts index 2dd95e5cfd06..f4da3e174ca4 100644 --- a/sdk/network/arm-network/src/models/virtualRoutersMappers.ts +++ b/sdk/network/arm-network/src/models/virtualRoutersMappers.ts @@ -139,6 +139,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/virtualWansMappers.ts b/sdk/network/arm-network/src/models/virtualWansMappers.ts index 5e93962598a4..f487c3f53cc6 100644 --- a/sdk/network/arm-network/src/models/virtualWansMappers.ts +++ b/sdk/network/arm-network/src/models/virtualWansMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts index 79a120645749..97f517e0b5a1 100644 --- a/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts b/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts index 1c646dca29e9..2e17f7655c8e 100644 --- a/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts index bdd92c07d50c..7883e64e163d 100644 --- a/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts b/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts index cc4d76367c08..120a1bb8384a 100644 --- a/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts index 08b79aac7825..80995dc9ee9b 100644 --- a/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -204,6 +205,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts b/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts index 7a0e167caee3..60a827853b20 100644 --- a/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/vpnSitesMappers.ts b/sdk/network/arm-network/src/models/vpnSitesMappers.ts index c3a9621d14ee..747f7743cb49 100644 --- a/sdk/network/arm-network/src/models/vpnSitesMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSitesMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -205,6 +206,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts b/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts index ebaa9709c6a6..d8cf406443ee 100644 --- a/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts @@ -138,6 +138,7 @@ export { HubVirtualNetworkConnection, InboundNatPool, InboundNatRule, + IpAllocation, IPConfiguration, IPConfigurationBgpPeeringAddress, IPConfigurationProfile, @@ -204,6 +205,7 @@ export { RouteFilter, RouteFilterRule, RouteTable, + SecurityPartnerProvider, SecurityRule, ServiceAssociationLink, ServiceEndpointPolicy, diff --git a/sdk/network/arm-network/src/networkManagementClient.ts b/sdk/network/arm-network/src/networkManagementClient.ts index 0424f7756798..ad0b2a2d5827 100644 --- a/sdk/network/arm-network/src/networkManagementClient.ts +++ b/sdk/network/arm-network/src/networkManagementClient.ts @@ -38,13 +38,12 @@ class NetworkManagementClient extends NetworkManagementClientContext { expressRouteServiceProviders: operations.ExpressRouteServiceProviders; expressRouteCrossConnections: operations.ExpressRouteCrossConnections; expressRouteCrossConnectionPeerings: operations.ExpressRouteCrossConnectionPeerings; - expressRouteGateways: operations.ExpressRouteGateways; - expressRouteConnections: operations.ExpressRouteConnections; expressRoutePortsLocations: operations.ExpressRoutePortsLocations; expressRoutePorts: operations.ExpressRoutePorts; expressRouteLinks: operations.ExpressRouteLinks; firewallPolicies: operations.FirewallPolicies; firewallPolicyRuleGroups: operations.FirewallPolicyRuleGroups; + ipAllocations: operations.IpAllocations; ipGroups: operations.IpGroups; loadBalancers: operations.LoadBalancers; loadBalancerBackendAddressPools: operations.LoadBalancerBackendAddressPools; @@ -78,6 +77,7 @@ class NetworkManagementClient extends NetworkManagementClientContext { routeFilterRules: operations.RouteFilterRules; routeTables: operations.RouteTables; routes: operations.Routes; + securityPartnerProviders: operations.SecurityPartnerProviders; bgpServiceCommunities: operations.BgpServiceCommunities; serviceEndpointPolicies: operations.ServiceEndpointPolicies; serviceEndpointPolicyDefinitions: operations.ServiceEndpointPolicyDefinitions; @@ -108,6 +108,8 @@ class NetworkManagementClient extends NetworkManagementClientContext { p2sVpnGateways: operations.P2sVpnGateways; vpnServerConfigurationsAssociatedWithVirtualWan: operations.VpnServerConfigurationsAssociatedWithVirtualWan; virtualHubRouteTableV2s: operations.VirtualHubRouteTableV2s; + expressRouteGateways: operations.ExpressRouteGateways; + expressRouteConnections: operations.ExpressRouteConnections; webApplicationFirewallPolicies: operations.WebApplicationFirewallPolicies; /** @@ -138,13 +140,12 @@ class NetworkManagementClient extends NetworkManagementClientContext { this.expressRouteServiceProviders = new operations.ExpressRouteServiceProviders(this); this.expressRouteCrossConnections = new operations.ExpressRouteCrossConnections(this); this.expressRouteCrossConnectionPeerings = new operations.ExpressRouteCrossConnectionPeerings(this); - this.expressRouteGateways = new operations.ExpressRouteGateways(this); - this.expressRouteConnections = new operations.ExpressRouteConnections(this); this.expressRoutePortsLocations = new operations.ExpressRoutePortsLocations(this); this.expressRoutePorts = new operations.ExpressRoutePorts(this); this.expressRouteLinks = new operations.ExpressRouteLinks(this); this.firewallPolicies = new operations.FirewallPolicies(this); this.firewallPolicyRuleGroups = new operations.FirewallPolicyRuleGroups(this); + this.ipAllocations = new operations.IpAllocations(this); this.ipGroups = new operations.IpGroups(this); this.loadBalancers = new operations.LoadBalancers(this); this.loadBalancerBackendAddressPools = new operations.LoadBalancerBackendAddressPools(this); @@ -178,6 +179,7 @@ class NetworkManagementClient extends NetworkManagementClientContext { this.routeFilterRules = new operations.RouteFilterRules(this); this.routeTables = new operations.RouteTables(this); this.routes = new operations.Routes(this); + this.securityPartnerProviders = new operations.SecurityPartnerProviders(this); this.bgpServiceCommunities = new operations.BgpServiceCommunities(this); this.serviceEndpointPolicies = new operations.ServiceEndpointPolicies(this); this.serviceEndpointPolicyDefinitions = new operations.ServiceEndpointPolicyDefinitions(this); @@ -208,6 +210,8 @@ class NetworkManagementClient extends NetworkManagementClientContext { this.p2sVpnGateways = new operations.P2sVpnGateways(this); this.vpnServerConfigurationsAssociatedWithVirtualWan = new operations.VpnServerConfigurationsAssociatedWithVirtualWan(this); this.virtualHubRouteTableV2s = new operations.VirtualHubRouteTableV2s(this); + this.expressRouteGateways = new operations.ExpressRouteGateways(this); + this.expressRouteConnections = new operations.ExpressRouteConnections(this); this.webApplicationFirewallPolicies = new operations.WebApplicationFirewallPolicies(this); } diff --git a/sdk/network/arm-network/src/operations/azureFirewalls.ts b/sdk/network/arm-network/src/operations/azureFirewalls.ts index b9e45ad7a60a..f75d134c3ff6 100644 --- a/sdk/network/arm-network/src/operations/azureFirewalls.ts +++ b/sdk/network/arm-network/src/operations/azureFirewalls.ts @@ -92,32 +92,9 @@ export class AzureFirewalls { * @param [options] The optional parameters * @returns Promise */ - updateTags(resourceGroupName: string, azureFirewallName: string, parameters: Models.TagsObject, options?: msRest.RequestOptionsBase): Promise; - /** - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the Azure Firewall. - * @param parameters Parameters supplied to update azure firewall tags. - * @param callback The callback - */ - updateTags(resourceGroupName: string, azureFirewallName: string, parameters: Models.TagsObject, callback: msRest.ServiceCallback): void; - /** - * @param resourceGroupName The name of the resource group. - * @param azureFirewallName The name of the Azure Firewall. - * @param parameters Parameters supplied to update azure firewall tags. - * @param options The optional parameters - * @param callback The callback - */ - updateTags(resourceGroupName: string, azureFirewallName: string, parameters: Models.TagsObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - updateTags(resourceGroupName: string, azureFirewallName: string, parameters: Models.TagsObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { - return this.client.sendOperationRequest( - { - resourceGroupName, - azureFirewallName, - parameters, - options - }, - updateTagsOperationSpec, - callback) as Promise; + updateTags(resourceGroupName: string, azureFirewallName: string, parameters: Models.TagsObject, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdateTags(resourceGroupName,azureFirewallName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } /** @@ -210,6 +187,26 @@ export class AzureFirewalls { options); } + /** + * Updates tags of an Azure Firewall resource. + * @param resourceGroupName The name of the resource group. + * @param azureFirewallName The name of the Azure Firewall. + * @param parameters Parameters supplied to update azure firewall tags. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdateTags(resourceGroupName: string, azureFirewallName: string, parameters: Models.TagsObject, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + azureFirewallName, + parameters, + options + }, + beginUpdateTagsOperationSpec, + options); + } + /** * Lists all Azure Firewalls in a resource group. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -294,38 +291,6 @@ const getOperationSpec: msRest.OperationSpec = { serializer }; -const updateTagsOperationSpec: msRest.OperationSpec = { - httpMethod: "PATCH", - path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", - urlParameters: [ - Parameters.resourceGroupName, - Parameters.azureFirewallName0, - Parameters.subscriptionId - ], - queryParameters: [ - Parameters.apiVersion0 - ], - headerParameters: [ - Parameters.acceptLanguage - ], - requestBody: { - parameterPath: "parameters", - mapper: { - ...Mappers.TagsObject, - required: true - } - }, - responses: { - 200: { - bodyMapper: Mappers.AzureFirewall - }, - default: { - bodyMapper: Mappers.CloudError - } - }, - serializer -}; - const listOperationSpec: msRest.OperationSpec = { httpMethod: "GET", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls", @@ -433,6 +398,39 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { serializer }; +const beginUpdateTagsOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.azureFirewallName0, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.TagsObject, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.AzureFirewall + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", diff --git a/sdk/network/arm-network/src/operations/index.ts b/sdk/network/arm-network/src/operations/index.ts index 292438abefec..39835e6132cd 100644 --- a/sdk/network/arm-network/src/operations/index.ts +++ b/sdk/network/arm-network/src/operations/index.ts @@ -27,13 +27,12 @@ export * from "./expressRouteCircuits"; export * from "./expressRouteServiceProviders"; export * from "./expressRouteCrossConnections"; export * from "./expressRouteCrossConnectionPeerings"; -export * from "./expressRouteGateways"; -export * from "./expressRouteConnections"; export * from "./expressRoutePortsLocations"; export * from "./expressRoutePorts"; export * from "./expressRouteLinks"; export * from "./firewallPolicies"; export * from "./firewallPolicyRuleGroups"; +export * from "./ipAllocations"; export * from "./ipGroups"; export * from "./loadBalancers"; export * from "./loadBalancerBackendAddressPools"; @@ -67,6 +66,7 @@ export * from "./routeFilters"; export * from "./routeFilterRules"; export * from "./routeTables"; export * from "./routes"; +export * from "./securityPartnerProviders"; export * from "./bgpServiceCommunities"; export * from "./serviceEndpointPolicies"; export * from "./serviceEndpointPolicyDefinitions"; @@ -97,4 +97,6 @@ export * from "./vpnLinkConnections"; export * from "./p2sVpnGateways"; export * from "./vpnServerConfigurationsAssociatedWithVirtualWan"; export * from "./virtualHubRouteTableV2s"; +export * from "./expressRouteGateways"; +export * from "./expressRouteConnections"; export * from "./webApplicationFirewallPolicies"; diff --git a/sdk/network/arm-network/src/operations/ipAllocations.ts b/sdk/network/arm-network/src/operations/ipAllocations.ts new file mode 100644 index 000000000000..58d41ce36c69 --- /dev/null +++ b/sdk/network/arm-network/src/operations/ipAllocations.ts @@ -0,0 +1,409 @@ +/* + * 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/ipAllocationsMappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClientContext } from "../networkManagementClientContext"; + +/** Class representing a IpAllocations. */ +export class IpAllocations { + private readonly client: NetworkManagementClientContext; + + /** + * Create a IpAllocations. + * @param {NetworkManagementClientContext} client Reference to the service client. + */ + constructor(client: NetworkManagementClientContext) { + this.client = client; + } + + /** + * Deletes the specified IpAllocation. + * @param resourceGroupName The name of the resource group. + * @param ipAllocationName The name of the IpAllocation. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, ipAllocationName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,ipAllocationName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Gets the specified IpAllocation by resource group. + * @param resourceGroupName The name of the resource group. + * @param ipAllocationName The name of the IpAllocation. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, ipAllocationName: string, options?: Models.IpAllocationsGetOptionalParams): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param ipAllocationName The name of the IpAllocation. + * @param callback The callback + */ + get(resourceGroupName: string, ipAllocationName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param ipAllocationName The name of the IpAllocation. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, ipAllocationName: string, options: Models.IpAllocationsGetOptionalParams, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, ipAllocationName: string, options?: Models.IpAllocationsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + ipAllocationName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates an IpAllocation in the specified resource group. + * @param resourceGroupName The name of the resource group. + * @param ipAllocationName The name of the IpAllocation. + * @param parameters Parameters supplied to the create or update virtual network operation. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, ipAllocationName: string, parameters: Models.IpAllocation, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,ipAllocationName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Gets all IpAllocations in a subscription. + * @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; + } + + /** + * Gets all IpAllocations in a resource group. + * @param resourceGroupName The name of the resource group. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Deletes the specified IpAllocation. + * @param resourceGroupName The name of the resource group. + * @param ipAllocationName The name of the IpAllocation. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, ipAllocationName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + ipAllocationName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Creates or updates an IpAllocation in the specified resource group. + * @param resourceGroupName The name of the resource group. + * @param ipAllocationName The name of the IpAllocation. + * @param parameters Parameters supplied to the create or update virtual network operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, ipAllocationName: string, parameters: Models.IpAllocation, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + ipAllocationName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Gets all IpAllocations in a subscription. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } + + /** + * Gets all IpAllocations in a resource group. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.ipAllocationName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0, + Parameters.expand + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IpAllocation + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Network/IpAllocations", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IpAllocationListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IpAllocationListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.ipAllocationName, + 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/IpAllocations/{ipAllocationName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.ipAllocationName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.IpAllocation, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.IpAllocation + }, + 201: { + bodyMapper: Mappers.IpAllocation + }, + 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.IpAllocationListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.IpAllocationListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/network/arm-network/src/operations/securityPartnerProviders.ts b/sdk/network/arm-network/src/operations/securityPartnerProviders.ts new file mode 100644 index 000000000000..db2a142f45dd --- /dev/null +++ b/sdk/network/arm-network/src/operations/securityPartnerProviders.ts @@ -0,0 +1,478 @@ +/* + * 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/securityPartnerProvidersMappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClientContext } from "../networkManagementClientContext"; + +/** Class representing a SecurityPartnerProviders. */ +export class SecurityPartnerProviders { + private readonly client: NetworkManagementClientContext; + + /** + * Create a SecurityPartnerProviders. + * @param {NetworkManagementClientContext} client Reference to the service client. + */ + constructor(client: NetworkManagementClientContext) { + this.client = client; + } + + /** + * Deletes the specified Security Partner Provider. + * @param resourceGroupName The name of the resource group. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, securityPartnerProviderName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,securityPartnerProviderName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Gets the specified Security Partner Provider. + * @param resourceGroupName The name of the resource group. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, securityPartnerProviderName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @param callback The callback + */ + get(resourceGroupName: string, securityPartnerProviderName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, securityPartnerProviderName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, securityPartnerProviderName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + securityPartnerProviderName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates the specified Security Partner Provider. + * @param resourceGroupName The name of the resource group. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @param parameters Parameters supplied to the create or update Security Partner Provider + * operation. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, securityPartnerProviderName: string, parameters: Models.SecurityPartnerProvider, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,securityPartnerProviderName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Updates tags of a Security Partner Provider resource. + * @param resourceGroupName The name of the resource group. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @param parameters Parameters supplied to update Security Partner Provider tags. + * @param [options] The optional parameters + * @returns Promise + */ + updateTags(resourceGroupName: string, securityPartnerProviderName: string, parameters: Models.TagsObject, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @param parameters Parameters supplied to update Security Partner Provider tags. + * @param callback The callback + */ + updateTags(resourceGroupName: string, securityPartnerProviderName: string, parameters: Models.TagsObject, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @param parameters Parameters supplied to update Security Partner Provider tags. + * @param options The optional parameters + * @param callback The callback + */ + updateTags(resourceGroupName: string, securityPartnerProviderName: string, parameters: Models.TagsObject, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + updateTags(resourceGroupName: string, securityPartnerProviderName: string, parameters: Models.TagsObject, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + securityPartnerProviderName, + parameters, + options + }, + updateTagsOperationSpec, + callback) as Promise; + } + + /** + * Lists all Security Partner Providers in a resource group. + * @param resourceGroupName The name of the resource group. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + options + }, + listByResourceGroupOperationSpec, + callback) as Promise; + } + + /** + * Gets all the Security Partner Providers in a subscription. + * @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; + } + + /** + * Deletes the specified Security Partner Provider. + * @param resourceGroupName The name of the resource group. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, securityPartnerProviderName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + securityPartnerProviderName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Creates or updates the specified Security Partner Provider. + * @param resourceGroupName The name of the resource group. + * @param securityPartnerProviderName The name of the Security Partner Provider. + * @param parameters Parameters supplied to the create or update Security Partner Provider + * operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, securityPartnerProviderName: string, parameters: Models.SecurityPartnerProvider, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + securityPartnerProviderName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Lists all Security Partner Providers in a resource group. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByResourceGroupNextOperationSpec, + callback) as Promise; + } + + /** + * Gets all the Security Partner Providers in a subscription. + * @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/securityPartnerProviders/{securityPartnerProviderName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.securityPartnerProviderName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecurityPartnerProvider + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const updateTagsOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.securityPartnerProviderName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.TagsObject, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.SecurityPartnerProvider + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecurityPartnerProviderListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Network/securityPartnerProviders", + urlParameters: [ + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecurityPartnerProviderListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.securityPartnerProviderName, + 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/securityPartnerProviders/{securityPartnerProviderName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.securityPartnerProviderName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.SecurityPartnerProvider, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.SecurityPartnerProvider + }, + 201: { + bodyMapper: Mappers.SecurityPartnerProvider + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByResourceGroupNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.SecurityPartnerProviderListResult + }, + 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.SecurityPartnerProviderListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +};