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:
Candice Ye
2022-06-16 15:04:03 -07:00
committed by GitHub
parent adafdd489f
commit 5acdca2b70
10 changed files with 225 additions and 13 deletions

View File

@@ -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,

View File

@@ -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,

View File

@@ -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,