Description | : Update a OrganizationResource |
Reference | : Link ¶ |
⚶ Changes
{ "#id": "Organizations_Update", "$parameters": { "properties": { "$properties": { "properties": [ { "@added_745b70cb793f41e3b2210e20430028f0": { "#name": "marketplaceDetails", "Description": "Marketplace details of the resource.", "Required": false, "Type": "object", "$properties": [ { "#name": "subscriptionId", "Description": "SaaS subscription id for the the marketplace offer", "Required": false, "Type": "string" }, { "#name": "subscriptionStatus", "Description": "Marketplace subscription status", "Enum": [ [ "PendingFulfillmentStart", "Purchased but not yet activated" ], [ "Subscribed", "Marketplace subscription is activated" ], [ "Suspended", "This state indicates that a customer's payment for the Marketplace service was not received" ], [ "Unsubscribed", "Customer has cancelled the subscription" ] ], "Required": false, "Type": "string" }, { "#name": "offerDetails", "Description": "Offer details for the marketplace that is selected by the user", "Required": false, "Type": "object", "$properties": [ { "#name": "publisherId", "Description": "Publisher Id for the marketplace offer", "Required": false, "Type": "string" }, { "#name": "offerId", "Description": "Offer Id for the marketplace offer", "Required": false, "Type": "string" }, { "#name": "planId", "Description": "Plan Id for the marketplace offer", "Required": false, "Type": "string" }, { "#name": "planName", "Description": "Plan Name for the marketplace offer", "Required": false, "Type": "string" }, { "#name": "termUnit", "Description": "Term Name for the marketplace offer", "Required": false, "Type": "string" }, { "#name": "termId", "Description": "Term Id for the marketplace offer", "Required": false, "Type": "string" } ] } ] } } ] } } } }
⚼ Request
PATCH:
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}
{
api-version:
string
,
subscriptionId:
string
,
resourceGroupName:
string
,
organizationName:
string
,
properties:
}
{
,
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
,
}
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
,
}