DataSourceOperationsExtensions.ListCSMAsync(IDataSourceOperations, String, String, CSMProtectedItemQueryObject, CustomRequestHeaders) Method

Definition

Get the list of all Datasources.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.Models.CSMProtectedItemListOperationResponse> ListCSMAsync (this Microsoft.Azure.Management.BackupServices.IDataSourceOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.BackupServices.Models.CSMProtectedItemQueryObject csmparameters, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders);
static member ListCSMAsync : Microsoft.Azure.Management.BackupServices.IDataSourceOperations * string * string * Microsoft.Azure.Management.BackupServices.Models.CSMProtectedItemQueryObject * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.Models.CSMProtectedItemListOperationResponse>

Parameters

operations
IDataSourceOperations

Reference to the Microsoft.Azure.Management.BackupServices.IDataSourceOperations.

resourceGroupName
System.String

Required.

resourceName
System.String

Required.

csmparameters
CSMProtectedItemQueryObject

Optional. DataSource query parameter.

customRequestHeaders
CustomRequestHeaders

Optional. Request header parameters.

Returns

System.Threading.Tasks.Task<CSMProtectedItemListOperationResponse>

The definition of a CSMProtectedItemListOperationResponse.

Applies to