共用方式為


IDataSourceOperations.UpdateProtectionCSMAsync 方法

定義

啟用指定專案的保護。

public System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse> UpdateProtectionCSMAsync (string resourceGroupName, string resourceName, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders, string containerName, string itemName, Microsoft.Azure.Management.BackupServices.Models.CSMUpdateProtectionRequest csmparameters, System.Threading.CancellationToken cancellationToken);
abstract member UpdateProtectionCSMAsync : string * string * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders * string * string * Microsoft.Azure.Management.BackupServices.Models.CSMUpdateProtectionRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse>
Public Function UpdateProtectionCSMAsync (resourceGroupName As String, resourceName As String, customRequestHeaders As CustomRequestHeaders, containerName As String, itemName As String, csmparameters As CSMUpdateProtectionRequest, cancellationToken As CancellationToken) As Task(Of OperationResponse)

參數

resourceGroupName
String
resourceName
String
customRequestHeaders
CustomRequestHeaders

要求標頭參數。

containerName
String

containerName。

itemName
String

itemName。

csmparameters
CSMUpdateProtectionRequest

設定保護要求輸入。

cancellationToken
CancellationToken

取消權杖。

傳回

作業回應的定義。

適用於