vendor: update all dependencies to latest versions
This commit is contained in:
+2
@@ -1,6 +1,8 @@
|
||||
// Package eventgrid implements the Azure ARM Eventgrid service API version 2017-09-15-preview.
|
||||
//
|
||||
// Azure EventGrid Management Client
|
||||
//
|
||||
// Deprecated: Please instead use github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid
|
||||
package eventgrid
|
||||
|
||||
// Copyright (c) Microsoft and contributors. All rights reserved.
|
||||
|
||||
+36
-11
@@ -115,6 +115,7 @@ func (client EventSubscriptionsClient) CreatePreparer(scope string, eventSubscri
|
||||
func (client EventSubscriptionsClient) CreateSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...),
|
||||
azure.DoPollForAsynchronous(client.PollingDelay))
|
||||
}
|
||||
|
||||
@@ -202,6 +203,7 @@ func (client EventSubscriptionsClient) DeletePreparer(scope string, eventSubscri
|
||||
func (client EventSubscriptionsClient) DeleteSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...),
|
||||
azure.DoPollForAsynchronous(client.PollingDelay))
|
||||
}
|
||||
|
||||
@@ -272,7 +274,9 @@ func (client EventSubscriptionsClient) GetPreparer(scope string, eventSubscripti
|
||||
// GetSender sends the Get request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client EventSubscriptionsClient) GetSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// GetResponder handles the response to the Get request. The method always
|
||||
@@ -343,7 +347,9 @@ func (client EventSubscriptionsClient) GetFullURLPreparer(scope string, eventSub
|
||||
// GetFullURLSender sends the GetFullURL request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client EventSubscriptionsClient) GetFullURLSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// GetFullURLResponder handles the response to the GetFullURL request. The method always
|
||||
@@ -411,7 +417,9 @@ func (client EventSubscriptionsClient) ListByResourcePreparer(resourceGroupName
|
||||
// ListByResourceSender sends the ListByResource request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client EventSubscriptionsClient) ListByResourceSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// ListByResourceResponder handles the response to the ListByResource request. The method always
|
||||
@@ -475,7 +483,9 @@ func (client EventSubscriptionsClient) ListGlobalByResourceGroupPreparer(resourc
|
||||
// ListGlobalByResourceGroupSender sends the ListGlobalByResourceGroup request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client EventSubscriptionsClient) ListGlobalByResourceGroupSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// ListGlobalByResourceGroupResponder handles the response to the ListGlobalByResourceGroup request. The method always
|
||||
@@ -542,7 +552,9 @@ func (client EventSubscriptionsClient) ListGlobalByResourceGroupForTopicTypePrep
|
||||
// ListGlobalByResourceGroupForTopicTypeSender sends the ListGlobalByResourceGroupForTopicType request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client EventSubscriptionsClient) ListGlobalByResourceGroupForTopicTypeSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// ListGlobalByResourceGroupForTopicTypeResponder handles the response to the ListGlobalByResourceGroupForTopicType request. The method always
|
||||
@@ -603,7 +615,9 @@ func (client EventSubscriptionsClient) ListGlobalBySubscriptionPreparer() (*http
|
||||
// ListGlobalBySubscriptionSender sends the ListGlobalBySubscription request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client EventSubscriptionsClient) ListGlobalBySubscriptionSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// ListGlobalBySubscriptionResponder handles the response to the ListGlobalBySubscription request. The method always
|
||||
@@ -668,7 +682,9 @@ func (client EventSubscriptionsClient) ListGlobalBySubscriptionForTopicTypePrepa
|
||||
// ListGlobalBySubscriptionForTopicTypeSender sends the ListGlobalBySubscriptionForTopicType request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client EventSubscriptionsClient) ListGlobalBySubscriptionForTopicTypeSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// ListGlobalBySubscriptionForTopicTypeResponder handles the response to the ListGlobalBySubscriptionForTopicType request. The method always
|
||||
@@ -734,7 +750,9 @@ func (client EventSubscriptionsClient) ListRegionalByResourceGroupPreparer(resou
|
||||
// ListRegionalByResourceGroupSender sends the ListRegionalByResourceGroup request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client EventSubscriptionsClient) ListRegionalByResourceGroupSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// ListRegionalByResourceGroupResponder handles the response to the ListRegionalByResourceGroup request. The method always
|
||||
@@ -802,7 +820,9 @@ func (client EventSubscriptionsClient) ListRegionalByResourceGroupForTopicTypePr
|
||||
// ListRegionalByResourceGroupForTopicTypeSender sends the ListRegionalByResourceGroupForTopicType request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client EventSubscriptionsClient) ListRegionalByResourceGroupForTopicTypeSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// ListRegionalByResourceGroupForTopicTypeResponder handles the response to the ListRegionalByResourceGroupForTopicType request. The method always
|
||||
@@ -866,7 +886,9 @@ func (client EventSubscriptionsClient) ListRegionalBySubscriptionPreparer(locati
|
||||
// ListRegionalBySubscriptionSender sends the ListRegionalBySubscription request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client EventSubscriptionsClient) ListRegionalBySubscriptionSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// ListRegionalBySubscriptionResponder handles the response to the ListRegionalBySubscription request. The method always
|
||||
@@ -932,7 +954,9 @@ func (client EventSubscriptionsClient) ListRegionalBySubscriptionForTopicTypePre
|
||||
// ListRegionalBySubscriptionForTopicTypeSender sends the ListRegionalBySubscriptionForTopicType request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client EventSubscriptionsClient) ListRegionalBySubscriptionForTopicTypeSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// ListRegionalBySubscriptionForTopicTypeResponder handles the response to the ListRegionalBySubscriptionForTopicType request. The method always
|
||||
@@ -1023,6 +1047,7 @@ func (client EventSubscriptionsClient) UpdatePreparer(scope string, eventSubscri
|
||||
func (client EventSubscriptionsClient) UpdateSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...),
|
||||
azure.DoPollForAsynchronous(client.PollingDelay))
|
||||
}
|
||||
|
||||
|
||||
+3
-1
@@ -79,7 +79,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
|
||||
|
||||
+20
-6
@@ -108,6 +108,7 @@ func (client TopicsClient) CreateOrUpdatePreparer(resourceGroupName string, topi
|
||||
func (client TopicsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client),
|
||||
azure.DoPollForAsynchronous(client.PollingDelay))
|
||||
}
|
||||
|
||||
@@ -189,6 +190,7 @@ func (client TopicsClient) DeletePreparer(resourceGroupName string, topicName st
|
||||
func (client TopicsClient) DeleteSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client),
|
||||
azure.DoPollForAsynchronous(client.PollingDelay))
|
||||
}
|
||||
|
||||
@@ -253,7 +255,9 @@ func (client TopicsClient) GetPreparer(resourceGroupName string, topicName strin
|
||||
// GetSender sends the Get request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client TopicsClient) 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
|
||||
@@ -317,7 +321,9 @@ func (client TopicsClient) ListByResourceGroupPreparer(resourceGroupName string)
|
||||
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client TopicsClient) 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
|
||||
@@ -378,7 +384,9 @@ func (client TopicsClient) ListBySubscriptionPreparer() (*http.Request, error) {
|
||||
// ListBySubscriptionSender sends the ListBySubscription request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client TopicsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always
|
||||
@@ -446,7 +454,9 @@ func (client TopicsClient) ListEventTypesPreparer(resourceGroupName string, prov
|
||||
// ListEventTypesSender sends the ListEventTypes request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client TopicsClient) ListEventTypesSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// ListEventTypesResponder handles the response to the ListEventTypes request. The method always
|
||||
@@ -511,7 +521,9 @@ func (client TopicsClient) ListSharedAccessKeysPreparer(resourceGroupName string
|
||||
// ListSharedAccessKeysSender sends the ListSharedAccessKeys request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client TopicsClient) ListSharedAccessKeysSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// ListSharedAccessKeysResponder handles the response to the ListSharedAccessKeys request. The method always
|
||||
@@ -585,7 +597,9 @@ func (client TopicsClient) RegenerateKeyPreparer(resourceGroupName string, topic
|
||||
// RegenerateKeySender sends the RegenerateKey request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client TopicsClient) RegenerateKeySender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// RegenerateKeyResponder handles the response to the RegenerateKey request. The method always
|
||||
|
||||
+9
-3
@@ -85,7 +85,9 @@ func (client TopicTypesClient) GetPreparer(topicTypeName string) (*http.Request,
|
||||
// GetSender sends the Get request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client TopicTypesClient) GetSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// GetResponder handles the response to the Get request. The method always
|
||||
@@ -142,7 +144,9 @@ func (client TopicTypesClient) ListPreparer() (*http.Request, error) {
|
||||
// ListSender sends the List request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client TopicTypesClient) 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
|
||||
@@ -205,7 +209,9 @@ func (client TopicTypesClient) ListEventTypesPreparer(topicTypeName string) (*ht
|
||||
// ListEventTypesSender sends the ListEventTypes request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client TopicTypesClient) ListEventTypesSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// ListEventTypesResponder handles the response to the ListEventTypes request. The method always
|
||||
|
||||
+2
-2
@@ -19,10 +19,10 @@ package eventgrid
|
||||
|
||||
// UserAgent returns the UserAgent string to use when sending http.Requests.
|
||||
func UserAgent() string {
|
||||
return "Azure-SDK-For-Go/v11.0.0-beta arm-eventgrid/2017-09-15-preview"
|
||||
return "Azure-SDK-For-Go/v12.2.0-beta arm-eventgrid/2017-09-15-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