vendor: update all dependencies to latest versions
This commit is contained in:
+2
@@ -1,6 +1,8 @@
|
||||
// Package locks implements the Azure ARM Locks service API version 2016-09-01.
|
||||
//
|
||||
// Azure resources can be locked to prevent other users in your organization from deleting or modifying resources.
|
||||
//
|
||||
// Deprecated: Please instead use github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/locks
|
||||
package locks
|
||||
|
||||
// Copyright (c) Microsoft and contributors. All rights reserved.
|
||||
|
||||
+45
-15
@@ -106,7 +106,9 @@ func (client ManagementLocksClient) CreateOrUpdateAtResourceGroupLevelPreparer(r
|
||||
// CreateOrUpdateAtResourceGroupLevelSender sends the CreateOrUpdateAtResourceGroupLevel request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ManagementLocksClient) CreateOrUpdateAtResourceGroupLevelSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// CreateOrUpdateAtResourceGroupLevelResponder handles the response to the CreateOrUpdateAtResourceGroupLevel request. The method always
|
||||
@@ -193,7 +195,9 @@ func (client ManagementLocksClient) CreateOrUpdateAtResourceLevelPreparer(resour
|
||||
// CreateOrUpdateAtResourceLevelSender sends the CreateOrUpdateAtResourceLevel request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ManagementLocksClient) CreateOrUpdateAtResourceLevelSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// CreateOrUpdateAtResourceLevelResponder handles the response to the CreateOrUpdateAtResourceLevel request. The method always
|
||||
@@ -269,7 +273,9 @@ func (client ManagementLocksClient) CreateOrUpdateAtSubscriptionLevelPreparer(lo
|
||||
// CreateOrUpdateAtSubscriptionLevelSender sends the CreateOrUpdateAtSubscriptionLevel request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ManagementLocksClient) CreateOrUpdateAtSubscriptionLevelSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// CreateOrUpdateAtSubscriptionLevelResponder handles the response to the CreateOrUpdateAtSubscriptionLevel request. The method always
|
||||
@@ -344,7 +350,9 @@ func (client ManagementLocksClient) CreateOrUpdateByScopePreparer(scope string,
|
||||
// CreateOrUpdateByScopeSender sends the CreateOrUpdateByScope request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ManagementLocksClient) CreateOrUpdateByScopeSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// CreateOrUpdateByScopeResponder handles the response to the CreateOrUpdateByScope request. The method always
|
||||
@@ -419,7 +427,9 @@ func (client ManagementLocksClient) DeleteAtResourceGroupLevelPreparer(resourceG
|
||||
// DeleteAtResourceGroupLevelSender sends the DeleteAtResourceGroupLevel request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ManagementLocksClient) DeleteAtResourceGroupLevelSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// DeleteAtResourceGroupLevelResponder handles the response to the DeleteAtResourceGroupLevel request. The method always
|
||||
@@ -501,7 +511,9 @@ func (client ManagementLocksClient) DeleteAtResourceLevelPreparer(resourceGroupN
|
||||
// DeleteAtResourceLevelSender sends the DeleteAtResourceLevel request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ManagementLocksClient) DeleteAtResourceLevelSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// DeleteAtResourceLevelResponder handles the response to the DeleteAtResourceLevel request. The method always
|
||||
@@ -566,7 +578,9 @@ func (client ManagementLocksClient) DeleteAtSubscriptionLevelPreparer(lockName s
|
||||
// DeleteAtSubscriptionLevelSender sends the DeleteAtSubscriptionLevel request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ManagementLocksClient) DeleteAtSubscriptionLevelSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// DeleteAtSubscriptionLevelResponder handles the response to the DeleteAtSubscriptionLevel request. The method always
|
||||
@@ -629,7 +643,9 @@ func (client ManagementLocksClient) DeleteByScopePreparer(scope string, lockName
|
||||
// DeleteByScopeSender sends the DeleteByScope request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ManagementLocksClient) DeleteByScopeSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// DeleteByScopeResponder handles the response to the DeleteByScope request. The method always
|
||||
@@ -701,7 +717,9 @@ func (client ManagementLocksClient) GetAtResourceGroupLevelPreparer(resourceGrou
|
||||
// GetAtResourceGroupLevelSender sends the GetAtResourceGroupLevel request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ManagementLocksClient) GetAtResourceGroupLevelSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// GetAtResourceGroupLevelResponder handles the response to the GetAtResourceGroupLevel request. The method always
|
||||
@@ -780,7 +798,9 @@ func (client ManagementLocksClient) GetAtResourceLevelPreparer(resourceGroupName
|
||||
// GetAtResourceLevelSender sends the GetAtResourceLevel request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ManagementLocksClient) GetAtResourceLevelSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// GetAtResourceLevelResponder handles the response to the GetAtResourceLevel request. The method always
|
||||
@@ -844,7 +864,9 @@ func (client ManagementLocksClient) GetAtSubscriptionLevelPreparer(lockName stri
|
||||
// GetAtSubscriptionLevelSender sends the GetAtSubscriptionLevel request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ManagementLocksClient) GetAtSubscriptionLevelSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// GetAtSubscriptionLevelResponder handles the response to the GetAtSubscriptionLevel request. The method always
|
||||
@@ -908,7 +930,9 @@ func (client ManagementLocksClient) GetByScopePreparer(scope string, lockName st
|
||||
// GetByScopeSender sends the GetByScope request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ManagementLocksClient) GetByScopeSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// GetByScopeResponder handles the response to the GetByScope request. The method always
|
||||
@@ -984,7 +1008,9 @@ func (client ManagementLocksClient) ListAtResourceGroupLevelPreparer(resourceGro
|
||||
// ListAtResourceGroupLevelSender sends the ListAtResourceGroupLevel request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ManagementLocksClient) ListAtResourceGroupLevelSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// ListAtResourceGroupLevelResponder handles the response to the ListAtResourceGroupLevel request. The method always
|
||||
@@ -1135,7 +1161,9 @@ func (client ManagementLocksClient) ListAtResourceLevelPreparer(resourceGroupNam
|
||||
// ListAtResourceLevelSender sends the ListAtResourceLevel request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ManagementLocksClient) ListAtResourceLevelSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// ListAtResourceLevelResponder handles the response to the ListAtResourceLevel request. The method always
|
||||
@@ -1270,7 +1298,9 @@ func (client ManagementLocksClient) ListAtSubscriptionLevelPreparer(filter strin
|
||||
// ListAtSubscriptionLevelSender sends the ListAtSubscriptionLevel request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client ManagementLocksClient) ListAtSubscriptionLevelSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// ListAtSubscriptionLevelResponder handles the response to the ListAtSubscriptionLevel request. The method always
|
||||
|
||||
+2
-2
@@ -19,10 +19,10 @@ package locks
|
||||
|
||||
// UserAgent returns the UserAgent string to use when sending http.Requests.
|
||||
func UserAgent() string {
|
||||
return "Azure-SDK-For-Go/v11.0.0-beta arm-locks/2016-09-01"
|
||||
return "Azure-SDK-For-Go/v12.2.0-beta arm-locks/2016-09-01"
|
||||
}
|
||||
|
||||
// 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