Udostępnij za pośrednictwem


DataSourceOperationsExtensions.EnableProtectionCSMAsync Metoda

Definicja

Włącz ochronę danego elementu.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse> EnableProtectionCSMAsync (this Microsoft.Azure.Management.BackupServices.IDataSourceOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders, string containerName, string itemName, Microsoft.Azure.Management.BackupServices.Models.CSMSetProtectionRequest csmparameters);
static member EnableProtectionCSMAsync : Microsoft.Azure.Management.BackupServices.IDataSourceOperations * string * string * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders * string * string * Microsoft.Azure.Management.BackupServices.Models.CSMSetProtectionRequest -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse>
<Extension()>
Public Function EnableProtectionCSMAsync (operations As IDataSourceOperations, resourceGroupName As String, resourceName As String, customRequestHeaders As CustomRequestHeaders, containerName As String, itemName As String, csmparameters As CSMSetProtectionRequest) As Task(Of OperationResponse)

Parametry

operations
IDataSourceOperations

Odwołanie do elementu Microsoft.Azure.Management.BackupServices.IDataSourceOperations.

resourceGroupName
String

Wymagane.

resourceName
String

Wymagane.

customRequestHeaders
CustomRequestHeaders

Opcjonalny. Parametry nagłówka żądania.

containerName
String

Wymagane. containerName.

itemName
String

Wymagane. Itemname.

csmparameters
CSMSetProtectionRequest

Wymagane. Ustaw dane wejściowe żądania ochrony.

Zwraca

Definicja odpowiedzi operacji.

Dotyczy