MaxMonthlyVirtualUserHoursResource.Set 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.
Set the limit of max monthly virtual user hours for the load testing resource.
- Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LoadTestService/loadTests/{loadTestName}/limits/maxMonthlyVirtualUserHours/set.
- Operation Id. : LoadTestsMaxMonthlyVirtualUserHoursLimitsResource_Set.
- Default Api Version. : 2024-12-01-preview.
- Resource. : MaxMonthlyVirtualUserHoursResource.
public virtual Azure.Response<Azure.ResourceManager.LoadTesting.MaxMonthlyVirtualUserHoursResource> Set(Azure.ResourceManager.LoadTesting.Models.MaxMonthlyVirtualUserHoursLimitContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member Set : Azure.ResourceManager.LoadTesting.Models.MaxMonthlyVirtualUserHoursLimitContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.LoadTesting.MaxMonthlyVirtualUserHoursResource>
override this.Set : Azure.ResourceManager.LoadTesting.Models.MaxMonthlyVirtualUserHoursLimitContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.LoadTesting.MaxMonthlyVirtualUserHoursResource>
Public Overridable Function Set (content As MaxMonthlyVirtualUserHoursLimitContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MaxMonthlyVirtualUserHoursResource)
Parameters
The content of the action request.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content is null.