UsagesOperationsExtensions.ListByLocationAsync 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.
Gets the list of usages.
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.LabServices.Models.Usage>> ListByLocationAsync (this Microsoft.Azure.Management.LabServices.IUsagesOperations operations, string location, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByLocationAsync : Microsoft.Azure.Management.LabServices.IUsagesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.LabServices.Models.Usage>>
<Extension()>
Public Function ListByLocationAsync (operations As IUsagesOperations, location As String, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Usage))
Parameters
- operations
- IUsagesOperations
The operations group for this extension method.
- location
- String
The location name.
- filter
- String
The filter to apply to the operation.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Returns list of usage per SKU family for the specified subscription in the specified region.
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