Skip to content

Commit

Permalink
[Fix] Org name
Browse files Browse the repository at this point in the history
  • Loading branch information
almasak committed Oct 21, 2024
1 parent 880ef6f commit f3d9056
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Commands/neon/postgres/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ Create a Neon Resource

- Organizations_CreateOrUpdate
```bash
neon postgres create --resource-group <resource-group-name> --organization-name <organization-name> --name <neon-resource-name> --location <location> --subscription <subscription-id> --marketplace-details "{subscription-id:<marketplace-subscription-id>,subscription-status:PendingFulfillmentStart,offer-details:{publisher-id:<publisher-id>,offer-id:<offer-id>,plan-id:<plan-id>,plan-name:'Neon Serverless Postgres - Free (Test_Liftr)',term-unit:P1M,term-id:<term-id>}}" --user-details "{first-name:<first-name>,last-name:<last-name>,email-address:<email>,upn:<upn>,phone-number:<phone-number>}" --company-details "{company-name:'<company-name>',country:<country>,business-phone:<business-phone>,office-address:'<office-address>',domain:<domain>,number-of-employees:<number-of-employees>}" --partner-organization-properties "{organization-id:<organization-id>,organization-name:'<partner-organization-name>',single-sign-on-properties:{single-sign-on-state:Enable,enterprise-app-id:<enterprise-app-id>,single-sign-on-url:'<sso-url>',aad-domains:['<aad-domain>']}}"
neon postgres create --resource-group <resource-group-name> --name <neon-resource-name> --location <location> --subscription <subscription-id> --marketplace-details "{subscription-id:<marketplace-subscription-id>,subscription-status:PendingFulfillmentStart,offer-details:{publisher-id:<publisher-id>,offer-id:<offer-id>,plan-id:<plan-id>,plan-name:'Neon Serverless Postgres - Free (Test_Liftr)',term-unit:P1M,term-id:<term-id>}}" --user-details "{first-name:<first-name>,last-name:<last-name>,email-address:<email>,upn:<upn>,phone-number:<phone-number>}" --company-details "{company-name:'<company-name>',country:<country>,business-phone:<business-phone>,office-address:'<office-address>',domain:<domain>,number-of-employees:<number-of-employees>}" --partner-organization-properties "{organization-id:<organization-id>,org-name:'<partner-organization-name>',single-sign-on-properties:{single-sign-on-state:Enable,enterprise-app-id:<enterprise-app-id>,single-sign-on-url:'<sso-url>',aad-domains:['<aad-domain>']}}"
```
2 changes: 1 addition & 1 deletion Commands/neon/postgres/organization/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ Delete a Neon Resource

- Organizations_Delete
```bash
neon postgres organization delete --subscription <subscription-id> --resource-group <resource-group-name> --name <organization-name>
neon postgres organization delete --subscription <subscription-id> --resource-group <resource-group-name> --name <resource-name>
```
2 changes: 1 addition & 1 deletion Commands/neon/postgres/organization/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ Get a Neon Resource

- Organizations_Get
```bash
neon postgres organization show --subscription <subscription-id> --resource-group <resource-group-name> --name <organization-name>
neon postgres organization show --subscription <subscription-id> --resource-group <resource-group-name> --name <resource-name>
```
2 changes: 1 addition & 1 deletion Commands/neon/postgres/organization/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ Update a Neon Resource

- Organization_Update
```bash
az neon postgres organization update --resource-group <resource-group-name> --organization-name <organization-name> --user-details "{first-name:<first-name>,last-name:<last-name>,email-address:<email-address>,upn:<upn>,phone-number:<phone-number>}" --company-details "{company-name:<company-name>,country:<country>,office-address:<office-address>,business-phone:<business-phone>,domain:<domain>,number-of-employees:<number-of-employees>}" --partner-organization-properties "{organization-id:<organization-id>,organization-name:<organization-name>,single-sign-on-properties:{single-sign-on-state:<single-sign-on-state>,enterprise-app-id:<enterprise-app-id>,single-sign-on-url:<single-sign-on-url>,aad-domains:[<aad-domain>]}}" --tags "{<key>:<value>}"
az neon postgres organization update --resource-group <resource-group-name> --name <resource-name> --user-details "{first-name:<first-name>,last-name:<last-name>,email-address:<email-address>,upn:<upn>,phone-number:<phone-number>}" --company-details "{company-name:<company-name>,country:<country>,office-address:<office-address>,business-phone:<business-phone>,domain:<domain>,number-of-employees:<number-of-employees>}" --partner-organization-properties "{organization-id:<organization-id>,org-name:<organization-name>,single-sign-on-properties:{single-sign-on-state:<single-sign-on-state>,enterprise-app-id:<enterprise-app-id>,single-sign-on-url:<single-sign-on-url>,aad-domains:[<aad-domain>]}}" --tags "{<key>:<value>}"
```
8 changes: 4 additions & 4 deletions Commands/tree.json
Original file line number Diff line number Diff line change
Expand Up @@ -72816,7 +72816,7 @@
"examples": [
{
"commands": [
"neon postgres organization delete --subscription <subscription-id> --resource-group <resource-group-name> --name <organization-name>"
"neon postgres organization delete --subscription <subscription-id> --resource-group <resource-group-name> --name <resource-name>"
],
"name": "Organizations_Delete"
}
Expand Down Expand Up @@ -72885,7 +72885,7 @@
"examples": [
{
"commands": [
"neon postgres organization show --subscription <subscription-id> --resource-group <resource-group-name> --name <organization-name>"
"neon postgres organization show --subscription <subscription-id> --resource-group <resource-group-name> --name <resource-name>"
],
"name": "Organizations_Get"
}
Expand Down Expand Up @@ -72917,7 +72917,7 @@
"examples": [
{
"commands": [
"az neon postgres organization update --resource-group <resource-group-name> --organization-name <organization-name> --user-details \"{first-name:<first-name>,last-name:<last-name>,email-address:<email-address>,upn:<upn>,phone-number:<phone-number>}\" --company-details \"{company-name:<company-name>,country:<country>,office-address:<office-address>,business-phone:<business-phone>,domain:<domain>,number-of-employees:<number-of-employees>}\" --partner-organization-properties \"{organization-id:<organization-id>,organization-name:<organization-name>,single-sign-on-properties:{single-sign-on-state:<single-sign-on-state>,enterprise-app-id:<enterprise-app-id>,single-sign-on-url:<single-sign-on-url>,aad-domains:[<aad-domain>]}}\" --tags \"{<key>:<value>}\""
"az neon postgres organization update --resource-group <resource-group-name> --name <resource-name> --user-details \"{first-name:<first-name>,last-name:<last-name>,email-address:<email-address>,upn:<upn>,phone-number:<phone-number>}\" --company-details \"{company-name:<company-name>,country:<country>,office-address:<office-address>,business-phone:<business-phone>,domain:<domain>,number-of-employees:<number-of-employees>}\" --partner-organization-properties \"{organization-id:<organization-id>,org-name:<organization-name>,single-sign-on-properties:{single-sign-on-state:<single-sign-on-state>,enterprise-app-id:<enterprise-app-id>,single-sign-on-url:<single-sign-on-url>,aad-domains:[<aad-domain>]}}\" --tags \"{<key>:<value>}\""
],
"name": "Organization_Update"
}
Expand Down Expand Up @@ -72960,7 +72960,7 @@
"examples": [
{
"commands": [
"neon postgres create --resource-group <resource-group-name> --organization-name <organization-name> --name <neon-resource-name> --location <location> --subscription <subscription-id> --marketplace-details \"{subscription-id:<marketplace-subscription-id>,subscription-status:PendingFulfillmentStart,offer-details:{publisher-id:<publisher-id>,offer-id:<offer-id>,plan-id:<plan-id>,plan-name:'Neon Serverless Postgres - Free (Test_Liftr)',term-unit:P1M,term-id:<term-id>}}\" --user-details \"{first-name:<first-name>,last-name:<last-name>,email-address:<email>,upn:<upn>,phone-number:<phone-number>}\" --company-details \"{company-name:'<company-name>',country:<country>,business-phone:<business-phone>,office-address:'<office-address>',domain:<domain>,number-of-employees:<number-of-employees>}\" --partner-organization-properties \"{organization-id:<organization-id>,organization-name:'<partner-organization-name>',single-sign-on-properties:{single-sign-on-state:Enable,enterprise-app-id:<enterprise-app-id>,single-sign-on-url:'<sso-url>',aad-domains:['<aad-domain>']}}\""
"neon postgres create --resource-group <resource-group-name> --name <neon-resource-name> --location <location> --subscription <subscription-id> --marketplace-details \"{subscription-id:<marketplace-subscription-id>,subscription-status:PendingFulfillmentStart,offer-details:{publisher-id:<publisher-id>,offer-id:<offer-id>,plan-id:<plan-id>,plan-name:'Neon Serverless Postgres - Free (Test_Liftr)',term-unit:P1M,term-id:<term-id>}}\" --user-details \"{first-name:<first-name>,last-name:<last-name>,email-address:<email>,upn:<upn>,phone-number:<phone-number>}\" --company-details \"{company-name:'<company-name>',country:<country>,business-phone:<business-phone>,office-address:'<office-address>',domain:<domain>,number-of-employees:<number-of-employees>}\" --partner-organization-properties \"{organization-id:<organization-id>,org-name:'<partner-organization-name>',single-sign-on-properties:{single-sign-on-state:Enable,enterprise-app-id:<enterprise-app-id>,single-sign-on-url:'<sso-url>',aad-domains:['<aad-domain>']}}\""
],
"name": "Organizations_CreateOrUpdate"
}
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<command name="create" version="2024-08-01-preview" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/neon.postgres/organizations/{}" version="2024-08-01-preview" swagger="mgmt-plane/liftrneon/ResourceProviders/Neon.Postgres/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZW9uLlBvc3RncmVzL29yZ2FuaXphdGlvbnMve29yZ2FuaXphdGlvbk5hbWV9/V/MjAyNC0wOC0wMS1wcmV2aWV3"/>
<argGroup name="">
<arg type="string" var="$Path.organizationName" options="organization-name name n" required="True" group="" idPart="name">
<arg type="string" var="$Path.organizationName" options="name n" 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"/>
</arg>
Expand Down Expand Up @@ -79,7 +79,7 @@
<arg type="string" var="$resource.properties.partnerOrganizationProperties.organizationId" options="organization-id">
<help short="Organization Id in partner's system"/>
</arg>
<arg type="string" var="$resource.properties.partnerOrganizationProperties.organizationName" options="organization-name" required="True">
<arg 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"/>
</arg>
Expand Down Expand Up @@ -347,7 +347,7 @@
<command name="show" version="2024-08-01-preview" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/neon.postgres/organizations/{}" version="2024-08-01-preview" swagger="mgmt-plane/liftrneon/ResourceProviders/Neon.Postgres/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZW9uLlBvc3RncmVzL29yZ2FuaXphdGlvbnMve29yZ2FuaXphdGlvbk5hbWV9/V/MjAyNC0wOC0wMS1wcmV2aWV3"/>
<argGroup name="">
<arg type="string" var="$Path.organizationName" options="organization-name name n" required="True" group="" idPart="name">
<arg type="string" var="$Path.organizationName" options="name n" 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"/>
</arg>
Expand Down Expand Up @@ -497,7 +497,7 @@
<command name="delete" version="2024-08-01-preview" confirmation="Are you sure you want to perform this operation?">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/neon.postgres/organizations/{}" version="2024-08-01-preview" swagger="mgmt-plane/liftrneon/ResourceProviders/Neon.Postgres/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZW9uLlBvc3RncmVzL29yZ2FuaXphdGlvbnMve29yZ2FuaXphdGlvbk5hbWV9/V/MjAyNC0wOC0wMS1wcmV2aWV3"/>
<argGroup name="">
<arg type="string" var="$Path.organizationName" options="organization-name name n" required="True" group="" idPart="name">
<arg type="string" var="$Path.organizationName" options="name n" 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"/>
</arg>
Expand Down Expand Up @@ -549,7 +549,7 @@
<command name="update" version="2024-08-01-preview" confirmation="">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/neon.postgres/organizations/{}" version="2024-08-01-preview" swagger="mgmt-plane/liftrneon/ResourceProviders/Neon.Postgres/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9OZW9uLlBvc3RncmVzL29yZ2FuaXphdGlvbnMve29yZ2FuaXphdGlvbk5hbWV9/V/MjAyNC0wOC0wMS1wcmV2aWV3"/>
<argGroup name="">
<arg type="string" var="$Path.organizationName" options="organization-name name n" required="True" group="" idPart="name">
<arg type="string" var="$Path.organizationName" options="name n" 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"/>
</arg>
Expand Down Expand Up @@ -587,7 +587,7 @@
<arg nullable="True" type="string" var="$resource.properties.partnerOrganizationProperties.organizationId" options="organization-id">
<help short="Organization Id in partner's system"/>
</arg>
<arg type="string" var="$resource.properties.partnerOrganizationProperties.organizationName" options="organization-name">
<arg 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"/>
</arg>
Expand Down

0 comments on commit f3d9056

Please sign in to comment.