Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft PR for PostgreSQLHSC #11526

Merged
Show file tree
Hide file tree
Changes from 66 commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
b2b3905
New Readme Config File
furkansahin Nov 3, 2020
4d096ff
New Go Language Readme Config File
furkansahin Nov 3, 2020
caadca9
New Typescript Language Readme Config File
furkansahin Nov 3, 2020
29d8829
New Python Language Readme Config File
furkansahin Nov 3, 2020
2d7a127
New C# Language Readme Config File
furkansahin Nov 3, 2020
73c009d
New Ruby Language Readme Config File
furkansahin Nov 3, 2020
0605116
New Swagger Spec File
furkansahin Nov 3, 2020
baa7ebd
New Swagger Example Spec File
furkansahin Nov 3, 2020
8ea82bb
initial swagger
furkansahin Nov 3, 2020
964f866
common-types path fix
furkansahin Nov 3, 2020
e51be42
definition reference fix
furkansahin Nov 3, 2020
f7fb335
Change publicIpRequested boolean with publicNetworkAccess enum
enescakir Nov 3, 2020
4a2f0a1
Change serverGroups to ServerGroupsv2 in path and id
enescakir Nov 3, 2020
55f489c
Merge pull request #1 from furkansahin/public-access-enum
furkansahin Nov 3, 2020
68eb8a0
Merge pull request #2 from furkansahin/server-group-v2-path
furkansahin Nov 3, 2020
eb7f898
Add responses to examples
enescakir Nov 19, 2020
6322d76
Add missing location property to examples
enescakir Nov 19, 2020
58d4da9
Add missing locations to requests
enescakir Nov 19, 2020
c6d2d06
Remove required name
enescakir Nov 19, 2020
2997d62
Fix server group update
enescakir Nov 19, 2020
94eac91
Convert some enums to boolean and renamings
enescakir Nov 20, 2020
b5de45e
Fix typo
enescakir Nov 20, 2020
ae18751
Fix role properties problem
enescakir Nov 20, 2020
b2af3bb
Add Citus to custom words
enescakir Nov 20, 2020
768f7fd
Run json prettier
enescakir Nov 20, 2020
8debbf5
Change responce for put server group
enescakir Nov 20, 2020
d8b04bc
Fix role empty properties
enescakir Nov 20, 2020
e462107
Add state to server group
enescakir Nov 20, 2020
b5d3631
Update readmes
enescakir Nov 20, 2020
38ad37d
Add resourceProviderType to server group
enescakir Nov 20, 2020
4d30936
Add sourceLocation to server group PITR
enescakir Nov 20, 2020
bb2b047
Change backup retention minutes to days
enescakir Nov 20, 2020
577bb82
Fix linter errors
enescakir Nov 20, 2020
c142044
Add EarliestRestoreTime to server group
enescakir Nov 20, 2020
0b59e56
Fix semantic
enescakir Nov 20, 2020
1c3faef
Add Meru to custom words
enescakir Nov 20, 2020
31ce425
Proviver name to pascal case
enescakir Nov 20, 2020
69773d8
Add format for integers
enescakir Nov 20, 2020
bf8aaf8
Add 204 to delete
enescakir Nov 20, 2020
20e0f73
Add server group list endpoints
enescakir Nov 24, 2020
c481b54
Fix listing operations
enescakir Nov 24, 2020
1771bd3
Change servers operation id
enescakir Nov 24, 2020
a5ffc27
Remove haState from server role group
enescakir Nov 24, 2020
df3a697
Add missing state to ServerState
enescakir Nov 25, 2020
12486ee
Refactor configuration API
enescakir Dec 3, 2020
c4d8c9c
Add missing readOnly properties
enescakir Dec 4, 2020
a0088a1
Move ServerGroupConfig.defaultValue to ServerRoleGroupConfig
enescakir Dec 4, 2020
0809423
Rename serverRoleGroupConfigurationValues to serverRoleGroupConfigura…
enescakir Dec 7, 2020
d959e9d
Rename java namespace
enescakir Dec 7, 2020
bd4e90e
Add systemData to all resources
enescakir Dec 7, 2020
3881d62
Fix CheckNameAvailability warning
enescakir Dec 7, 2020
80b6fd3
Run prettier
enescakir Dec 7, 2020
790df58
Add "fullyQualifiedDomainName" to server
enescakir Dec 7, 2020
ccd798e
Remove update from createMode
enescakir Dec 8, 2020
be62866
Remove createMode discriminator
enescakir Dec 9, 2020
340bd46
Update ServerGet example
enescakir Dec 9, 2020
02eaa9a
Add citusVersion to ServerGroupServer
enescakir Dec 9, 2020
21e0ada
Update descriptions for zfs and mx
enescakir Dec 9, 2020
c480d24
Separate server group update properties
enescakir Dec 9, 2020
d3feec9
Add MMW to server group
enescakir Dec 9, 2020
a17a05e
Update sdk READMEs for namespaces
enescakir Dec 9, 2020
7e4e474
Refactor booleans with "enable..." prefix
enescakir Dec 9, 2020
e885345
Rename version with postgresqlVersion
enescakir Dec 9, 2020
b03603e
Change vnetInjArgs to delegatedSubnetArguments
enescakir Dec 9, 2020
9abf088
Add enableShardsOnCoordinator to server group
enescakir Dec 9, 2020
8e8ebc1
Add availability zone to server group and server group server
enescakir Dec 10, 2020
2813ab0
Add standbyAvailabilityZone to examples
enescakir Dec 10, 2020
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: 2 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ CIDRs
CIFS
ciphertext
CISCOASA
Citus
claimCondition
claimType
clfs
Expand Down Expand Up @@ -963,6 +964,7 @@ Mbps
MCAS
MDATP
mediaservices
Meru
Mesos
messagingplan
Metada
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"api-version": "2020-10-05-privatepreview",
"nameAvailabilityRequest": {
"name": "name1",
"type": "Microsoft.DBforPostgreSQL/serverGroupsv2"
}
},
"responses": {
"200": {
"body": {
"nameAvailable": true,
"message": "",
"name": "name1",
"type": "Microsoft.DBforPostgreSQL/serverGroupsv2"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"parameters": {
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"resourceGroupName": "TestResourceGroup",
"serverGroupName": "hsctestsg",
"configurationName": "array_nulls",
"api-version": "2020-10-05-privatepreview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/hsctestsg/configurations/array_nulls",
"name": "array_nulls",
"type": "Microsoft.DBforPostgreSQL/serverGroupsv2/configurations",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"properties": {
"description": "Enable input of NULL elements in arrays.",
"dataType": "Boolean",
"allowedValues": "on,off",
"serverRoleGroupConfigurations": [
{
"role": "Coordinator",
"value": "on",
"defaultValue": "on",
"source": "system-default"
},
{
"role": "Worker",
"value": "off",
"defaultValue": "on",
"source": "user-override"
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"parameters": {
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"resourceGroupName": "TestResourceGroup",
"serverGroupName": "hsctestsg",
"serverName": "testserver",
"api-version": "2020-10-05-privatepreview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/hsctestsg/servers/testserver/configurations/application_name",
"name": "application_name",
"type": "Microsoft.DBforPostgreSQL/serverGroupsv2/servers/configurations",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"properties": {
"value": "",
"description": "Sets the application name to be reported in statistics and logs.",
"defaultValue": "",
"dataType": "String",
"allowedValues": "[A-Za-z0-9._-]*",
"source": "system-default"
}
},
{
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/hsctestsg/servers/testserver/configurations/array_nulls",
"name": "array_nulls",
"type": "Microsoft.DBforPostgreSQL/serverGroupsv2/servers/configurations",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"properties": {
"value": "on",
"description": "Enables input of NULL elements in arrays.",
"defaultValue": "on",
"dataType": "Boolean",
"allowedValues": "on,off",
"source": "system-default"
}
},
{
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/hsctestsg/servers/testserver/configurations/autovacuum",
"name": "autovacuum",
"type": "Microsoft.DBforPostgreSQL/serverGroupsv2/servers/configurations",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"properties": {
"value": "on",
"description": "Starts the autovacuum subprocess.",
"defaultValue": "on",
"dataType": "Boolean",
"allowedValues": "on,off",
"source": "system-default"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
{
"parameters": {
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"resourceGroupName": "TestResourceGroup",
"serverGroupName": "hsctestsg",
"api-version": "2020-10-05-privatepreview"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/hsctestsg/configurations/array_nulls",
"name": "array_nulls",
"type": "Microsoft.DBforPostgreSQL/serverGroupsv2/configurations",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"properties": {
"description": "Enable input of NULL elements in arrays.",
"dataType": "Boolean",
"allowedValues": "on,off",
"serverRoleGroupConfigurations": [
{
"role": "Coordinator",
"value": "on",
"defaultValue": "on",
"source": "system-default"
},
{
"role": "Worker",
"value": "off",
"defaultValue": "on",
"source": "user-override"
}
]
}
},
{
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/hsctestsg/configurations/backslash_quote",
"name": "backslash_quote",
"type": "Microsoft.DBforPostgreSQL/serverGroupsv2/configurations",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"properties": {
"description": "Sets whether \"\\'\" is allowed in string literals.",
"dataType": "Enumeration",
"allowedValues": "safe_encoding,on,off",
"serverRoleGroupConfigurations": [
{
"role": "Coordinator",
"value": "off",
"defaultValue": "safe_encoding",
"source": "user-override"
},
{
"role": "Worker",
"value": "safe_encoding",
"defaultValue": "safe_encoding",
"source": "system-default"
}
]
}
},
{
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/hsctestsg/configurations/work_mem",
"name": "work_mem",
"type": "Microsoft.DBforPostgreSQL/serverGroupsv2/configurations",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"properties": {
"description": "Sets the amount of memory to be used by internal sort operations and hash tables before writing to temporary disk files.",
"dataType": "Integer",
"allowedValues": "4096-2097151",
"serverRoleGroupConfigurations": [
{
"role": "Coordinator",
"value": "158720",
"defaultValue": "158720",
"source": "system-default"
},
{
"role": "Worker",
"value": "115712",
"defaultValue": "115712",
"source": "system-default"
}
]
}
},
{
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/hsctestsg/configurations/client_encoding",
"name": "client_encoding",
"type": "Microsoft.DBforPostgreSQL/serverGroupsv2/configurations",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"properties": {
"description": "Sets the client's character set encoding.",
"dataType": "Enumeration",
"allowedValues": "BIG5,EUC_CN,EUC_JP,EUC_JIS_2004,EUC_KR,EUC_TW,GB18030,GBK,ISO_8859_5,ISO_8859_6,ISO_8859_7,ISO_8859_8,JOHAB,KOI8R,KOI8U,LATIN1,LATIN2,LATIN3,LATIN4,LATIN5,LATIN6,LATIN7,LATIN8,LATIN9,LATIN10,MULE_INTERNAL,SJIS,SHIFT_JIS_2004,SQL_ASCII,UHC,UTF8,WIN866,WIN874,WIN1250,WIN1251,WIN1252,WIN1253,WIN1254,WIN1255,WIN1256,WIN1257,WIN1258",
"serverRoleGroupConfigurations": [
{
"role": "Coordinator",
"value": "ISO_8859_7",
"defaultValue": "sql_ascii",
"source": "user-override"
},
{
"role": "Worker",
"value": "ISO_8859_7",
"defaultValue": "sql_ascii",
"source": "user-override"
}
]
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"parameters": {
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"resourceGroupName": "TestResourceGroup",
"serverGroupName": "hsctestsg",
"configurationName": "array_nulls",
"api-version": "2020-10-05-privatepreview",
"parameters": {
"properties": {
"serverRoleGroupConfigurations": [
{
"role": "Coordinator",
"value": "on"
},
{
"role": "Worker",
"value": "off"
}
]
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestResourceGroup/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/hsctestsg/configurations/array_nulls",
"name": "array_nulls",
"type": "Microsoft.DBforPostgreSQL/serverGroupsv2/configurations",
"systemData": {
"createdBy": "user1",
"createdByType": "User",
"createdAt": "2020-01-01T17:18:19.1234567Z",
"lastModifiedBy": "user2",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
},
"properties": {
"serverRoleGroupConfigurations": [
{
"role": "Coordinator",
"value": "on"
},
{
"role": "Worker",
"value": "off"
}
]
}
}
},
"202": {}
}
}
Loading