VirtualNetworkRules interface

Interface representing a VirtualNetworkRules.

Methods

beginCreateOrUpdate(string, string, string, VirtualNetworkRule, VirtualNetworkRulesCreateOrUpdateOptionalParams)

Creates or updates an existing virtual network rule.

beginCreateOrUpdateAndWait(string, string, string, VirtualNetworkRule, VirtualNetworkRulesCreateOrUpdateOptionalParams)

Creates or updates an existing virtual network rule.

beginDelete(string, string, string, VirtualNetworkRulesDeleteOptionalParams)

Deletes the virtual network rule with the given name.

beginDeleteAndWait(string, string, string, VirtualNetworkRulesDeleteOptionalParams)

Deletes the virtual network rule with the given name.

get(string, string, string, VirtualNetworkRulesGetOptionalParams)

Gets a virtual network rule.

listByServer(string, string, VirtualNetworkRulesListByServerOptionalParams)

Gets a list of virtual network rules in a server.

Method Details

beginCreateOrUpdate(string, string, string, VirtualNetworkRule, VirtualNetworkRulesCreateOrUpdateOptionalParams)

Creates or updates an existing virtual network rule.

function beginCreateOrUpdate(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, parameters: VirtualNetworkRule, options?: VirtualNetworkRulesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<VirtualNetworkRule>, VirtualNetworkRule>>

Parameters

resourceGroupName

string

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

serverName

string

The name of the server.

virtualNetworkRuleName

string

The name of the virtual network rule.

parameters
VirtualNetworkRule

The requested virtual Network Rule Resource state.

options
VirtualNetworkRulesCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, string, VirtualNetworkRule, VirtualNetworkRulesCreateOrUpdateOptionalParams)

Creates or updates an existing virtual network rule.

function beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, parameters: VirtualNetworkRule, options?: VirtualNetworkRulesCreateOrUpdateOptionalParams): Promise<VirtualNetworkRule>

Parameters

resourceGroupName

string

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

serverName

string

The name of the server.

virtualNetworkRuleName

string

The name of the virtual network rule.

parameters
VirtualNetworkRule

The requested virtual Network Rule Resource state.

options
VirtualNetworkRulesCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, string, VirtualNetworkRulesDeleteOptionalParams)

Deletes the virtual network rule with the given name.

function beginDelete(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options?: VirtualNetworkRulesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

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

serverName

string

The name of the server.

virtualNetworkRuleName

string

The name of the virtual network rule.

options
VirtualNetworkRulesDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, VirtualNetworkRulesDeleteOptionalParams)

Deletes the virtual network rule with the given name.

function beginDeleteAndWait(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options?: VirtualNetworkRulesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

serverName

string

The name of the server.

virtualNetworkRuleName

string

The name of the virtual network rule.

options
VirtualNetworkRulesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, VirtualNetworkRulesGetOptionalParams)

Gets a virtual network rule.

function get(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options?: VirtualNetworkRulesGetOptionalParams): Promise<VirtualNetworkRule>

Parameters

resourceGroupName

string

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

serverName

string

The name of the server.

virtualNetworkRuleName

string

The name of the virtual network rule.

options
VirtualNetworkRulesGetOptionalParams

The options parameters.

Returns

listByServer(string, string, VirtualNetworkRulesListByServerOptionalParams)

Gets a list of virtual network rules in a server.

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

Parameters

resourceGroupName

string

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

serverName

string

The name of the server.

options
VirtualNetworkRulesListByServerOptionalParams

The options parameters.

Returns