vendor: update all dependencies to latest versions
This commit is contained in:
Generated
Vendored
+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,30 +23,26 @@ import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// JobCancellationsClient is the client for the JobCancellations methods of the
|
||||
// Recoveryservicesbackup service.
|
||||
// JobCancellationsClient is the open API 2.0 Specs for Azure RecoveryServices Backup service
|
||||
type JobCancellationsClient struct {
|
||||
ManagementClient
|
||||
}
|
||||
|
||||
// NewJobCancellationsClient creates an instance of the JobCancellationsClient
|
||||
// client.
|
||||
// NewJobCancellationsClient creates an instance of the JobCancellationsClient client.
|
||||
func NewJobCancellationsClient(subscriptionID string) JobCancellationsClient {
|
||||
return NewJobCancellationsClientWithBaseURI(DefaultBaseURI, subscriptionID)
|
||||
}
|
||||
|
||||
// NewJobCancellationsClientWithBaseURI creates an instance of the
|
||||
// JobCancellationsClient client.
|
||||
// NewJobCancellationsClientWithBaseURI creates an instance of the JobCancellationsClient client.
|
||||
func NewJobCancellationsClientWithBaseURI(baseURI string, subscriptionID string) JobCancellationsClient {
|
||||
return JobCancellationsClient{NewWithBaseURI(baseURI, subscriptionID)}
|
||||
}
|
||||
|
||||
// Trigger cancels a job. This is an asynchronous operation. To know the status
|
||||
// of the cancellation, call GetCancelOperationResult API.
|
||||
// Trigger cancels a job. This is an asynchronous operation. To know the status of the cancellation, call
|
||||
// GetCancelOperationResult 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.
|
||||
// jobName is name of the job to cancel.
|
||||
// vaultName is the name of the recovery services vault. resourceGroupName is the name of the resource group where the
|
||||
// recovery services vault is present. jobName is name of the job to cancel.
|
||||
func (client JobCancellationsClient) Trigger(vaultName string, resourceGroupName string, jobName string) (result autorest.Response, err error) {
|
||||
req, err := client.TriggerPreparer(vaultName, resourceGroupName, jobName)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user