Skip to content

Dev postgresql microsoft.d bfor postgre sql 2022 03 08 preview #20212

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

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
d2d32ea
Adds base for updating Microsoft.DBforPostgreSQL from version preview…
ambrahma Aug 2, 2022
fb6936f
Updates readme
ambrahma Aug 2, 2022
ccb1108
Updates API version in new specs and examples
ambrahma Aug 2, 2022
2bb0b2c
Splitted the swagger api changes to smaller chunks for easy readbilit…
ambrahma Aug 4, 2022
31ba535
Add administrators api and corresponding examples
ambrahma Aug 12, 2022
e6a05ae
Fix sematic validation errors by running oav tool
ambrahma Aug 12, 2022
8078091
Fix model validation errors by running oav tool for validate example
ambrahma Aug 12, 2022
e6338df
Fix lint errors using prettier
ambrahma Aug 12, 2022
4ad720a
Merge branch 'Azure:main' into dev-postgresql-Microsoft.DBforPostgreS…
ambrahma Aug 12, 2022
639e769
Fix some automated review comments
ambrahma Aug 12, 2022
f126c35
Merge branch 'dev-postgresql-Microsoft.DBforPostgreSQL-2022-03-08-pre…
ambrahma Aug 12, 2022
ee532cf
Fix lint diff errors
ambrahma Aug 15, 2022
5b3f7df
Fix ARM Id annotations for postgres
ambrahma Aug 16, 2022
31a0d4a
Remove duplicate operation
ambrahma Aug 16, 2022
45b85d5
Remove changes from existing preview version api
ambrahma Aug 16, 2022
5326623
Use systemData for read only properties required for PUT and Patch op…
ambrahma Aug 16, 2022
ee7ed90
Revert systemData changes
ambrahma Aug 17, 2022
29f4614
Include changes for PasswordAuthEnabled
ambrahma Aug 17, 2022
0e423e7
Remoe azure resource tag from ActiveDirectoryAdministrator object
ambrahma Aug 17, 2022
5db63a5
Fix the validation errors
ambrahma Aug 18, 2022
a60d9ac
Update swagger for CMK propertiesData encryption properties
ambrahma Aug 18, 2022
8a8c108
Fix spell check and reference errors
ambrahma Aug 19, 2022
5d8e659
Update swagger for GeoRestore
ambrahma Aug 19, 2022
0982aff
Update swagger for Replica
ambrahma Aug 19, 2022
8225a34
Update swagger for MVU
ambrahma Aug 19, 2022
6a38235
Fix prettier errors
ambrahma Aug 19, 2022
3e89368
Update readme and rename postgresql.json to a different file
ambrahma Sep 2, 2022
4899680
Fix validation errors
ambrahma Sep 2, 2022
fb7b2b0
Remove private preview version for 2022-03-08 from readme.md
ambrahma Sep 2, 2022
ef4e8bc
Fix linter issue and add fast provisioning properties
DaeunYim Sep 8, 2022
c0d5a39
Fixed review comments for Backups and CheckNameAvailability
ambrahma Sep 9, 2022
97f06cd
Uodated duplicate Id for check name availability and undo the changes…
ambrahma Sep 9, 2022
08d34e6
Add 2022-03 preview and private preview versions for readme.go.md
ambrahma Sep 9, 2022
d0dc2bc
Pass default value of true for passwordAuthEnabled
ambrahma Sep 13, 2022
fef5259
pass true instead of "true"
ambrahma Sep 13, 2022
6137680
Added subnetName as id identifier for array obkect for DelegatedSubne…
ambrahma Sep 13, 2022
33aa911
Updated x-ms-identifiers to not be an empty array for all objects in …
ambrahma Sep 13, 2022
489cb01
Add missing x-ms-identifier
ambrahma Sep 21, 2022
a0ab836
Add support for supportedVersionsToUpgrade property in lication capab…
ambrahma Sep 22, 2022
c2ca6c3
Fix validation issue
ambrahma Sep 22, 2022
7b772c1
Fix validation error related to Server Versions
ambrahma Sep 22, 2022
c1ff5c0
Add new property for Capabilities api
ambrahma Sep 27, 2022
6a8039a
Fix validation errors
ambrahma Sep 28, 2022
f560cbc
Fix LroLocationHeader and ResourceNameRestrcition errors
ambrahma Sep 28, 2022
c88a403
Fix validation error x-ms-long-running-operation-options
ambrahma Sep 28, 2022
2e07ed0
Try to match the new version with stable version
ambrahma Sep 28, 2022
3e538d9
Revert changes to stable api version
ambrahma Sep 28, 2022
dd7228b
Reanme Databases.json to Database.json
ambrahma Sep 28, 2022
0859a72
Fix reference error
ambrahma Sep 28, 2022
cba6683
Add minLength validation for ServerNameParameter
ambrahma Sep 28, 2022
98e7fa6
Add minLength for LocationNameParameter
ambrahma Sep 28, 2022
c197885
Fix ResourceNameRestriction for ServerNameParameter
ambrahma Sep 28, 2022
15132fd
Fix ResourceNameRestriction for LocationNameParameter
ambrahma Sep 28, 2022
815ef75
python config
msyyc Sep 29, 2022
65f31d9
Fix few staging validations
ambrahma Sep 30, 2022
e207605
Merge branch 'dev-postgresql-Microsoft.DBforPostgreSQL-2022-03-08-pre…
ambrahma Sep 30, 2022
1106223
Fix few validation errors for name restriction
ambrahma Sep 30, 2022
b8935e6
Fix few validation errors for name restriction and duplicated model v…
ambrahma Sep 30, 2022
760ed0d
Fix validation errors for configurations api
ambrahma Sep 30, 2022
fdb8ca5
Fix model validation error
ambrahma Sep 30, 2022
3cd29d3
Remove location property for Server Update
ambrahma Sep 30, 2022
b7d0940
Fix validation error
ambrahma Sep 30, 2022
9f997f6
Fix model validation
ambrahma Sep 30, 2022
7257e53
Fix validation errors for administrators api
ambrahma Sep 30, 2022
684290f
Fix errors
ambrahma Sep 30, 2022
6354e35
Fix validation errors for Database and Configuration
ambrahma Sep 30, 2022
ab7fbc3
Fix validation errors
ambrahma Sep 30, 2022
23c25c6
Fix review comment to utilize common parameter and definitions
ambrahma Oct 6, 2022
7793f78
Fix path for systemData
ambrahma Oct 6, 2022
0e49eb8
remove get cached server name API
DaeunYim Oct 6, 2022
3ab87ae
Update readme file to remove non-existing reference and fix review co…
ambrahma Oct 7, 2022
48cb3fd
Fix review comments
ambrahma Oct 7, 2022
2d2d903
Fix review comments to rename operationId to remove Execute
ambrahma Oct 10, 2022
c4be72c
Fix review comment
ambrahma Oct 13, 2022
e6be137
Fix unresolved reference
ambrahma Oct 13, 2022
efac1c8
Added pattern validation for charset and collation
ambrahma Oct 13, 2022
84a017e
Add backupType as enum as a string
ambrahma Oct 13, 2022
5700959
Fix enum case error for backup type
ambrahma Oct 13, 2022
aff38dd
Revert name of Database.json back to Databases.json
ambrahma Oct 14, 2022
13d3ac1
Add Databases.json in readme file
ambrahma Oct 14, 2022
c231660
Remove 202 for Administrators PUT call
ambrahma Oct 14, 2022
1d3b09b
Update name for Identity object to differentitate it from common type
ambrahma Oct 14, 2022
32abcc7
Renamed Sku to have different name then the one in comman types as th…
ambrahma Oct 14, 2022
593218a
Revert operationId change to avoid SDK and CLI impact to end users
ambrahma Oct 19, 2022
f3f22fb
Update operation id for consistency across mysql and postgres and to …
ambrahma Oct 19, 2022
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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
{
"swagger": "2.0",
"info": {
"title": "PostgreSQLServerManagementClient",
"description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.",
"version": "2022-03-08-preview"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"paths": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups/{backupName}": {
"get": {
"tags": [
"Backups"
],
"operationId": "Backups_Get",
"x-ms-examples": {
"Get a backup for a server": {
"$ref": "./examples/BackupGet.json"
}
},
"description": "Get specific backup for a given server.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./common-types.json#/parameters/ServerNameParameter"
},
{
"$ref": "#/parameters/BackupNameParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ServerBackup"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups": {
"get": {
"tags": [
"Backups"
],
"operationId": "Backups_ListByServer",
"x-ms-examples": {
"List backups for a server": {
"$ref": "./examples/BackupListByServer.json"
}
},
"description": "List all the backups for a given server.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./common-types.json#/parameters/ServerNameParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ServerBackupListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
}
},
"definitions": {
"ServerBackupProperties": {
"type": "object",
"properties": {
"backupType": {
"type": "string",
"description": "Backup type.",
"enum": [
"Full"
],
"x-ms-enum": {
"name": "Origin",
"modelAsString": true
}
},
"completedTime": {
"type": "string",
"format": "date-time",
"description": "Backup completed time (ISO8601 format)."
},
"source": {
"type": "string",
"description": "Backup source"
}
},
"description": "The properties of a server backup."
},
"ServerBackup": {
"type": "object",
"properties": {
"properties": {
"$ref": "#/definitions/ServerBackupProperties",
"x-ms-client-flatten": true,
"description": "The properties of a server backup."
},
"systemData": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData",
"readOnly": true,
"description": "The system metadata relating to this resource."
}
},
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
}
],
"description": "Server backup properties"
},
"ServerBackupListResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/ServerBackup"
},
"description": "The list of backups of a server."
},
"nextLink": {
"description": "The link used to get the next page of operations.",
"type": "string"
}
},
"description": "A list of server backups."
}
},
"parameters": {
"BackupNameParameter": {
"name": "backupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the backup.",
"minLength": 1,
"pattern": "^[-\\w\\._]+$",
"x-ms-parameter-location": "method"
}
}
}
Loading