IMarsContainerOperations.ListMarsContainersByTypeAndFriendlyNameAsync(String, String, MarsContainerType, String, 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> ListMarsContainersByTypeAndFriendlyNameAsync (string resourceGroupName, string resourceName, Microsoft.Azure.Management.BackupServices.Models.MarsContainerType containerType, string friendlyName, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders, System.Threading.CancellationToken cancellationToken);
abstract member ListMarsContainersByTypeAndFriendlyNameAsync : string * string * Microsoft.Azure.Management.BackupServices.Models.MarsContainerType * string * 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.

friendlyName
System.String

Friendly name 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