add capacityMode (#1826)

* add capacityMode

* add check for capacityMode for serverless
This commit is contained in:
sunghyunkang1111
2024-05-17 12:19:23 -05:00
committed by GitHub
parent ff4bc78d6c
commit 4da3363cf7
3 changed files with 14 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
import { ConnectionStatusType, ContainerStatusType } from "../Common/Constants";
import { CapacityMode, ConnectionStatusType, ContainerStatusType } from "../Common/Constants";
export interface ArmEntity {
id: string;
@@ -35,6 +35,7 @@ export interface DatabaseAccountExtendedProperties {
ipRules?: IpRule[];
privateEndpointConnections?: unknown[];
capacity?: { totalThroughputLimit: number };
capacityMode?: CapacityMode;
locations?: DatabaseAccountResponseLocation[];
postgresqlEndpoint?: string;
publicNetworkAccess?: string;