vendor: update all dependencies to latest versions
This commit is contained in:
+2
@@ -2,6 +2,8 @@
|
||||
//
|
||||
// The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources
|
||||
// including servers, databases, firewall rules, log files and configurations.
|
||||
//
|
||||
// Deprecated: Please instead use github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-04-30-preview/mysql
|
||||
package mysql
|
||||
|
||||
// Copyright (c) Microsoft and contributors. All rights reserved.
|
||||
|
||||
+7
-2
@@ -109,6 +109,7 @@ func (client ConfigurationsClient) CreateOrUpdatePreparer(resourceGroupName stri
|
||||
func (client ConfigurationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client),
|
||||
azure.DoPollForAsynchronous(client.PollingDelay))
|
||||
}
|
||||
|
||||
@@ -177,7 +178,9 @@ func (client ConfigurationsClient) GetPreparer(resourceGroupName string, serverN
|
||||
// GetSender sends the Get request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ConfigurationsClient) GetSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// GetResponder handles the response to the Get request. The method always
|
||||
@@ -243,7 +246,9 @@ func (client ConfigurationsClient) ListByServerPreparer(resourceGroupName string
|
||||
// ListByServerSender sends the ListByServer request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ConfigurationsClient) ListByServerSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// ListByServerResponder handles the response to the ListByServer request. The method always
|
||||
|
||||
+8
-2
@@ -110,6 +110,7 @@ func (client DatabasesClient) CreateOrUpdatePreparer(resourceGroupName string, s
|
||||
func (client DatabasesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client),
|
||||
azure.DoPollForAsynchronous(client.PollingDelay))
|
||||
}
|
||||
|
||||
@@ -194,6 +195,7 @@ func (client DatabasesClient) DeletePreparer(resourceGroupName string, serverNam
|
||||
func (client DatabasesClient) DeleteSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client),
|
||||
azure.DoPollForAsynchronous(client.PollingDelay))
|
||||
}
|
||||
|
||||
@@ -261,7 +263,9 @@ func (client DatabasesClient) GetPreparer(resourceGroupName string, serverName s
|
||||
// GetSender sends the Get request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client DatabasesClient) GetSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// GetResponder handles the response to the Get request. The method always
|
||||
@@ -327,7 +331,9 @@ func (client DatabasesClient) ListByServerPreparer(resourceGroupName string, ser
|
||||
// ListByServerSender sends the ListByServer request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client DatabasesClient) ListByServerSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// ListByServerResponder handles the response to the ListByServer request. The method always
|
||||
|
||||
+8
-2
@@ -125,6 +125,7 @@ func (client FirewallRulesClient) CreateOrUpdatePreparer(resourceGroupName strin
|
||||
func (client FirewallRulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client),
|
||||
azure.DoPollForAsynchronous(client.PollingDelay))
|
||||
}
|
||||
|
||||
@@ -209,6 +210,7 @@ func (client FirewallRulesClient) DeletePreparer(resourceGroupName string, serve
|
||||
func (client FirewallRulesClient) DeleteSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client),
|
||||
azure.DoPollForAsynchronous(client.PollingDelay))
|
||||
}
|
||||
|
||||
@@ -276,7 +278,9 @@ func (client FirewallRulesClient) GetPreparer(resourceGroupName string, serverNa
|
||||
// GetSender sends the Get request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client FirewallRulesClient) GetSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// GetResponder handles the response to the Get request. The method always
|
||||
@@ -342,7 +346,9 @@ func (client FirewallRulesClient) ListByServerPreparer(resourceGroupName string,
|
||||
// ListByServerSender sends the ListByServer request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client FirewallRulesClient) ListByServerSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// ListByServerResponder handles the response to the ListByServer request. The method always
|
||||
|
||||
+3
-1
@@ -89,7 +89,9 @@ func (client LogFilesClient) ListByServerPreparer(resourceGroupName string, serv
|
||||
// ListByServerSender sends the ListByServer request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client LogFilesClient) ListByServerSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// ListByServerResponder handles the response to the ListByServer request. The method always
|
||||
|
||||
+3
-1
@@ -80,7 +80,9 @@ func (client OperationsClient) ListPreparer() (*http.Request, error) {
|
||||
// ListSender sends the List request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// ListResponder handles the response to the List request. The method always
|
||||
|
||||
+12
-3
@@ -127,6 +127,7 @@ func (client ServersClient) CreateOrUpdatePreparer(resourceGroupName string, ser
|
||||
func (client ServersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client),
|
||||
azure.DoPollForAsynchronous(client.PollingDelay))
|
||||
}
|
||||
|
||||
@@ -209,6 +210,7 @@ func (client ServersClient) DeletePreparer(resourceGroupName string, serverName
|
||||
func (client ServersClient) DeleteSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client),
|
||||
azure.DoPollForAsynchronous(client.PollingDelay))
|
||||
}
|
||||
|
||||
@@ -274,7 +276,9 @@ func (client ServersClient) GetPreparer(resourceGroupName string, serverName str
|
||||
// GetSender sends the Get request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ServersClient) GetSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// GetResponder handles the response to the Get request. The method always
|
||||
@@ -335,7 +339,9 @@ func (client ServersClient) ListPreparer() (*http.Request, error) {
|
||||
// ListSender sends the List request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ServersClient) ListSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// ListResponder handles the response to the List request. The method always
|
||||
@@ -400,7 +406,9 @@ func (client ServersClient) ListByResourceGroupPreparer(resourceGroupName string
|
||||
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ServersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always
|
||||
@@ -486,6 +494,7 @@ func (client ServersClient) UpdatePreparer(resourceGroupName string, serverName
|
||||
func (client ServersClient) UpdateSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client),
|
||||
azure.DoPollForAsynchronous(client.PollingDelay))
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -19,10 +19,10 @@ package mysql
|
||||
|
||||
// UserAgent returns the UserAgent string to use when sending http.Requests.
|
||||
func UserAgent() string {
|
||||
return "Azure-SDK-For-Go/v11.0.0-beta arm-mysql/2017-04-30-preview"
|
||||
return "Azure-SDK-For-Go/v12.2.0-beta arm-mysql/2017-04-30-preview"
|
||||
}
|
||||
|
||||
// Version returns the semantic version (see http://semver.org) of the client.
|
||||
func Version() string {
|
||||
return "v11.0.0-beta"
|
||||
return "v12.2.0-beta"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user