From c0173179cb8dbdc5e94957c3801c55ca805a53be Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 5 Nov 2018 17:46:33 -0800 Subject: [PATCH] Generated from 84d970dfee59adbf75a60fe741f3492aaf87eaba (#3241) Add java multi api versions for network --- .../network/mgmt/2018-08-01/network/virtualnetworks.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/services/network/mgmt/2018-08-01/network/virtualnetworks.go b/services/network/mgmt/2018-08-01/network/virtualnetworks.go index b329a12d62cd..cd3252f13a53 100644 --- a/services/network/mgmt/2018-08-01/network/virtualnetworks.go +++ b/services/network/mgmt/2018-08-01/network/virtualnetworks.go @@ -42,10 +42,10 @@ func NewVirtualNetworksClientWithBaseURI(baseURI string, subscriptionID string) // CheckIPAddressAvailability checks whether a private IP address is available for use. // Parameters: -// IPAddress - the private IP address to be verified. // resourceGroupName - the name of the resource group. // virtualNetworkName - the name of the virtual network. -func (client VirtualNetworksClient) CheckIPAddressAvailability(ctx context.Context, IPAddress string, resourceGroupName string, virtualNetworkName string) (result IPAddressAvailabilityResult, err error) { +// IPAddress - the private IP address to be verified. +func (client VirtualNetworksClient) CheckIPAddressAvailability(ctx context.Context, resourceGroupName string, virtualNetworkName string, IPAddress string) (result IPAddressAvailabilityResult, err error) { if tracing.IsEnabled() { ctx = tracing.StartSpan(ctx, fqdn+"/VirtualNetworksClient.CheckIPAddressAvailability") defer func() { @@ -56,7 +56,7 @@ func (client VirtualNetworksClient) CheckIPAddressAvailability(ctx context.Conte tracing.EndSpan(ctx, sc, err) }() } - req, err := client.CheckIPAddressAvailabilityPreparer(ctx, IPAddress, resourceGroupName, virtualNetworkName) + req, err := client.CheckIPAddressAvailabilityPreparer(ctx, resourceGroupName, virtualNetworkName, IPAddress) if err != nil { err = autorest.NewErrorWithError(err, "network.VirtualNetworksClient", "CheckIPAddressAvailability", nil, "Failure preparing request") return @@ -78,7 +78,7 @@ func (client VirtualNetworksClient) CheckIPAddressAvailability(ctx context.Conte } // CheckIPAddressAvailabilityPreparer prepares the CheckIPAddressAvailability request. -func (client VirtualNetworksClient) CheckIPAddressAvailabilityPreparer(ctx context.Context, IPAddress string, resourceGroupName string, virtualNetworkName string) (*http.Request, error) { +func (client VirtualNetworksClient) CheckIPAddressAvailabilityPreparer(ctx context.Context, resourceGroupName string, virtualNetworkName string, IPAddress string) (*http.Request, error) { pathParameters := map[string]interface{}{ "resourceGroupName": autorest.Encode("path", resourceGroupName), "subscriptionId": autorest.Encode("path", client.SubscriptionID),