IDataSourceOperations.EnableProtectionCSMAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enable protection for given item.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse> EnableProtectionCSMAsync (string resourceGroupName, string resourceName, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders, string containerName, string itemName, Microsoft.Azure.Management.BackupServices.Models.CSMSetProtectionRequest csmparameters, System.Threading.CancellationToken cancellationToken);
abstract member EnableProtectionCSMAsync : string * string * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders * string * string * Microsoft.Azure.Management.BackupServices.Models.CSMSetProtectionRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.OperationResponse>
Public Function EnableProtectionCSMAsync (resourceGroupName As String, resourceName As String, customRequestHeaders As CustomRequestHeaders, containerName As String, itemName As String, csmparameters As CSMSetProtectionRequest, cancellationToken As CancellationToken) As Task(Of OperationResponse)
Parameters
- resourceGroupName
- String
- resourceName
- String
- customRequestHeaders
- CustomRequestHeaders
Request header parameters.
- containerName
- String
containerName.
- itemName
- String
itemName.
- csmparameters
- CSMSetProtectionRequest
Set protection request input.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The definition of a Operation Response.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET