-
Notifications
You must be signed in to change notification settings - Fork 4k
Neon GA PowerShell CLI Command lets #27669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
alluri02
wants to merge
43
commits into
Azure:main
Choose a base branch
from
alluri02:neon-ga-ps-cli-generator
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
5fff3b2
updated the commitId and version
f7538d5
updated module version and removed unused operations
67cb690
updated the ReadMe.md
ce1e95f
added neon postgres project, branches, databases commands
a00e89a
Merge branch 'Azure:main' into neon-ga-ps-cli-generator
alluri02 21472af
Merge branch 'main' of https://github.com/Azure/azure-powershell into…
31bba14
Merge branch 'neon-ga-ps-cli-generator' of https://github.com/alluri0…
3b0a0a0
Merge branch 'main' of https://github.com/Azure/azure-powershell into…
6a041dc
update a new commit id and updated the commands
ed0c260
updated the change log
c4b35b4
Merge branch 'main' of https://github.com/Azure/azure-powershell into…
eaf33de
merge from main
db91550
updated the tests
a59d8c2
Merge branch 'main' of https://github.com/Azure/azure-powershell into…
9690b28
updated the tests
56b82b1
Merge branch 'main' of https://github.com/Azure/azure-powershell into…
d62e6a6
Merge branch 'main' of https://github.com/Azure/azure-powershell into…
9b85177
Merge branch 'main' of https://github.com/Azure/azure-powershell into…
74e1f6c
updated the tests and commands
5104542
updated the help docs with sample commands and examples
ef45cf3
updated the docs with proper description , commands and examples
4ecbee2
updated the examples
d2590ec
updated the branch description in all files
3d24333
removed update project command as it is not in scope
45ee53c
added readme by autorest
958aaef
Merge branch 'main' of https://github.com/Azure/azure-powershell into…
4c653ab
updated test recordings
bf541c8
Merge branch 'main' of https://github.com/Azure/azure-powershell into…
bf1c817
updated the generated folder with main branch
58b2111
updated the examples with commands and description
0812483
updated the auto generated files
68bac0b
fix build failures
d82e335
update neon database examples
3fabbc7
update neon database examples in help docs
9dd931d
Merge branch 'main' of https://github.com/Azure/azure-powershell into…
6be5875
update Get az neon postgres neon database
4a517e4
Merge branch 'main' of https://github.com/Azure/azure-powershell into…
5a8f944
updated the example outputs in all the docs and examples
d58604e
update changelog as per review comments
b1e4df1
Merge branch 'main' of https://github.com/Azure/azure-powershell into…
a8790a7
update new project command with example output
a8ff124
updated the test recording
5bc1ca6
recorded test for all the commands
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
src/NeonPostgres/NeonPostgres.Autorest/Properties/AssemblyInfo.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the Apache License, Version 2.0 (the ""License""); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an ""AS IS"" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code | ||
// is regenerated. | ||
|
||
using System; | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
using System.Runtime.InteropServices; | ||
|
||
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")] | ||
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")] | ||
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")] | ||
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - NeonPostgres")] | ||
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.1")] | ||
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.1")] | ||
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] | ||
[assembly: System.CLSCompliantAttribute(false)] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
105 changes: 105 additions & 0 deletions
105
src/NeonPostgres/NeonPostgres.Autorest/UX/Neon.Postgres/organizations-projects-branches.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
{ | ||
"resourceType": "organizations/projects/branches", | ||
"apiVersion": "2025-03-01", | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.neonpostgres" | ||
}, | ||
"commands": [ | ||
{ | ||
"name": "Get-AzNeonPostgresBranch", | ||
"description": "Get a Branch", | ||
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}", | ||
"help": { | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.neonpostgres/get-azneonpostgresbranch" | ||
}, | ||
"parameterSets": [ | ||
{ | ||
"parameters": [ | ||
"-Name <String>", | ||
"-OrganizationName <String>", | ||
"-ProjectName <String>", | ||
"-ResourceGroupName <String>", | ||
"[-SubscriptionId <String[]>]" | ||
] | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"description": "Get a Branch", | ||
"parameters": [ | ||
{ | ||
"name": "-Name", | ||
"value": "[Path.branchName]" | ||
}, | ||
{ | ||
"name": "-OrganizationName", | ||
"value": "[Path.organizationName]" | ||
}, | ||
{ | ||
"name": "-ProjectName", | ||
"value": "[Path.projectName]" | ||
}, | ||
{ | ||
"name": "-ResourceGroupName", | ||
"value": "[Path.resourceGroupName]" | ||
}, | ||
{ | ||
"name": "-SubscriptionId", | ||
"value": "[Path.subscriptionId]" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Remove-AzNeonPostgresBranch", | ||
"description": "Delete a Branch", | ||
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}/branches/{branchName}", | ||
"help": { | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.neonpostgres/remove-azneonpostgresbranch" | ||
}, | ||
"parameterSets": [ | ||
{ | ||
"parameters": [ | ||
"-Name <String>", | ||
"-OrganizationName <String>", | ||
"-ProjectName <String>", | ||
"-ResourceGroupName <String>", | ||
"[-SubscriptionId <String>]" | ||
] | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"description": "Delete a Branch", | ||
"parameters": [ | ||
{ | ||
"name": "-Name", | ||
"value": "[Path.branchName]" | ||
}, | ||
{ | ||
"name": "-OrganizationName", | ||
"value": "[Path.organizationName]" | ||
}, | ||
{ | ||
"name": "-ProjectName", | ||
"value": "[Path.projectName]" | ||
}, | ||
{ | ||
"name": "-ResourceGroupName", | ||
"value": "[Path.resourceGroupName]" | ||
}, | ||
{ | ||
"name": "-SubscriptionId", | ||
"value": "[Path.subscriptionId]" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
95 changes: 95 additions & 0 deletions
95
src/NeonPostgres/NeonPostgres.Autorest/UX/Neon.Postgres/organizations-projects.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
{ | ||
"resourceType": "organizations/projects", | ||
"apiVersion": "2025-03-01", | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.neonpostgres" | ||
}, | ||
"commands": [ | ||
{ | ||
"name": "Get-AzNeonPostgresProject", | ||
"description": "Get a Project", | ||
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}", | ||
"help": { | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.neonpostgres/get-azneonpostgresproject" | ||
}, | ||
"parameterSets": [ | ||
{ | ||
"parameters": [ | ||
"-Name <String>", | ||
"-OrganizationName <String>", | ||
"-ResourceGroupName <String>", | ||
"[-SubscriptionId <String[]>]" | ||
] | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"description": "Get a Project", | ||
"parameters": [ | ||
{ | ||
"name": "-Name", | ||
"value": "[Path.projectName]" | ||
}, | ||
{ | ||
"name": "-OrganizationName", | ||
"value": "[Path.organizationName]" | ||
}, | ||
{ | ||
"name": "-ResourceGroupName", | ||
"value": "[Path.resourceGroupName]" | ||
}, | ||
{ | ||
"name": "-SubscriptionId", | ||
"value": "[Path.subscriptionId]" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Remove-AzNeonPostgresProject", | ||
"description": "Delete a Project", | ||
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Neon.Postgres/organizations/{organizationName}/projects/{projectName}", | ||
"help": { | ||
"learnMore": { | ||
"url": "https://learn.microsoft.com/powershell/module/az.neonpostgres/remove-azneonpostgresproject" | ||
}, | ||
"parameterSets": [ | ||
{ | ||
"parameters": [ | ||
"-Name <String>", | ||
"-OrganizationName <String>", | ||
"-ResourceGroupName <String>", | ||
"[-SubscriptionId <String>]" | ||
] | ||
} | ||
] | ||
}, | ||
"examples": [ | ||
{ | ||
"description": "Delete a Project", | ||
"parameters": [ | ||
{ | ||
"name": "-Name", | ||
"value": "[Path.projectName]" | ||
}, | ||
{ | ||
"name": "-OrganizationName", | ||
"value": "[Path.organizationName]" | ||
}, | ||
{ | ||
"name": "-ResourceGroupName", | ||
"value": "[Path.resourceGroupName]" | ||
}, | ||
{ | ||
"name": "-SubscriptionId", | ||
"value": "[Path.subscriptionId]" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
2 changes: 1 addition & 1 deletion
2
src/NeonPostgres/NeonPostgres.Autorest/UX/Neon.Postgres/organizations.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.