MockableFileSharesSubscriptionResource.GetUsageData 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 file shares usage data.
- Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.FileShares/locations/{location}/getUsageData.
- Operation Id. : InformationalOperations_GetUsageData.
- Default Api Version. : 2025-09-01-preview.
public virtual Azure.Response<Azure.ResourceManager.FileShares.Models.FileShareUsageDataResult> GetUsageData(Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
abstract member GetUsageData : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.FileShares.Models.FileShareUsageDataResult>
override this.GetUsageData : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.FileShares.Models.FileShareUsageDataResult>
Public Overridable Function GetUsageData (location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Response(Of FileShareUsageDataResult)
Parameters
- location
- AzureLocation
The name of the Azure region.
- cancellationToken
- CancellationToken
The cancellation token to use.