Neon.Postgres (stable:2025-03-01)

2025/03/24 • 39 new methods

Operations_List (new)
Description List the operations for the provider
Reference Link ¶

⚼ Request

GET:  /providers/Neon.Postgres/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
actionType: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Organizations_ListBySubscription (new)
Description List OrganizationResource resources by subscription ID
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Neon.Postgres/organizations
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
marketplaceDetails:
{
subscriptionId: string ,
subscriptionStatus: enum ,
offerDetails:
{
publisherId: string ,
offerId: string ,
planId: string ,
planName: string ,
termUnit: string ,
termId: string ,
}
,
}
,
userDetails:
{
firstName: string ,
lastName: string ,
emailAddress: string ,
upn: string ,
phoneNumber: string ,
}
,
companyDetails:
{
companyName: string ,
country: string ,
officeAddress: string ,
businessPhone: string ,
domain: string ,
numberOfEmployees: integer ,
}
,
provisioningState: enum ,
partnerOrganizationProperties:
{
organizationId: string ,
organizationName: string ,
singleSignOnProperties:
{
singleSignOnState: enum ,
enterpriseAppId: string ,
singleSignOnUrl: string ,
aadDomains:
[
string ,
]
,
}
,
}
,
projectProperties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
regionId: string ,
storage: integer ,
pgVersion: integer ,
historyRetention: integer ,
defaultEndpointSettings:
{
autoscalingLimitMinCu: number ,
autoscalingLimitMaxCu: number ,
}
,
branch:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Organizations_GetPostgresVersions (new)
Description Action to retrieve the PostgreSQL versions.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/getPostgresVersions
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
parameters:
{
version: integer ,
}
,
}

⚐ Response (200)

