vendor: update all dependencies to latest versions
This commit is contained in:
+9
-14
@@ -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,8 +23,7 @@ import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// BackupsClient is the client for the Backups methods of the
|
||||
// Recoveryservicesbackup service.
|
||||
// BackupsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
|
||||
type BackupsClient struct {
|
||||
ManagementClient
|
||||
}
|
||||
@@ -40,16 +38,13 @@ func NewBackupsClientWithBaseURI(baseURI string, subscriptionID string) BackupsC
|
||||
return BackupsClient{NewWithBaseURI(baseURI, subscriptionID)}
|
||||
}
|
||||
|
||||
// Trigger triggers backup for specified backed up item. This is an
|
||||
// asynchronous operation. To know the status of the operation, call
|
||||
// GetProtectedItemOperationResult API.
|
||||
// Trigger triggers backup for specified backed up item. This is an asynchronous operation. To know the status of the
|
||||
// operation, call GetProtectedItemOperationResult 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.
|
||||
// fabricName is fabric name associated with the backup item. containerName is
|
||||
// container name associated with the backup item. protectedItemName is backup
|
||||
// item for which backup needs to be triggered. parameters is resource backup
|
||||
// request
|
||||
// vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the
|
||||
// recovery services vault is present. fabricName is fabric name associated with the backup item. containerName is
|
||||
// container name associated with the backup item. protectedItemName is backup item for which backup needs to be
|
||||
// triggered. parameters is resource backup request
|
||||
func (client BackupsClient) Trigger(vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, parameters BackupRequestResource) (result autorest.Response, err error) {
|
||||
req, err := client.TriggerPreparer(vaultName, resourceGroupName, fabricName, containerName, protectedItemName, parameters)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user