vendor: update all dependencies to latest versions
This commit is contained in:
Generated
Vendored
+12
-4
@@ -98,7 +98,9 @@ func (client AvailabilityStatusesClient) GetByResourcePreparer(resourceURI strin
|
||||
// GetByResourceSender sends the GetByResource request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client AvailabilityStatusesClient) GetByResourceSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
autorest.DoRetryForStatusCodes(client.RetryAttempts, client.RetryDuration, autorest.StatusCodesForRetry...))
|
||||
}
|
||||
|
||||
// GetByResourceResponder handles the response to the GetByResource request. The method always
|
||||
@@ -175,7 +177,9 @@ func (client AvailabilityStatusesClient) ListPreparer(resourceURI string, filter
|
||||
// ListSender sends the List request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client AvailabilityStatusesClient) 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
|
||||
@@ -317,7 +321,9 @@ func (client AvailabilityStatusesClient) ListByResourceGroupPreparer(resourceGro
|
||||
// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client AvailabilityStatusesClient) 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
|
||||
@@ -458,7 +464,9 @@ func (client AvailabilityStatusesClient) ListBySubscriptionIDPreparer(filter str
|
||||
// ListBySubscriptionIDSender sends the ListBySubscriptionID request. The method will close the
|
||||
// http.Response Body if it receives an error.
|
||||
func (client AvailabilityStatusesClient) ListBySubscriptionIDSender(req *http.Request) (*http.Response, error) {
|
||||
return autorest.SendWithSender(client, req)
|
||||
return autorest.SendWithSender(client,
|
||||
req,
|
||||
azure.DoRetryWithRegistration(client.Client))
|
||||
}
|
||||
|
||||
// ListBySubscriptionIDResponder handles the response to the ListBySubscriptionID request. The method always
|
||||
|
||||
+2
@@ -1,6 +1,8 @@
|
||||
// Package resourcehealth implements the Azure ARM Resourcehealth service API version 2017-07-01.
|
||||
//
|
||||
// The Resource Health Client.
|
||||
//
|
||||
// Deprecated: Please instead use github.com/Azure/azure-sdk-for-go/services/resourcehealth/mgmt/2017-07-01/resourcehealth
|
||||
package resourcehealth
|
||||
|
||||
// Copyright (c) Microsoft and contributors. All rights reserved.
|
||||
|
||||
+19
-19
@@ -56,6 +56,25 @@ type AvailabilityStatus struct {
|
||||
Properties *AvailabilityStatusProperties `json:"properties,omitempty"`
|
||||
}
|
||||
|
||||
// AvailabilityStatusListResult is the List availabilityStatus operation response.
|
||||
type AvailabilityStatusListResult struct {
|
||||
autorest.Response `json:"-"`
|
||||
Value *[]AvailabilityStatus `json:"value,omitempty"`
|
||||
NextLink *string `json:"nextLink,omitempty"`
|
||||
}
|
||||
|
||||
// AvailabilityStatusListResultPreparer prepares a request to retrieve the next set of results. It returns
|
||||
// nil if no more results exist.
|
||||
func (client AvailabilityStatusListResult) AvailabilityStatusListResultPreparer() (*http.Request, error) {
|
||||
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
|
||||
return nil, nil
|
||||
}
|
||||
return autorest.Prepare(&http.Request{},
|
||||
autorest.AsJSON(),
|
||||
autorest.AsGet(),
|
||||
autorest.WithBaseURL(to.String(client.NextLink)))
|
||||
}
|
||||
|
||||
// AvailabilityStatusProperties is properties of availability state.
|
||||
type AvailabilityStatusProperties struct {
|
||||
AvailabilityState AvailabilityStateValues `json:"availabilityState,omitempty"`
|
||||
@@ -84,25 +103,6 @@ type AvailabilityStatusPropertiesRecentlyResolvedState struct {
|
||||
UnavailabilitySummary *string `json:"unavailabilitySummary,omitempty"`
|
||||
}
|
||||
|
||||
// AvailabilityStatusListResult is the List availabilityStatus operation response.
|
||||
type AvailabilityStatusListResult struct {
|
||||
autorest.Response `json:"-"`
|
||||
Value *[]AvailabilityStatus `json:"value,omitempty"`
|
||||
NextLink *string `json:"nextLink,omitempty"`
|
||||
}
|
||||
|
||||
// AvailabilityStatusListResultPreparer prepares a request to retrieve the next set of results. It returns
|
||||
// nil if no more results exist.
|
||||
func (client AvailabilityStatusListResult) AvailabilityStatusListResultPreparer() (*http.Request, error) {
|
||||
if client.NextLink == nil || len(to.String(client.NextLink)) <= 0 {
|
||||
return nil, nil
|
||||
}
|
||||
return autorest.Prepare(&http.Request{},
|
||||
autorest.AsJSON(),
|
||||
autorest.AsGet(),
|
||||
autorest.WithBaseURL(to.String(client.NextLink)))
|
||||
}
|
||||
|
||||
// ErrorResponse is error details.
|
||||
type ErrorResponse struct {
|
||||
Code *string `json:"code,omitempty"`
|
||||
|
||||
+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
|
||||
|
||||
+2
-2
@@ -19,10 +19,10 @@ package resourcehealth
|
||||
|
||||
// UserAgent returns the UserAgent string to use when sending http.Requests.
|
||||
func UserAgent() string {
|
||||
return "Azure-SDK-For-Go/v11.0.0-beta arm-resourcehealth/2017-07-01"
|
||||
return "Azure-SDK-For-Go/v12.2.0-beta arm-resourcehealth/2017-07-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