public interface VirtualNetworkRulesClient
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkRuleInner>,VirtualNetworkRuleInner> |
beginCreateOrUpdate(String resourceGroupName,
String serverName,
String virtualNetworkRuleName,
VirtualNetworkRuleInner parameters)
Creates or updates an existing virtual network rule.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkRuleInner>,VirtualNetworkRuleInner> |
beginCreateOrUpdate(String resourceGroupName,
String serverName,
String virtualNetworkRuleName,
VirtualNetworkRuleInner parameters,
com.azure.core.util.Context context)
Creates or updates an existing virtual network rule.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualNetworkRuleInner>,VirtualNetworkRuleInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String serverName,
String virtualNetworkRuleName,
VirtualNetworkRuleInner parameters)
Creates or updates an existing virtual network rule.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String serverName,
String virtualNetworkRuleName)
Deletes the virtual network rule with the given name.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String serverName,
String virtualNetworkRuleName,
com.azure.core.util.Context context)
Deletes the virtual network rule with the given name.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String serverName,
String virtualNetworkRuleName)
Deletes the virtual network rule with the given name.
|
VirtualNetworkRuleInner |
createOrUpdate(String resourceGroupName,
String serverName,
String virtualNetworkRuleName,
VirtualNetworkRuleInner parameters)
Creates or updates an existing virtual network rule.
|
VirtualNetworkRuleInner |
createOrUpdate(String resourceGroupName,
String serverName,
String virtualNetworkRuleName,
VirtualNetworkRuleInner parameters,
com.azure.core.util.Context context)
Creates or updates an existing virtual network rule.
|
Mono<VirtualNetworkRuleInner> |
createOrUpdateAsync(String resourceGroupName,
String serverName,
String virtualNetworkRuleName,
VirtualNetworkRuleInner parameters)
Creates or updates an existing virtual network rule.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String serverName,
String virtualNetworkRuleName,
VirtualNetworkRuleInner parameters)
Creates or updates an existing virtual network rule.
|
void |
delete(String resourceGroupName,
String serverName,
String virtualNetworkRuleName)
Deletes the virtual network rule with the given name.
|
void |
delete(String resourceGroupName,
String serverName,
String virtualNetworkRuleName,
com.azure.core.util.Context context)
Deletes the virtual network rule with the given name.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String serverName,
String virtualNetworkRuleName)
Deletes the virtual network rule with the given name.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String serverName,
String virtualNetworkRuleName)
Deletes the virtual network rule with the given name.
|
VirtualNetworkRuleInner |
get(String resourceGroupName,
String serverName,
String virtualNetworkRuleName)
Gets a virtual network rule.
|
Mono<VirtualNetworkRuleInner> |
getAsync(String resourceGroupName,
String serverName,
String virtualNetworkRuleName)
Gets a virtual network rule.
|
com.azure.core.http.rest.Response<VirtualNetworkRuleInner> |
getWithResponse(String resourceGroupName,
String serverName,
String virtualNetworkRuleName,
com.azure.core.util.Context context)
Gets a virtual network rule.
|
Mono<com.azure.core.http.rest.Response<VirtualNetworkRuleInner>> |
getWithResponseAsync(String resourceGroupName,
String serverName,
String virtualNetworkRuleName)
Gets a virtual network rule.
|
com.azure.core.http.rest.PagedIterable<VirtualNetworkRuleInner> |
listByServer(String resourceGroupName,
String serverName)
Gets a list of virtual network rules in a server.
|
com.azure.core.http.rest.PagedIterable<VirtualNetworkRuleInner> |
listByServer(String resourceGroupName,
String serverName,
com.azure.core.util.Context context)
Gets a list of virtual network rules in a server.
|
com.azure.core.http.rest.PagedFlux<VirtualNetworkRuleInner> |
listByServerAsync(String resourceGroupName,
String serverName)
Gets a list of virtual network rules in a server.
|
Mono<com.azure.core.http.rest.Response<VirtualNetworkRuleInner>> getWithResponseAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<VirtualNetworkRuleInner> getAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.VirtualNetworkRuleInner get(String resourceGroupName, String serverName, String virtualNetworkRuleName)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<VirtualNetworkRuleInner> getWithResponse(String resourceGroupName, String serverName, String virtualNetworkRuleName, com.azure.core.util.Context context)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName, VirtualNetworkRuleInner 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 - A virtual network rule.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualNetworkRuleInner>,VirtualNetworkRuleInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName, VirtualNetworkRuleInner 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 - A virtual network rule.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkRuleInner>,VirtualNetworkRuleInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String virtualNetworkRuleName, VirtualNetworkRuleInner 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 - A virtual network rule.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkRuleInner>,VirtualNetworkRuleInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String virtualNetworkRuleName, VirtualNetworkRuleInner parameters, com.azure.core.util.Context context)
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 - A virtual network rule.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<VirtualNetworkRuleInner> createOrUpdateAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName, VirtualNetworkRuleInner 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 - A virtual network rule.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.VirtualNetworkRuleInner createOrUpdate(String resourceGroupName, String serverName, String virtualNetworkRuleName, VirtualNetworkRuleInner 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 - A virtual network rule.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.VirtualNetworkRuleInner createOrUpdate(String resourceGroupName, String serverName, String virtualNetworkRuleName, VirtualNetworkRuleInner parameters, com.azure.core.util.Context context)
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 - A virtual network rule.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String virtualNetworkRuleName)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String virtualNetworkRuleName, com.azure.core.util.Context context)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<Void> deleteAsync(String resourceGroupName, String serverName, String virtualNetworkRuleName)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String serverName, String virtualNetworkRuleName)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String serverName, String virtualNetworkRuleName, com.azure.core.util.Context context)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<VirtualNetworkRuleInner> listByServerAsync(String resourceGroupName, String serverName)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<VirtualNetworkRuleInner> listByServer(String resourceGroupName, String serverName)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<VirtualNetworkRuleInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)
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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Copyright © 2020 Microsoft Corporation. All rights reserved.