MaxMonthlyVirtualUserHoursResource.SetAsync 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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.LoadTesting.MaxMonthlyVirtualUserHoursResource>> SetAsync(Azure.ResourceManager.LoadTesting.Models.MaxMonthlyVirtualUserHoursLimitContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member SetAsync : Azure.ResourceManager.LoadTesting.Models.MaxMonthlyVirtualUserHoursLimitContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.LoadTesting.MaxMonthlyVirtualUserHoursResource>>
override this.SetAsync : Azure.ResourceManager.LoadTesting.Models.MaxMonthlyVirtualUserHoursLimitContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.LoadTesting.MaxMonthlyVirtualUserHoursResource>>
Public Overridable Function SetAsync (content As MaxMonthlyVirtualUserHoursLimitContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MaxMonthlyVirtualUserHoursResource))
Parameters
The content of the action request.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content is null.