| Description | : Update a OrganizationResource |
| Reference | : Link ¶ |
⚶ Changes
{
"#id": "Organizations_Update",
"$parameters": {
"properties": {
"Description": {
"new": "The type used for update operations of the OrganizationResource.",
"old": "Organization Resource by Neon"
},
"$properties": {
"@added_ad0ffa2fc62146da8ca03833738ef512": {
"#name": "tags",
"Description": "Resource tags.",
"Required": false,
"Type": "object"
}
}
}
}
}
⚼ Request
PATCH:
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}
{
api-version:
string
,
subscriptionId:
string
,
resourceGroupName:
string
,
organizationName:
string
,
properties:
}
{
,
tags:
object
,
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
,
}
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
,
roleName:
string
,
lastUpdated:
string
,
owns:
string
,
}
databases:
[
]
,
{
,
entityId:
string
,
entityName:
string
,
createdAt:
string
,
provisioningState:
enum
,
attributes:
[
]
,
{
,
name:
string
,
value:
string
,
}
branchId:
string
,
ownerName:
string
,
databaseName:
string
,
lastUpdated:
string
,
}
endpoints:
[
]
,
{
,
entityId:
string
,
entityName:
string
,
createdAt:
string
,
provisioningState:
enum
,
attributes:
[
]
,
{
,
name:
string
,
value:
string
,
}
projectId:
string
,
branchId:
string
,
endpointType:
enum
,
endpointId:
string
,
computeName:
string
,
status:
enum
,
lastActive:
string
,
size:
}
{
,
autoscalingLimitMinCu:
number
,
autoscalingLimitMaxCu:
number
,
}
branchId:
string
,
branch:
string
,
dataSize:
string
,
lastActive:
string
,
computeHours:
string
,
protected:
boolean
,
isDefault:
boolean
,
}
roles:
[
]
,
{
,
entityId:
string
,
entityName:
string
,
createdAt:
string
,
provisioningState:
enum
,
attributes:
[
]
,
{
,
name:
string
,
value:
string
,
}
branchId:
string
,
permissions:
[
,
string
,
]
isSuperUser:
boolean
,
roleName:
string
,
lastUpdated:
string
,
owns:
string
,
}
databases:
[
]
,
{
,
entityId:
string
,
entityName:
string
,
createdAt:
string
,
provisioningState:
enum
,
attributes:
[
]
,
{
,
name:
string
,
value:
string
,
}
branchId:
string
,
ownerName:
string
,
databaseName:
string
,
lastUpdated:
string
,
}
endpoints:
}
[
]
,
{
,
entityId:
string
,
entityName:
string
,
createdAt:
string
,
provisioningState:
enum
,
attributes:
[
]
,
{
,
name:
string
,
value:
string
,
}
projectId:
string
,
branchId:
string
,
endpointType:
enum
,
endpointId:
string
,
computeName:
string
,
status:
enum
,
lastActive:
string
,
size:
}
{
,
autoscalingLimitMinCu:
number
,
autoscalingLimitMaxCu:
number
,
}
⚐ 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
,
roleName:
string
,
lastUpdated:
string
,
owns:
string
,
}
databases:
[
]
,
{
,
entityId:
string
,
entityName:
string
,
createdAt:
string
,
provisioningState:
enum
,
attributes:
[
]
,
{
,
name:
string
,
value:
string
,
}
branchId:
string
,
ownerName:
string
,
databaseName:
string
,
lastUpdated:
string
,
}
endpoints:
[
]
,
{
,
entityId:
string
,
entityName:
string
,
createdAt:
string
,
provisioningState:
enum
,
attributes:
[
]
,
{
,
name:
string
,
value:
string
,
}
projectId:
string
,
branchId:
string
,
endpointType:
enum
,
endpointId:
string
,
computeName:
string
,
status:
enum
,
lastActive:
string
,
size:
}
{
,
autoscalingLimitMinCu:
number
,
autoscalingLimitMaxCu:
number
,
}
branchId:
string
,
branch:
string
,
dataSize:
string
,
lastActive:
string
,
computeHours:
string
,
protected:
boolean
,
isDefault:
boolean
,
}
roles:
[
]
,
{
,
entityId:
string
,
entityName:
string
,
createdAt:
string
,
provisioningState:
enum
,
attributes:
[
]
,
{
,
name:
string
,
value:
string
,
}
branchId:
string
,
permissions:
[
,
string
,
]
isSuperUser:
boolean
,
roleName:
string
,
lastUpdated:
string
,
owns:
string
,
}
databases:
[
]
,
{
,
entityId:
string
,
entityName:
string
,
createdAt:
string
,
provisioningState:
enum
,
attributes:
[
]
,
{
,
name:
string
,
value:
string
,
}
branchId:
string
,
ownerName:
string
,
databaseName:
string
,
lastUpdated:
string
,
}
endpoints:
}
[
]
,
{
,
entityId:
string
,
entityName:
string
,
createdAt:
string
,
provisioningState:
enum
,
attributes:
[
]
,
{
,
name:
string
,
value:
string
,
}
projectId:
string
,
branchId:
string
,
endpointType:
enum
,
endpointId:
string
,
computeName:
string
,
status:
enum
,
lastActive:
string
,
size:
}
{
,
autoscalingLimitMinCu:
number
,
autoscalingLimitMaxCu:
number
,
}
⚐ Response (202)
{
location:
string
,
retry-after:
integer
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}