VirtualNetworkRulesClient Interface

public interface VirtualNetworkRulesClient

An instance of this class provides access to all the operations defined in VirtualNetworkRulesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<VirtualNetworkRuleInner>,VirtualNetworkRuleInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String virtualNetworkRuleName, VirtualNetworkRuleInner parameters)

Creates or updates an existing virtual network rule.

abstract SyncPoller<PollResult<VirtualNetworkRuleInner>,VirtualNetworkRuleInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String virtualNetworkRuleName, VirtualNetworkRuleInner parameters, Context context)

Creates or updates an existing virtual network rule.

abstract PollerFlux<PollResult<VirtualNetworkRuleInner>,VirtualNetworkRuleInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName, VirtualNetworkRuleInner parameters)

Creates or updates an existing virtual network rule.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String virtualNetworkRuleName)

Deletes the virtual network rule with the given name.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String virtualNetworkRuleName, Context context)

Deletes the virtual network rule with the given name.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName)

Deletes the virtual network rule with the given name.

abstract VirtualNetworkRuleInner createOrUpdate(String resourceGroupName, String serverName, String virtualNetworkRuleName, VirtualNetworkRuleInner parameters)

Creates or updates an existing virtual network rule.

abstract VirtualNetworkRuleInner createOrUpdate(String resourceGroupName, String serverName, String virtualNetworkRuleName, VirtualNetworkRuleInner parameters, Context context)

Creates or updates an existing virtual network rule.

abstract Mono<VirtualNetworkRuleInner> createOrUpdateAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName, VirtualNetworkRuleInner parameters)

Creates or updates an existing virtual network rule.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName, VirtualNetworkRuleInner parameters)

Creates or updates an existing virtual network rule.

abstract void delete(String resourceGroupName, String serverName, String virtualNetworkRuleName)

Deletes the virtual network rule with the given name.

abstract void delete(String resourceGroupName, String serverName, String virtualNetworkRuleName, Context context)

Deletes the virtual network rule with the given name.

abstract Mono<Void> deleteAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName)

Deletes the virtual network rule with the given name.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName)

Deletes the virtual network rule with the given name.

abstract VirtualNetworkRuleInner get(String resourceGroupName, String serverName, String virtualNetworkRuleName)

Gets a virtual network rule.

abstract Mono<VirtualNetworkRuleInner> getAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName)

Gets a virtual network rule.

abstract Response<VirtualNetworkRuleInner> getWithResponse(String resourceGroupName, String serverName, String virtualNetworkRuleName, Context context)

Gets a virtual network rule.

abstract Mono<Response<VirtualNetworkRuleInner>> getWithResponseAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName)

Gets a virtual network rule.

abstract PagedIterable<VirtualNetworkRuleInner> listByServer(String resourceGroupName, String serverName)

Gets a list of virtual network rules in a server.

abstract PagedIterable<VirtualNetworkRuleInner> listByServer(String resourceGroupName, String serverName, Context context)

Gets a list of virtual network rules in a server.

abstract PagedFlux<VirtualNetworkRuleInner> listByServerAsync(String resourceGroupName, String serverName)

Gets a list of virtual network rules in a server.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,VirtualNetworkRuleInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String virtualNetworkRuleName, VirtualNetworkRuleInner parameters)

Creates or updates an existing virtual network rule.

Parameters:

resourceGroupName - 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 - The name of the server.
virtualNetworkRuleName - The name of the virtual network rule.
parameters - The requested virtual Network Rule Resource state.

Returns:

the SyncPoller<T,U> for polling of a virtual network rule.

beginCreateOrUpdate

public abstract SyncPoller,VirtualNetworkRuleInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String virtualNetworkRuleName, VirtualNetworkRuleInner parameters, Context context)

Creates or updates an existing virtual network rule.

Parameters:

resourceGroupName - 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 - The name of the server.
virtualNetworkRuleName - The name of the virtual network rule.
parameters - The requested virtual Network Rule Resource state.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a virtual network rule.

beginCreateOrUpdateAsync

public abstract PollerFlux,VirtualNetworkRuleInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName, VirtualNetworkRuleInner parameters)

Creates or updates an existing virtual network rule.

Parameters:

resourceGroupName - 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 - The name of the server.
virtualNetworkRuleName - The name of the virtual network rule.
parameters - The requested virtual Network Rule Resource state.

Returns:

the PollerFlux<T,U> for polling of a virtual network rule.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String serverName, String virtualNetworkRuleName)

Deletes the virtual network rule with the given name.

Parameters:

resourceGroupName - 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 - The name of the server.
virtualNetworkRuleName - The name of the virtual network rule.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String serverName, String virtualNetworkRuleName, Context context)

