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
+16 -26
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"
)
// AdminKeysClient is the client that can be used to manage Azure Search
// services and API keys.
// AdminKeysClient is the client that can be used to manage Azure Search services and API keys.
type AdminKeysClient struct {
ManagementClient
}
@@ -36,21 +34,17 @@ func NewAdminKeysClient(subscriptionID string) AdminKeysClient {
return NewAdminKeysClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
// NewAdminKeysClientWithBaseURI creates an instance of the AdminKeysClient
// client.
// NewAdminKeysClientWithBaseURI creates an instance of the AdminKeysClient client.
func NewAdminKeysClientWithBaseURI(baseURI string, subscriptionID string) AdminKeysClient {
return AdminKeysClient{NewWithBaseURI(baseURI, subscriptionID)}
}
// Get gets the primary and secondary admin API keys for the specified Azure
// Search service.
// Get gets the primary and secondary admin API keys for the specified 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 AdminKeysClient) Get(resourceGroupName string, searchServiceName string, clientRequestID *uuid.UUID) (result AdminKeyResult, err error) {
req, err := client.GetPreparer(resourceGroupName, searchServiceName, clientRequestID)
if err != nil {
@@ -117,17 +111,13 @@ func (client AdminKeysClient) GetResponder(resp *http.Response) (result AdminKey
return
}
// Regenerate regenerates either the primary or secondary admin API key. You
// can only regenerate one key at a time.
// Regenerate regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.
//
// 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. keyKind is specifies which key
// to regenerate. Valid values include 'primary' and 'secondary'.
// 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. keyKind is specifies which key to regenerate. Valid values include 'primary' and
// 'secondary'. 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 AdminKeysClient) Regenerate(resourceGroupName string, searchServiceName string, keyKind AdminKeyKind, clientRequestID *uuid.UUID) (result AdminKeyResult, err error) {
req, err := client.RegeneratePreparer(resourceGroupName, searchServiceName, keyKind, clientRequestID)
if err != nil {