v8

latestSwagger 2.0raw.githubusercontent.com2023-06-05132207357.5 KB
Labs

Exports the lab resource usage into a storage account This operation can take a while to complete.

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{name}/exportResourceUsage

Path parameters

subscriptionIdstring required

The subscription ID.

resourceGroupNamestring required

The name of the resource group.

namestring required

The name of the lab.

Query parameters

api-versionstring required

Client API version.

Request body

blobStorageAbsoluteSasUristring

The blob storage absolute sas uri with write permission to the container which the usage data needs to be uploaded to.

usageStartDatestring date-time

The start time of the usage. If not provided, usage will be reported since the beginning of data collection.

Response

OK