ConfigurationsOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates a configuration of a server.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.PostgreSQL.Models.Configuration> CreateOrUpdateAsync (this Microsoft.Azure.Management.PostgreSQL.IConfigurationsOperations operations, string resourceGroupName, string serverName, string configurationName, Microsoft.Azure.Management.PostgreSQL.Models.Configuration parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.PostgreSQL.IConfigurationsOperations * string * string * string * Microsoft.Azure.Management.PostgreSQL.Models.Configuration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.PostgreSQL.Models.Configuration>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IConfigurationsOperations, resourceGroupName As String, serverName As String, configurationName As String, parameters As Configuration, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Configuration)
Parameters
- operations
- IConfigurationsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group. The name is case insensitive.
- serverName
- String
The name of the server.
- configurationName
- String
The name of the server configuration.
- parameters
- Configuration
The required parameters for updating a server configuration.
- cancellationToken
- CancellationToken
The cancellation token.