From c6ae63652eaf5359cbac9aaa7e4e1aab3ced71dd Mon Sep 17 00:00:00 2001 From: Naia Scott Date: Fri, 6 Mar 2026 15:57:32 -0500 Subject: [PATCH 1/7] init --- .../.gitattributes | 1 + .../.gitignore | 16 +++++ .../Properties/AssemblyInfo.cs | 29 ++++++++++ .../README.md | 24 ++++++++ .../Az.PostgreSQLFlexibleServer.custom.psm1 | 17 ++++++ .../custom/README.md | 41 +++++++++++++ .../docs/README.md | 11 ++++ .../examples/README.md | 11 ++++ .../how-to.md | 58 +++++++++++++++++++ .../resources/README.md | 11 ++++ .../test/README.md | 17 ++++++ .../test/loadEnv.ps1 | 29 ++++++++++ .../tsp-location.yaml | 3 + .../tspconfig.yaml | 28 +++++++++ .../utils/Get-SubscriptionIdTestSafe.ps1 | 7 +++ .../utils/Unprotect-SecureString.ps1 | 16 +++++ 16 files changed, 319 insertions(+) create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/.gitattributes create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/.gitignore create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/Properties/AssemblyInfo.cs create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/README.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/custom/Az.PostgreSQLFlexibleServer.custom.psm1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/custom/README.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/README.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/README.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/how-to.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/resources/README.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/README.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/loadEnv.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/tsp-location.yaml create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/tspconfig.yaml create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/utils/Get-SubscriptionIdTestSafe.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/utils/Unprotect-SecureString.ps1 diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/.gitattributes b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/.gitattributes new file mode 100644 index 000000000000..2125666142eb --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/.gitattributes @@ -0,0 +1 @@ +* text=auto \ No newline at end of file diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/.gitignore b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/.gitignore new file mode 100644 index 000000000000..6ec158bd9768 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/.gitignore @@ -0,0 +1,16 @@ +bin +obj +.vs +generated +internal +exports +tools +test/*-TestResults.xml +license.txt +/*.ps1 +/*.psd1 +/*.ps1xml +/*.psm1 +/*.snk +/*.csproj +/*.nuspec \ No newline at end of file diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/Properties/AssemblyInfo.cs b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..a560cf294a44 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/Properties/AssemblyInfo.cs @@ -0,0 +1,29 @@ +// 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.0")] +[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")] +[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] +[assembly: System.CLSCompliantAttribute(false)] \ No newline at end of file diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/README.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/README.md new file mode 100644 index 000000000000..24acb809da70 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/README.md @@ -0,0 +1,24 @@ + +# Az.PostgreSQLFlexibleServer +This directory contains the PowerShell module for the PostgreSqlFlexibleServer service. + +--- +## Info +- Modifiable: yes +- Generated: all +- Committed: yes +- Packaged: yes + +--- +## Detail +This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension. + +## Module Requirements +- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 2.7.5 or greater + +## Authentication +AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent. + +## Development +For information on how to develop for `Az.PostgreSQLFlexibleServer`, see [how-to.md](how-to.md). + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/custom/Az.PostgreSQLFlexibleServer.custom.psm1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/custom/Az.PostgreSQLFlexibleServer.custom.psm1 new file mode 100644 index 000000000000..4523b46c7700 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/custom/Az.PostgreSQLFlexibleServer.custom.psm1 @@ -0,0 +1,17 @@ +# region Generated + # Load the private module dll + $null = Import-Module -PassThru -Name (Join-Path $PSScriptRoot '..\bin\Az.PostgreSQLFlexibleServer.private.dll') + + # Load the internal module + $internalModulePath = Join-Path $PSScriptRoot '..\internal\Az.PostgreSQLFlexibleServer.internal.psm1' + if(Test-Path $internalModulePath) { + $null = Import-Module -Name $internalModulePath + } + + # Export nothing to clear implicit exports + Export-ModuleMember + + # Export script cmdlets + Get-ChildItem -Path $PSScriptRoot -Recurse -Include '*.ps1' -File | ForEach-Object { . $_.FullName } + Export-ModuleMember -Function (Get-ScriptCmdlet -ScriptFolder $PSScriptRoot) -Alias (Get-ScriptCmdlet -ScriptFolder $PSScriptRoot -AsAlias) +# endregion diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/custom/README.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/custom/README.md new file mode 100644 index 000000000000..ab43f653d093 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/custom/README.md @@ -0,0 +1,41 @@ +# Custom +This directory contains custom implementation for non-generated cmdlets for the `Az.PostgreSQLFlexibleServer` module. Both scripts (`.ps1`) and C# files (`.cs`) can be implemented here. They will be used during the build process in `build-module.ps1`, and create cmdlets into the `..\exports` folder. The only generated file into this folder is the `Az.PostgreSQLFlexibleServer.custom.psm1`. This file should not be modified. + +## Info +- Modifiable: yes +- Generated: partial +- Committed: yes +- Packaged: yes + +## Details +For `Az.PostgreSQLFlexibleServer` to use custom cmdlets, it does this two different ways. We **highly recommend** creating script cmdlets, as they are easier to write and allow access to the other exported cmdlets. C# cmdlets *cannot access exported cmdlets*. + +For C# cmdlets, they are compiled with the rest of the generated low-level cmdlets into the `./bin/Az.PostgreSQLFlexibleServer.private.dll`. The names of the cmdlets (methods) and files must follow the `[cmdletName]_[variantName]` syntax used for generated cmdlets. The `variantName` is used as the `ParameterSetName`, so use something appropriate that doesn't clash with already created variant or parameter set names. You cannot use the `ParameterSetName` property in the `Parameter` attribute on C# cmdlets. Each cmdlet must be separated into variants using the same pattern as seen in the `generated/cmdlets` folder. + +For script cmdlets, these are loaded via the `Az.PostgreSQLFlexibleServer.custom.psm1`. Then, during the build process, this module is loaded and processed in the same manner as the C# cmdlets. The fundamental difference is the script cmdlets use the `ParameterSetName` attribute and C# cmdlets do not. To create a script cmdlet variant of a generated cmdlet, simply decorate all parameters in the script with the new `ParameterSetName` in the `Parameter` attribute. This will appropriately treat each parameter set as a separate variant when processed to be exported during the build. + +## Purpose +This allows the modules to have cmdlets that were not defined in the REST specification. It also allows combining logic using generated cmdlets. This is a level of customization beyond what can be done using the [readme configuration options](https://github.com/Azure/autorest/blob/master/docs/powershell/options.md) that are currently available. These custom cmdlets are then referenced by the cmdlets created at build-time in the `..\exports` folder. + +## Usage +The easiest way currently to start developing custom cmdlets is to copy an existing cmdlet. For C# cmdlets, copy one from the `generated/cmdlets` folder. For script cmdlets, build the project using `build-module.ps1` and copy one of the scripts from the `..\exports` folder. After that, if you want to add new parameter sets, follow the guidelines in the `Details` section above. For implementing a new cmdlets, at minimum, please keep these parameters: +- Break +- DefaultProfile +- HttpPipelineAppend +- HttpPipelinePrepend +- Proxy +- ProxyCredential +- ProxyUseDefaultCredentials + +These provide functionality to our HTTP pipeline and other useful features. In script, you can forward these parameters using `$PSBoundParameters` to the other cmdlets you're calling within `Az.PostgreSQLFlexibleServer`. For C#, follow the usage seen in the `ProcessRecordAsync` method. + +### Attributes +For processing the cmdlets, we've created some additional attributes: +- `Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.DescriptionAttribute` + - Used in C# cmdlets to provide a high-level description of the cmdlet. This is propagated to reference documentation via [help comments](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) in the exported scripts. +- `Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.DoNotExportAttribute` + - Used in C# and script cmdlets to suppress creating an exported cmdlet at build-time. These cmdlets will *not be exposed* by `Az.PostgreSQLFlexibleServer`. +- `Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.InternalExportAttribute` + - Used in C# cmdlets to route exported cmdlets to the `..\internal`, which are *not exposed* by `Az.PostgreSQLFlexibleServer`. For more information, see [README.md](..\internal/README.md) in the `..\internal` folder. +- `Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.ProfileAttribute` + - Used in C# and script cmdlets to define which Azure profiles the cmdlet supports. This is only supported for Azure (`--azure`) modules. \ No newline at end of file diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/README.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/README.md new file mode 100644 index 000000000000..b3e7ab075df8 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/README.md @@ -0,0 +1,11 @@ +# Docs +This directory contains the documentation of the cmdlets for the `Az.PostgreSQLFlexibleServer` module. To run documentation generation, use the `generate-help.ps1` script at the root module folder. Files in this folder will *always be overridden on regeneration*. To update documentation examples, please use the `..\examples` folder. + +## Info +- Modifiable: no +- Generated: all +- Committed: yes +- Packaged: yes + +## Details +The process of documentation generation loads `Az.PostgreSQLFlexibleServer` and analyzes the exported cmdlets from the module. It recognizes the [help comments](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) that are generated into the scripts in the `..\exports` folder. Additionally, when writing custom cmdlets in the `..\custom` folder, you can use the help comments syntax, which decorate the exported scripts at build-time. The documentation examples are taken from the `..\examples` folder. \ No newline at end of file diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/README.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/README.md new file mode 100644 index 000000000000..ac871d71fc72 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/README.md @@ -0,0 +1,11 @@ +# Examples +This directory contains examples from the exported cmdlets of the module. When `build-module.ps1` is ran, example stub files will be generated here. If your module support Azure Profiles, the example stubs will be in individual profile folders. These example stubs should be updated to show how the cmdlet is used. The examples are imported into the documentation when `generate-help.ps1` is ran. + +## Info +- Modifiable: yes +- Generated: partial +- Committed: yes +- Packaged: no + +## Purpose +This separates the example documentation details from the generated documentation information provided directly from the generated cmdlets. Since the cmdlets don't have examples from the REST spec, this provides a means to add examples easily. The example stubs provide the markdown format that is required. The 3 core elements are: the name of the example, the code information of the example, and the description of the example. That information, if the markdown format is followed, will be available to documentation generation and be part of the documents in the `..\docs` folder. \ No newline at end of file diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/how-to.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/how-to.md new file mode 100644 index 000000000000..acc41f067d6c --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/how-to.md @@ -0,0 +1,58 @@ +# How-To +This document describes how to develop for `Az.PostgreSQLFlexibleServer`. + +## Building `Az.PostgreSQLFlexibleServer` +To build, run the `build-module.ps1` at the root of the module directory. This will generate the proxy script cmdlets that are the cmdlets being exported by this module. After the build completes, the proxy script cmdlets will be output to the `exports` folder. To read more about the proxy script cmdlets, look at the [README.md](exports/README.md) in the `exports` folder. + +## Creating custom cmdlets +To add cmdlets that were not generated by the REST specification, use the `custom` folder. This folder allows you to add handwritten `.ps1` and `.cs` files. Currently, we support using `.ps1` scripts as new cmdlets or as additional low-level variants (via `ParameterSet`), and `.cs` files as low-level (variants) cmdlets that the exported script cmdlets call. We do not support exporting any `.cs` (dll) cmdlets directly. To read more about custom cmdlets, look at the [README.md](custom/README.md) in the `custom` folder. + +## Generating documentation +To generate documentation, the process is now integrated into the `build-module.ps1` script. If you don't want to run this process as part of `build-module.ps1`, you can provide the `-NoDocs` switch. If you want to run documentation generation after the build process, you may still run the `generate-help.ps1` script. Overall, the process will look at the documentation comments in the generated and custom cmdlets and types, and create `.md` files into the `docs` folder. Additionally, this pulls in any examples from the `examples` folder and adds them to the generated help markdown documents. To read more about examples, look at the [README.md](examples/README.md) in the `examples` folder. To read more about documentation, look at the [README.md](docs/README.md) in the `docs` folder. + +## Testing `Az.PostgreSQLFlexibleServer` +To test the cmdlets, we use [Pester](https://github.com/pester/Pester). Tests scripts (`.ps1`) should be added to the `test` folder. To execute the Pester tests, run the `test-module.ps1` script. This will run all tests in `playback` mode within the `test` folder. To read more about testing cmdlets, look at the [README.md](examples/README.md) in the `examples` folder. + +## Packing `Az.PostgreSQLFlexibleServer` +To pack `Az.PostgreSQLFlexibleServer` for distribution, run the `pack-module.ps1` script. This will take the contents of multiple directories and certain root-folder files to create a `.nupkg`. The structure of the `.nupkg` is created so it can be loaded part of a [PSRepository](https://learn.microsoft.com/powershell/module/powershellget/register-psrepository). Additionally, this package is in a format for distribution to the [PSGallery](https://www.powershellgallery.com/). For signing an Azure module, please contact the [Azure PowerShell](https://github.com/Azure/azure-powershell) team. + +## Module Script Details +There are multiple scripts created for performing different actions for developing `Az.PostgreSQLFlexibleServer`. +- `build-module.ps1` + - Builds the module DLL (`./bin/Az.PostgreSQLFlexibleServer.private.dll`), creates the exported cmdlets and documentation, generates custom cmdlet test stubs and exported cmdlet example stubs, and updates `./Az.PostgreSQLFlexibleServer.psd1` with Azure profile information. + - **Parameters**: [`Switch` parameters] + - `-Run`: After building, creates an isolated PowerShell session and loads `Az.PostgreSQLFlexibleServer`. + - `-Test`: After building, runs the `Pester` tests defined in the `test` folder. + - `-Docs`: After building, generates the Markdown documents for the modules into the `docs` folder. + - `-Pack`: After building, packages the module into a `.nupkg`. + - `-Code`: After building, opens a VSCode window with the module's directory and runs (see `-Run`) the module. + - `-Release`: Builds the module in `Release` configuration (as opposed to `Debug` configuration). + - `-NoDocs`: Supresses writing the documentation markdown files as part of the cmdlet exporting process. + - `-Debugger`: Used when attaching the debugger in Visual Studio to the PowerShell session, and running the build process without recompiling the DLL. This suppresses running the script as an isolated process. +- `run-module.ps1` + - Creates an isolated PowerShell session and loads `Az.PostgreSQLFlexibleServer` into the session. + - Same as `-Run` in `build-module.ps1`. + - **Parameters**: [`Switch` parameters] + - `-Code`: Opens a VSCode window with the module's directory. + - Same as `-Code` in `build-module.ps1`. +- `generate-help.ps1` + - Generates the Markdown documents for the modules into the `docs` folder. + - Same as `-Docs` in `build-module.ps1`. +- `test-module.ps1` + - Runs the `Pester` tests defined in the `test` folder. + - Same as `-Test` in `build-module.ps1`. +- `pack-module.ps1` + - Packages the module into a `.nupkg` for distribution. + - Same as `-Pack` in `build-module.ps1`. +- `generate-help.ps1` + - Generates the Markdown documents for the modules into the `docs` folder. + - Same as `-Docs` in `build-module.ps1`. + - This process is now integrated into `build-module.ps1` automatically. To disable, use `-NoDocs` when running `build-module.ps1`. +- `export-surface.ps1` + - Generates Markdown documents for both the cmdlet surface and the model (class) surface of the module. + - These files are placed into the `resources` folder. + - Used for investigating the surface of your module. These are *not* documentation for distribution. +- `check-dependencies.ps1` + - Used in `run-module.ps1` and `test-module.ps1` to verify dependent modules are available to run those tasks. + - It will download local (within the module's directory structure) versions of those modules as needed. + - This script *does not* need to be ran by-hand. \ No newline at end of file diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/resources/README.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/resources/README.md new file mode 100644 index 000000000000..937f07f8fec2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/resources/README.md @@ -0,0 +1,11 @@ +# Resources +This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder. + +## Info +- Modifiable: yes +- Generated: no +- Committed: yes +- Packaged: no + +## Purpose +Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact. \ No newline at end of file diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/README.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/README.md new file mode 100644 index 000000000000..7c752b4c8c43 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/README.md @@ -0,0 +1,17 @@ +# Test +This directory contains the [Pester](https://www.powershellgallery.com/packages/Pester) tests to run for the module. We use Pester as it is the unofficial standard for PowerShell unit testing. Test stubs for custom cmdlets (created in `..\custom`) will be generated into this folder when `build-module.ps1` is ran. These test stubs will fail automatically, to indicate that tests should be written for custom cmdlets. + +## Info +- Modifiable: yes +- Generated: partial +- Committed: yes +- Packaged: no + +## Details +We allow three testing modes: *live*, *record*, and *playback*. These can be selected using the `-Live`, `-Record`, and `-Playback` switches respectively on the `test-module.ps1` script. This script will run through any `.Tests.ps1` scripts in the `test` folder. If you choose the *record* mode, it will create a `.Recording.json` file of the REST calls between the client and server. Then, when you choose *playback* mode, it will use the `.Recording.json` file to mock the communication between server and client. The *live* mode runs the same as the *record* mode; however, it doesn't create the `.Recording.json` file. + +## Purpose +Custom cmdlets generally encompass additional functionality not described in the REST specification, or combines functionality generated from the REST spec. To validate this functionality continues to operate as intended, creating tests that can be ran and re-ran against custom cmdlets is part of the framework. + +## Usage +To execute tests, run the `test-module.ps1`. To write tests, [this example](https://github.com/pester/Pester/blob/8b9cf4248315e44f1ac6673be149f7e0d7f10466/Examples/Planets/Get-Planet.Tests.ps1#L1) from the Pester repository is very useful for getting started. \ No newline at end of file diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/loadEnv.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/loadEnv.ps1 new file mode 100644 index 000000000000..6a7c385c6b7d --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/loadEnv.ps1 @@ -0,0 +1,29 @@ +# ---------------------------------------------------------------------------------- +# 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. +# ---------------------------------------------------------------------------------- +$envFile = 'env.json' +if ($TestMode -eq 'live') { + $envFile = 'localEnv.json' +} + +if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) { + $envFilePath = Join-Path $PSScriptRoot $envFile +} else { + $envFilePath = Join-Path $PSScriptRoot '..\$envFile' +} +$env = @{} +if (Test-Path -Path $envFilePath) { + $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json + $PSDefaultParameterValues=@{"*:Tenant"=$env.Tenant} +} \ No newline at end of file diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/tsp-location.yaml b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/tsp-location.yaml new file mode 100644 index 000000000000..9070ddb05c45 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/tsp-location.yaml @@ -0,0 +1,3 @@ +directory: specification\postgresql\DBforPostgreSQL.Management +commit: 5bfd73c4e53eb6d1dc353846dfc420b3e38b3d2e +repo: Azure/azure-rest-api-specs diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/tspconfig.yaml b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/tspconfig.yaml new file mode 100644 index 000000000000..893d6f3b03c5 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/tspconfig.yaml @@ -0,0 +1,28 @@ +options: + "@azure-tools/typespec-powershell": + service-dir: "src" + emitter-output-dir: "{output-dir}/{service-dir}/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest" + clear-output-folder: true + debug: true + azure: true + module-version: 0.1.0 + prefix: "Az" + subject-prefix: "PostgreSQLFlexibleServer" + service-name: PostgreSQLFlexibleServer + module-name: "{prefix}.{service-name}" + output-folder: "{output-dir}" + exclude-tableview-properties: + - Id + - Type + directive: + - where: + subject: Operation + hide: true + - where: + parameter-name: SubscriptionId + set: + default: + script: "(Get-AzContext).Subscription.Id" + - where: + variant: ^(Create|Update|Export)(?!.*?Expanded|ViaJsonString|ViaJsonFilePath) + remove: true diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/utils/Get-SubscriptionIdTestSafe.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/utils/Get-SubscriptionIdTestSafe.ps1 new file mode 100644 index 000000000000..5319862d3372 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/utils/Get-SubscriptionIdTestSafe.ps1 @@ -0,0 +1,7 @@ +param() +if ($env:AzPSAutorestTestPlaybackMode) { + $loadEnvPath = Join-Path $PSScriptRoot '..' 'test' 'loadEnv.ps1' + . ($loadEnvPath) + return $env.SubscriptionId +} +return (Get-AzContext).Subscription.Id \ No newline at end of file diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/utils/Unprotect-SecureString.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/utils/Unprotect-SecureString.ps1 new file mode 100644 index 000000000000..cb05b51a6220 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/utils/Unprotect-SecureString.ps1 @@ -0,0 +1,16 @@ +#This script converts securestring to plaintext + +param( + [Parameter(Mandatory, ValueFromPipeline)] + [System.Security.SecureString] + ${SecureString} +) + +$ssPtr = [System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($SecureString) +try { + $plaintext = [System.Runtime.InteropServices.Marshal]::PtrToStringBSTR($ssPtr) +} finally { + [System.Runtime.InteropServices.Marshal]::ZeroFreeBSTR($ssPtr) +} + +return $plaintext \ No newline at end of file From e22260978ce90832937f0282e20265a09245290e Mon Sep 17 00:00:00 2001 From: Naia Scott Date: Mon, 9 Mar 2026 18:18:20 -0400 Subject: [PATCH 2/7] correction and run build-module --- .../Properties/AssemblyInfo.cs | 6 +- .../flexibleServers-administrators.json | 95 ++ ...vers-advancedThreatProtectionSettings.json | 47 + .../flexibleServers-backups.json | 95 ++ .../flexibleServers-configurations.json | 52 ++ .../flexibleServers-databases.json | 95 ++ .../flexibleServers-firewallRules.json | 95 ++ .../flexibleServers-ltrBackupOperations.json | 52 ++ .../flexibleServers-migrations.json | 95 ++ .../flexibleServers-tuningOptions.json | 52 ++ .../flexibleServers-virtualendpoints.json | 95 ++ .../flexibleServers.json | 199 ++++ .../docs/Az.PostgreSQLFlexibleServer.md | 174 ++++ .../docs/Get-AzPostgreSqlFlexibleServer.md | 159 ++++ ...xibleServerAdministratorsMicrosoftEntra.md | 191 ++++ ...leServerAdvancedThreatProtectionSetting.md | 154 ++++ ...exibleServerBackupsAutomaticAndOnDemand.md | 191 ++++ ...lFlexibleServerBackupsLongTermRetention.md | 191 ++++ ...SqlFlexibleServerCapabilitiesByLocation.md | 108 +++ ...reSqlFlexibleServerCapabilitiesByServer.md | 124 +++ ...t-AzPostgreSqlFlexibleServerCapturedLog.md | 124 +++ ...AzPostgreSqlFlexibleServerConfiguration.md | 190 ++++ .../Get-AzPostgreSqlFlexibleServerDatabase.md | 191 ++++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 190 ++++ ...Get-AzPostgreSqlFlexibleServerMigration.md | 208 +++++ ...reSqlFlexibleServerPrivateDnsZoneSuffix.md | 108 +++ ...et-AzPostgreSqlFlexibleServerQuotaUsage.md | 108 +++ .../Get-AzPostgreSqlFlexibleServerReplica.md | 124 +++ ...-AzPostgreSqlFlexibleServerTuningOption.md | 190 ++++ ...lexibleServerTuningOptionRecommendation.md | 156 ++++ ...PostgreSqlFlexibleServerVirtualEndpoint.md | 190 ++++ ...FlexibleServerVirtualNetworkSubnetUsage.md | 222 +++++ ...e-AzPostgreSqlFlexibleServerNetworkMode.md | 210 +++++ .../docs/New-AzPostgreSqlFlexibleServer.md | 866 ++++++++++++++++++ ...xibleServerAdministratorsMicrosoftEntra.md | 339 +++++++ .../New-AzPostgreSqlFlexibleServerDatabase.md | 323 +++++++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 324 +++++++ ...New-AzPostgreSqlFlexibleServerMigration.md | 673 ++++++++++++++ ...qlFlexibleServerThreatProtectionSetting.md | 269 ++++++ ...PostgreSqlFlexibleServerVirtualEndpoint.md | 322 +++++++ .../docs/Remove-AzPostgreSqlFlexibleServer.md | 224 +++++ ...xibleServerAdministratorsMicrosoftEntra.md | 262 ++++++ ...exibleServerBackupsAutomaticAndOnDemand.md | 262 ++++++ ...move-AzPostgreSqlFlexibleServerDatabase.md | 263 ++++++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 262 ++++++ ...PostgreSqlFlexibleServerVirtualEndpoint.md | 262 ++++++ .../Restart-AzPostgreSqlFlexibleServer.md | 332 +++++++ .../docs/Set-AzPostgreSqlFlexibleServer.md | 830 +++++++++++++++++ ...xibleServerAdministratorsMicrosoftEntra.md | 292 ++++++ ...AzPostgreSqlFlexibleServerConfiguration.md | 302 ++++++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 278 ++++++ ...qlFlexibleServerThreatProtectionSetting.md | 246 +++++ .../docs/Start-AzPostgreSqlFlexibleServer.md | 224 +++++ ...lFlexibleServerBackupsLongTermRetention.md | 316 +++++++ .../docs/Stop-AzPostgreSqlFlexibleServer.md | 224 +++++ ...top-AzPostgreSqlFlexibleServerMigration.md | 230 +++++ ...verBackupsLongTermRetentionPrerequisite.md | 271 ++++++ ...FlexibleServerMigrationNameAvailability.md | 285 ++++++ ...ostgreSqlFlexibleServerNameAvailability.md | 266 ++++++ ...lFlexibleServerNameAvailabilityGlobally.md | 220 +++++ .../docs/Update-AzPostgreSqlFlexibleServer.md | 837 +++++++++++++++++ ...AzPostgreSqlFlexibleServerConfiguration.md | 324 +++++++ ...date-AzPostgreSqlFlexibleServerDatabase.md | 279 ++++++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 280 ++++++ ...ate-AzPostgreSqlFlexibleServerMigration.md | 580 ++++++++++++ ...PostgreSqlFlexibleServerVirtualEndpoint.md | 323 +++++++ .../Get-AzPostgreSqlFlexibleServer.md | 22 + ...xibleServerAdministratorsMicrosoftEntra.md | 22 + ...leServerAdvancedThreatProtectionSetting.md | 22 + ...exibleServerBackupsAutomaticAndOnDemand.md | 22 + ...lFlexibleServerBackupsLongTermRetention.md | 22 + ...SqlFlexibleServerCapabilitiesByLocation.md | 22 + ...reSqlFlexibleServerCapabilitiesByServer.md | 22 + ...t-AzPostgreSqlFlexibleServerCapturedLog.md | 22 + ...AzPostgreSqlFlexibleServerConfiguration.md | 22 + .../Get-AzPostgreSqlFlexibleServerDatabase.md | 22 + ...-AzPostgreSqlFlexibleServerFirewallRule.md | 22 + ...Get-AzPostgreSqlFlexibleServerMigration.md | 22 + ...reSqlFlexibleServerPrivateDnsZoneSuffix.md | 22 + ...et-AzPostgreSqlFlexibleServerQuotaUsage.md | 22 + .../Get-AzPostgreSqlFlexibleServerReplica.md | 22 + ...-AzPostgreSqlFlexibleServerTuningOption.md | 22 + ...lexibleServerTuningOptionRecommendation.md | 22 + ...PostgreSqlFlexibleServerVirtualEndpoint.md | 22 + ...FlexibleServerVirtualNetworkSubnetUsage.md | 22 + ...e-AzPostgreSqlFlexibleServerNetworkMode.md | 22 + .../New-AzPostgreSqlFlexibleServer.md | 22 + ...xibleServerAdministratorsMicrosoftEntra.md | 22 + .../New-AzPostgreSqlFlexibleServerDatabase.md | 22 + ...-AzPostgreSqlFlexibleServerFirewallRule.md | 22 + ...New-AzPostgreSqlFlexibleServerMigration.md | 22 + ...qlFlexibleServerThreatProtectionSetting.md | 22 + ...PostgreSqlFlexibleServerVirtualEndpoint.md | 22 + .../examples/README.md | 11 - .../Remove-AzPostgreSqlFlexibleServer.md | 22 + ...xibleServerAdministratorsMicrosoftEntra.md | 22 + ...exibleServerBackupsAutomaticAndOnDemand.md | 22 + ...move-AzPostgreSqlFlexibleServerDatabase.md | 22 + ...-AzPostgreSqlFlexibleServerFirewallRule.md | 22 + ...PostgreSqlFlexibleServerVirtualEndpoint.md | 22 + .../Restart-AzPostgreSqlFlexibleServer.md | 22 + .../Set-AzPostgreSqlFlexibleServer.md | 22 + ...xibleServerAdministratorsMicrosoftEntra.md | 22 + ...AzPostgreSqlFlexibleServerConfiguration.md | 22 + ...-AzPostgreSqlFlexibleServerFirewallRule.md | 22 + ...qlFlexibleServerThreatProtectionSetting.md | 22 + .../Start-AzPostgreSqlFlexibleServer.md | 22 + ...lFlexibleServerBackupsLongTermRetention.md | 22 + .../Stop-AzPostgreSqlFlexibleServer.md | 22 + ...top-AzPostgreSqlFlexibleServerMigration.md | 22 + ...verBackupsLongTermRetentionPrerequisite.md | 22 + ...FlexibleServerMigrationNameAvailability.md | 22 + ...ostgreSqlFlexibleServerNameAvailability.md | 22 + ...lFlexibleServerNameAvailabilityGlobally.md | 22 + .../Update-AzPostgreSqlFlexibleServer.md | 22 + ...AzPostgreSqlFlexibleServerConfiguration.md | 22 + ...date-AzPostgreSqlFlexibleServerDatabase.md | 22 + ...-AzPostgreSqlFlexibleServerFirewallRule.md | 22 + ...ate-AzPostgreSqlFlexibleServerMigration.md | 22 + ...PostgreSqlFlexibleServerVirtualEndpoint.md | 22 + .../Get-AzPostgreSqlFlexibleServer.Tests.ps1 | 33 + ...rverAdministratorsMicrosoftEntra.Tests.ps1 | 33 + ...rAdvancedThreatProtectionSetting.Tests.ps1 | 29 + ...erverBackupsAutomaticAndOnDemand.Tests.ps1 | 33 + ...leServerBackupsLongTermRetention.Tests.ps1 | 33 + ...ibleServerCapabilitiesByLocation.Tests.ps1 | 21 + ...exibleServerCapabilitiesByServer.Tests.ps1 | 21 + ...tgreSqlFlexibleServerCapturedLog.Tests.ps1 | 21 + ...reSqlFlexibleServerConfiguration.Tests.ps1 | 33 + ...PostgreSqlFlexibleServerDatabase.Tests.ps1 | 33 + ...greSqlFlexibleServerFirewallRule.Tests.ps1 | 33 + ...ostgreSqlFlexibleServerMigration.Tests.ps1 | 33 + ...exibleServerPrivateDnsZoneSuffix.Tests.ps1 | 21 + ...stgreSqlFlexibleServerQuotaUsage.Tests.ps1 | 21 + ...zPostgreSqlFlexibleServerReplica.Tests.ps1 | 21 + ...greSqlFlexibleServerTuningOption.Tests.ps1 | 33 + ...ServerTuningOptionRecommendation.Tests.ps1 | 21 + ...SqlFlexibleServerVirtualEndpoint.Tests.ps1 | 33 + ...eServerVirtualNetworkSubnetUsage.Tests.ps1 | 33 + ...tgreSqlFlexibleServerNetworkMode.Tests.ps1 | 25 + .../New-AzPostgreSqlFlexibleServer.Tests.ps1 | 33 + ...rverAdministratorsMicrosoftEntra.Tests.ps1 | 37 + ...PostgreSqlFlexibleServerDatabase.Tests.ps1 | 37 + ...greSqlFlexibleServerFirewallRule.Tests.ps1 | 37 + ...ostgreSqlFlexibleServerMigration.Tests.ps1 | 37 + ...bleServerThreatProtectionSetting.Tests.ps1 | 33 + ...SqlFlexibleServerVirtualEndpoint.Tests.ps1 | 37 + ...emove-AzPostgreSqlFlexibleServer.Tests.ps1 | 25 + ...rverAdministratorsMicrosoftEntra.Tests.ps1 | 29 + ...erverBackupsAutomaticAndOnDemand.Tests.ps1 | 29 + ...PostgreSqlFlexibleServerDatabase.Tests.ps1 | 29 + ...greSqlFlexibleServerFirewallRule.Tests.ps1 | 29 + ...SqlFlexibleServerVirtualEndpoint.Tests.ps1 | 29 + ...start-AzPostgreSqlFlexibleServer.Tests.ps1 | 41 + .../Set-AzPostgreSqlFlexibleServer.Tests.ps1 | 29 + ...rverAdministratorsMicrosoftEntra.Tests.ps1 | 29 + ...reSqlFlexibleServerConfiguration.Tests.ps1 | 33 + ...greSqlFlexibleServerFirewallRule.Tests.ps1 | 29 + ...bleServerThreatProtectionSetting.Tests.ps1 | 29 + ...Start-AzPostgreSqlFlexibleServer.Tests.ps1 | 25 + ...leServerBackupsLongTermRetention.Tests.ps1 | 41 + .../Stop-AzPostgreSqlFlexibleServer.Tests.ps1 | 25 + ...ostgreSqlFlexibleServerMigration.Tests.ps1 | 29 + ...upsLongTermRetentionPrerequisite.Tests.ps1 | 41 + ...eServerMigrationNameAvailability.Tests.ps1 | 41 + ...qlFlexibleServerNameAvailability.Tests.ps1 | 41 + ...leServerNameAvailabilityGlobally.Tests.ps1 | 33 + ...pdate-AzPostgreSqlFlexibleServer.Tests.ps1 | 25 + ...reSqlFlexibleServerConfiguration.Tests.ps1 | 37 + ...PostgreSqlFlexibleServerDatabase.Tests.ps1 | 29 + ...greSqlFlexibleServerFirewallRule.Tests.ps1 | 29 + ...ostgreSqlFlexibleServerMigration.Tests.ps1 | 37 + ...SqlFlexibleServerVirtualEndpoint.Tests.ps1 | 37 + .../test/utils.ps1 | 56 ++ .../tmpCsproj | 44 + .../PostgreSQLFlexibleServer.sln | 145 +++ .../Az.PostgreSQLFlexibleServer.psd1 | 186 ++++ .../PostgreSQLFlexibleServer/ChangeLog.md | 24 + .../PostgreSQLFlexibleServer.csproj | 28 + .../Properties/AssemblyInfo.cs | 28 + 180 files changed, 19390 insertions(+), 14 deletions(-) create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-administrators.json create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-advancedThreatProtectionSettings.json create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-backups.json create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-configurations.json create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-databases.json create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-firewallRules.json create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-ltrBackupOperations.json create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-migrations.json create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-tuningOptions.json create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-virtualendpoints.json create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers.json create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Az.PostgreSQLFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerCapturedLog.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerDatabase.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerMigration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerQuotaUsage.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerReplica.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerTuningOption.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Move-AzPostgreSqlFlexibleServerNetworkMode.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerDatabase.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerMigration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerVirtualEndpoint.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServerDatabase.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Restart-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Set-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Set-AzPostgreSqlFlexibleServerConfiguration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Set-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Start-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Stop-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Stop-AzPostgreSqlFlexibleServerMigration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Test-AzPostgreSqlFlexibleServerNameAvailability.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServerDatabase.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServerMigration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerCapturedLog.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerDatabase.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerMigration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerQuotaUsage.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerReplica.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerTuningOption.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Move-AzPostgreSqlFlexibleServerNetworkMode.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerDatabase.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerMigration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerVirtualEndpoint.md delete mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/README.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServerDatabase.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Restart-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Set-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Set-AzPostgreSqlFlexibleServerConfiguration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Set-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Start-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Stop-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Stop-AzPostgreSqlFlexibleServerMigration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Test-AzPostgreSqlFlexibleServerNameAvailability.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServerDatabase.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServerMigration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServer.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerCapturedLog.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerDatabase.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerMigration.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerQuotaUsage.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerReplica.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerTuningOption.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Move-AzPostgreSqlFlexibleServerNetworkMode.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServer.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerDatabase.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerMigration.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerVirtualEndpoint.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServer.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServerDatabase.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Restart-AzPostgreSqlFlexibleServer.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Set-AzPostgreSqlFlexibleServer.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Set-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Set-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Start-AzPostgreSqlFlexibleServer.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Stop-AzPostgreSqlFlexibleServer.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Stop-AzPostgreSqlFlexibleServerMigration.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Test-AzPostgreSqlFlexibleServerNameAvailability.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServer.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServerDatabase.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServerMigration.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.Tests.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/utils.ps1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/tmpCsproj create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.sln create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/Az.PostgreSQLFlexibleServer.psd1 create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/ChangeLog.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.csproj create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/Properties/AssemblyInfo.cs diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/Properties/AssemblyInfo.cs b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/Properties/AssemblyInfo.cs index a560cf294a44..6536a8a32264 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/Properties/AssemblyInfo.cs +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/Properties/AssemblyInfo.cs @@ -23,7 +23,7 @@ [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.0")] -[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0")] +[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0")] [assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] -[assembly: System.CLSCompliantAttribute(false)] \ No newline at end of file +[assembly: System.CLSCompliantAttribute(false)] diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-administrators.json b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-administrators.json new file mode 100644 index 000000000000..b914f3576ebe --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-administrators.json @@ -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 ", + "-ResourceGroupName ", + "-ServerName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "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 ", + "-ResourceGroupName ", + "-ServerName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "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]" + } + ] + } + ] + } + ] +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-advancedThreatProtectionSettings.json b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-advancedThreatProtectionSettings.json new file mode 100644 index 000000000000..fabad57d6ccb --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-advancedThreatProtectionSettings.json @@ -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 ", + "-ServerName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "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]" + } + ] + } + ] + } + ] +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-backups.json b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-backups.json new file mode 100644 index 000000000000..1d781742a093 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-backups.json @@ -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 ", + "-ResourceGroupName ", + "-ServerName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "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 ", + "-ResourceGroupName ", + "-ServerName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "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]" + } + ] + } + ] + } + ] +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-configurations.json b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-configurations.json new file mode 100644 index 000000000000..8d3b38b4e7ba --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-configurations.json @@ -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 ", + "-ResourceGroupName ", + "-ServerName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "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]" + } + ] + } + ] + } + ] +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-databases.json b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-databases.json new file mode 100644 index 000000000000..9fa699a1d09d --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-databases.json @@ -0,0 +1,95 @@ +{ + "resourceType": "flexibleServers/databases", + "apiVersion": "2026-01-01-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver" + }, + "commands": [ + { + "name": "Get-AzPostgreSqlFlexibleServerDatabase", + "description": "Gets information about an existing database.", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/databases/{databaseName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverdatabase" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ResourceGroupName ", + "-ServerName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "Gets information about an existing database.", + "parameters": [ + { + "name": "-Name", + "value": "[Path.databaseName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-ServerName", + "value": "[Path.serverName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] + }, + { + "name": "Remove-AzPostgreSqlFlexibleServerDatabase", + "description": "Deletes an existing database.", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/databases/{databaseName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleserverdatabase" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ResourceGroupName ", + "-ServerName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "Deletes an existing database.", + "parameters": [ + { + "name": "-Name", + "value": "[Path.databaseName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-ServerName", + "value": "[Path.serverName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] + } + ] +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-firewallRules.json b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-firewallRules.json new file mode 100644 index 000000000000..d6026eaae3cb --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-firewallRules.json @@ -0,0 +1,95 @@ +{ + "resourceType": "flexibleServers/firewallRules", + "apiVersion": "2026-01-01-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver" + }, + "commands": [ + { + "name": "Get-AzPostgreSqlFlexibleServerFirewallRule", + "description": "Gets information about a firewall rule in a server.", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverfirewallrule" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ResourceGroupName ", + "-ServerName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "Gets information about a firewall rule in a server.", + "parameters": [ + { + "name": "-Name", + "value": "[Path.firewallRuleName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-ServerName", + "value": "[Path.serverName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] + }, + { + "name": "Remove-AzPostgreSqlFlexibleServerFirewallRule", + "description": "Deletes an existing firewall rule.", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleserverfirewallrule" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ResourceGroupName ", + "-ServerName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "Deletes an existing firewall rule.", + "parameters": [ + { + "name": "-Name", + "value": "[Path.firewallRuleName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-ServerName", + "value": "[Path.serverName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] + } + ] +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-ltrBackupOperations.json b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-ltrBackupOperations.json new file mode 100644 index 000000000000..0344e559c49f --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-ltrBackupOperations.json @@ -0,0 +1,52 @@ +{ + "resourceType": "flexibleServers/ltrBackupOperations", + "apiVersion": "2026-01-01-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver" + }, + "commands": [ + { + "name": "Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention", + "description": "Gets the results of a long retention backup operation for a server.", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/ltrBackupOperations/{backupName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverbackupslongtermretention" + }, + "parameterSets": [ + { + "parameters": [ + "-BackupName ", + "-ResourceGroupName ", + "-ServerName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "Gets the results of a long retention backup operation for a server.", + "parameters": [ + { + "name": "-BackupName", + "value": "[Path.backupName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-ServerName", + "value": "[Path.serverName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] + } + ] +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-migrations.json b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-migrations.json new file mode 100644 index 000000000000..d622936bb8f8 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-migrations.json @@ -0,0 +1,95 @@ +{ + "resourceType": "flexibleServers/migrations", + "apiVersion": "2026-01-01-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver" + }, + "commands": [ + { + "name": "Get-AzPostgreSqlFlexibleServerMigration", + "description": "Gets information about a migration.", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/migrations/{migrationName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservermigration" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ResourceGroupName ", + "-ServerName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "Gets information about a migration.", + "parameters": [ + { + "name": "-Name", + "value": "[Path.migrationName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-ServerName", + "value": "[Path.serverName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] + }, + { + "name": "Stop-AzPostgreSqlFlexibleServerMigration", + "description": "Cancels an active migration.", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/migrations/{migrationName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/stop-azpostgresqlflexibleservermigration" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ResourceGroupName ", + "-ServerName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "Cancels an active migration.", + "parameters": [ + { + "name": "-Name", + "value": "[Path.migrationName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-ServerName", + "value": "[Path.serverName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] + } + ] +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-tuningOptions.json b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-tuningOptions.json new file mode 100644 index 000000000000..6decf62b22b3 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-tuningOptions.json @@ -0,0 +1,52 @@ +{ + "resourceType": "flexibleServers/tuningOptions", + "apiVersion": "2026-01-01-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver" + }, + "commands": [ + { + "name": "Get-AzPostgreSqlFlexibleServerTuningOption", + "description": "Gets the tuning options of a server.", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/tuningOptions/{tuningOption}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservertuningoption" + }, + "parameterSets": [ + { + "parameters": [ + "-ResourceGroupName ", + "-ServerName ", + "[-SubscriptionId ]", + "-TuningOption " + ] + } + ] + }, + "examples": [ + { + "description": "Gets the tuning options of a server.", + "parameters": [ + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-ServerName", + "value": "[Path.serverName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + }, + { + "name": "-TuningOption", + "value": "[Path.tuningOption]" + } + ] + } + ] + } + ] +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-virtualendpoints.json b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-virtualendpoints.json new file mode 100644 index 000000000000..7904b0d418f8 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers-virtualendpoints.json @@ -0,0 +1,95 @@ +{ + "resourceType": "flexibleServers/virtualendpoints", + "apiVersion": "2026-01-01-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver" + }, + "commands": [ + { + "name": "Get-AzPostgreSqlFlexibleServerVirtualEndpoint", + "description": "Gets information about a pair of virtual endpoints.", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/virtualendpoints/{virtualEndpointName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservervirtualendpoint" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ResourceGroupName ", + "-ServerName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "Gets information about a pair of virtual endpoints.", + "parameters": [ + { + "name": "-Name", + "value": "[Path.virtualEndpointName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-ServerName", + "value": "[Path.serverName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] + }, + { + "name": "Remove-AzPostgreSqlFlexibleServerVirtualEndpoint", + "description": "Deletes a pair of virtual endpoints.", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/virtualendpoints/{virtualEndpointName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleservervirtualendpoint" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ResourceGroupName ", + "-ServerName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "Deletes a pair of virtual endpoints.", + "parameters": [ + { + "name": "-Name", + "value": "[Path.virtualEndpointName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-ServerName", + "value": "[Path.serverName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] + } + ] +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers.json b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers.json new file mode 100644 index 000000000000..ac60458138b3 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/UX/Microsoft.DBforPostgreSQL/flexibleServers.json @@ -0,0 +1,199 @@ +{ + "resourceType": "flexibleServers", + "apiVersion": "2026-01-01-preview", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver" + }, + "commands": [ + { + "name": "Get-AzPostgreSqlFlexibleServer", + "description": "Gets information about an existing server.", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserver" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ResourceGroupName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "Gets information about an existing server.", + "parameters": [ + { + "name": "-Name", + "value": "[Path.serverName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] + }, + { + "name": "Move-AzPostgreSqlFlexibleServerNetworkMode", + "description": "Migrates the network configuration of a PostgreSQL flexible server from customer owned VNET to Microsoft owned VNET with support for private endpoints, or from Microsoft owned VNET with no support for private endpoints to Microsoft owned VNET with support for private endpoints.", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/migrateNetwork", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/move-azpostgresqlflexibleservernetworkmode" + }, + "parameterSets": [ + { + "parameters": [ + "-ResourceGroupName ", + "-ServerName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "Migrates the network configuration of a PostgreSQL flexible server from customer owned VNET to Microsoft owned VNET with support for private endpoints, or from Microsoft owned VNET with no support for private endpoints to Microsoft owned VNET with support for private endpoints.", + "parameters": [ + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-ServerName", + "value": "[Path.serverName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] + }, + { + "name": "Remove-AzPostgreSqlFlexibleServer", + "description": "Deletes or drops an existing server.", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleserver" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ResourceGroupName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "Deletes or drops an existing server.", + "parameters": [ + { + "name": "-Name", + "value": "[Path.serverName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] + }, + { + "name": "Start-AzPostgreSqlFlexibleServer", + "description": "Starts a stopped server.", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/start", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/start-azpostgresqlflexibleserver" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ResourceGroupName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "Starts a stopped server.", + "parameters": [ + { + "name": "-Name", + "value": "[Path.serverName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] + }, + { + "name": "Stop-AzPostgreSqlFlexibleServer", + "description": "Stops a server.", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/stop", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/stop-azpostgresqlflexibleserver" + }, + "parameterSets": [ + { + "parameters": [ + "-Name ", + "-ResourceGroupName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "Stops a server.", + "parameters": [ + { + "name": "-Name", + "value": "[Path.serverName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] + } + ] +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Az.PostgreSQLFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Az.PostgreSQLFlexibleServer.md new file mode 100644 index 000000000000..e9b40a38af2a --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Az.PostgreSQLFlexibleServer.md @@ -0,0 +1,174 @@ +--- +Module Name: Az.PostgreSQLFlexibleServer +Module Guid: 50770f2d-b3ac-484d-ac9c-77179c69e92b +Download Help Link: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver +Help Version: 1.0.0.0 +Locale: en-US +--- + +# Az.PostgreSQLFlexibleServer Module +## Description +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +## Az.PostgreSQLFlexibleServer Cmdlets +### [Get-AzPostgreSqlFlexibleServer](Get-AzPostgreSqlFlexibleServer.md) +Gets information about an existing server. + +### [Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra](Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md) +Gets information about a server administrator associated to a Microsoft Entra principal. + +### [Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting](Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md) +Gets state of advanced threat protection settings for a server. + +### [Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand](Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md) +Gets information of an on demand backup, given its name. + +### [Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention](Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md) +Gets the results of a long retention backup operation for a server. + +### [Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation](Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md) +Lists the capabilities available in a given location for a specific subscription. + +### [Get-AzPostgreSqlFlexibleServerCapabilitiesByServer](Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md) +Lists the capabilities available for a given server. + +### [Get-AzPostgreSqlFlexibleServerCapturedLog](Get-AzPostgreSqlFlexibleServerCapturedLog.md) +Lists all captured logs for download in a server. + +### [Get-AzPostgreSqlFlexibleServerConfiguration](Get-AzPostgreSqlFlexibleServerConfiguration.md) +Gets information about a specific configuration (also known as server parameter) of a server. + +### [Get-AzPostgreSqlFlexibleServerDatabase](Get-AzPostgreSqlFlexibleServerDatabase.md) +Gets information about an existing database. + +### [Get-AzPostgreSqlFlexibleServerFirewallRule](Get-AzPostgreSqlFlexibleServerFirewallRule.md) +Gets information about a firewall rule in a server. + +### [Get-AzPostgreSqlFlexibleServerMigration](Get-AzPostgreSqlFlexibleServerMigration.md) +Gets information about a migration. + +### [Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix](Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md) +Gets the private DNS zone suffix. + +### [Get-AzPostgreSqlFlexibleServerQuotaUsage](Get-AzPostgreSqlFlexibleServerQuotaUsage.md) +Get quota usages at specified location in a given subscription. + +### [Get-AzPostgreSqlFlexibleServerReplica](Get-AzPostgreSqlFlexibleServerReplica.md) +Lists all read replicas of a server. + +### [Get-AzPostgreSqlFlexibleServerTuningOption](Get-AzPostgreSqlFlexibleServerTuningOption.md) +Gets the tuning options of a server. + +### [Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation](Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md) +Lists available object recommendations. + +### [Get-AzPostgreSqlFlexibleServerVirtualEndpoint](Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md) +Gets information about a pair of virtual endpoints. + +### [Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage](Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md) +Lists the virtual network subnet usage for a given virtual network. + +### [Move-AzPostgreSqlFlexibleServerNetworkMode](Move-AzPostgreSqlFlexibleServerNetworkMode.md) +Migrates the network configuration of a PostgreSQL flexible server from customer owned VNET to Microsoft owned VNET with support for private endpoints, or from Microsoft owned VNET with no support for private endpoints to Microsoft owned VNET with support for private endpoints. + +### [New-AzPostgreSqlFlexibleServer](New-AzPostgreSqlFlexibleServer.md) +Create a new server. + +### [New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra](New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md) +Create a new server administrator associated to a Microsoft Entra principal. + +### [New-AzPostgreSqlFlexibleServerDatabase](New-AzPostgreSqlFlexibleServerDatabase.md) +Create a new database. + +### [New-AzPostgreSqlFlexibleServerFirewallRule](New-AzPostgreSqlFlexibleServerFirewallRule.md) +Create a new firewall rule or create an existing firewall rule. + +### [New-AzPostgreSqlFlexibleServerMigration](New-AzPostgreSqlFlexibleServerMigration.md) +Create a new migration. + +### [New-AzPostgreSqlFlexibleServerThreatProtectionSetting](New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md) +Create a server's Advanced Threat Protection settings. + +### [New-AzPostgreSqlFlexibleServerVirtualEndpoint](New-AzPostgreSqlFlexibleServerVirtualEndpoint.md) +Create a pair of virtual endpoints for a server. + +### [Remove-AzPostgreSqlFlexibleServer](Remove-AzPostgreSqlFlexibleServer.md) +Deletes or drops an existing server. + +### [Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra](Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md) +Deletes an existing server administrator associated to a Microsoft Entra principal. + +### [Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand](Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md) +Deletes a specific backup, given its name. + +### [Remove-AzPostgreSqlFlexibleServerDatabase](Remove-AzPostgreSqlFlexibleServerDatabase.md) +Deletes an existing database. + +### [Remove-AzPostgreSqlFlexibleServerFirewallRule](Remove-AzPostgreSqlFlexibleServerFirewallRule.md) +Deletes an existing firewall rule. + +### [Remove-AzPostgreSqlFlexibleServerVirtualEndpoint](Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md) +Deletes a pair of virtual endpoints. + +### [Restart-AzPostgreSqlFlexibleServer](Restart-AzPostgreSqlFlexibleServer.md) +Restarts PostgreSQL database engine in a server. + +### [Set-AzPostgreSqlFlexibleServer](Set-AzPostgreSqlFlexibleServer.md) +Update a new server. + +### [Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra](Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md) +Update a new server administrator associated to a Microsoft Entra principal. + +### [Set-AzPostgreSqlFlexibleServerConfiguration](Set-AzPostgreSqlFlexibleServerConfiguration.md) +Put using Put verb, the value assigned to a specific modifiable configuration (also known as server parameter) of a server. + +### [Set-AzPostgreSqlFlexibleServerFirewallRule](Set-AzPostgreSqlFlexibleServerFirewallRule.md) +Update a new firewall rule or update an existing firewall rule. + +### [Set-AzPostgreSqlFlexibleServerThreatProtectionSetting](Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md) +Update a server's Advanced Threat Protection settings. + +### [Start-AzPostgreSqlFlexibleServer](Start-AzPostgreSqlFlexibleServer.md) +Starts a stopped server. + +### [Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention](Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md) +Initiates a long term retention backup. + +### [Stop-AzPostgreSqlFlexibleServer](Stop-AzPostgreSqlFlexibleServer.md) +Stops a server. + +### [Stop-AzPostgreSqlFlexibleServerMigration](Stop-AzPostgreSqlFlexibleServerMigration.md) +Cancels an active migration. + +### [Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite](Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md) +Performs all checks required for a long term retention backup operation to succeed. + +### [Test-AzPostgreSqlFlexibleServerMigrationNameAvailability](Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md) +Checks if a proposed migration name is valid and available. + +### [Test-AzPostgreSqlFlexibleServerNameAvailability](Test-AzPostgreSqlFlexibleServerNameAvailability.md) +Check the availability of name for resource + +### [Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally](Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md) +Checks the validity and availability of the given name, to assign it to a new server or to use it as the base name of a new pair of virtual endpoints. + +### [Update-AzPostgreSqlFlexibleServer](Update-AzPostgreSqlFlexibleServer.md) +Update a new server. + +### [Update-AzPostgreSqlFlexibleServerConfiguration](Update-AzPostgreSqlFlexibleServerConfiguration.md) +Update the value assigned to a specific modifiable configuration (also known as server parameter) of a server. + +### [Update-AzPostgreSqlFlexibleServerDatabase](Update-AzPostgreSqlFlexibleServerDatabase.md) +Update a new database. + +### [Update-AzPostgreSqlFlexibleServerFirewallRule](Update-AzPostgreSqlFlexibleServerFirewallRule.md) +Update a new firewall rule or update an existing firewall rule. + +### [Update-AzPostgreSqlFlexibleServerMigration](Update-AzPostgreSqlFlexibleServerMigration.md) +Update an existing migration. +The request body can contain one to many of the mutable properties present in the migration definition. +Certain property update initiate migration state transitions. + +### [Update-AzPostgreSqlFlexibleServerVirtualEndpoint](Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md) +Update a pair of virtual endpoints for a server. + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..6d8fa6283d62 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,159 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Gets information about an existing server. + +## SYNTAX + +### List1 (Default) +``` +Get-AzPostgreSqlFlexibleServer [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] + [] +``` + +### List +``` +Get-AzPostgreSqlFlexibleServer -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about an existing server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List, List1 +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IServer + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md new file mode 100644 index 000000000000..49ca8bcc8199 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md @@ -0,0 +1,191 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserveradministratorsmicrosoftentra +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra + +## SYNOPSIS +Gets information about a server administrator associated to a Microsoft Entra principal. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra + -FlexibleServerInputObject -ObjectId + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about a server administrator associated to a Microsoft Entra principal. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ObjectId +Object identifier of the Microsoft Entra principal. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IAdministratorMicrosoftEntra + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md new file mode 100644 index 000000000000..bf8284651f9a --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md @@ -0,0 +1,154 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserveradvancedthreatprotectionsetting +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting + +## SYNOPSIS +Gets state of advanced threat protection settings for a server. + +## SYNTAX + +### Get (Default) +``` +Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting -InputObject + [-DefaultProfile ] [] +``` + +### List +``` +Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets state of advanced threat protection settings for a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IAdvancedThreatProtectionSettingsModel + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md new file mode 100644 index 000000000000..421bdd36356f --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md @@ -0,0 +1,191 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverbackupsautomaticandondemand +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand + +## SYNOPSIS +Gets information of an on demand backup, given its name. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -BackupName -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -BackupName + -FlexibleServerInputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets information of an on demand backup, given its name. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -BackupName +Name of the backup. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IBackupAutomaticAndOnDemand + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md new file mode 100644 index 000000000000..833b5696a953 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md @@ -0,0 +1,191 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverbackupslongtermretention +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention + +## SYNOPSIS +Gets the results of a long retention backup operation for a server. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention -BackupName -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention -BackupName + -FlexibleServerInputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets the results of a long retention backup operation for a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -BackupName +The name of the backup. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IBackupsLongTermRetentionOperation + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md new file mode 100644 index 000000000000..8091f7a9e0b8 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md @@ -0,0 +1,108 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservercapabilitiesbylocation +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation + +## SYNOPSIS +Lists the capabilities available in a given location for a specific subscription. + +## SYNTAX + +``` +Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation -LocationName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Lists the capabilities available in a given location for a specific subscription. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocationName +The name of the location. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ICapability + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md new file mode 100644 index 000000000000..71bc6a4e0b1f --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md @@ -0,0 +1,124 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservercapabilitiesbyserver +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerCapabilitiesByServer + +## SYNOPSIS +Lists the capabilities available for a given server. + +## SYNTAX + +``` +Get-AzPostgreSqlFlexibleServerCapabilitiesByServer -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +Lists the capabilities available for a given server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ICapability + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerCapturedLog.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerCapturedLog.md new file mode 100644 index 000000000000..e47def01c5ec --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerCapturedLog.md @@ -0,0 +1,124 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservercapturedlog +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerCapturedLog + +## SYNOPSIS +Lists all captured logs for download in a server. + +## SYNTAX + +``` +Get-AzPostgreSqlFlexibleServerCapturedLog -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +Lists all captured logs for download in a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ICapturedLog + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..1c830760059a --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerConfiguration.md @@ -0,0 +1,190 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverconfiguration +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerConfiguration + +## SYNOPSIS +Gets information about a specific configuration (also known as server parameter) of a server. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerConfiguration -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerConfiguration -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerConfiguration -FlexibleServerInputObject + -Name [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about a specific configuration (also known as server parameter) of a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the configuration (also known as server parameter). + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityFlexibleServer +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IConfiguration + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerDatabase.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..b026ce180f60 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerDatabase.md @@ -0,0 +1,191 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverdatabase +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerDatabase + +## SYNOPSIS +Gets information about an existing database. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerDatabase -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerDatabase -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerDatabase -FlexibleServerInputObject + -Name [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about an existing database. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the database (case-sensitive). +Exact database names can be retrieved by getting the list of all existing databases in a server. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityFlexibleServer +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IDatabase + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..2548b44fd801 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,190 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerFirewallRule + +## SYNOPSIS +Gets information about a firewall rule in a server. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerFirewallRule -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerFirewallRule -FlexibleServerInputObject + -Name [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about a firewall rule in a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the firewall rule. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityFlexibleServer +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IFirewallRule + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerMigration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerMigration.md new file mode 100644 index 000000000000..ea6687bfceb3 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerMigration.md @@ -0,0 +1,208 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservermigration +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerMigration + +## SYNOPSIS +Gets information about a migration. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerMigration -ResourceGroupName -ServerName + [-SubscriptionId ] [-MigrationListFilter ] [-DefaultProfile ] + [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerMigration -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerMigration -FlexibleServerInputObject + -Name [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about a migration. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -MigrationListFilter +Migration list filter. +Indicates if the request should retrieve only active migrations or all migrations. +Defaults to Active. + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of migration. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityFlexibleServer +Aliases: MigrationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigration + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md new file mode 100644 index 000000000000..1b53c8a9abcc --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md @@ -0,0 +1,108 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverprivatednszonesuffix +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix + +## SYNOPSIS +Gets the private DNS zone suffix. + +## SYNTAX + +``` +Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Gets the private DNS zone suffix. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### System.String + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerQuotaUsage.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerQuotaUsage.md new file mode 100644 index 000000000000..943487fddf7d --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerQuotaUsage.md @@ -0,0 +1,108 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverquotausage +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerQuotaUsage + +## SYNOPSIS +Get quota usages at specified location in a given subscription. + +## SYNTAX + +``` +Get-AzPostgreSqlFlexibleServerQuotaUsage -LocationName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get quota usages at specified location in a given subscription. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocationName +The name of the location. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IQuotaUsage + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerReplica.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerReplica.md new file mode 100644 index 000000000000..d86f873b1074 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerReplica.md @@ -0,0 +1,124 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverreplica +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerReplica + +## SYNOPSIS +Lists all read replicas of a server. + +## SYNTAX + +``` +Get-AzPostgreSqlFlexibleServerReplica -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +Lists all read replicas of a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IServer + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerTuningOption.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerTuningOption.md new file mode 100644 index 000000000000..7a9da3595b65 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerTuningOption.md @@ -0,0 +1,190 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservertuningoption +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerTuningOption + +## SYNOPSIS +Gets the tuning options of a server. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerTuningOption -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerTuningOption -ResourceGroupName -ServerName + -TuningOption [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerTuningOption -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerTuningOption -FlexibleServerInputObject + -TuningOption [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets the tuning options of a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TuningOption +The name of the tuning option. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ITuningOptions + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md new file mode 100644 index 000000000000..01350879421e --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md @@ -0,0 +1,156 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservertuningoptionrecommendation +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation + +## SYNOPSIS +Lists available object recommendations. + +## SYNTAX + +``` +Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation -ResourceGroupName -ServerName + -TuningOption [-SubscriptionId ] [-RecommendationType ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Lists available object recommendations. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecommendationType +Recommendations list filter. +Retrieves recommendations based on type. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TuningOption +The name of the tuning option. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IObjectRecommendation + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md new file mode 100644 index 000000000000..8657d6a007a7 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md @@ -0,0 +1,190 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservervirtualendpoint +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerVirtualEndpoint + +## SYNOPSIS +Gets information about a pair of virtual endpoints. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerVirtualEndpoint -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerVirtualEndpoint -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerVirtualEndpoint -FlexibleServerInputObject + -Name [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about a pair of virtual endpoints. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Base name of the virtual endpoints. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityFlexibleServer +Aliases: VirtualEndpointName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IVirtualEndpoint + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md new file mode 100644 index 000000000000..2ca01f827eeb --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md @@ -0,0 +1,222 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservervirtualnetworksubnetusage +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage + +## SYNOPSIS +Lists the virtual network subnet usage for a given virtual network. + +## SYNTAX + +### ListExpanded (Default) +``` +Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage -LocationName [-SubscriptionId ] + [-VirtualNetworkArmResourceId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### List +``` +Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage -LocationName + -Parameter [-SubscriptionId ] [-DefaultProfile ] + [-Confirm] [-WhatIf] [] +``` + +### ListViaJsonFilePath +``` +Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage -LocationName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### ListViaJsonString +``` +Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage -LocationName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Lists the virtual network subnet usage for a given virtual network. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocationName +The name of the location. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +Virtual network subnet usage parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IVirtualNetworkSubnetUsageParameter +Parameter Sets: List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VirtualNetworkArmResourceId +Virtual network resource id. + +```yaml +Type: System.String +Parameter Sets: ListExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IVirtualNetworkSubnetUsageParameter + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IVirtualNetworkSubnetUsageModel + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Move-AzPostgreSqlFlexibleServerNetworkMode.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Move-AzPostgreSqlFlexibleServerNetworkMode.md new file mode 100644 index 000000000000..c16c3ada0bdc --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Move-AzPostgreSqlFlexibleServerNetworkMode.md @@ -0,0 +1,210 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/move-azpostgresqlflexibleservernetworkmode +schema: 2.0.0 +--- + +# Move-AzPostgreSqlFlexibleServerNetworkMode + +## SYNOPSIS +Migrates the network configuration of a PostgreSQL flexible server from customer owned VNET to Microsoft owned VNET with support for private endpoints, or from Microsoft owned VNET with no support for private endpoints to Microsoft owned VNET with support for private endpoints. + +## SYNTAX + +### Migrate (Default) +``` +Move-AzPostgreSqlFlexibleServerNetworkMode -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### MigrateViaIdentity +``` +Move-AzPostgreSqlFlexibleServerNetworkMode -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Migrates the network configuration of a PostgreSQL flexible server from customer owned VNET to Microsoft owned VNET with support for private endpoints, or from Microsoft owned VNET with no support for private endpoints to Microsoft owned VNET with support for private endpoints. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: MigrateViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Migrate +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Migrate +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Migrate +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigrateNetworkStatus + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..24dcfd6b2f7e --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,866 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/new-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Create a new server. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServer -Name -ResourceGroupName -Location + [-SubscriptionId ] [-AdministratorLogin ] [-AdministratorLoginPassword ] + [-AuthConfigActiveDirectoryAuth ] [-AuthConfigPasswordAuth ] [-AuthConfigTenantId ] + [-AvailabilityZone ] [-BackupGeoRedundantBackup ] [-BackupRetentionDay ] + [-ClusterDefaultDatabaseName ] [-ClusterSize ] [-CreateMode ] + [-DataEncryptionGeoBackupKeyUri ] [-DataEncryptionGeoBackupUserAssignedIdentityId ] + [-DataEncryptionPrimaryKeyUri ] [-DataEncryptionPrimaryUserAssignedIdentityId ] + [-DataEncryptionType ] [-EnableSystemAssignedIdentity] [-HighAvailabilityMode ] + [-HighAvailabilityStandbyAvailabilityZone ] [-IdentityPrincipalId ] + [-NetworkDelegatedSubnetResourceId ] [-NetworkPrivateDnsZoneArmResourceId ] + [-NetworkPublicNetworkAccess ] [-PointInTimeUtc ] [-ReplicationRole ] + [-SkuName ] [-SkuTier ] [-SourceServerResourceId ] [-StorageAutoGrow ] + [-StorageIop ] [-StorageSizeGb ] [-StorageThroughput ] [-StorageTier ] + [-StorageType ] [-Tag ] [-UserAssignedIdentity ] [-Version ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityExpanded +``` +New-AzPostgreSqlFlexibleServer -InputObject -Location + [-AdministratorLogin ] [-AdministratorLoginPassword ] + [-AuthConfigActiveDirectoryAuth ] [-AuthConfigPasswordAuth ] [-AuthConfigTenantId ] + [-AvailabilityZone ] [-BackupGeoRedundantBackup ] [-BackupRetentionDay ] + [-ClusterDefaultDatabaseName ] [-ClusterSize ] [-CreateMode ] + [-DataEncryptionGeoBackupKeyUri ] [-DataEncryptionGeoBackupUserAssignedIdentityId ] + [-DataEncryptionPrimaryKeyUri ] [-DataEncryptionPrimaryUserAssignedIdentityId ] + [-DataEncryptionType ] [-EnableSystemAssignedIdentity] [-HighAvailabilityMode ] + [-HighAvailabilityStandbyAvailabilityZone ] [-IdentityPrincipalId ] + [-NetworkDelegatedSubnetResourceId ] [-NetworkPrivateDnsZoneArmResourceId ] + [-NetworkPublicNetworkAccess ] [-PointInTimeUtc ] [-ReplicationRole ] + [-SkuName ] [-SkuTier ] [-SourceServerResourceId ] [-StorageAutoGrow ] + [-StorageIop ] [-StorageSizeGb ] [-StorageThroughput ] [-StorageTier ] + [-StorageType ] [-Tag ] [-UserAssignedIdentity ] [-Version ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzPostgreSqlFlexibleServer -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaJsonString +``` +New-AzPostgreSqlFlexibleServer -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Create a new server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AdministratorLogin +Name of the login designated as the first password based administrator assigned to your instance of PostgreSQL. +Must be specified the first time that you enable password based authentication on a server. +Once set to a given value, it cannot be changed for the rest of the life of a server. +If you disable password based authentication on a server which had it enabled, this password based role isn't deleted. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdministratorLoginPassword +Password assigned to the administrator login. +As long as password authentication is enabled, this password can be changed at any time. + +```yaml +Type: System.Security.SecureString +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigActiveDirectoryAuth +Indicates if the server supports Microsoft Entra authentication. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigPasswordAuth +Indicates if the server supports password based authentication. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigTenantId +Identifier of the tenant of the delegated resource. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AvailabilityZone +Availability zone of a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupGeoRedundantBackup +Indicates if the server is configured to create geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterDefaultDatabaseName +Default database name for the elastic cluster. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterSize +Number of nodes assigned to the elastic cluster. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CreateMode +Creation mode of a new server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionGeoBackupKeyUri +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionGeoBackupUserAssignedIdentityId +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionPrimaryKeyUri +URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionPrimaryUserAssignedIdentityId +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the primary storage associated to a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionType +Data encryption type used by a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HighAvailabilityMode +High availability mode for a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HighAvailabilityStandbyAvailabilityZone +Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityPrincipalId +Identifier of the object of the service principal associated to the user assigned managed identity. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The geo-location where the resource lives + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkDelegatedSubnetResourceId +Resource identifier of the delegated subnet. +Required during creation of a new server, in case you want the server to be integrated into your own virtual network. +For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkPrivateDnsZoneArmResourceId +Identifier of the private DNS zone. +Required during creation of a new server, in case you want the server to be integrated into your own virtual network. +For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkPublicNetworkAccess +Indicates if public network access is enabled or not. +This is only supported for servers that are not integrated into a virtual network which is owned and provided by customer when server is deployed. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PointInTimeUtc +Creation time (in ISO8601 format) of the backup which you want to restore in the new server. +It's required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', or 'ReviveDropped'. + +```yaml +Type: System.DateTime +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicationRole +Role of the server in a replication set. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuName +Name by which is known a given compute size assigned to a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuTier +Tier of the compute assigned to a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceServerResourceId +Identifier of the server to be used as the source of the new server. +Required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', 'Replica', or 'ReviveDropped'. +This property is returned only when the target server is a read replica. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageAutoGrow +Flag to enable or disable the automatic growth of storage size of a server when available space is nearing zero and conditions allow for automatically growing storage size. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageIop +Maximum IOPS supported for storage. +Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageSizeGb +Size of storage assigned to a server. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageThroughput +Maximum throughput supported for storage. +Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageTier +Storage tier of a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageType +Type of storage assigned to a server. +Allowed values are Premium_LRS, PremiumV2_LRS, or UltraSSD_LRS. +If not specified, it defaults to Premium_LRS. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserAssignedIdentity +The array of user assigned identities associated with the resource. +The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.' + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Version +Major version of PostgreSQL database engine. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IServer + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md new file mode 100644 index 000000000000..295e9354c9af --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md @@ -0,0 +1,339 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/new-azpostgresqlflexibleserveradministratorsmicrosoftentra +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra + +## SYNOPSIS +Create a new server administrator associated to a Microsoft Entra principal. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName [-SubscriptionId ] [-PrincipalName ] [-PrincipalType ] + [-TenantId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaIdentityExpanded +``` +New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -InputObject + [-PrincipalName ] [-PrincipalType ] [-TenantId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityFlexibleServerExpanded +``` +New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra + -FlexibleServerInputObject -ObjectId [-PrincipalName ] + [-PrincipalType ] [-TenantId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Create a new server administrator associated to a Microsoft Entra principal. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ObjectId +Object identifier of the Microsoft Entra principal. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrincipalName +Name of the Microsoft Entra principal. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrincipalType +Type of Microsoft Entra principal to which the server administrator is associated. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TenantId +Identifier of the tenant in which the Microsoft Entra principal exists. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IAdministratorMicrosoftEntra + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerDatabase.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..622fe1fa065e --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerDatabase.md @@ -0,0 +1,323 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/new-azpostgresqlflexibleserverdatabase +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServerDatabase + +## SYNOPSIS +Create a new database. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityExpanded +``` +New-AzPostgreSqlFlexibleServerDatabase -InputObject [-Charset ] + [-Collation ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaIdentityFlexibleServerExpanded +``` +New-AzPostgreSqlFlexibleServerDatabase -FlexibleServerInputObject + -Name [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Create a new database. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Charset +Character set of the database. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Collation +Collation of the database. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the database (case-sensitive). +Exact database names can be retrieved by getting the list of all existing databases in a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IDatabase + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..1f5ce7fd686e --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,324 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/new-azpostgresqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServerFirewallRule + +## SYNOPSIS +Create a new firewall rule or create an existing firewall rule. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + -EndIPAddress -StartIPAddress [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityExpanded +``` +New-AzPostgreSqlFlexibleServerFirewallRule -InputObject + -EndIPAddress -StartIPAddress [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaIdentityFlexibleServerExpanded +``` +New-AzPostgreSqlFlexibleServerFirewallRule -FlexibleServerInputObject + -Name -EndIPAddress -StartIPAddress [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Create a new firewall rule or create an existing firewall rule. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +IP address defining the end of the range of addresses of a firewall rule. +Must be expressed in IPv4 format. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the firewall rule. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +IP address defining the start of the range of addresses of a firewall rule. +Must be expressed in IPv4 format. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IFirewallRule + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerMigration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerMigration.md new file mode 100644 index 000000000000..1a338871abb9 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerMigration.md @@ -0,0 +1,673 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/new-azpostgresqlflexibleservermigration +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServerMigration + +## SYNOPSIS +Create a new migration. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + -Location [-SubscriptionId ] [-AdminCredentialsSourceServerPassword ] + [-AdminCredentialsTargetServerPassword ] [-Cancel ] + [-DbsToCancelMigrationOn ] [-DbsToMigrate ] [-DbsToTriggerCutoverOn ] + [-MigrateRole ] [-MigrationInstanceResourceId ] [-MigrationMode ] + [-MigrationOption ] [-MigrationWindowEndTimeInUtc ] + [-MigrationWindowStartTimeInUtc ] [-OverwriteDbsInTarget ] + [-SecretParameterSourceServerUsername ] [-SecretParameterTargetServerUsername ] + [-SetupLogicalReplicationOnSourceDbIfNeeded ] [-SourceDbServerFullyQualifiedDomainName ] + [-SourceDbServerResourceId ] [-SourceType ] [-SslMode ] + [-StartDataMigration ] [-Tag ] [-TargetDbServerFullyQualifiedDomainName ] + [-TriggerCutover ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityExpanded +``` +New-AzPostgreSqlFlexibleServerMigration -InputObject -Location + [-AdminCredentialsSourceServerPassword ] [-AdminCredentialsTargetServerPassword ] + [-Cancel ] [-DbsToCancelMigrationOn ] [-DbsToMigrate ] + [-DbsToTriggerCutoverOn ] [-MigrateRole ] [-MigrationInstanceResourceId ] + [-MigrationMode ] [-MigrationOption ] [-MigrationWindowEndTimeInUtc ] + [-MigrationWindowStartTimeInUtc ] [-OverwriteDbsInTarget ] + [-SecretParameterSourceServerUsername ] [-SecretParameterTargetServerUsername ] + [-SetupLogicalReplicationOnSourceDbIfNeeded ] [-SourceDbServerFullyQualifiedDomainName ] + [-SourceDbServerResourceId ] [-SourceType ] [-SslMode ] + [-StartDataMigration ] [-Tag ] [-TargetDbServerFullyQualifiedDomainName ] + [-TriggerCutover ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityFlexibleServerExpanded +``` +New-AzPostgreSqlFlexibleServerMigration -FlexibleServerInputObject + -Name -Location [-AdminCredentialsSourceServerPassword ] + [-AdminCredentialsTargetServerPassword ] [-Cancel ] + [-DbsToCancelMigrationOn ] [-DbsToMigrate ] [-DbsToTriggerCutoverOn ] + [-MigrateRole ] [-MigrationInstanceResourceId ] [-MigrationMode ] + [-MigrationOption ] [-MigrationWindowEndTimeInUtc ] + [-MigrationWindowStartTimeInUtc ] [-OverwriteDbsInTarget ] + [-SecretParameterSourceServerUsername ] [-SecretParameterTargetServerUsername ] + [-SetupLogicalReplicationOnSourceDbIfNeeded ] [-SourceDbServerFullyQualifiedDomainName ] + [-SourceDbServerResourceId ] [-SourceType ] [-SslMode ] + [-StartDataMigration ] [-Tag ] [-TargetDbServerFullyQualifiedDomainName ] + [-TriggerCutover ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaJsonString +``` +New-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Create a new migration. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AdminCredentialsSourceServerPassword +Password for the user of the source server. + +```yaml +Type: System.Security.SecureString +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdminCredentialsTargetServerPassword +Password for the user of the target server. + +```yaml +Type: System.Security.SecureString +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cancel +Indicates if cancel must be triggered for the entire migration. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DbsToCancelMigrationOn +When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DbsToMigrate +Names of databases to migrate. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DbsToTriggerCutoverOn +When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The geo-location where the resource lives + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrateRole +Indicates if roles and permissions must be migrated. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrationInstanceResourceId +Identifier of the private endpoint migration instance. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrationMode +Mode used to perform the migration: Online or Offline. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrationOption +Supported option for a migration. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrationWindowEndTimeInUtc +End time (UTC) for migration window. + +```yaml +Type: System.DateTime +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrationWindowStartTimeInUtc +Start time (UTC) for migration window. + +```yaml +Type: System.DateTime +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of migration. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: MigrationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverwriteDbsInTarget +Indicates if databases on the target server can be overwritten when already present. +If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecretParameterSourceServerUsername +Gets or sets the name of the user for the source server. +This user doesn't need to be an administrator. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecretParameterTargetServerUsername +Gets or sets the name of the user for the target server. +This user doesn't need to be an administrator. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SetupLogicalReplicationOnSourceDbIfNeeded +Indicates whether to setup logical replication on source server, if needed. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceDbServerFullyQualifiedDomainName +Fully qualified domain name (FQDN) or IP address of the source server. +This property is optional. +When provided, the migration service will always use it to connect to the source server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceDbServerResourceId +Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. +For other source types this must be set to ipaddress:port@username or hostname:port@username. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceType +Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SslMode +SSL mode used by a migration. +Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. +Default SSL mode for other source types is 'Prefer'. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartDataMigration +Indicates if data migration must start right away. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetDbServerFullyQualifiedDomainName +Fully qualified domain name (FQDN) or IP address of the target server. +This property is optional. +When provided, the migration service will always use it to connect to the target server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TriggerCutover +Indicates if cutover must be triggered for the entire migration. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigration + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md new file mode 100644 index 000000000000..79b6109ba9d7 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md @@ -0,0 +1,269 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/new-azpostgresqlflexibleserverthreatprotectionsetting +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServerThreatProtectionSetting + +## SYNOPSIS +Create a server's Advanced Threat Protection settings. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName + [-SubscriptionId ] [-State ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaIdentityExpanded +``` +New-AzPostgreSqlFlexibleServerThreatProtectionSetting -InputObject + [-State ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Create a server's Advanced Threat Protection settings. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +Specifies the state of the advanced threat protection, whether it is enabled, disabled, or a state has not been applied yet on the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IAdvancedThreatProtectionSettingsModel + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerVirtualEndpoint.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerVirtualEndpoint.md new file mode 100644 index 000000000000..99d77fa2b254 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/New-AzPostgreSqlFlexibleServerVirtualEndpoint.md @@ -0,0 +1,322 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/new-azpostgresqlflexibleservervirtualendpoint +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServerVirtualEndpoint + +## SYNOPSIS +Create a pair of virtual endpoints for a server. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-EndpointType ] [-Member ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityExpanded +``` +New-AzPostgreSqlFlexibleServerVirtualEndpoint -InputObject + [-EndpointType ] [-Member ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaIdentityFlexibleServerExpanded +``` +New-AzPostgreSqlFlexibleServerVirtualEndpoint -FlexibleServerInputObject + -Name [-EndpointType ] [-Member ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Create a pair of virtual endpoints for a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndpointType +Type of endpoint for the virtual endpoints. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Member +List of servers that one of the virtual endpoints can refer to. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Base name of the virtual endpoints. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: VirtualEndpointName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IVirtualEndpoint + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..cfba6be056e6 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,224 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Deletes or drops an existing server. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlFlexibleServer -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes or drops an existing server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md new file mode 100644 index 000000000000..2fea1a719452 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md @@ -0,0 +1,262 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleserveradministratorsmicrosoftentra +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra + +## SYNOPSIS +Deletes an existing server administrator associated to a Microsoft Entra principal. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentityFlexibleServer +``` +Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra + -FlexibleServerInputObject -ObjectId + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes an existing server administrator associated to a Microsoft Entra principal. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ObjectId +Object identifier of the Microsoft Entra principal. + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md new file mode 100644 index 000000000000..188fa51008ef --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md @@ -0,0 +1,262 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleserverbackupsautomaticandondemand +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand + +## SYNOPSIS +Deletes a specific backup, given its name. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -BackupName -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentityFlexibleServer +``` +Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -BackupName + -FlexibleServerInputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a specific backup, given its name. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupName +Name of the backup. + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServerDatabase.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..dda9e9b30853 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServerDatabase.md @@ -0,0 +1,263 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleserverdatabase +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlFlexibleServerDatabase + +## SYNOPSIS +Deletes an existing database. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlFlexibleServerDatabase -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentityFlexibleServer +``` +Remove-AzPostgreSqlFlexibleServerDatabase -FlexibleServerInputObject + -Name [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Deletes an existing database. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the database (case-sensitive). +Exact database names can be retrieved by getting the list of all existing databases in a server. + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityFlexibleServer +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..2e784a7245db --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,262 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlFlexibleServerFirewallRule + +## SYNOPSIS +Deletes an existing firewall rule. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlFlexibleServerFirewallRule -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentityFlexibleServer +``` +Remove-AzPostgreSqlFlexibleServerFirewallRule -FlexibleServerInputObject + -Name [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Deletes an existing firewall rule. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the firewall rule. + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityFlexibleServer +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md new file mode 100644 index 000000000000..0ddc0211a7e2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md @@ -0,0 +1,262 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleservervirtualendpoint +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlFlexibleServerVirtualEndpoint + +## SYNOPSIS +Deletes a pair of virtual endpoints. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlFlexibleServerVirtualEndpoint -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentityFlexibleServer +``` +Remove-AzPostgreSqlFlexibleServerVirtualEndpoint + -FlexibleServerInputObject -Name [-DefaultProfile ] + [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a pair of virtual endpoints. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Base name of the virtual endpoints. + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityFlexibleServer +Aliases: VirtualEndpointName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Restart-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Restart-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..bc5a727a8498 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Restart-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,332 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/restart-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Restart-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Restarts PostgreSQL database engine in a server. + +## SYNTAX + +### RestartExpanded (Default) +``` +Restart-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-FailoverMode ] [-RestartWithFailover] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +### Restart +``` +Restart-AzPostgreSqlFlexibleServer -Name -ResourceGroupName -Parameter + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### RestartViaIdentity +``` +Restart-AzPostgreSqlFlexibleServer -InputObject + -Parameter [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +### RestartViaIdentityExpanded +``` +Restart-AzPostgreSqlFlexibleServer -InputObject [-FailoverMode ] + [-RestartWithFailover] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### RestartViaJsonFilePath +``` +Restart-AzPostgreSqlFlexibleServer -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### RestartViaJsonString +``` +Restart-AzPostgreSqlFlexibleServer -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Restarts PostgreSQL database engine in a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FailoverMode +Failover mode. + +```yaml +Type: System.String +Parameter Sets: RestartExpanded, RestartViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: RestartViaIdentity, RestartViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Restart operation + +```yaml +Type: System.String +Parameter Sets: RestartViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Restart operation + +```yaml +Type: System.String +Parameter Sets: RestartViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Restart, RestartExpanded, RestartViaJsonFilePath, RestartViaJsonString +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +PostgreSQL database engine restart parameters. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IRestartParameter +Parameter Sets: Restart, RestartViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Restart, RestartExpanded, RestartViaJsonFilePath, RestartViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestartWithFailover +Indicates if restart the PostgreSQL database engine should failover or switch over from primary to standby. +This only works if server has high availability enabled. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: RestartExpanded, RestartViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Restart, RestartExpanded, RestartViaJsonFilePath, RestartViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IRestartParameter + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Set-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Set-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..21f8befb5f44 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Set-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,830 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/set-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Set-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Update a new server. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Set-AzPostgreSqlFlexibleServer -Name -ResourceGroupName -Location + [-SubscriptionId ] [-AdministratorLogin ] [-AdministratorLoginPassword ] + [-AuthConfigActiveDirectoryAuth ] [-AuthConfigPasswordAuth ] [-AuthConfigTenantId ] + [-AvailabilityZone ] [-BackupGeoRedundantBackup ] [-BackupRetentionDay ] + [-ClusterDefaultDatabaseName ] [-ClusterSize ] [-CreateMode ] + [-DataEncryptionGeoBackupKeyUri ] [-DataEncryptionGeoBackupUserAssignedIdentityId ] + [-DataEncryptionPrimaryKeyUri ] [-DataEncryptionPrimaryUserAssignedIdentityId ] + [-DataEncryptionType ] [-EnableSystemAssignedIdentity ] [-HighAvailabilityMode ] + [-HighAvailabilityStandbyAvailabilityZone ] [-IdentityPrincipalId ] + [-NetworkDelegatedSubnetResourceId ] [-NetworkPrivateDnsZoneArmResourceId ] + [-NetworkPublicNetworkAccess ] [-PointInTimeUtc ] [-ReplicationRole ] + [-SkuName ] [-SkuTier ] [-SourceServerResourceId ] [-StorageAutoGrow ] + [-StorageIop ] [-StorageSizeGb ] [-StorageThroughput ] [-StorageTier ] + [-StorageType ] [-Tag ] [-UserAssignedIdentity ] [-Version ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Set-AzPostgreSqlFlexibleServer -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaJsonString +``` +Set-AzPostgreSqlFlexibleServer -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Update a new server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AdministratorLogin +Name of the login designated as the first password based administrator assigned to your instance of PostgreSQL. +Must be specified the first time that you enable password based authentication on a server. +Once set to a given value, it cannot be changed for the rest of the life of a server. +If you disable password based authentication on a server which had it enabled, this password based role isn't deleted. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdministratorLoginPassword +Password assigned to the administrator login. +As long as password authentication is enabled, this password can be changed at any time. + +```yaml +Type: System.Security.SecureString +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigActiveDirectoryAuth +Indicates if the server supports Microsoft Entra authentication. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigPasswordAuth +Indicates if the server supports password based authentication. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigTenantId +Identifier of the tenant of the delegated resource. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AvailabilityZone +Availability zone of a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupGeoRedundantBackup +Indicates if the server is configured to create geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterDefaultDatabaseName +Default database name for the elastic cluster. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterSize +Number of nodes assigned to the elastic cluster. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CreateMode +Creation mode of a new server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionGeoBackupKeyUri +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionGeoBackupUserAssignedIdentityId +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionPrimaryKeyUri +URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionPrimaryUserAssignedIdentityId +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the primary storage associated to a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionType +Data encryption type used by a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. + +```yaml +Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HighAvailabilityMode +High availability mode for a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HighAvailabilityStandbyAvailabilityZone +Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityPrincipalId +Identifier of the object of the service principal associated to the user assigned managed identity. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The geo-location where the resource lives + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkDelegatedSubnetResourceId +Resource identifier of the delegated subnet. +Required during creation of a new server, in case you want the server to be integrated into your own virtual network. +For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkPrivateDnsZoneArmResourceId +Identifier of the private DNS zone. +Required during creation of a new server, in case you want the server to be integrated into your own virtual network. +For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkPublicNetworkAccess +Indicates if public network access is enabled or not. +This is only supported for servers that are not integrated into a virtual network which is owned and provided by customer when server is deployed. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PointInTimeUtc +Creation time (in ISO8601 format) of the backup which you want to restore in the new server. +It's required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', or 'ReviveDropped'. + +```yaml +Type: System.DateTime +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicationRole +Role of the server in a replication set. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuName +Name by which is known a given compute size assigned to a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuTier +Tier of the compute assigned to a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceServerResourceId +Identifier of the server to be used as the source of the new server. +Required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', 'Replica', or 'ReviveDropped'. +This property is returned only when the target server is a read replica. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageAutoGrow +Flag to enable or disable the automatic growth of storage size of a server when available space is nearing zero and conditions allow for automatically growing storage size. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageIop +Maximum IOPS supported for storage. +Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageSizeGb +Size of storage assigned to a server. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageThroughput +Maximum throughput supported for storage. +Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageTier +Storage tier of a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageType +Type of storage assigned to a server. +Allowed values are Premium_LRS, PremiumV2_LRS, or UltraSSD_LRS. +If not specified, it defaults to Premium_LRS. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserAssignedIdentity +The array of user assigned identities associated with the resource. +The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.' + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Version +Major version of PostgreSQL database engine. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IServer + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md new file mode 100644 index 000000000000..ab117c9cd9d9 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md @@ -0,0 +1,292 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/set-azpostgresqlflexibleserveradministratorsmicrosoftentra +schema: 2.0.0 +--- + +# Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra + +## SYNOPSIS +Update a new server administrator associated to a Microsoft Entra principal. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName [-SubscriptionId ] [-PrincipalName ] [-PrincipalType ] + [-TenantId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaJsonFilePath +``` +Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a new server administrator associated to a Microsoft Entra principal. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ObjectId +Object identifier of the Microsoft Entra principal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrincipalName +Name of the Microsoft Entra principal. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrincipalType +Type of Microsoft Entra principal to which the server administrator is associated. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TenantId +Identifier of the tenant in which the Microsoft Entra principal exists. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IAdministratorMicrosoftEntra + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Set-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Set-AzPostgreSqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..141e88f103aa --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Set-AzPostgreSqlFlexibleServerConfiguration.md @@ -0,0 +1,302 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/set-azpostgresqlflexibleserverconfiguration +schema: 2.0.0 +--- + +# Set-AzPostgreSqlFlexibleServerConfiguration + +## SYNOPSIS +Put using Put verb, the value assigned to a specific modifiable configuration (also known as server parameter) of a server. + +## SYNTAX + +### PutExpanded (Default) +``` +Set-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### Put +``` +Set-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + -Parameter [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### PutViaJsonFilePath +``` +Set-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### PutViaJsonString +``` +Set-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Put using Put verb, the value assigned to a specific modifiable configuration (also known as server parameter) of a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Put operation + +```yaml +Type: System.String +Parameter Sets: PutViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Put operation + +```yaml +Type: System.String +Parameter Sets: PutViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the configuration (also known as server parameter). + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +Configuration (also known as server parameter). + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IConfigurationForUpdate +Parameter Sets: Put +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Source +Source of the value assigned to the configuration (also known as server parameter). +Required to update the value assigned to a specific modifiable configuration. + +```yaml +Type: System.String +Parameter Sets: PutExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Value +Value of the configuration (also known as server parameter). +Required to update the value assigned to a specific modifiable configuration. + +```yaml +Type: System.String +Parameter Sets: PutExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IConfigurationForUpdate + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IConfiguration + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Set-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Set-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..9df10592092a --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Set-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,278 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/set-azpostgresqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Set-AzPostgreSqlFlexibleServerFirewallRule + +## SYNOPSIS +Update a new firewall rule or update an existing firewall rule. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Set-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + -EndIPAddress -StartIPAddress [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Set-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Set-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Update a new firewall rule or update an existing firewall rule. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +IP address defining the end of the range of addresses of a firewall rule. +Must be expressed in IPv4 format. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the firewall rule. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +IP address defining the start of the range of addresses of a firewall rule. +Must be expressed in IPv4 format. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IFirewallRule + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md new file mode 100644 index 000000000000..4d5de912fcd1 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md @@ -0,0 +1,246 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/set-azpostgresqlflexibleserverthreatprotectionsetting +schema: 2.0.0 +--- + +# Set-AzPostgreSqlFlexibleServerThreatProtectionSetting + +## SYNOPSIS +Update a server's Advanced Threat Protection settings. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Set-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName + [-SubscriptionId ] [-State ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Set-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Set-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Update a server's Advanced Threat Protection settings. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +Specifies the state of the advanced threat protection, whether it is enabled, disabled, or a state has not been applied yet on the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IAdvancedThreatProtectionSettingsModel + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Start-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Start-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..fab1bc081bc5 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Start-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,224 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/start-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Start-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Starts a stopped server. + +## SYNTAX + +### Start (Default) +``` +Start-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### StartViaIdentity +``` +Start-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] + [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Starts a stopped server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: StartViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md new file mode 100644 index 000000000000..5b94b6bed9f8 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md @@ -0,0 +1,316 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/start-azpostgresqlflexibleserverbackupslongtermretention +schema: 2.0.0 +--- + +# Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention + +## SYNOPSIS +Initiates a long term retention backup. + +## SYNTAX + +### StartViaIdentity (Default) +``` +Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -InputObject + -Parameter [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### Start +``` +Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -ResourceGroupName -ServerName + -Parameter [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### StartExpanded +``` +Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -ResourceGroupName -ServerName + -BackupSettingBackupName -TargetDetailSasUriList [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### StartViaIdentityExpanded +``` +Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -InputObject + -BackupSettingBackupName -TargetDetailSasUriList [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### StartViaJsonFilePath +``` +Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### StartViaJsonString +``` +Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Initiates a long term retention backup. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupSettingBackupName +Backup Name for the current backup + +```yaml +Type: System.String +Parameter Sets: StartExpanded, StartViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: StartViaIdentity, StartViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Start operation + +```yaml +Type: System.String +Parameter Sets: StartViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Start operation + +```yaml +Type: System.String +Parameter Sets: StartViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +The request that is made for a long term retention backup. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IBackupsLongTermRetentionRequest +Parameter Sets: Start, StartViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Start, StartExpanded, StartViaJsonFilePath, StartViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Start, StartExpanded, StartViaJsonFilePath, StartViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Start, StartExpanded, StartViaJsonFilePath, StartViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetDetailSasUriList +List of SAS uri of storage containers where backup data is to be streamed/copied. + +```yaml +Type: System.Security.SecureString[] +Parameter Sets: StartExpanded, StartViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IBackupsLongTermRetentionRequest + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IBackupsLongTermRetentionResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Stop-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Stop-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..ed8a95f9a76d --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Stop-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,224 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/stop-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Stop-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Stops a server. + +## SYNTAX + +### Stop (Default) +``` +Stop-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### StopViaIdentity +``` +Stop-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] + [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Stops a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: StopViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Stop-AzPostgreSqlFlexibleServerMigration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Stop-AzPostgreSqlFlexibleServerMigration.md new file mode 100644 index 000000000000..40ececabd5eb --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Stop-AzPostgreSqlFlexibleServerMigration.md @@ -0,0 +1,230 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/stop-azpostgresqlflexibleservermigration +schema: 2.0.0 +--- + +# Stop-AzPostgreSqlFlexibleServerMigration + +## SYNOPSIS +Cancels an active migration. + +## SYNTAX + +### Cancel (Default) +``` +Stop-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### CancelViaIdentity +``` +Stop-AzPostgreSqlFlexibleServerMigration -InputObject + [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### CancelViaIdentityFlexibleServer +``` +Stop-AzPostgreSqlFlexibleServerMigration -FlexibleServerInputObject + -Name [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Cancels an active migration. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CancelViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CancelViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of migration. + +```yaml +Type: System.String +Parameter Sets: Cancel, CancelViaIdentityFlexibleServer +Aliases: MigrationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Cancel +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Cancel +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Cancel +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigration + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md new file mode 100644 index 000000000000..cf518a57e897 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md @@ -0,0 +1,271 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/test-azpostgresqlflexibleserverbackupslongtermretentionprerequisite +schema: 2.0.0 +--- + +# Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite + +## SYNOPSIS +Performs all checks required for a long term retention backup operation to succeed. + +## SYNTAX + +### CheckExpanded (Default) +``` +Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite -ResourceGroupName + -ServerName -BackupSettingBackupName [-SubscriptionId ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### Check +``` +Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite -ResourceGroupName + -ServerName -Parameter [-SubscriptionId ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CheckViaIdentity +``` +Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite + -InputObject -Parameter + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CheckViaIdentityExpanded +``` +Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite + -InputObject -BackupSettingBackupName + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CheckViaJsonFilePath +``` +Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite -ResourceGroupName + -ServerName -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] + [-Confirm] [-WhatIf] [] +``` + +### CheckViaJsonString +``` +Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite -ResourceGroupName + -ServerName -JsonString [-SubscriptionId ] [-DefaultProfile ] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Performs all checks required for a long term retention backup operation to succeed. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -BackupSettingBackupName +Backup Name for the current backup + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CheckViaIdentity, CheckViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +A request that is made for pre-backup. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ILtrPreBackupRequest +Parameter Sets: Check, CheckViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Check, CheckExpanded, CheckViaJsonFilePath, CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Check, CheckExpanded, CheckViaJsonFilePath, CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Check, CheckExpanded, CheckViaJsonFilePath, CheckViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ILtrPreBackupRequest + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ILtrPreBackupResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md new file mode 100644 index 000000000000..ce3201930a18 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md @@ -0,0 +1,285 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/test-azpostgresqlflexibleservermigrationnameavailability +schema: 2.0.0 +--- + +# Test-AzPostgreSqlFlexibleServerMigrationNameAvailability + +## SYNOPSIS +Checks if a proposed migration name is valid and available. + +## SYNTAX + +### CheckExpanded (Default) +``` +Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -ResourceGroupName -ServerName + -Name -Type [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### Check +``` +Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -ResourceGroupName -ServerName + -Parameter [-SubscriptionId ] [-DefaultProfile ] [-Confirm] + [-WhatIf] [] +``` + +### CheckViaIdentity +``` +Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -InputObject + -Parameter [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### CheckViaIdentityExpanded +``` +Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -InputObject + -Name -Type [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CheckViaJsonFilePath +``` +Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### CheckViaJsonString +``` +Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Checks if a proposed migration name is valid and available. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CheckViaIdentity, CheckViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the migration to check for validity and availability. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +Availability of a migration name. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigrationNameAvailability +Parameter Sets: Check, CheckViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Check, CheckExpanded, CheckViaJsonFilePath, CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Check, CheckExpanded, CheckViaJsonFilePath, CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Check, CheckExpanded, CheckViaJsonFilePath, CheckViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Type +Type of resource. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigrationNameAvailability + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigrationNameAvailability + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Test-AzPostgreSqlFlexibleServerNameAvailability.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Test-AzPostgreSqlFlexibleServerNameAvailability.md new file mode 100644 index 000000000000..cb31a1552140 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Test-AzPostgreSqlFlexibleServerNameAvailability.md @@ -0,0 +1,266 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/test-azpostgresqlflexibleservernameavailability +schema: 2.0.0 +--- + +# Test-AzPostgreSqlFlexibleServerNameAvailability + +## SYNOPSIS +Check the availability of name for resource + +## SYNTAX + +### CheckExpanded (Default) +``` +Test-AzPostgreSqlFlexibleServerNameAvailability -LocationName [-SubscriptionId ] + [-Name ] [-Type ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### Check +``` +Test-AzPostgreSqlFlexibleServerNameAvailability -LocationName + -Parameter [-SubscriptionId ] [-DefaultProfile ] [-Confirm] + [-WhatIf] [] +``` + +### CheckViaIdentity +``` +Test-AzPostgreSqlFlexibleServerNameAvailability -InputObject + -Parameter [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### CheckViaIdentityExpanded +``` +Test-AzPostgreSqlFlexibleServerNameAvailability -InputObject + [-Name ] [-Type ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CheckViaJsonFilePath +``` +Test-AzPostgreSqlFlexibleServerNameAvailability -LocationName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CheckViaJsonString +``` +Test-AzPostgreSqlFlexibleServerNameAvailability -LocationName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Check the availability of name for resource + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CheckViaIdentity, CheckViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocationName +The name of the location. + +```yaml +Type: System.String +Parameter Sets: Check, CheckExpanded, CheckViaJsonFilePath, CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the resource for which availability needs to be checked. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +The check availability request body. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ICheckNameAvailabilityRequest +Parameter Sets: Check, CheckViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Check, CheckExpanded, CheckViaJsonFilePath, CheckViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Type +The resource type. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ICheckNameAvailabilityRequest + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.INameAvailabilityModel + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md new file mode 100644 index 000000000000..bb981c602326 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md @@ -0,0 +1,220 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/test-azpostgresqlflexibleservernameavailabilityglobally +schema: 2.0.0 +--- + +# Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally + +## SYNOPSIS +Checks the validity and availability of the given name, to assign it to a new server or to use it as the base name of a new pair of virtual endpoints. + +## SYNTAX + +### CheckExpanded (Default) +``` +Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally [-SubscriptionId ] [-Name ] + [-Type ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### Check +``` +Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally -Parameter + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CheckViaJsonFilePath +``` +Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally -JsonFilePath [-SubscriptionId ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CheckViaJsonString +``` +Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally -JsonString [-SubscriptionId ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Checks the validity and availability of the given name, to assign it to a new server or to use it as the base name of a new pair of virtual endpoints. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the resource for which availability needs to be checked. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +The check availability request body. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ICheckNameAvailabilityRequest +Parameter Sets: Check +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Type +The resource type. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ICheckNameAvailabilityRequest + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.INameAvailabilityModel + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..0374e9397fb1 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,837 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/update-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Update a new server. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-AdministratorLoginPassword ] [-AuthConfigActiveDirectoryAuth ] + [-AuthConfigPasswordAuth ] [-AuthConfigTenantId ] [-BackupRetentionDay ] + [-ClusterDefaultDatabaseName ] [-ClusterSize ] [-CreateMode ] + [-DataEncryptionGeoBackupKeyUri ] [-DataEncryptionGeoBackupUserAssignedIdentityId ] + [-DataEncryptionPrimaryKeyUri ] [-DataEncryptionPrimaryUserAssignedIdentityId ] + [-DataEncryptionType ] [-EnableSystemAssignedIdentity ] [-HighAvailabilityMode ] + [-HighAvailabilityStandbyAvailabilityZone ] [-IdentityPrincipalId ] + [-MaintenanceWindowCustomWindow ] [-MaintenanceWindowDayOfWeek ] + [-MaintenanceWindowStartHour ] [-MaintenanceWindowStartMinute ] + [-NetworkDelegatedSubnetResourceId ] [-NetworkPrivateDnsZoneArmResourceId ] + [-NetworkPublicNetworkAccess ] [-ReplicaPromoteMode ] [-ReplicaPromoteOption ] + [-ReplicaRole ] [-ReplicationRole ] [-SkuName ] [-SkuTier ] + [-StorageAutoGrow ] [-StorageIop ] [-StorageSizeGb ] [-StorageThroughput ] + [-StorageTier ] [-StorageType ] [-Tag ] [-UserAssignedIdentity ] + [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServer -InputObject + [-AdministratorLoginPassword ] [-AuthConfigActiveDirectoryAuth ] + [-AuthConfigPasswordAuth ] [-AuthConfigTenantId ] [-BackupRetentionDay ] + [-ClusterDefaultDatabaseName ] [-ClusterSize ] [-CreateMode ] + [-DataEncryptionGeoBackupKeyUri ] [-DataEncryptionGeoBackupUserAssignedIdentityId ] + [-DataEncryptionPrimaryKeyUri ] [-DataEncryptionPrimaryUserAssignedIdentityId ] + [-DataEncryptionType ] [-EnableSystemAssignedIdentity ] [-HighAvailabilityMode ] + [-HighAvailabilityStandbyAvailabilityZone ] [-IdentityPrincipalId ] + [-MaintenanceWindowCustomWindow ] [-MaintenanceWindowDayOfWeek ] + [-MaintenanceWindowStartHour ] [-MaintenanceWindowStartMinute ] + [-NetworkDelegatedSubnetResourceId ] [-NetworkPrivateDnsZoneArmResourceId ] + [-NetworkPublicNetworkAccess ] [-ReplicaPromoteMode ] [-ReplicaPromoteOption ] + [-ReplicaRole ] [-ReplicationRole ] [-SkuName ] [-SkuTier ] + [-StorageAutoGrow ] [-StorageIop ] [-StorageSizeGb ] [-StorageThroughput ] + [-StorageTier ] [-StorageType ] [-Tag ] [-UserAssignedIdentity ] + [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a new server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AdministratorLoginPassword +Password assigned to the administrator login. +As long as password authentication is enabled, this password can be changed at any time. + +```yaml +Type: System.Security.SecureString +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigActiveDirectoryAuth +Indicates if the server supports Microsoft Entra authentication. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigPasswordAuth +Indicates if the server supports password based authentication. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigTenantId +Identifier of the tenant of the delegated resource. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterDefaultDatabaseName +Default database name for the elastic cluster. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterSize +Number of nodes assigned to the elastic cluster. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CreateMode +Creation mode of a new server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionGeoBackupKeyUri +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionGeoBackupUserAssignedIdentityId +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionPrimaryKeyUri +URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionPrimaryUserAssignedIdentityId +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the primary storage associated to a server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionType +Data encryption type used by a server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. + +```yaml +Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HighAvailabilityMode +High availability mode for a server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HighAvailabilityStandbyAvailabilityZone +Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityPrincipalId +Identifier of the object of the service principal associated to the user assigned managed identity. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -MaintenanceWindowCustomWindow +Indicates whether custom window is enabled or disabled. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowDayOfWeek +Day of the week to be used for maintenance window. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowStartHour +Start hour to be used for maintenance window. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowStartMinute +Start minute to be used for maintenance window. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkDelegatedSubnetResourceId +Resource identifier of the delegated subnet. +Required during creation of a new server, in case you want the server to be integrated into your own virtual network. +For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkPrivateDnsZoneArmResourceId +Identifier of the private DNS zone. +Required during creation of a new server, in case you want the server to be integrated into your own virtual network. +For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkPublicNetworkAccess +Indicates if public network access is enabled or not. +This is only supported for servers that are not integrated into a virtual network which is owned and provided by customer when server is deployed. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicaPromoteMode +Type of operation to apply on the read replica. +This property is write only. +Standalone means that the read replica will be promoted to a standalone server, and will become a completely independent entity from the replication set. +Switchover means that the read replica will roles with the primary server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicaPromoteOption +Data synchronization option to use when processing the operation specified in the promoteMode property. +This property is write only. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicaRole +Role of the server in a replication set. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicationRole +Role of the server in a replication set. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuName +Name by which is known a given compute size assigned to a server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuTier +Tier of the compute assigned to a server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageAutoGrow +Flag to enable or disable the automatic growth of storage size of a server when available space is nearing zero and conditions allow for automatically growing storage size. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageIop +Maximum IOPS supported for storage. +Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageSizeGb +Size of storage assigned to a server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageThroughput +Maximum throughput supported for storage. +Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageTier +Storage tier of a server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageType +Type of storage assigned to a server. +Allowed values are Premium_LRS, PremiumV2_LRS, or UltraSSD_LRS. +If not specified, it defaults to Premium_LRS. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserAssignedIdentity +The array of user assigned identities associated with the resource. +The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.' + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Version +Major version of PostgreSQL database engine. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IServer + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..0ab18cfad3d1 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServerConfiguration.md @@ -0,0 +1,324 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/update-azpostgresqlflexibleserverconfiguration +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServerConfiguration + +## SYNOPSIS +Update the value assigned to a specific modifiable configuration (also known as server parameter) of a server. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServerConfiguration -InputObject + [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityFlexibleServerExpanded +``` +Update-AzPostgreSqlFlexibleServerConfiguration -FlexibleServerInputObject + -Name [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Update the value assigned to a specific modifiable configuration (also known as server parameter) of a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the configuration (also known as server parameter). + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Source +Source of the value assigned to the configuration (also known as server parameter). +Required to update the value assigned to a specific modifiable configuration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Value +Value of the configuration (also known as server parameter). +Required to update the value assigned to a specific modifiable configuration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IConfiguration + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServerDatabase.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..3e10b2043778 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServerDatabase.md @@ -0,0 +1,279 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/update-azpostgresqlflexibleserverdatabase +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServerDatabase + +## SYNOPSIS +Update a new database. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServerDatabase -InputObject [-Charset ] + [-Collation ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityFlexibleServerExpanded +``` +Update-AzPostgreSqlFlexibleServerDatabase -FlexibleServerInputObject + -Name [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a new database. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Charset +Character set of the database. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Collation +Collation of the database. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the database (case-sensitive). +Exact database names can be retrieved by getting the list of all existing databases in a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IDatabase + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..0c5f52833fc7 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,280 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/update-azpostgresqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServerFirewallRule + +## SYNOPSIS +Update a new firewall rule or update an existing firewall rule. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-EndIPAddress ] [-StartIPAddress ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject + [-EndIPAddress ] [-StartIPAddress ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityFlexibleServerExpanded +``` +Update-AzPostgreSqlFlexibleServerFirewallRule -FlexibleServerInputObject + -Name [-EndIPAddress ] [-StartIPAddress ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a new firewall rule or update an existing firewall rule. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +IP address defining the end of the range of addresses of a firewall rule. +Must be expressed in IPv4 format. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the firewall rule. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +IP address defining the start of the range of addresses of a firewall rule. +Must be expressed in IPv4 format. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IFirewallRule + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServerMigration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServerMigration.md new file mode 100644 index 000000000000..2c5bceffd437 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServerMigration.md @@ -0,0 +1,580 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/update-azpostgresqlflexibleservermigration +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServerMigration + +## SYNOPSIS +Update an existing migration. +The request body can contain one to many of the mutable properties present in the migration definition. +Certain property update initiate migration state transitions. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-AdminCredentialsSourceServerPassword ] + [-AdminCredentialsTargetServerPassword ] [-Cancel ] + [-DbsToCancelMigrationOn ] [-DbsToMigrate ] [-DbsToTriggerCutoverOn ] + [-MigrateRole ] [-MigrationMode ] [-MigrationWindowStartTimeInUtc ] + [-OverwriteDbsInTarget ] [-SecretParameterSourceServerUsername ] + [-SecretParameterTargetServerUsername ] [-SetupLogicalReplicationOnSourceDbIfNeeded ] + [-SourceDbServerFullyQualifiedDomainName ] [-SourceDbServerResourceId ] + [-StartDataMigration ] [-Tag ] [-TargetDbServerFullyQualifiedDomainName ] + [-TriggerCutover ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServerMigration -InputObject + [-AdminCredentialsSourceServerPassword ] [-AdminCredentialsTargetServerPassword ] + [-Cancel ] [-DbsToCancelMigrationOn ] [-DbsToMigrate ] + [-DbsToTriggerCutoverOn ] [-MigrateRole ] [-MigrationMode ] + [-MigrationWindowStartTimeInUtc ] [-OverwriteDbsInTarget ] + [-SecretParameterSourceServerUsername ] [-SecretParameterTargetServerUsername ] + [-SetupLogicalReplicationOnSourceDbIfNeeded ] [-SourceDbServerFullyQualifiedDomainName ] + [-SourceDbServerResourceId ] [-StartDataMigration ] [-Tag ] + [-TargetDbServerFullyQualifiedDomainName ] [-TriggerCutover ] [-DefaultProfile ] + [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityFlexibleServerExpanded +``` +Update-AzPostgreSqlFlexibleServerMigration -FlexibleServerInputObject + -Name [-AdminCredentialsSourceServerPassword ] + [-AdminCredentialsTargetServerPassword ] [-Cancel ] + [-DbsToCancelMigrationOn ] [-DbsToMigrate ] [-DbsToTriggerCutoverOn ] + [-MigrateRole ] [-MigrationMode ] [-MigrationWindowStartTimeInUtc ] + [-OverwriteDbsInTarget ] [-SecretParameterSourceServerUsername ] + [-SecretParameterTargetServerUsername ] [-SetupLogicalReplicationOnSourceDbIfNeeded ] + [-SourceDbServerFullyQualifiedDomainName ] [-SourceDbServerResourceId ] + [-StartDataMigration ] [-Tag ] [-TargetDbServerFullyQualifiedDomainName ] + [-TriggerCutover ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaJsonString +``` +Update-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Update an existing migration. +The request body can contain one to many of the mutable properties present in the migration definition. +Certain property update initiate migration state transitions. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AdminCredentialsSourceServerPassword +Password for the user of the source server. + +```yaml +Type: System.Security.SecureString +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdminCredentialsTargetServerPassword +Password for the user of the target server. + +```yaml +Type: System.Security.SecureString +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cancel +Indicates if cancel must be triggered for the entire migration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DbsToCancelMigrationOn +When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DbsToMigrate +Names of databases to migrate. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DbsToTriggerCutoverOn +When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrateRole +Indicates if roles and permissions must be migrated. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrationMode +Mode used to perform the migration: Online or Offline. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrationWindowStartTimeInUtc +Start time (UTC) for migration window. + +```yaml +Type: System.DateTime +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of migration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: MigrationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverwriteDbsInTarget +Indicates if databases on the target server can be overwritten when already present. +If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecretParameterSourceServerUsername +Gets or sets the name of the user for the source server. +This user doesn't need to be an administrator. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecretParameterTargetServerUsername +Gets or sets the name of the user for the target server. +This user doesn't need to be an administrator. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SetupLogicalReplicationOnSourceDbIfNeeded +Indicates whether to setup logical replication on source server, if needed. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceDbServerFullyQualifiedDomainName +Fully qualified domain name (FQDN) or IP address of the source server. +This property is optional. +When provided, the migration service will always use it to connect to the source server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceDbServerResourceId +Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. +For other source types this must be set to ipaddress:port@username or hostname:port@username. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartDataMigration +Indicates if data migration must start right away. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Application-specific metadata in the form of key-value pairs. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetDbServerFullyQualifiedDomainName +Fully qualified domain name (FQDN) or IP address of the target server. +This property is optional. +When provided, the migration service will always use it to connect to the target server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TriggerCutover +Indicates if cutover must be triggered for the entire migration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigration + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md new file mode 100644 index 000000000000..3ae0ff9f70c7 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/docs/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md @@ -0,0 +1,323 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/update-azpostgresqlflexibleservervirtualendpoint +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServerVirtualEndpoint + +## SYNOPSIS +Update a pair of virtual endpoints for a server. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName + -ServerName [-SubscriptionId ] [-EndpointType ] [-Member ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServerVirtualEndpoint -InputObject + [-EndpointType ] [-Member ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaIdentityFlexibleServerExpanded +``` +Update-AzPostgreSqlFlexibleServerVirtualEndpoint + -FlexibleServerInputObject -Name [-EndpointType ] + [-Member ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName + -ServerName -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName + -ServerName -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a pair of virtual endpoints for a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndpointType +Type of endpoint for the virtual endpoints. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Member +List of servers that one of the virtual endpoints can refer to. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Base name of the virtual endpoints. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: VirtualEndpointName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IVirtualEndpoint + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerCapturedLog.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerCapturedLog.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerCapturedLog.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerConfiguration.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerDatabase.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerDatabase.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerMigration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerMigration.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerMigration.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerQuotaUsage.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerQuotaUsage.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerQuotaUsage.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerReplica.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerReplica.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerReplica.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerTuningOption.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerTuningOption.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerTuningOption.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Move-AzPostgreSqlFlexibleServerNetworkMode.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Move-AzPostgreSqlFlexibleServerNetworkMode.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Move-AzPostgreSqlFlexibleServerNetworkMode.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerDatabase.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerDatabase.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerMigration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerMigration.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerMigration.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerVirtualEndpoint.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerVirtualEndpoint.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/New-AzPostgreSqlFlexibleServerVirtualEndpoint.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/README.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/README.md deleted file mode 100644 index ac871d71fc72..000000000000 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# Examples -This directory contains examples from the exported cmdlets of the module. When `build-module.ps1` is ran, example stub files will be generated here. If your module support Azure Profiles, the example stubs will be in individual profile folders. These example stubs should be updated to show how the cmdlet is used. The examples are imported into the documentation when `generate-help.ps1` is ran. - -## Info -- Modifiable: yes -- Generated: partial -- Committed: yes -- Packaged: no - -## Purpose -This separates the example documentation details from the generated documentation information provided directly from the generated cmdlets. Since the cmdlets don't have examples from the REST spec, this provides a means to add examples easily. The example stubs provide the markdown format that is required. The 3 core elements are: the name of the example, the code information of the example, and the description of the example. That information, if the markdown format is followed, will be available to documentation generation and be part of the documents in the `..\docs` folder. \ No newline at end of file diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServerDatabase.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServerDatabase.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Restart-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Restart-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Restart-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Set-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Set-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Set-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Set-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Set-AzPostgreSqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Set-AzPostgreSqlFlexibleServerConfiguration.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Set-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Set-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Set-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Start-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Start-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Start-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Stop-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Stop-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Stop-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Stop-AzPostgreSqlFlexibleServerMigration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Stop-AzPostgreSqlFlexibleServerMigration.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Stop-AzPostgreSqlFlexibleServerMigration.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Test-AzPostgreSqlFlexibleServerNameAvailability.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Test-AzPostgreSqlFlexibleServerNameAvailability.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Test-AzPostgreSqlFlexibleServerNameAvailability.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServerConfiguration.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServerDatabase.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServerDatabase.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServerMigration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServerMigration.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServerMigration.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md new file mode 100644 index 000000000000..0371f56c36d2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/examples/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..e40f598af3e6 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServer.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzPostgreSqlFlexibleServer')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServer.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzPostgreSqlFlexibleServer' { + It 'List1' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.Tests.ps1 new file mode 100644 index 000000000000..1b61824bb1cc --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityFlexibleServer' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.Tests.ps1 new file mode 100644 index 000000000000..1bc66bbc1bb1 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting' { + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.Tests.ps1 new file mode 100644 index 000000000000..4ba8582109cd --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityFlexibleServer' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.Tests.ps1 new file mode 100644 index 000000000000..0873d14730fb --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityFlexibleServer' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.Tests.ps1 new file mode 100644 index 000000000000..3464393bcb82 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.Tests.ps1 new file mode 100644 index 000000000000..6c397081b9f2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzPostgreSqlFlexibleServerCapabilitiesByServer')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzPostgreSqlFlexibleServerCapabilitiesByServer' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerCapturedLog.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerCapturedLog.Tests.ps1 new file mode 100644 index 000000000000..3e54ef1ae41d --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerCapturedLog.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzPostgreSqlFlexibleServerCapturedLog')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerCapturedLog.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzPostgreSqlFlexibleServerCapturedLog' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 new file mode 100644 index 000000000000..6bec57cbfebb --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzPostgreSqlFlexibleServerConfiguration')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerConfiguration.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzPostgreSqlFlexibleServerConfiguration' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityFlexibleServer' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerDatabase.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerDatabase.Tests.ps1 new file mode 100644 index 000000000000..20d364397fe3 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerDatabase.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzPostgreSqlFlexibleServerDatabase')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerDatabase.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzPostgreSqlFlexibleServerDatabase' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityFlexibleServer' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 new file mode 100644 index 000000000000..8ee02d4269a9 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzPostgreSqlFlexibleServerFirewallRule')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerFirewallRule.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzPostgreSqlFlexibleServerFirewallRule' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityFlexibleServer' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerMigration.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerMigration.Tests.ps1 new file mode 100644 index 000000000000..b49776eef991 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerMigration.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzPostgreSqlFlexibleServerMigration')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerMigration.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzPostgreSqlFlexibleServerMigration' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityFlexibleServer' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.Tests.ps1 new file mode 100644 index 000000000000..1d4e8076bbe3 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix' { + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerQuotaUsage.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerQuotaUsage.Tests.ps1 new file mode 100644 index 000000000000..7e987bc12d73 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerQuotaUsage.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzPostgreSqlFlexibleServerQuotaUsage')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerQuotaUsage.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzPostgreSqlFlexibleServerQuotaUsage' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerReplica.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerReplica.Tests.ps1 new file mode 100644 index 000000000000..44fded3606cf --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerReplica.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzPostgreSqlFlexibleServerReplica')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerReplica.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzPostgreSqlFlexibleServerReplica' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerTuningOption.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerTuningOption.Tests.ps1 new file mode 100644 index 000000000000..563726fddde3 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerTuningOption.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzPostgreSqlFlexibleServerTuningOption')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerTuningOption.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzPostgreSqlFlexibleServerTuningOption' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityFlexibleServer' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.Tests.ps1 new file mode 100644 index 000000000000..b2a995668144 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.Tests.ps1 new file mode 100644 index 000000000000..25febca01a34 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzPostgreSqlFlexibleServerVirtualEndpoint')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerVirtualEndpoint.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzPostgreSqlFlexibleServerVirtualEndpoint' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentityFlexibleServer' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.Tests.ps1 new file mode 100644 index 000000000000..4148cf032aef --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage' { + It 'ListExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ListViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ListViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Move-AzPostgreSqlFlexibleServerNetworkMode.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Move-AzPostgreSqlFlexibleServerNetworkMode.Tests.ps1 new file mode 100644 index 000000000000..65788b96d4a3 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Move-AzPostgreSqlFlexibleServerNetworkMode.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Move-AzPostgreSqlFlexibleServerNetworkMode')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Move-AzPostgreSqlFlexibleServerNetworkMode.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Move-AzPostgreSqlFlexibleServerNetworkMode' { + It 'Migrate' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'MigrateViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..64a8cb31e0d9 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServer.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzPostgreSqlFlexibleServer')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzPostgreSqlFlexibleServer.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzPostgreSqlFlexibleServer' { + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.Tests.ps1 new file mode 100644 index 000000000000..790aba336143 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.Tests.ps1 @@ -0,0 +1,37 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra' { + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaIdentityFlexibleServerExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerDatabase.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerDatabase.Tests.ps1 new file mode 100644 index 000000000000..253205cbf9a7 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerDatabase.Tests.ps1 @@ -0,0 +1,37 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzPostgreSqlFlexibleServerDatabase')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzPostgreSqlFlexibleServerDatabase.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzPostgreSqlFlexibleServerDatabase' { + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaIdentityFlexibleServerExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 new file mode 100644 index 000000000000..e1830b83c8c5 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 @@ -0,0 +1,37 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzPostgreSqlFlexibleServerFirewallRule')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzPostgreSqlFlexibleServerFirewallRule.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzPostgreSqlFlexibleServerFirewallRule' { + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaIdentityFlexibleServerExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerMigration.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerMigration.Tests.ps1 new file mode 100644 index 000000000000..d7fcf0484e37 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerMigration.Tests.ps1 @@ -0,0 +1,37 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzPostgreSqlFlexibleServerMigration')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzPostgreSqlFlexibleServerMigration.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzPostgreSqlFlexibleServerMigration' { + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaIdentityFlexibleServerExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.Tests.ps1 new file mode 100644 index 000000000000..66916939602d --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzPostgreSqlFlexibleServerThreatProtectionSetting')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzPostgreSqlFlexibleServerThreatProtectionSetting.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzPostgreSqlFlexibleServerThreatProtectionSetting' { + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerVirtualEndpoint.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerVirtualEndpoint.Tests.ps1 new file mode 100644 index 000000000000..8e8d5d61f5f6 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/New-AzPostgreSqlFlexibleServerVirtualEndpoint.Tests.ps1 @@ -0,0 +1,37 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzPostgreSqlFlexibleServerVirtualEndpoint')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzPostgreSqlFlexibleServerVirtualEndpoint.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzPostgreSqlFlexibleServerVirtualEndpoint' { + It 'CreateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaIdentityFlexibleServerExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..96d668c46644 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServer.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzPostgreSqlFlexibleServer')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzPostgreSqlFlexibleServer.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-AzPostgreSqlFlexibleServer' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.Tests.ps1 new file mode 100644 index 000000000000..65b80af380db --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentityFlexibleServer' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.Tests.ps1 new file mode 100644 index 000000000000..6e0ecb95de96 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentityFlexibleServer' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServerDatabase.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServerDatabase.Tests.ps1 new file mode 100644 index 000000000000..a5cae9a5ac93 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServerDatabase.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzPostgreSqlFlexibleServerDatabase')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzPostgreSqlFlexibleServerDatabase.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-AzPostgreSqlFlexibleServerDatabase' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentityFlexibleServer' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 new file mode 100644 index 000000000000..dac1182ce7c6 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzPostgreSqlFlexibleServerFirewallRule')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzPostgreSqlFlexibleServerFirewallRule.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-AzPostgreSqlFlexibleServerFirewallRule' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentityFlexibleServer' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.Tests.ps1 new file mode 100644 index 000000000000..1c52e41144f5 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzPostgreSqlFlexibleServerVirtualEndpoint')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-AzPostgreSqlFlexibleServerVirtualEndpoint' { + It 'Delete' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentityFlexibleServer' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Restart-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Restart-AzPostgreSqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..0ee5e19e544b --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Restart-AzPostgreSqlFlexibleServer.Tests.ps1 @@ -0,0 +1,41 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Restart-AzPostgreSqlFlexibleServer')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Restart-AzPostgreSqlFlexibleServer.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Restart-AzPostgreSqlFlexibleServer' { + It 'RestartExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'RestartViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'RestartViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Restart' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'RestartViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'RestartViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Set-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Set-AzPostgreSqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..bfc9f72e58d8 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Set-AzPostgreSqlFlexibleServer.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Set-AzPostgreSqlFlexibleServer')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Set-AzPostgreSqlFlexibleServer.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Set-AzPostgreSqlFlexibleServer' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.Tests.ps1 new file mode 100644 index 000000000000..7b7af3acb611 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Set-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Set-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 new file mode 100644 index 000000000000..1900903f4bce --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Set-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Set-AzPostgreSqlFlexibleServerConfiguration')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Set-AzPostgreSqlFlexibleServerConfiguration.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Set-AzPostgreSqlFlexibleServerConfiguration' { + It 'PutExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Put' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'PutViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'PutViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Set-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Set-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 new file mode 100644 index 000000000000..84654446db50 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Set-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Set-AzPostgreSqlFlexibleServerFirewallRule')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Set-AzPostgreSqlFlexibleServerFirewallRule.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Set-AzPostgreSqlFlexibleServerFirewallRule' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.Tests.ps1 new file mode 100644 index 000000000000..ccdfc9ef5bdf --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Set-AzPostgreSqlFlexibleServerThreatProtectionSetting')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Set-AzPostgreSqlFlexibleServerThreatProtectionSetting' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Start-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Start-AzPostgreSqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..adf5e7a3752c --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Start-AzPostgreSqlFlexibleServer.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Start-AzPostgreSqlFlexibleServer')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Start-AzPostgreSqlFlexibleServer.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Start-AzPostgreSqlFlexibleServer' { + It 'Start' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'StartViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.Tests.ps1 new file mode 100644 index 000000000000..78213edd0098 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.Tests.ps1 @@ -0,0 +1,41 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention' { + It 'StartViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'StartViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'StartViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'StartExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Start' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'StartViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Stop-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Stop-AzPostgreSqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..8baa0c7026ab --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Stop-AzPostgreSqlFlexibleServer.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Stop-AzPostgreSqlFlexibleServer')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Stop-AzPostgreSqlFlexibleServer.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Stop-AzPostgreSqlFlexibleServer' { + It 'Stop' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'StopViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Stop-AzPostgreSqlFlexibleServerMigration.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Stop-AzPostgreSqlFlexibleServerMigration.Tests.ps1 new file mode 100644 index 000000000000..4b5dee8213c8 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Stop-AzPostgreSqlFlexibleServerMigration.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Stop-AzPostgreSqlFlexibleServerMigration')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Stop-AzPostgreSqlFlexibleServerMigration.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Stop-AzPostgreSqlFlexibleServerMigration' { + It 'Cancel' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CancelViaIdentityFlexibleServer' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CancelViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.Tests.ps1 new file mode 100644 index 000000000000..2e5599d99430 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.Tests.ps1 @@ -0,0 +1,41 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite' { + It 'CheckExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CheckViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CheckViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Check' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CheckViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CheckViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.Tests.ps1 new file mode 100644 index 000000000000..dd0f47dfec92 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.Tests.ps1 @@ -0,0 +1,41 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Test-AzPostgreSqlFlexibleServerMigrationNameAvailability')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Test-AzPostgreSqlFlexibleServerMigrationNameAvailability' { + It 'CheckExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CheckViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CheckViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Check' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CheckViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CheckViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Test-AzPostgreSqlFlexibleServerNameAvailability.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Test-AzPostgreSqlFlexibleServerNameAvailability.Tests.ps1 new file mode 100644 index 000000000000..c32b7acd472c --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Test-AzPostgreSqlFlexibleServerNameAvailability.Tests.ps1 @@ -0,0 +1,41 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Test-AzPostgreSqlFlexibleServerNameAvailability')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzPostgreSqlFlexibleServerNameAvailability.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Test-AzPostgreSqlFlexibleServerNameAvailability' { + It 'CheckExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CheckViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CheckViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Check' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CheckViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CheckViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.Tests.ps1 new file mode 100644 index 000000000000..5bb86a8dcdea --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.Tests.ps1 @@ -0,0 +1,33 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally' { + It 'CheckExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Check' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CheckViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CheckViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServer.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServer.Tests.ps1 new file mode 100644 index 000000000000..2ce4cdfbb078 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServer.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzPostgreSqlFlexibleServer')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzPostgreSqlFlexibleServer.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzPostgreSqlFlexibleServer' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 new file mode 100644 index 000000000000..3f2abecba8bf --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServerConfiguration.Tests.ps1 @@ -0,0 +1,37 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzPostgreSqlFlexibleServerConfiguration')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzPostgreSqlFlexibleServerConfiguration.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzPostgreSqlFlexibleServerConfiguration' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityFlexibleServerExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServerDatabase.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServerDatabase.Tests.ps1 new file mode 100644 index 000000000000..96a2bb4a8932 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServerDatabase.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzPostgreSqlFlexibleServerDatabase')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzPostgreSqlFlexibleServerDatabase.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzPostgreSqlFlexibleServerDatabase' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityFlexibleServerExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 new file mode 100644 index 000000000000..fcfa9c79b739 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServerFirewallRule.Tests.ps1 @@ -0,0 +1,29 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzPostgreSqlFlexibleServerFirewallRule')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzPostgreSqlFlexibleServerFirewallRule.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzPostgreSqlFlexibleServerFirewallRule' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityFlexibleServerExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServerMigration.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServerMigration.Tests.ps1 new file mode 100644 index 000000000000..ff75398da0b3 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServerMigration.Tests.ps1 @@ -0,0 +1,37 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzPostgreSqlFlexibleServerMigration')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzPostgreSqlFlexibleServerMigration.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzPostgreSqlFlexibleServerMigration' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityFlexibleServerExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.Tests.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.Tests.ps1 new file mode 100644 index 000000000000..4745811d9a72 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.Tests.ps1 @@ -0,0 +1,37 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzPostgreSqlFlexibleServerVirtualEndpoint')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzPostgreSqlFlexibleServerVirtualEndpoint.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzPostgreSqlFlexibleServerVirtualEndpoint' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityFlexibleServerExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/utils.ps1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/utils.ps1 new file mode 100644 index 000000000000..f8497fbd7da0 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/test/utils.ps1 @@ -0,0 +1,56 @@ +function RandomString([bool]$allChars, [int32]$len) { + if ($allChars) { + return -join ((33..126) | Get-Random -Count $len | % {[char]$_}) + } else { + return -join ((48..57) + (97..122) | Get-Random -Count $len | % {[char]$_}) + } +} +function Start-TestSleep { + [CmdletBinding(DefaultParameterSetName = 'SleepBySeconds')] + param( + [parameter(Mandatory = $true, Position = 0, ParameterSetName = 'SleepBySeconds')] + [ValidateRange(0.0, 2147483.0)] + [double] $Seconds, + + [parameter(Mandatory = $true, ParameterSetName = 'SleepByMilliseconds')] + [ValidateRange('NonNegative')] + [Alias('ms')] + [int] $Milliseconds + ) + + if ($TestMode -ne 'playback') { + switch ($PSCmdlet.ParameterSetName) { + 'SleepBySeconds' { + Start-Sleep -Seconds $Seconds + } + 'SleepByMilliseconds' { + Start-Sleep -Milliseconds $Milliseconds + } + } + } +} + +$env = @{} +if ($UsePreviousConfigForRecord) { + $previousEnv = Get-Content (Join-Path $PSScriptRoot 'env.json') | ConvertFrom-Json + $previousEnv.psobject.properties | Foreach-Object { $env[$_.Name] = $_.Value } +} +# Add script method called AddWithCache to $env, when useCache is set true, it will try to get the value from the $env first. +# example: $val = $env.AddWithCache('key', $val, $true) +$env | Add-Member -Type ScriptMethod -Value { param( [string]$key, [object]$val, [bool]$useCache) if ($this.Contains($key) -and $useCache) { return $this[$key] } else { $this[$key] = $val; return $val } } -Name 'AddWithCache' +function setupEnv() { + # Preload subscriptionId and tenant from context, which will be used in test + # as default. You could change them if needed. + $env.SubscriptionId = (Get-AzContext).Subscription.Id + $env.Tenant = (Get-AzContext).Tenant.Id + # For any resources you created for test, you should add it to $env here. + $envFile = 'env.json' + if ($TestMode -eq 'live') { + $envFile = 'localEnv.json' + } + set-content -Path (Join-Path $PSScriptRoot $envFile) -Value (ConvertTo-Json $env) +} +function cleanupEnv() { + # Clean resources you create for testing +} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/tmpCsproj b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/tmpCsproj new file mode 100644 index 000000000000..9e03ccf3799f --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/tmpCsproj @@ -0,0 +1,44 @@ + + + + 0.1.0 + 7.1 + netstandard2.0 + Library + Az.PostgreSQLFlexibleServer.private + false + Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer + true + false + ./bin + $(OutputPath) + Az.PostgreSQLFlexibleServer.nuspec + true + + + 1998, 1591 + true + + + + false + TRACE;DEBUG;NETSTANDARD + + + + true + true + MSSharedLibKey.snk + TRACE;RELEASE;NETSTANDARD;SIGN + + + + + + + + + $(DefaultItemExcludes);resources/** + + + \ No newline at end of file diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.sln b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.sln new file mode 100644 index 000000000000..75c144a8f017 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.sln @@ -0,0 +1,145 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Accounts", "Accounts", "{32836310-FB5E-5A92-56B4-44D826EF11F5}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{B9AA5AD0-0C33-41CE-A676-72FE24C786D1}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{E29880EE-0CC7-452A-9D1D-88ACE724B0D0}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{AFE4B398-9A0D-401E-B980-CF874F12609D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AssemblyLoading", "..\Accounts\AssemblyLoading\AssemblyLoading.csproj", "{E3265F51-0054-414E-87F5-AE64F6390B0A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{C98F291C-096E-4859-87D9-44D693C96826}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{3E5AC47F-FCDE-40F0-9A87-F841C1AAB697}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PostgreSQLFlexibleServer", "PostgreSQLFlexibleServer\PostgreSQLFlexibleServer.csproj", "{049ECE8E-D576-49E9-A3D1-ACD0443C7BD8}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PostgreSQLFlexibleServer.Autorest", "PostgreSQLFlexibleServer.Autorest", "{4C14BC2F-C5CA-81E0-B3AD-B9EF19176EC4}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.PostgreSQLFlexibleServer", "PostgreSQLFlexibleServer.Autorest\Az.PostgreSQLFlexibleServer.csproj", "{18B43B7E-2730-45E2-8AFA-F96F449D9792}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B9AA5AD0-0C33-41CE-A676-72FE24C786D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B9AA5AD0-0C33-41CE-A676-72FE24C786D1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B9AA5AD0-0C33-41CE-A676-72FE24C786D1}.Debug|x64.ActiveCfg = Debug|Any CPU + {B9AA5AD0-0C33-41CE-A676-72FE24C786D1}.Debug|x64.Build.0 = Debug|Any CPU + {B9AA5AD0-0C33-41CE-A676-72FE24C786D1}.Debug|x86.ActiveCfg = Debug|Any CPU + {B9AA5AD0-0C33-41CE-A676-72FE24C786D1}.Debug|x86.Build.0 = Debug|Any CPU + {B9AA5AD0-0C33-41CE-A676-72FE24C786D1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B9AA5AD0-0C33-41CE-A676-72FE24C786D1}.Release|Any CPU.Build.0 = Release|Any CPU + {B9AA5AD0-0C33-41CE-A676-72FE24C786D1}.Release|x64.ActiveCfg = Release|Any CPU + {B9AA5AD0-0C33-41CE-A676-72FE24C786D1}.Release|x64.Build.0 = Release|Any CPU + {B9AA5AD0-0C33-41CE-A676-72FE24C786D1}.Release|x86.ActiveCfg = Release|Any CPU + {B9AA5AD0-0C33-41CE-A676-72FE24C786D1}.Release|x86.Build.0 = Release|Any CPU + {E29880EE-0CC7-452A-9D1D-88ACE724B0D0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E29880EE-0CC7-452A-9D1D-88ACE724B0D0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E29880EE-0CC7-452A-9D1D-88ACE724B0D0}.Debug|x64.ActiveCfg = Debug|Any CPU + {E29880EE-0CC7-452A-9D1D-88ACE724B0D0}.Debug|x64.Build.0 = Debug|Any CPU + {E29880EE-0CC7-452A-9D1D-88ACE724B0D0}.Debug|x86.ActiveCfg = Debug|Any CPU + {E29880EE-0CC7-452A-9D1D-88ACE724B0D0}.Debug|x86.Build.0 = Debug|Any CPU + {E29880EE-0CC7-452A-9D1D-88ACE724B0D0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E29880EE-0CC7-452A-9D1D-88ACE724B0D0}.Release|Any CPU.Build.0 = Release|Any CPU + {E29880EE-0CC7-452A-9D1D-88ACE724B0D0}.Release|x64.ActiveCfg = Release|Any CPU + {E29880EE-0CC7-452A-9D1D-88ACE724B0D0}.Release|x64.Build.0 = Release|Any CPU + {E29880EE-0CC7-452A-9D1D-88ACE724B0D0}.Release|x86.ActiveCfg = Release|Any CPU + {E29880EE-0CC7-452A-9D1D-88ACE724B0D0}.Release|x86.Build.0 = Release|Any CPU + {AFE4B398-9A0D-401E-B980-CF874F12609D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AFE4B398-9A0D-401E-B980-CF874F12609D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AFE4B398-9A0D-401E-B980-CF874F12609D}.Debug|x64.ActiveCfg = Debug|Any CPU + {AFE4B398-9A0D-401E-B980-CF874F12609D}.Debug|x64.Build.0 = Debug|Any CPU + {AFE4B398-9A0D-401E-B980-CF874F12609D}.Debug|x86.ActiveCfg = Debug|Any CPU + {AFE4B398-9A0D-401E-B980-CF874F12609D}.Debug|x86.Build.0 = Debug|Any CPU + {AFE4B398-9A0D-401E-B980-CF874F12609D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AFE4B398-9A0D-401E-B980-CF874F12609D}.Release|Any CPU.Build.0 = Release|Any CPU + {AFE4B398-9A0D-401E-B980-CF874F12609D}.Release|x64.ActiveCfg = Release|Any CPU + {AFE4B398-9A0D-401E-B980-CF874F12609D}.Release|x64.Build.0 = Release|Any CPU + {AFE4B398-9A0D-401E-B980-CF874F12609D}.Release|x86.ActiveCfg = Release|Any CPU + {AFE4B398-9A0D-401E-B980-CF874F12609D}.Release|x86.Build.0 = Release|Any CPU + {E3265F51-0054-414E-87F5-AE64F6390B0A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E3265F51-0054-414E-87F5-AE64F6390B0A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E3265F51-0054-414E-87F5-AE64F6390B0A}.Debug|x64.ActiveCfg = Debug|Any CPU + {E3265F51-0054-414E-87F5-AE64F6390B0A}.Debug|x64.Build.0 = Debug|Any CPU + {E3265F51-0054-414E-87F5-AE64F6390B0A}.Debug|x86.ActiveCfg = Debug|Any CPU + {E3265F51-0054-414E-87F5-AE64F6390B0A}.Debug|x86.Build.0 = Debug|Any CPU + {E3265F51-0054-414E-87F5-AE64F6390B0A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E3265F51-0054-414E-87F5-AE64F6390B0A}.Release|Any CPU.Build.0 = Release|Any CPU + {E3265F51-0054-414E-87F5-AE64F6390B0A}.Release|x64.ActiveCfg = Release|Any CPU + {E3265F51-0054-414E-87F5-AE64F6390B0A}.Release|x64.Build.0 = Release|Any CPU + {E3265F51-0054-414E-87F5-AE64F6390B0A}.Release|x86.ActiveCfg = Release|Any CPU + {E3265F51-0054-414E-87F5-AE64F6390B0A}.Release|x86.Build.0 = Release|Any CPU + {C98F291C-096E-4859-87D9-44D693C96826}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C98F291C-096E-4859-87D9-44D693C96826}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C98F291C-096E-4859-87D9-44D693C96826}.Debug|x64.ActiveCfg = Debug|Any CPU + {C98F291C-096E-4859-87D9-44D693C96826}.Debug|x64.Build.0 = Debug|Any CPU + {C98F291C-096E-4859-87D9-44D693C96826}.Debug|x86.ActiveCfg = Debug|Any CPU + {C98F291C-096E-4859-87D9-44D693C96826}.Debug|x86.Build.0 = Debug|Any CPU + {C98F291C-096E-4859-87D9-44D693C96826}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C98F291C-096E-4859-87D9-44D693C96826}.Release|Any CPU.Build.0 = Release|Any CPU + {C98F291C-096E-4859-87D9-44D693C96826}.Release|x64.ActiveCfg = Release|Any CPU + {C98F291C-096E-4859-87D9-44D693C96826}.Release|x64.Build.0 = Release|Any CPU + {C98F291C-096E-4859-87D9-44D693C96826}.Release|x86.ActiveCfg = Release|Any CPU + {C98F291C-096E-4859-87D9-44D693C96826}.Release|x86.Build.0 = Release|Any CPU + {3E5AC47F-FCDE-40F0-9A87-F841C1AAB697}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3E5AC47F-FCDE-40F0-9A87-F841C1AAB697}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3E5AC47F-FCDE-40F0-9A87-F841C1AAB697}.Debug|x64.ActiveCfg = Debug|Any CPU + {3E5AC47F-FCDE-40F0-9A87-F841C1AAB697}.Debug|x64.Build.0 = Debug|Any CPU + {3E5AC47F-FCDE-40F0-9A87-F841C1AAB697}.Debug|x86.ActiveCfg = Debug|Any CPU + {3E5AC47F-FCDE-40F0-9A87-F841C1AAB697}.Debug|x86.Build.0 = Debug|Any CPU + {3E5AC47F-FCDE-40F0-9A87-F841C1AAB697}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3E5AC47F-FCDE-40F0-9A87-F841C1AAB697}.Release|Any CPU.Build.0 = Release|Any CPU + {3E5AC47F-FCDE-40F0-9A87-F841C1AAB697}.Release|x64.ActiveCfg = Release|Any CPU + {3E5AC47F-FCDE-40F0-9A87-F841C1AAB697}.Release|x64.Build.0 = Release|Any CPU + {3E5AC47F-FCDE-40F0-9A87-F841C1AAB697}.Release|x86.ActiveCfg = Release|Any CPU + {3E5AC47F-FCDE-40F0-9A87-F841C1AAB697}.Release|x86.Build.0 = Release|Any CPU + {049ECE8E-D576-49E9-A3D1-ACD0443C7BD8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {049ECE8E-D576-49E9-A3D1-ACD0443C7BD8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {049ECE8E-D576-49E9-A3D1-ACD0443C7BD8}.Debug|x64.ActiveCfg = Debug|Any CPU + {049ECE8E-D576-49E9-A3D1-ACD0443C7BD8}.Debug|x64.Build.0 = Debug|Any CPU + {049ECE8E-D576-49E9-A3D1-ACD0443C7BD8}.Debug|x86.ActiveCfg = Debug|Any CPU + {049ECE8E-D576-49E9-A3D1-ACD0443C7BD8}.Debug|x86.Build.0 = Debug|Any CPU + {049ECE8E-D576-49E9-A3D1-ACD0443C7BD8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {049ECE8E-D576-49E9-A3D1-ACD0443C7BD8}.Release|Any CPU.Build.0 = Release|Any CPU + {049ECE8E-D576-49E9-A3D1-ACD0443C7BD8}.Release|x64.ActiveCfg = Release|Any CPU + {049ECE8E-D576-49E9-A3D1-ACD0443C7BD8}.Release|x64.Build.0 = Release|Any CPU + {049ECE8E-D576-49E9-A3D1-ACD0443C7BD8}.Release|x86.ActiveCfg = Release|Any CPU + {049ECE8E-D576-49E9-A3D1-ACD0443C7BD8}.Release|x86.Build.0 = Release|Any CPU + {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Debug|Any CPU.Build.0 = Debug|Any CPU + {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Debug|x64.ActiveCfg = Debug|Any CPU + {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Debug|x64.Build.0 = Debug|Any CPU + {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Debug|x86.ActiveCfg = Debug|Any CPU + {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Debug|x86.Build.0 = Debug|Any CPU + {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Release|Any CPU.ActiveCfg = Release|Any CPU + {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Release|Any CPU.Build.0 = Release|Any CPU + {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Release|x64.ActiveCfg = Release|Any CPU + {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Release|x64.Build.0 = Release|Any CPU + {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Release|x86.ActiveCfg = Release|Any CPU + {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {B9AA5AD0-0C33-41CE-A676-72FE24C786D1} = {32836310-FB5E-5A92-56B4-44D826EF11F5} + {E29880EE-0CC7-452A-9D1D-88ACE724B0D0} = {32836310-FB5E-5A92-56B4-44D826EF11F5} + {AFE4B398-9A0D-401E-B980-CF874F12609D} = {32836310-FB5E-5A92-56B4-44D826EF11F5} + {E3265F51-0054-414E-87F5-AE64F6390B0A} = {32836310-FB5E-5A92-56B4-44D826EF11F5} + {C98F291C-096E-4859-87D9-44D693C96826} = {32836310-FB5E-5A92-56B4-44D826EF11F5} + {3E5AC47F-FCDE-40F0-9A87-F841C1AAB697} = {32836310-FB5E-5A92-56B4-44D826EF11F5} + {18B43B7E-2730-45E2-8AFA-F96F449D9792} = {4C14BC2F-C5CA-81E0-B3AD-B9EF19176EC4} + EndGlobalSection +EndGlobal diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/Az.PostgreSQLFlexibleServer.psd1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/Az.PostgreSQLFlexibleServer.psd1 new file mode 100644 index 000000000000..1aca27ce2f49 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/Az.PostgreSQLFlexibleServer.psd1 @@ -0,0 +1,186 @@ +# +# Module manifest for module 'Az.PostgreSQLFlexibleServer' +# +# Generated by: Microsoft Corporation +# +# Generated on: 3/9/2026 +# + +@{ + +# Script module or binary module file associated with this manifest. +# RootModule = '' + +# Version number of this module. +ModuleVersion = '0.1.0' + +# Supported PSEditions +CompatiblePSEditions = 'Core', 'Desktop' + +# ID used to uniquely identify this module +GUID = 'accceef6-8113-453a-a31c-4f2ce57893d6' + +# Author of this module +Author = 'Microsoft Corporation' + +# Company or vendor of this module +CompanyName = 'Microsoft Corporation' + +# Copyright statement for this module +Copyright = 'Microsoft Corporation. All rights reserved.' + +# Description of the functionality provided by this module +Description = 'Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets' + +# Minimum version of the PowerShell engine required by this module +PowerShellVersion = '5.1' + +# Name of the PowerShell host required by this module +# PowerShellHostName = '' + +# Minimum version of the PowerShell host required by this module +# PowerShellHostVersion = '' + +# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only. +DotNetFrameworkVersion = '4.7.2' + +# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only. +# ClrVersion = '' + +# Processor architecture (None, X86, Amd64) required by this module +# ProcessorArchitecture = '' + +# Modules that must be imported into the global environment prior to importing this module +# RequiredModules = @() + +# Assemblies that must be loaded prior to importing this module +RequiredAssemblies = + 'PostgreSQLFlexibleServer.Autorest/bin/Az.PostgreSQLFlexibleServer.private.dll' + +# Script files (.ps1) that are run in the caller's environment prior to importing this module. +# ScriptsToProcess = @() + +# Type files (.ps1xml) to be loaded when importing this module +# TypesToProcess = @() + +# Format files (.ps1xml) to be loaded when importing this module +FormatsToProcess = + 'PostgreSQLFlexibleServer.Autorest/Az.PostgreSQLFlexibleServer.format.ps1xml' + +# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess +NestedModules = @('PostgreSQLFlexibleServer.Autorest/Az.PostgreSQLFlexibleServer.psm1') + +# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. +FunctionsToExport = 'Get-AzPostgreSqlFlexibleServer', + 'Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra', + 'Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting', + 'Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand', + 'Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention', + 'Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation', + 'Get-AzPostgreSqlFlexibleServerCapabilitiesByServer', + 'Get-AzPostgreSqlFlexibleServerCapturedLog', + 'Get-AzPostgreSqlFlexibleServerConfiguration', + 'Get-AzPostgreSqlFlexibleServerDatabase', + 'Get-AzPostgreSqlFlexibleServerFirewallRule', + 'Get-AzPostgreSqlFlexibleServerMigration', + 'Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix', + 'Get-AzPostgreSqlFlexibleServerQuotaUsage', + 'Get-AzPostgreSqlFlexibleServerReplica', + 'Get-AzPostgreSqlFlexibleServerTuningOption', + 'Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation', + 'Get-AzPostgreSqlFlexibleServerVirtualEndpoint', + 'Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage', + 'Move-AzPostgreSqlFlexibleServerNetworkMode', + 'New-AzPostgreSqlFlexibleServer', + 'New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra', + 'New-AzPostgreSqlFlexibleServerDatabase', + 'New-AzPostgreSqlFlexibleServerFirewallRule', + 'New-AzPostgreSqlFlexibleServerMigration', + 'New-AzPostgreSqlFlexibleServerThreatProtectionSetting', + 'New-AzPostgreSqlFlexibleServerVirtualEndpoint', + 'Remove-AzPostgreSqlFlexibleServer', + 'Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra', + 'Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand', + 'Remove-AzPostgreSqlFlexibleServerDatabase', + 'Remove-AzPostgreSqlFlexibleServerFirewallRule', + 'Remove-AzPostgreSqlFlexibleServerVirtualEndpoint', + 'Restart-AzPostgreSqlFlexibleServer', + 'Set-AzPostgreSqlFlexibleServer', + 'Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra', + 'Set-AzPostgreSqlFlexibleServerConfiguration', + 'Set-AzPostgreSqlFlexibleServerFirewallRule', + 'Set-AzPostgreSqlFlexibleServerThreatProtectionSetting', + 'Start-AzPostgreSqlFlexibleServer', + 'Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention', + 'Stop-AzPostgreSqlFlexibleServer', + 'Stop-AzPostgreSqlFlexibleServerMigration', + 'Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite', + 'Test-AzPostgreSqlFlexibleServerMigrationNameAvailability', + 'Test-AzPostgreSqlFlexibleServerNameAvailability', + 'Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally', + 'Update-AzPostgreSqlFlexibleServer', + 'Update-AzPostgreSqlFlexibleServerConfiguration', + 'Update-AzPostgreSqlFlexibleServerDatabase', + 'Update-AzPostgreSqlFlexibleServerFirewallRule', + 'Update-AzPostgreSqlFlexibleServerMigration', + 'Update-AzPostgreSqlFlexibleServerVirtualEndpoint' + +# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. +CmdletsToExport = @() + +# Variables to export from this module +VariablesToExport = '*' + +# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export. +AliasesToExport = '*' + +# DSC resources to export from this module +# DscResourcesToExport = @() + +# List of all modules packaged with this module +# ModuleList = @() + +# List of all files packaged with this module +# FileList = @() + +# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell. +PrivateData = @{ + + PSData = @{ + + # Tags applied to this module. These help with module discovery in online galleries. + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'PostgreSQLFlexibleServer' + + # A URL to the license for this module. + LicenseUri = 'https://aka.ms/azps-license' + + # A URL to the main website for this project. + ProjectUri = 'https://github.com/Azure/azure-powershell' + + # A URL to an icon representing this module. + # IconUri = '' + + # ReleaseNotes of this module + # ReleaseNotes = '' + + # Prerelease string of this module + # Prerelease = '' + + # Flag to indicate whether the module requires explicit user acceptance for install/update/save + # RequireLicenseAcceptance = $false + + # External dependent modules of this module + # ExternalModuleDependencies = @() + + } # End of PSData hashtable + +} # End of PrivateData hashtable + +# HelpInfo URI of this module +# HelpInfoURI = '' + +# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix. +# DefaultCommandPrefix = '' + +} + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/ChangeLog.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/ChangeLog.md new file mode 100644 index 000000000000..4a9be54405fa --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/ChangeLog.md @@ -0,0 +1,24 @@ + +## Upcoming Release + +## Version 0.1.0 +* First preview release for module Az.PostgreSQLFlexibleServer + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.csproj b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.csproj new file mode 100644 index 000000000000..6a087254ecd7 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.csproj @@ -0,0 +1,28 @@ + + + + + + + PostgreSQLFlexibleServer + + + + netstandard2.0 + $(AzAssemblyPrefix)$(PsModuleName) + $(AzAssemblyPrefix)$(PsModuleName) + true + false + $(RepoArtifacts)$(Configuration)\Az.$(PsModuleName)\ + $(OutputPath) + + + + + + + + + + + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/Properties/AssemblyInfo.cs b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..c07ac50624b7 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/Properties/AssemblyInfo.cs @@ -0,0 +1,28 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// 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. +// ---------------------------------------------------------------------------------- + +using System; +using System.Reflection; +using System.Runtime.InteropServices; + +[assembly: AssemblyTitle("Microsoft Azure Powershell - PostgreSQLFlexibleServer")] +[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)] +[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)] +[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)] + +[assembly: ComVisible(false)] +[assembly: CLSCompliant(false)] +[assembly: Guid("39221224-953d-46d2-be6c-b494c198bc6b")] +[assembly: AssemblyVersion("0.1.0")] +[assembly: AssemblyFileVersion("0.1.0")] From 87f8dda2795e1a0ca135801b0cd88b4961ac4040 Mon Sep 17 00:00:00 2001 From: Naia Scott Date: Mon, 9 Mar 2026 18:18:52 -0400 Subject: [PATCH 3/7] build continue --- .../help/Az.PostgreSQLFlexibleServer.md | 172 ++++ .../help/Get-AzPostgreSqlFlexibleServer.md | 174 ++++ ...xibleServerAdministratorsMicrosoftEntra.md | 207 ++++ ...leServerAdvancedThreatProtectionSetting.md | 170 ++++ ...exibleServerBackupsAutomaticAndOnDemand.md | 207 ++++ ...lFlexibleServerBackupsLongTermRetention.md | 207 ++++ ...SqlFlexibleServerCapabilitiesByLocation.md | 122 +++ ...reSqlFlexibleServerCapabilitiesByServer.md | 139 +++ ...t-AzPostgreSqlFlexibleServerCapturedLog.md | 139 +++ ...AzPostgreSqlFlexibleServerConfiguration.md | 207 ++++ .../Get-AzPostgreSqlFlexibleServerDatabase.md | 208 +++++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 207 ++++ ...Get-AzPostgreSqlFlexibleServerMigration.md | 224 +++++ ...reSqlFlexibleServerPrivateDnsZoneSuffix.md | 122 +++ ...et-AzPostgreSqlFlexibleServerQuotaUsage.md | 122 +++ .../Get-AzPostgreSqlFlexibleServerReplica.md | 139 +++ ...-AzPostgreSqlFlexibleServerTuningOption.md | 207 ++++ ...lexibleServerTuningOptionRecommendation.md | 170 ++++ ...PostgreSqlFlexibleServerVirtualEndpoint.md | 207 ++++ ...FlexibleServerVirtualNetworkSubnetUsage.md | 238 +++++ ...e-AzPostgreSqlFlexibleServerNetworkMode.md | 225 +++++ .../help/New-AzPostgreSqlFlexibleServer.md | 882 ++++++++++++++++++ ...xibleServerAdministratorsMicrosoftEntra.md | 353 +++++++ .../New-AzPostgreSqlFlexibleServerDatabase.md | 338 +++++++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 339 +++++++ ...New-AzPostgreSqlFlexibleServerMigration.md | 687 ++++++++++++++ ...qlFlexibleServerThreatProtectionSetting.md | 284 ++++++ ...PostgreSqlFlexibleServerVirtualEndpoint.md | 337 +++++++ .../help/Remove-AzPostgreSqlFlexibleServer.md | 239 +++++ ...xibleServerAdministratorsMicrosoftEntra.md | 277 ++++++ ...exibleServerBackupsAutomaticAndOnDemand.md | 277 ++++++ ...move-AzPostgreSqlFlexibleServerDatabase.md | 278 ++++++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 277 ++++++ ...PostgreSqlFlexibleServerVirtualEndpoint.md | 277 ++++++ .../Restart-AzPostgreSqlFlexibleServer.md | 346 +++++++ .../help/Set-AzPostgreSqlFlexibleServer.md | 845 +++++++++++++++++ ...xibleServerAdministratorsMicrosoftEntra.md | 306 ++++++ ...AzPostgreSqlFlexibleServerConfiguration.md | 316 +++++++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 292 ++++++ ...qlFlexibleServerThreatProtectionSetting.md | 260 ++++++ .../help/Start-AzPostgreSqlFlexibleServer.md | 239 +++++ ...lFlexibleServerBackupsLongTermRetention.md | 331 +++++++ .../help/Stop-AzPostgreSqlFlexibleServer.md | 239 +++++ ...top-AzPostgreSqlFlexibleServerMigration.md | 247 +++++ ...verBackupsLongTermRetentionPrerequisite.md | 285 ++++++ ...FlexibleServerMigrationNameAvailability.md | 300 ++++++ ...ostgreSqlFlexibleServerNameAvailability.md | 284 ++++++ ...lFlexibleServerNameAvailabilityGlobally.md | 236 +++++ .../help/Update-AzPostgreSqlFlexibleServer.md | 853 +++++++++++++++++ ...AzPostgreSqlFlexibleServerConfiguration.md | 339 +++++++ ...date-AzPostgreSqlFlexibleServerDatabase.md | 294 ++++++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 278 ++++++ ...ate-AzPostgreSqlFlexibleServerMigration.md | 580 ++++++++++++ ...PostgreSqlFlexibleServerVirtualEndpoint.md | 323 +++++++ 54 files changed, 15851 insertions(+) create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Az.PostgreSQLFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapturedLog.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerConfiguration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerDatabase.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerMigration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerQuotaUsage.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerReplica.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerTuningOption.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Move-AzPostgreSqlFlexibleServerNetworkMode.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerDatabase.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerMigration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerVirtualEndpoint.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerDatabase.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Restart-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerConfiguration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Start-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Stop-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Stop-AzPostgreSqlFlexibleServerMigration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerNameAvailability.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerConfiguration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerDatabase.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerMigration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Az.PostgreSQLFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Az.PostgreSQLFlexibleServer.md new file mode 100644 index 000000000000..8dcb38a3ace0 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Az.PostgreSQLFlexibleServer.md @@ -0,0 +1,172 @@ +--- +Module Name: Az.PostgreSQLFlexibleServer +Module Guid: accceef6-8113-453a-a31c-4f2ce57893d6 +Download Help Link: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver +Help Version: 1.0.0.0 +Locale: en-US +--- + +# Az.PostgreSQLFlexibleServer Module +## Description +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +## Az.PostgreSQLFlexibleServer Cmdlets +### [Get-AzPostgreSqlFlexibleServer](Get-AzPostgreSqlFlexibleServer.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra](Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting](Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand](Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention](Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation](Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Get-AzPostgreSqlFlexibleServerCapabilitiesByServer](Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Get-AzPostgreSqlFlexibleServerCapturedLog](Get-AzPostgreSqlFlexibleServerCapturedLog.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Get-AzPostgreSqlFlexibleServerConfiguration](Get-AzPostgreSqlFlexibleServerConfiguration.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Get-AzPostgreSqlFlexibleServerDatabase](Get-AzPostgreSqlFlexibleServerDatabase.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Get-AzPostgreSqlFlexibleServerFirewallRule](Get-AzPostgreSqlFlexibleServerFirewallRule.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Get-AzPostgreSqlFlexibleServerMigration](Get-AzPostgreSqlFlexibleServerMigration.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix](Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Get-AzPostgreSqlFlexibleServerQuotaUsage](Get-AzPostgreSqlFlexibleServerQuotaUsage.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Get-AzPostgreSqlFlexibleServerReplica](Get-AzPostgreSqlFlexibleServerReplica.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Get-AzPostgreSqlFlexibleServerTuningOption](Get-AzPostgreSqlFlexibleServerTuningOption.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation](Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Get-AzPostgreSqlFlexibleServerVirtualEndpoint](Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage](Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Move-AzPostgreSqlFlexibleServerNetworkMode](Move-AzPostgreSqlFlexibleServerNetworkMode.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [New-AzPostgreSqlFlexibleServer](New-AzPostgreSqlFlexibleServer.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra](New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [New-AzPostgreSqlFlexibleServerDatabase](New-AzPostgreSqlFlexibleServerDatabase.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [New-AzPostgreSqlFlexibleServerFirewallRule](New-AzPostgreSqlFlexibleServerFirewallRule.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [New-AzPostgreSqlFlexibleServerMigration](New-AzPostgreSqlFlexibleServerMigration.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [New-AzPostgreSqlFlexibleServerThreatProtectionSetting](New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [New-AzPostgreSqlFlexibleServerVirtualEndpoint](New-AzPostgreSqlFlexibleServerVirtualEndpoint.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Remove-AzPostgreSqlFlexibleServer](Remove-AzPostgreSqlFlexibleServer.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra](Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand](Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Remove-AzPostgreSqlFlexibleServerDatabase](Remove-AzPostgreSqlFlexibleServerDatabase.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Remove-AzPostgreSqlFlexibleServerFirewallRule](Remove-AzPostgreSqlFlexibleServerFirewallRule.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Remove-AzPostgreSqlFlexibleServerVirtualEndpoint](Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Restart-AzPostgreSqlFlexibleServer](Restart-AzPostgreSqlFlexibleServer.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Set-AzPostgreSqlFlexibleServer](Set-AzPostgreSqlFlexibleServer.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra](Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Set-AzPostgreSqlFlexibleServerConfiguration](Set-AzPostgreSqlFlexibleServerConfiguration.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Set-AzPostgreSqlFlexibleServerFirewallRule](Set-AzPostgreSqlFlexibleServerFirewallRule.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Set-AzPostgreSqlFlexibleServerThreatProtectionSetting](Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Start-AzPostgreSqlFlexibleServer](Start-AzPostgreSqlFlexibleServer.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention](Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Stop-AzPostgreSqlFlexibleServer](Stop-AzPostgreSqlFlexibleServer.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Stop-AzPostgreSqlFlexibleServerMigration](Stop-AzPostgreSqlFlexibleServerMigration.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite](Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Test-AzPostgreSqlFlexibleServerMigrationNameAvailability](Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Test-AzPostgreSqlFlexibleServerNameAvailability](Test-AzPostgreSqlFlexibleServerNameAvailability.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally](Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Update-AzPostgreSqlFlexibleServer](Update-AzPostgreSqlFlexibleServer.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Update-AzPostgreSqlFlexibleServerConfiguration](Update-AzPostgreSqlFlexibleServerConfiguration.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Update-AzPostgreSqlFlexibleServerDatabase](Update-AzPostgreSqlFlexibleServerDatabase.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Update-AzPostgreSqlFlexibleServerFirewallRule](Update-AzPostgreSqlFlexibleServerFirewallRule.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Update-AzPostgreSqlFlexibleServerMigration](Update-AzPostgreSqlFlexibleServerMigration.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +### [Update-AzPostgreSqlFlexibleServerVirtualEndpoint](Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md) +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..e6b9460dfae0 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,174 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Gets information about an existing server. + +## SYNTAX + +### List1 (Default) +``` +Get-AzPostgreSqlFlexibleServer [-SubscriptionId ] [-DefaultProfile ] + [-ProgressAction ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-ProgressAction ] [] +``` + +### List +``` +Get-AzPostgreSqlFlexibleServer -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-ProgressAction ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] + [-ProgressAction ] [] +``` + +## DESCRIPTION +Gets information about an existing server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: List1, Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IServer + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md new file mode 100644 index 000000000000..69519af5ff9a --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md @@ -0,0 +1,207 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserveradministratorsmicrosoftentra +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra + +## SYNOPSIS +Gets information about a server administrator associated to a Microsoft Entra principal. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId + -FlexibleServerInputObject [-DefaultProfile ] + [-ProgressAction ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] + [-ProgressAction ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -InputObject + [-DefaultProfile ] [-ProgressAction ] [] +``` + +## DESCRIPTION +Gets information about a server administrator associated to a Microsoft Entra principal. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ObjectId +Object identifier of the Microsoft Entra principal. + +```yaml +Type: System.String +Parameter Sets: GetViaIdentityFlexibleServer, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: List, Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IAdministratorMicrosoftEntra + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md new file mode 100644 index 000000000000..dbc4bc3171f3 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md @@ -0,0 +1,170 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserveradvancedthreatprotectionsetting +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting + +## SYNOPSIS +Gets state of advanced threat protection settings for a server. + +## SYNTAX + +### Get (Default) +``` +Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [] +``` + +### List +``` +Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting -InputObject + [-DefaultProfile ] [-ProgressAction ] [] +``` + +## DESCRIPTION +Gets state of advanced threat protection settings for a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IAdvancedThreatProtectionSettingsModel + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md new file mode 100644 index 000000000000..969c46122b00 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md @@ -0,0 +1,207 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverbackupsautomaticandondemand +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand + +## SYNOPSIS +Gets information of an on demand backup, given its name. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -BackupName + -FlexibleServerInputObject [-DefaultProfile ] + [-ProgressAction ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -BackupName -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] + [-ProgressAction ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -InputObject + [-DefaultProfile ] [-ProgressAction ] [] +``` + +## DESCRIPTION +Gets information of an on demand backup, given its name. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -BackupName +Name of the backup. + +```yaml +Type: System.String +Parameter Sets: GetViaIdentityFlexibleServer, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: List, Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IBackupAutomaticAndOnDemand + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md new file mode 100644 index 000000000000..72b59187f110 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md @@ -0,0 +1,207 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverbackupslongtermretention +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention + +## SYNOPSIS +Gets the results of a long retention backup operation for a server. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention -BackupName + -FlexibleServerInputObject [-DefaultProfile ] + [-ProgressAction ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention -BackupName -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] + [-ProgressAction ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention -InputObject + [-DefaultProfile ] [-ProgressAction ] [] +``` + +## DESCRIPTION +Gets the results of a long retention backup operation for a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -BackupName +The name of the backup. + +```yaml +Type: System.String +Parameter Sets: GetViaIdentityFlexibleServer, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: List, Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IBackupsLongTermRetentionOperation + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md new file mode 100644 index 000000000000..f61360e3d59a --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md @@ -0,0 +1,122 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservercapabilitiesbylocation +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation + +## SYNOPSIS +Lists the capabilities available in a given location for a specific subscription. + +## SYNTAX + +``` +Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation -LocationName [-SubscriptionId ] + [-DefaultProfile ] [-ProgressAction ] [] +``` + +## DESCRIPTION +Lists the capabilities available in a given location for a specific subscription. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocationName +The name of the location. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ICapability + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md new file mode 100644 index 000000000000..8d0078640935 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md @@ -0,0 +1,139 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservercapabilitiesbyserver +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerCapabilitiesByServer + +## SYNOPSIS +Lists the capabilities available for a given server. + +## SYNTAX + +``` +Get-AzPostgreSqlFlexibleServerCapabilitiesByServer -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [] +``` + +## DESCRIPTION +Lists the capabilities available for a given server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ICapability + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapturedLog.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapturedLog.md new file mode 100644 index 000000000000..b82008fd4377 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapturedLog.md @@ -0,0 +1,139 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservercapturedlog +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerCapturedLog + +## SYNOPSIS +Lists all captured logs for download in a server. + +## SYNTAX + +``` +Get-AzPostgreSqlFlexibleServerCapturedLog -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [] +``` + +## DESCRIPTION +Lists all captured logs for download in a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ICapturedLog + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..f0e749aaa4b9 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerConfiguration.md @@ -0,0 +1,207 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverconfiguration +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerConfiguration + +## SYNOPSIS +Gets information about a specific configuration (also known as server parameter) of a server. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerConfiguration -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerConfiguration -Name + -FlexibleServerInputObject [-DefaultProfile ] + [-ProgressAction ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerConfiguration -InputObject + [-DefaultProfile ] [-ProgressAction ] [] +``` + +## DESCRIPTION +Gets information about a specific configuration (also known as server parameter) of a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the configuration (also known as server parameter). + +```yaml +Type: System.String +Parameter Sets: GetViaIdentityFlexibleServer, Get +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: List, Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IConfiguration + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerDatabase.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..255c0cdf585c --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerDatabase.md @@ -0,0 +1,208 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverdatabase +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerDatabase + +## SYNOPSIS +Gets information about an existing database. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerDatabase -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerDatabase -Name + -FlexibleServerInputObject [-DefaultProfile ] + [-ProgressAction ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerDatabase -InputObject + [-DefaultProfile ] [-ProgressAction ] [] +``` + +## DESCRIPTION +Gets information about an existing database. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the database (case-sensitive). +Exact database names can be retrieved by getting the list of all existing databases in a server. + +```yaml +Type: System.String +Parameter Sets: GetViaIdentityFlexibleServer, Get +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: List, Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IDatabase + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..cf5508a60814 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,207 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerFirewallRule + +## SYNOPSIS +Gets information about a firewall rule in a server. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerFirewallRule -Name + -FlexibleServerInputObject [-DefaultProfile ] + [-ProgressAction ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerFirewallRule -InputObject + [-DefaultProfile ] [-ProgressAction ] [] +``` + +## DESCRIPTION +Gets information about a firewall rule in a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the firewall rule. + +```yaml +Type: System.String +Parameter Sets: GetViaIdentityFlexibleServer, Get +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: List, Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IFirewallRule + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerMigration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerMigration.md new file mode 100644 index 000000000000..eb1adb9b5fda --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerMigration.md @@ -0,0 +1,224 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservermigration +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerMigration + +## SYNOPSIS +Gets information about a migration. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerMigration -ResourceGroupName -ServerName + [-SubscriptionId ] [-MigrationListFilter ] [-DefaultProfile ] + [-ProgressAction ] [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerMigration -Name + -FlexibleServerInputObject [-DefaultProfile ] + [-ProgressAction ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerMigration -InputObject + [-DefaultProfile ] [-ProgressAction ] [] +``` + +## DESCRIPTION +Gets information about a migration. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -MigrationListFilter +Migration list filter. +Indicates if the request should retrieve only active migrations or all migrations. +Defaults to Active. + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of migration. + +```yaml +Type: System.String +Parameter Sets: GetViaIdentityFlexibleServer, Get +Aliases: MigrationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: List, Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigration + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md new file mode 100644 index 000000000000..34fb869c4431 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md @@ -0,0 +1,122 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverprivatednszonesuffix +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix + +## SYNOPSIS +Gets the private DNS zone suffix. + +## SYNTAX + +``` +Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix [-DefaultProfile ] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Gets the private DNS zone suffix. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### System.String + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerQuotaUsage.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerQuotaUsage.md new file mode 100644 index 000000000000..6c8ec4cc543c --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerQuotaUsage.md @@ -0,0 +1,122 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverquotausage +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerQuotaUsage + +## SYNOPSIS +Get quota usages at specified location in a given subscription. + +## SYNTAX + +``` +Get-AzPostgreSqlFlexibleServerQuotaUsage -LocationName [-SubscriptionId ] + [-DefaultProfile ] [-ProgressAction ] [] +``` + +## DESCRIPTION +Get quota usages at specified location in a given subscription. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocationName +The name of the location. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IQuotaUsage + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerReplica.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerReplica.md new file mode 100644 index 000000000000..f6fcc144d40f --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerReplica.md @@ -0,0 +1,139 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverreplica +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerReplica + +## SYNOPSIS +Lists all read replicas of a server. + +## SYNTAX + +``` +Get-AzPostgreSqlFlexibleServerReplica -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [] +``` + +## DESCRIPTION +Lists all read replicas of a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IServer + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerTuningOption.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerTuningOption.md new file mode 100644 index 000000000000..c7b5174f2a0e --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerTuningOption.md @@ -0,0 +1,207 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservertuningoption +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerTuningOption + +## SYNOPSIS +Gets the tuning options of a server. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerTuningOption -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerTuningOption -ResourceGroupName -ServerName + [-SubscriptionId ] -TuningOption [-DefaultProfile ] + [-ProgressAction ] [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerTuningOption -TuningOption + -FlexibleServerInputObject [-DefaultProfile ] + [-ProgressAction ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerTuningOption -InputObject + [-DefaultProfile ] [-ProgressAction ] [] +``` + +## DESCRIPTION +Gets the tuning options of a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: List, Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TuningOption +The name of the tuning option. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ITuningOptions + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md new file mode 100644 index 000000000000..f6eda55a0f36 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md @@ -0,0 +1,170 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservertuningoptionrecommendation +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation + +## SYNOPSIS +Lists available object recommendations. + +## SYNTAX + +``` +Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation -ResourceGroupName -ServerName + -TuningOption [-SubscriptionId ] [-RecommendationType ] + [-DefaultProfile ] [-ProgressAction ] [] +``` + +## DESCRIPTION +Lists available object recommendations. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecommendationType +Recommendations list filter. +Retrieves recommendations based on type. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TuningOption +The name of the tuning option. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IObjectRecommendation + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md new file mode 100644 index 000000000000..69578ff836f8 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md @@ -0,0 +1,207 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservervirtualendpoint +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerVirtualEndpoint + +## SYNOPSIS +Gets information about a pair of virtual endpoints. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerVirtualEndpoint -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerVirtualEndpoint -Name + -FlexibleServerInputObject [-DefaultProfile ] + [-ProgressAction ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerVirtualEndpoint -InputObject + [-DefaultProfile ] [-ProgressAction ] [] +``` + +## DESCRIPTION +Gets information about a pair of virtual endpoints. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Base name of the virtual endpoints. + +```yaml +Type: System.String +Parameter Sets: GetViaIdentityFlexibleServer, Get +Aliases: VirtualEndpointName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: List, Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: List, Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IVirtualEndpoint + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md new file mode 100644 index 000000000000..c4e219bd6031 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md @@ -0,0 +1,238 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservervirtualnetworksubnetusage +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage + +## SYNOPSIS +Lists the virtual network subnet usage for a given virtual network. + +## SYNTAX + +### ListExpanded (Default) +``` +Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage -LocationName [-SubscriptionId ] + [-VirtualNetworkArmResourceId ] [-DefaultProfile ] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### List +``` +Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage -LocationName [-SubscriptionId ] + -Parameter [-DefaultProfile ] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### ListViaJsonFilePath +``` +Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage -LocationName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### ListViaJsonString +``` +Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage -LocationName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +## DESCRIPTION +Lists the virtual network subnet usage for a given virtual network. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocationName +The name of the location. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +Virtual network subnet usage parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IVirtualNetworkSubnetUsageParameter +Parameter Sets: List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VirtualNetworkArmResourceId +Virtual network resource id. + +```yaml +Type: System.String +Parameter Sets: ListExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IVirtualNetworkSubnetUsageParameter + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IVirtualNetworkSubnetUsageModel + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Move-AzPostgreSqlFlexibleServerNetworkMode.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Move-AzPostgreSqlFlexibleServerNetworkMode.md new file mode 100644 index 000000000000..2a246393c410 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Move-AzPostgreSqlFlexibleServerNetworkMode.md @@ -0,0 +1,225 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/move-azpostgresqlflexibleservernetworkmode +schema: 2.0.0 +--- + +# Move-AzPostgreSqlFlexibleServerNetworkMode + +## SYNOPSIS +Migrates the network configuration of a PostgreSQL flexible server from customer owned VNET to Microsoft owned VNET with support for private endpoints, or from Microsoft owned VNET with no support for private endpoints to Microsoft owned VNET with support for private endpoints. + +## SYNTAX + +### Migrate (Default) +``` +Move-AzPostgreSqlFlexibleServerNetworkMode -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### MigrateViaIdentity +``` +Move-AzPostgreSqlFlexibleServerNetworkMode -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +## DESCRIPTION +Migrates the network configuration of a PostgreSQL flexible server from customer owned VNET to Microsoft owned VNET with support for private endpoints, or from Microsoft owned VNET with no support for private endpoints to Microsoft owned VNET with support for private endpoints. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: MigrateViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Migrate +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Migrate +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Migrate +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigrateNetworkStatus + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..55c76c3a508f --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,882 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/new-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Create a new server. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + -Location [-AdministratorLogin ] [-AdministratorLoginPassword ] + [-AuthConfigActiveDirectoryAuth ] [-AuthConfigPasswordAuth ] [-AuthConfigTenantId ] + [-AvailabilityZone ] [-BackupGeoRedundantBackup ] [-BackupRetentionDay ] + [-ClusterDefaultDatabaseName ] [-ClusterSize ] [-CreateMode ] + [-DataEncryptionGeoBackupKeyUri ] [-DataEncryptionGeoBackupUserAssignedIdentityId ] + [-DataEncryptionPrimaryKeyUri ] [-DataEncryptionPrimaryUserAssignedIdentityId ] + [-DataEncryptionType ] [-EnableSystemAssignedIdentity] [-HighAvailabilityMode ] + [-HighAvailabilityStandbyAvailabilityZone ] [-IdentityPrincipalId ] + [-NetworkDelegatedSubnetResourceId ] [-NetworkPrivateDnsZoneArmResourceId ] + [-NetworkPublicNetworkAccess ] [-PointInTimeUtc ] [-ReplicationRole ] + [-SkuName ] [-SkuTier ] [-SourceServerResourceId ] [-StorageAutoGrow ] + [-StorageIop ] [-StorageSizeGb ] [-StorageThroughput ] [-StorageTier ] + [-StorageType ] [-Tag ] [-UserAssignedIdentity ] [-Version ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### CreateViaJsonString +``` +New-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonFilePath +``` +New-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaIdentityExpanded +``` +New-AzPostgreSqlFlexibleServer -InputObject -Location + [-AdministratorLogin ] [-AdministratorLoginPassword ] + [-AuthConfigActiveDirectoryAuth ] [-AuthConfigPasswordAuth ] [-AuthConfigTenantId ] + [-AvailabilityZone ] [-BackupGeoRedundantBackup ] [-BackupRetentionDay ] + [-ClusterDefaultDatabaseName ] [-ClusterSize ] [-CreateMode ] + [-DataEncryptionGeoBackupKeyUri ] [-DataEncryptionGeoBackupUserAssignedIdentityId ] + [-DataEncryptionPrimaryKeyUri ] [-DataEncryptionPrimaryUserAssignedIdentityId ] + [-DataEncryptionType ] [-EnableSystemAssignedIdentity] [-HighAvailabilityMode ] + [-HighAvailabilityStandbyAvailabilityZone ] [-IdentityPrincipalId ] + [-NetworkDelegatedSubnetResourceId ] [-NetworkPrivateDnsZoneArmResourceId ] + [-NetworkPublicNetworkAccess ] [-PointInTimeUtc ] [-ReplicationRole ] + [-SkuName ] [-SkuTier ] [-SourceServerResourceId ] [-StorageAutoGrow ] + [-StorageIop ] [-StorageSizeGb ] [-StorageThroughput ] [-StorageTier ] + [-StorageType ] [-Tag ] [-UserAssignedIdentity ] [-Version ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +## DESCRIPTION +Create a new server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AdministratorLogin +Name of the login designated as the first password based administrator assigned to your instance of PostgreSQL. +Must be specified the first time that you enable password based authentication on a server. +Once set to a given value, it cannot be changed for the rest of the life of a server. +If you disable password based authentication on a server which had it enabled, this password based role isn't deleted. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdministratorLoginPassword +Password assigned to the administrator login. +As long as password authentication is enabled, this password can be changed at any time. + +```yaml +Type: System.Security.SecureString +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigActiveDirectoryAuth +Indicates if the server supports Microsoft Entra authentication. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigPasswordAuth +Indicates if the server supports password based authentication. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigTenantId +Identifier of the tenant of the delegated resource. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AvailabilityZone +Availability zone of a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupGeoRedundantBackup +Indicates if the server is configured to create geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterDefaultDatabaseName +Default database name for the elastic cluster. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterSize +Number of nodes assigned to the elastic cluster. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CreateMode +Creation mode of a new server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionGeoBackupKeyUri +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionGeoBackupUserAssignedIdentityId +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionPrimaryKeyUri +URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionPrimaryUserAssignedIdentityId +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the primary storage associated to a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionType +Data encryption type used by a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HighAvailabilityMode +High availability mode for a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HighAvailabilityStandbyAvailabilityZone +Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityPrincipalId +Identifier of the object of the service principal associated to the user assigned managed identity. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The geo-location where the resource lives + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkDelegatedSubnetResourceId +Resource identifier of the delegated subnet. +Required during creation of a new server, in case you want the server to be integrated into your own virtual network. +For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkPrivateDnsZoneArmResourceId +Identifier of the private DNS zone. +Required during creation of a new server, in case you want the server to be integrated into your own virtual network. +For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkPublicNetworkAccess +Indicates if public network access is enabled or not. +This is only supported for servers that are not integrated into a virtual network which is owned and provided by customer when server is deployed. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PointInTimeUtc +Creation time (in ISO8601 format) of the backup which you want to restore in the new server. +It's required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', or 'ReviveDropped'. + +```yaml +Type: System.DateTime +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicationRole +Role of the server in a replication set. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuName +Name by which is known a given compute size assigned to a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuTier +Tier of the compute assigned to a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceServerResourceId +Identifier of the server to be used as the source of the new server. +Required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', 'Replica', or 'ReviveDropped'. +This property is returned only when the target server is a read replica. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageAutoGrow +Flag to enable or disable the automatic growth of storage size of a server when available space is nearing zero and conditions allow for automatically growing storage size. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageIop +Maximum IOPS supported for storage. +Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageSizeGb +Size of storage assigned to a server. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageThroughput +Maximum throughput supported for storage. +Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageTier +Storage tier of a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageType +Type of storage assigned to a server. +Allowed values are Premium_LRS, PremiumV2_LRS, or UltraSSD_LRS. +If not specified, it defaults to Premium_LRS. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserAssignedIdentity +The array of user assigned identities associated with the resource. +The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.' + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Version +Major version of PostgreSQL database engine. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IServer + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md new file mode 100644 index 000000000000..53cf54340d3c --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md @@ -0,0 +1,353 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/new-azpostgresqlflexibleserveradministratorsmicrosoftentra +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra + +## SYNOPSIS +Create a new server administrator associated to a Microsoft Entra principal. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName [-SubscriptionId ] [-PrincipalName ] [-PrincipalType ] + [-TenantId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonFilePath +``` +New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaIdentityFlexibleServerExpanded +``` +New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId + -FlexibleServerInputObject [-PrincipalName ] + [-PrincipalType ] [-TenantId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaIdentityExpanded +``` +New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -InputObject + [-PrincipalName ] [-PrincipalType ] [-TenantId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Create a new server administrator associated to a Microsoft Entra principal. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ObjectId +Object identifier of the Microsoft Entra principal. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrincipalName +Name of the Microsoft Entra principal. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrincipalType +Type of Microsoft Entra principal to which the server administrator is associated. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TenantId +Identifier of the tenant in which the Microsoft Entra principal exists. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IAdministratorMicrosoftEntra + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerDatabase.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..b9247c3b6d7d --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerDatabase.md @@ -0,0 +1,338 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/new-azpostgresqlflexibleserverdatabase +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServerDatabase + +## SYNOPSIS +Create a new database. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonFilePath +``` +New-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaIdentityFlexibleServerExpanded +``` +New-AzPostgreSqlFlexibleServerDatabase -Name + -FlexibleServerInputObject [-Charset ] [-Collation ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### CreateViaIdentityExpanded +``` +New-AzPostgreSqlFlexibleServerDatabase -InputObject [-Charset ] + [-Collation ] [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Create a new database. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Charset +Character set of the database. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Collation +Collation of the database. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the database (case-sensitive). +Exact database names can be retrieved by getting the list of all existing databases in a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, CreateViaIdentityFlexibleServerExpanded +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IDatabase + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..7d8a9bb3a67d --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,339 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/new-azpostgresqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServerFirewallRule + +## SYNOPSIS +Create a new firewall rule or create an existing firewall rule. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] -EndIPAddress -StartIPAddress [-DefaultProfile ] + [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonFilePath +``` +New-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaIdentityFlexibleServerExpanded +``` +New-AzPostgreSqlFlexibleServerFirewallRule -Name + -FlexibleServerInputObject -EndIPAddress -StartIPAddress + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### CreateViaIdentityExpanded +``` +New-AzPostgreSqlFlexibleServerFirewallRule -InputObject + -EndIPAddress -StartIPAddress [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Create a new firewall rule or create an existing firewall rule. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +IP address defining the end of the range of addresses of a firewall rule. +Must be expressed in IPv4 format. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the firewall rule. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, CreateViaIdentityFlexibleServerExpanded +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +IP address defining the start of the range of addresses of a firewall rule. +Must be expressed in IPv4 format. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IFirewallRule + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerMigration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerMigration.md new file mode 100644 index 000000000000..a809bc72d4ed --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerMigration.md @@ -0,0 +1,687 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/new-azpostgresqlflexibleservermigration +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServerMigration + +## SYNOPSIS +Create a new migration. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] -Location [-AdminCredentialsSourceServerPassword ] + [-AdminCredentialsTargetServerPassword ] [-Cancel ] [-DbsToCancelMigrationOn ] + [-DbsToMigrate ] [-DbsToTriggerCutoverOn ] [-MigrateRole ] + [-MigrationInstanceResourceId ] [-MigrationMode ] [-MigrationOption ] + [-MigrationWindowEndTimeInUtc ] [-MigrationWindowStartTimeInUtc ] + [-OverwriteDbsInTarget ] [-SecretParameterSourceServerUsername ] + [-SecretParameterTargetServerUsername ] [-SetupLogicalReplicationOnSourceDbIfNeeded ] + [-SourceDbServerFullyQualifiedDomainName ] [-SourceDbServerResourceId ] [-SourceType ] + [-SslMode ] [-StartDataMigration ] [-Tag ] + [-TargetDbServerFullyQualifiedDomainName ] [-TriggerCutover ] [-DefaultProfile ] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonString [-DefaultProfile ] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonFilePath +``` +New-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaIdentityFlexibleServerExpanded +``` +New-AzPostgreSqlFlexibleServerMigration -Name + -FlexibleServerInputObject -Location + [-AdminCredentialsSourceServerPassword ] [-AdminCredentialsTargetServerPassword ] + [-Cancel ] [-DbsToCancelMigrationOn ] [-DbsToMigrate ] + [-DbsToTriggerCutoverOn ] [-MigrateRole ] [-MigrationInstanceResourceId ] + [-MigrationMode ] [-MigrationOption ] [-MigrationWindowEndTimeInUtc ] + [-MigrationWindowStartTimeInUtc ] [-OverwriteDbsInTarget ] + [-SecretParameterSourceServerUsername ] [-SecretParameterTargetServerUsername ] + [-SetupLogicalReplicationOnSourceDbIfNeeded ] [-SourceDbServerFullyQualifiedDomainName ] + [-SourceDbServerResourceId ] [-SourceType ] [-SslMode ] [-StartDataMigration ] + [-Tag ] [-TargetDbServerFullyQualifiedDomainName ] [-TriggerCutover ] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaIdentityExpanded +``` +New-AzPostgreSqlFlexibleServerMigration -InputObject -Location + [-AdminCredentialsSourceServerPassword ] [-AdminCredentialsTargetServerPassword ] + [-Cancel ] [-DbsToCancelMigrationOn ] [-DbsToMigrate ] + [-DbsToTriggerCutoverOn ] [-MigrateRole ] [-MigrationInstanceResourceId ] + [-MigrationMode ] [-MigrationOption ] [-MigrationWindowEndTimeInUtc ] + [-MigrationWindowStartTimeInUtc ] [-OverwriteDbsInTarget ] + [-SecretParameterSourceServerUsername ] [-SecretParameterTargetServerUsername ] + [-SetupLogicalReplicationOnSourceDbIfNeeded ] [-SourceDbServerFullyQualifiedDomainName ] + [-SourceDbServerResourceId ] [-SourceType ] [-SslMode ] [-StartDataMigration ] + [-Tag ] [-TargetDbServerFullyQualifiedDomainName ] [-TriggerCutover ] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Create a new migration. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AdminCredentialsSourceServerPassword +Password for the user of the source server. + +```yaml +Type: System.Security.SecureString +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdminCredentialsTargetServerPassword +Password for the user of the target server. + +```yaml +Type: System.Security.SecureString +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cancel +Indicates if cancel must be triggered for the entire migration. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DbsToCancelMigrationOn +When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DbsToMigrate +Names of databases to migrate. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DbsToTriggerCutoverOn +When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The geo-location where the resource lives + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrateRole +Indicates if roles and permissions must be migrated. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrationInstanceResourceId +Identifier of the private endpoint migration instance. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrationMode +Mode used to perform the migration: Online or Offline. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrationOption +Supported option for a migration. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrationWindowEndTimeInUtc +End time (UTC) for migration window. + +```yaml +Type: System.DateTime +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrationWindowStartTimeInUtc +Start time (UTC) for migration window. + +```yaml +Type: System.DateTime +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of migration. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, CreateViaIdentityFlexibleServerExpanded +Aliases: MigrationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverwriteDbsInTarget +Indicates if databases on the target server can be overwritten when already present. +If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecretParameterSourceServerUsername +Gets or sets the name of the user for the source server. +This user doesn't need to be an administrator. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecretParameterTargetServerUsername +Gets or sets the name of the user for the target server. +This user doesn't need to be an administrator. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SetupLogicalReplicationOnSourceDbIfNeeded +Indicates whether to setup logical replication on source server, if needed. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceDbServerFullyQualifiedDomainName +Fully qualified domain name (FQDN) or IP address of the source server. +This property is optional. +When provided, the migration service will always use it to connect to the source server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceDbServerResourceId +Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. +For other source types this must be set to ipaddress:port@username or hostname:port@username. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceType +Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SslMode +SSL mode used by a migration. +Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. +Default SSL mode for other source types is 'Prefer'. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartDataMigration +Indicates if data migration must start right away. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetDbServerFullyQualifiedDomainName +Fully qualified domain name (FQDN) or IP address of the target server. +This property is optional. +When provided, the migration service will always use it to connect to the target server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TriggerCutover +Indicates if cutover must be triggered for the entire migration. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigration + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md new file mode 100644 index 000000000000..8bfec8526d3e --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md @@ -0,0 +1,284 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/new-azpostgresqlflexibleserverthreatprotectionsetting +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServerThreatProtectionSetting + +## SYNOPSIS +Create a server's Advanced Threat Protection settings. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName + [-SubscriptionId ] [-State ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonFilePath +``` +New-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaIdentityExpanded +``` +New-AzPostgreSqlFlexibleServerThreatProtectionSetting -InputObject + [-State ] [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Create a server's Advanced Threat Protection settings. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +Specifies the state of the advanced threat protection, whether it is enabled, disabled, or a state has not been applied yet on the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IAdvancedThreatProtectionSettingsModel + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerVirtualEndpoint.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerVirtualEndpoint.md new file mode 100644 index 000000000000..de8cf12cbc54 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerVirtualEndpoint.md @@ -0,0 +1,337 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/new-azpostgresqlflexibleservervirtualendpoint +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServerVirtualEndpoint + +## SYNOPSIS +Create a pair of virtual endpoints for a server. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-EndpointType ] [-Member ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonString +``` +New-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaJsonFilePath +``` +New-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CreateViaIdentityFlexibleServerExpanded +``` +New-AzPostgreSqlFlexibleServerVirtualEndpoint -Name + -FlexibleServerInputObject [-EndpointType ] [-Member ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### CreateViaIdentityExpanded +``` +New-AzPostgreSqlFlexibleServerVirtualEndpoint -InputObject + [-EndpointType ] [-Member ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Create a pair of virtual endpoints for a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndpointType +Type of endpoint for the virtual endpoints. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Member +List of servers that one of the virtual endpoints can refer to. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Base name of the virtual endpoints. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath, CreateViaIdentityFlexibleServerExpanded +Aliases: VirtualEndpointName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonString, CreateViaJsonFilePath +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IVirtualEndpoint + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..ad9c77cbb5b8 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,239 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Deletes or drops an existing server. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] + [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] + [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Deletes or drops an existing server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md new file mode 100644 index 000000000000..676186f87269 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md @@ -0,0 +1,277 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleserveradministratorsmicrosoftentra +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra + +## SYNOPSIS +Deletes an existing server administrator associated to a Microsoft Entra principal. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentityFlexibleServer +``` +Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId + -FlexibleServerInputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] + [-Confirm] [] +``` + +## DESCRIPTION +Deletes an existing server administrator associated to a Microsoft Entra principal. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ObjectId +Object identifier of the Microsoft Entra principal. + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md new file mode 100644 index 000000000000..9f6d72046d97 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md @@ -0,0 +1,277 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleserverbackupsautomaticandondemand +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand + +## SYNOPSIS +Deletes a specific backup, given its name. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -BackupName -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentityFlexibleServer +``` +Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -BackupName + -FlexibleServerInputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] + [-Confirm] [] +``` + +## DESCRIPTION +Deletes a specific backup, given its name. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupName +Name of the backup. + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerDatabase.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..b710b9d2e45f --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerDatabase.md @@ -0,0 +1,278 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleserverdatabase +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlFlexibleServerDatabase + +## SYNOPSIS +Deletes an existing database. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentityFlexibleServer +``` +Remove-AzPostgreSqlFlexibleServerDatabase -Name + -FlexibleServerInputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlFlexibleServerDatabase -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] + [-Confirm] [] +``` + +## DESCRIPTION +Deletes an existing database. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the database (case-sensitive). +Exact database names can be retrieved by getting the list of all existing databases in a server. + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityFlexibleServer +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..d01baa29c807 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,277 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlFlexibleServerFirewallRule + +## SYNOPSIS +Deletes an existing firewall rule. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentityFlexibleServer +``` +Remove-AzPostgreSqlFlexibleServerFirewallRule -Name + -FlexibleServerInputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlFlexibleServerFirewallRule -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] + [-Confirm] [] +``` + +## DESCRIPTION +Deletes an existing firewall rule. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the firewall rule. + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityFlexibleServer +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md new file mode 100644 index 000000000000..cbf9a5b33c83 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md @@ -0,0 +1,277 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleservervirtualendpoint +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlFlexibleServerVirtualEndpoint + +## SYNOPSIS +Deletes a pair of virtual endpoints. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentityFlexibleServer +``` +Remove-AzPostgreSqlFlexibleServerVirtualEndpoint -Name + -FlexibleServerInputObject [-DefaultProfile ] [-AsJob] [-NoWait] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlFlexibleServerVirtualEndpoint -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] + [-Confirm] [] +``` + +## DESCRIPTION +Deletes a pair of virtual endpoints. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Base name of the virtual endpoints. + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityFlexibleServer +Aliases: VirtualEndpointName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Restart-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Restart-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..18a54ab6bedb --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Restart-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,346 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/restart-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Restart-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Restarts PostgreSQL database engine in a server. + +## SYNTAX + +### RestartExpanded (Default) +``` +Restart-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-FailoverMode ] [-RestartWithFailover] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### RestartViaJsonString +``` +Restart-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### RestartViaJsonFilePath +``` +Restart-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### Restart +``` +Restart-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + -Parameter [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### RestartViaIdentityExpanded +``` +Restart-AzPostgreSqlFlexibleServer -InputObject [-FailoverMode ] + [-RestartWithFailover] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### RestartViaIdentity +``` +Restart-AzPostgreSqlFlexibleServer -InputObject + -Parameter [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Restarts PostgreSQL database engine in a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FailoverMode +Failover mode. + +```yaml +Type: System.String +Parameter Sets: RestartExpanded, RestartViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: RestartViaIdentityExpanded, RestartViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Restart operation + +```yaml +Type: System.String +Parameter Sets: RestartViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Restart operation + +```yaml +Type: System.String +Parameter Sets: RestartViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: RestartExpanded, RestartViaJsonString, RestartViaJsonFilePath, Restart +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +PostgreSQL database engine restart parameters. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IRestartParameter +Parameter Sets: Restart, RestartViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: RestartExpanded, RestartViaJsonString, RestartViaJsonFilePath, Restart +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestartWithFailover +Indicates if restart the PostgreSQL database engine should failover or switch over from primary to standby. +This only works if server has high availability enabled. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: RestartExpanded, RestartViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: RestartExpanded, RestartViaJsonString, RestartViaJsonFilePath, Restart +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IRestartParameter + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..2305042e8889 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,845 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/set-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Set-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Update a new server. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Set-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + -Location [-AdministratorLogin ] [-AdministratorLoginPassword ] + [-AuthConfigActiveDirectoryAuth ] [-AuthConfigPasswordAuth ] [-AuthConfigTenantId ] + [-AvailabilityZone ] [-BackupGeoRedundantBackup ] [-BackupRetentionDay ] + [-ClusterDefaultDatabaseName ] [-ClusterSize ] [-CreateMode ] + [-DataEncryptionGeoBackupKeyUri ] [-DataEncryptionGeoBackupUserAssignedIdentityId ] + [-DataEncryptionPrimaryKeyUri ] [-DataEncryptionPrimaryUserAssignedIdentityId ] + [-DataEncryptionType ] [-EnableSystemAssignedIdentity ] [-HighAvailabilityMode ] + [-HighAvailabilityStandbyAvailabilityZone ] [-IdentityPrincipalId ] + [-NetworkDelegatedSubnetResourceId ] [-NetworkPrivateDnsZoneArmResourceId ] + [-NetworkPublicNetworkAccess ] [-PointInTimeUtc ] [-ReplicationRole ] + [-SkuName ] [-SkuTier ] [-SourceServerResourceId ] [-StorageAutoGrow ] + [-StorageIop ] [-StorageSizeGb ] [-StorageThroughput ] [-StorageTier ] + [-StorageType ] [-Tag ] [-UserAssignedIdentity ] [-Version ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### UpdateViaJsonFilePath +``` +Set-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaJsonString +``` +Set-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Update a new server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AdministratorLogin +Name of the login designated as the first password based administrator assigned to your instance of PostgreSQL. +Must be specified the first time that you enable password based authentication on a server. +Once set to a given value, it cannot be changed for the rest of the life of a server. +If you disable password based authentication on a server which had it enabled, this password based role isn't deleted. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdministratorLoginPassword +Password assigned to the administrator login. +As long as password authentication is enabled, this password can be changed at any time. + +```yaml +Type: System.Security.SecureString +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigActiveDirectoryAuth +Indicates if the server supports Microsoft Entra authentication. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigPasswordAuth +Indicates if the server supports password based authentication. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigTenantId +Identifier of the tenant of the delegated resource. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AvailabilityZone +Availability zone of a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupGeoRedundantBackup +Indicates if the server is configured to create geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterDefaultDatabaseName +Default database name for the elastic cluster. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterSize +Number of nodes assigned to the elastic cluster. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CreateMode +Creation mode of a new server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionGeoBackupKeyUri +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionGeoBackupUserAssignedIdentityId +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionPrimaryKeyUri +URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionPrimaryUserAssignedIdentityId +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the primary storage associated to a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionType +Data encryption type used by a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. + +```yaml +Type: System.Nullable`1[System.Boolean] +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HighAvailabilityMode +High availability mode for a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HighAvailabilityStandbyAvailabilityZone +Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityPrincipalId +Identifier of the object of the service principal associated to the user assigned managed identity. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The geo-location where the resource lives + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkDelegatedSubnetResourceId +Resource identifier of the delegated subnet. +Required during creation of a new server, in case you want the server to be integrated into your own virtual network. +For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkPrivateDnsZoneArmResourceId +Identifier of the private DNS zone. +Required during creation of a new server, in case you want the server to be integrated into your own virtual network. +For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkPublicNetworkAccess +Indicates if public network access is enabled or not. +This is only supported for servers that are not integrated into a virtual network which is owned and provided by customer when server is deployed. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PointInTimeUtc +Creation time (in ISO8601 format) of the backup which you want to restore in the new server. +It's required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', or 'ReviveDropped'. + +```yaml +Type: System.DateTime +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicationRole +Role of the server in a replication set. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuName +Name by which is known a given compute size assigned to a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuTier +Tier of the compute assigned to a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceServerResourceId +Identifier of the server to be used as the source of the new server. +Required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', 'Replica', or 'ReviveDropped'. +This property is returned only when the target server is a read replica. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageAutoGrow +Flag to enable or disable the automatic growth of storage size of a server when available space is nearing zero and conditions allow for automatically growing storage size. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageIop +Maximum IOPS supported for storage. +Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageSizeGb +Size of storage assigned to a server. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageThroughput +Maximum throughput supported for storage. +Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageTier +Storage tier of a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageType +Type of storage assigned to a server. +Allowed values are Premium_LRS, PremiumV2_LRS, or UltraSSD_LRS. +If not specified, it defaults to Premium_LRS. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserAssignedIdentity +The array of user assigned identities associated with the resource. +The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.' + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Version +Major version of PostgreSQL database engine. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IServer + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md new file mode 100644 index 000000000000..705ad3004ddf --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md @@ -0,0 +1,306 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/set-azpostgresqlflexibleserveradministratorsmicrosoftentra +schema: 2.0.0 +--- + +# Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra + +## SYNOPSIS +Update a new server administrator associated to a Microsoft Entra principal. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName [-SubscriptionId ] [-PrincipalName ] [-PrincipalType ] + [-TenantId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaJsonFilePath +``` +Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### UpdateViaJsonString +``` +Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Update a new server administrator associated to a Microsoft Entra principal. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ObjectId +Object identifier of the Microsoft Entra principal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrincipalName +Name of the Microsoft Entra principal. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrincipalType +Type of Microsoft Entra principal to which the server administrator is associated. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TenantId +Identifier of the tenant in which the Microsoft Entra principal exists. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IAdministratorMicrosoftEntra + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..3ffdd8db2d66 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerConfiguration.md @@ -0,0 +1,316 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/set-azpostgresqlflexibleserverconfiguration +schema: 2.0.0 +--- + +# Set-AzPostgreSqlFlexibleServerConfiguration + +## SYNOPSIS +Put using Put verb, the value assigned to a specific modifiable configuration (also known as server parameter) of a server. + +## SYNTAX + +### PutExpanded (Default) +``` +Set-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### Put +``` +Set-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] -Parameter [-DefaultProfile ] [-AsJob] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### PutViaJsonFilePath +``` +Set-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### PutViaJsonString +``` +Set-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Put using Put verb, the value assigned to a specific modifiable configuration (also known as server parameter) of a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Put operation + +```yaml +Type: System.String +Parameter Sets: PutViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Put operation + +```yaml +Type: System.String +Parameter Sets: PutViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the configuration (also known as server parameter). + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +Configuration (also known as server parameter). + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IConfigurationForUpdate +Parameter Sets: Put +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Source +Source of the value assigned to the configuration (also known as server parameter). +Required to update the value assigned to a specific modifiable configuration. + +```yaml +Type: System.String +Parameter Sets: PutExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Value +Value of the configuration (also known as server parameter). +Required to update the value assigned to a specific modifiable configuration. + +```yaml +Type: System.String +Parameter Sets: PutExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IConfigurationForUpdate + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IConfiguration + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..7f37b677c564 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,292 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/set-azpostgresqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Set-AzPostgreSqlFlexibleServerFirewallRule + +## SYNOPSIS +Update a new firewall rule or update an existing firewall rule. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Set-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] -EndIPAddress -StartIPAddress [-DefaultProfile ] + [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### UpdateViaJsonFilePath +``` +Set-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### UpdateViaJsonString +``` +Set-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Update a new firewall rule or update an existing firewall rule. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +IP address defining the end of the range of addresses of a firewall rule. +Must be expressed in IPv4 format. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the firewall rule. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +IP address defining the start of the range of addresses of a firewall rule. +Must be expressed in IPv4 format. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IFirewallRule + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md new file mode 100644 index 000000000000..f82a704c5aae --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md @@ -0,0 +1,260 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/set-azpostgresqlflexibleserverthreatprotectionsetting +schema: 2.0.0 +--- + +# Set-AzPostgreSqlFlexibleServerThreatProtectionSetting + +## SYNOPSIS +Update a server's Advanced Threat Protection settings. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Set-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName + [-SubscriptionId ] [-State ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### UpdateViaJsonFilePath +``` +Set-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### UpdateViaJsonString +``` +Set-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Update a server's Advanced Threat Protection settings. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +Specifies the state of the advanced threat protection, whether it is enabled, disabled, or a state has not been applied yet on the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IAdvancedThreatProtectionSettingsModel + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Start-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Start-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..cc36dbb2bbca --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Start-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,239 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/start-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Start-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Starts a stopped server. + +## SYNTAX + +### Start (Default) +``` +Start-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] + [-Confirm] [] +``` + +### StartViaIdentity +``` +Start-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] + [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Starts a stopped server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: StartViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md new file mode 100644 index 000000000000..a802c16d1d9f --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md @@ -0,0 +1,331 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/start-azpostgresqlflexibleserverbackupslongtermretention +schema: 2.0.0 +--- + +# Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention + +## SYNOPSIS +Initiates a long term retention backup. + +## SYNTAX + +### StartViaIdentity (Default) +``` +Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -InputObject + -Parameter [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### StartViaJsonString +``` +Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### StartViaJsonFilePath +``` +Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### StartExpanded +``` +Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -ResourceGroupName -ServerName + [-SubscriptionId ] -BackupSettingBackupName -TargetDetailSasUriList + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### Start +``` +Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -ResourceGroupName -ServerName + [-SubscriptionId ] -Parameter [-DefaultProfile ] [-AsJob] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### StartViaIdentityExpanded +``` +Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -InputObject + -BackupSettingBackupName -TargetDetailSasUriList [-DefaultProfile ] + [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Initiates a long term retention backup. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupSettingBackupName +Backup Name for the current backup + +```yaml +Type: System.String +Parameter Sets: StartExpanded, StartViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: StartViaIdentity, StartViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Start operation + +```yaml +Type: System.String +Parameter Sets: StartViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Start operation + +```yaml +Type: System.String +Parameter Sets: StartViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +The request that is made for a long term retention backup. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IBackupsLongTermRetentionRequest +Parameter Sets: StartViaIdentity, Start +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: StartViaJsonString, StartViaJsonFilePath, StartExpanded, Start +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: StartViaJsonString, StartViaJsonFilePath, StartExpanded, Start +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: StartViaJsonString, StartViaJsonFilePath, StartExpanded, Start +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetDetailSasUriList +List of SAS uri of storage containers where backup data is to be streamed/copied. + +```yaml +Type: System.Security.SecureString[] +Parameter Sets: StartExpanded, StartViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IBackupsLongTermRetentionRequest + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IBackupsLongTermRetentionResponse + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Stop-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Stop-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..7e01027bb0ef --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Stop-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,239 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/stop-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Stop-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Stops a server. + +## SYNTAX + +### Stop (Default) +``` +Stop-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] + [-Confirm] [] +``` + +### StopViaIdentity +``` +Stop-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] + [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Stops a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: StopViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Stop-AzPostgreSqlFlexibleServerMigration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Stop-AzPostgreSqlFlexibleServerMigration.md new file mode 100644 index 000000000000..d406365dc78a --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Stop-AzPostgreSqlFlexibleServerMigration.md @@ -0,0 +1,247 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/stop-azpostgresqlflexibleservermigration +schema: 2.0.0 +--- + +# Stop-AzPostgreSqlFlexibleServerMigration + +## SYNOPSIS +Cancels an active migration. + +## SYNTAX + +### Cancel (Default) +``` +Stop-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### CancelViaIdentityFlexibleServer +``` +Stop-AzPostgreSqlFlexibleServerMigration -Name + -FlexibleServerInputObject [-DefaultProfile ] [-PassThru] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CancelViaIdentity +``` +Stop-AzPostgreSqlFlexibleServerMigration -InputObject + [-DefaultProfile ] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +## DESCRIPTION +Cancels an active migration. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CancelViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CancelViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of migration. + +```yaml +Type: System.String +Parameter Sets: Cancel, CancelViaIdentityFlexibleServer +Aliases: MigrationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Cancel +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Cancel +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Cancel +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigration + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md new file mode 100644 index 000000000000..1a71f9f684b7 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md @@ -0,0 +1,285 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/test-azpostgresqlflexibleserverbackupslongtermretentionprerequisite +schema: 2.0.0 +--- + +# Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite + +## SYNOPSIS +Performs all checks required for a long term retention backup operation to succeed. + +## SYNTAX + +### CheckExpanded (Default) +``` +Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite -ResourceGroupName + -ServerName [-SubscriptionId ] -BackupSettingBackupName [-DefaultProfile ] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CheckViaJsonString +``` +Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite -ResourceGroupName + -ServerName [-SubscriptionId ] -JsonString [-DefaultProfile ] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CheckViaJsonFilePath +``` +Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite -ResourceGroupName + -ServerName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### Check +``` +Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite -ResourceGroupName + -ServerName [-SubscriptionId ] -Parameter [-DefaultProfile ] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CheckViaIdentityExpanded +``` +Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite + -InputObject -BackupSettingBackupName + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CheckViaIdentity +``` +Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite + -InputObject -Parameter + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Performs all checks required for a long term retention backup operation to succeed. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -BackupSettingBackupName +Backup Name for the current backup + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CheckViaIdentityExpanded, CheckViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +A request that is made for pre-backup. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ILtrPreBackupRequest +Parameter Sets: Check, CheckViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaJsonString, CheckViaJsonFilePath, Check +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaJsonString, CheckViaJsonFilePath, Check +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaJsonString, CheckViaJsonFilePath, Check +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ILtrPreBackupRequest + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ILtrPreBackupResponse + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md new file mode 100644 index 000000000000..30f81ae81960 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md @@ -0,0 +1,300 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/test-azpostgresqlflexibleservermigrationnameavailability +schema: 2.0.0 +--- + +# Test-AzPostgreSqlFlexibleServerMigrationNameAvailability + +## SYNOPSIS +Checks if a proposed migration name is valid and available. + +## SYNTAX + +### CheckExpanded (Default) +``` +Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -ResourceGroupName -ServerName + [-SubscriptionId ] -Name -Type [-DefaultProfile ] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CheckViaJsonString +``` +Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonString [-DefaultProfile ] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CheckViaJsonFilePath +``` +Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### Check +``` +Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -ResourceGroupName -ServerName + [-SubscriptionId ] -Parameter [-DefaultProfile ] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CheckViaIdentityExpanded +``` +Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -InputObject + -Name -Type [-DefaultProfile ] [-ProgressAction ] [-WhatIf] + [-Confirm] [] +``` + +### CheckViaIdentity +``` +Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -InputObject + -Parameter [-DefaultProfile ] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Checks if a proposed migration name is valid and available. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CheckViaIdentityExpanded, CheckViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the migration to check for validity and availability. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +Availability of a migration name. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigrationNameAvailability +Parameter Sets: Check, CheckViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaJsonString, CheckViaJsonFilePath, Check +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaJsonString, CheckViaJsonFilePath, Check +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaJsonString, CheckViaJsonFilePath, Check +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Type +Type of resource. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigrationNameAvailability + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigrationNameAvailability + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerNameAvailability.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerNameAvailability.md new file mode 100644 index 000000000000..988b5d51b7a9 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerNameAvailability.md @@ -0,0 +1,284 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/test-azpostgresqlflexibleservernameavailability +schema: 2.0.0 +--- + +# Test-AzPostgreSqlFlexibleServerNameAvailability + +## SYNOPSIS +Check the availability of name for resource + +## SYNTAX + +### CheckExpanded (Default) +``` +Test-AzPostgreSqlFlexibleServerNameAvailability -LocationName [-SubscriptionId ] + [-Name ] [-Type ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] + [-Confirm] [] +``` + +### CheckViaJsonString +``` +Test-AzPostgreSqlFlexibleServerNameAvailability -LocationName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### CheckViaJsonFilePath +``` +Test-AzPostgreSqlFlexibleServerNameAvailability -LocationName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### Check +``` +Test-AzPostgreSqlFlexibleServerNameAvailability -LocationName [-SubscriptionId ] + -Parameter [-DefaultProfile ] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### CheckViaIdentityExpanded +``` +Test-AzPostgreSqlFlexibleServerNameAvailability -InputObject + [-Name ] [-Type ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] + [-Confirm] [] +``` + +### CheckViaIdentity +``` +Test-AzPostgreSqlFlexibleServerNameAvailability -InputObject + -Parameter [-DefaultProfile ] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Check the availability of name for resource + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CheckViaIdentityExpanded, CheckViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocationName +The name of the location. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaJsonString, CheckViaJsonFilePath, Check +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the resource for which availability needs to be checked. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +The check availability request body. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ICheckNameAvailabilityRequest +Parameter Sets: Check, CheckViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaJsonString, CheckViaJsonFilePath, Check +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Type +The resource type. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ICheckNameAvailabilityRequest + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.INameAvailabilityModel + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md new file mode 100644 index 000000000000..56088363767a --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md @@ -0,0 +1,236 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/test-azpostgresqlflexibleservernameavailabilityglobally +schema: 2.0.0 +--- + +# Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally + +## SYNOPSIS +Checks the validity and availability of the given name, to assign it to a new server or to use it as the base name of a new pair of virtual endpoints. + +## SYNTAX + +### CheckExpanded (Default) +``` +Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally [-SubscriptionId ] [-Name ] + [-Type ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### Check +``` +Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally [-SubscriptionId ] + -Parameter [-DefaultProfile ] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### CheckViaJsonFilePath +``` +Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally [-SubscriptionId ] -JsonFilePath + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### CheckViaJsonString +``` +Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally [-SubscriptionId ] -JsonString + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Checks the validity and availability of the given name, to assign it to a new server or to use it as the base name of a new pair of virtual endpoints. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the resource for which availability needs to be checked. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +The check availability request body. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ICheckNameAvailabilityRequest +Parameter Sets: Check +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Type +The resource type. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ICheckNameAvailabilityRequest + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.INameAvailabilityModel + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..bc3bbceaf805 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,853 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/update-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Update a new server. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-AdministratorLoginPassword ] [-AuthConfigActiveDirectoryAuth ] + [-AuthConfigPasswordAuth ] [-AuthConfigTenantId ] [-BackupRetentionDay ] + [-ClusterDefaultDatabaseName ] [-ClusterSize ] [-CreateMode ] + [-DataEncryptionGeoBackupKeyUri ] [-DataEncryptionGeoBackupUserAssignedIdentityId ] + [-DataEncryptionPrimaryKeyUri ] [-DataEncryptionPrimaryUserAssignedIdentityId ] + [-DataEncryptionType ] [-EnableSystemAssignedIdentity ] [-HighAvailabilityMode ] + [-HighAvailabilityStandbyAvailabilityZone ] [-IdentityPrincipalId ] + [-MaintenanceWindowCustomWindow ] [-MaintenanceWindowDayOfWeek ] + [-MaintenanceWindowStartHour ] [-MaintenanceWindowStartMinute ] + [-NetworkDelegatedSubnetResourceId ] [-NetworkPrivateDnsZoneArmResourceId ] + [-NetworkPublicNetworkAccess ] [-ReplicaPromoteMode ] [-ReplicaPromoteOption ] + [-ReplicaRole ] [-ReplicationRole ] [-SkuName ] [-SkuTier ] + [-StorageAutoGrow ] [-StorageIop ] [-StorageSizeGb ] [-StorageThroughput ] + [-StorageTier ] [-StorageType ] [-Tag ] [-UserAssignedIdentity ] + [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServer -InputObject + [-AdministratorLoginPassword ] [-AuthConfigActiveDirectoryAuth ] + [-AuthConfigPasswordAuth ] [-AuthConfigTenantId ] [-BackupRetentionDay ] + [-ClusterDefaultDatabaseName ] [-ClusterSize ] [-CreateMode ] + [-DataEncryptionGeoBackupKeyUri ] [-DataEncryptionGeoBackupUserAssignedIdentityId ] + [-DataEncryptionPrimaryKeyUri ] [-DataEncryptionPrimaryUserAssignedIdentityId ] + [-DataEncryptionType ] [-EnableSystemAssignedIdentity ] [-HighAvailabilityMode ] + [-HighAvailabilityStandbyAvailabilityZone ] [-IdentityPrincipalId ] + [-MaintenanceWindowCustomWindow ] [-MaintenanceWindowDayOfWeek ] + [-MaintenanceWindowStartHour ] [-MaintenanceWindowStartMinute ] + [-NetworkDelegatedSubnetResourceId ] [-NetworkPrivateDnsZoneArmResourceId ] + [-NetworkPublicNetworkAccess ] [-ReplicaPromoteMode ] [-ReplicaPromoteOption ] + [-ReplicaRole ] [-ReplicationRole ] [-SkuName ] [-SkuTier ] + [-StorageAutoGrow ] [-StorageIop ] [-StorageSizeGb ] [-StorageThroughput ] + [-StorageTier ] [-StorageType ] [-Tag ] [-UserAssignedIdentity ] + [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Update a new server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AdministratorLoginPassword +Password assigned to the administrator login. +As long as password authentication is enabled, this password can be changed at any time. + +```yaml +Type: System.Security.SecureString +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigActiveDirectoryAuth +Indicates if the server supports Microsoft Entra authentication. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigPasswordAuth +Indicates if the server supports password based authentication. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigTenantId +Identifier of the tenant of the delegated resource. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterDefaultDatabaseName +Default database name for the elastic cluster. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterSize +Number of nodes assigned to the elastic cluster. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CreateMode +Creation mode of a new server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionGeoBackupKeyUri +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionGeoBackupUserAssignedIdentityId +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionPrimaryKeyUri +URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionPrimaryUserAssignedIdentityId +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the primary storage associated to a server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionType +Data encryption type used by a server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. + +```yaml +Type: System.Nullable`1[System.Boolean] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HighAvailabilityMode +High availability mode for a server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HighAvailabilityStandbyAvailabilityZone +Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityPrincipalId +Identifier of the object of the service principal associated to the user assigned managed identity. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -MaintenanceWindowCustomWindow +Indicates whether custom window is enabled or disabled. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowDayOfWeek +Day of the week to be used for maintenance window. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowStartHour +Start hour to be used for maintenance window. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowStartMinute +Start minute to be used for maintenance window. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkDelegatedSubnetResourceId +Resource identifier of the delegated subnet. +Required during creation of a new server, in case you want the server to be integrated into your own virtual network. +For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkPrivateDnsZoneArmResourceId +Identifier of the private DNS zone. +Required during creation of a new server, in case you want the server to be integrated into your own virtual network. +For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkPublicNetworkAccess +Indicates if public network access is enabled or not. +This is only supported for servers that are not integrated into a virtual network which is owned and provided by customer when server is deployed. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicaPromoteMode +Type of operation to apply on the read replica. +This property is write only. +Standalone means that the read replica will be promoted to a standalone server, and will become a completely independent entity from the replication set. +Switchover means that the read replica will roles with the primary server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicaPromoteOption +Data synchronization option to use when processing the operation specified in the promoteMode property. +This property is write only. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicaRole +Role of the server in a replication set. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicationRole +Role of the server in a replication set. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuName +Name by which is known a given compute size assigned to a server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuTier +Tier of the compute assigned to a server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageAutoGrow +Flag to enable or disable the automatic growth of storage size of a server when available space is nearing zero and conditions allow for automatically growing storage size. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageIop +Maximum IOPS supported for storage. +Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageSizeGb +Size of storage assigned to a server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageThroughput +Maximum throughput supported for storage. +Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageTier +Storage tier of a server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageType +Type of storage assigned to a server. +Allowed values are Premium_LRS, PremiumV2_LRS, or UltraSSD_LRS. +If not specified, it defaults to Premium_LRS. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserAssignedIdentity +The array of user assigned identities associated with the resource. +The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.' + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Version +Major version of PostgreSQL database engine. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IServer + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..34efe4895d5c --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerConfiguration.md @@ -0,0 +1,339 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/update-azpostgresqlflexibleserverconfiguration +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServerConfiguration + +## SYNOPSIS +Update the value assigned to a specific modifiable configuration (also known as server parameter) of a server. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### UpdateViaJsonString +``` +Update-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityFlexibleServerExpanded +``` +Update-AzPostgreSqlFlexibleServerConfiguration -Name + -FlexibleServerInputObject [-Source ] [-Value ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServerConfiguration -InputObject + [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Update the value assigned to a specific modifiable configuration (also known as server parameter) of a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the configuration (also known as server parameter). + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath, UpdateViaIdentityFlexibleServerExpanded +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Source +Source of the value assigned to the configuration (also known as server parameter). +Required to update the value assigned to a specific modifiable configuration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Value +Value of the configuration (also known as server parameter). +Required to update the value assigned to a specific modifiable configuration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IConfiguration + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerDatabase.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..d44c5f6e2375 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerDatabase.md @@ -0,0 +1,294 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/update-azpostgresqlflexibleserverdatabase +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServerDatabase + +## SYNOPSIS +Update a new database. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityFlexibleServerExpanded +``` +Update-AzPostgreSqlFlexibleServerDatabase -Name + -FlexibleServerInputObject [-Charset ] [-Collation ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServerDatabase -InputObject [-Charset ] + [-Collation ] [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Update a new database. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Charset +Character set of the database. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Collation +Collation of the database. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the database (case-sensitive). +Exact database names can be retrieved by getting the list of all existing databases in a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IDatabase + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..baac27da2f39 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,278 @@ +--- +external help file: Az.PostgreSQLFlexibleServer-help.xml +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/update-azpostgresqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServerFirewallRule + +## SYNOPSIS +Update a new firewall rule or update an existing firewall rule. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-EndIPAddress ] [-StartIPAddress ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityFlexibleServerExpanded +``` +Update-AzPostgreSqlFlexibleServerFirewallRule -Name + -FlexibleServerInputObject [-EndIPAddress ] + [-StartIPAddress ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject + [-EndIPAddress ] [-StartIPAddress ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Update a new firewall rule or update an existing firewall rule. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +IP address defining the end of the range of addresses of a firewall rule. +Must be expressed in IPv4 format. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the firewall rule. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +IP address defining the start of the range of addresses of a firewall rule. +Must be expressed in IPv4 format. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipel \ No newline at end of file diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerMigration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerMigration.md new file mode 100644 index 000000000000..2c5bceffd437 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerMigration.md @@ -0,0 +1,580 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/update-azpostgresqlflexibleservermigration +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServerMigration + +## SYNOPSIS +Update an existing migration. +The request body can contain one to many of the mutable properties present in the migration definition. +Certain property update initiate migration state transitions. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-AdminCredentialsSourceServerPassword ] + [-AdminCredentialsTargetServerPassword ] [-Cancel ] + [-DbsToCancelMigrationOn ] [-DbsToMigrate ] [-DbsToTriggerCutoverOn ] + [-MigrateRole ] [-MigrationMode ] [-MigrationWindowStartTimeInUtc ] + [-OverwriteDbsInTarget ] [-SecretParameterSourceServerUsername ] + [-SecretParameterTargetServerUsername ] [-SetupLogicalReplicationOnSourceDbIfNeeded ] + [-SourceDbServerFullyQualifiedDomainName ] [-SourceDbServerResourceId ] + [-StartDataMigration ] [-Tag ] [-TargetDbServerFullyQualifiedDomainName ] + [-TriggerCutover ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServerMigration -InputObject + [-AdminCredentialsSourceServerPassword ] [-AdminCredentialsTargetServerPassword ] + [-Cancel ] [-DbsToCancelMigrationOn ] [-DbsToMigrate ] + [-DbsToTriggerCutoverOn ] [-MigrateRole ] [-MigrationMode ] + [-MigrationWindowStartTimeInUtc ] [-OverwriteDbsInTarget ] + [-SecretParameterSourceServerUsername ] [-SecretParameterTargetServerUsername ] + [-SetupLogicalReplicationOnSourceDbIfNeeded ] [-SourceDbServerFullyQualifiedDomainName ] + [-SourceDbServerResourceId ] [-StartDataMigration ] [-Tag ] + [-TargetDbServerFullyQualifiedDomainName ] [-TriggerCutover ] [-DefaultProfile ] + [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityFlexibleServerExpanded +``` +Update-AzPostgreSqlFlexibleServerMigration -FlexibleServerInputObject + -Name [-AdminCredentialsSourceServerPassword ] + [-AdminCredentialsTargetServerPassword ] [-Cancel ] + [-DbsToCancelMigrationOn ] [-DbsToMigrate ] [-DbsToTriggerCutoverOn ] + [-MigrateRole ] [-MigrationMode ] [-MigrationWindowStartTimeInUtc ] + [-OverwriteDbsInTarget ] [-SecretParameterSourceServerUsername ] + [-SecretParameterTargetServerUsername ] [-SetupLogicalReplicationOnSourceDbIfNeeded ] + [-SourceDbServerFullyQualifiedDomainName ] [-SourceDbServerResourceId ] + [-StartDataMigration ] [-Tag ] [-TargetDbServerFullyQualifiedDomainName ] + [-TriggerCutover ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaJsonString +``` +Update-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Update an existing migration. +The request body can contain one to many of the mutable properties present in the migration definition. +Certain property update initiate migration state transitions. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AdminCredentialsSourceServerPassword +Password for the user of the source server. + +```yaml +Type: System.Security.SecureString +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdminCredentialsTargetServerPassword +Password for the user of the target server. + +```yaml +Type: System.Security.SecureString +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cancel +Indicates if cancel must be triggered for the entire migration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DbsToCancelMigrationOn +When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DbsToMigrate +Names of databases to migrate. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DbsToTriggerCutoverOn +When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrateRole +Indicates if roles and permissions must be migrated. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrationMode +Mode used to perform the migration: Online or Offline. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrationWindowStartTimeInUtc +Start time (UTC) for migration window. + +```yaml +Type: System.DateTime +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of migration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: MigrationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverwriteDbsInTarget +Indicates if databases on the target server can be overwritten when already present. +If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecretParameterSourceServerUsername +Gets or sets the name of the user for the source server. +This user doesn't need to be an administrator. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecretParameterTargetServerUsername +Gets or sets the name of the user for the target server. +This user doesn't need to be an administrator. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SetupLogicalReplicationOnSourceDbIfNeeded +Indicates whether to setup logical replication on source server, if needed. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceDbServerFullyQualifiedDomainName +Fully qualified domain name (FQDN) or IP address of the source server. +This property is optional. +When provided, the migration service will always use it to connect to the source server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceDbServerResourceId +Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. +For other source types this must be set to ipaddress:port@username or hostname:port@username. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartDataMigration +Indicates if data migration must start right away. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Application-specific metadata in the form of key-value pairs. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetDbServerFullyQualifiedDomainName +Fully qualified domain name (FQDN) or IP address of the target server. +This property is optional. +When provided, the migration service will always use it to connect to the target server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TriggerCutover +Indicates if cutover must be triggered for the entire migration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigration + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md new file mode 100644 index 000000000000..3ae0ff9f70c7 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md @@ -0,0 +1,323 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/update-azpostgresqlflexibleservervirtualendpoint +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServerVirtualEndpoint + +## SYNOPSIS +Update a pair of virtual endpoints for a server. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName + -ServerName [-SubscriptionId ] [-EndpointType ] [-Member ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServerVirtualEndpoint -InputObject + [-EndpointType ] [-Member ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaIdentityFlexibleServerExpanded +``` +Update-AzPostgreSqlFlexibleServerVirtualEndpoint + -FlexibleServerInputObject -Name [-EndpointType ] + [-Member ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName + -ServerName -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName + -ServerName -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a pair of virtual endpoints for a server. + +## EXAMPLES + +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here (remove the output block if the example doesn't have an output) }} +``` + +{{ Add description here }} + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndpointType +Type of endpoint for the virtual endpoints. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Member +List of servers that one of the virtual endpoints can refer to. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Base name of the virtual endpoints. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: VirtualEndpointName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IVirtualEndpoint + +## NOTES + +## RELATED LINKS + From bffdc09b138ff1ecbb101f4c6c05654d295bff7a Mon Sep 17 00:00:00 2001 From: Naia Scott Date: Mon, 9 Mar 2026 18:19:23 -0400 Subject: [PATCH 4/7] Build --- .../generate-info.json | 3 ++ .../tmpCsproj | 44 ------------------- 2 files changed, 3 insertions(+), 44 deletions(-) create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/generate-info.json delete mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/tmpCsproj diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/generate-info.json b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/generate-info.json new file mode 100644 index 000000000000..704bb031b691 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/generate-info.json @@ -0,0 +1,3 @@ +{ + "generate_Id": "f0b8123e-3adf-4910-8416-3e59b7e536fc" +} diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/tmpCsproj b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/tmpCsproj deleted file mode 100644 index 9e03ccf3799f..000000000000 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/tmpCsproj +++ /dev/null @@ -1,44 +0,0 @@ - - - - 0.1.0 - 7.1 - netstandard2.0 - Library - Az.PostgreSQLFlexibleServer.private - false - Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer - true - false - ./bin - $(OutputPath) - Az.PostgreSQLFlexibleServer.nuspec - true - - - 1998, 1591 - true - - - - false - TRACE;DEBUG;NETSTANDARD - - - - true - true - MSSharedLibKey.snk - TRACE;RELEASE;NETSTANDARD;SIGN - - - - - - - - - $(DefaultItemExcludes);resources/** - - - \ No newline at end of file From 4957d135ee81b780fcff30147cae41969462386c Mon Sep 17 00:00:00 2001 From: Naia Scott Date: Mon, 9 Mar 2026 18:20:03 -0400 Subject: [PATCH 5/7] Build --- .../PostgreSQLFlexibleServer.sln | 4 +- .../Az.PostgreSQLFlexibleServer.psd1 | 10 +- .../help/Az.PostgreSQLFlexibleServer.md | 108 ++++++++-------- .../help/Get-AzPostgreSqlFlexibleServer.md | 23 +--- ...xibleServerAdministratorsMicrosoftEntra.md | 23 +--- ...leServerAdvancedThreatProtectionSetting.md | 21 +-- ...exibleServerBackupsAutomaticAndOnDemand.md | 23 +--- ...lFlexibleServerBackupsLongTermRetention.md | 23 +--- ...SqlFlexibleServerCapabilitiesByLocation.md | 17 +-- ...reSqlFlexibleServerCapabilitiesByServer.md | 17 +-- ...t-AzPostgreSqlFlexibleServerCapturedLog.md | 17 +-- ...AzPostgreSqlFlexibleServerConfiguration.md | 23 +--- .../Get-AzPostgreSqlFlexibleServerDatabase.md | 23 +--- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 23 +--- ...Get-AzPostgreSqlFlexibleServerMigration.md | 23 +--- ...reSqlFlexibleServerPrivateDnsZoneSuffix.md | 17 +-- ...et-AzPostgreSqlFlexibleServerQuotaUsage.md | 17 +-- .../Get-AzPostgreSqlFlexibleServerReplica.md | 17 +-- ...-AzPostgreSqlFlexibleServerTuningOption.md | 23 +--- ...lexibleServerTuningOptionRecommendation.md | 17 +-- ...PostgreSqlFlexibleServerVirtualEndpoint.md | 23 +--- ...FlexibleServerVirtualNetworkSubnetUsage.md | 23 +--- ...e-AzPostgreSqlFlexibleServerNetworkMode.md | 19 +-- .../help/New-AzPostgreSqlFlexibleServer.md | 23 +--- ...xibleServerAdministratorsMicrosoftEntra.md | 25 +--- .../New-AzPostgreSqlFlexibleServerDatabase.md | 25 +--- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 25 +--- ...New-AzPostgreSqlFlexibleServerMigration.md | 25 +--- ...qlFlexibleServerThreatProtectionSetting.md | 23 +--- ...PostgreSqlFlexibleServerVirtualEndpoint.md | 25 +--- .../help/Remove-AzPostgreSqlFlexibleServer.md | 19 +-- ...xibleServerAdministratorsMicrosoftEntra.md | 21 +-- ...exibleServerBackupsAutomaticAndOnDemand.md | 21 +-- ...move-AzPostgreSqlFlexibleServerDatabase.md | 21 +-- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 21 +-- ...PostgreSqlFlexibleServerVirtualEndpoint.md | 21 +-- .../Restart-AzPostgreSqlFlexibleServer.md | 27 +--- .../help/Set-AzPostgreSqlFlexibleServer.md | 21 +-- ...xibleServerAdministratorsMicrosoftEntra.md | 21 +-- ...AzPostgreSqlFlexibleServerConfiguration.md | 23 +--- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 21 +-- ...qlFlexibleServerThreatProtectionSetting.md | 21 +-- .../help/Start-AzPostgreSqlFlexibleServer.md | 19 +-- ...lFlexibleServerBackupsLongTermRetention.md | 27 +--- .../help/Stop-AzPostgreSqlFlexibleServer.md | 19 +-- ...top-AzPostgreSqlFlexibleServerMigration.md | 21 +-- ...verBackupsLongTermRetentionPrerequisite.md | 27 +--- ...FlexibleServerMigrationNameAvailability.md | 27 +--- ...ostgreSqlFlexibleServerNameAvailability.md | 27 +--- ...lFlexibleServerNameAvailabilityGlobally.md | 23 +--- .../help/Update-AzPostgreSqlFlexibleServer.md | 19 +-- ...AzPostgreSqlFlexibleServerConfiguration.md | 25 +--- ...date-AzPostgreSqlFlexibleServerDatabase.md | 21 +-- ...-AzPostgreSqlFlexibleServerFirewallRule.md | 40 +++--- ...ate-AzPostgreSqlFlexibleServerMigration.md | 120 +++++++++--------- ...PostgreSqlFlexibleServerVirtualEndpoint.md | 52 ++++---- 56 files changed, 342 insertions(+), 1088 deletions(-) diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.sln b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.sln index 75c144a8f017..919e65e46c84 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.sln +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.sln @@ -1,4 +1,4 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.0.31903.59 @@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PostgreSQLFlexibleServer", EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PostgreSQLFlexibleServer.Autorest", "PostgreSQLFlexibleServer.Autorest", "{4C14BC2F-C5CA-81E0-B3AD-B9EF19176EC4}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.PostgreSQLFlexibleServer", "PostgreSQLFlexibleServer.Autorest\Az.PostgreSQLFlexibleServer.csproj", "{18B43B7E-2730-45E2-8AFA-F96F449D9792}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.PostgreSQLFlexibleServer", "..\..\generated\PostgreSQLFlexibleServer\PostgreSQLFlexibleServer.Autorest\Az.PostgreSQLFlexibleServer.csproj", "{18B43B7E-2730-45E2-8AFA-F96F449D9792}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/Az.PostgreSQLFlexibleServer.psd1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/Az.PostgreSQLFlexibleServer.psd1 index 1aca27ce2f49..9a3856faec1b 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/Az.PostgreSQLFlexibleServer.psd1 +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/Az.PostgreSQLFlexibleServer.psd1 @@ -51,17 +51,17 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -# RequiredModules = @() +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.3.3'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = 'PostgreSQLFlexibleServer.Autorest/bin/Az.PostgreSQLFlexibleServer.private.dll' # Script files (.ps1) that are run in the caller's environment prior to importing this module. -# ScriptsToProcess = @() +ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module -# TypesToProcess = @() +TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module FormatsToProcess = @@ -129,10 +129,10 @@ FunctionsToExport = 'Get-AzPostgreSqlFlexibleServer', CmdletsToExport = @() # Variables to export from this module -VariablesToExport = '*' +# VariablesToExport = @() # Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export. -AliasesToExport = '*' +AliasesToExport = @() # DSC resources to export from this module # DscResourcesToExport = @() diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Az.PostgreSQLFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Az.PostgreSQLFlexibleServer.md index 8dcb38a3ace0..d34c52d1762e 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Az.PostgreSQLFlexibleServer.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Az.PostgreSQLFlexibleServer.md @@ -12,161 +12,163 @@ Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets ## Az.PostgreSQLFlexibleServer Cmdlets ### [Get-AzPostgreSqlFlexibleServer](Get-AzPostgreSqlFlexibleServer.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Gets information about an existing server. ### [Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra](Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Gets information about a server administrator associated to a Microsoft Entra principal. ### [Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting](Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Gets state of advanced threat protection settings for a server. ### [Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand](Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Gets information of an on demand backup, given its name. ### [Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention](Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Gets the results of a long retention backup operation for a server. ### [Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation](Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Lists the capabilities available in a given location for a specific subscription. ### [Get-AzPostgreSqlFlexibleServerCapabilitiesByServer](Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Lists the capabilities available for a given server. ### [Get-AzPostgreSqlFlexibleServerCapturedLog](Get-AzPostgreSqlFlexibleServerCapturedLog.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Lists all captured logs for download in a server. ### [Get-AzPostgreSqlFlexibleServerConfiguration](Get-AzPostgreSqlFlexibleServerConfiguration.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Gets information about a specific configuration (also known as server parameter) of a server. ### [Get-AzPostgreSqlFlexibleServerDatabase](Get-AzPostgreSqlFlexibleServerDatabase.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Gets information about an existing database. ### [Get-AzPostgreSqlFlexibleServerFirewallRule](Get-AzPostgreSqlFlexibleServerFirewallRule.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Gets information about a firewall rule in a server. ### [Get-AzPostgreSqlFlexibleServerMigration](Get-AzPostgreSqlFlexibleServerMigration.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Gets information about a migration. ### [Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix](Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Gets the private DNS zone suffix. ### [Get-AzPostgreSqlFlexibleServerQuotaUsage](Get-AzPostgreSqlFlexibleServerQuotaUsage.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Get quota usages at specified location in a given subscription. ### [Get-AzPostgreSqlFlexibleServerReplica](Get-AzPostgreSqlFlexibleServerReplica.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Lists all read replicas of a server. ### [Get-AzPostgreSqlFlexibleServerTuningOption](Get-AzPostgreSqlFlexibleServerTuningOption.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Gets the tuning options of a server. ### [Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation](Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Lists available object recommendations. ### [Get-AzPostgreSqlFlexibleServerVirtualEndpoint](Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Gets information about a pair of virtual endpoints. ### [Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage](Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Lists the virtual network subnet usage for a given virtual network. ### [Move-AzPostgreSqlFlexibleServerNetworkMode](Move-AzPostgreSqlFlexibleServerNetworkMode.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Migrates the network configuration of a PostgreSQL flexible server from customer owned VNET to Microsoft owned VNET with support for private endpoints, or from Microsoft owned VNET with no support for private endpoints to Microsoft owned VNET with support for private endpoints. ### [New-AzPostgreSqlFlexibleServer](New-AzPostgreSqlFlexibleServer.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Create a new server. ### [New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra](New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Create a new server administrator associated to a Microsoft Entra principal. ### [New-AzPostgreSqlFlexibleServerDatabase](New-AzPostgreSqlFlexibleServerDatabase.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Create a new database. ### [New-AzPostgreSqlFlexibleServerFirewallRule](New-AzPostgreSqlFlexibleServerFirewallRule.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Create a new firewall rule or create an existing firewall rule. ### [New-AzPostgreSqlFlexibleServerMigration](New-AzPostgreSqlFlexibleServerMigration.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Create a new migration. ### [New-AzPostgreSqlFlexibleServerThreatProtectionSetting](New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Create a server's Advanced Threat Protection settings. ### [New-AzPostgreSqlFlexibleServerVirtualEndpoint](New-AzPostgreSqlFlexibleServerVirtualEndpoint.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Create a pair of virtual endpoints for a server. ### [Remove-AzPostgreSqlFlexibleServer](Remove-AzPostgreSqlFlexibleServer.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Deletes or drops an existing server. ### [Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra](Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Deletes an existing server administrator associated to a Microsoft Entra principal. ### [Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand](Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Deletes a specific backup, given its name. ### [Remove-AzPostgreSqlFlexibleServerDatabase](Remove-AzPostgreSqlFlexibleServerDatabase.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Deletes an existing database. ### [Remove-AzPostgreSqlFlexibleServerFirewallRule](Remove-AzPostgreSqlFlexibleServerFirewallRule.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Deletes an existing firewall rule. ### [Remove-AzPostgreSqlFlexibleServerVirtualEndpoint](Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Deletes a pair of virtual endpoints. ### [Restart-AzPostgreSqlFlexibleServer](Restart-AzPostgreSqlFlexibleServer.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Restarts PostgreSQL database engine in a server. ### [Set-AzPostgreSqlFlexibleServer](Set-AzPostgreSqlFlexibleServer.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Update a new server. ### [Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra](Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Update a new server administrator associated to a Microsoft Entra principal. ### [Set-AzPostgreSqlFlexibleServerConfiguration](Set-AzPostgreSqlFlexibleServerConfiguration.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Put using Put verb, the value assigned to a specific modifiable configuration (also known as server parameter) of a server. ### [Set-AzPostgreSqlFlexibleServerFirewallRule](Set-AzPostgreSqlFlexibleServerFirewallRule.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Update a new firewall rule or update an existing firewall rule. ### [Set-AzPostgreSqlFlexibleServerThreatProtectionSetting](Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Update a server's Advanced Threat Protection settings. ### [Start-AzPostgreSqlFlexibleServer](Start-AzPostgreSqlFlexibleServer.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Starts a stopped server. ### [Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention](Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Initiates a long term retention backup. ### [Stop-AzPostgreSqlFlexibleServer](Stop-AzPostgreSqlFlexibleServer.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Stops a server. ### [Stop-AzPostgreSqlFlexibleServerMigration](Stop-AzPostgreSqlFlexibleServerMigration.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Cancels an active migration. ### [Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite](Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Performs all checks required for a long term retention backup operation to succeed. ### [Test-AzPostgreSqlFlexibleServerMigrationNameAvailability](Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Checks if a proposed migration name is valid and available. ### [Test-AzPostgreSqlFlexibleServerNameAvailability](Test-AzPostgreSqlFlexibleServerNameAvailability.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Check the availability of name for resource ### [Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally](Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Checks the validity and availability of the given name, to assign it to a new server or to use it as the base name of a new pair of virtual endpoints. ### [Update-AzPostgreSqlFlexibleServer](Update-AzPostgreSqlFlexibleServer.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Update a new server. ### [Update-AzPostgreSqlFlexibleServerConfiguration](Update-AzPostgreSqlFlexibleServerConfiguration.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Update the value assigned to a specific modifiable configuration (also known as server parameter) of a server. ### [Update-AzPostgreSqlFlexibleServerDatabase](Update-AzPostgreSqlFlexibleServerDatabase.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Update a new database. ### [Update-AzPostgreSqlFlexibleServerFirewallRule](Update-AzPostgreSqlFlexibleServerFirewallRule.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Update a new firewall rule or update an existing firewall rule. ### [Update-AzPostgreSqlFlexibleServerMigration](Update-AzPostgreSqlFlexibleServerMigration.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Update an existing migration. +The request body can contain one to many of the mutable properties present in the migration definition. +Certain property update initiate migration state transitions. ### [Update-AzPostgreSqlFlexibleServerVirtualEndpoint](Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md) -Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets +Update a pair of virtual endpoints for a server. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServer.md index e6b9460dfae0..c931b82abb32 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServer.md @@ -15,25 +15,25 @@ Gets information about an existing server. ### List1 (Default) ``` Get-AzPostgreSqlFlexibleServer [-SubscriptionId ] [-DefaultProfile ] - [-ProgressAction ] [] + [] ``` ### Get ``` Get-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ### List ``` Get-AzPostgreSqlFlexibleServer -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ### GetViaIdentity ``` Get-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] - [-ProgressAction ] [] + [] ``` ## DESCRIPTION @@ -111,21 +111,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md index 69519af5ff9a..8a9773ef9dfe 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md @@ -15,7 +15,7 @@ Gets information about a server administrator associated to a Microsoft Entra pr ### List (Default) ``` Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [-SubscriptionId ] [-DefaultProfile ] [] ``` @@ -23,20 +23,20 @@ Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ResourceGroupName -FlexibleServerInputObject [-DefaultProfile ] - [-ProgressAction ] [] + [] ``` ### Get ``` Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName -ServerName [-SubscriptionId ] [-DefaultProfile ] - [-ProgressAction ] [] + [] ``` ### GetViaIdentity ``` Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -InputObject - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -129,21 +129,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md index dbc4bc3171f3..6da5dafee8fa 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md @@ -15,21 +15,21 @@ Gets state of advanced threat protection settings for a server. ### Get (Default) ``` Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [-SubscriptionId ] [-DefaultProfile ] [] ``` ### List ``` Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [-SubscriptionId ] [-DefaultProfile ] [] ``` ### GetViaIdentity ``` Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting -InputObject - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -92,21 +92,6 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md index 969c46122b00..845a818a8fea 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md @@ -15,7 +15,7 @@ Gets information of an on demand backup, given its name. ### List (Default) ``` Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [-SubscriptionId ] [-DefaultProfile ] [] ``` @@ -23,20 +23,20 @@ Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -ResourceGroupName -FlexibleServerInputObject [-DefaultProfile ] - [-ProgressAction ] [] + [] ``` ### Get ``` Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -BackupName -ResourceGroupName -ServerName [-SubscriptionId ] [-DefaultProfile ] - [-ProgressAction ] [] + [] ``` ### GetViaIdentity ``` Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -InputObject - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -129,21 +129,6 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md index 72b59187f110..1b06fa099e56 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md @@ -15,7 +15,7 @@ Gets the results of a long retention backup operation for a server. ### List (Default) ``` Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [-SubscriptionId ] [-DefaultProfile ] [] ``` @@ -23,20 +23,20 @@ Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention -ResourceGroupName -FlexibleServerInputObject [-DefaultProfile ] - [-ProgressAction ] [] + [] ``` ### Get ``` Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention -BackupName -ResourceGroupName -ServerName [-SubscriptionId ] [-DefaultProfile ] - [-ProgressAction ] [] + [] ``` ### GetViaIdentity ``` Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention -InputObject - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -129,21 +129,6 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md index f61360e3d59a..619c94c7d793 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md @@ -14,7 +14,7 @@ Lists the capabilities available in a given location for a specific subscription ``` Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation -LocationName [-SubscriptionId ] - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -77,21 +77,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -SubscriptionId The ID of the target subscription. The value must be an UUID. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md index 8d0078640935..bf7bcac231fa 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md @@ -14,7 +14,7 @@ Lists the capabilities available for a given server. ``` Get-AzPostgreSqlFlexibleServerCapabilitiesByServer -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [-SubscriptionId ] [-DefaultProfile ] [] ``` @@ -63,21 +63,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapturedLog.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapturedLog.md index b82008fd4377..e1eb9994c250 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapturedLog.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerCapturedLog.md @@ -14,7 +14,7 @@ Lists all captured logs for download in a server. ``` Get-AzPostgreSqlFlexibleServerCapturedLog -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [-SubscriptionId ] [-DefaultProfile ] [] ``` @@ -63,21 +63,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerConfiguration.md index f0e749aaa4b9..9b4aece46262 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerConfiguration.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerConfiguration.md @@ -15,7 +15,7 @@ Gets information about a specific configuration (also known as server parameter) ### List (Default) ``` Get-AzPostgreSqlFlexibleServerConfiguration -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [-SubscriptionId ] [-DefaultProfile ] [] ``` @@ -23,20 +23,20 @@ Get-AzPostgreSqlFlexibleServerConfiguration -ResourceGroupName -ServerN ``` Get-AzPostgreSqlFlexibleServerConfiguration -Name -FlexibleServerInputObject [-DefaultProfile ] - [-ProgressAction ] [] + [] ``` ### Get ``` Get-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [-SubscriptionId ] [-DefaultProfile ] [] ``` ### GetViaIdentity ``` Get-AzPostgreSqlFlexibleServerConfiguration -InputObject - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -129,21 +129,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerDatabase.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerDatabase.md index 255c0cdf585c..94064d9c233c 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerDatabase.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerDatabase.md @@ -15,7 +15,7 @@ Gets information about an existing database. ### List (Default) ``` Get-AzPostgreSqlFlexibleServerDatabase -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [-SubscriptionId ] [-DefaultProfile ] [] ``` @@ -23,20 +23,20 @@ Get-AzPostgreSqlFlexibleServerDatabase -ResourceGroupName -ServerName < ``` Get-AzPostgreSqlFlexibleServerDatabase -Name -FlexibleServerInputObject [-DefaultProfile ] - [-ProgressAction ] [] + [] ``` ### Get ``` Get-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [-SubscriptionId ] [-DefaultProfile ] [] ``` ### GetViaIdentity ``` Get-AzPostgreSqlFlexibleServerDatabase -InputObject - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -130,21 +130,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerFirewallRule.md index cf5508a60814..34800edcb838 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerFirewallRule.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerFirewallRule.md @@ -15,7 +15,7 @@ Gets information about a firewall rule in a server. ### List (Default) ``` Get-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [-SubscriptionId ] [-DefaultProfile ] [] ``` @@ -23,20 +23,20 @@ Get-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName -ServerNa ``` Get-AzPostgreSqlFlexibleServerFirewallRule -Name -FlexibleServerInputObject [-DefaultProfile ] - [-ProgressAction ] [] + [] ``` ### Get ``` Get-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [-SubscriptionId ] [-DefaultProfile ] [] ``` ### GetViaIdentity ``` Get-AzPostgreSqlFlexibleServerFirewallRule -InputObject - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -129,21 +129,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerMigration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerMigration.md index eb1adb9b5fda..87a1e49a853f 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerMigration.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerMigration.md @@ -16,27 +16,27 @@ Gets information about a migration. ``` Get-AzPostgreSqlFlexibleServerMigration -ResourceGroupName -ServerName [-SubscriptionId ] [-MigrationListFilter ] [-DefaultProfile ] - [-ProgressAction ] [] + [] ``` ### GetViaIdentityFlexibleServer ``` Get-AzPostgreSqlFlexibleServerMigration -Name -FlexibleServerInputObject [-DefaultProfile ] - [-ProgressAction ] [] + [] ``` ### Get ``` Get-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [-SubscriptionId ] [-DefaultProfile ] [] ``` ### GetViaIdentity ``` Get-AzPostgreSqlFlexibleServerMigration -InputObject - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -146,21 +146,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md index 34fb869c4431..00be73bed370 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md @@ -14,7 +14,7 @@ Gets the private DNS zone suffix. ``` Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix [-DefaultProfile ] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -62,21 +62,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -Confirm Prompts you for confirmation before running the cmdlet. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerQuotaUsage.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerQuotaUsage.md index 6c8ec4cc543c..e5bd439d5c9d 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerQuotaUsage.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerQuotaUsage.md @@ -14,7 +14,7 @@ Get quota usages at specified location in a given subscription. ``` Get-AzPostgreSqlFlexibleServerQuotaUsage -LocationName [-SubscriptionId ] - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -77,21 +77,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -SubscriptionId The ID of the target subscription. The value must be an UUID. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerReplica.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerReplica.md index f6fcc144d40f..222cb815fad7 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerReplica.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerReplica.md @@ -14,7 +14,7 @@ Lists all read replicas of a server. ``` Get-AzPostgreSqlFlexibleServerReplica -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [-SubscriptionId ] [-DefaultProfile ] [] ``` @@ -63,21 +63,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerTuningOption.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerTuningOption.md index c7b5174f2a0e..57833420898d 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerTuningOption.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerTuningOption.md @@ -15,7 +15,7 @@ Gets the tuning options of a server. ### List (Default) ``` Get-AzPostgreSqlFlexibleServerTuningOption -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [-SubscriptionId ] [-DefaultProfile ] [] ``` @@ -23,20 +23,20 @@ Get-AzPostgreSqlFlexibleServerTuningOption -ResourceGroupName -ServerNa ``` Get-AzPostgreSqlFlexibleServerTuningOption -ResourceGroupName -ServerName [-SubscriptionId ] -TuningOption [-DefaultProfile ] - [-ProgressAction ] [] + [] ``` ### GetViaIdentityFlexibleServer ``` Get-AzPostgreSqlFlexibleServerTuningOption -TuningOption -FlexibleServerInputObject [-DefaultProfile ] - [-ProgressAction ] [] + [] ``` ### GetViaIdentity ``` Get-AzPostgreSqlFlexibleServerTuningOption -InputObject - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -114,21 +114,6 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md index f6eda55a0f36..38037357e759 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md @@ -15,7 +15,7 @@ Lists available object recommendations. ``` Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation -ResourceGroupName -ServerName -TuningOption [-SubscriptionId ] [-RecommendationType ] - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -63,21 +63,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -RecommendationType Recommendations list filter. Retrieves recommendations based on type. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md index 69578ff836f8..b9466d8fbcbb 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md @@ -15,7 +15,7 @@ Gets information about a pair of virtual endpoints. ### List (Default) ``` Get-AzPostgreSqlFlexibleServerVirtualEndpoint -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [-SubscriptionId ] [-DefaultProfile ] [] ``` @@ -23,20 +23,20 @@ Get-AzPostgreSqlFlexibleServerVirtualEndpoint -ResourceGroupName -Serve ``` Get-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -FlexibleServerInputObject [-DefaultProfile ] - [-ProgressAction ] [] + [] ``` ### Get ``` Get-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] + [-SubscriptionId ] [-DefaultProfile ] [] ``` ### GetViaIdentity ``` Get-AzPostgreSqlFlexibleServerVirtualEndpoint -InputObject - [-DefaultProfile ] [-ProgressAction ] [] + [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -129,21 +129,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md index c4e219bd6031..56866f8a9781 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md @@ -15,7 +15,7 @@ Lists the virtual network subnet usage for a given virtual network. ### ListExpanded (Default) ``` Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage -LocationName [-SubscriptionId ] - [-VirtualNetworkArmResourceId ] [-DefaultProfile ] [-ProgressAction ] + [-VirtualNetworkArmResourceId ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -23,20 +23,20 @@ Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage -LocationName [ ``` Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage -LocationName [-SubscriptionId ] -Parameter [-DefaultProfile ] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### ListViaJsonFilePath ``` Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage -LocationName [-SubscriptionId ] - -JsonFilePath [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] + -JsonFilePath [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### ListViaJsonString ``` Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage -LocationName [-SubscriptionId ] - -JsonString [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] + -JsonString [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -145,21 +145,6 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -SubscriptionId The ID of the target subscription. The value must be an UUID. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Move-AzPostgreSqlFlexibleServerNetworkMode.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Move-AzPostgreSqlFlexibleServerNetworkMode.md index 2a246393c410..134a211ee824 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Move-AzPostgreSqlFlexibleServerNetworkMode.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Move-AzPostgreSqlFlexibleServerNetworkMode.md @@ -16,13 +16,13 @@ Migrates the network configuration of a PostgreSQL flexible server from customer ``` Move-AzPostgreSqlFlexibleServerNetworkMode -ResourceGroupName -ServerName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### MigrateViaIdentity ``` Move-AzPostgreSqlFlexibleServerNetworkMode -InputObject - [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` @@ -116,21 +116,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServer.md index 55c76c3a508f..fdb2d0f48e79 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServer.md @@ -28,21 +28,21 @@ New-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-Subs [-SkuName ] [-SkuTier ] [-SourceServerResourceId ] [-StorageAutoGrow ] [-StorageIop ] [-StorageSizeGb ] [-StorageThroughput ] [-StorageTier ] [-StorageType ] [-Tag ] [-UserAssignedIdentity ] [-Version ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` ### CreateViaJsonString ``` New-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` ### CreateViaJsonFilePath ``` New-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` @@ -62,7 +62,7 @@ New-AzPostgreSqlFlexibleServer -InputObject [-SkuName ] [-SkuTier ] [-SourceServerResourceId ] [-StorageAutoGrow ] [-StorageIop ] [-StorageSizeGb ] [-StorageThroughput ] [-StorageTier ] [-StorageType ] [-Tag ] [-UserAssignedIdentity ] [-Version ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` @@ -586,21 +586,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ReplicationRole Role of the server in a replication set. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md index 53cf54340d3c..f3f3e6496f2c 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md @@ -16,7 +16,7 @@ Create a new server administrator associated to a Microsoft Entra principal. ``` New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName -ServerName [-SubscriptionId ] [-PrincipalName ] [-PrincipalType ] - [-TenantId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-TenantId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` @@ -24,14 +24,14 @@ New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -R ``` New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName -ServerName [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] - [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-NoWait] [-WhatIf] [-Confirm] [] ``` ### CreateViaJsonFilePath ``` New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName -ServerName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] - [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-NoWait] [-WhatIf] [-Confirm] [] ``` ### CreateViaIdentityFlexibleServerExpanded @@ -39,14 +39,14 @@ New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -R New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -FlexibleServerInputObject [-PrincipalName ] [-PrincipalType ] [-TenantId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### CreateViaIdentityExpanded ``` New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -InputObject [-PrincipalName ] [-PrincipalType ] [-TenantId ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-NoWait] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -229,21 +229,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerDatabase.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerDatabase.md index b9247c3b6d7d..bc7d53e2ab21 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerDatabase.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerDatabase.md @@ -16,35 +16,35 @@ Create a new database. ``` New-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-NoWait] [-WhatIf] [-Confirm] [] ``` ### CreateViaJsonString ``` New-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### CreateViaJsonFilePath ``` New-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### CreateViaIdentityFlexibleServerExpanded ``` New-AzPostgreSqlFlexibleServerDatabase -Name -FlexibleServerInputObject [-Charset ] [-Collation ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` ### CreateViaIdentityExpanded ``` New-AzPostgreSqlFlexibleServerDatabase -InputObject [-Charset ] - [-Collation ] [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-Collation ] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` @@ -229,21 +229,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerFirewallRule.md index 7d8a9bb3a67d..bc472650c80d 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerFirewallRule.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerFirewallRule.md @@ -16,28 +16,28 @@ Create a new firewall rule or create an existing firewall rule. ``` New-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName [-SubscriptionId ] -EndIPAddress -StartIPAddress [-DefaultProfile ] - [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` ### CreateViaJsonString ``` New-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### CreateViaJsonFilePath ``` New-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### CreateViaIdentityFlexibleServerExpanded ``` New-AzPostgreSqlFlexibleServerFirewallRule -Name -FlexibleServerInputObject -EndIPAddress -StartIPAddress - [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` @@ -45,7 +45,7 @@ New-AzPostgreSqlFlexibleServerFirewallRule -Name ``` New-AzPostgreSqlFlexibleServerFirewallRule -InputObject -EndIPAddress -StartIPAddress [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -214,21 +214,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerMigration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerMigration.md index a809bc72d4ed..6d5b741cc268 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerMigration.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerMigration.md @@ -25,21 +25,21 @@ New-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName ] [-SourceDbServerResourceId ] [-SourceType ] [-SslMode ] [-StartDataMigration ] [-Tag ] [-TargetDbServerFullyQualifiedDomainName ] [-TriggerCutover ] [-DefaultProfile ] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### CreateViaJsonString ``` New-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName [-SubscriptionId ] -JsonString [-DefaultProfile ] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### CreateViaJsonFilePath ``` New-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### CreateViaIdentityFlexibleServerExpanded @@ -55,7 +55,7 @@ New-AzPostgreSqlFlexibleServerMigration -Name [-SetupLogicalReplicationOnSourceDbIfNeeded ] [-SourceDbServerFullyQualifiedDomainName ] [-SourceDbServerResourceId ] [-SourceType ] [-SslMode ] [-StartDataMigration ] [-Tag ] [-TargetDbServerFullyQualifiedDomainName ] [-TriggerCutover ] - [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### CreateViaIdentityExpanded @@ -70,7 +70,7 @@ New-AzPostgreSqlFlexibleServerMigration -InputObject ] [-SourceDbServerFullyQualifiedDomainName ] [-SourceDbServerResourceId ] [-SourceType ] [-SslMode ] [-StartDataMigration ] [-Tag ] [-TargetDbServerFullyQualifiedDomainName ] [-TriggerCutover ] - [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -404,21 +404,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md index 8bfec8526d3e..f3275c2bfd32 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md @@ -16,27 +16,27 @@ Create a server's Advanced Threat Protection settings. ``` New-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName [-SubscriptionId ] [-State ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### CreateViaJsonString ``` New-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### CreateViaJsonFilePath ``` New-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### CreateViaIdentityExpanded ``` New-AzPostgreSqlFlexibleServerThreatProtectionSetting -InputObject - [-State ] [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-State ] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` @@ -160,21 +160,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerVirtualEndpoint.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerVirtualEndpoint.md index de8cf12cbc54..44d99260288c 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerVirtualEndpoint.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/New-AzPostgreSqlFlexibleServerVirtualEndpoint.md @@ -16,28 +16,28 @@ Create a pair of virtual endpoints for a server. ``` New-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-EndpointType ] [-Member ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-NoWait] [-WhatIf] [-Confirm] [] ``` ### CreateViaJsonString ``` New-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName -ServerName [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### CreateViaJsonFilePath ``` New-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName -ServerName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### CreateViaIdentityFlexibleServerExpanded ``` New-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -FlexibleServerInputObject [-EndpointType ] [-Member ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` @@ -45,7 +45,7 @@ New-AzPostgreSqlFlexibleServerVirtualEndpoint -Name ``` New-AzPostgreSqlFlexibleServerVirtualEndpoint -InputObject [-EndpointType ] [-Member ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -228,21 +228,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServer.md index ad9c77cbb5b8..40a951355749 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServer.md @@ -15,14 +15,14 @@ Deletes or drops an existing server. ### Delete (Default) ``` Remove-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] - [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -145,21 +145,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md index 676186f87269..fd06fc8e0680 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md @@ -16,20 +16,20 @@ Deletes an existing server administrator associated to a Microsoft Entra princip ``` Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName -ServerName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentityFlexibleServer ``` Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -FlexibleServerInputObject [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-PassThru] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -InputObject - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] ``` @@ -168,21 +168,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md index 9f6d72046d97..c4133a0e9fa0 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md @@ -16,20 +16,20 @@ Deletes a specific backup, given its name. ``` Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -BackupName -ResourceGroupName -ServerName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentityFlexibleServer ``` Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -BackupName -FlexibleServerInputObject [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-PassThru] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -InputObject - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] ``` @@ -168,21 +168,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerDatabase.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerDatabase.md index b710b9d2e45f..16f8bec3a1aa 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerDatabase.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerDatabase.md @@ -16,20 +16,20 @@ Deletes an existing database. ``` Remove-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentityFlexibleServer ``` Remove-AzPostgreSqlFlexibleServerDatabase -Name -FlexibleServerInputObject [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-PassThru] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzPostgreSqlFlexibleServerDatabase -InputObject - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] ``` @@ -169,21 +169,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerFirewallRule.md index d01baa29c807..a5e371c87566 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerFirewallRule.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerFirewallRule.md @@ -16,20 +16,20 @@ Deletes an existing firewall rule. ``` Remove-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentityFlexibleServer ``` Remove-AzPostgreSqlFlexibleServerFirewallRule -Name -FlexibleServerInputObject [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-PassThru] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzPostgreSqlFlexibleServerFirewallRule -InputObject - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] ``` @@ -168,21 +168,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md index cbf9a5b33c83..cbf9551654c1 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md @@ -16,20 +16,20 @@ Deletes a pair of virtual endpoints. ``` Remove-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentityFlexibleServer ``` Remove-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -FlexibleServerInputObject [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-PassThru] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzPostgreSqlFlexibleServerVirtualEndpoint -InputObject - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] ``` @@ -168,21 +168,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Restart-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Restart-AzPostgreSqlFlexibleServer.md index 18a54ab6bedb..3218bdb8a710 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Restart-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Restart-AzPostgreSqlFlexibleServer.md @@ -16,42 +16,42 @@ Restarts PostgreSQL database engine in a server. ``` Restart-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] [-FailoverMode ] [-RestartWithFailover] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### RestartViaJsonString ``` Restart-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### RestartViaJsonFilePath ``` Restart-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### Restart ``` Restart-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] -Parameter [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### RestartViaIdentityExpanded ``` Restart-AzPostgreSqlFlexibleServer -InputObject [-FailoverMode ] [-RestartWithFailover] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### RestartViaIdentity ``` Restart-AzPostgreSqlFlexibleServer -InputObject -Parameter [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -234,21 +234,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServer.md index 2305042e8889..191f2a9e7ec2 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServer.md @@ -28,21 +28,21 @@ Set-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-Subs [-SkuName ] [-SkuTier ] [-SourceServerResourceId ] [-StorageAutoGrow ] [-StorageIop ] [-StorageSizeGb ] [-StorageThroughput ] [-StorageTier ] [-StorageType ] [-Tag ] [-UserAssignedIdentity ] [-Version ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` ### UpdateViaJsonFilePath ``` Set-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` ### UpdateViaJsonString ``` Set-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` @@ -551,21 +551,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ReplicationRole Role of the server in a replication set. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md index 705ad3004ddf..cbe747964b43 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md @@ -16,7 +16,7 @@ Update a new server administrator associated to a Microsoft Entra principal. ``` Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName -ServerName [-SubscriptionId ] [-PrincipalName ] [-PrincipalType ] - [-TenantId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-TenantId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` @@ -24,14 +24,14 @@ Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -R ``` Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName -ServerName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] - [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-NoWait] [-WhatIf] [-Confirm] [] ``` ### UpdateViaJsonString ``` Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName -ServerName [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] - [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-NoWait] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -184,21 +184,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerConfiguration.md index 3ffdd8db2d66..e8ac2ec77552 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerConfiguration.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerConfiguration.md @@ -16,28 +16,28 @@ Put using Put verb, the value assigned to a specific modifiable configuration ( ``` Set-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-NoWait] [-WhatIf] [-Confirm] [] ``` ### Put ``` Set-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName [-SubscriptionId ] -Parameter [-DefaultProfile ] [-AsJob] - [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-NoWait] [-WhatIf] [-Confirm] [] ``` ### PutViaJsonFilePath ``` Set-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### PutViaJsonString ``` Set-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -175,21 +175,6 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerFirewallRule.md index 7f37b677c564..d73d3d55f4df 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerFirewallRule.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerFirewallRule.md @@ -16,21 +16,21 @@ Update a new firewall rule or update an existing firewall rule. ``` Set-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName [-SubscriptionId ] -EndIPAddress -StartIPAddress [-DefaultProfile ] - [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` ### UpdateViaJsonFilePath ``` Set-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### UpdateViaJsonString ``` Set-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -169,21 +169,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md index f82a704c5aae..31946271dfc8 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md @@ -16,21 +16,21 @@ Update a server's Advanced Threat Protection settings. ``` Set-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName [-SubscriptionId ] [-State ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### UpdateViaJsonFilePath ``` Set-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### UpdateViaJsonString ``` Set-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -138,21 +138,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Start-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Start-AzPostgreSqlFlexibleServer.md index cc36dbb2bbca..9b37c2b12f4e 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Start-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Start-AzPostgreSqlFlexibleServer.md @@ -15,14 +15,14 @@ Starts a stopped server. ### Start (Default) ``` Start-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] ``` ### StartViaIdentity ``` Start-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] - [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -145,21 +145,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md index a802c16d1d9f..3838ce15a04f 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md @@ -16,28 +16,28 @@ Initiates a long term retention backup. ``` Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -InputObject -Parameter [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### StartViaJsonString ``` Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -ResourceGroupName -ServerName [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### StartViaJsonFilePath ``` Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -ResourceGroupName -ServerName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### StartExpanded ``` Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -ResourceGroupName -ServerName [-SubscriptionId ] -BackupSettingBackupName -TargetDetailSasUriList - [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` @@ -45,14 +45,14 @@ Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -ResourceGroupName -ServerName [-SubscriptionId ] -Parameter [-DefaultProfile ] [-AsJob] - [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-NoWait] [-WhatIf] [-Confirm] [] ``` ### StartViaIdentityExpanded ``` Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -InputObject -BackupSettingBackupName -TargetDetailSasUriList [-DefaultProfile ] - [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -205,21 +205,6 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Stop-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Stop-AzPostgreSqlFlexibleServer.md index 7e01027bb0ef..6828799c34cb 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Stop-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Stop-AzPostgreSqlFlexibleServer.md @@ -15,14 +15,14 @@ Stops a server. ### Stop (Default) ``` Stop-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] ``` ### StopViaIdentity ``` Stop-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] - [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -145,21 +145,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Stop-AzPostgreSqlFlexibleServerMigration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Stop-AzPostgreSqlFlexibleServerMigration.md index d406365dc78a..a00a3bd7f379 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Stop-AzPostgreSqlFlexibleServerMigration.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Stop-AzPostgreSqlFlexibleServerMigration.md @@ -15,7 +15,7 @@ Cancels an active migration. ### Cancel (Default) ``` Stop-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName - [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [-ProgressAction ] + [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [-WhatIf] [-Confirm] [] ``` @@ -23,13 +23,13 @@ Stop-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -FlexibleServerInputObject [-DefaultProfile ] [-PassThru] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### CancelViaIdentity ``` Stop-AzPostgreSqlFlexibleServerMigration -InputObject - [-DefaultProfile ] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-PassThru] [-WhatIf] [-Confirm] [] ``` @@ -138,21 +138,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md index 1a71f9f684b7..992ecfb3f11f 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md @@ -16,42 +16,42 @@ Performs all checks required for a long term retention backup operation to succe ``` Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite -ResourceGroupName -ServerName [-SubscriptionId ] -BackupSettingBackupName [-DefaultProfile ] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### CheckViaJsonString ``` Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite -ResourceGroupName -ServerName [-SubscriptionId ] -JsonString [-DefaultProfile ] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### CheckViaJsonFilePath ``` Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite -ResourceGroupName -ServerName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### Check ``` Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite -ResourceGroupName -ServerName [-SubscriptionId ] -Parameter [-DefaultProfile ] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### CheckViaIdentityExpanded ``` Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite -InputObject -BackupSettingBackupName - [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### CheckViaIdentity ``` Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite -InputObject -Parameter - [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -174,21 +174,6 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md index 30f81ae81960..0c327c98822a 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md @@ -16,41 +16,41 @@ Checks if a proposed migration name is valid and available. ``` Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -ResourceGroupName -ServerName [-SubscriptionId ] -Name -Type [-DefaultProfile ] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### CheckViaJsonString ``` Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -ResourceGroupName -ServerName [-SubscriptionId ] -JsonString [-DefaultProfile ] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### CheckViaJsonFilePath ``` Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -ResourceGroupName -ServerName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### Check ``` Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -ResourceGroupName -ServerName [-SubscriptionId ] -Parameter [-DefaultProfile ] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### CheckViaIdentityExpanded ``` Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -InputObject - -Name -Type [-DefaultProfile ] [-ProgressAction ] [-WhatIf] + -Name -Type [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### CheckViaIdentity ``` Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -InputObject - -Parameter [-DefaultProfile ] [-ProgressAction ] + -Parameter [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -174,21 +174,6 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerNameAvailability.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerNameAvailability.md index 988b5d51b7a9..025465bcbee3 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerNameAvailability.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerNameAvailability.md @@ -15,42 +15,42 @@ Check the availability of name for resource ### CheckExpanded (Default) ``` Test-AzPostgreSqlFlexibleServerNameAvailability -LocationName [-SubscriptionId ] - [-Name ] [-Type ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] + [-Name ] [-Type ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### CheckViaJsonString ``` Test-AzPostgreSqlFlexibleServerNameAvailability -LocationName [-SubscriptionId ] - -JsonString [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] + -JsonString [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### CheckViaJsonFilePath ``` Test-AzPostgreSqlFlexibleServerNameAvailability -LocationName [-SubscriptionId ] - -JsonFilePath [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] + -JsonFilePath [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### Check ``` Test-AzPostgreSqlFlexibleServerNameAvailability -LocationName [-SubscriptionId ] - -Parameter [-DefaultProfile ] [-ProgressAction ] + -Parameter [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### CheckViaIdentityExpanded ``` Test-AzPostgreSqlFlexibleServerNameAvailability -InputObject - [-Name ] [-Type ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] + [-Name ] [-Type ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### CheckViaIdentity ``` Test-AzPostgreSqlFlexibleServerNameAvailability -InputObject - -Parameter [-DefaultProfile ] [-ProgressAction ] + -Parameter [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -189,21 +189,6 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -SubscriptionId The ID of the target subscription. The value must be an UUID. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md index 56088363767a..83523f9e7a7c 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md @@ -15,27 +15,27 @@ Checks the validity and availability of the given name, to assign it to a new se ### CheckExpanded (Default) ``` Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally [-SubscriptionId ] [-Name ] - [-Type ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] + [-Type ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### Check ``` Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally [-SubscriptionId ] - -Parameter [-DefaultProfile ] [-ProgressAction ] + -Parameter [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### CheckViaJsonFilePath ``` Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally [-SubscriptionId ] -JsonFilePath - [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### CheckViaJsonString ``` Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally [-SubscriptionId ] -JsonString - [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -143,21 +143,6 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -SubscriptionId The ID of the target subscription. The value must be an UUID. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServer.md index bc3bbceaf805..893f08c17cb1 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServer.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServer.md @@ -29,7 +29,7 @@ Update-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-S [-ReplicaRole ] [-ReplicationRole ] [-SkuName ] [-SkuTier ] [-StorageAutoGrow ] [-StorageIop ] [-StorageSizeGb ] [-StorageThroughput ] [-StorageTier ] [-StorageType ] [-Tag ] [-UserAssignedIdentity ] - [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` @@ -50,7 +50,7 @@ Update-AzPostgreSqlFlexibleServer -InputObject ] [-ReplicationRole ] [-SkuName ] [-SkuTier ] [-StorageAutoGrow ] [-StorageIop ] [-StorageSizeGb ] [-StorageThroughput ] [-StorageTier ] [-StorageType ] [-Tag ] [-UserAssignedIdentity ] - [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` @@ -525,21 +525,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ReplicaPromoteMode Type of operation to apply on the read replica. This property is write only. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerConfiguration.md index 34efe4895d5c..3fb770c5bafe 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerConfiguration.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerConfiguration.md @@ -16,28 +16,28 @@ Update the value assigned to a specific modifiable configuration (also known as ``` Update-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-NoWait] [-WhatIf] [-Confirm] [] ``` ### UpdateViaJsonString ``` Update-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### UpdateViaJsonFilePath ``` Update-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityFlexibleServerExpanded ``` Update-AzPostgreSqlFlexibleServerConfiguration -Name -FlexibleServerInputObject [-Source ] [-Value ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` @@ -45,7 +45,7 @@ Update-AzPostgreSqlFlexibleServerConfiguration -Name ``` Update-AzPostgreSqlFlexibleServerConfiguration -InputObject [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -198,21 +198,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerDatabase.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerDatabase.md index d44c5f6e2375..a6212f2e5c31 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerDatabase.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerDatabase.md @@ -16,21 +16,21 @@ Update a new database. ``` Update-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-NoWait] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityFlexibleServerExpanded ``` Update-AzPostgreSqlFlexibleServerDatabase -Name -FlexibleServerInputObject [-Charset ] [-Collation ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityExpanded ``` Update-AzPostgreSqlFlexibleServerDatabase -InputObject [-Charset ] - [-Collation ] [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] + [-Collation ] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` @@ -185,21 +185,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerFirewallRule.md index baac27da2f39..662714041e64 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerFirewallRule.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerFirewallRule.md @@ -16,7 +16,7 @@ Update a new firewall rule or update an existing firewall rule. ``` Update-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-EndIPAddress ] [-StartIPAddress ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityFlexibleServerExpanded @@ -24,14 +24,14 @@ Update-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName Update-AzPostgreSqlFlexibleServerFirewallRule -Name -FlexibleServerInputObject [-EndIPAddress ] [-StartIPAddress ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityExpanded ``` Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject [-EndIPAddress ] [-StartIPAddress ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -170,21 +170,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -ProgressAction -{{ Fill ProgressAction Description }} - -```yaml -Type: System.Management.Automation.ActionPreference -Parameter Sets: (All) -Aliases: proga - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -275,4 +260,21 @@ Aliases: wi Required: False Position: Named Default value: None -Accept pipel \ No newline at end of file +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IFirewallRule + +## NOTES + +## RELATED LINKS diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerMigration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerMigration.md index 2c5bceffd437..595c88b1c9dc 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerMigration.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerMigration.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.PostgreSQLFlexibleServer-help.xml Module Name: Az.PostgreSQLFlexibleServer online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/update-azpostgresqlflexibleservermigration schema: 2.0.0 @@ -18,56 +18,57 @@ Certain property update initiate migration state transitions. ``` Update-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-AdminCredentialsSourceServerPassword ] - [-AdminCredentialsTargetServerPassword ] [-Cancel ] - [-DbsToCancelMigrationOn ] [-DbsToMigrate ] [-DbsToTriggerCutoverOn ] - [-MigrateRole ] [-MigrationMode ] [-MigrationWindowStartTimeInUtc ] - [-OverwriteDbsInTarget ] [-SecretParameterSourceServerUsername ] - [-SecretParameterTargetServerUsername ] [-SetupLogicalReplicationOnSourceDbIfNeeded ] - [-SourceDbServerFullyQualifiedDomainName ] [-SourceDbServerResourceId ] - [-StartDataMigration ] [-Tag ] [-TargetDbServerFullyQualifiedDomainName ] - [-TriggerCutover ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] -``` - -### UpdateViaIdentityExpanded -``` -Update-AzPostgreSqlFlexibleServerMigration -InputObject - [-AdminCredentialsSourceServerPassword ] [-AdminCredentialsTargetServerPassword ] - [-Cancel ] [-DbsToCancelMigrationOn ] [-DbsToMigrate ] - [-DbsToTriggerCutoverOn ] [-MigrateRole ] [-MigrationMode ] - [-MigrationWindowStartTimeInUtc ] [-OverwriteDbsInTarget ] + [-AdminCredentialsTargetServerPassword ] [-Cancel ] [-DbsToCancelMigrationOn ] + [-DbsToMigrate ] [-DbsToTriggerCutoverOn ] [-MigrateRole ] + [-MigrationMode ] [-MigrationWindowStartTimeInUtc ] [-OverwriteDbsInTarget ] [-SecretParameterSourceServerUsername ] [-SecretParameterTargetServerUsername ] [-SetupLogicalReplicationOnSourceDbIfNeeded ] [-SourceDbServerFullyQualifiedDomainName ] [-SourceDbServerResourceId ] [-StartDataMigration ] [-Tag ] [-TargetDbServerFullyQualifiedDomainName ] [-TriggerCutover ] [-DefaultProfile ] - [-Confirm] [-WhatIf] [] + [-WhatIf] [-Confirm] [] ``` -### UpdateViaIdentityFlexibleServerExpanded +### UpdateViaJsonString ``` -Update-AzPostgreSqlFlexibleServerMigration -FlexibleServerInputObject - -Name [-AdminCredentialsSourceServerPassword ] - [-AdminCredentialsTargetServerPassword ] [-Cancel ] - [-DbsToCancelMigrationOn ] [-DbsToMigrate ] [-DbsToTriggerCutoverOn ] - [-MigrateRole ] [-MigrationMode ] [-MigrationWindowStartTimeInUtc ] - [-OverwriteDbsInTarget ] [-SecretParameterSourceServerUsername ] - [-SecretParameterTargetServerUsername ] [-SetupLogicalReplicationOnSourceDbIfNeeded ] - [-SourceDbServerFullyQualifiedDomainName ] [-SourceDbServerResourceId ] - [-StartDataMigration ] [-Tag ] [-TargetDbServerFullyQualifiedDomainName ] - [-TriggerCutover ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +Update-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] -JsonString [-DefaultProfile ] + [-WhatIf] [-Confirm] [] ``` ### UpdateViaJsonFilePath ``` Update-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName - -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] - [] + [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] + [-WhatIf] [-Confirm] [] ``` -### UpdateViaJsonString +### UpdateViaIdentityFlexibleServerExpanded ``` -Update-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName - -JsonString [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] - [] +Update-AzPostgreSqlFlexibleServerMigration -Name + -FlexibleServerInputObject + [-AdminCredentialsSourceServerPassword ] [-AdminCredentialsTargetServerPassword ] + [-Cancel ] [-DbsToCancelMigrationOn ] [-DbsToMigrate ] + [-DbsToTriggerCutoverOn ] [-MigrateRole ] [-MigrationMode ] + [-MigrationWindowStartTimeInUtc ] [-OverwriteDbsInTarget ] + [-SecretParameterSourceServerUsername ] [-SecretParameterTargetServerUsername ] + [-SetupLogicalReplicationOnSourceDbIfNeeded ] [-SourceDbServerFullyQualifiedDomainName ] + [-SourceDbServerResourceId ] [-StartDataMigration ] [-Tag ] + [-TargetDbServerFullyQualifiedDomainName ] [-TriggerCutover ] [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServerMigration -InputObject + [-AdminCredentialsSourceServerPassword ] [-AdminCredentialsTargetServerPassword ] + [-Cancel ] [-DbsToCancelMigrationOn ] [-DbsToMigrate ] + [-DbsToTriggerCutoverOn ] [-MigrateRole ] [-MigrationMode ] + [-MigrationWindowStartTimeInUtc ] [-OverwriteDbsInTarget ] + [-SecretParameterSourceServerUsername ] [-SecretParameterTargetServerUsername ] + [-SetupLogicalReplicationOnSourceDbIfNeeded ] [-SourceDbServerFullyQualifiedDomainName ] + [-SourceDbServerResourceId ] [-StartDataMigration ] [-Tag ] + [-TargetDbServerFullyQualifiedDomainName ] [-TriggerCutover ] [-DefaultProfile ] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -106,7 +107,7 @@ Password for the user of the source server. ```yaml Type: System.Security.SecureString -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -121,7 +122,7 @@ Password for the user of the target server. ```yaml Type: System.Security.SecureString -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -136,7 +137,7 @@ Indicates if cancel must be triggered for the entire migration. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -151,7 +152,7 @@ When you want to trigger cancel for specific databases set 'triggerCutover' to ' ```yaml Type: System.String[] -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -166,7 +167,7 @@ Names of databases to migrate. ```yaml Type: System.String[] -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -181,7 +182,7 @@ When you want to trigger cutover for specific databases set 'triggerCutover' to ```yaml Type: System.String[] -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -272,7 +273,7 @@ Indicates if roles and permissions must be migrated. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -287,7 +288,7 @@ Mode used to perform the migration: Online or Offline. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -302,7 +303,7 @@ Start time (UTC) for migration window. ```yaml Type: System.DateTime -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -317,7 +318,7 @@ Name of migration. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath, UpdateViaIdentityFlexibleServerExpanded Aliases: MigrationName Required: True @@ -333,7 +334,7 @@ If set to 'False', when the migration workflow detects that the database already ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -349,7 +350,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -365,7 +366,7 @@ This user doesn't need to be an administrator. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -381,7 +382,7 @@ This user doesn't need to be an administrator. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -396,7 +397,7 @@ The name of the server. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -411,7 +412,7 @@ Indicates whether to setup logical replication on source server, if needed. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -428,7 +429,7 @@ When provided, the migration service will always use it to connect to the source ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -444,7 +445,7 @@ For other source types this must be set to ipaddress:port@username or hostname:p ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -459,7 +460,7 @@ Indicates if data migration must start right away. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -475,7 +476,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: False @@ -490,7 +491,7 @@ Application-specific metadata in the form of key-value pairs. ```yaml Type: System.Collections.Hashtable -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -507,7 +508,7 @@ When provided, the migration service will always use it to connect to the target ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -522,7 +523,7 @@ Indicates if cutover must be triggered for the entire migration. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -577,4 +578,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md index 3ae0ff9f70c7..e651bc5a9ec5 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/help/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.PostgreSQLFlexibleServer-help.xml Module Name: Az.PostgreSQLFlexibleServer online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/update-azpostgresqlflexibleservervirtualendpoint schema: 2.0.0 @@ -16,36 +16,37 @@ Update a pair of virtual endpoints for a server. ``` Update-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName -ServerName [-SubscriptionId ] [-EndpointType ] [-Member ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] ``` -### UpdateViaIdentityExpanded +### UpdateViaJsonString ``` -Update-AzPostgreSqlFlexibleServerVirtualEndpoint -InputObject - [-EndpointType ] [-Member ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] +Update-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName + -ServerName [-SubscriptionId ] -JsonString [-DefaultProfile ] [-AsJob] + [-NoWait] [-WhatIf] [-Confirm] [] ``` -### UpdateViaIdentityFlexibleServerExpanded +### UpdateViaJsonFilePath ``` -Update-AzPostgreSqlFlexibleServerVirtualEndpoint - -FlexibleServerInputObject -Name [-EndpointType ] - [-Member ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] +Update-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName + -ServerName [-SubscriptionId ] -JsonFilePath [-DefaultProfile ] [-AsJob] + [-NoWait] [-WhatIf] [-Confirm] [] ``` -### UpdateViaJsonFilePath +### UpdateViaIdentityFlexibleServerExpanded ``` -Update-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName - -ServerName -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] +Update-AzPostgreSqlFlexibleServerVirtualEndpoint -Name + -FlexibleServerInputObject [-EndpointType ] [-Member ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] ``` -### UpdateViaJsonString +### UpdateViaIdentityExpanded ``` -Update-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName - -ServerName -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] - [-NoWait] [-Confirm] [-WhatIf] [] +Update-AzPostgreSqlFlexibleServerVirtualEndpoint -InputObject + [-EndpointType ] [-Member ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -113,7 +114,7 @@ Type of endpoint for the virtual endpoints. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -188,7 +189,7 @@ List of servers that one of the virtual endpoints can refer to. ```yaml Type: System.String[] -Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -203,7 +204,7 @@ Base name of the virtual endpoints. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath, UpdateViaIdentityFlexibleServerExpanded Aliases: VirtualEndpointName Required: True @@ -234,7 +235,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -249,7 +250,7 @@ The name of the server. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: True @@ -265,7 +266,7 @@ The value must be an UUID. ```yaml Type: System.String -Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Parameter Sets: UpdateExpanded, UpdateViaJsonString, UpdateViaJsonFilePath Aliases: Required: False @@ -320,4 +321,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - From af3fe11cb508f302dc03bbfeb82c318e42fb5589 Mon Sep 17 00:00:00 2001 From: Naia Scott Date: Mon, 9 Mar 2026 18:20:25 -0400 Subject: [PATCH 6/7] add rule --- tools/CreateMappings_rules.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/CreateMappings_rules.json b/tools/CreateMappings_rules.json index c74fc1476ddd..3278cc47b98f 100644 --- a/tools/CreateMappings_rules.json +++ b/tools/CreateMappings_rules.json @@ -1011,5 +1011,9 @@ { "alias": "ArtifactSigning", "module": "ArtifactSigning" + }, + { + "module": "PostgreSQLFlexibleServer", + "alias": "PostgreSQLFlexibleServer" } ] From 62c0f512b8b8a497ccff8af31febdef28191894d Mon Sep 17 00:00:00 2001 From: Naia Scott Date: Tue, 10 Mar 2026 18:02:21 -0400 Subject: [PATCH 7/7] run .\generate-help.ps1 and rebuild --- .../Properties/AssemblyInfo.cs | 1 + .../generate-info.json | 2 +- .../help/Az.PostgreSQLFlexibleServer.md | 174 ++++ .../help/Get-AzPostgreSqlFlexibleServer.md | 151 +++ ...xibleServerAdministratorsMicrosoftEntra.md | 183 ++++ ...leServerAdvancedThreatProtectionSetting.md | 146 +++ ...exibleServerBackupsAutomaticAndOnDemand.md | 183 ++++ ...lFlexibleServerBackupsLongTermRetention.md | 183 ++++ ...SqlFlexibleServerCapabilitiesByLocation.md | 100 ++ ...reSqlFlexibleServerCapabilitiesByServer.md | 116 +++ ...t-AzPostgreSqlFlexibleServerCapturedLog.md | 116 +++ ...AzPostgreSqlFlexibleServerConfiguration.md | 182 ++++ .../Get-AzPostgreSqlFlexibleServerDatabase.md | 183 ++++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 182 ++++ ...Get-AzPostgreSqlFlexibleServerMigration.md | 200 ++++ ...reSqlFlexibleServerPrivateDnsZoneSuffix.md | 100 ++ ...et-AzPostgreSqlFlexibleServerQuotaUsage.md | 100 ++ .../Get-AzPostgreSqlFlexibleServerReplica.md | 116 +++ ...-AzPostgreSqlFlexibleServerTuningOption.md | 182 ++++ ...lexibleServerTuningOptionRecommendation.md | 148 +++ ...PostgreSqlFlexibleServerVirtualEndpoint.md | 182 ++++ ...FlexibleServerVirtualNetworkSubnetUsage.md | 214 +++++ ...e-AzPostgreSqlFlexibleServerNetworkMode.md | 202 +++++ .../help/New-AzPostgreSqlFlexibleServer.md | 858 ++++++++++++++++++ ...xibleServerAdministratorsMicrosoftEntra.md | 331 +++++++ .../New-AzPostgreSqlFlexibleServerDatabase.md | 315 +++++++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 316 +++++++ ...New-AzPostgreSqlFlexibleServerMigration.md | 665 ++++++++++++++ ...qlFlexibleServerThreatProtectionSetting.md | 261 ++++++ ...PostgreSqlFlexibleServerVirtualEndpoint.md | 314 +++++++ .../help/Remove-AzPostgreSqlFlexibleServer.md | 216 +++++ ...xibleServerAdministratorsMicrosoftEntra.md | 254 ++++++ ...exibleServerBackupsAutomaticAndOnDemand.md | 254 ++++++ ...move-AzPostgreSqlFlexibleServerDatabase.md | 255 ++++++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 254 ++++++ ...PostgreSqlFlexibleServerVirtualEndpoint.md | 254 ++++++ .../Restart-AzPostgreSqlFlexibleServer.md | 324 +++++++ .../help/Set-AzPostgreSqlFlexibleServer.md | 822 +++++++++++++++++ ...xibleServerAdministratorsMicrosoftEntra.md | 284 ++++++ ...AzPostgreSqlFlexibleServerConfiguration.md | 294 ++++++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 270 ++++++ ...qlFlexibleServerThreatProtectionSetting.md | 238 +++++ .../help/Start-AzPostgreSqlFlexibleServer.md | 216 +++++ ...lFlexibleServerBackupsLongTermRetention.md | 308 +++++++ .../help/Stop-AzPostgreSqlFlexibleServer.md | 216 +++++ ...top-AzPostgreSqlFlexibleServerMigration.md | 222 +++++ ...verBackupsLongTermRetentionPrerequisite.md | 263 ++++++ ...FlexibleServerMigrationNameAvailability.md | 277 ++++++ ...ostgreSqlFlexibleServerNameAvailability.md | 258 ++++++ ...lFlexibleServerNameAvailabilityGlobally.md | 212 +++++ .../help/Update-AzPostgreSqlFlexibleServer.md | 829 +++++++++++++++++ ...AzPostgreSqlFlexibleServerConfiguration.md | 316 +++++++ ...date-AzPostgreSqlFlexibleServerDatabase.md | 271 ++++++ ...-AzPostgreSqlFlexibleServerFirewallRule.md | 272 ++++++ ...ate-AzPostgreSqlFlexibleServerMigration.md | 572 ++++++++++++ ...PostgreSqlFlexibleServerVirtualEndpoint.md | 315 +++++++ .../PostgreSQLFlexibleServer.sln | 28 +- .../Az.PostgreSQLFlexibleServer.psd1 | 2 +- 58 files changed, 14686 insertions(+), 16 deletions(-) create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Az.PostgreSQLFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerCapturedLog.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerConfiguration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerDatabase.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerMigration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerQuotaUsage.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerReplica.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerTuningOption.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Move-AzPostgreSqlFlexibleServerNetworkMode.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerDatabase.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerMigration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerVirtualEndpoint.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServerDatabase.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Restart-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Set-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Set-AzPostgreSqlFlexibleServerConfiguration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Set-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Start-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Stop-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Stop-AzPostgreSqlFlexibleServerMigration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Test-AzPostgreSqlFlexibleServerNameAvailability.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServer.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServerConfiguration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServerDatabase.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServerFirewallRule.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServerMigration.md create mode 100644 src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/Properties/AssemblyInfo.cs b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/Properties/AssemblyInfo.cs index 6536a8a32264..f8453cb3ca5b 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/Properties/AssemblyInfo.cs +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/Properties/AssemblyInfo.cs @@ -27,3 +27,4 @@ [assembly: System.Reflection.AssemblyVersionAttribute("0.1.0")] [assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] [assembly: System.CLSCompliantAttribute(false)] + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/generate-info.json b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/generate-info.json index 704bb031b691..570ba807ecc1 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/generate-info.json +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "f0b8123e-3adf-4910-8416-3e59b7e536fc" + "generate_Id": "1f8fca50-52e3-4349-9862-28235cc35b5e" } diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Az.PostgreSQLFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Az.PostgreSQLFlexibleServer.md new file mode 100644 index 000000000000..e9b40a38af2a --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Az.PostgreSQLFlexibleServer.md @@ -0,0 +1,174 @@ +--- +Module Name: Az.PostgreSQLFlexibleServer +Module Guid: 50770f2d-b3ac-484d-ac9c-77179c69e92b +Download Help Link: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver +Help Version: 1.0.0.0 +Locale: en-US +--- + +# Az.PostgreSQLFlexibleServer Module +## Description +Microsoft Azure PowerShell: PostgreSQLFlexibleServer cmdlets + +## Az.PostgreSQLFlexibleServer Cmdlets +### [Get-AzPostgreSqlFlexibleServer](Get-AzPostgreSqlFlexibleServer.md) +Gets information about an existing server. + +### [Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra](Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md) +Gets information about a server administrator associated to a Microsoft Entra principal. + +### [Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting](Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md) +Gets state of advanced threat protection settings for a server. + +### [Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand](Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md) +Gets information of an on demand backup, given its name. + +### [Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention](Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md) +Gets the results of a long retention backup operation for a server. + +### [Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation](Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md) +Lists the capabilities available in a given location for a specific subscription. + +### [Get-AzPostgreSqlFlexibleServerCapabilitiesByServer](Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md) +Lists the capabilities available for a given server. + +### [Get-AzPostgreSqlFlexibleServerCapturedLog](Get-AzPostgreSqlFlexibleServerCapturedLog.md) +Lists all captured logs for download in a server. + +### [Get-AzPostgreSqlFlexibleServerConfiguration](Get-AzPostgreSqlFlexibleServerConfiguration.md) +Gets information about a specific configuration (also known as server parameter) of a server. + +### [Get-AzPostgreSqlFlexibleServerDatabase](Get-AzPostgreSqlFlexibleServerDatabase.md) +Gets information about an existing database. + +### [Get-AzPostgreSqlFlexibleServerFirewallRule](Get-AzPostgreSqlFlexibleServerFirewallRule.md) +Gets information about a firewall rule in a server. + +### [Get-AzPostgreSqlFlexibleServerMigration](Get-AzPostgreSqlFlexibleServerMigration.md) +Gets information about a migration. + +### [Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix](Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md) +Gets the private DNS zone suffix. + +### [Get-AzPostgreSqlFlexibleServerQuotaUsage](Get-AzPostgreSqlFlexibleServerQuotaUsage.md) +Get quota usages at specified location in a given subscription. + +### [Get-AzPostgreSqlFlexibleServerReplica](Get-AzPostgreSqlFlexibleServerReplica.md) +Lists all read replicas of a server. + +### [Get-AzPostgreSqlFlexibleServerTuningOption](Get-AzPostgreSqlFlexibleServerTuningOption.md) +Gets the tuning options of a server. + +### [Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation](Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md) +Lists available object recommendations. + +### [Get-AzPostgreSqlFlexibleServerVirtualEndpoint](Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md) +Gets information about a pair of virtual endpoints. + +### [Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage](Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md) +Lists the virtual network subnet usage for a given virtual network. + +### [Move-AzPostgreSqlFlexibleServerNetworkMode](Move-AzPostgreSqlFlexibleServerNetworkMode.md) +Migrates the network configuration of a PostgreSQL flexible server from customer owned VNET to Microsoft owned VNET with support for private endpoints, or from Microsoft owned VNET with no support for private endpoints to Microsoft owned VNET with support for private endpoints. + +### [New-AzPostgreSqlFlexibleServer](New-AzPostgreSqlFlexibleServer.md) +Create a new server. + +### [New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra](New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md) +Create a new server administrator associated to a Microsoft Entra principal. + +### [New-AzPostgreSqlFlexibleServerDatabase](New-AzPostgreSqlFlexibleServerDatabase.md) +Create a new database. + +### [New-AzPostgreSqlFlexibleServerFirewallRule](New-AzPostgreSqlFlexibleServerFirewallRule.md) +Create a new firewall rule or create an existing firewall rule. + +### [New-AzPostgreSqlFlexibleServerMigration](New-AzPostgreSqlFlexibleServerMigration.md) +Create a new migration. + +### [New-AzPostgreSqlFlexibleServerThreatProtectionSetting](New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md) +Create a server's Advanced Threat Protection settings. + +### [New-AzPostgreSqlFlexibleServerVirtualEndpoint](New-AzPostgreSqlFlexibleServerVirtualEndpoint.md) +Create a pair of virtual endpoints for a server. + +### [Remove-AzPostgreSqlFlexibleServer](Remove-AzPostgreSqlFlexibleServer.md) +Deletes or drops an existing server. + +### [Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra](Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md) +Deletes an existing server administrator associated to a Microsoft Entra principal. + +### [Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand](Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md) +Deletes a specific backup, given its name. + +### [Remove-AzPostgreSqlFlexibleServerDatabase](Remove-AzPostgreSqlFlexibleServerDatabase.md) +Deletes an existing database. + +### [Remove-AzPostgreSqlFlexibleServerFirewallRule](Remove-AzPostgreSqlFlexibleServerFirewallRule.md) +Deletes an existing firewall rule. + +### [Remove-AzPostgreSqlFlexibleServerVirtualEndpoint](Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md) +Deletes a pair of virtual endpoints. + +### [Restart-AzPostgreSqlFlexibleServer](Restart-AzPostgreSqlFlexibleServer.md) +Restarts PostgreSQL database engine in a server. + +### [Set-AzPostgreSqlFlexibleServer](Set-AzPostgreSqlFlexibleServer.md) +Update a new server. + +### [Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra](Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md) +Update a new server administrator associated to a Microsoft Entra principal. + +### [Set-AzPostgreSqlFlexibleServerConfiguration](Set-AzPostgreSqlFlexibleServerConfiguration.md) +Put using Put verb, the value assigned to a specific modifiable configuration (also known as server parameter) of a server. + +### [Set-AzPostgreSqlFlexibleServerFirewallRule](Set-AzPostgreSqlFlexibleServerFirewallRule.md) +Update a new firewall rule or update an existing firewall rule. + +### [Set-AzPostgreSqlFlexibleServerThreatProtectionSetting](Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md) +Update a server's Advanced Threat Protection settings. + +### [Start-AzPostgreSqlFlexibleServer](Start-AzPostgreSqlFlexibleServer.md) +Starts a stopped server. + +### [Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention](Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md) +Initiates a long term retention backup. + +### [Stop-AzPostgreSqlFlexibleServer](Stop-AzPostgreSqlFlexibleServer.md) +Stops a server. + +### [Stop-AzPostgreSqlFlexibleServerMigration](Stop-AzPostgreSqlFlexibleServerMigration.md) +Cancels an active migration. + +### [Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite](Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md) +Performs all checks required for a long term retention backup operation to succeed. + +### [Test-AzPostgreSqlFlexibleServerMigrationNameAvailability](Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md) +Checks if a proposed migration name is valid and available. + +### [Test-AzPostgreSqlFlexibleServerNameAvailability](Test-AzPostgreSqlFlexibleServerNameAvailability.md) +Check the availability of name for resource + +### [Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally](Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md) +Checks the validity and availability of the given name, to assign it to a new server or to use it as the base name of a new pair of virtual endpoints. + +### [Update-AzPostgreSqlFlexibleServer](Update-AzPostgreSqlFlexibleServer.md) +Update a new server. + +### [Update-AzPostgreSqlFlexibleServerConfiguration](Update-AzPostgreSqlFlexibleServerConfiguration.md) +Update the value assigned to a specific modifiable configuration (also known as server parameter) of a server. + +### [Update-AzPostgreSqlFlexibleServerDatabase](Update-AzPostgreSqlFlexibleServerDatabase.md) +Update a new database. + +### [Update-AzPostgreSqlFlexibleServerFirewallRule](Update-AzPostgreSqlFlexibleServerFirewallRule.md) +Update a new firewall rule or update an existing firewall rule. + +### [Update-AzPostgreSqlFlexibleServerMigration](Update-AzPostgreSqlFlexibleServerMigration.md) +Update an existing migration. +The request body can contain one to many of the mutable properties present in the migration definition. +Certain property update initiate migration state transitions. + +### [Update-AzPostgreSqlFlexibleServerVirtualEndpoint](Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md) +Update a pair of virtual endpoints for a server. + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..060a7ec5b3ce --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,151 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Gets information about an existing server. + +## SYNTAX + +### List1 (Default) +``` +Get-AzPostgreSqlFlexibleServer [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] + [] +``` + +### List +``` +Get-AzPostgreSqlFlexibleServer -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about an existing server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List, List1 +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IServer + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md new file mode 100644 index 000000000000..10e3e9665332 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md @@ -0,0 +1,183 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserveradministratorsmicrosoftentra +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra + +## SYNOPSIS +Gets information about a server administrator associated to a Microsoft Entra principal. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra + -FlexibleServerInputObject -ObjectId + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about a server administrator associated to a Microsoft Entra principal. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ObjectId +Object identifier of the Microsoft Entra principal. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IAdministratorMicrosoftEntra + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md new file mode 100644 index 000000000000..82d157022ae4 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting.md @@ -0,0 +1,146 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserveradvancedthreatprotectionsetting +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting + +## SYNOPSIS +Gets state of advanced threat protection settings for a server. + +## SYNTAX + +### Get (Default) +``` +Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting -InputObject + [-DefaultProfile ] [] +``` + +### List +``` +Get-AzPostgreSqlFlexibleServerAdvancedThreatProtectionSetting -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets state of advanced threat protection settings for a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IAdvancedThreatProtectionSettingsModel + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md new file mode 100644 index 000000000000..1120155d215a --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md @@ -0,0 +1,183 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverbackupsautomaticandondemand +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand + +## SYNOPSIS +Gets information of an on demand backup, given its name. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -BackupName -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -BackupName + -FlexibleServerInputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets information of an on demand backup, given its name. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -BackupName +Name of the backup. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IBackupAutomaticAndOnDemand + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md new file mode 100644 index 000000000000..9ed16e5f976a --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md @@ -0,0 +1,183 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverbackupslongtermretention +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention + +## SYNOPSIS +Gets the results of a long retention backup operation for a server. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention -BackupName -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerBackupsLongTermRetention -BackupName + -FlexibleServerInputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets the results of a long retention backup operation for a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -BackupName +The name of the backup. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IBackupsLongTermRetentionOperation + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md new file mode 100644 index 000000000000..4df1ec5ec46a --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation.md @@ -0,0 +1,100 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservercapabilitiesbylocation +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation + +## SYNOPSIS +Lists the capabilities available in a given location for a specific subscription. + +## SYNTAX + +``` +Get-AzPostgreSqlFlexibleServerCapabilitiesByLocation -LocationName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Lists the capabilities available in a given location for a specific subscription. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocationName +The name of the location. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ICapability + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md new file mode 100644 index 000000000000..622851b5f228 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerCapabilitiesByServer.md @@ -0,0 +1,116 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservercapabilitiesbyserver +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerCapabilitiesByServer + +## SYNOPSIS +Lists the capabilities available for a given server. + +## SYNTAX + +``` +Get-AzPostgreSqlFlexibleServerCapabilitiesByServer -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +Lists the capabilities available for a given server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ICapability + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerCapturedLog.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerCapturedLog.md new file mode 100644 index 000000000000..6775a5955b69 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerCapturedLog.md @@ -0,0 +1,116 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservercapturedlog +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerCapturedLog + +## SYNOPSIS +Lists all captured logs for download in a server. + +## SYNTAX + +``` +Get-AzPostgreSqlFlexibleServerCapturedLog -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +Lists all captured logs for download in a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ICapturedLog + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..4f3086563588 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerConfiguration.md @@ -0,0 +1,182 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverconfiguration +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerConfiguration + +## SYNOPSIS +Gets information about a specific configuration (also known as server parameter) of a server. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerConfiguration -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerConfiguration -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerConfiguration -FlexibleServerInputObject + -Name [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about a specific configuration (also known as server parameter) of a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the configuration (also known as server parameter). + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityFlexibleServer +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IConfiguration + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerDatabase.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..9a7578d10317 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerDatabase.md @@ -0,0 +1,183 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverdatabase +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerDatabase + +## SYNOPSIS +Gets information about an existing database. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerDatabase -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerDatabase -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerDatabase -FlexibleServerInputObject + -Name [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about an existing database. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the database (case-sensitive). +Exact database names can be retrieved by getting the list of all existing databases in a server. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityFlexibleServer +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IDatabase + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..a1f7076dd94f --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,182 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerFirewallRule + +## SYNOPSIS +Gets information about a firewall rule in a server. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerFirewallRule -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerFirewallRule -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerFirewallRule -FlexibleServerInputObject + -Name [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about a firewall rule in a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the firewall rule. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityFlexibleServer +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IFirewallRule + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerMigration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerMigration.md new file mode 100644 index 000000000000..fc7c0ed7cfa5 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerMigration.md @@ -0,0 +1,200 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservermigration +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerMigration + +## SYNOPSIS +Gets information about a migration. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerMigration -ResourceGroupName -ServerName + [-SubscriptionId ] [-MigrationListFilter ] [-DefaultProfile ] + [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerMigration -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerMigration -FlexibleServerInputObject + -Name [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about a migration. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -MigrationListFilter +Migration list filter. +Indicates if the request should retrieve only active migrations or all migrations. +Defaults to Active. + +```yaml +Type: System.String +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of migration. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityFlexibleServer +Aliases: MigrationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigration + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md new file mode 100644 index 000000000000..eace63816262 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix.md @@ -0,0 +1,100 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverprivatednszonesuffix +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix + +## SYNOPSIS +Gets the private DNS zone suffix. + +## SYNTAX + +``` +Get-AzPostgreSqlFlexibleServerPrivateDnsZoneSuffix [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Gets the private DNS zone suffix. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### System.String + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerQuotaUsage.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerQuotaUsage.md new file mode 100644 index 000000000000..6bd2afd3bdc6 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerQuotaUsage.md @@ -0,0 +1,100 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverquotausage +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerQuotaUsage + +## SYNOPSIS +Get quota usages at specified location in a given subscription. + +## SYNTAX + +``` +Get-AzPostgreSqlFlexibleServerQuotaUsage -LocationName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Get quota usages at specified location in a given subscription. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocationName +The name of the location. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IQuotaUsage + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerReplica.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerReplica.md new file mode 100644 index 000000000000..081a42fcfd3c --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerReplica.md @@ -0,0 +1,116 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleserverreplica +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerReplica + +## SYNOPSIS +Lists all read replicas of a server. + +## SYNTAX + +``` +Get-AzPostgreSqlFlexibleServerReplica -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +Lists all read replicas of a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IServer + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerTuningOption.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerTuningOption.md new file mode 100644 index 000000000000..b213a544f0bc --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerTuningOption.md @@ -0,0 +1,182 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservertuningoption +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerTuningOption + +## SYNOPSIS +Gets the tuning options of a server. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerTuningOption -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerTuningOption -ResourceGroupName -ServerName + -TuningOption [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerTuningOption -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerTuningOption -FlexibleServerInputObject + -TuningOption [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets the tuning options of a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TuningOption +The name of the tuning option. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ITuningOptions + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md new file mode 100644 index 000000000000..a15b515be0f5 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation.md @@ -0,0 +1,148 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservertuningoptionrecommendation +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation + +## SYNOPSIS +Lists available object recommendations. + +## SYNTAX + +``` +Get-AzPostgreSqlFlexibleServerTuningOptionRecommendation -ResourceGroupName -ServerName + -TuningOption [-SubscriptionId ] [-RecommendationType ] + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Lists available object recommendations. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecommendationType +Recommendations list filter. +Retrieves recommendations based on type. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TuningOption +The name of the tuning option. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IObjectRecommendation + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md new file mode 100644 index 000000000000..37e2e9cf54be --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerVirtualEndpoint.md @@ -0,0 +1,182 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservervirtualendpoint +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerVirtualEndpoint + +## SYNOPSIS +Gets information about a pair of virtual endpoints. + +## SYNTAX + +### List (Default) +``` +Get-AzPostgreSqlFlexibleServerVirtualEndpoint -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzPostgreSqlFlexibleServerVirtualEndpoint -InputObject + [-DefaultProfile ] [] +``` + +### GetViaIdentityFlexibleServer +``` +Get-AzPostgreSqlFlexibleServerVirtualEndpoint -FlexibleServerInputObject + -Name [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets information about a pair of virtual endpoints. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Base name of the virtual endpoints. + +```yaml +Type: System.String +Parameter Sets: Get, GetViaIdentityFlexibleServer +Aliases: VirtualEndpointName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IVirtualEndpoint + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md new file mode 100644 index 000000000000..973d188b966a --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage.md @@ -0,0 +1,214 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/get-azpostgresqlflexibleservervirtualnetworksubnetusage +schema: 2.0.0 +--- + +# Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage + +## SYNOPSIS +Lists the virtual network subnet usage for a given virtual network. + +## SYNTAX + +### ListExpanded (Default) +``` +Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage -LocationName [-SubscriptionId ] + [-VirtualNetworkArmResourceId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### List +``` +Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage -LocationName + -Parameter [-SubscriptionId ] [-DefaultProfile ] + [-Confirm] [-WhatIf] [] +``` + +### ListViaJsonFilePath +``` +Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage -LocationName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### ListViaJsonString +``` +Get-AzPostgreSqlFlexibleServerVirtualNetworkSubnetUsage -LocationName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Lists the virtual network subnet usage for a given virtual network. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocationName +The name of the location. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +Virtual network subnet usage parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IVirtualNetworkSubnetUsageParameter +Parameter Sets: List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VirtualNetworkArmResourceId +Virtual network resource id. + +```yaml +Type: System.String +Parameter Sets: ListExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IVirtualNetworkSubnetUsageParameter + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IVirtualNetworkSubnetUsageModel + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Move-AzPostgreSqlFlexibleServerNetworkMode.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Move-AzPostgreSqlFlexibleServerNetworkMode.md new file mode 100644 index 000000000000..123443408ecb --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Move-AzPostgreSqlFlexibleServerNetworkMode.md @@ -0,0 +1,202 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/move-azpostgresqlflexibleservernetworkmode +schema: 2.0.0 +--- + +# Move-AzPostgreSqlFlexibleServerNetworkMode + +## SYNOPSIS +Migrates the network configuration of a PostgreSQL flexible server from customer owned VNET to Microsoft owned VNET with support for private endpoints, or from Microsoft owned VNET with no support for private endpoints to Microsoft owned VNET with support for private endpoints. + +## SYNTAX + +### Migrate (Default) +``` +Move-AzPostgreSqlFlexibleServerNetworkMode -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### MigrateViaIdentity +``` +Move-AzPostgreSqlFlexibleServerNetworkMode -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Migrates the network configuration of a PostgreSQL flexible server from customer owned VNET to Microsoft owned VNET with support for private endpoints, or from Microsoft owned VNET with no support for private endpoints to Microsoft owned VNET with support for private endpoints. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: MigrateViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Migrate +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Migrate +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Migrate +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigrateNetworkStatus + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..b407f06bd25f --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,858 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/new-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Create a new server. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServer -Name -ResourceGroupName -Location + [-SubscriptionId ] [-AdministratorLogin ] [-AdministratorLoginPassword ] + [-AuthConfigActiveDirectoryAuth ] [-AuthConfigPasswordAuth ] [-AuthConfigTenantId ] + [-AvailabilityZone ] [-BackupGeoRedundantBackup ] [-BackupRetentionDay ] + [-ClusterDefaultDatabaseName ] [-ClusterSize ] [-CreateMode ] + [-DataEncryptionGeoBackupKeyUri ] [-DataEncryptionGeoBackupUserAssignedIdentityId ] + [-DataEncryptionPrimaryKeyUri ] [-DataEncryptionPrimaryUserAssignedIdentityId ] + [-DataEncryptionType ] [-EnableSystemAssignedIdentity] [-HighAvailabilityMode ] + [-HighAvailabilityStandbyAvailabilityZone ] [-IdentityPrincipalId ] + [-NetworkDelegatedSubnetResourceId ] [-NetworkPrivateDnsZoneArmResourceId ] + [-NetworkPublicNetworkAccess ] [-PointInTimeUtc ] [-ReplicationRole ] + [-SkuName ] [-SkuTier ] [-SourceServerResourceId ] [-StorageAutoGrow ] + [-StorageIop ] [-StorageSizeGb ] [-StorageThroughput ] [-StorageTier ] + [-StorageType ] [-Tag ] [-UserAssignedIdentity ] [-Version ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityExpanded +``` +New-AzPostgreSqlFlexibleServer -InputObject -Location + [-AdministratorLogin ] [-AdministratorLoginPassword ] + [-AuthConfigActiveDirectoryAuth ] [-AuthConfigPasswordAuth ] [-AuthConfigTenantId ] + [-AvailabilityZone ] [-BackupGeoRedundantBackup ] [-BackupRetentionDay ] + [-ClusterDefaultDatabaseName ] [-ClusterSize ] [-CreateMode ] + [-DataEncryptionGeoBackupKeyUri ] [-DataEncryptionGeoBackupUserAssignedIdentityId ] + [-DataEncryptionPrimaryKeyUri ] [-DataEncryptionPrimaryUserAssignedIdentityId ] + [-DataEncryptionType ] [-EnableSystemAssignedIdentity] [-HighAvailabilityMode ] + [-HighAvailabilityStandbyAvailabilityZone ] [-IdentityPrincipalId ] + [-NetworkDelegatedSubnetResourceId ] [-NetworkPrivateDnsZoneArmResourceId ] + [-NetworkPublicNetworkAccess ] [-PointInTimeUtc ] [-ReplicationRole ] + [-SkuName ] [-SkuTier ] [-SourceServerResourceId ] [-StorageAutoGrow ] + [-StorageIop ] [-StorageSizeGb ] [-StorageThroughput ] [-StorageTier ] + [-StorageType ] [-Tag ] [-UserAssignedIdentity ] [-Version ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzPostgreSqlFlexibleServer -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaJsonString +``` +New-AzPostgreSqlFlexibleServer -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Create a new server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AdministratorLogin +Name of the login designated as the first password based administrator assigned to your instance of PostgreSQL. +Must be specified the first time that you enable password based authentication on a server. +Once set to a given value, it cannot be changed for the rest of the life of a server. +If you disable password based authentication on a server which had it enabled, this password based role isn't deleted. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdministratorLoginPassword +Password assigned to the administrator login. +As long as password authentication is enabled, this password can be changed at any time. + +```yaml +Type: System.Security.SecureString +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigActiveDirectoryAuth +Indicates if the server supports Microsoft Entra authentication. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigPasswordAuth +Indicates if the server supports password based authentication. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigTenantId +Identifier of the tenant of the delegated resource. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AvailabilityZone +Availability zone of a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupGeoRedundantBackup +Indicates if the server is configured to create geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterDefaultDatabaseName +Default database name for the elastic cluster. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterSize +Number of nodes assigned to the elastic cluster. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CreateMode +Creation mode of a new server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionGeoBackupKeyUri +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionGeoBackupUserAssignedIdentityId +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionPrimaryKeyUri +URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionPrimaryUserAssignedIdentityId +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the primary storage associated to a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionType +Data encryption type used by a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HighAvailabilityMode +High availability mode for a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HighAvailabilityStandbyAvailabilityZone +Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityPrincipalId +Identifier of the object of the service principal associated to the user assigned managed identity. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The geo-location where the resource lives + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkDelegatedSubnetResourceId +Resource identifier of the delegated subnet. +Required during creation of a new server, in case you want the server to be integrated into your own virtual network. +For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkPrivateDnsZoneArmResourceId +Identifier of the private DNS zone. +Required during creation of a new server, in case you want the server to be integrated into your own virtual network. +For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkPublicNetworkAccess +Indicates if public network access is enabled or not. +This is only supported for servers that are not integrated into a virtual network which is owned and provided by customer when server is deployed. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PointInTimeUtc +Creation time (in ISO8601 format) of the backup which you want to restore in the new server. +It's required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', or 'ReviveDropped'. + +```yaml +Type: System.DateTime +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicationRole +Role of the server in a replication set. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuName +Name by which is known a given compute size assigned to a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuTier +Tier of the compute assigned to a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceServerResourceId +Identifier of the server to be used as the source of the new server. +Required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', 'Replica', or 'ReviveDropped'. +This property is returned only when the target server is a read replica. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageAutoGrow +Flag to enable or disable the automatic growth of storage size of a server when available space is nearing zero and conditions allow for automatically growing storage size. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageIop +Maximum IOPS supported for storage. +Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageSizeGb +Size of storage assigned to a server. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageThroughput +Maximum throughput supported for storage. +Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. + +```yaml +Type: System.Int32 +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageTier +Storage tier of a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageType +Type of storage assigned to a server. +Allowed values are Premium_LRS, PremiumV2_LRS, or UltraSSD_LRS. +If not specified, it defaults to Premium_LRS. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserAssignedIdentity +The array of user assigned identities associated with the resource. +The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.' + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Version +Major version of PostgreSQL database engine. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IServer + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md new file mode 100644 index 000000000000..3f22df5e6eb3 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md @@ -0,0 +1,331 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/new-azpostgresqlflexibleserveradministratorsmicrosoftentra +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra + +## SYNOPSIS +Create a new server administrator associated to a Microsoft Entra principal. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName [-SubscriptionId ] [-PrincipalName ] [-PrincipalType ] + [-TenantId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaIdentityExpanded +``` +New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -InputObject + [-PrincipalName ] [-PrincipalType ] [-TenantId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityFlexibleServerExpanded +``` +New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra + -FlexibleServerInputObject -ObjectId [-PrincipalName ] + [-PrincipalType ] [-TenantId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Create a new server administrator associated to a Microsoft Entra principal. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ObjectId +Object identifier of the Microsoft Entra principal. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrincipalName +Name of the Microsoft Entra principal. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrincipalType +Type of Microsoft Entra principal to which the server administrator is associated. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TenantId +Identifier of the tenant in which the Microsoft Entra principal exists. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IAdministratorMicrosoftEntra + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerDatabase.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..862ae4040dd2 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerDatabase.md @@ -0,0 +1,315 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/new-azpostgresqlflexibleserverdatabase +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServerDatabase + +## SYNOPSIS +Create a new database. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityExpanded +``` +New-AzPostgreSqlFlexibleServerDatabase -InputObject [-Charset ] + [-Collation ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaIdentityFlexibleServerExpanded +``` +New-AzPostgreSqlFlexibleServerDatabase -FlexibleServerInputObject + -Name [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Create a new database. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Charset +Character set of the database. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Collation +Collation of the database. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the database (case-sensitive). +Exact database names can be retrieved by getting the list of all existing databases in a server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IDatabase + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..9fc297b32a6a --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,316 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/new-azpostgresqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServerFirewallRule + +## SYNOPSIS +Create a new firewall rule or create an existing firewall rule. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + -EndIPAddress -StartIPAddress [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityExpanded +``` +New-AzPostgreSqlFlexibleServerFirewallRule -InputObject + -EndIPAddress -StartIPAddress [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaIdentityFlexibleServerExpanded +``` +New-AzPostgreSqlFlexibleServerFirewallRule -FlexibleServerInputObject + -Name -EndIPAddress -StartIPAddress [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Create a new firewall rule or create an existing firewall rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +IP address defining the end of the range of addresses of a firewall rule. +Must be expressed in IPv4 format. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the firewall rule. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +IP address defining the start of the range of addresses of a firewall rule. +Must be expressed in IPv4 format. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IFirewallRule + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerMigration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerMigration.md new file mode 100644 index 000000000000..e65c7d384aa4 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerMigration.md @@ -0,0 +1,665 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/new-azpostgresqlflexibleservermigration +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServerMigration + +## SYNOPSIS +Create a new migration. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + -Location [-SubscriptionId ] [-AdminCredentialsSourceServerPassword ] + [-AdminCredentialsTargetServerPassword ] [-Cancel ] + [-DbsToCancelMigrationOn ] [-DbsToMigrate ] [-DbsToTriggerCutoverOn ] + [-MigrateRole ] [-MigrationInstanceResourceId ] [-MigrationMode ] + [-MigrationOption ] [-MigrationWindowEndTimeInUtc ] + [-MigrationWindowStartTimeInUtc ] [-OverwriteDbsInTarget ] + [-SecretParameterSourceServerUsername ] [-SecretParameterTargetServerUsername ] + [-SetupLogicalReplicationOnSourceDbIfNeeded ] [-SourceDbServerFullyQualifiedDomainName ] + [-SourceDbServerResourceId ] [-SourceType ] [-SslMode ] + [-StartDataMigration ] [-Tag ] [-TargetDbServerFullyQualifiedDomainName ] + [-TriggerCutover ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityExpanded +``` +New-AzPostgreSqlFlexibleServerMigration -InputObject -Location + [-AdminCredentialsSourceServerPassword ] [-AdminCredentialsTargetServerPassword ] + [-Cancel ] [-DbsToCancelMigrationOn ] [-DbsToMigrate ] + [-DbsToTriggerCutoverOn ] [-MigrateRole ] [-MigrationInstanceResourceId ] + [-MigrationMode ] [-MigrationOption ] [-MigrationWindowEndTimeInUtc ] + [-MigrationWindowStartTimeInUtc ] [-OverwriteDbsInTarget ] + [-SecretParameterSourceServerUsername ] [-SecretParameterTargetServerUsername ] + [-SetupLogicalReplicationOnSourceDbIfNeeded ] [-SourceDbServerFullyQualifiedDomainName ] + [-SourceDbServerResourceId ] [-SourceType ] [-SslMode ] + [-StartDataMigration ] [-Tag ] [-TargetDbServerFullyQualifiedDomainName ] + [-TriggerCutover ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityFlexibleServerExpanded +``` +New-AzPostgreSqlFlexibleServerMigration -FlexibleServerInputObject + -Name -Location [-AdminCredentialsSourceServerPassword ] + [-AdminCredentialsTargetServerPassword ] [-Cancel ] + [-DbsToCancelMigrationOn ] [-DbsToMigrate ] [-DbsToTriggerCutoverOn ] + [-MigrateRole ] [-MigrationInstanceResourceId ] [-MigrationMode ] + [-MigrationOption ] [-MigrationWindowEndTimeInUtc ] + [-MigrationWindowStartTimeInUtc ] [-OverwriteDbsInTarget ] + [-SecretParameterSourceServerUsername ] [-SecretParameterTargetServerUsername ] + [-SetupLogicalReplicationOnSourceDbIfNeeded ] [-SourceDbServerFullyQualifiedDomainName ] + [-SourceDbServerResourceId ] [-SourceType ] [-SslMode ] + [-StartDataMigration ] [-Tag ] [-TargetDbServerFullyQualifiedDomainName ] + [-TriggerCutover ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaJsonString +``` +New-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Create a new migration. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AdminCredentialsSourceServerPassword +Password for the user of the source server. + +```yaml +Type: System.Security.SecureString +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdminCredentialsTargetServerPassword +Password for the user of the target server. + +```yaml +Type: System.Security.SecureString +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cancel +Indicates if cancel must be triggered for the entire migration. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DbsToCancelMigrationOn +When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DbsToMigrate +Names of databases to migrate. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DbsToTriggerCutoverOn +When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The geo-location where the resource lives + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrateRole +Indicates if roles and permissions must be migrated. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrationInstanceResourceId +Identifier of the private endpoint migration instance. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrationMode +Mode used to perform the migration: Online or Offline. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrationOption +Supported option for a migration. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrationWindowEndTimeInUtc +End time (UTC) for migration window. + +```yaml +Type: System.DateTime +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrationWindowStartTimeInUtc +Start time (UTC) for migration window. + +```yaml +Type: System.DateTime +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of migration. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: MigrationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverwriteDbsInTarget +Indicates if databases on the target server can be overwritten when already present. +If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecretParameterSourceServerUsername +Gets or sets the name of the user for the source server. +This user doesn't need to be an administrator. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecretParameterTargetServerUsername +Gets or sets the name of the user for the target server. +This user doesn't need to be an administrator. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SetupLogicalReplicationOnSourceDbIfNeeded +Indicates whether to setup logical replication on source server, if needed. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceDbServerFullyQualifiedDomainName +Fully qualified domain name (FQDN) or IP address of the source server. +This property is optional. +When provided, the migration service will always use it to connect to the source server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceDbServerResourceId +Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. +For other source types this must be set to ipaddress:port@username or hostname:port@username. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceType +Source server type used for the migration: ApsaraDB_RDS, AWS, AWS_AURORA, AWS_EC2, AWS_RDS, AzureVM, Crunchy_PostgreSQL, Digital_Ocean_Droplets, Digital_Ocean_PostgreSQL, EDB, EDB_Oracle_Server, EDB_PostgreSQL, GCP, GCP_AlloyDB, GCP_CloudSQL, GCP_Compute, Heroku_PostgreSQL, Huawei_Compute, Huawei_RDS, OnPremises, PostgreSQLCosmosDB, PostgreSQLFlexibleServer, PostgreSQLSingleServer, or Supabase_PostgreSQL + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SslMode +SSL mode used by a migration. +Default SSL mode for 'PostgreSQLSingleServer' is 'VerifyFull'. +Default SSL mode for other source types is 'Prefer'. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartDataMigration +Indicates if data migration must start right away. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetDbServerFullyQualifiedDomainName +Fully qualified domain name (FQDN) or IP address of the target server. +This property is optional. +When provided, the migration service will always use it to connect to the target server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TriggerCutover +Indicates if cutover must be triggered for the entire migration. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigration + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md new file mode 100644 index 000000000000..834311d0d3c1 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerThreatProtectionSetting.md @@ -0,0 +1,261 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/new-azpostgresqlflexibleserverthreatprotectionsetting +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServerThreatProtectionSetting + +## SYNOPSIS +Create a server's Advanced Threat Protection settings. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName + [-SubscriptionId ] [-State ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaIdentityExpanded +``` +New-AzPostgreSqlFlexibleServerThreatProtectionSetting -InputObject + [-State ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Create a server's Advanced Threat Protection settings. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +Specifies the state of the advanced threat protection, whether it is enabled, disabled, or a state has not been applied yet on the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IAdvancedThreatProtectionSettingsModel + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerVirtualEndpoint.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerVirtualEndpoint.md new file mode 100644 index 000000000000..9273e81df2ef --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/New-AzPostgreSqlFlexibleServerVirtualEndpoint.md @@ -0,0 +1,314 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/new-azpostgresqlflexibleservervirtualendpoint +schema: 2.0.0 +--- + +# New-AzPostgreSqlFlexibleServerVirtualEndpoint + +## SYNOPSIS +Create a pair of virtual endpoints for a server. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-EndpointType ] [-Member ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaIdentityExpanded +``` +New-AzPostgreSqlFlexibleServerVirtualEndpoint -InputObject + [-EndpointType ] [-Member ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaIdentityFlexibleServerExpanded +``` +New-AzPostgreSqlFlexibleServerVirtualEndpoint -FlexibleServerInputObject + -Name [-EndpointType ] [-Member ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Create a pair of virtual endpoints for a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndpointType +Type of endpoint for the virtual endpoints. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CreateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Member +List of servers that one of the virtual endpoints can refer to. + +```yaml +Type: System.String[] +Parameter Sets: CreateExpanded, CreateViaIdentityExpanded, CreateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Base name of the virtual endpoints. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaIdentityFlexibleServerExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: VirtualEndpointName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded, CreateViaJsonFilePath, CreateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IVirtualEndpoint + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..f266a5e6afe0 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,216 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Deletes or drops an existing server. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlFlexibleServer -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes or drops an existing server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md new file mode 100644 index 000000000000..f98eac30b300 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md @@ -0,0 +1,254 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleserveradministratorsmicrosoftentra +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra + +## SYNOPSIS +Deletes an existing server administrator associated to a Microsoft Entra principal. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentityFlexibleServer +``` +Remove-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra + -FlexibleServerInputObject -ObjectId + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes an existing server administrator associated to a Microsoft Entra principal. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ObjectId +Object identifier of the Microsoft Entra principal. + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md new file mode 100644 index 000000000000..5e8a6e4ab792 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand.md @@ -0,0 +1,254 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleserverbackupsautomaticandondemand +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand + +## SYNOPSIS +Deletes a specific backup, given its name. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -BackupName -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentityFlexibleServer +``` +Remove-AzPostgreSqlFlexibleServerBackupsAutomaticAndOnDemand -BackupName + -FlexibleServerInputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a specific backup, given its name. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupName +Name of the backup. + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServerDatabase.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..c8ae9c3d204b --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServerDatabase.md @@ -0,0 +1,255 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleserverdatabase +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlFlexibleServerDatabase + +## SYNOPSIS +Deletes an existing database. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlFlexibleServerDatabase -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentityFlexibleServer +``` +Remove-AzPostgreSqlFlexibleServerDatabase -FlexibleServerInputObject + -Name [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Deletes an existing database. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the database (case-sensitive). +Exact database names can be retrieved by getting the list of all existing databases in a server. + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityFlexibleServer +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..8725fcaa217c --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,254 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlFlexibleServerFirewallRule + +## SYNOPSIS +Deletes an existing firewall rule. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlFlexibleServerFirewallRule -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentityFlexibleServer +``` +Remove-AzPostgreSqlFlexibleServerFirewallRule -FlexibleServerInputObject + -Name [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Deletes an existing firewall rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the firewall rule. + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityFlexibleServer +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md new file mode 100644 index 000000000000..6c4ddf9cb39c --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Remove-AzPostgreSqlFlexibleServerVirtualEndpoint.md @@ -0,0 +1,254 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/remove-azpostgresqlflexibleservervirtualendpoint +schema: 2.0.0 +--- + +# Remove-AzPostgreSqlFlexibleServerVirtualEndpoint + +## SYNOPSIS +Deletes a pair of virtual endpoints. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName + -ServerName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzPostgreSqlFlexibleServerVirtualEndpoint -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentityFlexibleServer +``` +Remove-AzPostgreSqlFlexibleServerVirtualEndpoint + -FlexibleServerInputObject -Name [-DefaultProfile ] + [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a pair of virtual endpoints. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Base name of the virtual endpoints. + +```yaml +Type: System.String +Parameter Sets: Delete, DeleteViaIdentityFlexibleServer +Aliases: VirtualEndpointName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Restart-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Restart-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..2ac5fc654fea --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Restart-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,324 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/restart-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Restart-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Restarts PostgreSQL database engine in a server. + +## SYNTAX + +### RestartExpanded (Default) +``` +Restart-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-FailoverMode ] [-RestartWithFailover] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +### Restart +``` +Restart-AzPostgreSqlFlexibleServer -Name -ResourceGroupName -Parameter + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### RestartViaIdentity +``` +Restart-AzPostgreSqlFlexibleServer -InputObject + -Parameter [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] + [-WhatIf] [] +``` + +### RestartViaIdentityExpanded +``` +Restart-AzPostgreSqlFlexibleServer -InputObject [-FailoverMode ] + [-RestartWithFailover] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### RestartViaJsonFilePath +``` +Restart-AzPostgreSqlFlexibleServer -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### RestartViaJsonString +``` +Restart-AzPostgreSqlFlexibleServer -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Restarts PostgreSQL database engine in a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FailoverMode +Failover mode. + +```yaml +Type: System.String +Parameter Sets: RestartExpanded, RestartViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: RestartViaIdentity, RestartViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Restart operation + +```yaml +Type: System.String +Parameter Sets: RestartViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Restart operation + +```yaml +Type: System.String +Parameter Sets: RestartViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Restart, RestartExpanded, RestartViaJsonFilePath, RestartViaJsonString +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +PostgreSQL database engine restart parameters. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IRestartParameter +Parameter Sets: Restart, RestartViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Restart, RestartExpanded, RestartViaJsonFilePath, RestartViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestartWithFailover +Indicates if restart the PostgreSQL database engine should failover or switch over from primary to standby. +This only works if server has high availability enabled. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: RestartExpanded, RestartViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Restart, RestartExpanded, RestartViaJsonFilePath, RestartViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IRestartParameter + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Set-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Set-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..3a0fdbc6188a --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Set-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,822 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/set-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Set-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Update a new server. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Set-AzPostgreSqlFlexibleServer -Name -ResourceGroupName -Location + [-SubscriptionId ] [-AdministratorLogin ] [-AdministratorLoginPassword ] + [-AuthConfigActiveDirectoryAuth ] [-AuthConfigPasswordAuth ] [-AuthConfigTenantId ] + [-AvailabilityZone ] [-BackupGeoRedundantBackup ] [-BackupRetentionDay ] + [-ClusterDefaultDatabaseName ] [-ClusterSize ] [-CreateMode ] + [-DataEncryptionGeoBackupKeyUri ] [-DataEncryptionGeoBackupUserAssignedIdentityId ] + [-DataEncryptionPrimaryKeyUri ] [-DataEncryptionPrimaryUserAssignedIdentityId ] + [-DataEncryptionType ] [-EnableSystemAssignedIdentity ] [-HighAvailabilityMode ] + [-HighAvailabilityStandbyAvailabilityZone ] [-IdentityPrincipalId ] + [-NetworkDelegatedSubnetResourceId ] [-NetworkPrivateDnsZoneArmResourceId ] + [-NetworkPublicNetworkAccess ] [-PointInTimeUtc ] [-ReplicationRole ] + [-SkuName ] [-SkuTier ] [-SourceServerResourceId ] [-StorageAutoGrow ] + [-StorageIop ] [-StorageSizeGb ] [-StorageThroughput ] [-StorageTier ] + [-StorageType ] [-Tag ] [-UserAssignedIdentity ] [-Version ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Set-AzPostgreSqlFlexibleServer -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaJsonString +``` +Set-AzPostgreSqlFlexibleServer -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Update a new server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AdministratorLogin +Name of the login designated as the first password based administrator assigned to your instance of PostgreSQL. +Must be specified the first time that you enable password based authentication on a server. +Once set to a given value, it cannot be changed for the rest of the life of a server. +If you disable password based authentication on a server which had it enabled, this password based role isn't deleted. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdministratorLoginPassword +Password assigned to the administrator login. +As long as password authentication is enabled, this password can be changed at any time. + +```yaml +Type: System.Security.SecureString +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigActiveDirectoryAuth +Indicates if the server supports Microsoft Entra authentication. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigPasswordAuth +Indicates if the server supports password based authentication. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigTenantId +Identifier of the tenant of the delegated resource. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AvailabilityZone +Availability zone of a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupGeoRedundantBackup +Indicates if the server is configured to create geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterDefaultDatabaseName +Default database name for the elastic cluster. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterSize +Number of nodes assigned to the elastic cluster. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CreateMode +Creation mode of a new server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionGeoBackupKeyUri +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionGeoBackupUserAssignedIdentityId +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionPrimaryKeyUri +URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionPrimaryUserAssignedIdentityId +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the primary storage associated to a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionType +Data encryption type used by a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. + +```yaml +Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HighAvailabilityMode +High availability mode for a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HighAvailabilityStandbyAvailabilityZone +Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityPrincipalId +Identifier of the object of the service principal associated to the user assigned managed identity. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +The geo-location where the resource lives + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkDelegatedSubnetResourceId +Resource identifier of the delegated subnet. +Required during creation of a new server, in case you want the server to be integrated into your own virtual network. +For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkPrivateDnsZoneArmResourceId +Identifier of the private DNS zone. +Required during creation of a new server, in case you want the server to be integrated into your own virtual network. +For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkPublicNetworkAccess +Indicates if public network access is enabled or not. +This is only supported for servers that are not integrated into a virtual network which is owned and provided by customer when server is deployed. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PointInTimeUtc +Creation time (in ISO8601 format) of the backup which you want to restore in the new server. +It's required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', or 'ReviveDropped'. + +```yaml +Type: System.DateTime +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicationRole +Role of the server in a replication set. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuName +Name by which is known a given compute size assigned to a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuTier +Tier of the compute assigned to a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceServerResourceId +Identifier of the server to be used as the source of the new server. +Required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', 'Replica', or 'ReviveDropped'. +This property is returned only when the target server is a read replica. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageAutoGrow +Flag to enable or disable the automatic growth of storage size of a server when available space is nearing zero and conditions allow for automatically growing storage size. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageIop +Maximum IOPS supported for storage. +Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageSizeGb +Size of storage assigned to a server. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageThroughput +Maximum throughput supported for storage. +Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. + +```yaml +Type: System.Int32 +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageTier +Storage tier of a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageType +Type of storage assigned to a server. +Allowed values are Premium_LRS, PremiumV2_LRS, or UltraSSD_LRS. +If not specified, it defaults to Premium_LRS. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserAssignedIdentity +The array of user assigned identities associated with the resource. +The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.' + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Version +Major version of PostgreSQL database engine. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IServer + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md new file mode 100644 index 000000000000..af598d2203d5 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra.md @@ -0,0 +1,284 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/set-azpostgresqlflexibleserveradministratorsmicrosoftentra +schema: 2.0.0 +--- + +# Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra + +## SYNOPSIS +Update a new server administrator associated to a Microsoft Entra principal. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName [-SubscriptionId ] [-PrincipalName ] [-PrincipalType ] + [-TenantId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaJsonFilePath +``` +Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Set-AzPostgreSqlFlexibleServerAdministratorsMicrosoftEntra -ObjectId -ResourceGroupName + -ServerName -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a new server administrator associated to a Microsoft Entra principal. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ObjectId +Object identifier of the Microsoft Entra principal. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrincipalName +Name of the Microsoft Entra principal. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PrincipalType +Type of Microsoft Entra principal to which the server administrator is associated. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TenantId +Identifier of the tenant in which the Microsoft Entra principal exists. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IAdministratorMicrosoftEntra + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Set-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Set-AzPostgreSqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..595ea6f2eb87 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Set-AzPostgreSqlFlexibleServerConfiguration.md @@ -0,0 +1,294 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/set-azpostgresqlflexibleserverconfiguration +schema: 2.0.0 +--- + +# Set-AzPostgreSqlFlexibleServerConfiguration + +## SYNOPSIS +Put using Put verb, the value assigned to a specific modifiable configuration (also known as server parameter) of a server. + +## SYNTAX + +### PutExpanded (Default) +``` +Set-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### Put +``` +Set-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + -Parameter [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### PutViaJsonFilePath +``` +Set-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### PutViaJsonString +``` +Set-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Put using Put verb, the value assigned to a specific modifiable configuration (also known as server parameter) of a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Put operation + +```yaml +Type: System.String +Parameter Sets: PutViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Put operation + +```yaml +Type: System.String +Parameter Sets: PutViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the configuration (also known as server parameter). + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +Configuration (also known as server parameter). + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IConfigurationForUpdate +Parameter Sets: Put +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Source +Source of the value assigned to the configuration (also known as server parameter). +Required to update the value assigned to a specific modifiable configuration. + +```yaml +Type: System.String +Parameter Sets: PutExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Value +Value of the configuration (also known as server parameter). +Required to update the value assigned to a specific modifiable configuration. + +```yaml +Type: System.String +Parameter Sets: PutExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IConfigurationForUpdate + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IConfiguration + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Set-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Set-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..d97404435ff3 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Set-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,270 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/set-azpostgresqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Set-AzPostgreSqlFlexibleServerFirewallRule + +## SYNOPSIS +Update a new firewall rule or update an existing firewall rule. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Set-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + -EndIPAddress -StartIPAddress [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Set-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Set-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Update a new firewall rule or update an existing firewall rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +IP address defining the end of the range of addresses of a firewall rule. +Must be expressed in IPv4 format. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the firewall rule. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +IP address defining the start of the range of addresses of a firewall rule. +Must be expressed in IPv4 format. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IFirewallRule + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md new file mode 100644 index 000000000000..ff53474a9568 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Set-AzPostgreSqlFlexibleServerThreatProtectionSetting.md @@ -0,0 +1,238 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/set-azpostgresqlflexibleserverthreatprotectionsetting +schema: 2.0.0 +--- + +# Set-AzPostgreSqlFlexibleServerThreatProtectionSetting + +## SYNOPSIS +Update a server's Advanced Threat Protection settings. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Set-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName + [-SubscriptionId ] [-State ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Set-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Set-AzPostgreSqlFlexibleServerThreatProtectionSetting -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Update a server's Advanced Threat Protection settings. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -State +Specifies the state of the advanced threat protection, whether it is enabled, disabled, or a state has not been applied yet on the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IAdvancedThreatProtectionSettingsModel + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Start-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Start-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..47f44e99a8c6 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Start-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,216 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/start-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Start-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Starts a stopped server. + +## SYNTAX + +### Start (Default) +``` +Start-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### StartViaIdentity +``` +Start-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] + [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Starts a stopped server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: StartViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Start +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md new file mode 100644 index 000000000000..4edd9e106685 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention.md @@ -0,0 +1,308 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/start-azpostgresqlflexibleserverbackupslongtermretention +schema: 2.0.0 +--- + +# Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention + +## SYNOPSIS +Initiates a long term retention backup. + +## SYNTAX + +### StartViaIdentity (Default) +``` +Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -InputObject + -Parameter [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### Start +``` +Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -ResourceGroupName -ServerName + -Parameter [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### StartExpanded +``` +Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -ResourceGroupName -ServerName + -BackupSettingBackupName -TargetDetailSasUriList [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### StartViaIdentityExpanded +``` +Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -InputObject + -BackupSettingBackupName -TargetDetailSasUriList [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### StartViaJsonFilePath +``` +Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### StartViaJsonString +``` +Start-AzPostgreSqlFlexibleServerBackupsLongTermRetention -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Initiates a long term retention backup. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupSettingBackupName +Backup Name for the current backup + +```yaml +Type: System.String +Parameter Sets: StartExpanded, StartViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: StartViaIdentity, StartViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Start operation + +```yaml +Type: System.String +Parameter Sets: StartViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Start operation + +```yaml +Type: System.String +Parameter Sets: StartViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +The request that is made for a long term retention backup. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IBackupsLongTermRetentionRequest +Parameter Sets: Start, StartViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Start, StartExpanded, StartViaJsonFilePath, StartViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Start, StartExpanded, StartViaJsonFilePath, StartViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Start, StartExpanded, StartViaJsonFilePath, StartViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetDetailSasUriList +List of SAS uri of storage containers where backup data is to be streamed/copied. + +```yaml +Type: System.Security.SecureString[] +Parameter Sets: StartExpanded, StartViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IBackupsLongTermRetentionRequest + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IBackupsLongTermRetentionResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Stop-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Stop-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..90e2aa0b8e7c --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Stop-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,216 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/stop-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Stop-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Stops a server. + +## SYNTAX + +### Stop (Default) +``` +Stop-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### StopViaIdentity +``` +Stop-AzPostgreSqlFlexibleServer -InputObject [-DefaultProfile ] + [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Stops a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: StopViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Stop-AzPostgreSqlFlexibleServerMigration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Stop-AzPostgreSqlFlexibleServerMigration.md new file mode 100644 index 000000000000..637de889ab12 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Stop-AzPostgreSqlFlexibleServerMigration.md @@ -0,0 +1,222 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/stop-azpostgresqlflexibleservermigration +schema: 2.0.0 +--- + +# Stop-AzPostgreSqlFlexibleServerMigration + +## SYNOPSIS +Cancels an active migration. + +## SYNTAX + +### Cancel (Default) +``` +Stop-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### CancelViaIdentity +``` +Stop-AzPostgreSqlFlexibleServerMigration -InputObject + [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### CancelViaIdentityFlexibleServer +``` +Stop-AzPostgreSqlFlexibleServerMigration -FlexibleServerInputObject + -Name [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Cancels an active migration. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CancelViaIdentityFlexibleServer +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CancelViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of migration. + +```yaml +Type: System.String +Parameter Sets: Cancel, CancelViaIdentityFlexibleServer +Aliases: MigrationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Cancel +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Cancel +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Cancel +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigration + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md new file mode 100644 index 000000000000..4d22805f9356 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite.md @@ -0,0 +1,263 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/test-azpostgresqlflexibleserverbackupslongtermretentionprerequisite +schema: 2.0.0 +--- + +# Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite + +## SYNOPSIS +Performs all checks required for a long term retention backup operation to succeed. + +## SYNTAX + +### CheckExpanded (Default) +``` +Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite -ResourceGroupName + -ServerName -BackupSettingBackupName [-SubscriptionId ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### Check +``` +Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite -ResourceGroupName + -ServerName -Parameter [-SubscriptionId ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CheckViaIdentity +``` +Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite + -InputObject -Parameter + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CheckViaIdentityExpanded +``` +Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite + -InputObject -BackupSettingBackupName + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CheckViaJsonFilePath +``` +Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite -ResourceGroupName + -ServerName -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] + [-Confirm] [-WhatIf] [] +``` + +### CheckViaJsonString +``` +Test-AzPostgreSqlFlexibleServerBackupsLongTermRetentionPrerequisite -ResourceGroupName + -ServerName -JsonString [-SubscriptionId ] [-DefaultProfile ] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Performs all checks required for a long term retention backup operation to succeed. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -BackupSettingBackupName +Backup Name for the current backup + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CheckViaIdentity, CheckViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +A request that is made for pre-backup. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ILtrPreBackupRequest +Parameter Sets: Check, CheckViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Check, CheckExpanded, CheckViaJsonFilePath, CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Check, CheckExpanded, CheckViaJsonFilePath, CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Check, CheckExpanded, CheckViaJsonFilePath, CheckViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ILtrPreBackupRequest + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ILtrPreBackupResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md new file mode 100644 index 000000000000..3a72cfb9ef6b --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Test-AzPostgreSqlFlexibleServerMigrationNameAvailability.md @@ -0,0 +1,277 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/test-azpostgresqlflexibleservermigrationnameavailability +schema: 2.0.0 +--- + +# Test-AzPostgreSqlFlexibleServerMigrationNameAvailability + +## SYNOPSIS +Checks if a proposed migration name is valid and available. + +## SYNTAX + +### CheckExpanded (Default) +``` +Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -ResourceGroupName -ServerName + -Name -Type [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### Check +``` +Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -ResourceGroupName -ServerName + -Parameter [-SubscriptionId ] [-DefaultProfile ] [-Confirm] + [-WhatIf] [] +``` + +### CheckViaIdentity +``` +Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -InputObject + -Parameter [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### CheckViaIdentityExpanded +``` +Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -InputObject + -Name -Type [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CheckViaJsonFilePath +``` +Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### CheckViaJsonString +``` +Test-AzPostgreSqlFlexibleServerMigrationNameAvailability -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Checks if a proposed migration name is valid and available. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CheckViaIdentity, CheckViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the migration to check for validity and availability. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +Availability of a migration name. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigrationNameAvailability +Parameter Sets: Check, CheckViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Check, CheckExpanded, CheckViaJsonFilePath, CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: Check, CheckExpanded, CheckViaJsonFilePath, CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Check, CheckExpanded, CheckViaJsonFilePath, CheckViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Type +Type of resource. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigrationNameAvailability + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigrationNameAvailability + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Test-AzPostgreSqlFlexibleServerNameAvailability.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Test-AzPostgreSqlFlexibleServerNameAvailability.md new file mode 100644 index 000000000000..cb51a8a46172 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Test-AzPostgreSqlFlexibleServerNameAvailability.md @@ -0,0 +1,258 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/test-azpostgresqlflexibleservernameavailability +schema: 2.0.0 +--- + +# Test-AzPostgreSqlFlexibleServerNameAvailability + +## SYNOPSIS +Check the availability of name for resource + +## SYNTAX + +### CheckExpanded (Default) +``` +Test-AzPostgreSqlFlexibleServerNameAvailability -LocationName [-SubscriptionId ] + [-Name ] [-Type ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### Check +``` +Test-AzPostgreSqlFlexibleServerNameAvailability -LocationName + -Parameter [-SubscriptionId ] [-DefaultProfile ] [-Confirm] + [-WhatIf] [] +``` + +### CheckViaIdentity +``` +Test-AzPostgreSqlFlexibleServerNameAvailability -InputObject + -Parameter [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### CheckViaIdentityExpanded +``` +Test-AzPostgreSqlFlexibleServerNameAvailability -InputObject + [-Name ] [-Type ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CheckViaJsonFilePath +``` +Test-AzPostgreSqlFlexibleServerNameAvailability -LocationName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CheckViaJsonString +``` +Test-AzPostgreSqlFlexibleServerNameAvailability -LocationName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Check the availability of name for resource + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: CheckViaIdentity, CheckViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LocationName +The name of the location. + +```yaml +Type: System.String +Parameter Sets: Check, CheckExpanded, CheckViaJsonFilePath, CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the resource for which availability needs to be checked. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +The check availability request body. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ICheckNameAvailabilityRequest +Parameter Sets: Check, CheckViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Check, CheckExpanded, CheckViaJsonFilePath, CheckViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Type +The resource type. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded, CheckViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ICheckNameAvailabilityRequest + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.INameAvailabilityModel + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md new file mode 100644 index 000000000000..afc7004f0548 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally.md @@ -0,0 +1,212 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/test-azpostgresqlflexibleservernameavailabilityglobally +schema: 2.0.0 +--- + +# Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally + +## SYNOPSIS +Checks the validity and availability of the given name, to assign it to a new server or to use it as the base name of a new pair of virtual endpoints. + +## SYNTAX + +### CheckExpanded (Default) +``` +Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally [-SubscriptionId ] [-Name ] + [-Type ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### Check +``` +Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally -Parameter + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CheckViaJsonFilePath +``` +Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally -JsonFilePath [-SubscriptionId ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CheckViaJsonString +``` +Test-AzPostgreSqlFlexibleServerNameAvailabilityGlobally -JsonString [-SubscriptionId ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Checks the validity and availability of the given name, to assign it to a new server or to use it as the base name of a new pair of virtual endpoints. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Check operation + +```yaml +Type: System.String +Parameter Sets: CheckViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the resource for which availability needs to be checked. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +The check availability request body. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ICheckNameAvailabilityRequest +Parameter Sets: Check +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Type +The resource type. + +```yaml +Type: System.String +Parameter Sets: CheckExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.ICheckNameAvailabilityRequest + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.INameAvailabilityModel + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServer.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServer.md new file mode 100644 index 000000000000..59718b5834bd --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServer.md @@ -0,0 +1,829 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/update-azpostgresqlflexibleserver +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServer + +## SYNOPSIS +Update a new server. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServer -Name -ResourceGroupName [-SubscriptionId ] + [-AdministratorLoginPassword ] [-AuthConfigActiveDirectoryAuth ] + [-AuthConfigPasswordAuth ] [-AuthConfigTenantId ] [-BackupRetentionDay ] + [-ClusterDefaultDatabaseName ] [-ClusterSize ] [-CreateMode ] + [-DataEncryptionGeoBackupKeyUri ] [-DataEncryptionGeoBackupUserAssignedIdentityId ] + [-DataEncryptionPrimaryKeyUri ] [-DataEncryptionPrimaryUserAssignedIdentityId ] + [-DataEncryptionType ] [-EnableSystemAssignedIdentity ] [-HighAvailabilityMode ] + [-HighAvailabilityStandbyAvailabilityZone ] [-IdentityPrincipalId ] + [-MaintenanceWindowCustomWindow ] [-MaintenanceWindowDayOfWeek ] + [-MaintenanceWindowStartHour ] [-MaintenanceWindowStartMinute ] + [-NetworkDelegatedSubnetResourceId ] [-NetworkPrivateDnsZoneArmResourceId ] + [-NetworkPublicNetworkAccess ] [-ReplicaPromoteMode ] [-ReplicaPromoteOption ] + [-ReplicaRole ] [-ReplicationRole ] [-SkuName ] [-SkuTier ] + [-StorageAutoGrow ] [-StorageIop ] [-StorageSizeGb ] [-StorageThroughput ] + [-StorageTier ] [-StorageType ] [-Tag ] [-UserAssignedIdentity ] + [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServer -InputObject + [-AdministratorLoginPassword ] [-AuthConfigActiveDirectoryAuth ] + [-AuthConfigPasswordAuth ] [-AuthConfigTenantId ] [-BackupRetentionDay ] + [-ClusterDefaultDatabaseName ] [-ClusterSize ] [-CreateMode ] + [-DataEncryptionGeoBackupKeyUri ] [-DataEncryptionGeoBackupUserAssignedIdentityId ] + [-DataEncryptionPrimaryKeyUri ] [-DataEncryptionPrimaryUserAssignedIdentityId ] + [-DataEncryptionType ] [-EnableSystemAssignedIdentity ] [-HighAvailabilityMode ] + [-HighAvailabilityStandbyAvailabilityZone ] [-IdentityPrincipalId ] + [-MaintenanceWindowCustomWindow ] [-MaintenanceWindowDayOfWeek ] + [-MaintenanceWindowStartHour ] [-MaintenanceWindowStartMinute ] + [-NetworkDelegatedSubnetResourceId ] [-NetworkPrivateDnsZoneArmResourceId ] + [-NetworkPublicNetworkAccess ] [-ReplicaPromoteMode ] [-ReplicaPromoteOption ] + [-ReplicaRole ] [-ReplicationRole ] [-SkuName ] [-SkuTier ] + [-StorageAutoGrow ] [-StorageIop ] [-StorageSizeGb ] [-StorageThroughput ] + [-StorageTier ] [-StorageType ] [-Tag ] [-UserAssignedIdentity ] + [-Version ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a new server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AdministratorLoginPassword +Password assigned to the administrator login. +As long as password authentication is enabled, this password can be changed at any time. + +```yaml +Type: System.Security.SecureString +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigActiveDirectoryAuth +Indicates if the server supports Microsoft Entra authentication. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigPasswordAuth +Indicates if the server supports password based authentication. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AuthConfigTenantId +Identifier of the tenant of the delegated resource. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRetentionDay +Backup retention days for the server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterDefaultDatabaseName +Default database name for the elastic cluster. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ClusterSize +Number of nodes assigned to the elastic cluster. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CreateMode +Creation mode of a new server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionGeoBackupKeyUri +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionGeoBackupUserAssignedIdentityId +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionPrimaryKeyUri +URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionPrimaryUserAssignedIdentityId +Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the primary storage associated to a server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DataEncryptionType +Data encryption type used by a server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EnableSystemAssignedIdentity +Determines whether to enable a system-assigned identity for the resource. + +```yaml +Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HighAvailabilityMode +High availability mode for a server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HighAvailabilityStandbyAvailabilityZone +Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityPrincipalId +Identifier of the object of the service principal associated to the user assigned managed identity. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -MaintenanceWindowCustomWindow +Indicates whether custom window is enabled or disabled. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowDayOfWeek +Day of the week to be used for maintenance window. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowStartHour +Start hour to be used for maintenance window. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MaintenanceWindowStartMinute +Start minute to be used for maintenance window. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: ServerName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkDelegatedSubnetResourceId +Resource identifier of the delegated subnet. +Required during creation of a new server, in case you want the server to be integrated into your own virtual network. +For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkPrivateDnsZoneArmResourceId +Identifier of the private DNS zone. +Required during creation of a new server, in case you want the server to be integrated into your own virtual network. +For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NetworkPublicNetworkAccess +Indicates if public network access is enabled or not. +This is only supported for servers that are not integrated into a virtual network which is owned and provided by customer when server is deployed. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicaPromoteMode +Type of operation to apply on the read replica. +This property is write only. +Standalone means that the read replica will be promoted to a standalone server, and will become a completely independent entity from the replication set. +Switchover means that the read replica will roles with the primary server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicaPromoteOption +Data synchronization option to use when processing the operation specified in the promoteMode property. +This property is write only. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicaRole +Role of the server in a replication set. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ReplicationRole +Role of the server in a replication set. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuName +Name by which is known a given compute size assigned to a server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SkuTier +Tier of the compute assigned to a server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageAutoGrow +Flag to enable or disable the automatic growth of storage size of a server when available space is nearing zero and conditions allow for automatically growing storage size. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageIop +Maximum IOPS supported for storage. +Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageSizeGb +Size of storage assigned to a server. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageThroughput +Maximum throughput supported for storage. +Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageTier +Storage tier of a server. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageType +Type of storage assigned to a server. +Allowed values are Premium_LRS, PremiumV2_LRS, or UltraSSD_LRS. +If not specified, it defaults to Premium_LRS. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UserAssignedIdentity +The array of user assigned identities associated with the resource. +The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.' + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Version +Major version of PostgreSQL database engine. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IServer + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServerConfiguration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServerConfiguration.md new file mode 100644 index 000000000000..3b6dc82ed3b3 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServerConfiguration.md @@ -0,0 +1,316 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/update-azpostgresqlflexibleserverconfiguration +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServerConfiguration + +## SYNOPSIS +Update the value assigned to a specific modifiable configuration (also known as server parameter) of a server. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServerConfiguration -InputObject + [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityFlexibleServerExpanded +``` +Update-AzPostgreSqlFlexibleServerConfiguration -FlexibleServerInputObject + -Name [-Source ] [-Value ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzPostgreSqlFlexibleServerConfiguration -Name -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +## DESCRIPTION +Update the value assigned to a specific modifiable configuration (also known as server parameter) of a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the configuration (also known as server parameter). + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: ConfigurationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Source +Source of the value assigned to the configuration (also known as server parameter). +Required to update the value assigned to a specific modifiable configuration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Value +Value of the configuration (also known as server parameter). +Required to update the value assigned to a specific modifiable configuration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IConfiguration + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServerDatabase.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServerDatabase.md new file mode 100644 index 000000000000..ad345e5e4c9c --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServerDatabase.md @@ -0,0 +1,271 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/update-azpostgresqlflexibleserverdatabase +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServerDatabase + +## SYNOPSIS +Update a new database. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServerDatabase -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServerDatabase -InputObject [-Charset ] + [-Collation ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaIdentityFlexibleServerExpanded +``` +Update-AzPostgreSqlFlexibleServerDatabase -FlexibleServerInputObject + -Name [-Charset ] [-Collation ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a new database. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Charset +Character set of the database. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Collation +Collation of the database. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the database (case-sensitive). +Exact database names can be retrieved by getting the list of all existing databases in a server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: DatabaseName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IDatabase + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServerFirewallRule.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServerFirewallRule.md new file mode 100644 index 000000000000..e5a5bad1a8ff --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServerFirewallRule.md @@ -0,0 +1,272 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/update-azpostgresqlflexibleserverfirewallrule +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServerFirewallRule + +## SYNOPSIS +Update a new firewall rule or update an existing firewall rule. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServerFirewallRule -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-EndIPAddress ] [-StartIPAddress ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServerFirewallRule -InputObject + [-EndIPAddress ] [-StartIPAddress ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityFlexibleServerExpanded +``` +Update-AzPostgreSqlFlexibleServerFirewallRule -FlexibleServerInputObject + -Name [-EndIPAddress ] [-StartIPAddress ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a new firewall rule or update an existing firewall rule. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndIPAddress +IP address defining the end of the range of addresses of a firewall rule. +Must be expressed in IPv4 format. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Name of the firewall rule. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: FirewallRuleName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartIPAddress +IP address defining the start of the range of addresses of a firewall rule. +Must be expressed in IPv4 format. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IFirewallRule + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServerMigration.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServerMigration.md new file mode 100644 index 000000000000..240cd36095ff --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServerMigration.md @@ -0,0 +1,572 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/update-azpostgresqlflexibleservermigration +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServerMigration + +## SYNOPSIS +Update an existing migration. +The request body can contain one to many of the mutable properties present in the migration definition. +Certain property update initiate migration state transitions. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + [-SubscriptionId ] [-AdminCredentialsSourceServerPassword ] + [-AdminCredentialsTargetServerPassword ] [-Cancel ] + [-DbsToCancelMigrationOn ] [-DbsToMigrate ] [-DbsToTriggerCutoverOn ] + [-MigrateRole ] [-MigrationMode ] [-MigrationWindowStartTimeInUtc ] + [-OverwriteDbsInTarget ] [-SecretParameterSourceServerUsername ] + [-SecretParameterTargetServerUsername ] [-SetupLogicalReplicationOnSourceDbIfNeeded ] + [-SourceDbServerFullyQualifiedDomainName ] [-SourceDbServerResourceId ] + [-StartDataMigration ] [-Tag ] [-TargetDbServerFullyQualifiedDomainName ] + [-TriggerCutover ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServerMigration -InputObject + [-AdminCredentialsSourceServerPassword ] [-AdminCredentialsTargetServerPassword ] + [-Cancel ] [-DbsToCancelMigrationOn ] [-DbsToMigrate ] + [-DbsToTriggerCutoverOn ] [-MigrateRole ] [-MigrationMode ] + [-MigrationWindowStartTimeInUtc ] [-OverwriteDbsInTarget ] + [-SecretParameterSourceServerUsername ] [-SecretParameterTargetServerUsername ] + [-SetupLogicalReplicationOnSourceDbIfNeeded ] [-SourceDbServerFullyQualifiedDomainName ] + [-SourceDbServerResourceId ] [-StartDataMigration ] [-Tag ] + [-TargetDbServerFullyQualifiedDomainName ] [-TriggerCutover ] [-DefaultProfile ] + [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityFlexibleServerExpanded +``` +Update-AzPostgreSqlFlexibleServerMigration -FlexibleServerInputObject + -Name [-AdminCredentialsSourceServerPassword ] + [-AdminCredentialsTargetServerPassword ] [-Cancel ] + [-DbsToCancelMigrationOn ] [-DbsToMigrate ] [-DbsToTriggerCutoverOn ] + [-MigrateRole ] [-MigrationMode ] [-MigrationWindowStartTimeInUtc ] + [-OverwriteDbsInTarget ] [-SecretParameterSourceServerUsername ] + [-SecretParameterTargetServerUsername ] [-SetupLogicalReplicationOnSourceDbIfNeeded ] + [-SourceDbServerFullyQualifiedDomainName ] [-SourceDbServerResourceId ] + [-StartDataMigration ] [-Tag ] [-TargetDbServerFullyQualifiedDomainName ] + [-TriggerCutover ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaJsonString +``` +Update-AzPostgreSqlFlexibleServerMigration -Name -ResourceGroupName -ServerName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Update an existing migration. +The request body can contain one to many of the mutable properties present in the migration definition. +Certain property update initiate migration state transitions. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AdminCredentialsSourceServerPassword +Password for the user of the source server. + +```yaml +Type: System.Security.SecureString +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AdminCredentialsTargetServerPassword +Password for the user of the target server. + +```yaml +Type: System.Security.SecureString +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Cancel +Indicates if cancel must be triggered for the entire migration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DbsToCancelMigrationOn +When you want to trigger cancel for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DbsToMigrate +Names of databases to migrate. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DbsToTriggerCutoverOn +When you want to trigger cutover for specific databases set 'triggerCutover' to 'True' and the names of the specific databases in this array. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrateRole +Indicates if roles and permissions must be migrated. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrationMode +Mode used to perform the migration: Online or Offline. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MigrationWindowStartTimeInUtc +Start time (UTC) for migration window. + +```yaml +Type: System.DateTime +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of migration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: MigrationName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverwriteDbsInTarget +Indicates if databases on the target server can be overwritten when already present. +If set to 'False', when the migration workflow detects that the database already exists on the target server, it will wait for a confirmation. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecretParameterSourceServerUsername +Gets or sets the name of the user for the source server. +This user doesn't need to be an administrator. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecretParameterTargetServerUsername +Gets or sets the name of the user for the target server. +This user doesn't need to be an administrator. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SetupLogicalReplicationOnSourceDbIfNeeded +Indicates whether to setup logical replication on source server, if needed. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceDbServerFullyQualifiedDomainName +Fully qualified domain name (FQDN) or IP address of the source server. +This property is optional. +When provided, the migration service will always use it to connect to the source server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceDbServerResourceId +Identifier of the source database server resource, when 'sourceType' is 'PostgreSQLSingleServer'. +For other source types this must be set to ipaddress:port@username or hostname:port@username. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartDataMigration +Indicates if data migration must start right away. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Application-specific metadata in the form of key-value pairs. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetDbServerFullyQualifiedDomainName +Fully qualified domain name (FQDN) or IP address of the target server. +This property is optional. +When provided, the migration service will always use it to connect to the target server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TriggerCutover +Indicates if cutover must be triggered for the entire migration. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IMigration + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md new file mode 100644 index 000000000000..3210ac4cd723 --- /dev/null +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.Autorest/help/Update-AzPostgreSqlFlexibleServerVirtualEndpoint.md @@ -0,0 +1,315 @@ +--- +external help file: +Module Name: Az.PostgreSQLFlexibleServer +online version: https://learn.microsoft.com/powershell/module/az.postgresqlflexibleserver/update-azpostgresqlflexibleservervirtualendpoint +schema: 2.0.0 +--- + +# Update-AzPostgreSqlFlexibleServerVirtualEndpoint + +## SYNOPSIS +Update a pair of virtual endpoints for a server. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName + -ServerName [-SubscriptionId ] [-EndpointType ] [-Member ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzPostgreSqlFlexibleServerVirtualEndpoint -InputObject + [-EndpointType ] [-Member ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaIdentityFlexibleServerExpanded +``` +Update-AzPostgreSqlFlexibleServerVirtualEndpoint + -FlexibleServerInputObject -Name [-EndpointType ] + [-Member ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName + -ServerName -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzPostgreSqlFlexibleServerVirtualEndpoint -Name -ResourceGroupName + -ServerName -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] + [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Update a pair of virtual endpoints for a server. + +## EXAMPLES + +### -------------------------- EXAMPLE 1 -------------------------- +```powershell +{{ Add code here }} +``` + + + +### -------------------------- EXAMPLE 2 -------------------------- +```powershell +{{ Add code here }} +``` + + + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndpointType +Type of endpoint for the virtual endpoints. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FlexibleServerInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Member +List of servers that one of the virtual endpoints can refer to. + +```yaml +Type: System.String[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityFlexibleServerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Base name of the virtual endpoints. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityFlexibleServerExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: VirtualEndpointName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ServerName +The name of the server. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IPostgreSqlFlexibleServerIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.PostgreSQLFlexibleServer.Models.IVirtualEndpoint + +## NOTES + +## RELATED LINKS + diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.sln b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.sln index 919e65e46c84..2da2998a6260 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.sln +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer.sln @@ -21,7 +21,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PostgreSQLFlexibleServer", EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PostgreSQLFlexibleServer.Autorest", "PostgreSQLFlexibleServer.Autorest", "{4C14BC2F-C5CA-81E0-B3AD-B9EF19176EC4}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.PostgreSQLFlexibleServer", "..\..\generated\PostgreSQLFlexibleServer\PostgreSQLFlexibleServer.Autorest\Az.PostgreSQLFlexibleServer.csproj", "{18B43B7E-2730-45E2-8AFA-F96F449D9792}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.PostgreSQLFlexibleServer", "..\..\generated\PostgreSQLFlexibleServer\PostgreSQLFlexibleServer.Autorest\Az.PostgreSQLFlexibleServer.csproj", "{4877E354-DBE1-419D-AE19-003F312B8553}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -117,18 +117,18 @@ Global {049ECE8E-D576-49E9-A3D1-ACD0443C7BD8}.Release|x64.Build.0 = Release|Any CPU {049ECE8E-D576-49E9-A3D1-ACD0443C7BD8}.Release|x86.ActiveCfg = Release|Any CPU {049ECE8E-D576-49E9-A3D1-ACD0443C7BD8}.Release|x86.Build.0 = Release|Any CPU - {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Debug|Any CPU.Build.0 = Debug|Any CPU - {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Debug|x64.ActiveCfg = Debug|Any CPU - {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Debug|x64.Build.0 = Debug|Any CPU - {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Debug|x86.ActiveCfg = Debug|Any CPU - {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Debug|x86.Build.0 = Debug|Any CPU - {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Release|Any CPU.ActiveCfg = Release|Any CPU - {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Release|Any CPU.Build.0 = Release|Any CPU - {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Release|x64.ActiveCfg = Release|Any CPU - {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Release|x64.Build.0 = Release|Any CPU - {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Release|x86.ActiveCfg = Release|Any CPU - {18B43B7E-2730-45E2-8AFA-F96F449D9792}.Release|x86.Build.0 = Release|Any CPU + {4877E354-DBE1-419D-AE19-003F312B8553}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4877E354-DBE1-419D-AE19-003F312B8553}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4877E354-DBE1-419D-AE19-003F312B8553}.Debug|x64.ActiveCfg = Debug|Any CPU + {4877E354-DBE1-419D-AE19-003F312B8553}.Debug|x64.Build.0 = Debug|Any CPU + {4877E354-DBE1-419D-AE19-003F312B8553}.Debug|x86.ActiveCfg = Debug|Any CPU + {4877E354-DBE1-419D-AE19-003F312B8553}.Debug|x86.Build.0 = Debug|Any CPU + {4877E354-DBE1-419D-AE19-003F312B8553}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4877E354-DBE1-419D-AE19-003F312B8553}.Release|Any CPU.Build.0 = Release|Any CPU + {4877E354-DBE1-419D-AE19-003F312B8553}.Release|x64.ActiveCfg = Release|Any CPU + {4877E354-DBE1-419D-AE19-003F312B8553}.Release|x64.Build.0 = Release|Any CPU + {4877E354-DBE1-419D-AE19-003F312B8553}.Release|x86.ActiveCfg = Release|Any CPU + {4877E354-DBE1-419D-AE19-003F312B8553}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -140,6 +140,6 @@ Global {E3265F51-0054-414E-87F5-AE64F6390B0A} = {32836310-FB5E-5A92-56B4-44D826EF11F5} {C98F291C-096E-4859-87D9-44D693C96826} = {32836310-FB5E-5A92-56B4-44D826EF11F5} {3E5AC47F-FCDE-40F0-9A87-F841C1AAB697} = {32836310-FB5E-5A92-56B4-44D826EF11F5} - {18B43B7E-2730-45E2-8AFA-F96F449D9792} = {4C14BC2F-C5CA-81E0-B3AD-B9EF19176EC4} + {4877E354-DBE1-419D-AE19-003F312B8553} = {4C14BC2F-C5CA-81E0-B3AD-B9EF19176EC4} EndGlobalSection EndGlobal diff --git a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/Az.PostgreSQLFlexibleServer.psd1 b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/Az.PostgreSQLFlexibleServer.psd1 index 9a3856faec1b..62e1aebe873f 100644 --- a/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/Az.PostgreSQLFlexibleServer.psd1 +++ b/src/PostgreSQLFlexibleServer/PostgreSQLFlexibleServer/Az.PostgreSQLFlexibleServer.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 3/9/2026 +# Generated on: 3/10/2026 # @{