Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/postgresql/arm-postgresql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"uglify-js": "^3.4.9"
},
"homepage": "https://github.com/azure/azure-sdk-for-js/tree/master/sdk/postgresql/arm-postgresql",
"homepage": "https://github.com/azure/azure-sdk-for-js",
"repository": {
"type": "git",
"url": "https://github.com/azure/azure-sdk-for-js.git"
Expand Down
30 changes: 21 additions & 9 deletions sdk/postgresql/arm-postgresql/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ export interface StorageProfile {
* Max storage allowed for a server.
*/
storageMB?: number;
/**
* Enable Storage Auto Grow. Possible values include: 'Enabled', 'Disabled'
*/
storageAutogrow?: StorageAutogrow;
}

/**
Expand All @@ -78,7 +82,7 @@ export interface ServerPropertiesForCreate {
*/
createMode: "ServerPropertiesForCreate";
/**
* Server version. Possible values include: '9.5', '9.6', '10', '10.0', '10.2'
* Server version. Possible values include: '9.5', '9.6', '10', '10.0', '10.2', '11'
*/
version?: ServerVersion;
/**
Expand All @@ -101,7 +105,7 @@ export interface ServerPropertiesForDefaultCreate {
*/
createMode: "Default";
/**
* Server version. Possible values include: '9.5', '9.6', '10', '10.0', '10.2'
* Server version. Possible values include: '9.5', '9.6', '10', '10.0', '10.2', '11'
*/
version?: ServerVersion;
/**
Expand Down Expand Up @@ -133,7 +137,7 @@ export interface ServerPropertiesForRestore {
*/
createMode: "PointInTimeRestore";
/**
* Server version. Possible values include: '9.5', '9.6', '10', '10.0', '10.2'
* Server version. Possible values include: '9.5', '9.6', '10', '10.0', '10.2', '11'
*/
version?: ServerVersion;
/**
Expand Down Expand Up @@ -165,7 +169,7 @@ export interface ServerPropertiesForGeoRestore {
*/
createMode: "GeoRestore";
/**
* Server version. Possible values include: '9.5', '9.6', '10', '10.0', '10.2'
* Server version. Possible values include: '9.5', '9.6', '10', '10.0', '10.2', '11'
*/
version?: ServerVersion;
/**
Expand All @@ -192,7 +196,7 @@ export interface ServerPropertiesForReplica {
*/
createMode: "Replica";
/**
* Server version. Possible values include: '9.5', '9.6', '10', '10.0', '10.2'
* Server version. Possible values include: '9.5', '9.6', '10', '10.0', '10.2', '11'
*/
version?: ServerVersion;
/**
Expand Down Expand Up @@ -251,7 +255,7 @@ export interface Server extends TrackedResource {
*/
administratorLogin?: string;
/**
* Server version. Possible values include: '9.5', '9.6', '10', '10.0', '10.2'
* Server version. Possible values include: '9.5', '9.6', '10', '10.0', '10.2', '11'
*/
version?: ServerVersion;
/**
Expand Down Expand Up @@ -329,7 +333,7 @@ export interface ServerUpdateParameters {
*/
administratorLoginPassword?: string;
/**
* The version of a server. Possible values include: '9.5', '9.6', '10', '10.0', '10.2'
* The version of a server. Possible values include: '9.5', '9.6', '10', '10.0', '10.2', '11'
*/
version?: ServerVersion;
/**
Expand Down Expand Up @@ -711,11 +715,11 @@ export interface PerformanceTierListResult extends Array<PerformanceTierProperti

/**
* Defines values for ServerVersion.
* Possible values include: '9.5', '9.6', '10', '10.0', '10.2'
* Possible values include: '9.5', '9.6', '10', '10.0', '10.2', '11'
* @readonly
* @enum {string}
*/
export type ServerVersion = '9.5' | '9.6' | '10' | '10.0' | '10.2';
export type ServerVersion = '9.5' | '9.6' | '10' | '10.0' | '10.2' | '11';

/**
* Defines values for SslEnforcementEnum.
Expand All @@ -741,6 +745,14 @@ export type ServerState = 'Ready' | 'Dropping' | 'Disabled';
*/
export type GeoRedundantBackup = 'Enabled' | 'Disabled';

/**
* Defines values for StorageAutogrow.
* Possible values include: 'Enabled', 'Disabled'
* @readonly
* @enum {string}
*/
export type StorageAutogrow = 'Enabled' | 'Disabled';

/**
* Defines values for SkuTier.
* Possible values include: 'Basic', 'GeneralPurpose', 'MemoryOptimized'
Expand Down
6 changes: 6 additions & 0 deletions sdk/postgresql/arm-postgresql/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ export const StorageProfile: msRest.CompositeMapper = {
type: {
name: "Number"
}
},
storageAutogrow: {
serializedName: "storageAutogrow",
type: {
name: "String"
}
}
}
}
Expand Down