Neon.Postgres (preview:2024-12-22)

2025/03/21 • 7 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 ,
]
,
}
,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ 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 ,
]
,
}
,
}
,
}
,
}
,
]
,
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 ,
]
,
}
,
}
,
}
,
}

⚐ 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 ,
]
,
}
,
}
,
}
,
}
,
}

⚐ 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 ,
]
,
}
,
}
,
}
,
}

⚐ 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 ,
]
,
}
,
}
,
}
,
}
,
}

⚐ 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 ,
]
,
}
,
}
,
}
,
}
,
}

⚐ 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 ,
]
,
}
,
}
,
}
,
}

⚐ 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 ,
}
,
]
,
}
,
}