Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b038656
Add examples for PostgreSQL server updates and virtual endpoint manag…
nachoalonsoportillo May 22, 2025
8318e17
Add "Apsara" to the spell check word list in cspell.yaml
nachoalonsoportillo May 22, 2025
7568548
Remove obsolete PostgreSQL server update example files
nachoalonsoportillo May 22, 2025
b101f7c
Add format property to nextLink in DatabaseListResult definition
nachoalonsoportillo May 22, 2025
2c0f5fb
Remove obsolete example references for elastic cluster creation in Fl…
nachoalonsoportillo May 22, 2025
75f43ae
Remove obsolete example for creating a flexible server with data encr…
nachoalonsoportillo May 22, 2025
d7cf220
Merge branch 'main' into POstgreSQL-swaggers-descriptions-examples-re…
nachoalonsoportillo May 22, 2025
843a8cf
Remove obsolete example files for PostgreSQL migrations and server cr…
nachoalonsoportillo May 22, 2025
45fa85a
Merge branch 'POstgreSQL-swaggers-descriptions-examples-review' of ht…
nachoalonsoportillo May 22, 2025
b248a2b
Implement code changes to enhance functionality and improve performance
nachoalonsoportillo May 22, 2025
a9cf99d
Fix missing newline at end of file in CapabilitiesByLocation.json
nachoalonsoportillo May 22, 2025
9963b0c
Implement code changes to enhance functionality and improve performance
nachoalonsoportillo May 22, 2025
cddb238
Reorder parameters in examples for PostgreSQL swagger
nachoalonsoportillo May 22, 2025
e33907f
Fix formatting by removing trailing commas in example JSON files
nachoalonsoportillo May 22, 2025
3ff6733
Add line
nachoalonsoportillo May 22, 2025
5b519aa
Merge branch 'main' into POstgreSQL-swaggers-descriptions-examples-re…
nachoalonsoportillo May 22, 2025
8f6dd3a
Merge branch 'main' into POstgreSQL-swaggers-descriptions-examples-re…
nachoalonsoportillo May 23, 2025
8652d84
Merge branch 'main' into POstgreSQL-swaggers-descriptions-examples-re…
nachoalonsoportillo May 23, 2025
6d06f3d
Merge branch 'main' into POstgreSQL-swaggers-descriptions-examples-re…
nachoalonsoportillo May 24, 2025
7cd4cfa
Merge branch 'main' into POstgreSQL-swaggers-descriptions-examples-re…
nachoalonsoportillo May 26, 2025
e9a51ab
Merge branch 'main' into POstgreSQL-swaggers-descriptions-examples-re…
nachoalonsoportillo May 27, 2025
65c7f77
Update PostgreSQL configuration examples to use Patch and Put verbs; …
nachoalonsoportillo May 27, 2025
8a69ea9
Update operationId for configuration examples from Patch to Update
nachoalonsoportillo May 27, 2025
01a0a6f
Merge branch 'main' into POstgreSQL-swaggers-descriptions-examples-re…
nachoalonsoportillo May 27, 2025
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
1 change: 1 addition & 0 deletions specification/postgresql/cspell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import:
- ../../cspell.yaml
words:
- Apsara
- byok
- citus
- rdbms
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{

Check notice on line 1 in specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-01-01-preview/Administrators.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

Brownfield services will soon be required to convert from OpenAPI to TypeSpec. See https://aka.ms/azsdk/typespec.
"swagger": "2.0",
"info": {
"title": "PostgreSQLManagementClient",
"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.",
"description": "The Azure Database for PostgreSQL management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, network configuration, security alert policies, log files and configurations with new business model.",
"version": "2025-01-01-preview"
},
"host": "management.azure.com",
Expand Down Expand Up @@ -41,11 +41,11 @@
],
"operationId": "Administrators_Create",
"x-ms-examples": {
"Adds an Microsoft Entra Administrator for the server": {
"Add a server administrator associated to a Microsoft Entra principal.": {
"$ref": "./examples/AdministratorAdd.json"
}
},
"description": "Creates a new server.",
"description": "Creates a new server administrator associated to a Microsoft Entra principal.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter"
Expand All @@ -69,7 +69,7 @@
"schema": {
"$ref": "#/definitions/ActiveDirectoryAdministratorAdd"
},
"description": "The required parameters for adding an Microsoft Entra Administrator for a server."
"description": "Required parameters for adding a server administrator associated to a Microsoft Entra principal."
}
],
"responses": {
Expand Down Expand Up @@ -111,11 +111,11 @@
],
"operationId": "Administrators_Delete",
"x-ms-examples": {
"AdministratorDelete": {
"Delete a server administrator associated to a Microsoft Entra principal.": {
"$ref": "./examples/AdministratorDelete.json"
}
},
"description": "Deletes an Microsoft Entra Administrator associated with the server.",
"description": "Deletes an existing server administrator associated to a Microsoft Entra principal.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -166,11 +166,11 @@
],
"operationId": "Administrators_Get",
"x-ms-examples": {
"ServerGet": {
"Get information about a server administrator associated to a Microsoft Entra principal.": {
"$ref": "./examples/AdministratorGet.json"
}
},
"description": "Gets information about a server.",
"description": "Gets information about a server administrator associated to a Microsoft Entra principal.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -211,11 +211,11 @@
],
"operationId": "Administrators_ListByServer",
"x-ms-examples": {
"AdministratorsListByServer": {
"List information about all server administrators associated to Microsoft Entra principals.": {
"$ref": "./examples/AdministratorsListByServer.json"
}
},
"description": "List all the AAD administrators for a given server.",
"description": "List all server administrators associated to a Microsoft Entra principal.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -257,17 +257,17 @@
"properties": {
"$ref": "#/definitions/AdministratorPropertiesForAdd",
"x-ms-client-flatten": true,
"description": "Properties of the Microsoft Entra Administrator."
"description": "Properties of the server administrator associated to a Microsoft Entra principal."
}
},
"description": "Represents an Microsoft Entra Administrator."
"description": "Server administrator associated to a Microsoft Entra principal."
},
"AdministratorPropertiesForAdd": {
"type": "object",
"properties": {
"principalType": {
"type": "string",
"description": "The principal type used to represent the type of Microsoft Entra Administrator.",
"description": "The type of Microsoft Entra principal to which the server administrator is associated.",
"enum": [
"Unknown",
"User",
Expand All @@ -286,7 +286,7 @@
},
"principalName": {
"type": "string",
"description": "Microsoft Entra Administrator principal name.",
"description": "Name of the Microsoft Entra principal.",
"x-ms-mutability": [
"create",
"update",
Expand All @@ -295,21 +295,21 @@
},
"tenantId": {
"type": "string",
"description": "The tenantId of the Microsoft Entra Administrator.",
"description": "Identifier of the tenant in which the Microsoft Entra principal exists.",
"x-ms-mutability": [
"create",
"update"
]
}
},
"description": "The properties of an Microsoft Entra Administrator."
"description": "Properties of a server administrator associated to a Microsoft Entra principal."
},
"AdministratorProperties": {
"type": "object",
"properties": {
"principalType": {
"type": "string",
"description": "The principal type used to represent the type of Microsoft Entra Administrator.",
"description": "Type of Microsoft Entra principal to which the server administrator is associated.",
"enum": [
"Unknown",
"User",
Expand All @@ -328,7 +328,7 @@
},
"principalName": {
"type": "string",
"description": "Microsoft Entra Administrator principal name.",
"description": "Name of the Microsoft Entra principal.",
"x-ms-mutability": [
"create",
"update",
Expand All @@ -337,7 +337,7 @@
},
"objectId": {
"type": "string",
"description": "The objectId of the Microsoft Entra Administrator.",
"description": "Object identifier of the Microsoft Entra principal.",
"x-ms-mutability": [
"create",
"update",
Expand All @@ -346,23 +346,23 @@
},
"tenantId": {
"type": "string",
"description": "The tenantId of the Microsoft Entra Administrator.",
"description": "Identifier of the tenant in which the Microsoft Entra principal exists.",
"x-ms-mutability": [
"create",
"update",
"read"
]
}
},
"description": "The properties of an Microsoft Entra Administrator."
"description": "Properties of a server administrator associated to a Microsoft Entra principal."
},
"ActiveDirectoryAdministrator": {
"type": "object",
"properties": {
"properties": {
"$ref": "#/definitions/AdministratorProperties",
"x-ms-client-flatten": true,
"description": "Properties of the Microsoft Entra Administrator."
"description": "Properties of a server administrator associated to a Microsoft Entra principal."
}
},
"allOf": [
Expand All @@ -373,7 +373,7 @@
"required": [
"properties"
],
"description": "Represents an Microsoft Entra Administrator."
"description": "Server administrator associated to a Microsoft Entra principal."
},
"AdministratorListResult": {
"type": "object",
Expand All @@ -383,14 +383,14 @@
"items": {
"$ref": "#/definitions/ActiveDirectoryAdministrator"
},
"description": "The list of Microsoft Entra Administrators"
"description": "List of server administrators associated to Microsoft Entra principals."
},
"nextLink": {
"description": "The link used to get the next page of Microsoft Entra administrators.",
"description": "Link used to get the next page of results.",
"type": "string"
}
},
"description": "A list of Microsoft Entra Administrators."
"description": "List of server administrators associated to Microsoft Entra principals."
}
},
"parameters": {
Expand All @@ -399,7 +399,7 @@
"in": "path",
"required": true,
"type": "string",
"description": "Guid of the objectId for the administrator.",
"description": "Object identifier of the Microsoft Entra principal.",
"x-ms-parameter-location": "method"
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{

Check notice on line 1 in specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/preview/2025-01-01-preview/Backups.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

Brownfield services will soon be required to convert from OpenAPI to TypeSpec. See https://aka.ms/azsdk/typespec.
"swagger": "2.0",
"info": {
"title": "PostgreSQLManagementClient",
"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.",
"description": "The Azure Database for PostgreSQL management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, network configuration, security alert policies, log files and configurations with new business model.",
"version": "2025-01-01-preview"
},
"host": "management.azure.com",
Expand Down Expand Up @@ -41,11 +41,11 @@
],
"operationId": "Backups_Create",
"x-ms-examples": {
"Create a new Backup for a flexible server": {
"Create an on demand backup of a flexible server.": {
"$ref": "./examples/BackupCreate.json"
}
},
"description": "Create a specific backup for PostgreSQL flexible server.",
"description": "Creates an on demand backup of a flexible server.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -102,11 +102,11 @@
],
"operationId": "Backups_Delete",
"x-ms-examples": {
"Delete a specific backup": {
"Delete an on demand backup, given its name.": {
"$ref": "./examples/BackupDelete.json"
}
},
"description": "Deletes a specific backup.",
"description": "Deletes a specific backup, given its name.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -154,11 +154,11 @@
],
"operationId": "Backups_Get",
"x-ms-examples": {
"Get a backup for a server": {
"Get an on demand backup, given its name.": {
"$ref": "./examples/BackupGet.json"
}
},
"description": "Get specific backup for a given server.",
"description": "Gets information of an on demand backup, given its name.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -199,11 +199,11 @@
],
"operationId": "Backups_ListByServer",
"x-ms-examples": {
"List backups for a server": {
"List all available backups of a flexible server.": {
"$ref": "./examples/BackupListByServer.json"
}
},
"description": "List all the backups for a given server.",
"description": "Lists all available backups of a flexible server.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -244,7 +244,7 @@
"properties": {
"backupType": {
"type": "string",
"description": "Backup type.",
"description": "Type of backup.",
"enum": [
"Full",
"Customer On-Demand"
Expand All @@ -257,30 +257,30 @@
"completedTime": {
"type": "string",
"format": "date-time",
"description": "Backup completed time (ISO8601 format)."
"description": "Time(ISO8601 format) at which the backup was completed."
},
"source": {
"type": "string",
"description": "Backup source"
"description": "Source of the backup."
}
},
"description": "The properties of a server backup."
"description": "Properties of a backup."
},
"ServerBackup": {
"type": "object",
"properties": {
"properties": {
"$ref": "#/definitions/ServerBackupProperties",
"x-ms-client-flatten": true,
"description": "The properties of a server backup."
"description": "Properties of a backup."
}
},
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource"
}
],
"description": "Server backup properties"
"description": "Properties of a backup."
},
"ServerBackupListResult": {
"type": "object",
Expand All @@ -290,14 +290,14 @@
"items": {
"$ref": "#/definitions/ServerBackup"
},
"description": "The list of backups of a server."
"description": "List of available backups."
},
"nextLink": {
"description": "The link used to get the next page of operations.",
"description": "Link used to get the next page of results.",
"type": "string"
}
},
"description": "A list of server backups."
"description": "List of backups."
}
},
"parameters": {
Expand All @@ -306,7 +306,7 @@
"in": "path",
"required": true,
"type": "string",
"description": "The name of the backup.",
"description": "Name of the backup.",
"minLength": 1,
"pattern": "^[-\\w\\._]+$",
"x-ms-parameter-location": "method"
Expand Down
Loading
Loading