Deletes the virtual network rule with the given name.

Parameters:

resourceGroupName - 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 - The name of the server.
virtualNetworkRuleName - The name of the virtual network rule.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName)

Deletes the virtual network rule with the given name.

Parameters:

resourceGroupName - 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 - The name of the server.
virtualNetworkRuleName - The name of the virtual network rule.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

createOrUpdate

public abstract VirtualNetworkRuleInner createOrUpdate(String resourceGroupName, String serverName, String virtualNetworkRuleName, VirtualNetworkRuleInner parameters)

Creates or updates an existing virtual network rule.

Parameters:

resourceGroupName - 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 - The name of the server.
virtualNetworkRuleName - The name of the virtual network rule.
parameters - The requested virtual Network Rule Resource state.

Returns:

a virtual network rule.

createOrUpdate

public abstract VirtualNetworkRuleInner createOrUpdate(String resourceGroupName, String serverName, String virtualNetworkRuleName, VirtualNetworkRuleInner parameters, Context context)

Creates or updates an existing virtual network rule.

Parameters:

resourceGroupName - 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 - The name of the server.
virtualNetworkRuleName - The name of the virtual network rule.
parameters - The requested virtual Network Rule Resource state.
context - The context to associate with this operation.

Returns:

a virtual network rule.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName, VirtualNetworkRuleInner parameters)

Creates or updates an existing virtual network rule.

Parameters:

resourceGroupName - 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 - The name of the server.
virtualNetworkRuleName - The name of the virtual network rule.
parameters - The requested virtual Network Rule Resource state.

Returns:

a virtual network rule on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName, VirtualNetworkRuleInner parameters)

Creates or updates an existing virtual network rule.

Parameters:

resourceGroupName - 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 - The name of the server.
virtualNetworkRuleName - The name of the virtual network rule.
parameters - The requested virtual Network Rule Resource state.

Returns:

a virtual network rule along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String serverName, String virtualNetworkRuleName)

Deletes the virtual network rule with the given name.

Parameters:

resourceGroupName - 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 - The name of the server.
virtualNetworkRuleName - The name of the virtual network rule.

delete

public abstract void delete(String resourceGroupName, String serverName, String virtualNetworkRuleName, Context context)

Deletes the virtual network rule with the given name.

Parameters:

resourceGroupName - 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 - The name of the server.
virtualNetworkRuleName - The name of the virtual network rule.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName)

Deletes the virtual network rule with the given name.

Parameters:

resourceGroupName - 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 - The name of the server.
virtualNetworkRuleName - The name of the virtual network rule.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName)

Deletes the virtual network rule with the given name.

Parameters:

resourceGroupName - 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 - The name of the server.
virtualNetworkRuleName - The name of the virtual network rule.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract VirtualNetworkRuleInner get(String resourceGroupName, String serverName, String virtualNetworkRuleName)

Gets a virtual network rule.

Parameters:

resourceGroupName - 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 - The name of the server.
virtualNetworkRuleName - The name of the virtual network rule.

Returns:

a virtual network rule.

getAsync

public abstract Mono getAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName)

Gets a virtual network rule.

Parameters:

resourceGroupName - 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 - The name of the server.
virtualNetworkRuleName - The name of the virtual network rule.

Returns:

a virtual network rule on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String serverName, String virtualNetworkRuleName, Context context)

Gets a virtual network rule.

Parameters:

resourceGroupName - 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 - The name of the server.
virtualNetworkRuleName - The name of the virtual network rule.
context - The context to associate with this operation.

Returns:

a virtual network rule along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName)

Gets a virtual network rule.

Parameters:

resourceGroupName - 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 - The name of the server.
virtualNetworkRuleName - The name of the virtual network rule.

Returns:

a virtual network rule along with Response<T> on successful completion of Mono.

listByServer

public abstract PagedIterable listByServer(String resourceGroupName, String serverName)

Gets a list of virtual network rules in a server.

Parameters:

resourceGroupName - 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 - The name of the server.

Returns:

a list of virtual network rules in a server as paginated response with PagedIterable<T>.

listByServer

public abstract PagedIterable listByServer(String resourceGroupName, String serverName, Context context)

Gets a list of virtual network rules in a server.

Parameters:

resourceGroupName - 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 - The name of the server.
context - The context to associate with this operation.

Returns:

a list of virtual network rules in a server as paginated response with PagedIterable<T>.

listByServerAsync

public abstract PagedFlux listByServerAsync(String resourceGroupName, String serverName)

Gets a list of virtual network rules in a server.

Parameters:

resourceGroupName - 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 - The name of the server.

Returns:

a list of virtual network rules in a server as paginated response with PagedFlux<T>.

Applies to