VirtualNetworkRules interface
Interface representing a VirtualNetworkRules.
Methods
begin |
Creates or updates an existing virtual network rule. |
begin |
Creates or updates an existing virtual network rule. |
begin |
Deletes the virtual network rule with the given name. |
begin |
Deletes the virtual network rule with the given name. |
get(string, string, string, Virtual |
Gets a virtual network rule. |
list |
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.
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.
The options parameters.
Returns
Promise<VirtualNetworkRule>
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.
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.
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.
The options parameters.
Returns
Promise<VirtualNetworkRule>
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.
The options parameters.