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
@@ -14,9 +14,8 @@ package recoveryservicesbackup
// 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"
@@ -24,32 +23,26 @@ import (
"net/http"
)
// ProtectionPoliciesClient is the client for the ProtectionPolicies methods of
// the Recoveryservicesbackup service.
// ProtectionPoliciesClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
type ProtectionPoliciesClient struct {
ManagementClient
}
// NewProtectionPoliciesClient creates an instance of the
// ProtectionPoliciesClient client.
// NewProtectionPoliciesClient creates an instance of the ProtectionPoliciesClient client.
func NewProtectionPoliciesClient(subscriptionID string) ProtectionPoliciesClient {
return NewProtectionPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID)
}
// NewProtectionPoliciesClientWithBaseURI creates an instance of the
// ProtectionPoliciesClient client.
// NewProtectionPoliciesClientWithBaseURI creates an instance of the ProtectionPoliciesClient client.
func NewProtectionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ProtectionPoliciesClient {
return ProtectionPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)}
}
// CreateOrUpdate creates or modifies a backup policy. This is an asynchronous
// operation. Status of the operation can be fetched using
// GetPolicyOperationResult API.
// CreateOrUpdate creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can
// be fetched using GetPolicyOperationResult API.
//
// vaultName is the name of the recovery services vault. resourceGroupName is
// the name of the resource group where the recovery services vault is present.
// policyName is backup policy to be created. parameters is resource backup
// policy
// vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the
// recovery services vault is present. policyName is backup policy to be created. parameters is resource backup policy
func (client ProtectionPoliciesClient) CreateOrUpdate(vaultName string, resourceGroupName string, policyName string, parameters ProtectionPolicyResource) (result ProtectionPolicyResource, err error) {
req, err := client.CreateOrUpdatePreparer(vaultName, resourceGroupName, policyName, parameters)
if err != nil {
@@ -115,13 +108,11 @@ func (client ProtectionPoliciesClient) CreateOrUpdateResponder(resp *http.Respon
return
}
// Delete deletes specified backup policy from your Recovery Services Vault.
// This is an asynchronous operation. Status of the operation can be fetched
// using GetPolicyOperationResult API.
// Delete deletes specified backup policy from your Recovery Services Vault. This is an asynchronous operation. Status
// of the operation can be fetched using GetPolicyOperationResult API.
//
// vaultName is the name of the recovery services vault. resourceGroupName is
// the name of the resource group where the recovery services vault is present.
// policyName is backup policy to be deleted.
// vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the
// recovery services vault is present. policyName is backup policy to be deleted.
func (client ProtectionPoliciesClient) Delete(vaultName string, resourceGroupName string, policyName string) (result autorest.Response, err error) {
req, err := client.DeletePreparer(vaultName, resourceGroupName, policyName)
if err != nil {
@@ -184,13 +175,11 @@ func (client ProtectionPoliciesClient) DeleteResponder(resp *http.Response) (res
return
}
// Get provides the details of the backup policies associated to Recovery
// Services Vault. This is an asynchronous operation. Status of the operation
// can be fetched using GetPolicyOperationResult API.
// Get provides the details of the backup policies associated to Recovery Services Vault. This is an asynchronous
// operation. Status of the operation can be fetched using GetPolicyOperationResult API.
//
// vaultName is the name of the recovery services vault. resourceGroupName is
// the name of the resource group where the recovery services vault is present.
// policyName is backup policy information to be fetched.
// vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the
// recovery services vault is present. policyName is backup policy information to be fetched.
func (client ProtectionPoliciesClient) Get(vaultName string, resourceGroupName string, policyName string) (result ProtectionPolicyResource, err error) {
req, err := client.GetPreparer(vaultName, resourceGroupName, policyName)
if err != nil {