vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood
2017-09-30 15:27:27 +01:00
parent 911d121bb9
commit b017fcfe9a
3048 changed files with 537055 additions and 189679 deletions
+23 -35
View File
@@ -14,19 +14,17 @@ package search
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
import (
"github.com/Azure/go-autorest/autorest"
"github.com/Azure/go-autorest/autorest/azure"
"github.com/satori/uuid"
uuid "github.com/satori/go.uuid"
"net/http"
)
// QueryKeysClient is the client that can be used to manage Azure Search
// services and API keys.
// QueryKeysClient is the client that can be used to manage Azure Search services and API keys.
type QueryKeysClient struct {
ManagementClient
}
@@ -36,22 +34,18 @@ func NewQueryKeysClient(subscriptionID string) QueryKeysClient {
return NewQueryKeysClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
// NewQueryKeysClientWithBaseURI creates an instance of the QueryKeysClient
// client.
// NewQueryKeysClientWithBaseURI creates an instance of the QueryKeysClient client.
func NewQueryKeysClientWithBaseURI(baseURI string, subscriptionID string) QueryKeysClient {
return QueryKeysClient{NewWithBaseURI(baseURI, subscriptionID)}
}
// Create generates a new query key for the specified Search service. You can
// create up to 50 query keys per service.
// Create generates a new query key for the specified Search service. You can create up to 50 query keys per service.
//
// resourceGroupName is the name of the resource group within the current
// subscription. You can obtain this value from the Azure Resource Manager API
// or the portal. searchServiceName is the name of the Azure Search service
// associated with the specified resource group. name is the name of the new
// query API key. clientRequestID is a client-generated GUID value that
// identifies this request. If specified, this will be included in response
// information as a way to track the request.
// resourceGroupName is the name of the resource group within the current subscription. You can obtain this value from
// the Azure Resource Manager API or the portal. searchServiceName is the name of the Azure Search service associated
// with the specified resource group. name is the name of the new query API key. clientRequestID is a client-generated
// GUID value that identifies this request. If specified, this will be included in response information as a way to
// track the request.
func (client QueryKeysClient) Create(resourceGroupName string, searchServiceName string, name string, clientRequestID *uuid.UUID) (result QueryKey, err error) {
req, err := client.CreatePreparer(resourceGroupName, searchServiceName, name, clientRequestID)
if err != nil {
@@ -119,17 +113,14 @@ func (client QueryKeysClient) CreateResponder(resp *http.Response) (result Query
return
}
// Delete deletes the specified query key. Unlike admin keys, query keys are
// not regenerated. The process for regenerating a query key is to delete and
// then recreate it.
// Delete deletes the specified query key. Unlike admin keys, query keys are not regenerated. The process for
// regenerating a query key is to delete and then recreate it.
//
// resourceGroupName is the name of the resource group within the current
// subscription. You can obtain this value from the Azure Resource Manager API
// or the portal. searchServiceName is the name of the Azure Search service
// associated with the specified resource group. key is the query key to be
// deleted. Query keys are identified by value, not by name. clientRequestID is
// a client-generated GUID value that identifies this request. If specified,
// this will be included in response information as a way to track the request.
// resourceGroupName is the name of the resource group within the current subscription. You can obtain this value from
// the Azure Resource Manager API or the portal. searchServiceName is the name of the Azure Search service associated
// with the specified resource group. key is the query key to be deleted. Query keys are identified by value, not by
// name. clientRequestID is a client-generated GUID value that identifies this request. If specified, this will be
// included in response information as a way to track the request.
func (client QueryKeysClient) Delete(resourceGroupName string, searchServiceName string, key string, clientRequestID *uuid.UUID) (result autorest.Response, err error) {
req, err := client.DeletePreparer(resourceGroupName, searchServiceName, key, clientRequestID)
if err != nil {
@@ -196,15 +187,12 @@ func (client QueryKeysClient) DeleteResponder(resp *http.Response) (result autor
return
}
// ListBySearchService returns the list of query API keys for the given Azure
// Search service.
// ListBySearchService returns the list of query API keys for the given Azure Search service.
//
// resourceGroupName is the name of the resource group within the current
// subscription. You can obtain this value from the Azure Resource Manager API
// or the portal. searchServiceName is the name of the Azure Search service
// associated with the specified resource group. clientRequestID is a
// client-generated GUID value that identifies this request. If specified, this
// will be included in response information as a way to track the request.
// resourceGroupName is the name of the resource group within the current subscription. You can obtain this value from
// the Azure Resource Manager API or the portal. searchServiceName is the name of the Azure Search service associated
// with the specified resource group. clientRequestID is a client-generated GUID value that identifies this request. If
// specified, this will be included in response information as a way to track the request.
func (client QueryKeysClient) ListBySearchService(resourceGroupName string, searchServiceName string, clientRequestID *uuid.UUID) (result ListQueryKeysResult, err error) {
req, err := client.ListBySearchServicePreparer(resourceGroupName, searchServiceName, clientRequestID)
if err != nil {