Freigeben über


DataSourceOperationsExtensions.UpdateProtectionCSMAsync Methode

Definition

Aktivieren Sie den Schutz für das angegebene Element.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse> UpdateProtectionCSMAsync (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.CSMUpdateProtectionRequest csmparameters);
static member UpdateProtectionCSMAsync : Microsoft.Azure.Management.BackupServices.IDataSourceOperations * string * string * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders * string * string * Microsoft.Azure.Management.BackupServices.Models.CSMUpdateProtectionRequest -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse>
<Extension()>
Public Function UpdateProtectionCSMAsync (operations As IDataSourceOperations, resourceGroupName As String, resourceName As String, customRequestHeaders As CustomRequestHeaders, containerName As String, itemName As String, csmparameters As CSMUpdateProtectionRequest) As Task(Of OperationResponse)

Parameter

operations
IDataSourceOperations

Verweis auf Microsoft.Azure.Management.BackupServices.IDataSourceOperations.

resourceGroupName
String

Erforderlich.

resourceName
String

Erforderlich.

customRequestHeaders
CustomRequestHeaders

Optional. Anforderungsheaderparameter.

containerName
String

Erforderlich. containerName.

itemName
String

Erforderlich. Itemname.

csmparameters
CSMUpdateProtectionRequest

Erforderlich. Legen Sie die Eingabe der Schutzanforderung fest.

Gibt zurück

Die Definition einer Vorgangsantwort.

Gilt für: