ArmLoadTestingModelFactory.LoadTestingQuotaData Method

Definition

Initializes a new instance of LoadTestingQuotaData.

public static Azure.ResourceManager.LoadTesting.LoadTestingQuotaData LoadTestingQuotaData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, int? limit = default, int? usage = default, Azure.ResourceManager.LoadTesting.Models.LoadTestingProvisioningState? provisioningState = default);
static member LoadTestingQuotaData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.LoadTesting.Models.LoadTestingProvisioningState> -> Azure.ResourceManager.LoadTesting.LoadTestingQuotaData
Public Shared Function LoadTestingQuotaData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional limit As Nullable(Of Integer) = Nothing, Optional usage As Nullable(Of Integer) = Nothing, Optional provisioningState As Nullable(Of LoadTestingProvisioningState) = Nothing) As LoadTestingQuotaData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

limit
Nullable<Int32>

Current quota limit of the quota bucket.

usage
Nullable<Int32>

Current quota usage of the quota bucket.

provisioningState
Nullable<LoadTestingProvisioningState>

Resource provisioning state.

Returns

A new LoadTestingQuotaData instance for mocking.

Applies to