From 6d2be9e02c6f77db4796bfbad29a9af75e493253 Mon Sep 17 00:00:00 2001 From: tombuildsstuff Date: Tue, 10 Apr 2018 01:00:47 +0200 Subject: [PATCH] Upgrading to v15.1 of the Azure SDK for Go --- .../mgmt/2017-05-10/resources/models.go | 4 +- .../web/mgmt/2016-09-01/web/models.go | 235 +++++++ .../2016-09-01/web/resourcehealthmetadata.go | 588 ++++++++++++++++++ .../Azure/azure-sdk-for-go/version/version.go | 2 +- vendor/vendor.json | 294 ++++----- 5 files changed, 973 insertions(+), 150 deletions(-) create mode 100644 vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/resourcehealthmetadata.go diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/models.go index fcf231f52dd4..9e3263cf8ddc 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources/models.go @@ -1360,7 +1360,7 @@ type ProviderOperationDisplayProperties struct { Provider *string `json:"provider,omitempty"` // Resource - Operation resource. Resource *string `json:"resource,omitempty"` - // Operation - Operation. + // Operation - The operation name. Operation *string `json:"operation,omitempty"` // Description - Operation description. Description *string `json:"description,omitempty"` @@ -1401,7 +1401,7 @@ func (prt ProviderResourceType) MarshalJSON() ([]byte, error) { return json.Marshal(objectMap) } -// Resource resource. +// Resource basic set of the resource properties. type Resource struct { // ID - Resource ID ID *string `json:"id,omitempty"` diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/models.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/models.go index f92303797b48..b807de3a1208 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/models.go @@ -6878,6 +6878,35 @@ type DataSource struct { DataSourceURI *[]NameValuePair `json:"dataSourceUri,omitempty"` } +// DefaultErrorResponse app Service error response. +type DefaultErrorResponse struct { + // Error - Error model. + Error *DefaultErrorResponseError `json:"error,omitempty"` +} + +// DefaultErrorResponseError error model. +type DefaultErrorResponseError struct { + // Code - Standardized string to programmatically identify the error. + Code *string `json:"code,omitempty"` + // Message - Detailed error description and debugging information. + Message *string `json:"message,omitempty"` + // Target - Detailed error description and debugging information. + Target *string `json:"target,omitempty"` + Details *[]DefaultErrorResponseErrorDetailsItem `json:"details,omitempty"` + // Innererror - More information to debug error. + Innererror *string `json:"innererror,omitempty"` +} + +// DefaultErrorResponseErrorDetailsItem detailed errors. +type DefaultErrorResponseErrorDetailsItem struct { + // Code - Standardized string to programmatically identify the error. + Code *string `json:"code,omitempty"` + // Message - Detailed error description and debugging information. + Message *string `json:"message,omitempty"` + // Target - Detailed error description and debugging information. + Target *string `json:"target,omitempty"` +} + // DeletedSite a deleted app. type DeletedSite struct { // ID - Numeric id for the deleted site @@ -14177,6 +14206,212 @@ func (page ResourceCollectionPage) Values() []string { return *page.rc.Value } +// ResourceHealthMetadata used for getting ResourceHealthCheck settings. +type ResourceHealthMetadata struct { + autorest.Response `json:"-"` + // ResourceHealthMetadataProperties - ResourceHealthMetadata resource specific properties + *ResourceHealthMetadataProperties `json:"properties,omitempty"` + // ID - Resource Id. + ID *string `json:"id,omitempty"` + // Name - Resource Name. + Name *string `json:"name,omitempty"` + // Kind - Kind of resource. + Kind *string `json:"kind,omitempty"` + // Type - Resource type. + Type *string `json:"type,omitempty"` +} + +// MarshalJSON is the custom marshaler for ResourceHealthMetadata. +func (rhm ResourceHealthMetadata) MarshalJSON() ([]byte, error) { + objectMap := make(map[string]interface{}) + if rhm.ResourceHealthMetadataProperties != nil { + objectMap["properties"] = rhm.ResourceHealthMetadataProperties + } + if rhm.ID != nil { + objectMap["id"] = rhm.ID + } + if rhm.Name != nil { + objectMap["name"] = rhm.Name + } + if rhm.Kind != nil { + objectMap["kind"] = rhm.Kind + } + if rhm.Type != nil { + objectMap["type"] = rhm.Type + } + return json.Marshal(objectMap) +} + +// UnmarshalJSON is the custom unmarshaler for ResourceHealthMetadata struct. +func (rhm *ResourceHealthMetadata) UnmarshalJSON(body []byte) error { + var m map[string]*json.RawMessage + err := json.Unmarshal(body, &m) + if err != nil { + return err + } + for k, v := range m { + switch k { + case "properties": + if v != nil { + var resourceHealthMetadataProperties ResourceHealthMetadataProperties + err = json.Unmarshal(*v, &resourceHealthMetadataProperties) + if err != nil { + return err + } + rhm.ResourceHealthMetadataProperties = &resourceHealthMetadataProperties + } + case "id": + if v != nil { + var ID string + err = json.Unmarshal(*v, &ID) + if err != nil { + return err + } + rhm.ID = &ID + } + case "name": + if v != nil { + var name string + err = json.Unmarshal(*v, &name) + if err != nil { + return err + } + rhm.Name = &name + } + case "kind": + if v != nil { + var kind string + err = json.Unmarshal(*v, &kind) + if err != nil { + return err + } + rhm.Kind = &kind + } + case "type": + if v != nil { + var typeVar string + err = json.Unmarshal(*v, &typeVar) + if err != nil { + return err + } + rhm.Type = &typeVar + } + } + } + + return nil +} + +// ResourceHealthMetadataCollection collection of resource health metadata. +type ResourceHealthMetadataCollection struct { + autorest.Response `json:"-"` + // Value - Collection of resources. + Value *[]ResourceHealthMetadata `json:"value,omitempty"` + // NextLink - Link to next page of resources. + NextLink *string `json:"nextLink,omitempty"` +} + +// ResourceHealthMetadataCollectionIterator provides access to a complete listing of ResourceHealthMetadata values. +type ResourceHealthMetadataCollectionIterator struct { + i int + page ResourceHealthMetadataCollectionPage +} + +// Next advances to the next value. If there was an error making +// the request the iterator does not advance and the error is returned. +func (iter *ResourceHealthMetadataCollectionIterator) Next() error { + iter.i++ + if iter.i < len(iter.page.Values()) { + return nil + } + err := iter.page.Next() + if err != nil { + iter.i-- + return err + } + iter.i = 0 + return nil +} + +// NotDone returns true if the enumeration should be started or is not yet complete. +func (iter ResourceHealthMetadataCollectionIterator) NotDone() bool { + return iter.page.NotDone() && iter.i < len(iter.page.Values()) +} + +// Response returns the raw server response from the last page request. +func (iter ResourceHealthMetadataCollectionIterator) Response() ResourceHealthMetadataCollection { + return iter.page.Response() +} + +// Value returns the current value or a zero-initialized value if the +// iterator has advanced beyond the end of the collection. +func (iter ResourceHealthMetadataCollectionIterator) Value() ResourceHealthMetadata { + if !iter.page.NotDone() { + return ResourceHealthMetadata{} + } + return iter.page.Values()[iter.i] +} + +// IsEmpty returns true if the ListResult contains no values. +func (rhmc ResourceHealthMetadataCollection) IsEmpty() bool { + return rhmc.Value == nil || len(*rhmc.Value) == 0 +} + +// resourceHealthMetadataCollectionPreparer prepares a request to retrieve the next set of results. +// It returns nil if no more results exist. +func (rhmc ResourceHealthMetadataCollection) resourceHealthMetadataCollectionPreparer() (*http.Request, error) { + if rhmc.NextLink == nil || len(to.String(rhmc.NextLink)) < 1 { + return nil, nil + } + return autorest.Prepare(&http.Request{}, + autorest.AsJSON(), + autorest.AsGet(), + autorest.WithBaseURL(to.String(rhmc.NextLink))) +} + +// ResourceHealthMetadataCollectionPage contains a page of ResourceHealthMetadata values. +type ResourceHealthMetadataCollectionPage struct { + fn func(ResourceHealthMetadataCollection) (ResourceHealthMetadataCollection, error) + rhmc ResourceHealthMetadataCollection +} + +// Next advances to the next page of values. If there was an error making +// the request the page does not advance and the error is returned. +func (page *ResourceHealthMetadataCollectionPage) Next() error { + next, err := page.fn(page.rhmc) + if err != nil { + return err + } + page.rhmc = next + return nil +} + +// NotDone returns true if the page enumeration should be started or is not yet complete. +func (page ResourceHealthMetadataCollectionPage) NotDone() bool { + return !page.rhmc.IsEmpty() +} + +// Response returns the raw server response from the last page request. +func (page ResourceHealthMetadataCollectionPage) Response() ResourceHealthMetadataCollection { + return page.rhmc +} + +// Values returns the slice of values for the current page or nil if there are no values. +func (page ResourceHealthMetadataCollectionPage) Values() []ResourceHealthMetadata { + if page.rhmc.IsEmpty() { + return nil + } + return *page.rhmc.Value +} + +// ResourceHealthMetadataProperties resourceHealthMetadata resource specific properties +type ResourceHealthMetadataProperties struct { + // Category - The category that the resource matches in the RHC Policy File + Category *string `json:"category,omitempty"` + // SignalAvailability - Is there a health signal for the resource + SignalAvailability *bool `json:"signalAvailability,omitempty"` +} + // ResourceMetric object representing a metric for any resource . type ResourceMetric struct { // Name - Name of metric. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/resourcehealthmetadata.go b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/resourcehealthmetadata.go new file mode 100644 index 000000000000..c930970814da --- /dev/null +++ b/vendor/github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/resourcehealthmetadata.go @@ -0,0 +1,588 @@ +package web + +// Copyright (c) Microsoft and contributors. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// +// See the License for the specific language governing permissions and +// limitations under the License. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +import ( + "context" + "github.com/Azure/go-autorest/autorest" + "github.com/Azure/go-autorest/autorest/azure" + "github.com/Azure/go-autorest/autorest/validation" + "net/http" +) + +// ResourceHealthMetadataClient is the webSite Management Client +type ResourceHealthMetadataClient struct { + BaseClient +} + +// NewResourceHealthMetadataClient creates an instance of the ResourceHealthMetadataClient client. +func NewResourceHealthMetadataClient(subscriptionID string) ResourceHealthMetadataClient { + return NewResourceHealthMetadataClientWithBaseURI(DefaultBaseURI, subscriptionID) +} + +// NewResourceHealthMetadataClientWithBaseURI creates an instance of the ResourceHealthMetadataClient client. +func NewResourceHealthMetadataClientWithBaseURI(baseURI string, subscriptionID string) ResourceHealthMetadataClient { + return ResourceHealthMetadataClient{NewWithBaseURI(baseURI, subscriptionID)} +} + +// GetBySite gets the category of ResourceHealthMetadata to use for the given site +// +// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app +func (client ResourceHealthMetadataClient) GetBySite(ctx context.Context, resourceGroupName string, name string) (result ResourceHealthMetadata, err error) { + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+[^\.]$`, Chain: nil}}}}); err != nil { + return result, validation.NewError("web.ResourceHealthMetadataClient", "GetBySite", err.Error()) + } + + req, err := client.GetBySitePreparer(ctx, resourceGroupName, name) + if err != nil { + err = autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "GetBySite", nil, "Failure preparing request") + return + } + + resp, err := client.GetBySiteSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "GetBySite", resp, "Failure sending request") + return + } + + result, err = client.GetBySiteResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "GetBySite", resp, "Failure responding to request") + } + + return +} + +// GetBySitePreparer prepares the GetBySite request. +func (client ResourceHealthMetadataClient) GetBySitePreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "name": autorest.Encode("path", name), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2016-03-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata/default", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// GetBySiteSender sends the GetBySite request. The method will close the +// http.Response Body if it receives an error. +func (client ResourceHealthMetadataClient) GetBySiteSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// GetBySiteResponder handles the response to the GetBySite request. The method always +// closes the http.Response Body. +func (client ResourceHealthMetadataClient) GetBySiteResponder(resp *http.Response) (result ResourceHealthMetadata, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// GetBySiteSlot gets the category of ResourceHealthMetadata to use for the given site +// +// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app slot is +// name of web app slot. If not specified then will default to production slot. +func (client ResourceHealthMetadataClient) GetBySiteSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result ResourceHealthMetadata, err error) { + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+[^\.]$`, Chain: nil}}}}); err != nil { + return result, validation.NewError("web.ResourceHealthMetadataClient", "GetBySiteSlot", err.Error()) + } + + req, err := client.GetBySiteSlotPreparer(ctx, resourceGroupName, name, slot) + if err != nil { + err = autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "GetBySiteSlot", nil, "Failure preparing request") + return + } + + resp, err := client.GetBySiteSlotSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "GetBySiteSlot", resp, "Failure sending request") + return + } + + result, err = client.GetBySiteSlotResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "GetBySiteSlot", resp, "Failure responding to request") + } + + return +} + +// GetBySiteSlotPreparer prepares the GetBySiteSlot request. +func (client ResourceHealthMetadataClient) GetBySiteSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "name": autorest.Encode("path", name), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "slot": autorest.Encode("path", slot), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2016-03-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata/default", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// GetBySiteSlotSender sends the GetBySiteSlot request. The method will close the +// http.Response Body if it receives an error. +func (client ResourceHealthMetadataClient) GetBySiteSlotSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// GetBySiteSlotResponder handles the response to the GetBySiteSlot request. The method always +// closes the http.Response Body. +func (client ResourceHealthMetadataClient) GetBySiteSlotResponder(resp *http.Response) (result ResourceHealthMetadata, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// List list all ResourceHealthMetadata for all sites in the subscription. +func (client ResourceHealthMetadataClient) List(ctx context.Context) (result ResourceHealthMetadataCollectionPage, err error) { + result.fn = client.listNextResults + req, err := client.ListPreparer(ctx) + if err != nil { + err = autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "List", nil, "Failure preparing request") + return + } + + resp, err := client.ListSender(req) + if err != nil { + result.rhmc.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "List", resp, "Failure sending request") + return + } + + result.rhmc, err = client.ListResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "List", resp, "Failure responding to request") + } + + return +} + +// ListPreparer prepares the List request. +func (client ResourceHealthMetadataClient) ListPreparer(ctx context.Context) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2016-03-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Web/resourceHealthMetadata", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// ListSender sends the List request. The method will close the +// http.Response Body if it receives an error. +func (client ResourceHealthMetadataClient) ListSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// ListResponder handles the response to the List request. The method always +// closes the http.Response Body. +func (client ResourceHealthMetadataClient) ListResponder(resp *http.Response) (result ResourceHealthMetadataCollection, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// listNextResults retrieves the next set of results, if any. +func (client ResourceHealthMetadataClient) listNextResults(lastResults ResourceHealthMetadataCollection) (result ResourceHealthMetadataCollection, err error) { + req, err := lastResults.resourceHealthMetadataCollectionPreparer() + if err != nil { + return result, autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "listNextResults", nil, "Failure preparing next results request") + } + if req == nil { + return + } + resp, err := client.ListSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + return result, autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "listNextResults", resp, "Failure sending next results request") + } + result, err = client.ListResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "listNextResults", resp, "Failure responding to next results request") + } + return +} + +// ListComplete enumerates all values, automatically crossing page boundaries as required. +func (client ResourceHealthMetadataClient) ListComplete(ctx context.Context) (result ResourceHealthMetadataCollectionIterator, err error) { + result.page, err = client.List(ctx) + return +} + +// ListByResourceGroup list all ResourceHealthMetadata for all sites in the resource group in the subscription. +// +// resourceGroupName is name of the resource group to which the resource belongs. +func (client ResourceHealthMetadataClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ResourceHealthMetadataCollectionPage, err error) { + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+[^\.]$`, Chain: nil}}}}); err != nil { + return result, validation.NewError("web.ResourceHealthMetadataClient", "ListByResourceGroup", err.Error()) + } + + result.fn = client.listByResourceGroupNextResults + req, err := client.ListByResourceGroupPreparer(ctx, resourceGroupName) + if err != nil { + err = autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "ListByResourceGroup", nil, "Failure preparing request") + return + } + + resp, err := client.ListByResourceGroupSender(req) + if err != nil { + result.rhmc.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "ListByResourceGroup", resp, "Failure sending request") + return + } + + result.rhmc, err = client.ListByResourceGroupResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "ListByResourceGroup", resp, "Failure responding to request") + } + + return +} + +// ListByResourceGroupPreparer prepares the ListByResourceGroup request. +func (client ResourceHealthMetadataClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2016-03-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/resourceHealthMetadata", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the +// http.Response Body if it receives an error. +func (client ResourceHealthMetadataClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always +// closes the http.Response Body. +func (client ResourceHealthMetadataClient) ListByResourceGroupResponder(resp *http.Response) (result ResourceHealthMetadataCollection, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// listByResourceGroupNextResults retrieves the next set of results, if any. +func (client ResourceHealthMetadataClient) listByResourceGroupNextResults(lastResults ResourceHealthMetadataCollection) (result ResourceHealthMetadataCollection, err error) { + req, err := lastResults.resourceHealthMetadataCollectionPreparer() + if err != nil { + return result, autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "listByResourceGroupNextResults", nil, "Failure preparing next results request") + } + if req == nil { + return + } + resp, err := client.ListByResourceGroupSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + return result, autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "listByResourceGroupNextResults", resp, "Failure sending next results request") + } + result, err = client.ListByResourceGroupResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "listByResourceGroupNextResults", resp, "Failure responding to next results request") + } + return +} + +// ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required. +func (client ResourceHealthMetadataClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ResourceHealthMetadataCollectionIterator, err error) { + result.page, err = client.ListByResourceGroup(ctx, resourceGroupName) + return +} + +// ListBySite gets the category of ResourceHealthMetadata to use for the given site as a collection +// +// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. +func (client ResourceHealthMetadataClient) ListBySite(ctx context.Context, resourceGroupName string, name string) (result ResourceHealthMetadataCollectionPage, err error) { + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+[^\.]$`, Chain: nil}}}}); err != nil { + return result, validation.NewError("web.ResourceHealthMetadataClient", "ListBySite", err.Error()) + } + + result.fn = client.listBySiteNextResults + req, err := client.ListBySitePreparer(ctx, resourceGroupName, name) + if err != nil { + err = autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "ListBySite", nil, "Failure preparing request") + return + } + + resp, err := client.ListBySiteSender(req) + if err != nil { + result.rhmc.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "ListBySite", resp, "Failure sending request") + return + } + + result.rhmc, err = client.ListBySiteResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "ListBySite", resp, "Failure responding to request") + } + + return +} + +// ListBySitePreparer prepares the ListBySite request. +func (client ResourceHealthMetadataClient) ListBySitePreparer(ctx context.Context, resourceGroupName string, name string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "name": autorest.Encode("path", name), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2016-03-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// ListBySiteSender sends the ListBySite request. The method will close the +// http.Response Body if it receives an error. +func (client ResourceHealthMetadataClient) ListBySiteSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// ListBySiteResponder handles the response to the ListBySite request. The method always +// closes the http.Response Body. +func (client ResourceHealthMetadataClient) ListBySiteResponder(resp *http.Response) (result ResourceHealthMetadataCollection, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// listBySiteNextResults retrieves the next set of results, if any. +func (client ResourceHealthMetadataClient) listBySiteNextResults(lastResults ResourceHealthMetadataCollection) (result ResourceHealthMetadataCollection, err error) { + req, err := lastResults.resourceHealthMetadataCollectionPreparer() + if err != nil { + return result, autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "listBySiteNextResults", nil, "Failure preparing next results request") + } + if req == nil { + return + } + resp, err := client.ListBySiteSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + return result, autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "listBySiteNextResults", resp, "Failure sending next results request") + } + result, err = client.ListBySiteResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "listBySiteNextResults", resp, "Failure responding to next results request") + } + return +} + +// ListBySiteComplete enumerates all values, automatically crossing page boundaries as required. +func (client ResourceHealthMetadataClient) ListBySiteComplete(ctx context.Context, resourceGroupName string, name string) (result ResourceHealthMetadataCollectionIterator, err error) { + result.page, err = client.ListBySite(ctx, resourceGroupName, name) + return +} + +// ListBySiteSlot gets the category of ResourceHealthMetadata to use for the given site as a collection +// +// resourceGroupName is name of the resource group to which the resource belongs. name is name of web app. slot is +// name of web app slot. If not specified then will default to production slot. +func (client ResourceHealthMetadataClient) ListBySiteSlot(ctx context.Context, resourceGroupName string, name string, slot string) (result ResourceHealthMetadataCollectionPage, err error) { + if err := validation.Validate([]validation.Validation{ + {TargetValue: resourceGroupName, + Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, + {Target: "resourceGroupName", Name: validation.MinLength, Rule: 1, Chain: nil}, + {Target: "resourceGroupName", Name: validation.Pattern, Rule: `^[-\w\._\(\)]+[^\.]$`, Chain: nil}}}}); err != nil { + return result, validation.NewError("web.ResourceHealthMetadataClient", "ListBySiteSlot", err.Error()) + } + + result.fn = client.listBySiteSlotNextResults + req, err := client.ListBySiteSlotPreparer(ctx, resourceGroupName, name, slot) + if err != nil { + err = autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "ListBySiteSlot", nil, "Failure preparing request") + return + } + + resp, err := client.ListBySiteSlotSender(req) + if err != nil { + result.rhmc.Response = autorest.Response{Response: resp} + err = autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "ListBySiteSlot", resp, "Failure sending request") + return + } + + result.rhmc, err = client.ListBySiteSlotResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "ListBySiteSlot", resp, "Failure responding to request") + } + + return +} + +// ListBySiteSlotPreparer prepares the ListBySiteSlot request. +func (client ResourceHealthMetadataClient) ListBySiteSlotPreparer(ctx context.Context, resourceGroupName string, name string, slot string) (*http.Request, error) { + pathParameters := map[string]interface{}{ + "name": autorest.Encode("path", name), + "resourceGroupName": autorest.Encode("path", resourceGroupName), + "slot": autorest.Encode("path", slot), + "subscriptionId": autorest.Encode("path", client.SubscriptionID), + } + + const APIVersion = "2016-03-01" + queryParameters := map[string]interface{}{ + "api-version": APIVersion, + } + + preparer := autorest.CreatePreparer( + autorest.AsGet(), + autorest.WithBaseURL(client.BaseURI), + autorest.WithPathParameters("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata", pathParameters), + autorest.WithQueryParameters(queryParameters)) + return preparer.Prepare((&http.Request{}).WithContext(ctx)) +} + +// ListBySiteSlotSender sends the ListBySiteSlot request. The method will close the +// http.Response Body if it receives an error. +func (client ResourceHealthMetadataClient) ListBySiteSlotSender(req *http.Request) (*http.Response, error) { + return autorest.SendWithSender(client, req, + azure.DoRetryWithRegistration(client.Client)) +} + +// ListBySiteSlotResponder handles the response to the ListBySiteSlot request. The method always +// closes the http.Response Body. +func (client ResourceHealthMetadataClient) ListBySiteSlotResponder(resp *http.Response) (result ResourceHealthMetadataCollection, err error) { + err = autorest.Respond( + resp, + client.ByInspecting(), + azure.WithErrorUnlessStatusCode(http.StatusOK), + autorest.ByUnmarshallingJSON(&result), + autorest.ByClosing()) + result.Response = autorest.Response{Response: resp} + return +} + +// listBySiteSlotNextResults retrieves the next set of results, if any. +func (client ResourceHealthMetadataClient) listBySiteSlotNextResults(lastResults ResourceHealthMetadataCollection) (result ResourceHealthMetadataCollection, err error) { + req, err := lastResults.resourceHealthMetadataCollectionPreparer() + if err != nil { + return result, autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "listBySiteSlotNextResults", nil, "Failure preparing next results request") + } + if req == nil { + return + } + resp, err := client.ListBySiteSlotSender(req) + if err != nil { + result.Response = autorest.Response{Response: resp} + return result, autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "listBySiteSlotNextResults", resp, "Failure sending next results request") + } + result, err = client.ListBySiteSlotResponder(resp) + if err != nil { + err = autorest.NewErrorWithError(err, "web.ResourceHealthMetadataClient", "listBySiteSlotNextResults", resp, "Failure responding to next results request") + } + return +} + +// ListBySiteSlotComplete enumerates all values, automatically crossing page boundaries as required. +func (client ResourceHealthMetadataClient) ListBySiteSlotComplete(ctx context.Context, resourceGroupName string, name string, slot string) (result ResourceHealthMetadataCollectionIterator, err error) { + result.page, err = client.ListBySiteSlot(ctx, resourceGroupName, name, slot) + return +} diff --git a/vendor/github.com/Azure/azure-sdk-for-go/version/version.go b/vendor/github.com/Azure/azure-sdk-for-go/version/version.go index 2cd4c1b1ff70..e03d8ff36795 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/version/version.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/version/version.go @@ -18,4 +18,4 @@ package version // Changes may cause incorrect behavior and will be lost if the code is regenerated. // Number contains the semantic version of this SDK. -const Number = "v15.0.1" +const Number = "v15.1.0" diff --git a/vendor/vendor.json b/vendor/vendor.json index 762786086086..9478e2ad4500 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -5,290 +5,290 @@ { "checksumSHA1": "he/VGR6IgJ8CxXoYBmgFvTKRAtE=", "path": "github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "uxqhpe2KAMLaOJ4UJZbNW85/DRQ=", "path": "github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "9z+AoEc7nQeXjTmnPnvG4m2e+SA=", "path": "github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "9zEuoQJZTVs2pUTQQOVwSL9KDvo=", "path": "github.com/Azure/azure-sdk-for-go/services/cdn/mgmt/2017-04-02/cdn", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "kM2PZfGUZRmE9wFeHAFjHFPepzk=", "path": "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2017-12-01/compute", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "ufJjnUN3IoNaycDXS3irWPADAvQ=", "path": "github.com/Azure/azure-sdk-for-go/services/containerinstance/mgmt/2018-02-01-preview/containerinstance", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "7t0VrdSexJ3Fkft4qx6Y7i+XUag=", "path": "github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-10-01/containerregistry", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "CFz0XzK5dml6LU9NwZmQf7rGiCg=", "path": "github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2017-09-30/containerservice", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "vqgxILYG9Q90LilSHK37e3TMJlU=", "path": "github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "Jic4NwZdIHPlBvO6KwQH8WWOYbM=", "path": "github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2016-04-01/dns", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "Nzv5lOussmqZ2h3i9/H2LmJWJBA=", "path": "github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2017-09-15-preview/eventgrid", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "7ZlPzptP9bH3HHJdYsPD+1CH0fA=", "path": "github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "ZjMfE/TWv/Xqzwu+tw4y72uY/bc=", "path": "github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "0kRLbd9dmqjHMNHLDoiIQTv5Vdc=", "path": "github.com/Azure/azure-sdk-for-go/services/iothub/mgmt/2017-07-01/devices", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "AxqtZ/9WzUGzJlHROXKrxwe2fS8=", "path": "github.com/Azure/azure-sdk-for-go/services/keyvault/2016-10-01/keyvault", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "XxIQmqFCsZoiHnyzJ/5aVMM11B0=", "path": "github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2016-10-01/keyvault", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "QW7MPOpXOPihcLyyLXIBXNmSR8Q=", "path": "github.com/Azure/azure-sdk-for-go/services/monitor/mgmt/2017-05-01-preview/insights", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "l5LiS1E96VhqOILV/TKh37eYbeg=", "path": "github.com/Azure/azure-sdk-for-go/services/mysql/mgmt/2017-04-30-preview/mysql", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "xRIUSsPljkKhI6zvql/7bGJiUAU=", "path": "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "FKVggufINs+t2nWOsbnZo7bi+hw=", "path": "github.com/Azure/azure-sdk-for-go/services/operationalinsights/mgmt/2015-11-01-preview/operationalinsights", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "ThSWR8EWt3+Klt7DG4HANzmxhEQ=", "path": "github.com/Azure/azure-sdk-for-go/services/operationsmanagement/mgmt/2015-11-01-preview/operationsmanagement", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "d0AbZFEWBxTD9kTLApajDviAra8=", "path": "github.com/Azure/azure-sdk-for-go/services/postgresql/mgmt/2017-04-30-preview/postgresql", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "0RWJdclCgo0gzJQVKXqcz6SxMkI=", "path": "github.com/Azure/azure-sdk-for-go/services/redis/mgmt/2016-04-01/redis", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "woz67BK+/NdoZm4GzVYnJwzl61A=", "path": "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-06-01/subscriptions", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "Dn2rizAeld0NpL5Oj920eiMwL2o=", "path": "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/locks", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "F8O+DFqLL3C7QCG43si9N3NleHQ=", "path": "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-12-01/policy", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { - "checksumSHA1": "dMmQhV6QYDKOHKHQYv+mJeBExjU=", + "checksumSHA1": "Cm1d0n9h/87EA43VSuPazm7lmgA=", "path": "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2017-05-10/resources", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "KnpIP9m1vO3qKIgEaTH/tzdCQsY=", "path": "github.com/Azure/azure-sdk-for-go/services/scheduler/mgmt/2016-03-01/scheduler", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "bmOcu7B6nT4ubNAFcs4DLWmBAIo=", "path": "github.com/Azure/azure-sdk-for-go/services/search/mgmt/2015-08-19/search", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "O7UKTV+UsCZnvYLzZMLaxS9N5Jk=", "path": "github.com/Azure/azure-sdk-for-go/services/servicebus/mgmt/2017-04-01/servicebus", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "lrA+cOUwjF47b1it8r93jaw6MSE=", "path": "github.com/Azure/azure-sdk-for-go/services/sql/mgmt/2015-05-01-preview/sql", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "g9eP5AgV9yXRkY36M8h7aDW9oi8=", "path": "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2017-10-01/storage", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "f9IwwrByqa3ypvYApuuZD5rIMvE=", "path": "github.com/Azure/azure-sdk-for-go/services/trafficmanager/mgmt/2017-05-01/trafficmanager", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { - "checksumSHA1": "7OuPXkxF0oxJ1hHKZHps7Tw3E1g=", + "checksumSHA1": "kX5YZ4u08mQ44HEJVjjDOdfbNqI=", "path": "github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "3N5Et8QnWsHJYN+v/0J/VSQUkJ0=", "path": "github.com/Azure/azure-sdk-for-go/storage", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { - "checksumSHA1": "6NZBcXt5B7IEjqooKyhPswStsis=", + "checksumSHA1": "Gp9PjNDzkHRrBqQ4iSH0UcQlNMU=", "path": "github.com/Azure/azure-sdk-for-go/version", - "revision": "068ec4d616be5b2175509bf1fb3e4c8ea160d5c8", - "revisionTime": "2018-04-05T22:23:54Z", - "version": "v15.0.1", - "versionExact": "v15.0.1" + "revision": "0b745831a99da5f43aa3cc641cfcb9ed323e1f9f", + "revisionTime": "2018-04-09T17:42:04Z", + "version": "v15.1.0", + "versionExact": "v15.1.0" }, { "checksumSHA1": "yWr3Vmf8wvJYTg+UR3zOjd9Kq3g=",