MarsContainerOperationsExtensions.ListMarsContainersByTypeAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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> ListMarsContainersByTypeAsync (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 ListMarsContainersByTypeAsync : Microsoft.Azure.Management.BackupServices.IMarsContainerOperations * string * string * Microsoft.Azure.Management.BackupServices.Models.MarsContainerType * Microsoft.Azure.Management.BackupServices.Models.CustomRequestHeaders -> System.Threading.Tasks.Task<Microsoft.Azure.Management.BackupServices.Models.ListMarsContainerOperationResponse>
<Extension()>
Public Function ListMarsContainersByTypeAsync (operations As IMarsContainerOperations, resourceGroupName As String, resourceName As String, containerType As MarsContainerType, 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.
- customRequestHeaders
- CustomRequestHeaders
Optional. Request header parameters.
Returns
List of Microsoft Azure Recovery Services (MARS) containers.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET