{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-postgresql","description":"PostgreSQLManagementClient","version":"2017-12-01-preview","base_url":"https://management.azure.com","endpoints":37,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api PostgreSQLManagementClient\n@base https://management.azure.com\n@version 2017-12-01-preview\n@auth OAuth2\n@common_fields {api-version: any # The API version to use for the request.}\n@endpoints 37\n@hint download_for_search\n@toc subscriptions(36), providers(1)\n\n@group subscriptions\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}\n@desc Creates a new server, or will overwrite an existing server.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server., parameters: any # The required parameters for creating or updating a server.}\n@returns(200) OK\n@returns(201) Created\n@returns(202) Accepted\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}\n@desc Updates an existing server. The request body can contain one to many of the properties present in the normal server definition.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server., parameters: any # The required parameters for updating a server.}\n@returns(200) OK\n@returns(202) Accepted\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}\n@desc Deletes a server.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server.}\n@returns(200) OK\n@returns(202) Accepted\n@returns(204) NoContent\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}\n@desc Gets information about a server.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server.}\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers\n@desc List all the servers in a given resource group.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.}\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/servers\n@desc List all the servers in a given subscription.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription.}\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/replicas\n@desc List all the replicas for a given server.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server.}\n@returns(200) OK\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/restart\n@desc Restarts a server.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server.}\n@returns(200) OK\n@returns(202) Accepted\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/firewallRules/{firewallRuleName}\n@desc Creates a new firewall rule or updates an existing firewall rule.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server., firewallRuleName: any # The name of the server firewall rule., parameters: any # The required parameters for creating or updating a firewall rule.}\n@returns(200) OK\n@returns(201) Created\n@returns(202) Accepted\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/firewallRules/{firewallRuleName}\n@desc Deletes a server firewall rule.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server., firewallRuleName: any # The name of the server firewall rule.}\n@returns(200) OK\n@returns(202) Accepted\n@returns(204) NoContent\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/firewallRules/{firewallRuleName}\n@desc Gets information about a server firewall rule.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server., firewallRuleName: any # The name of the server firewall rule.}\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/firewallRules\n@desc List all the firewall rules in a given server.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server.}\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}\n@desc Gets a virtual network rule.\n@required {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server., subscriptionId: any # The subscription ID that identifies an Azure subscription., virtualNetworkRuleName: any # The name of the virtual network rule.}\n@returns(200) Successfully retrieved a specified virtual network rule.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}\n@desc Creates or updates an existing virtual network rule.\n@required {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server., subscriptionId: any # The subscription ID that identifies an Azure subscription., virtualNetworkRuleName: any # The name of the virtual network rule., parameters: map # The requested virtual Network Rule Resource state.}\n@returns(200) Successfully updated a virtual network rule.\n@returns(201) Successfully created a virtual network rule.\n@returns(202) Accepted\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}\n@desc Deletes the virtual network rule with the given name.\n@required {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server., virtualNetworkRuleName: any # The name of the virtual network rule., subscriptionId: any # The subscription ID that identifies an Azure subscription.}\n@returns(200) Successfully deleted the virtual network rule.\n@returns(202) Accepted\n@returns(204) The specified virtual network rule does not exist.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/virtualNetworkRules\n@desc Gets a list of virtual network rules in a server.\n@required {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server., subscriptionId: any # The subscription ID that identifies an Azure subscription.}\n@returns(200) Successfully retrieved the list of virtual network rules.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/databases/{databaseName}\n@desc Creates a new database or updates an existing database.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server., databaseName: any # The name of the database., parameters: any # The required parameters for creating or updating a database.}\n@returns(200) OK\n@returns(201) Created\n@returns(202) Accepted\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/databases/{databaseName}\n@desc Deletes a database.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server., databaseName: any # The name of the database.}\n@returns(200) OK\n@returns(202) Accepted\n@returns(204) NoContent\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/databases/{databaseName}\n@desc Gets information about a database.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server., databaseName: any # The name of the database.}\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/databases\n@desc List all the databases in a given server.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server.}\n@returns(200) OK\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations/{configurationName}\n@desc Updates a configuration of a server.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server., configurationName: any # The name of the server configuration., parameters: any # The required parameters for updating a server configuration.}\n@returns(200) OK\n@returns(202) Accepted\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations/{configurationName}\n@desc Gets information about a configuration of server.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server., configurationName: any # The name of the server configuration.}\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations\n@desc List all the configurations in a given server.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server.}\n@returns(200) OK\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/updateConfigurations\n@desc Update a list of configurations in a given server.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server., value: any # The parameters for updating a list of server configuration.}\n@returns(200) OK\n@returns(202) Accepted\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/logFiles\n@desc List all the log files in a given server.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server.}\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/administrators/activeDirectory\n@desc Gets information about a AAD server administrator.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server.}\n@returns(200) OK\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/administrators/activeDirectory\n@desc Creates or update active directory administrator on an existing server. The update action will overwrite the existing administrator.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server., properties: any # The required parameters for creating or updating an AAD server administrator.}\n@returns(200) Successfully updated the active directory administrator\n@returns(202) Operation in progress\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/administrators/activeDirectory\n@desc Deletes AAD Administrator.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server.}\n@returns(200) Successfully deleted the active directory administrator\n@returns(202) Operation in progress\n@returns(204) The specified Server active directory administrator does not exist\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/administrators\n@desc Returns a list of server Administrators.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server.}\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/recoverableServers\n@desc Gets a recoverable PostgreSQL Server.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server.}\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/performanceTiers\n@desc List all the performance tiers for a PostgreSQL server.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server.}\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/performanceTiers\n@desc List all the performance tiers at specified location in a given subscription.\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., locationName: any # The name of the location.}\n@returns(200) OK\n\n@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability\n@desc Check the availability of name for resource\n@required {subscriptionId: any # The subscription ID that identifies an Azure subscription., nameAvailabilityRequest: any # The required parameters for checking if resource name is available.}\n@returns(200) OK\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}\n@desc Get a server's security alert policy.\n@required {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server., securityAlertPolicyName: any # The name of the security alert policy., subscriptionId: any # The subscription ID that identifies an Azure subscription.}\n@returns(200) Successfully retrieved the server threat detection policy.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}\n@desc Creates or updates a threat detection policy.\n@required {resourceGroupName: any # The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal., serverName: any # The name of the server., securityAlertPolicyName: any # The name of the threat detection policy., parameters: map # The server security alert policy., subscriptionId: any # The subscription ID that identifies an Azure subscription.}\n@returns(200) Successfully updated the threat detection policy.\n@returns(202) Created request to set the server threat detection policy.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/securityAlertPolicies\n@desc Get the server's threat detection policies.\n@required {serverName: any # The name of the server.}\n@returns(200) Successfully retrieved the server threat detection policies.\n\n@endgroup\n\n@group providers\n@endpoint GET /providers/Microsoft.DBforPostgreSQL/operations\n@desc Lists all of the available REST API operations.\n@returns(200) OK\n\n@endgroup\n\n@end\n"}