File tree 1 file changed +6
-5
lines changed
src/postgres/commands/createPostgresServer/steps
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import { IPostgresServerWizardContext } from '../IPostgresServerWizardContext';
13
13
14
14
export class PostgresServerCreateStep extends AzureWizardExecuteStep < IPostgresServerWizardContext > {
15
15
public priority : number = 150 ;
16
+ public postgresDefaultStorageSizeMB : number = 51200 ;
16
17
17
18
public async execute ( wizardContext : IPostgresServerWizardContext , progress : Progress < { message ?: string ; increment ?: number } > ) : Promise < void > {
18
19
@@ -30,11 +31,11 @@ export class PostgresServerCreateStep extends AzureWizardExecuteStep<IPostgresSe
30
31
const options = {
31
32
location : locationName ,
32
33
sku : {
33
- name : "GP_Gen5_4 " ,
34
- tier : "GeneralPurpose " ,
35
- capacity : 4 ,
34
+ name : "B_Gen5_1 " ,
35
+ tier : "Basic " ,
36
+ capacity : 1 ,
36
37
family : "Gen5" ,
37
- size : "102400"
38
+ size : ` ${ this . postgresDefaultStorageSizeMB } `
38
39
} ,
39
40
properties : {
40
41
administratorLogin : nonNullProp ( wizardContext , 'shortUserName' ) ,
@@ -43,7 +44,7 @@ export class PostgresServerCreateStep extends AzureWizardExecuteStep<IPostgresSe
43
44
createMode : "Default" ,
44
45
version : "10" ,
45
46
storageProfile : {
46
- storageMB : 102400
47
+ storageMB : this . postgresDefaultStorageSizeMB
47
48
}
48
49
} ,
49
50
} ;
You can’t perform that action at this time.
0 commit comments