IMarsContainerOperations.ListMarsContainersByTypeAndFriendlyNameAsync 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 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>
Public Function ListMarsContainersByTypeAndFriendlyNameAsync (resourceGroupName As String, resourceName As String, containerType As MarsContainerType, friendlyName As String, customRequestHeaders As CustomRequestHeaders, cancellationToken As CancellationToken) As Task(Of ListMarsContainerOperationResponse)
Parameters
- resourceGroupName
- String
- resourceName
- String
- containerType
- MarsContainerType
Type of container.
- friendlyName
- String
Friendly name of container.
- customRequestHeaders
- CustomRequestHeaders
Request header parameters.
- cancellationToken
- CancellationToken
Cancellation token.
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