Share via


AbusePenalty Class

The abuse penalty.

Constructor

AbusePenalty(*, action: str | _models.AbusePenaltyAction | None = None, rate_limit_percentage: float | None = None, expiration: datetime | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
action

The action of AbusePenalty. Known values are: "Throttle" and "Block".

Default value: None
rate_limit_percentage

The percentage of rate limit.

Default value: None
expiration

The datetime of expiration of the AbusePenalty.

Default value: None

Variables

Name Description
action

The action of AbusePenalty. Known values are: "Throttle" and "Block".

rate_limit_percentage

The percentage of rate limit.

expiration

The datetime of expiration of the AbusePenalty.