IMarsContainerOperations.ListMarsContainersByTypeAsync(String, String, MarsContainerType, CustomRequestHeaders, CancellationToken) Method

Definition

Get the list of all container based on the given query filter string.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.Models.ListMarsContainerOperationResponse> ListMarsContainersByTypeAsync (string resourceGroupName, string resourceName, Microsoft.Azure.Management.BackupServices.Models.MarsContainerType containerType, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders, System.Threading.CancellationToken cancellationToken);
abstract member ListMarsContainersByTypeAsync : string * string * Microsoft.Azure.Management.BackupServices.Models.MarsContainerType * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.Models.ListMarsContainerOperationResponse>

Parameters

resourceGroupName
System.String
resourceName
System.String
containerType
MarsContainerType

Type of container.

customRequestHeaders
CustomRequestHeaders

Request header parameters.

cancellationToken
System.Threading.CancellationToken

Cancellation token.

Returns

System.Threading.Tasks.Task<ListMarsContainerOperationResponse>

List of Microsoft Azure Recovery Services (MARS) containers.

Applies to