mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-08 01:28:26 -05:00
Add readable secondaries and sync secondary to commit to SQL MIAA create (#19740)
* Added syncSecondaryToCommit to SQL update and create, as well as notebook, wizard, and compute+storage interfaces * Added readable secondaries and syncSecondaryToCommit to cost and SQL MI create * Added readable secondaries to notebook * removed resource-deployment changes Co-authored-by: Candice Ye <canye@microsoft.com>
This commit is contained in:
@@ -167,6 +167,7 @@ export function getAzApi(localAzDiscovered: Promise<IAzTool | undefined>, azTool
|
||||
memoryLimit?: string;
|
||||
memoryRequest?: string;
|
||||
noWait?: boolean;
|
||||
syncSecondaryToCommit?: string;
|
||||
},
|
||||
// Direct mode arguments
|
||||
resourceGroup?: string,
|
||||
|
||||
@@ -247,7 +247,8 @@ export class AzTool implements azExt.IAzApi {
|
||||
memoryLimit?: string,
|
||||
memoryRequest?: string,
|
||||
noWait?: boolean,
|
||||
retentionDays?: string
|
||||
retentionDays?: string,
|
||||
syncSecondaryToCommit?: string
|
||||
},
|
||||
// Direct mode arguments
|
||||
resourceGroup?: string,
|
||||
|
||||
15
extensions/azcli/src/typings/az-ext.d.ts
vendored
15
extensions/azcli/src/typings/az-ext.d.ts
vendored
@@ -142,7 +142,9 @@ declare module 'az-ext' {
|
||||
spec: {
|
||||
backup?: {
|
||||
retentionPeriodInDays: number, // 1
|
||||
}
|
||||
},
|
||||
readableSecondaries: string, // 0
|
||||
syncSecondaryToCommit: string, // -1,
|
||||
scheduling?: {
|
||||
default?: {
|
||||
resources?: {
|
||||
@@ -150,10 +152,10 @@ declare module 'az-ext' {
|
||||
requests?: SchedulingOptions
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
services: {
|
||||
primary: ServiceSpec
|
||||
}
|
||||
},
|
||||
storage: {
|
||||
data: {
|
||||
volumes: StorageVolume[]
|
||||
@@ -188,7 +190,9 @@ declare module 'az-ext' {
|
||||
spec: {
|
||||
backup?: {
|
||||
retentionPeriodInDays: number, // 1
|
||||
}
|
||||
},
|
||||
readableSecondaries: string, // 0
|
||||
syncSecondaryToCommit: string, // -1
|
||||
scheduling?: {
|
||||
default?: {
|
||||
resources?: {
|
||||
@@ -248,6 +252,8 @@ declare module 'az-ext' {
|
||||
namespace: string, // namespace-name
|
||||
},
|
||||
replicas: number, // 1,
|
||||
readableSecondaries: string, // 0
|
||||
syncSecondaryToCommit: string, // -1,
|
||||
scheduling: {
|
||||
additionalProperties: string, // null,
|
||||
default: {
|
||||
@@ -607,6 +613,7 @@ declare module 'az-ext' {
|
||||
memoryRequest?: string, //1Gi
|
||||
noWait?: boolean, //true
|
||||
retentionDays?: string, //5
|
||||
syncSecondaryToCommit?: string //2
|
||||
},
|
||||
// Direct mode arguments
|
||||
resourceGroup?: string,
|
||||
|
||||
Reference in New Issue
Block a user