Udostępnij za pośrednictwem


ArmLoadTestingModelFactory.LoadTestingQuotaBucketContent Method

Definition

Initializes a new instance of LoadTestingQuotaBucketContent.

public static Azure.ResourceManager.LoadTesting.Models.LoadTestingQuotaBucketContent LoadTestingQuotaBucketContent (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, int? currentUsage = default, int? currentQuota = default, int? newQuota = default, Azure.ResourceManager.LoadTesting.Models.LoadTestingQuotaBucketDimensions dimensions = default);
static member LoadTestingQuotaBucketContent : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<int> * Nullable<int> * Nullable<int> * Azure.ResourceManager.LoadTesting.Models.LoadTestingQuotaBucketDimensions -> Azure.ResourceManager.LoadTesting.Models.LoadTestingQuotaBucketContent
Public Shared Function LoadTestingQuotaBucketContent (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional currentUsage As Nullable(Of Integer) = Nothing, Optional currentQuota As Nullable(Of Integer) = Nothing, Optional newQuota As Nullable(Of Integer) = Nothing, Optional dimensions As LoadTestingQuotaBucketDimensions = Nothing) As LoadTestingQuotaBucketContent

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

currentUsage
Nullable<Int32>

Current quota usage of the quota bucket.

currentQuota
Nullable<Int32>

Current quota limit of the quota bucket.

newQuota
Nullable<Int32>

New quota limit of the quota bucket.

dimensions
LoadTestingQuotaBucketDimensions

Dimensions for new quota request.

Returns

A new LoadTestingQuotaBucketContent instance for mocking.

Applies to