다음을 통해 공유


QuotaCounterContract Constructors

Definition

Overloads

QuotaCounterContract()

Initializes a new instance of the QuotaCounterContract class.

QuotaCounterContract(String, String, DateTime, DateTime, QuotaCounterValueContractProperties)

Initializes a new instance of the QuotaCounterContract class.

QuotaCounterContract()

Initializes a new instance of the QuotaCounterContract class.

public QuotaCounterContract ();
Public Sub New ()

Applies to

QuotaCounterContract(String, String, DateTime, DateTime, QuotaCounterValueContractProperties)

Initializes a new instance of the QuotaCounterContract class.

public QuotaCounterContract (string counterKey, string periodKey, DateTime periodStartTime, DateTime periodEndTime, Microsoft.Azure.Management.ApiManagement.Models.QuotaCounterValueContractProperties value = default);
new Microsoft.Azure.Management.ApiManagement.Models.QuotaCounterContract : string * string * DateTime * DateTime * Microsoft.Azure.Management.ApiManagement.Models.QuotaCounterValueContractProperties -> Microsoft.Azure.Management.ApiManagement.Models.QuotaCounterContract
Public Sub New (counterKey As String, periodKey As String, periodStartTime As DateTime, periodEndTime As DateTime, Optional value As QuotaCounterValueContractProperties = Nothing)

Parameters

counterKey
String

The Key value of the Counter. Must not be empty.

periodKey
String

Identifier of the Period for which the counter was collected. Must not be empty.

periodStartTime
DateTime

The date of the start of Counter Period. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.

periodEndTime
DateTime

The date of the end of Counter Period. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.

value
QuotaCounterValueContractProperties

Quota Value Properties

Applies to