ServerConnectionPolicies interface

Interface representing a ServerConnectionPolicies.

Methods

beginCreateOrUpdate(string, string, string, ServerConnectionPolicy, ServerConnectionPoliciesCreateOrUpdateOptionalParams)

Updates a server connection policy

beginCreateOrUpdateAndWait(string, string, string, ServerConnectionPolicy, ServerConnectionPoliciesCreateOrUpdateOptionalParams)

Updates a server connection policy

get(string, string, string, ServerConnectionPoliciesGetOptionalParams)

Gets a server connection policy

listByServer(string, string, ServerConnectionPoliciesListByServerOptionalParams)

Lists connection policy

Method Details

beginCreateOrUpdate(string, string, string, ServerConnectionPolicy, ServerConnectionPoliciesCreateOrUpdateOptionalParams)

Updates a server connection policy

function beginCreateOrUpdate(resourceGroupName: string, serverName: string, connectionPolicyName: string, parameters: ServerConnectionPolicy, options?: ServerConnectionPoliciesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServerConnectionPolicy>, ServerConnectionPolicy>>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

connectionPolicyName

string

The name of the connection policy.

parameters
ServerConnectionPolicy

The required parameters for updating a server connection policy.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<ServerConnectionPolicy>, ServerConnectionPolicy>>

beginCreateOrUpdateAndWait(string, string, string, ServerConnectionPolicy, ServerConnectionPoliciesCreateOrUpdateOptionalParams)

Updates a server connection policy

function beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, connectionPolicyName: string, parameters: ServerConnectionPolicy, options?: ServerConnectionPoliciesCreateOrUpdateOptionalParams): Promise<ServerConnectionPolicy>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

connectionPolicyName

string

The name of the connection policy.

parameters
ServerConnectionPolicy

The required parameters for updating a server connection policy.

Returns

get(string, string, string, ServerConnectionPoliciesGetOptionalParams)

Gets a server connection policy

function get(resourceGroupName: string, serverName: string, connectionPolicyName: string, options?: ServerConnectionPoliciesGetOptionalParams): Promise<ServerConnectionPolicy>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

connectionPolicyName

string

The name of the connection policy.

options
ServerConnectionPoliciesGetOptionalParams

The options parameters.

Returns

listByServer(string, string, ServerConnectionPoliciesListByServerOptionalParams)

Lists connection policy

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

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serverName

string

The name of the server.

options
ServerConnectionPoliciesListByServerOptionalParams

The options parameters.

Returns