你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Configurations interface

Interface representing a Configurations.

Methods

beginCreateOrUpdate(string, string, string, Configuration, ConfigurationsCreateOrUpdateOptionalParams)

Updates a configuration of a server.

beginCreateOrUpdateAndWait(string, string, string, Configuration, ConfigurationsCreateOrUpdateOptionalParams)

Updates a configuration of a server.

get(string, string, string, ConfigurationsGetOptionalParams)

Gets information about a configuration of server.

listByServer(string, string, ConfigurationsListByServerOptionalParams)

List all the configurations in a given server.

Method Details

beginCreateOrUpdate(string, string, string, Configuration, ConfigurationsCreateOrUpdateOptionalParams)

Updates a configuration of a server.

function beginCreateOrUpdate(resourceGroupName: string, serverName: string, configurationName: string, parameters: Configuration, options?: ConfigurationsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<Configuration>, Configuration>>

Parameters

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.

options
ConfigurationsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<Configuration>, Configuration>>

beginCreateOrUpdateAndWait(string, string, string, Configuration, ConfigurationsCreateOrUpdateOptionalParams)

Updates a configuration of a server.

function beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, configurationName: string, parameters: Configuration, options?: ConfigurationsCreateOrUpdateOptionalParams): Promise<Configuration>

Parameters

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.

options
ConfigurationsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<Configuration>

get(string, string, string, ConfigurationsGetOptionalParams)

Gets information about a configuration of server.

function get(resourceGroupName: string, serverName: string, configurationName: string, options?: ConfigurationsGetOptionalParams): Promise<Configuration>

Parameters

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.

options
ConfigurationsGetOptionalParams

The options parameters.

Returns

Promise<Configuration>

listByServer(string, string, ConfigurationsListByServerOptionalParams)

List all the configurations in a given server.

function listByServer(resourceGroupName: string, serverName: string, options?: ConfigurationsListByServerOptionalParams): PagedAsyncIterableIterator<Configuration, Configuration[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serverName

string

The name of the server.

options
ConfigurationsListByServerOptionalParams

The options parameters.

Returns