-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[PostgreSQL Flexible Server] Onboard to latest Stable release #29244
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
base: main
Are you sure you want to change the base?
Changes from all commits
c6ae636
e222609
87f8dda
bffdc09
4957d13
af3fe11
d23bf71
62c0f51
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| * text=auto |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,16 @@ | ||||||||||||||||||||
| bin | ||||||||||||||||||||
| obj | ||||||||||||||||||||
| .vs | ||||||||||||||||||||
| generated | ||||||||||||||||||||
| internal | ||||||||||||||||||||
| exports | ||||||||||||||||||||
| tools | ||||||||||||||||||||
| test/*-TestResults.xml | ||||||||||||||||||||
| license.txt | ||||||||||||||||||||
| /*.ps1 | ||||||||||||||||||||
| /*.psd1 | ||||||||||||||||||||
| /*.ps1xml | ||||||||||||||||||||
| /*.psm1 | ||||||||||||||||||||
| /*.snk | ||||||||||||||||||||
| /*.csproj | ||||||||||||||||||||
| /*.nuspec | ||||||||||||||||||||
|
Comment on lines
+9
to
+16
|
||||||||||||||||||||
| license.txt | |
| /*.ps1 | |
| /*.psd1 | |
| /*.ps1xml | |
| /*.psm1 | |
| /*.snk | |
| /*.csproj | |
| /*.nuspec | |
| license.txt |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. See License.txt in the project root for license information. | ||
| // Changes may cause incorrect behavior and will be lost if the code is regenerated. | ||
| // 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 - PostgreSqlManagementClient")] | ||
| [assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0")] | ||
| [assembly: System.Reflection.AssemblyVersionAttribute("0.1.0")] | ||
| [assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] | ||
| [assembly: System.CLSCompliantAttribute(false)] | ||
|
|
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,24 @@ | ||||||
| <!-- region Generated --> | ||||||
| # Az.PostgreSQLFlexibleServer | ||||||
| This directory contains the PowerShell module for the PostgreSqlFlexibleServer service. | ||||||
|
||||||
| This directory contains the PowerShell module for the PostgreSqlFlexibleServer service. | |
| This directory contains the PowerShell module for the PostgreSQL Flexible Server service. |
Copilot
AI
Mar 6, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR adds only src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/ without the usual sibling module project folder and .sln (for example, src/EdgeAction/EdgeAction/ + src/EdgeAction/EdgeAction.sln) that the repo build uses. If this is meant to ship as a module, add the missing project/solution (and the required ChangeLog.md) or document how it is built and packaged.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,95 @@ | ||
| { | ||
| "resourceType": "flexibleServers/administrators", | ||
| "apiVersion": "2026-01-01-preview", | ||
| "learnMore": { | ||
| "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver" | ||
| }, | ||
| "commands": [ | ||
| { | ||
| "name": "Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra", | ||
| "description": "Gets information about a server administrator associated to a Microsoft Entra principal.", | ||
| "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}", | ||
| "help": { | ||
| "learnMore": { | ||
| "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserveradministratorsmicrosoftentra" | ||
| }, | ||
| "parameterSets": [ | ||
| { | ||
| "parameters": [ | ||
| "-ObjectId <String>", | ||
| "-ResourceGroupName <String>", | ||
| "-ServerName <String>", | ||
| "[-SubscriptionId <String[]>]" | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| "examples": [ | ||
| { | ||
| "description": "Gets information about a server administrator associated to a Microsoft Entra principal.", | ||
| "parameters": [ | ||
| { | ||
| "name": "-ObjectId", | ||
| "value": "[Path.objectId]" | ||
| }, | ||
| { | ||
| "name": "-ResourceGroupName", | ||
| "value": "[Path.resourceGroupName]" | ||
| }, | ||
| { | ||
| "name": "-ServerName", | ||
| "value": "[Path.serverName]" | ||
| }, | ||
| { | ||
| "name": "-SubscriptionId", | ||
| "value": "[Path.subscriptionId]" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "name": "Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra", | ||
| "description": "Deletes an existing server administrator associated to a Microsoft Entra principal.", | ||
| "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}", | ||
| "help": { | ||
| "learnMore": { | ||
| "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleserveradministratorsmicrosoftentra" | ||
| }, | ||
| "parameterSets": [ | ||
| { | ||
| "parameters": [ | ||
| "-ObjectId <String>", | ||
| "-ResourceGroupName <String>", | ||
| "-ServerName <String>", | ||
| "[-SubscriptionId <String>]" | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| "examples": [ | ||
| { | ||
| "description": "Deletes an existing server administrator associated to a Microsoft Entra principal.", | ||
| "parameters": [ | ||
| { | ||
| "name": "-ObjectId", | ||
| "value": "[Path.objectId]" | ||
| }, | ||
| { | ||
| "name": "-ResourceGroupName", | ||
| "value": "[Path.resourceGroupName]" | ||
| }, | ||
| { | ||
| "name": "-ServerName", | ||
| "value": "[Path.serverName]" | ||
| }, | ||
| { | ||
| "name": "-SubscriptionId", | ||
| "value": "[Path.subscriptionId]" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| { | ||
| "resourceType": "flexibleServers/advancedThreatProtectionSettings", | ||
| "apiVersion": "2026-01-01-preview", | ||
| "learnMore": { | ||
| "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver" | ||
| }, | ||
| "commands": [ | ||
| { | ||
| "name": "Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting", | ||
| "description": "Gets state of advanced threat protection settings for a server.", | ||
| "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/advancedThreatProtectionSettings/{threatProtectionName}", | ||
| "help": { | ||
| "learnMore": { | ||
| "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserveradvancedthreatprotectionsetting" | ||
| }, | ||
| "parameterSets": [ | ||
| { | ||
| "parameters": [ | ||
| "-ResourceGroupName <String>", | ||
| "-ServerName <String>", | ||
| "[-SubscriptionId <String[]>]" | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| "examples": [ | ||
| { | ||
| "description": "Gets state of advanced threat protection settings for a server.", | ||
| "parameters": [ | ||
| { | ||
| "name": "-ResourceGroupName", | ||
| "value": "[Path.resourceGroupName]" | ||
| }, | ||
| { | ||
| "name": "-ServerName", | ||
| "value": "[Path.serverName]" | ||
| }, | ||
| { | ||
| "name": "-SubscriptionId", | ||
| "value": "[Path.subscriptionId]" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,95 @@ | ||
| { | ||
| "resourceType": "flexibleServers/backups", | ||
| "apiVersion": "2026-01-01-preview", | ||
| "learnMore": { | ||
| "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver" | ||
| }, | ||
| "commands": [ | ||
| { | ||
| "name": "Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand", | ||
| "description": "Gets information of an on demand backup, given its name.", | ||
| "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups/{backupName}", | ||
| "help": { | ||
| "learnMore": { | ||
| "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverbackupsautomaticandondemand" | ||
| }, | ||
| "parameterSets": [ | ||
| { | ||
| "parameters": [ | ||
| "-BackupName <String>", | ||
| "-ResourceGroupName <String>", | ||
| "-ServerName <String>", | ||
| "[-SubscriptionId <String[]>]" | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| "examples": [ | ||
| { | ||
| "description": "Gets information of an on demand backup, given its name.", | ||
| "parameters": [ | ||
| { | ||
| "name": "-BackupName", | ||
| "value": "[Path.backupName]" | ||
| }, | ||
| { | ||
| "name": "-ResourceGroupName", | ||
| "value": "[Path.resourceGroupName]" | ||
| }, | ||
| { | ||
| "name": "-ServerName", | ||
| "value": "[Path.serverName]" | ||
| }, | ||
| { | ||
| "name": "-SubscriptionId", | ||
| "value": "[Path.subscriptionId]" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "name": "Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand", | ||
| "description": "Deletes a specific backup, given its name.", | ||
| "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups/{backupName}", | ||
| "help": { | ||
| "learnMore": { | ||
| "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleserverbackupsautomaticandondemand" | ||
| }, | ||
| "parameterSets": [ | ||
| { | ||
| "parameters": [ | ||
| "-BackupName <String>", | ||
| "-ResourceGroupName <String>", | ||
| "-ServerName <String>", | ||
| "[-SubscriptionId <String>]" | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| "examples": [ | ||
| { | ||
| "description": "Deletes a specific backup, given its name.", | ||
| "parameters": [ | ||
| { | ||
| "name": "-BackupName", | ||
| "value": "[Path.backupName]" | ||
| }, | ||
| { | ||
| "name": "-ResourceGroupName", | ||
| "value": "[Path.resourceGroupName]" | ||
| }, | ||
| { | ||
| "name": "-ServerName", | ||
| "value": "[Path.serverName]" | ||
| }, | ||
| { | ||
| "name": "-SubscriptionId", | ||
| "value": "[Path.subscriptionId]" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| { | ||
| "resourceType": "flexibleServers/configurations", | ||
| "apiVersion": "2026-01-01-preview", | ||
| "learnMore": { | ||
| "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver" | ||
| }, | ||
| "commands": [ | ||
| { | ||
| "name": "Get-AzPostgreSqlFlexibleServerConfiguration", | ||
| "description": "Gets information about a specific configuration (also known as server parameter) of a server.", | ||
| "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/configurations/{configurationName}", | ||
| "help": { | ||
| "learnMore": { | ||
| "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverconfiguration" | ||
| }, | ||
| "parameterSets": [ | ||
| { | ||
| "parameters": [ | ||
| "-Name <String>", | ||
| "-ResourceGroupName <String>", | ||
| "-ServerName <String>", | ||
| "[-SubscriptionId <String[]>]" | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| "examples": [ | ||
| { | ||
| "description": "Gets information about a specific configuration (also known as server parameter) of a server.", | ||
| "parameters": [ | ||
| { | ||
| "name": "-Name", | ||
| "value": "[Path.configurationName]" | ||
| }, | ||
| { | ||
| "name": "-ResourceGroupName", | ||
| "value": "[Path.resourceGroupName]" | ||
| }, | ||
| { | ||
| "name": "-ServerName", | ||
| "value": "[Path.serverName]" | ||
| }, | ||
| { | ||
| "name": "-SubscriptionId", | ||
| "value": "[Path.subscriptionId]" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These root-level ignore patterns for the AutoRest module folder will prevent committing key module scaffolding files if they exist at the repo root of
PostgreSQLFlexibleServer.Autorest(for example build/test scripts, manifests, or project files). Consider removing or narrowing these patterns so they only ignore generated artifacts (e.g.,bin/,obj/,generated/,exports/) rather than broad file-type globs.