你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FreeTrialProperties Constructor

Definition

Initializes a new instance of FreeTrialProperties.

public FreeTrialProperties(string accountId, DateTimeOffset createdOn, DateTimeOffset expiryOn, int allocatedValue, int usedValue, decimal percentageUsed, Azure.ResourceManager.PlaywrightTesting.Models.FreeTrialState state);
new Azure.ResourceManager.PlaywrightTesting.Models.FreeTrialProperties : string * DateTimeOffset * DateTimeOffset * int * int * decimal * Azure.ResourceManager.PlaywrightTesting.Models.FreeTrialState -> Azure.ResourceManager.PlaywrightTesting.Models.FreeTrialProperties
Public Sub New (accountId As String, createdOn As DateTimeOffset, expiryOn As DateTimeOffset, allocatedValue As Integer, usedValue As Integer, percentageUsed As Decimal, state As FreeTrialState)

Parameters

accountId
String

The playwright account id.

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
Decimal

The free-trial percentage used.

state
FreeTrialState

The free-trial state.

Exceptions

accountId is null.

Applies to