{
versions:
[
{
version: integer ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Organizations_ListByResourceGroup (new)
Description List OrganizationResource resources by resource group
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
marketplaceDetails:
{
subscriptionId: string ,
subscriptionStatus: enum ,
offerDetails:
{
publisherId: string ,
offerId: string ,
planId: string ,
planName: string ,
termUnit: string ,
termId: string ,
}
,
}
,
userDetails:
{
firstName: string ,
lastName: string ,
emailAddress: string ,
upn: string ,
phoneNumber: string ,
}
,
companyDetails:
{
companyName: string ,
country: string ,
officeAddress: string ,
businessPhone: string ,
domain: string ,
numberOfEmployees: integer ,
}
,
provisioningState: enum ,
partnerOrganizationProperties:
{
organizationId: string ,
organizationName: string ,
singleSignOnProperties:
{
singleSignOnState: enum ,
enterpriseAppId: string ,
singleSignOnUrl: string ,
aadDomains:
[
string ,
]
,
}
,
}
,
projectProperties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
regionId: string ,
storage: integer ,
pgVersion: integer ,
historyRetention: integer ,
defaultEndpointSettings:
{
autoscalingLimitMinCu: number ,
autoscalingLimitMaxCu: number ,
}
,
branch:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Organizations_Get (new)
Description Get a OrganizationResource
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
}

⚐ Response (200)

{
properties:
{
marketplaceDetails:
{
subscriptionId: string ,
subscriptionStatus: enum ,
offerDetails:
{
publisherId: string ,
offerId: string ,
planId: string ,
planName: string ,
termUnit: string ,
termId: string ,
}
,
}
,
userDetails:
{
firstName: string ,
lastName: string ,
emailAddress: string ,
upn: string ,
phoneNumber: string ,
}
,
companyDetails:
{
companyName: string ,
country: string ,
officeAddress: string ,
businessPhone: string ,
domain: string ,
numberOfEmployees: integer ,
}
,
provisioningState: enum ,
partnerOrganizationProperties:
{
organizationId: string ,
organizationName: string ,
singleSignOnProperties:
{
singleSignOnState: enum ,
enterpriseAppId: string ,
singleSignOnUrl: string ,
aadDomains:
[
string ,
]
,
}
,
}
,
projectProperties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
regionId: string ,
storage: integer ,
pgVersion: integer ,
historyRetention: integer ,
defaultEndpointSettings:
{
autoscalingLimitMinCu: number ,
autoscalingLimitMaxCu: number ,
}
,
branch:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Organizations_CreateOrUpdate (new)
Description Create a OrganizationResource
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
resource:
{
properties:
{
marketplaceDetails:
{
subscriptionId: string ,
subscriptionStatus: enum ,
offerDetails:
{
publisherId: string ,
offerId: string ,
planId: string ,
planName: string ,
termUnit: string ,
termId: string ,
}
,
}
,
userDetails:
{
firstName: string ,
lastName: string ,
emailAddress: string ,
upn: string ,
phoneNumber: string ,
}
,
companyDetails:
{
companyName: string ,
country: string ,
officeAddress: string ,
businessPhone: string ,
domain: string ,
numberOfEmployees: integer ,
}
,
provisioningState: enum ,
partnerOrganizationProperties:
{
organizationId: string ,
organizationName: string ,
singleSignOnProperties:
{
singleSignOnState: enum ,
enterpriseAppId: string ,
singleSignOnUrl: string ,
aadDomains:
[
string ,
]
,
}
,
}
,
projectProperties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
regionId: string ,
storage: integer ,
pgVersion: integer ,
historyRetention: integer ,
defaultEndpointSettings:
{
autoscalingLimitMinCu: number ,
autoscalingLimitMaxCu: number ,
}
,
branch:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
marketplaceDetails:
{
subscriptionId: string ,
subscriptionStatus: enum ,
offerDetails:
{
publisherId: string ,
offerId: string ,
planId: string ,
planName: string ,
termUnit: string ,
termId: string ,
}
,
}
,
userDetails:
{
firstName: string ,
lastName: string ,
emailAddress: string ,
upn: string ,
phoneNumber: string ,
}
,
companyDetails:
{
companyName: string ,
country: string ,
officeAddress: string ,
businessPhone: string ,
domain: string ,
numberOfEmployees: integer ,
}
,
provisioningState: enum ,
partnerOrganizationProperties:
{
organizationId: string ,
organizationName: string ,
singleSignOnProperties:
{
singleSignOnState: enum ,
enterpriseAppId: string ,
singleSignOnUrl: string ,
aadDomains:
[
string ,
]
,
}
,
}
,
projectProperties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
regionId: string ,
storage: integer ,
pgVersion: integer ,
historyRetention: integer ,
defaultEndpointSettings:
{
autoscalingLimitMinCu: number ,
autoscalingLimitMaxCu: number ,
}
,
branch:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
marketplaceDetails:
{
subscriptionId: string ,
subscriptionStatus: enum ,
offerDetails:
{
publisherId: string ,
offerId: string ,
planId: string ,
planName: string ,
termUnit: string ,
termId: string ,
}
,
}
,
userDetails:
{
firstName: string ,
lastName: string ,
emailAddress: string ,
upn: string ,
phoneNumber: string ,
}
,
companyDetails:
{
companyName: string ,
country: string ,
officeAddress: string ,
businessPhone: string ,
domain: string ,
numberOfEmployees: integer ,
}
,
provisioningState: enum ,
partnerOrganizationProperties:
{
organizationId: string ,
organizationName: string ,
singleSignOnProperties:
{
singleSignOnState: enum ,
enterpriseAppId: string ,
singleSignOnUrl: string ,
aadDomains:
[
string ,
]
,
}
,
}
,
projectProperties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
regionId: string ,
storage: integer ,
pgVersion: integer ,
historyRetention: integer ,
defaultEndpointSettings:
{
autoscalingLimitMinCu: number ,
autoscalingLimitMaxCu: number ,
}
,
branch:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Organizations_Update (new)
Description Update a OrganizationResource
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
properties:
{
properties:
{
userDetails:
{
firstName: string ,
lastName: string ,
emailAddress: string ,
upn: string ,
phoneNumber: string ,
}
,
companyDetails:
{
companyName: string ,
country: string ,
officeAddress: string ,
businessPhone: string ,
domain: string ,
numberOfEmployees: integer ,
}
,
partnerOrganizationProperties:
{
organizationId: string ,
organizationName: string ,
singleSignOnProperties:
{
singleSignOnState: enum ,
enterpriseAppId: string ,
singleSignOnUrl: string ,
aadDomains:
[
string ,
]
,
}
,
}
,
projectProperties:
{
entityName: string ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
regionId: string ,
storage: integer ,
pgVersion: integer ,
historyRetention: integer ,
defaultEndpointSettings:
{
autoscalingLimitMinCu: number ,
autoscalingLimitMaxCu: number ,
}
,
branch:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
marketplaceDetails:
{
subscriptionId: string ,
subscriptionStatus: enum ,
offerDetails:
{
publisherId: string ,
offerId: string ,
planId: string ,
planName: string ,
termUnit: string ,
termId: string ,
}
,
}
,
userDetails:
{
firstName: string ,
lastName: string ,
emailAddress: string ,
upn: string ,
phoneNumber: string ,
}
,
companyDetails:
{
companyName: string ,
country: string ,
officeAddress: string ,
businessPhone: string ,
domain: string ,
numberOfEmployees: integer ,
}
,
provisioningState: enum ,
partnerOrganizationProperties:
{
organizationId: string ,
organizationName: string ,
singleSignOnProperties:
{
singleSignOnState: enum ,
enterpriseAppId: string ,
singleSignOnUrl: string ,
aadDomains:
[
string ,
]
,
}
,
}
,
projectProperties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
regionId: string ,
storage: integer ,
pgVersion: integer ,
historyRetention: integer ,
defaultEndpointSettings:
{
autoscalingLimitMinCu: number ,
autoscalingLimitMaxCu: number ,
}
,
branch:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Organizations_Delete (new)
Description Delete a OrganizationResource
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Projects_List (new)
Description List Project resources by OrganizationResource
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
regionId: string ,
storage: integer ,
pgVersion: integer ,
historyRetention: integer ,
defaultEndpointSettings:
{
autoscalingLimitMinCu: number ,
autoscalingLimitMaxCu: number ,
}
,
branch:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Projects_Get (new)
Description Get a Project
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
}

⚐ Response (200)

{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
regionId: string ,
storage: integer ,
pgVersion: integer ,
historyRetention: integer ,
defaultEndpointSettings:
{
autoscalingLimitMinCu: number ,
autoscalingLimitMaxCu: number ,
}
,
branch:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Projects_CreateOrUpdate (new)
Description Create a Project
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
resource:
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
regionId: string ,
storage: integer ,
pgVersion: integer ,
historyRetention: integer ,
defaultEndpointSettings:
{
autoscalingLimitMinCu: number ,
autoscalingLimitMaxCu: number ,
}
,
branch:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
regionId: string ,
storage: integer ,
pgVersion: integer ,
historyRetention: integer ,
defaultEndpointSettings:
{
autoscalingLimitMinCu: number ,
autoscalingLimitMaxCu: number ,
}
,
branch:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
regionId: string ,
storage: integer ,
pgVersion: integer ,
historyRetention: integer ,
defaultEndpointSettings:
{
autoscalingLimitMinCu: number ,
autoscalingLimitMaxCu: number ,
}
,
branch:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Projects_Update (new)
Description Update a Project
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
properties:
{
properties:
{
entityName: string ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
regionId: string ,
storage: integer ,
pgVersion: integer ,
historyRetention: integer ,
defaultEndpointSettings:
{
autoscalingLimitMinCu: number ,
autoscalingLimitMaxCu: number ,
}
,
branch:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
regionId: string ,
storage: integer ,
pgVersion: integer ,
historyRetention: integer ,
defaultEndpointSettings:
{
autoscalingLimitMinCu: number ,
autoscalingLimitMaxCu: number ,
}
,
branch:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Projects_Delete (new)
Description Delete a Project
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Branches_List (new)
Description List Branch resources by Project
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Branches_Get (new)
Description Get a Branch
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
}

⚐ Response (200)

{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Branches_CreateOrUpdate (new)
Description Create a Branch
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
resource:
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Branches_Update (new)
Description Update a Branch
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
properties:
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
parentId: string ,
roleName: string ,
databaseName: string ,
roles:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
]
,
databases:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
]
,
endpoints:
[
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
]
,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Branches_Delete (new)
Description Delete a Branch
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Computes_List (new)
Description List Compute resources by Branch
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}/computes
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
region: string ,
cpuCores: integer ,
memory: integer ,
status: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Computes_Get (new)
Description Get a Compute
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}/computes/{computeName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
computeName: string ,
}

⚐ Response (200)

{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
region: string ,
cpuCores: integer ,
memory: integer ,
status: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Computes_CreateOrUpdate (new)
Description Create a Compute
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}/computes/{computeName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
computeName: string ,
resource:
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
region: string ,
cpuCores: integer ,
memory: integer ,
status: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
region: string ,
cpuCores: integer ,
memory: integer ,
status: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
region: string ,
cpuCores: integer ,
memory: integer ,
status: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Computes_Update (new)
Description Update a Compute
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}/computes/{computeName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
computeName: string ,
properties:
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
region: string ,
cpuCores: integer ,
memory: integer ,
status: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
region: string ,
cpuCores: integer ,
memory: integer ,
status: string ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Computes_Delete (new)
Description Delete a Compute
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}/computes/{computeName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
computeName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Endpoints_List (new)
Description List Endpoint resources by Branch
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}/endpoints
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Endpoints_Get (new)
Description Get a Endpoint
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}/endpoints/{endpointName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
endpointName: string ,
}

⚐ Response (200)

{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Endpoints_CreateOrUpdate (new)
Description Create a Endpoint
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}/endpoints/{endpointName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
endpointName: string ,
resource:
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Endpoints_Update (new)
Description Update a Endpoint
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}/endpoints/{endpointName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
endpointName: string ,
properties:
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
projectId: string ,
branchId: string ,
endpointType: enum ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Endpoints_Delete (new)
Description Delete a Endpoint
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}/endpoints/{endpointName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
endpointName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NeonDatabases_List (new)
Description List NeonDatabase resources by Branch
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}/neonDatabases
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NeonDatabases_Get (new)
Description Get a NeonDatabase
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}/neonDatabases/{neonDatabaseName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
neonDatabaseName: string ,
}

⚐ Response (200)

{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NeonDatabases_CreateOrUpdate (new)
Description Create a NeonDatabase
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}/neonDatabases/{neonDatabaseName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
neonDatabaseName: string ,
resource:
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NeonDatabases_Update (new)
Description Update a NeonDatabase
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}/neonDatabases/{neonDatabaseName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
neonDatabaseName: string ,
properties:
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
ownerName: string ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NeonDatabases_Delete (new)
Description Delete a NeonDatabase
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}/neonDatabases/{neonDatabaseName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
neonDatabaseName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NeonRoles_List (new)
Description List NeonRole resources by Branch
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}/neonRoles
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NeonRoles_Get (new)
Description Get a NeonRole
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}/neonRoles/{neonRoleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
neonRoleName: string ,
}

⚐ Response (200)

{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NeonRoles_CreateOrUpdate (new)
Description Create a NeonRole
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}/neonRoles/{neonRoleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
neonRoleName: string ,
resource:
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
retry-after: integer ,
}
,
$schema:
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NeonRoles_Update (new)
Description Update a NeonRole
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}/neonRoles/{neonRoleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
neonRoleName: string ,
properties:
{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
entityId: string ,
entityName: string ,
createdAt: string ,
provisioningState: enum ,
attributes:
[
{
name: string ,
value: string ,
}
,
]
,
branchId: string ,
permissions:
[
string ,
]
,
isSuperUser: boolean ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
NeonRoles_Delete (new)
Description Delete a NeonRole
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}/neonRoles/{neonRoleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
branchName: string ,
neonRoleName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Projects_GetConnectionUri (new)
Description Action to retrieve the connection URI for the Neon Database.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/getConnectionUri
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
organizationName: string ,
projectName: string ,
connectionUriParameters:
{
projectId: string ,
branchId: string ,
databaseName: string ,
roleName: string ,
endpointId: string ,
isPooled: boolean ,
connectionStringUri: string ,
}
,
}

⚐ Response (200)

{
projectId: string ,
branchId: string ,
databaseName: string ,
roleName: string ,
endpointId: string ,
isPooled: boolean ,
connectionStringUri: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}