-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Review request for Microsoft.DBforPostgreSQL to add stable release of…
… version 2024-08-01 (#30737) * 20240801 copied from previous 20240301preview * Update api version within files * Update readme * Quota Usages not for GA * Update description of configuraiton properties * Update title to PostgreSQLServerManagementClient and add to suppression path * remove where clause in readme suppresions
- Loading branch information
1 parent
fd3cd4f
commit cda164f
Showing
109 changed files
with
19,204 additions
and
3 deletions.
There are no files selected for viewing
406 changes: 406 additions & 0 deletions
406
...stgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Administrators.json
Large diffs are not rendered by default.
Oops, something went wrong.
315 changes: 315 additions & 0 deletions
315
...tion/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2024-08-01/Backups.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,315 @@ | ||
{ | ||
"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": "2024-08-01" | ||
}, | ||
"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}": { | ||
"put": { | ||
"tags": [ | ||
"Backups" | ||
], | ||
"operationId": "Backups_Create", | ||
"x-ms-examples": { | ||
"Create a new Backup for a flexible server": { | ||
"$ref": "./examples/BackupCreate.json" | ||
} | ||
}, | ||
"description": "Create a specific backup for PostgreSQL flexible server.", | ||
"parameters": [ | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" | ||
}, | ||
{ | ||
"$ref": "#/parameters/BackupNameParameter" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "OK", | ||
"schema": { | ||
"$ref": "#/definitions/ServerBackup" | ||
} | ||
}, | ||
"201": { | ||
"description": "Successfully created backup", | ||
"schema": { | ||
"$ref": "#/definitions/ServerBackup" | ||
} | ||
}, | ||
"202": { | ||
"description": "Accepted", | ||
"headers": { | ||
"Location": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"default": { | ||
"description": "Error response describing why the operation failed.", | ||
"schema": { | ||
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" | ||
} | ||
} | ||
}, | ||
"x-ms-long-running-operation": true, | ||
"x-ms-long-running-operation-options": { | ||
"final-state-via": "azure-async-operation" | ||
} | ||
}, | ||
"delete": { | ||
"tags": [ | ||
"Backups" | ||
], | ||
"operationId": "Backups_Delete", | ||
"x-ms-examples": { | ||
"Delete a specific backup": { | ||
"$ref": "./examples/BackupDelete.json" | ||
} | ||
}, | ||
"description": "Deletes a specific backup.", | ||
"parameters": [ | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../types/common-types.json#/parameters/ServerNameParameter" | ||
}, | ||
{ | ||
"$ref": "#/parameters/BackupNameParameter" | ||
} | ||
], | ||
"responses": { | ||
"202": { | ||
"description": "Accepted", | ||
"headers": { | ||
"Location": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"204": { | ||
"description": "NoContent" | ||
}, | ||
"default": { | ||
"description": "Error response describing why the operation failed.", | ||
"schema": { | ||
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" | ||
} | ||
} | ||
}, | ||
"x-ms-long-running-operation": true, | ||
"x-ms-long-running-operation-options": { | ||
"final-state-via": "location" | ||
} | ||
}, | ||
"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/v5/types.json#/parameters/ApiVersionParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../types/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/v5/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/v5/types.json#/parameters/ApiVersionParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" | ||
}, | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" | ||
}, | ||
{ | ||
"$ref": "../../../types/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/v5/types.json#/definitions/ErrorResponse" | ||
} | ||
} | ||
}, | ||
"x-ms-pageable": { | ||
"nextLinkName": "nextLink" | ||
} | ||
} | ||
} | ||
}, | ||
"definitions": { | ||
"ServerBackupProperties": { | ||
"type": "object", | ||
"properties": { | ||
"backupType": { | ||
"type": "string", | ||
"description": "Backup type.", | ||
"enum": [ | ||
"Full", | ||
"Customer On-Demand" | ||
], | ||
"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." | ||
} | ||
}, | ||
"allOf": [ | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v5/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" | ||
} | ||
} | ||
} |
Oops, something went wrong.