MarsContainerOperationsExtensions.ListMarsContainersByTypeAndFriendlyNameAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.Models.ListMarsContainerOperationResponse> ListMarsContainersByTypeAndFriendlyNameAsync (this Microsoft.Azure.Management.BackupServices.IMarsContainerOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.BackupServices.Models.MarsContainerType containerType, string friendlyName, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders);
static member ListMarsContainersByTypeAndFriendlyNameAsync : Microsoft.Azure.Management.BackupServices.IMarsContainerOperations * string * string * Microsoft.Azure.Management.BackupServices.Models.MarsContainerType * string * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.Models.ListMarsContainerOperationResponse>
<Extension()>
Public Function ListMarsContainersByTypeAndFriendlyNameAsync (operations As IMarsContainerOperations, resourceGroupName As String, resourceName As String, containerType As MarsContainerType, friendlyName As String, customRequestHeaders As CustomRequestHeaders) As Task(Of ListMarsContainerOperationResponse)

Parameters

operations
IMarsContainerOperations

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

resourceGroupName
String

Required.

resourceName
String

Required.

containerType
MarsContainerType

Required. Type of container.

friendlyName
String

Required. Friendly name of container.

customRequestHeaders
CustomRequestHeaders

Optional. Request header parameters.

Returns

List of Microsoft Azure Recovery Services (MARS) containers.

Applies to