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
+17 -26
View File
@@ -14,9 +14,8 @@ package sql
// 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"
@@ -25,33 +24,28 @@ import (
"net/http"
)
// FirewallRulesClient is the the Azure SQL Database management API provides a
// RESTful set of web services that interact with Azure SQL Database services
// to manage your databases. The API enables you to create, retrieve, update,
// FirewallRulesClient is the the Azure SQL Database management API provides a RESTful set of web services that
// interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update,
// and delete databases.
type FirewallRulesClient struct {
ManagementClient
}
// NewFirewallRulesClient creates an instance of the FirewallRulesClient
// client.
// NewFirewallRulesClient creates an instance of the FirewallRulesClient client.
func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient {
return NewFirewallRulesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
// NewFirewallRulesClientWithBaseURI creates an instance of the
// FirewallRulesClient client.
// NewFirewallRulesClientWithBaseURI creates an instance of the FirewallRulesClient client.
func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) FirewallRulesClient {
return FirewallRulesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
// CreateOrUpdate creates or updates a firewall rule.
//
// resourceGroupName is the name of the resource group that contains the
// resource. You can obtain this value from the Azure Resource Manager API or
// the portal. serverName is the name of the server. firewallRuleName is the
// name of the firewall rule. parameters is the required parameters for
// creating or updating a firewall rule.
// resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the
// Azure Resource Manager API or the portal. serverName is the name of the server. firewallRuleName is the name of the
// firewall rule. parameters is the required parameters for creating or updating a firewall rule.
func (client FirewallRulesClient) CreateOrUpdate(resourceGroupName string, serverName string, firewallRuleName string, parameters FirewallRule) (result FirewallRule, err error) {
if err := validation.Validate([]validation.Validation{
{TargetValue: parameters,
@@ -128,10 +122,9 @@ func (client FirewallRulesClient) CreateOrUpdateResponder(resp *http.Response) (
// Delete deletes a firewall rule.
//
// resourceGroupName is the name of the resource group that contains the
// resource. You can obtain this value from the Azure Resource Manager API or
// the portal. serverName is the name of the server. firewallRuleName is the
// name of the firewall rule.
// resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the
// Azure Resource Manager API or the portal. serverName is the name of the server. firewallRuleName is the name of the
// firewall rule.
func (client FirewallRulesClient) Delete(resourceGroupName string, serverName string, firewallRuleName string) (result autorest.Response, err error) {
req, err := client.DeletePreparer(resourceGroupName, serverName, firewallRuleName)
if err != nil {
@@ -196,10 +189,9 @@ func (client FirewallRulesClient) DeleteResponder(resp *http.Response) (result a
// Get gets a firewall rule.
//
// resourceGroupName is the name of the resource group that contains the
// resource. You can obtain this value from the Azure Resource Manager API or
// the portal. serverName is the name of the server. firewallRuleName is the
// name of the firewall rule.
// resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the
// Azure Resource Manager API or the portal. serverName is the name of the server. firewallRuleName is the name of the
// firewall rule.
func (client FirewallRulesClient) Get(resourceGroupName string, serverName string, firewallRuleName string) (result FirewallRule, err error) {
req, err := client.GetPreparer(resourceGroupName, serverName, firewallRuleName)
if err != nil {
@@ -265,9 +257,8 @@ func (client FirewallRulesClient) GetResponder(resp *http.Response) (result Fire
// ListByServer returns a list of firewall rules.
//
// resourceGroupName is the name of the resource group that contains the
// resource. You can obtain this value from the Azure Resource Manager API or
// the portal. serverName is the name of the server.
// resourceGroupName is the name of the resource group that contains the resource. You can obtain this value from the
// Azure Resource Manager API or the portal. serverName is the name of the server.
func (client FirewallRulesClient) ListByServer(resourceGroupName string, serverName string) (result FirewallRuleListResult, err error) {
req, err := client.ListByServerPreparer(resourceGroupName, serverName)
if err != nil {