Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

[AutoPR postgresql/resource-manager] Add replica creation parameters to Postgres ResourceProvider for SDK #4903

Merged
Merged
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 lib/services/postgresqlManagement/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018 Microsoft
Copyright (c) 2019 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 6 additions & 6 deletions lib/services/postgresqlManagement/lib/models/configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ const models = require('./index');
class Configuration extends models['ProxyResource'] {
/**
* Create a Configuration.
* @member {string} [value] Value of the configuration.
* @member {string} [description] Description of the configuration.
* @member {string} [defaultValue] Default value of the configuration.
* @member {string} [dataType] Data type of the configuration.
* @member {string} [allowedValues] Allowed values of the configuration.
* @member {string} [source] Source of the configuration.
* @property {string} [value] Value of the configuration.
* @property {string} [description] Description of the configuration.
* @property {string} [defaultValue] Default value of the configuration.
* @property {string} [dataType] Data type of the configuration.
* @property {string} [allowedValues] Allowed values of the configuration.
* @property {string} [source] Source of the configuration.
*/
constructor() {
super();
Expand Down
4 changes: 2 additions & 2 deletions lib/services/postgresqlManagement/lib/models/database.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const models = require('./index');
class Database extends models['ProxyResource'] {
/**
* Create a Database.
* @member {string} [charset] The charset of the database.
* @member {string} [collation] The collation of the database.
* @property {string} [charset] The charset of the database.
* @property {string} [collation] The collation of the database.
*/
constructor() {
super();
Expand Down
8 changes: 4 additions & 4 deletions lib/services/postgresqlManagement/lib/models/firewallRule.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ const models = require('./index');
class FirewallRule extends models['ProxyResource'] {
/**
* Create a FirewallRule.
* @member {string} startIpAddress The start IP address of the server
* @property {string} startIpAddress The start IP address of the server
* firewall rule. Must be IPv4 format.
* @member {string} endIpAddress The end IP address of the server firewall
* @property {string} endIpAddress The end IP address of the server firewall
* rule. Must be IPv4 format.
*/
constructor() {
Expand Down Expand Up @@ -71,7 +71,7 @@ class FirewallRule extends models['ProxyResource'] {
required: true,
serializedName: 'properties.startIpAddress',
constraints: {
Pattern: '^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$'
Pattern: /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/
},
type: {
name: 'String'
Expand All @@ -81,7 +81,7 @@ class FirewallRule extends models['ProxyResource'] {
required: true,
serializedName: 'properties.endIpAddress',
constraints: {
Pattern: '^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$'
Pattern: /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/
},
type: {
name: 'String'
Expand Down
Loading