MarsContainerOperationsExtensions.ListMarsContainersByType(IMarsContainerOperations, String, String, MarsContainerType, CustomRequestHeaders) Method

Definition

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

public static Microsoft.Azure.Management.BackupServices.Models.ListMarsContainerOperationResponse ListMarsContainersByType (this Microsoft.Azure.Management.BackupServices.IMarsContainerOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.BackupServices.Models.MarsContainerType containerType, Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders customRequestHeaders);
static member ListMarsContainersByType : Microsoft.Azure.Management.BackupServices.IMarsContainerOperations * string * string * Microsoft.Azure.Management.BackupServices.Models.MarsContainerType * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders -> Microsoft.Azure.Management.BackupServices.Models.ListMarsContainerOperationResponse

Parameters

operations
IMarsContainerOperations

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

resourceGroupName
System.String

Required.

resourceName
System.String

Required.

containerType
MarsContainerType

Required. Type of container.

customRequestHeaders
CustomRequestHeaders

Optional. Request header parameters.

Returns

ListMarsContainerOperationResponse

List of Microsoft Azure Recovery Services (MARS) containers.

Applies to