@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api PostgreSQLManagementClient
@base https://management.azure.com
@version 2017-12-01-preview
@auth OAuth2
@common_fields {api-version: any}
@endpoints 37
@hint download_for_search
@toc subscriptions(36), providers(1)

@group subscriptions
@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}
@required {subscriptionId: any, resourceGroupName: any, serverName: any, parameters: any}
@returns(200)
@returns(201)
@returns(202)

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}
@required {subscriptionId: any, resourceGroupName: any, serverName: any, parameters: any}
@returns(200)
@returns(202)

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}
@required {subscriptionId: any, resourceGroupName: any, serverName: any}
@returns(200)
@returns(202)
@returns(204)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}
@required {subscriptionId: any, resourceGroupName: any, serverName: any}
@returns(200)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers
@required {subscriptionId: any, resourceGroupName: any}
@returns(200)

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/servers
@required {subscriptionId: any}
@returns(200)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/replicas
@required {subscriptionId: any, resourceGroupName: any, serverName: any}
@returns(200)

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/restart
@required {subscriptionId: any, resourceGroupName: any, serverName: any}
@returns(200)
@returns(202)

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/firewallRules/{firewallRuleName}
@required {subscriptionId: any, resourceGroupName: any, serverName: any, firewallRuleName: any, parameters: any}
@returns(200)
@returns(201)
@returns(202)

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/firewallRules/{firewallRuleName}
@required {subscriptionId: any, resourceGroupName: any, serverName: any, firewallRuleName: any}
@returns(200)
@returns(202)
@returns(204)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/firewallRules/{firewallRuleName}
@required {subscriptionId: any, resourceGroupName: any, serverName: any, firewallRuleName: any}
@returns(200)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/firewallRules
@required {subscriptionId: any, resourceGroupName: any, serverName: any}
@returns(200)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}
@required {resourceGroupName: any, serverName: any, subscriptionId: any, virtualNetworkRuleName: any}
@returns(200)

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}
@required {resourceGroupName: any, serverName: any, subscriptionId: any, virtualNetworkRuleName: any, parameters: map}
@returns(200)
@returns(201)
@returns(202)

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}
@required {resourceGroupName: any, serverName: any, virtualNetworkRuleName: any, subscriptionId: any}
@returns(200)
@returns(202)
@returns(204)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/virtualNetworkRules
@required {resourceGroupName: any, serverName: any, subscriptionId: any}
@returns(200)

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/databases/{databaseName}
@required {subscriptionId: any, resourceGroupName: any, serverName: any, databaseName: any, parameters: any}
@returns(200)
@returns(201)
@returns(202)

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/databases/{databaseName}
@required {subscriptionId: any, resourceGroupName: any, serverName: any, databaseName: any}
@returns(200)
@returns(202)
@returns(204)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/databases/{databaseName}
@required {subscriptionId: any, resourceGroupName: any, serverName: any, databaseName: any}
@returns(200)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/databases
@required {subscriptionId: any, resourceGroupName: any, serverName: any}
@returns(200)

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations/{configurationName}
@required {subscriptionId: any, resourceGroupName: any, serverName: any, configurationName: any, parameters: any}
@returns(200)
@returns(202)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations/{configurationName}
@required {subscriptionId: any, resourceGroupName: any, serverName: any, configurationName: any}
@returns(200)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations
@required {subscriptionId: any, resourceGroupName: any, serverName: any}
@returns(200)

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/updateConfigurations
@required {subscriptionId: any, resourceGroupName: any, serverName: any, value: any}
@returns(200)
@returns(202)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/logFiles
@required {subscriptionId: any, resourceGroupName: any, serverName: any}
@returns(200)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/administrators/activeDirectory
@required {subscriptionId: any, resourceGroupName: any, serverName: any}
@returns(200)

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/administrators/activeDirectory
@required {subscriptionId: any, resourceGroupName: any, serverName: any, properties: any}
@returns(200)
@returns(202)

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/administrators/activeDirectory
@required {subscriptionId: any, resourceGroupName: any, serverName: any}
@returns(200)
@returns(202)
@returns(204)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/administrators
@required {subscriptionId: any, resourceGroupName: any, serverName: any}
@returns(200)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/recoverableServers
@required {subscriptionId: any, resourceGroupName: any, serverName: any}
@returns(200)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/performanceTiers
@required {subscriptionId: any, resourceGroupName: any, serverName: any}
@returns(200)

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/performanceTiers
@required {subscriptionId: any, locationName: any}
@returns(200)

@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability
@required {subscriptionId: any, nameAvailabilityRequest: any}
@returns(200)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}
@required {resourceGroupName: any, serverName: any, securityAlertPolicyName: any, subscriptionId: any}
@returns(200)

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}
@required {resourceGroupName: any, serverName: any, securityAlertPolicyName: any, parameters: map, subscriptionId: any}
@returns(200)
@returns(202)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/securityAlertPolicies
@required {serverName: any}
@returns(200)

@endgroup

@group providers
@endpoint GET /providers/Microsoft.DBforPostgreSQL/operations
@returns(200)

@endgroup

@end
