共用方式為


DataSourceOperationsExtensions.DisableProtectionCSMAsync 方法

定義

停用指定專案的保護

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

參數

operations
IDataSourceOperations

Microsoft.Azure.Management.BackupServices.IDataSourceOperations 的參考。

resourceGroupName
String

必要。

resourceName
String

必要。

customRequestHeaders
CustomRequestHeaders

選擇性。 要求標頭參數。

containerName
String

必要。 containerName。

itemName
String

必要。 itemName。

傳回

作業回應的定義。

適用於