Update vendored dependencies
This includes github.com/kurin/blazer 0.2.0, which resolves #1291
This commit is contained in:
parent
ba23d24dd1
commit
61cb1cc6f8
1044 changed files with 203022 additions and 97709 deletions
43
vendor/github.com/Azure/azure-sdk-for-go/arm/sql/firewallrules.go
generated
vendored
43
vendor/github.com/Azure/azure-sdk-for-go/arm/sql/firewallrules.go
generated
vendored
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue