Skip to content

Commit

Permalink
[Fix] Examples
Browse files Browse the repository at this point in the history
  • Loading branch information
almasak committed Oct 22, 2024
1 parent 50c8dac commit bf456a6
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 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> --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>']}}"
neon postgres create --resource-group demoResourceGroup --name demoNeonResource --location eastus --subscription 12345678-1234-1234-1234-123456789abc --marketplace-details "{subscription-id:abcd1234-5678-90ab-cdef-12345678abcd,subscription-status:PendingFulfillmentStart,offer-details:{publisher-id:microsoft,offer-id:neon-postgres,plan-id:serverless-plan,plan-name:'Neon Serverless Postgres - Free (Test_Liftr)',term-unit:P1M,term-id:term1234}}" --user-details "{first-name:John,last-name:Doe,email-address:[email protected],upn:johndoe,phone-number:+1234567890}" --company-details "{company-name:'DemoCompany',country:USA,business-phone:+9876543210,office-address:'123 Azure Ave, Redmond, WA',domain:democompany.com,number-of-employees:1000}" --partner-organization-properties "{organization-id:org-5678,org-name:'PartnerOrg',single-sign-on-properties:{single-sign-on-state:Enable,enterprise-app-id:app-9876,single-sign-on-url:'https://sso.partnerorg.com',aad-domains:['partnerorg.com']}}"
```
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 <resource-name>
neon postgres organization delete --subscription 12345678-1234-1234-1234-123456789abc --resource-group demoResourceGroup --name demoNeonResource
```
2 changes: 1 addition & 1 deletion Commands/neon/postgres/organization/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ List Neon resources by subscription ID

- Organizations_ListBySubscription
```bash
neon postgres organization list --subscription <subscription-id> --resource-group <resource-group-name>
neon postgres organization list --subscription 12345678-1234-1234-1234-123456789abc --resource-group demoResourceGroup
```
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 <resource-name>
neon postgres organization show --subscription 12345678-1234-1234-1234-123456789abc --resource-group demoResourceGroup --name demoNeonResource
```
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> --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>}"
az neon postgres organization update --resource-group demoResourceGroup --name demoNeonResource --user-details "{first-name:John,last-name:Doe,email-address:[email protected],upn:johndoe,phone-number:+1234567890}" --company-details "{company-name:DemoCompany,country:USA,office-address:'123 Azure Ave, Redmond, WA',business-phone:+9876543210,domain:democompany.com,number-of-employees:1000}" --partner-organization-properties "{organization-id:org-5678,org-name:PartnerOrg,single-sign-on-properties:{single-sign-on-state:Enable,enterprise-app-id:app-9876,single-sign-on-url:'https://sso.partnerorg.com',aad-domains:['partnerorg.com']}}" --tags "{environment:production}"
```
10 changes: 5 additions & 5 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 <resource-name>"
"neon postgres organization delete --subscription 12345678-1234-1234-1234-123456789abc --resource-group demoResourceGroup --name demoNeonResource"
],
"name": "Organizations_Delete"
}
Expand Down Expand Up @@ -72848,7 +72848,7 @@
"examples": [
{
"commands": [
"neon postgres organization list --subscription <subscription-id> --resource-group <resource-group-name>"
"neon postgres organization list --subscription 12345678-1234-1234-1234-123456789abc --resource-group demoResourceGroup"
],
"name": "Organizations_ListBySubscription"
}
Expand Down Expand Up @@ -72885,7 +72885,7 @@
"examples": [
{
"commands": [
"neon postgres organization show --subscription <subscription-id> --resource-group <resource-group-name> --name <resource-name>"
"neon postgres organization show --subscription 12345678-1234-1234-1234-123456789abc --resource-group demoResourceGroup --name demoNeonResource"
],
"name": "Organizations_Get"
}
Expand Down Expand Up @@ -72917,7 +72917,7 @@
"examples": [
{
"commands": [
"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>}\""
"az neon postgres organization update --resource-group demoResourceGroup --name demoNeonResource --user-details \"{first-name:John,last-name:Doe,email-address:[email protected],upn:johndoe,phone-number:+1234567890}\" --company-details \"{company-name:DemoCompany,country:USA,office-address:'123 Azure Ave, Redmond, WA',business-phone:+9876543210,domain:democompany.com,number-of-employees:1000}\" --partner-organization-properties \"{organization-id:org-5678,org-name:PartnerOrg,single-sign-on-properties:{single-sign-on-state:Enable,enterprise-app-id:app-9876,single-sign-on-url:'https://sso.partnerorg.com',aad-domains:['partnerorg.com']}}\" --tags \"{environment:production}\""
],
"name": "Organization_Update"
}
Expand Down Expand Up @@ -72960,7 +72960,7 @@
"examples": [
{
"commands": [
"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>']}}\""
"neon postgres create --resource-group demoResourceGroup --name demoNeonResource --location eastus --subscription 12345678-1234-1234-1234-123456789abc --marketplace-details \"{subscription-id:abcd1234-5678-90ab-cdef-12345678abcd,subscription-status:PendingFulfillmentStart,offer-details:{publisher-id:microsoft,offer-id:neon-postgres,plan-id:serverless-plan,plan-name:'Neon Serverless Postgres - Free (Test_Liftr)',term-unit:P1M,term-id:term1234}}\" --user-details \"{first-name:John,last-name:Doe,email-address:[email protected],upn:johndoe,phone-number:+1234567890}\" --company-details \"{company-name:'DemoCompany',country:USA,business-phone:+9876543210,office-address:'123 Azure Ave, Redmond, WA',domain:democompany.com,number-of-employees:1000}\" --partner-organization-properties \"{organization-id:org-5678,org-name:'PartnerOrg',single-sign-on-properties:{single-sign-on-state:Enable,enterprise-app-id:app-9876,single-sign-on-url:'https://sso.partnerorg.com',aad-domains:['partnerorg.com']}}\""
],
"name": "Organizations_CreateOrUpdate"
}
Expand Down

0 comments on commit bf456a6

Please sign in to comment.