MaxMonthlyVirtualUserHoursResource.Set Method

Definition

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

content
MaxMonthlyVirtualUserHoursLimitContent

The content of the action request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to