From 50c8dac9597b7128b7e2f76987f4fa7c0c6aec09 Mon Sep 17 00:00:00 2001 From: almasak <162407742+almasak@users.noreply.github.com> Date: Tue, 22 Oct 2024 01:08:39 +0530 Subject: [PATCH] [Add] Shortened arguement for partner-organization-details --- .../2024-08-01-preview.json | 2 +- .../2024-08-01-preview.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25lb24ucG9zdGdyZXMvb3JnYW5pemF0aW9ucy97fQ==/2024-08-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25lb24ucG9zdGdyZXMvb3JnYW5pemF0aW9ucy97fQ==/2024-08-01-preview.json index 03cd9233f..f67911b30 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25lb24ucG9zdGdyZXMvb3JnYW5pemF0aW9ucy97fQ==/2024-08-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25lb24ucG9zdGdyZXMvb3JnYW5pemF0aW9ucy97fQ==/2024-08-01-preview.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/neon.postgres/organizations/{}", "version": "2024-08-01-preview", "swagger": "mgmt-plane/liftrneon/ResourceProviders/Neon.Postgres/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZW9uLlBvc3RncmVzL29yZ2FuaXphdGlvbnMve29yZ2FuaXphdGlvbk5hbWV9/V/MjAyNC0wOC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "neon postgres", "commands": [{"name": "create", "version": "2024-08-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/neon.postgres/organizations/{}", "version": "2024-08-01-preview", "swagger": "mgmt-plane/liftrneon/ResourceProviders/Neon.Postgres/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZW9uLlBvc3RncmVzL29yZ2FuaXphdGlvbnMve29yZ2FuaXphdGlvbk5hbWV9/V/MjAyNC0wOC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.organizationName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Neon resource"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of the Resource Group"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["s", "subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Subscription ID"}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.companyDetails", "options": ["company-details"], "group": "Properties", "help": {"short": "Details of the company."}, "args": [{"type": "string", "var": "$resource.properties.companyDetails.businessPhone", "options": ["business-phone"], "help": {"short": "Business phone number of the company"}}, {"type": "string", "var": "$resource.properties.companyDetails.companyName", "options": ["company-name"], "help": {"short": "Company name"}}, {"type": "string", "var": "$resource.properties.companyDetails.country", "options": ["country"], "help": {"short": "Country name of the company"}}, {"type": "string", "var": "$resource.properties.companyDetails.domain", "options": ["domain"], "help": {"short": "Domain of the user"}}, {"type": "integer64", "var": "$resource.properties.companyDetails.numberOfEmployees", "options": ["number-of-employees"], "help": {"short": "Number of employees in the company"}}, {"type": "string", "var": "$resource.properties.companyDetails.officeAddress", "options": ["office-address"], "help": {"short": "Office address of the company"}}]}, {"type": "object", "var": "$resource.properties.marketplaceDetails", "options": ["marketplace-details"], "group": "Properties", "help": {"short": "Marketplace details of the resource."}, "args": [{"type": "object", "var": "$resource.properties.marketplaceDetails.offerDetails", "options": ["offer-details"], "required": true, "help": {"short": "Offer details for the marketplace that is selected by the user"}, "args": [{"type": "string", "var": "$resource.properties.marketplaceDetails.offerDetails.offerId", "options": ["offer-id"], "required": true, "help": {"short": "Offer Id for the marketplace offer"}}, {"type": "string", "var": "$resource.properties.marketplaceDetails.offerDetails.planId", "options": ["plan-id"], "required": true, "help": {"short": "Plan Id for the marketplace offer"}}, {"type": "string", "var": "$resource.properties.marketplaceDetails.offerDetails.planName", "options": ["plan-name"], "help": {"short": "Plan Name for the marketplace offer"}}, {"type": "string", "var": "$resource.properties.marketplaceDetails.offerDetails.publisherId", "options": ["publisher-id"], "required": true, "help": {"short": "Publisher Id for the marketplace offer"}}, {"type": "string", "var": "$resource.properties.marketplaceDetails.offerDetails.termId", "options": ["term-id"], "help": {"short": "Term Id for the marketplace offer"}}, {"type": "string", "var": "$resource.properties.marketplaceDetails.offerDetails.termUnit", "options": ["term-unit"], "help": {"short": "Term Name for the marketplace offer"}}]}, {"type": "string", "var": "$resource.properties.marketplaceDetails.subscriptionId", "options": ["subscription-id"], "help": {"short": "SaaS subscription id for the the marketplace offer"}}, {"type": "string", "var": "$resource.properties.marketplaceDetails.subscriptionStatus", "options": ["subscription-status"], "help": {"short": "Marketplace subscription status"}, "enum": {"items": [{"name": "PendingFulfillmentStart", "value": "PendingFulfillmentStart"}, {"name": "Subscribed", "value": "Subscribed"}, {"name": "Suspended", "value": "Suspended"}, {"name": "Unsubscribed", "value": "Unsubscribed"}]}}]}, {"type": "object", "var": "$resource.properties.partnerOrganizationProperties", "options": ["partner-organization-properties"], "group": "Properties", "help": {"short": "Organization properties"}, "args": [{"type": "string", "var": "$resource.properties.partnerOrganizationProperties.organizationId", "options": ["organization-id"], "help": {"short": "Organization Id in partner's system"}}, {"type": "string", "var": "$resource.properties.partnerOrganizationProperties.organizationName", "options": ["org-name"], "required": true, "group": "", "help": {"short": "Organization name in partner's system"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "object", "var": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties", "options": ["single-sign-on-properties"], "help": {"short": "Single Sign On properties for the organization"}, "args": [{"type": "array", "var": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.aadDomains", "options": ["aad-domains"], "help": {"short": "List of AAD domains fetched from Microsoft Graph for user."}, "item": {"type": "string"}}, {"type": "string", "var": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.enterpriseAppId", "options": ["enterprise-app-id"], "help": {"short": "AAD enterprise application Id used to setup SSO"}}, {"type": "string", "var": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.singleSignOnState", "options": ["single-sign-on-state"], "help": {"short": "State of the Single Sign On for the organization"}, "enum": {"items": [{"name": "Disable", "value": "Disable"}, {"name": "Enable", "value": "Enable"}, {"name": "Initial", "value": "Initial"}]}}, {"type": "string", "var": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.singleSignOnUrl", "options": ["single-sign-on-url"], "help": {"short": "URL for SSO to be used by the partner to redirect the user to their system"}}]}]}, {"type": "object", "var": "$resource.properties.userDetails", "options": ["user-details"], "group": "Properties", "help": {"short": "Details of the user."}, "args": [{"type": "string", "var": "$resource.properties.userDetails.emailAddress", "options": ["email-address"], "help": {"short": "Email address of the user"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "var": "$resource.properties.userDetails.firstName", "options": ["first-name"], "help": {"short": "First name of the user"}}, {"type": "string", "var": "$resource.properties.userDetails.lastName", "options": ["last-name"], "help": {"short": "Last name of the user"}}, {"type": "string", "var": "$resource.properties.userDetails.phoneNumber", "options": ["phone-number"], "help": {"short": "User's phone number"}}, {"type": "string", "var": "$resource.properties.userDetails.upn", "options": ["upn"], "help": {"short": "User's principal name"}}]}]}, {"name": "Resource", "args": [{"type": "ResourceLocation", "var": "$resource.location", "options": ["l", "location"], "required": true, "group": "Resource", "help": {"short": "The geo-location where the resource lives"}}, {"type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Organizations_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "organizationName", "arg": "$Path.organizationName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-08-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$resource.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "companyDetails", "arg": "$resource.properties.companyDetails", "required": true, "props": [{"type": "string", "name": "businessPhone", "arg": "$resource.properties.companyDetails.businessPhone"}, {"type": "string", "name": "companyName", "arg": "$resource.properties.companyDetails.companyName"}, {"type": "string", "name": "country", "arg": "$resource.properties.companyDetails.country"}, {"type": "string", "name": "domain", "arg": "$resource.properties.companyDetails.domain"}, {"type": "integer64", "name": "numberOfEmployees", "arg": "$resource.properties.companyDetails.numberOfEmployees"}, {"type": "string", "name": "officeAddress", "arg": "$resource.properties.companyDetails.officeAddress"}]}, {"type": "object", "name": "marketplaceDetails", "arg": "$resource.properties.marketplaceDetails", "required": true, "props": [{"type": "object", "name": "offerDetails", "arg": "$resource.properties.marketplaceDetails.offerDetails", "required": true, "props": [{"type": "string", "name": "offerId", "arg": "$resource.properties.marketplaceDetails.offerDetails.offerId", "required": true}, {"type": "string", "name": "planId", "arg": "$resource.properties.marketplaceDetails.offerDetails.planId", "required": true}, {"type": "string", "name": "planName", "arg": "$resource.properties.marketplaceDetails.offerDetails.planName"}, {"type": "string", "name": "publisherId", "arg": "$resource.properties.marketplaceDetails.offerDetails.publisherId", "required": true}, {"type": "string", "name": "termId", "arg": "$resource.properties.marketplaceDetails.offerDetails.termId"}, {"type": "string", "name": "termUnit", "arg": "$resource.properties.marketplaceDetails.offerDetails.termUnit"}]}, {"type": "string", "name": "subscriptionId", "arg": "$resource.properties.marketplaceDetails.subscriptionId"}, {"type": "string", "name": "subscriptionStatus", "arg": "$resource.properties.marketplaceDetails.subscriptionStatus", "enum": {"items": [{"value": "PendingFulfillmentStart"}, {"value": "Subscribed"}, {"value": "Suspended"}, {"value": "Unsubscribed"}]}}]}, {"type": "object", "name": "partnerOrganizationProperties", "arg": "$resource.properties.partnerOrganizationProperties", "props": [{"type": "string", "name": "organizationId", "arg": "$resource.properties.partnerOrganizationProperties.organizationId"}, {"type": "string", "name": "organizationName", "arg": "$resource.properties.partnerOrganizationProperties.organizationName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "object", "name": "singleSignOnProperties", "arg": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties", "props": [{"type": "array", "name": "aadDomains", "arg": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.aadDomains", "item": {"type": "string"}}, {"type": "string", "name": "enterpriseAppId", "arg": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.enterpriseAppId"}, {"type": "string", "name": "singleSignOnState", "arg": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl", "arg": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.singleSignOnUrl"}]}]}, {"type": "object", "name": "userDetails", "arg": "$resource.properties.userDetails", "required": true, "props": [{"type": "string", "name": "emailAddress", "arg": "$resource.properties.userDetails.emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName", "arg": "$resource.properties.userDetails.firstName"}, {"type": "string", "name": "lastName", "arg": "$resource.properties.userDetails.lastName"}, {"type": "string", "name": "phoneNumber", "arg": "$resource.properties.userDetails.phoneNumber"}, {"type": "string", "name": "upn", "arg": "$resource.properties.userDetails.upn"}]}]}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Neon.Postgres/organizations/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "companyDetails", "required": true, "props": [{"type": "string", "name": "businessPhone"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country"}, {"type": "string", "name": "domain"}, {"type": "integer64", "name": "numberOfEmployees"}, {"type": "string", "name": "officeAddress"}]}, {"type": "object", "name": "marketplaceDetails", "required": true, "props": [{"type": "object", "name": "offerDetails", "required": true, "props": [{"type": "string", "name": "offerId", "required": true}, {"type": "string", "name": "planId", "required": true}, {"type": "string", "name": "planName"}, {"type": "string", "name": "publisherId", "required": true}, {"type": "string", "name": "termId"}, {"type": "string", "name": "termUnit"}]}, {"type": "string", "name": "subscriptionId"}, {"type": "string", "name": "subscriptionStatus", "enum": {"items": [{"value": "PendingFulfillmentStart"}, {"value": "Subscribed"}, {"value": "Suspended"}, {"value": "Unsubscribed"}]}}]}, {"type": "object", "name": "partnerOrganizationProperties", "props": [{"type": "string", "name": "organizationId"}, {"type": "string", "name": "organizationName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "array", "name": "aadDomains", "item": {"type": "string"}}, {"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl"}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "userDetails", "required": true, "props": [{"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName"}, {"type": "string", "name": "lastName"}, {"type": "string", "name": "phoneNumber"}, {"type": "string", "name": "upn"}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}], "commandGroups": [{"name": "organization", "commands": [{"name": "show", "version": "2024-08-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/neon.postgres/organizations/{}", "version": "2024-08-01-preview", "swagger": "mgmt-plane/liftrneon/ResourceProviders/Neon.Postgres/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZW9uLlBvc3RncmVzL29yZ2FuaXphdGlvbnMve29yZ2FuaXphdGlvbk5hbWV9/V/MjAyNC0wOC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.organizationName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Neon resource"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of the Resource Group"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["s", "subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Subscription ID"}}]}], "operations": [{"operationId": "Organizations_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "organizationName", "arg": "$Path.organizationName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-08-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Neon.Postgres/organizations/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "companyDetails", "required": true, "props": [{"type": "string", "name": "businessPhone"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country"}, {"type": "string", "name": "domain"}, {"type": "integer64", "name": "numberOfEmployees"}, {"type": "string", "name": "officeAddress"}]}, {"type": "object", "name": "marketplaceDetails", "required": true, "props": [{"type": "object", "name": "offerDetails", "required": true, "props": [{"type": "string", "name": "offerId", "required": true}, {"type": "string", "name": "planId", "required": true}, {"type": "string", "name": "planName"}, {"type": "string", "name": "publisherId", "required": true}, {"type": "string", "name": "termId"}, {"type": "string", "name": "termUnit"}]}, {"type": "string", "name": "subscriptionId"}, {"type": "string", "name": "subscriptionStatus", "enum": {"items": [{"value": "PendingFulfillmentStart"}, {"value": "Subscribed"}, {"value": "Suspended"}, {"value": "Unsubscribed"}]}}]}, {"type": "object", "name": "partnerOrganizationProperties", "props": [{"type": "string", "name": "organizationId"}, {"type": "string", "name": "organizationName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "array", "name": "aadDomains", "item": {"type": "string"}}, {"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl"}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "userDetails", "required": true, "props": [{"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName"}, {"type": "string", "name": "lastName"}, {"type": "string", "name": "phoneNumber"}, {"type": "string", "name": "upn"}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2024-08-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/neon.postgres/organizations/{}", "version": "2024-08-01-preview", "swagger": "mgmt-plane/liftrneon/ResourceProviders/Neon.Postgres/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZW9uLlBvc3RncmVzL29yZ2FuaXphdGlvbnMve29yZ2FuaXphdGlvbk5hbWV9/V/MjAyNC0wOC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.organizationName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Neon resource"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of the Resource Group"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["s", "subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Subscription ID"}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Organizations_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "organizationName", "arg": "$Path.organizationName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-08-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "update", "version": "2024-08-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/neon.postgres/organizations/{}", "version": "2024-08-01-preview", "swagger": "mgmt-plane/liftrneon/ResourceProviders/Neon.Postgres/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZW9uLlBvc3RncmVzL29yZ2FuaXphdGlvbnMve29yZ2FuaXphdGlvbk5hbWV9/V/MjAyNC0wOC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.organizationName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Neon resource"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of the Resource Group"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["s", "subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Subscription ID"}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.companyDetails", "options": ["company-details"], "group": "Properties", "help": {"short": "Details of the company."}, "args": [{"nullable": true, "type": "string", "var": "$resource.properties.companyDetails.businessPhone", "options": ["business-phone"], "help": {"short": "Business phone number of the company"}}, {"nullable": true, "type": "string", "var": "$resource.properties.companyDetails.companyName", "options": ["company-name"], "help": {"short": "Company name"}}, {"nullable": true, "type": "string", "var": "$resource.properties.companyDetails.country", "options": ["country"], "help": {"short": "Country name of the company"}}, {"nullable": true, "type": "string", "var": "$resource.properties.companyDetails.domain", "options": ["domain"], "help": {"short": "Domain of the user"}}, {"nullable": true, "type": "integer64", "var": "$resource.properties.companyDetails.numberOfEmployees", "options": ["number-of-employees"], "help": {"short": "Number of employees in the company"}}, {"nullable": true, "type": "string", "var": "$resource.properties.companyDetails.officeAddress", "options": ["office-address"], "help": {"short": "Office address of the company"}}]}, {"nullable": true, "type": "object", "var": "$resource.properties.partnerOrganizationProperties", "options": ["partner-organization-properties"], "group": "Properties", "help": {"short": "Organization properties"}, "args": [{"nullable": true, "type": "string", "var": "$resource.properties.partnerOrganizationProperties.organizationId", "options": ["organization-id"], "help": {"short": "Organization Id in partner's system"}}, {"type": "string", "var": "$resource.properties.partnerOrganizationProperties.organizationName", "options": ["org-name"], "group": "", "help": {"short": "Organization name in partner's system"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"nullable": true, "type": "object", "var": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties", "options": ["single-sign-on-properties"], "help": {"short": "Single Sign On properties for the organization"}, "args": [{"nullable": true, "type": "array", "var": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.aadDomains", "options": ["aad-domains"], "help": {"short": "List of AAD domains fetched from Microsoft Graph for user."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.enterpriseAppId", "options": ["enterprise-app-id"], "help": {"short": "AAD enterprise application Id used to setup SSO"}}, {"nullable": true, "type": "string", "var": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.singleSignOnState", "options": ["single-sign-on-state"], "help": {"short": "State of the Single Sign On for the organization"}, "enum": {"items": [{"name": "Disable", "value": "Disable"}, {"name": "Enable", "value": "Enable"}, {"name": "Initial", "value": "Initial"}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.singleSignOnUrl", "options": ["single-sign-on-url"], "help": {"short": "URL for SSO to be used by the partner to redirect the user to their system"}}]}]}, {"type": "object", "var": "$resource.properties.userDetails", "options": ["user-details"], "group": "Properties", "help": {"short": "Details of the user."}, "args": [{"nullable": true, "type": "string", "var": "$resource.properties.userDetails.emailAddress", "options": ["email-address"], "help": {"short": "Email address of the user"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"nullable": true, "type": "string", "var": "$resource.properties.userDetails.firstName", "options": ["first-name"], "help": {"short": "First name of the user"}}, {"nullable": true, "type": "string", "var": "$resource.properties.userDetails.lastName", "options": ["last-name"], "help": {"short": "Last name of the user"}}, {"nullable": true, "type": "string", "var": "$resource.properties.userDetails.phoneNumber", "options": ["phone-number"], "help": {"short": "User's phone number"}}, {"nullable": true, "type": "string", "var": "$resource.properties.userDetails.upn", "options": ["upn"], "help": {"short": "User's principal name"}}]}]}, {"name": "Resource", "args": [{"nullable": true, "type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}], "operations": [{"operationId": "Organizations_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "organizationName", "arg": "$Path.organizationName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-08-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Neon.Postgres/organizations/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "companyDetails", "required": true, "props": [{"type": "string", "name": "businessPhone"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country"}, {"type": "string", "name": "domain"}, {"type": "integer64", "name": "numberOfEmployees"}, {"type": "string", "name": "officeAddress"}]}, {"type": "object", "name": "marketplaceDetails", "required": true, "props": [{"type": "object", "name": "offerDetails", "required": true, "props": [{"type": "string", "name": "offerId", "required": true}, {"type": "string", "name": "planId", "required": true}, {"type": "string", "name": "planName"}, {"type": "string", "name": "publisherId", "required": true}, {"type": "string", "name": "termId"}, {"type": "string", "name": "termUnit"}]}, {"type": "string", "name": "subscriptionId"}, {"type": "string", "name": "subscriptionStatus", "enum": {"items": [{"value": "PendingFulfillmentStart"}, {"value": "Subscribed"}, {"value": "Suspended"}, {"value": "Unsubscribed"}]}}]}, {"type": "object", "name": "partnerOrganizationProperties", "props": [{"type": "string", "name": "organizationId"}, {"type": "string", "name": "organizationName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "array", "name": "aadDomains", "item": {"type": "string"}}, {"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl"}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "userDetails", "required": true, "props": [{"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName"}, {"type": "string", "name": "lastName"}, {"type": "string", "name": "phoneNumber"}, {"type": "string", "name": "upn"}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "OrganizationResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "companyDetails", "arg": "$resource.properties.companyDetails", "required": true, "props": [{"type": "string", "name": "businessPhone", "arg": "$resource.properties.companyDetails.businessPhone"}, {"type": "string", "name": "companyName", "arg": "$resource.properties.companyDetails.companyName"}, {"type": "string", "name": "country", "arg": "$resource.properties.companyDetails.country"}, {"type": "string", "name": "domain", "arg": "$resource.properties.companyDetails.domain"}, {"type": "integer64", "name": "numberOfEmployees", "arg": "$resource.properties.companyDetails.numberOfEmployees"}, {"type": "string", "name": "officeAddress", "arg": "$resource.properties.companyDetails.officeAddress"}]}, {"type": "object", "name": "partnerOrganizationProperties", "arg": "$resource.properties.partnerOrganizationProperties", "props": [{"type": "string", "name": "organizationId", "arg": "$resource.properties.partnerOrganizationProperties.organizationId"}, {"type": "string", "name": "organizationName", "arg": "$resource.properties.partnerOrganizationProperties.organizationName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "object", "name": "singleSignOnProperties", "arg": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties", "props": [{"type": "array", "name": "aadDomains", "arg": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.aadDomains", "item": {"type": "string"}}, {"type": "string", "name": "enterpriseAppId", "arg": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.enterpriseAppId"}, {"type": "string", "name": "singleSignOnState", "arg": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl", "arg": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.singleSignOnUrl"}]}]}, {"type": "object", "name": "userDetails", "arg": "$resource.properties.userDetails", "required": true, "props": [{"type": "string", "name": "emailAddress", "arg": "$resource.properties.userDetails.emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName", "arg": "$resource.properties.userDetails.firstName"}, {"type": "string", "name": "lastName", "arg": "$resource.properties.userDetails.lastName"}, {"type": "string", "name": "phoneNumber", "arg": "$resource.properties.userDetails.phoneNumber"}, {"type": "string", "name": "upn", "arg": "$resource.properties.userDetails.upn"}]}]}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Organizations_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "organizationName", "arg": "$Path.organizationName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-08-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@OrganizationResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/neon.postgres/organizations/{}", "version": "2024-08-01-preview", "swagger": "mgmt-plane/liftrneon/ResourceProviders/Neon.Postgres/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZW9uLlBvc3RncmVzL29yZ2FuaXphdGlvbnMve29yZ2FuaXphdGlvbk5hbWV9/V/MjAyNC0wOC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "neon postgres", "commands": [{"name": "create", "version": "2024-08-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/neon.postgres/organizations/{}", "version": "2024-08-01-preview", "swagger": "mgmt-plane/liftrneon/ResourceProviders/Neon.Postgres/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZW9uLlBvc3RncmVzL29yZ2FuaXphdGlvbnMve29yZ2FuaXphdGlvbk5hbWV9/V/MjAyNC0wOC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.organizationName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Neon resource"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of the Resource Group"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["s", "subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Subscription ID"}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.companyDetails", "options": ["company-details"], "group": "Properties", "help": {"short": "Details of the company."}, "args": [{"type": "string", "var": "$resource.properties.companyDetails.businessPhone", "options": ["business-phone"], "help": {"short": "Business phone number of the company"}}, {"type": "string", "var": "$resource.properties.companyDetails.companyName", "options": ["company-name"], "help": {"short": "Company name"}}, {"type": "string", "var": "$resource.properties.companyDetails.country", "options": ["country"], "help": {"short": "Country name of the company"}}, {"type": "string", "var": "$resource.properties.companyDetails.domain", "options": ["domain"], "help": {"short": "Domain of the user"}}, {"type": "integer64", "var": "$resource.properties.companyDetails.numberOfEmployees", "options": ["number-of-employees"], "help": {"short": "Number of employees in the company"}}, {"type": "string", "var": "$resource.properties.companyDetails.officeAddress", "options": ["office-address"], "help": {"short": "Office address of the company"}}]}, {"type": "object", "var": "$resource.properties.marketplaceDetails", "options": ["marketplace-details"], "group": "Properties", "help": {"short": "Marketplace details of the resource."}, "args": [{"type": "object", "var": "$resource.properties.marketplaceDetails.offerDetails", "options": ["offer-details"], "required": true, "help": {"short": "Offer details for the marketplace that is selected by the user"}, "args": [{"type": "string", "var": "$resource.properties.marketplaceDetails.offerDetails.offerId", "options": ["offer-id"], "required": true, "help": {"short": "Offer Id for the marketplace offer"}}, {"type": "string", "var": "$resource.properties.marketplaceDetails.offerDetails.planId", "options": ["plan-id"], "required": true, "help": {"short": "Plan Id for the marketplace offer"}}, {"type": "string", "var": "$resource.properties.marketplaceDetails.offerDetails.planName", "options": ["plan-name"], "help": {"short": "Plan Name for the marketplace offer"}}, {"type": "string", "var": "$resource.properties.marketplaceDetails.offerDetails.publisherId", "options": ["publisher-id"], "required": true, "help": {"short": "Publisher Id for the marketplace offer"}}, {"type": "string", "var": "$resource.properties.marketplaceDetails.offerDetails.termId", "options": ["term-id"], "help": {"short": "Term Id for the marketplace offer"}}, {"type": "string", "var": "$resource.properties.marketplaceDetails.offerDetails.termUnit", "options": ["term-unit"], "help": {"short": "Term Name for the marketplace offer"}}]}, {"type": "string", "var": "$resource.properties.marketplaceDetails.subscriptionId", "options": ["subscription-id"], "help": {"short": "SaaS subscription id for the the marketplace offer"}}, {"type": "string", "var": "$resource.properties.marketplaceDetails.subscriptionStatus", "options": ["subscription-status"], "help": {"short": "Marketplace subscription status"}, "enum": {"items": [{"name": "PendingFulfillmentStart", "value": "PendingFulfillmentStart"}, {"name": "Subscribed", "value": "Subscribed"}, {"name": "Suspended", "value": "Suspended"}, {"name": "Unsubscribed", "value": "Unsubscribed"}]}}]}, {"type": "object", "var": "$resource.properties.partnerOrganizationProperties", "options": ["partner-org-props", "partner-organization-properties"], "group": "Properties", "help": {"short": "Organization properties"}, "args": [{"type": "string", "var": "$resource.properties.partnerOrganizationProperties.organizationId", "options": ["organization-id"], "help": {"short": "Organization Id in partner's system"}}, {"type": "string", "var": "$resource.properties.partnerOrganizationProperties.organizationName", "options": ["org-name"], "required": true, "group": "", "help": {"short": "Organization name in partner's system"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "object", "var": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties", "options": ["single-sign-on-properties"], "help": {"short": "Single Sign On properties for the organization"}, "args": [{"type": "array", "var": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.aadDomains", "options": ["aad-domains"], "help": {"short": "List of AAD domains fetched from Microsoft Graph for user."}, "item": {"type": "string"}}, {"type": "string", "var": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.enterpriseAppId", "options": ["enterprise-app-id"], "help": {"short": "AAD enterprise application Id used to setup SSO"}}, {"type": "string", "var": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.singleSignOnState", "options": ["single-sign-on-state"], "help": {"short": "State of the Single Sign On for the organization"}, "enum": {"items": [{"name": "Disable", "value": "Disable"}, {"name": "Enable", "value": "Enable"}, {"name": "Initial", "value": "Initial"}]}}, {"type": "string", "var": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.singleSignOnUrl", "options": ["single-sign-on-url"], "help": {"short": "URL for SSO to be used by the partner to redirect the user to their system"}}]}]}, {"type": "object", "var": "$resource.properties.userDetails", "options": ["user-details"], "group": "Properties", "help": {"short": "Details of the user."}, "args": [{"type": "string", "var": "$resource.properties.userDetails.emailAddress", "options": ["email-address"], "help": {"short": "Email address of the user"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "var": "$resource.properties.userDetails.firstName", "options": ["first-name"], "help": {"short": "First name of the user"}}, {"type": "string", "var": "$resource.properties.userDetails.lastName", "options": ["last-name"], "help": {"short": "Last name of the user"}}, {"type": "string", "var": "$resource.properties.userDetails.phoneNumber", "options": ["phone-number"], "help": {"short": "User's phone number"}}, {"type": "string", "var": "$resource.properties.userDetails.upn", "options": ["upn"], "help": {"short": "User's principal name"}}]}]}, {"name": "Resource", "args": [{"type": "ResourceLocation", "var": "$resource.location", "options": ["l", "location"], "required": true, "group": "Resource", "help": {"short": "The geo-location where the resource lives"}}, {"type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Organizations_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "organizationName", "arg": "$Path.organizationName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-08-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$resource.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "companyDetails", "arg": "$resource.properties.companyDetails", "required": true, "props": [{"type": "string", "name": "businessPhone", "arg": "$resource.properties.companyDetails.businessPhone"}, {"type": "string", "name": "companyName", "arg": "$resource.properties.companyDetails.companyName"}, {"type": "string", "name": "country", "arg": "$resource.properties.companyDetails.country"}, {"type": "string", "name": "domain", "arg": "$resource.properties.companyDetails.domain"}, {"type": "integer64", "name": "numberOfEmployees", "arg": "$resource.properties.companyDetails.numberOfEmployees"}, {"type": "string", "name": "officeAddress", "arg": "$resource.properties.companyDetails.officeAddress"}]}, {"type": "object", "name": "marketplaceDetails", "arg": "$resource.properties.marketplaceDetails", "required": true, "props": [{"type": "object", "name": "offerDetails", "arg": "$resource.properties.marketplaceDetails.offerDetails", "required": true, "props": [{"type": "string", "name": "offerId", "arg": "$resource.properties.marketplaceDetails.offerDetails.offerId", "required": true}, {"type": "string", "name": "planId", "arg": "$resource.properties.marketplaceDetails.offerDetails.planId", "required": true}, {"type": "string", "name": "planName", "arg": "$resource.properties.marketplaceDetails.offerDetails.planName"}, {"type": "string", "name": "publisherId", "arg": "$resource.properties.marketplaceDetails.offerDetails.publisherId", "required": true}, {"type": "string", "name": "termId", "arg": "$resource.properties.marketplaceDetails.offerDetails.termId"}, {"type": "string", "name": "termUnit", "arg": "$resource.properties.marketplaceDetails.offerDetails.termUnit"}]}, {"type": "string", "name": "subscriptionId", "arg": "$resource.properties.marketplaceDetails.subscriptionId"}, {"type": "string", "name": "subscriptionStatus", "arg": "$resource.properties.marketplaceDetails.subscriptionStatus", "enum": {"items": [{"value": "PendingFulfillmentStart"}, {"value": "Subscribed"}, {"value": "Suspended"}, {"value": "Unsubscribed"}]}}]}, {"type": "object", "name": "partnerOrganizationProperties", "arg": "$resource.properties.partnerOrganizationProperties", "props": [{"type": "string", "name": "organizationId", "arg": "$resource.properties.partnerOrganizationProperties.organizationId"}, {"type": "string", "name": "organizationName", "arg": "$resource.properties.partnerOrganizationProperties.organizationName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "object", "name": "singleSignOnProperties", "arg": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties", "props": [{"type": "array", "name": "aadDomains", "arg": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.aadDomains", "item": {"type": "string"}}, {"type": "string", "name": "enterpriseAppId", "arg": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.enterpriseAppId"}, {"type": "string", "name": "singleSignOnState", "arg": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl", "arg": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.singleSignOnUrl"}]}]}, {"type": "object", "name": "userDetails", "arg": "$resource.properties.userDetails", "required": true, "props": [{"type": "string", "name": "emailAddress", "arg": "$resource.properties.userDetails.emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName", "arg": "$resource.properties.userDetails.firstName"}, {"type": "string", "name": "lastName", "arg": "$resource.properties.userDetails.lastName"}, {"type": "string", "name": "phoneNumber", "arg": "$resource.properties.userDetails.phoneNumber"}, {"type": "string", "name": "upn", "arg": "$resource.properties.userDetails.upn"}]}]}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Neon.Postgres/organizations/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "companyDetails", "required": true, "props": [{"type": "string", "name": "businessPhone"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country"}, {"type": "string", "name": "domain"}, {"type": "integer64", "name": "numberOfEmployees"}, {"type": "string", "name": "officeAddress"}]}, {"type": "object", "name": "marketplaceDetails", "required": true, "props": [{"type": "object", "name": "offerDetails", "required": true, "props": [{"type": "string", "name": "offerId", "required": true}, {"type": "string", "name": "planId", "required": true}, {"type": "string", "name": "planName"}, {"type": "string", "name": "publisherId", "required": true}, {"type": "string", "name": "termId"}, {"type": "string", "name": "termUnit"}]}, {"type": "string", "name": "subscriptionId"}, {"type": "string", "name": "subscriptionStatus", "enum": {"items": [{"value": "PendingFulfillmentStart"}, {"value": "Subscribed"}, {"value": "Suspended"}, {"value": "Unsubscribed"}]}}]}, {"type": "object", "name": "partnerOrganizationProperties", "props": [{"type": "string", "name": "organizationId"}, {"type": "string", "name": "organizationName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "array", "name": "aadDomains", "item": {"type": "string"}}, {"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl"}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "userDetails", "required": true, "props": [{"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName"}, {"type": "string", "name": "lastName"}, {"type": "string", "name": "phoneNumber"}, {"type": "string", "name": "upn"}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}], "commandGroups": [{"name": "organization", "commands": [{"name": "show", "version": "2024-08-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/neon.postgres/organizations/{}", "version": "2024-08-01-preview", "swagger": "mgmt-plane/liftrneon/ResourceProviders/Neon.Postgres/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZW9uLlBvc3RncmVzL29yZ2FuaXphdGlvbnMve29yZ2FuaXphdGlvbk5hbWV9/V/MjAyNC0wOC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.organizationName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Neon resource"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of the Resource Group"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["s", "subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Subscription ID"}}]}], "operations": [{"operationId": "Organizations_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "organizationName", "arg": "$Path.organizationName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-08-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Neon.Postgres/organizations/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "companyDetails", "required": true, "props": [{"type": "string", "name": "businessPhone"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country"}, {"type": "string", "name": "domain"}, {"type": "integer64", "name": "numberOfEmployees"}, {"type": "string", "name": "officeAddress"}]}, {"type": "object", "name": "marketplaceDetails", "required": true, "props": [{"type": "object", "name": "offerDetails", "required": true, "props": [{"type": "string", "name": "offerId", "required": true}, {"type": "string", "name": "planId", "required": true}, {"type": "string", "name": "planName"}, {"type": "string", "name": "publisherId", "required": true}, {"type": "string", "name": "termId"}, {"type": "string", "name": "termUnit"}]}, {"type": "string", "name": "subscriptionId"}, {"type": "string", "name": "subscriptionStatus", "enum": {"items": [{"value": "PendingFulfillmentStart"}, {"value": "Subscribed"}, {"value": "Suspended"}, {"value": "Unsubscribed"}]}}]}, {"type": "object", "name": "partnerOrganizationProperties", "props": [{"type": "string", "name": "organizationId"}, {"type": "string", "name": "organizationName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "array", "name": "aadDomains", "item": {"type": "string"}}, {"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl"}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "userDetails", "required": true, "props": [{"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName"}, {"type": "string", "name": "lastName"}, {"type": "string", "name": "phoneNumber"}, {"type": "string", "name": "upn"}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2024-08-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/neon.postgres/organizations/{}", "version": "2024-08-01-preview", "swagger": "mgmt-plane/liftrneon/ResourceProviders/Neon.Postgres/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZW9uLlBvc3RncmVzL29yZ2FuaXphdGlvbnMve29yZ2FuaXphdGlvbk5hbWV9/V/MjAyNC0wOC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.organizationName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Neon resource"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of the Resource Group"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["s", "subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Subscription ID"}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Organizations_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "organizationName", "arg": "$Path.organizationName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-08-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "update", "version": "2024-08-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/neon.postgres/organizations/{}", "version": "2024-08-01-preview", "swagger": "mgmt-plane/liftrneon/ResourceProviders/Neon.Postgres/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZW9uLlBvc3RncmVzL29yZ2FuaXphdGlvbnMve29yZ2FuaXphdGlvbk5hbWV9/V/MjAyNC0wOC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.organizationName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the Neon resource"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Name of the Resource Group"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["s", "subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Subscription ID"}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.companyDetails", "options": ["company-details"], "group": "Properties", "help": {"short": "Details of the company."}, "args": [{"nullable": true, "type": "string", "var": "$resource.properties.companyDetails.businessPhone", "options": ["business-phone"], "help": {"short": "Business phone number of the company"}}, {"nullable": true, "type": "string", "var": "$resource.properties.companyDetails.companyName", "options": ["company-name"], "help": {"short": "Company name"}}, {"nullable": true, "type": "string", "var": "$resource.properties.companyDetails.country", "options": ["country"], "help": {"short": "Country name of the company"}}, {"nullable": true, "type": "string", "var": "$resource.properties.companyDetails.domain", "options": ["domain"], "help": {"short": "Domain of the user"}}, {"nullable": true, "type": "integer64", "var": "$resource.properties.companyDetails.numberOfEmployees", "options": ["number-of-employees"], "help": {"short": "Number of employees in the company"}}, {"nullable": true, "type": "string", "var": "$resource.properties.companyDetails.officeAddress", "options": ["office-address"], "help": {"short": "Office address of the company"}}]}, {"nullable": true, "type": "object", "var": "$resource.properties.partnerOrganizationProperties", "options": ["partner-org-props", "partner-organization-properties"], "group": "Properties", "help": {"short": "Organization properties"}, "args": [{"nullable": true, "type": "string", "var": "$resource.properties.partnerOrganizationProperties.organizationId", "options": ["organization-id"], "help": {"short": "Organization Id in partner's system"}}, {"type": "string", "var": "$resource.properties.partnerOrganizationProperties.organizationName", "options": ["org-name"], "group": "", "help": {"short": "Organization name in partner's system"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"nullable": true, "type": "object", "var": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties", "options": ["single-sign-on-properties"], "help": {"short": "Single Sign On properties for the organization"}, "args": [{"nullable": true, "type": "array", "var": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.aadDomains", "options": ["aad-domains"], "help": {"short": "List of AAD domains fetched from Microsoft Graph for user."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.enterpriseAppId", "options": ["enterprise-app-id"], "help": {"short": "AAD enterprise application Id used to setup SSO"}}, {"nullable": true, "type": "string", "var": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.singleSignOnState", "options": ["single-sign-on-state"], "help": {"short": "State of the Single Sign On for the organization"}, "enum": {"items": [{"name": "Disable", "value": "Disable"}, {"name": "Enable", "value": "Enable"}, {"name": "Initial", "value": "Initial"}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.singleSignOnUrl", "options": ["single-sign-on-url"], "help": {"short": "URL for SSO to be used by the partner to redirect the user to their system"}}]}]}, {"type": "object", "var": "$resource.properties.userDetails", "options": ["user-details"], "group": "Properties", "help": {"short": "Details of the user."}, "args": [{"nullable": true, "type": "string", "var": "$resource.properties.userDetails.emailAddress", "options": ["email-address"], "help": {"short": "Email address of the user"}, "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"nullable": true, "type": "string", "var": "$resource.properties.userDetails.firstName", "options": ["first-name"], "help": {"short": "First name of the user"}}, {"nullable": true, "type": "string", "var": "$resource.properties.userDetails.lastName", "options": ["last-name"], "help": {"short": "Last name of the user"}}, {"nullable": true, "type": "string", "var": "$resource.properties.userDetails.phoneNumber", "options": ["phone-number"], "help": {"short": "User's phone number"}}, {"nullable": true, "type": "string", "var": "$resource.properties.userDetails.upn", "options": ["upn"], "help": {"short": "User's principal name"}}]}]}, {"name": "Resource", "args": [{"nullable": true, "type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}], "operations": [{"operationId": "Organizations_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "organizationName", "arg": "$Path.organizationName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-08-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Neon.Postgres/organizations/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "companyDetails", "required": true, "props": [{"type": "string", "name": "businessPhone"}, {"type": "string", "name": "companyName"}, {"type": "string", "name": "country"}, {"type": "string", "name": "domain"}, {"type": "integer64", "name": "numberOfEmployees"}, {"type": "string", "name": "officeAddress"}]}, {"type": "object", "name": "marketplaceDetails", "required": true, "props": [{"type": "object", "name": "offerDetails", "required": true, "props": [{"type": "string", "name": "offerId", "required": true}, {"type": "string", "name": "planId", "required": true}, {"type": "string", "name": "planName"}, {"type": "string", "name": "publisherId", "required": true}, {"type": "string", "name": "termId"}, {"type": "string", "name": "termUnit"}]}, {"type": "string", "name": "subscriptionId"}, {"type": "string", "name": "subscriptionStatus", "enum": {"items": [{"value": "PendingFulfillmentStart"}, {"value": "Subscribed"}, {"value": "Suspended"}, {"value": "Unsubscribed"}]}}]}, {"type": "object", "name": "partnerOrganizationProperties", "props": [{"type": "string", "name": "organizationId"}, {"type": "string", "name": "organizationName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "object", "name": "singleSignOnProperties", "props": [{"type": "array", "name": "aadDomains", "item": {"type": "string"}}, {"type": "string", "name": "enterpriseAppId"}, {"type": "string", "name": "singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl"}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "userDetails", "required": true, "props": [{"type": "string", "name": "emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName"}, {"type": "string", "name": "lastName"}, {"type": "string", "name": "phoneNumber"}, {"type": "string", "name": "upn"}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "OrganizationResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "companyDetails", "arg": "$resource.properties.companyDetails", "required": true, "props": [{"type": "string", "name": "businessPhone", "arg": "$resource.properties.companyDetails.businessPhone"}, {"type": "string", "name": "companyName", "arg": "$resource.properties.companyDetails.companyName"}, {"type": "string", "name": "country", "arg": "$resource.properties.companyDetails.country"}, {"type": "string", "name": "domain", "arg": "$resource.properties.companyDetails.domain"}, {"type": "integer64", "name": "numberOfEmployees", "arg": "$resource.properties.companyDetails.numberOfEmployees"}, {"type": "string", "name": "officeAddress", "arg": "$resource.properties.companyDetails.officeAddress"}]}, {"type": "object", "name": "partnerOrganizationProperties", "arg": "$resource.properties.partnerOrganizationProperties", "props": [{"type": "string", "name": "organizationId", "arg": "$resource.properties.partnerOrganizationProperties.organizationId"}, {"type": "string", "name": "organizationName", "arg": "$resource.properties.partnerOrganizationProperties.organizationName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "object", "name": "singleSignOnProperties", "arg": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties", "props": [{"type": "array", "name": "aadDomains", "arg": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.aadDomains", "item": {"type": "string"}}, {"type": "string", "name": "enterpriseAppId", "arg": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.enterpriseAppId"}, {"type": "string", "name": "singleSignOnState", "arg": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.singleSignOnState", "enum": {"items": [{"value": "Disable"}, {"value": "Enable"}, {"value": "Initial"}]}}, {"type": "string", "name": "singleSignOnUrl", "arg": "$resource.properties.partnerOrganizationProperties.singleSignOnProperties.singleSignOnUrl"}]}]}, {"type": "object", "name": "userDetails", "arg": "$resource.properties.userDetails", "required": true, "props": [{"type": "string", "name": "emailAddress", "arg": "$resource.properties.userDetails.emailAddress", "format": {"pattern": "^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$"}}, {"type": "string", "name": "firstName", "arg": "$resource.properties.userDetails.firstName"}, {"type": "string", "name": "lastName", "arg": "$resource.properties.userDetails.lastName"}, {"type": "string", "name": "phoneNumber", "arg": "$resource.properties.userDetails.phoneNumber"}, {"type": "string", "name": "upn", "arg": "$resource.properties.userDetails.upn"}]}]}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Organizations_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "organizationName", "arg": "$Path.organizationName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_\\-.: ]*$", "maxLength": 50, "minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-08-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@OrganizationResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25lb24ucG9zdGdyZXMvb3JnYW5pemF0aW9ucy97fQ==/2024-08-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25lb24ucG9zdGdyZXMvb3JnYW5pemF0aW9ucy97fQ==/2024-08-01-preview.xml index 934e60f22..bc49d6056 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25lb24ucG9zdGdyZXMvb3JnYW5pemF0aW9ucy97fQ==/2024-08-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL25lb24ucG9zdGdyZXMvb3JnYW5pemF0aW9ucy97fQ==/2024-08-01-preview.xml @@ -74,7 +74,7 @@ - + @@ -582,7 +582,7 @@ - +