Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VirtualNetworkRules

Package version

Class representing a VirtualNetworkRules.

Hierarchy

  • VirtualNetworkRules

Index

Constructors

constructor

Methods

beginCreateOrUpdate

  • beginCreateOrUpdate(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, parameters: VirtualNetworkRule, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Creates or updates an existing virtual network rule.

    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.

    • virtualNetworkRuleName: string

      The name of the virtual network rule.

    • parameters: VirtualNetworkRule

      The requested virtual Network Rule Resource state.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

beginDeleteMethod

  • beginDeleteMethod(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>
  • Deletes the virtual network rule with the given name.

    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.

    • virtualNetworkRuleName: string

      The name of the virtual network rule.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRestAzure.LROPoller>

    Promise<msRestAzure.LROPoller>

createOrUpdate

  • createOrUpdate(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, parameters: VirtualNetworkRule, options?: msRest.RequestOptionsBase): Promise<Models.VirtualNetworkRulesCreateOrUpdateResponse>
  • Creates or updates an existing virtual network rule.

    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.

    • virtualNetworkRuleName: string

      The name of the virtual network rule.

    • parameters: VirtualNetworkRule

      The requested virtual Network Rule Resource state.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.VirtualNetworkRulesCreateOrUpdateResponse>

    Promise<Models.VirtualNetworkRulesCreateOrUpdateResponse>

deleteMethod

  • deleteMethod(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • Deletes the virtual network rule with the given name.

    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.

    • virtualNetworkRuleName: string

      The name of the virtual network rule.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

get

  • get(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options?: msRest.RequestOptionsBase): Promise<Models.VirtualNetworkRulesGetResponse>
  • get(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, callback: msRest.ServiceCallback<VirtualNetworkRule>): void
  • get(resourceGroupName: string, serverName: string, virtualNetworkRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<VirtualNetworkRule>): void
  • Gets a virtual network rule.

    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.

    • virtualNetworkRuleName: string

      The name of the virtual network rule.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.VirtualNetworkRulesGetResponse>

    Promise<Models.VirtualNetworkRulesGetResponse>

  • 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.

    • virtualNetworkRuleName: string

      The name of the virtual network rule.

    • callback: msRest.ServiceCallback<VirtualNetworkRule>

      The callback

    Returns void

  • 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.

    • virtualNetworkRuleName: string

      The name of the virtual network rule.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<VirtualNetworkRule>

      The callback

    Returns void

listByServer

  • listByServer(resourceGroupName: string, serverName: string, options?: msRest.RequestOptionsBase): Promise<Models.VirtualNetworkRulesListByServerResponse>
  • listByServer(resourceGroupName: string, serverName: string, callback: msRest.ServiceCallback<VirtualNetworkRuleListResult>): void
  • listByServer(resourceGroupName: string, serverName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<VirtualNetworkRuleListResult>): void
  • Gets a list of virtual network rules in a server.

    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.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.VirtualNetworkRulesListByServerResponse>

    Promise<Models.VirtualNetworkRulesListByServerResponse>

  • 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.

    • callback: msRest.ServiceCallback<VirtualNetworkRuleListResult>

      The callback

    Returns void

  • 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: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<VirtualNetworkRuleListResult>

      The callback

    Returns void

listByServerNext

  • listByServerNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.VirtualNetworkRulesListByServerNextResponse>
  • listByServerNext(nextPageLink: string, callback: msRest.ServiceCallback<VirtualNetworkRuleListResult>): void
  • listByServerNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<VirtualNetworkRuleListResult>): void
  • Gets a list of virtual network rules in a server.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.VirtualNetworkRulesListByServerNextResponse>

    Promise<Models.VirtualNetworkRulesListByServerNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<VirtualNetworkRuleListResult>

      The callback

    Returns void

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<VirtualNetworkRuleListResult>

      The callback

    Returns void

Generated using TypeDoc