Udostępnij za pośrednictwem


IBackupsOperations.CloneWithHttpMessagesAsync Method

Definition

Clones the backup element as a new volume.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> CloneWithHttpMessagesAsync (string deviceName, string backupName, string backupElementName, Microsoft.Azure.Management.StorSimple8000Series.Models.CloneRequest parameters, string resourceGroupName, string managerName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CloneWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.StorSimple8000Series.Models.CloneRequest * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function CloneWithHttpMessagesAsync (deviceName As String, backupName As String, backupElementName As String, parameters As CloneRequest, resourceGroupName As String, managerName As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)

Parameters

deviceName
String

The device name

backupName
String

The backup name.

backupElementName
String

The backup element name.

parameters
CloneRequest

The clone request object.

resourceGroupName
String

The resource group name

managerName
String

The manager name

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when a required parameter is null

Applies to