public interface VirtualNetworksClient extends InnerSupportsGet<VirtualNetworkInner>, InnerSupportsListing<VirtualNetworkInner>, InnerSupportsDelete<Void>
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkInner>,VirtualNetworkInner> |
beginCreateOrUpdate(String resourceGroupName,
String virtualNetworkName,
VirtualNetworkInner parameters)
Creates or updates a virtual network in the specified resource group.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkInner>,VirtualNetworkInner> |
beginCreateOrUpdate(String resourceGroupName,
String virtualNetworkName,
VirtualNetworkInner parameters,
com.azure.core.util.Context context)
Creates or updates a virtual network in the specified resource group.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualNetworkInner>,VirtualNetworkInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String virtualNetworkName,
VirtualNetworkInner parameters)
Creates or updates a virtual network in the specified resource group.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String virtualNetworkName)
Deletes the specified virtual network.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String virtualNetworkName,
com.azure.core.util.Context context)
Deletes the specified virtual network.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String virtualNetworkName)
Deletes the specified virtual network.
|
IpAddressAvailabilityResultInner |
checkIpAddressAvailability(String resourceGroupName,
String virtualNetworkName,
String ipAddress)
Checks whether a private IP address is available for use.
|
Mono<IpAddressAvailabilityResultInner> |
checkIpAddressAvailabilityAsync(String resourceGroupName,
String virtualNetworkName,
String ipAddress)
Checks whether a private IP address is available for use.
|
com.azure.core.http.rest.Response<IpAddressAvailabilityResultInner> |
checkIpAddressAvailabilityWithResponse(String resourceGroupName,
String virtualNetworkName,
String ipAddress,
com.azure.core.util.Context context)
Checks whether a private IP address is available for use.
|
Mono<com.azure.core.http.rest.Response<IpAddressAvailabilityResultInner>> |
checkIpAddressAvailabilityWithResponseAsync(String resourceGroupName,
String virtualNetworkName,
String ipAddress)
Checks whether a private IP address is available for use.
|
VirtualNetworkInner |
createOrUpdate(String resourceGroupName,
String virtualNetworkName,
VirtualNetworkInner parameters)
Creates or updates a virtual network in the specified resource group.
|
VirtualNetworkInner |
createOrUpdate(String resourceGroupName,
String virtualNetworkName,
VirtualNetworkInner parameters,
com.azure.core.util.Context context)
Creates or updates a virtual network in the specified resource group.
|
Mono<VirtualNetworkInner> |
createOrUpdateAsync(String resourceGroupName,
String virtualNetworkName,
VirtualNetworkInner parameters)
Creates or updates a virtual network in the specified resource group.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String virtualNetworkName,
VirtualNetworkInner parameters)
Creates or updates a virtual network in the specified resource group.
|
void |
delete(String resourceGroupName,
String virtualNetworkName)
Deletes the specified virtual network.
|
void |
delete(String resourceGroupName,
String virtualNetworkName,
com.azure.core.util.Context context)
Deletes the specified virtual network.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String virtualNetworkName)
Deletes the specified virtual network.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String virtualNetworkName)
Deletes the specified virtual network.
|
BastionHostListResultInner |
getBastionHosts(String resourceGroupName,
String virtualNetworkName)
Get a list of bastion hosts accessible from the given network.
|
Mono<BastionHostListResultInner> |
getBastionHostsAsync(String resourceGroupName,
String virtualNetworkName)
Get a list of bastion hosts accessible from the given network.
|
com.azure.core.http.rest.Response<BastionHostListResultInner> |
getBastionHostsWithResponse(String resourceGroupName,
String virtualNetworkName,
com.azure.core.util.Context context)
Get a list of bastion hosts accessible from the given network.
|
Mono<com.azure.core.http.rest.Response<BastionHostListResultInner>> |
getBastionHostsWithResponseAsync(String resourceGroupName,
String virtualNetworkName)
Get a list of bastion hosts accessible from the given network.
|
VirtualNetworkInner |
getByResourceGroup(String resourceGroupName,
String virtualNetworkName)
Gets the specified virtual network by resource group.
|
Mono<VirtualNetworkInner> |
getByResourceGroupAsync(String resourceGroupName,
String virtualNetworkName)
Gets the specified virtual network by resource group.
|
Mono<VirtualNetworkInner> |
getByResourceGroupAsync(String resourceGroupName,
String virtualNetworkName,
String expand)
Gets the specified virtual network by resource group.
|
com.azure.core.http.rest.Response<VirtualNetworkInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String virtualNetworkName,
String expand,
com.azure.core.util.Context context)
Gets the specified virtual network by resource group.
|
Mono<com.azure.core.http.rest.Response<VirtualNetworkInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String virtualNetworkName,
String expand)
Gets the specified virtual network by resource group.
|
com.azure.core.http.rest.PagedIterable<VirtualNetworkInner> |
list()
Gets all virtual networks in a subscription.
|
com.azure.core.http.rest.PagedIterable<VirtualNetworkInner> |
list(com.azure.core.util.Context context)
Gets all virtual networks in a subscription.
|
com.azure.core.http.rest.PagedFlux<VirtualNetworkInner> |
listAsync()
Gets all virtual networks in a subscription.
|
com.azure.core.http.rest.PagedIterable<VirtualNetworkInner> |
listByResourceGroup(String resourceGroupName)
Gets all virtual networks in a resource group.
|
com.azure.core.http.rest.PagedIterable<VirtualNetworkInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Gets all virtual networks in a resource group.
|
com.azure.core.http.rest.PagedFlux<VirtualNetworkInner> |
listByResourceGroupAsync(String resourceGroupName)
Gets all virtual networks in a resource group.
|
com.azure.core.http.rest.PagedIterable<VirtualNetworkUsageInner> |
listUsage(String resourceGroupName,
String virtualNetworkName)
Lists usage stats.
|
com.azure.core.http.rest.PagedIterable<VirtualNetworkUsageInner> |
listUsage(String resourceGroupName,
String virtualNetworkName,
com.azure.core.util.Context context)
Lists usage stats.
|
com.azure.core.http.rest.PagedFlux<VirtualNetworkUsageInner> |
listUsageAsync(String resourceGroupName,
String virtualNetworkName)
Lists usage stats.
|
VirtualNetworkInner |
updateTags(String resourceGroupName,
String virtualNetworkName)
Updates a virtual network tags.
|
Mono<VirtualNetworkInner> |
updateTagsAsync(String resourceGroupName,
String virtualNetworkName)
Updates a virtual network tags.
|
Mono<VirtualNetworkInner> |
updateTagsAsync(String resourceGroupName,
String virtualNetworkName,
Map<String,String> tags)
Updates a virtual network tags.
|
com.azure.core.http.rest.Response<VirtualNetworkInner> |
updateTagsWithResponse(String resourceGroupName,
String virtualNetworkName,
Map<String,String> tags,
com.azure.core.util.Context context)
Updates a virtual network tags.
|
Mono<com.azure.core.http.rest.Response<VirtualNetworkInner>> |
updateTagsWithResponseAsync(String resourceGroupName,
String virtualNetworkName,
Map<String,String> tags)
Updates a virtual network tags.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualNetworkName)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.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 virtualNetworkName)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.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 virtualNetworkName)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.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 virtualNetworkName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.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 virtualNetworkName)
deleteAsync in interface InnerSupportsDelete<Void>resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.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 virtualNetworkName)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.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 virtualNetworkName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.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<VirtualNetworkInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String virtualNetworkName, String expand)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.expand - Expands referenced resources.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<VirtualNetworkInner> getByResourceGroupAsync(String resourceGroupName, String virtualNetworkName, String expand)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.expand - Expands referenced resources.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<VirtualNetworkInner> getByResourceGroupAsync(String resourceGroupName, String virtualNetworkName)
getByResourceGroupAsync in interface InnerSupportsGet<VirtualNetworkInner>resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.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.VirtualNetworkInner getByResourceGroup(String resourceGroupName, String virtualNetworkName)
getByResourceGroup in interface InnerSupportsGet<VirtualNetworkInner>resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.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<VirtualNetworkInner> getByResourceGroupWithResponse(String resourceGroupName, String virtualNetworkName, String expand, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.expand - Expands referenced resources.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 virtualNetworkName, VirtualNetworkInner parameters)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.parameters - Virtual Network resource.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<VirtualNetworkInner>,VirtualNetworkInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualNetworkName, VirtualNetworkInner parameters)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.parameters - Virtual Network resource.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<VirtualNetworkInner>,VirtualNetworkInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkName, VirtualNetworkInner parameters)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.parameters - Virtual Network resource.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<VirtualNetworkInner>,VirtualNetworkInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkName, VirtualNetworkInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.parameters - Virtual Network resource.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<VirtualNetworkInner> createOrUpdateAsync(String resourceGroupName, String virtualNetworkName, VirtualNetworkInner parameters)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.parameters - Virtual Network resource.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.VirtualNetworkInner createOrUpdate(String resourceGroupName, String virtualNetworkName, VirtualNetworkInner parameters)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.parameters - Virtual Network resource.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.VirtualNetworkInner createOrUpdate(String resourceGroupName, String virtualNetworkName, VirtualNetworkInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.parameters - Virtual Network resource.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<VirtualNetworkInner>> updateTagsWithResponseAsync(String resourceGroupName, String virtualNetworkName, Map<String,String> tags)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.tags - Resource tags.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<VirtualNetworkInner> updateTagsAsync(String resourceGroupName, String virtualNetworkName, Map<String,String> tags)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.tags - Resource tags.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<VirtualNetworkInner> updateTagsAsync(String resourceGroupName, String virtualNetworkName)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.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.VirtualNetworkInner updateTags(String resourceGroupName, String virtualNetworkName)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.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<VirtualNetworkInner> updateTagsWithResponse(String resourceGroupName, String virtualNetworkName, Map<String,String> tags, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.tags - Resource tags.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<VirtualNetworkInner> listAsync()
listAsync in interface InnerSupportsListing<VirtualNetworkInner>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<VirtualNetworkInner> list()
list in interface InnerSupportsListing<VirtualNetworkInner>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<VirtualNetworkInner> list(com.azure.core.util.Context context)
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<VirtualNetworkInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync in interface InnerSupportsListing<VirtualNetworkInner>resourceGroupName - The name of the resource group.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<VirtualNetworkInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup in interface InnerSupportsListing<VirtualNetworkInner>resourceGroupName - The name of the resource group.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<VirtualNetworkInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.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<IpAddressAvailabilityResultInner>> checkIpAddressAvailabilityWithResponseAsync(String resourceGroupName, String virtualNetworkName, String ipAddress)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.ipAddress - The private IP address to be verified.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<IpAddressAvailabilityResultInner> checkIpAddressAvailabilityAsync(String resourceGroupName, String virtualNetworkName, String ipAddress)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.ipAddress - The private IP address to be verified.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.IpAddressAvailabilityResultInner checkIpAddressAvailability(String resourceGroupName, String virtualNetworkName, String ipAddress)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.ipAddress - The private IP address to be verified.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<IpAddressAvailabilityResultInner> checkIpAddressAvailabilityWithResponse(String resourceGroupName, String virtualNetworkName, String ipAddress, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.ipAddress - The private IP address to be verified.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<VirtualNetworkUsageInner> listUsageAsync(String resourceGroupName, String virtualNetworkName)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.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<VirtualNetworkUsageInner> listUsage(String resourceGroupName, String virtualNetworkName)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.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<VirtualNetworkUsageInner> listUsage(String resourceGroupName, String virtualNetworkName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.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<BastionHostListResultInner>> getBastionHostsWithResponseAsync(String resourceGroupName, String virtualNetworkName)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.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<BastionHostListResultInner> getBastionHostsAsync(String resourceGroupName, String virtualNetworkName)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.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.BastionHostListResultInner getBastionHosts(String resourceGroupName, String virtualNetworkName)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.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<BastionHostListResultInner> getBastionHostsWithResponse(String resourceGroupName, String virtualNetworkName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.virtualNetworkName - The name of the virtual network.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.