mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-23 21:31:29 +01:00
[AC-1418] Add new update SM subscription request model
This commit is contained in:
parent
9c85576973
commit
d6fb4b6ba9
@ -0,0 +1,40 @@
|
|||||||
|
export class OrganizationSmSubscriptionUpdateRequest {
|
||||||
|
/**
|
||||||
|
* The number of seats to add or remove from the subscription.
|
||||||
|
*/
|
||||||
|
seatAdjustment: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The maximum number of seats that can be auto-scaled for the subscription.
|
||||||
|
*/
|
||||||
|
maxAutoscaleSeats?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The number of additional service accounts to add or remove from the subscription.
|
||||||
|
*/
|
||||||
|
serviceAccountAdjustment: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The maximum number of additional service accounts that can be auto-scaled for the subscription.
|
||||||
|
*/
|
||||||
|
maxAutoscaleServiceAccounts?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Build a subscription update request for the Secrets Manager product type.
|
||||||
|
* @param seatAdjustment - The number of seats to add or remove from the subscription.
|
||||||
|
* @param serviceAccountAdjustment - The number of additional service accounts to add or remove from the subscription.
|
||||||
|
* @param maxAutoscaleSeats - The maximum number of seats that can be auto-scaled for the subscription.
|
||||||
|
* @param maxAutoscaleServiceAccounts - The maximum number of additional service accounts that can be auto-scaled for the subscription.
|
||||||
|
*/
|
||||||
|
constructor(
|
||||||
|
seatAdjustment: number,
|
||||||
|
serviceAccountAdjustment: number,
|
||||||
|
maxAutoscaleSeats?: number,
|
||||||
|
maxAutoscaleServiceAccounts?: number
|
||||||
|
) {
|
||||||
|
this.seatAdjustment = seatAdjustment;
|
||||||
|
this.serviceAccountAdjustment = serviceAccountAdjustment;
|
||||||
|
this.maxAutoscaleSeats = maxAutoscaleSeats;
|
||||||
|
this.maxAutoscaleServiceAccounts = maxAutoscaleServiceAccounts;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user