共用方式為


ArmPlaywrightTestingModelFactory.PlaywrightTestingAccountFreeTrialProperties Method

Definition

Initializes a new instance of PlaywrightTestingAccountFreeTrialProperties.

public static Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingAccountFreeTrialProperties PlaywrightTestingAccountFreeTrialProperties (DateTimeOffset createdOn = default, DateTimeOffset expiryOn = default, int allocatedValue = 0, int usedValue = 0, float percentageUsed = 0);
static member PlaywrightTestingAccountFreeTrialProperties : DateTimeOffset * DateTimeOffset * int * int * single -> Azure.ResourceManager.PlaywrightTesting.Models.PlaywrightTestingAccountFreeTrialProperties
Public Shared Function PlaywrightTestingAccountFreeTrialProperties (Optional createdOn As DateTimeOffset = Nothing, Optional expiryOn As DateTimeOffset = Nothing, Optional allocatedValue As Integer = 0, Optional usedValue As Integer = 0, Optional percentageUsed As Single = 0) As PlaywrightTestingAccountFreeTrialProperties

Parameters

createdOn
DateTimeOffset

The free-trial createdAt utcDateTime.

expiryOn
DateTimeOffset

The free-trial expiryAt utcDateTime.

allocatedValue
Int32

The free-trial allocated limit value eg. allocated free minutes.

usedValue
Int32

The free-trial used value eg. used free minutes.

percentageUsed
Single

The free-trial percentage used.

Returns

A new PlaywrightTestingAccountFreeTrialProperties instance for mocking.

Applies to