VirtualNetworksClient Interface

Implements

public interface VirtualNetworksClient
extends InnerSupportsGet<VirtualNetworkInner>, InnerSupportsListing<VirtualNetworkInner>, InnerSupportsDelete<Void>

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<VirtualNetworkInner>,VirtualNetworkInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkName, VirtualNetworkInner parameters)

Creates or updates a virtual network in the specified resource group.

abstract SyncPoller<PollResult<VirtualNetworkInner>,VirtualNetworkInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkName, VirtualNetworkInner parameters, Context context)

Creates or updates a virtual network in the specified resource group.

abstract PollerFlux<PollResult<VirtualNetworkInner>,VirtualNetworkInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualNetworkName, VirtualNetworkInner parameters)

Creates or updates a virtual network in the specified resource group.

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

Deletes the specified virtual network.

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

Deletes the specified virtual network.

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

Deletes the specified virtual network.

abstract IpAddressAvailabilityResultInner checkIpAddressAvailability(String resourceGroupName, String virtualNetworkName, String ipAddress)

Checks whether a private IP address is available for use.

abstract Mono<IpAddressAvailabilityResultInner> checkIpAddressAvailabilityAsync(String resourceGroupName, String virtualNetworkName, String ipAddress)

Checks whether a private IP address is available for use.

abstract Response<IpAddressAvailabilityResultInner> checkIpAddressAvailabilityWithResponse(String resourceGroupName, String virtualNetworkName, String ipAddress, Context context)

Checks whether a private IP address is available for use.

abstract Mono<Response<IpAddressAvailabilityResultInner>> checkIpAddressAvailabilityWithResponseAsync(String resourceGroupName, String virtualNetworkName, String ipAddress)

Checks whether a private IP address is available for use.

abstract VirtualNetworkInner createOrUpdate(String resourceGroupName, String virtualNetworkName, VirtualNetworkInner parameters)

Creates or updates a virtual network in the specified resource group.

abstract VirtualNetworkInner createOrUpdate(String resourceGroupName, String virtualNetworkName, VirtualNetworkInner parameters, Context context)

Creates or updates a virtual network in the specified resource group.

abstract Mono<VirtualNetworkInner> createOrUpdateAsync(String resourceGroupName, String virtualNetworkName, VirtualNetworkInner parameters)

Creates or updates a virtual network in the specified resource group.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualNetworkName, VirtualNetworkInner parameters)

Creates or updates a virtual network in the specified resource group.

abstract void delete(String resourceGroupName, String virtualNetworkName)

Deletes the specified virtual network.

abstract void delete(String resourceGroupName, String virtualNetworkName, Context context)

Deletes the specified virtual network.

abstract Mono<Void> deleteAsync(String resourceGroupName, String virtualNetworkName)

Deletes the specified virtual network.

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

Deletes the specified virtual network.

abstract VirtualNetworkInner getByResourceGroup(String resourceGroupName, String virtualNetworkName)

Gets the specified virtual network by resource group.

abstract Mono<VirtualNetworkInner> getByResourceGroupAsync(String resourceGroupName, String virtualNetworkName)

Gets the specified virtual network by resource group.

abstract Response<VirtualNetworkInner> getByResourceGroupWithResponse(String resourceGroupName, String virtualNetworkName, String expand, Context context)

Gets the specified virtual network by resource group.

abstract Mono<Response<VirtualNetworkInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String virtualNetworkName, String expand)

Gets the specified virtual network by resource group.

abstract PagedIterable<VirtualNetworkInner> list()

Gets all virtual networks in a subscription.

abstract PagedIterable<VirtualNetworkInner> list(Context context)

Gets all virtual networks in a subscription.

abstract PagedFlux<VirtualNetworkInner> listAsync()

Gets all virtual networks in a subscription.

abstract PagedIterable<VirtualNetworkInner> listByResourceGroup(String resourceGroupName)

Gets all virtual networks in a resource group.

abstract PagedIterable<VirtualNetworkInner> listByResourceGroup(String resourceGroupName, Context context)

Gets all virtual networks in a resource group.

abstract PagedFlux<VirtualNetworkInner> listByResourceGroupAsync(String resourceGroupName)

Gets all virtual networks in a resource group.

abstract PagedIterable<PublicIpDdosProtectionStatusResultInner> listDdosProtectionStatus(String resourceGroupName, String virtualNetworkName)

Gets the Ddos Protection Status of all IP Addresses under the Virtual Network.

abstract PagedIterable<PublicIpDdosProtectionStatusResultInner> listDdosProtectionStatus(String resourceGroupName, String virtualNetworkName, Integer top, String skipToken, Context context)

Gets the Ddos Protection Status of all IP Addresses under the Virtual Network.

abstract PagedFlux<PublicIpDdosProtectionStatusResultInner> listDdosProtectionStatusAsync(String resourceGroupName, String virtualNetworkName)

Gets the Ddos Protection Status of all IP Addresses under the Virtual Network.

abstract PagedFlux<PublicIpDdosProtectionStatusResultInner> listDdosProtectionStatusAsync(String resourceGroupName, String virtualNetworkName, Integer top, String skipToken)

Gets the Ddos Protection Status of all IP Addresses under the Virtual Network.

abstract PagedIterable<VirtualNetworkUsageInner> listUsage(String resourceGroupName, String virtualNetworkName)

Lists usage stats.

abstract PagedIterable<VirtualNetworkUsageInner> listUsage(String resourceGroupName, String virtualNetworkName, Context context)

Lists usage stats.

abstract PagedFlux<VirtualNetworkUsageInner> listUsageAsync(String resourceGroupName, String virtualNetworkName)

Lists usage stats.

abstract VirtualNetworkInner updateTags(String resourceGroupName, String virtualNetworkName, TagsObject parameters)

Updates a virtual network tags.

abstract Mono<VirtualNetworkInner> updateTagsAsync(String resourceGroupName, String virtualNetworkName, TagsObject parameters)

Updates a virtual network tags.

abstract Response<VirtualNetworkInner> updateTagsWithResponse(String resourceGroupName, String virtualNetworkName, TagsObject parameters, Context context)

Updates a virtual network tags.

abstract Mono<Response<VirtualNetworkInner>> updateTagsWithResponseAsync(String resourceGroupName, String virtualNetworkName, TagsObject parameters)

Updates a virtual network tags.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,VirtualNetworkInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkName, VirtualNetworkInner parameters)

Creates or updates a virtual network in the specified resource group.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
parameters - Parameters supplied to the create or update virtual network operation.

Returns:

the SyncPoller<T,U> for polling of virtual Network resource.

beginCreateOrUpdate

public abstract SyncPoller,VirtualNetworkInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkName, VirtualNetworkInner parameters, Context context)

Creates or updates a virtual network in the specified resource group.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
parameters - Parameters supplied to the create or update virtual network operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of virtual Network resource.

beginCreateOrUpdateAsync

public abstract PollerFlux,VirtualNetworkInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualNetworkName, VirtualNetworkInner parameters)

Creates or updates a virtual network in the specified resource group.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
parameters - Parameters supplied to the create or update virtual network operation.

Returns:

the PollerFlux<T,U> for polling of virtual Network resource.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String virtualNetworkName)

Deletes the specified virtual network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.

Returns:

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

beginDelete

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

Deletes the specified virtual network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
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 virtualNetworkName)

Deletes the specified virtual network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.

Returns:

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

checkIpAddressAvailability

public abstract IpAddressAvailabilityResultInner checkIpAddressAvailability(String resourceGroupName, String virtualNetworkName, String ipAddress)

Checks whether a private IP address is available for use.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
ipAddress - The private IP address to be verified.

Returns:

response for CheckIPAddressAvailability API service call.

checkIpAddressAvailabilityAsync

public abstract Mono checkIpAddressAvailabilityAsync(String resourceGroupName, String virtualNetworkName, String ipAddress)

Checks whether a private IP address is available for use.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
ipAddress - The private IP address to be verified.

Returns:

response for CheckIPAddressAvailability API service call on successful completion of Mono.

checkIpAddressAvailabilityWithResponse

public abstract Response checkIpAddressAvailabilityWithResponse(String resourceGroupName, String virtualNetworkName, String ipAddress, Context context)

Checks whether a private IP address is available for use.

Parameters:

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.

Returns:

response for CheckIPAddressAvailability API service call along with Response<T>.

checkIpAddressAvailabilityWithResponseAsync

public abstract Mono> checkIpAddressAvailabilityWithResponseAsync(String resourceGroupName, String virtualNetworkName, String ipAddress)

Checks whether a private IP address is available for use.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
ipAddress - The private IP address to be verified.

Returns:

response for CheckIPAddressAvailability API service call along with Response<T> on successful completion of Mono.

createOrUpdate

public abstract VirtualNetworkInner createOrUpdate(String resourceGroupName, String virtualNetworkName, VirtualNetworkInner parameters)

Creates or updates a virtual network in the specified resource group.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
parameters - Parameters supplied to the create or update virtual network operation.

Returns:

virtual Network resource.

createOrUpdate

public abstract VirtualNetworkInner createOrUpdate(String resourceGroupName, String virtualNetworkName, VirtualNetworkInner parameters, Context context)

Creates or updates a virtual network in the specified resource group.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
parameters - Parameters supplied to the create or update virtual network operation.
context - The context to associate with this operation.

Returns:

virtual Network resource.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String virtualNetworkName, VirtualNetworkInner parameters)

Creates or updates a virtual network in the specified resource group.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
parameters - Parameters supplied to the create or update virtual network operation.

Returns:

virtual Network resource on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualNetworkName, VirtualNetworkInner parameters)

Creates or updates a virtual network in the specified resource group.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
parameters - Parameters supplied to the create or update virtual network operation.

Returns:

virtual Network resource along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String virtualNetworkName)

Deletes the specified virtual network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.

delete

public abstract void delete(String resourceGroupName, String virtualNetworkName, Context context)

Deletes the specified virtual network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String virtualNetworkName)

Deletes the specified virtual network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String virtualNetworkName)

Deletes the specified virtual network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.

Returns:

the Response<T> on successful completion of Mono.

getByResourceGroup

public abstract VirtualNetworkInner getByResourceGroup(String resourceGroupName, String virtualNetworkName)

Gets the specified virtual network by resource group.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.

Returns:

the specified virtual network by resource group.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String virtualNetworkName)

Gets the specified virtual network by resource group.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.

Returns:

the specified virtual network by resource group on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String virtualNetworkName, String expand, Context context)

Gets the specified virtual network by resource group.

Parameters:

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.

Returns:

the specified virtual network by resource group along with Response<T>.

getByResourceGroupWithResponseAsync

public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String virtualNetworkName, String expand)

Gets the specified virtual network by resource group.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
expand - Expands referenced resources.

Returns:

the specified virtual network by resource group along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Gets all virtual networks in a subscription.

Returns:

all virtual networks in a subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Gets all virtual networks in a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

all virtual networks in a subscription as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

Gets all virtual networks in a subscription.

Returns:

all virtual networks in a subscription as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Gets all virtual networks in a resource group.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

all virtual networks in a resource group as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

Gets all virtual networks in a resource group.

Parameters:

resourceGroupName - The name of the resource group.
context - The context to associate with this operation.

Returns:

all virtual networks in a resource group as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Gets all virtual networks in a resource group.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

all virtual networks in a resource group as paginated response with PagedFlux<T>.

listDdosProtectionStatus

public abstract PagedIterable listDdosProtectionStatus(String resourceGroupName, String virtualNetworkName)

Gets the Ddos Protection Status of all IP Addresses under the Virtual Network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.

Returns:

the Ddos Protection Status of all IP Addresses under the Virtual Network as paginated response with PagedIterable<T>.

listDdosProtectionStatus

public abstract PagedIterable listDdosProtectionStatus(String resourceGroupName, String virtualNetworkName, Integer top, String skipToken, Context context)

Gets the Ddos Protection Status of all IP Addresses under the Virtual Network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
top - The max number of ip addresses to return.
skipToken - The skipToken that is given with nextLink.
context - The context to associate with this operation.

Returns:

the Ddos Protection Status of all IP Addresses under the Virtual Network as paginated response with PagedIterable<T>.

listDdosProtectionStatusAsync

public abstract PagedFlux listDdosProtectionStatusAsync(String resourceGroupName, String virtualNetworkName)

Gets the Ddos Protection Status of all IP Addresses under the Virtual Network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.

Returns:

the Ddos Protection Status of all IP Addresses under the Virtual Network as paginated response with PagedFlux<T>.

listDdosProtectionStatusAsync

public abstract PagedFlux listDdosProtectionStatusAsync(String resourceGroupName, String virtualNetworkName, Integer top, String skipToken)

Gets the Ddos Protection Status of all IP Addresses under the Virtual Network.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
top - The max number of ip addresses to return.
skipToken - The skipToken that is given with nextLink.

Returns:

the Ddos Protection Status of all IP Addresses under the Virtual Network as paginated response with PagedFlux<T>.

listUsage

public abstract PagedIterable listUsage(String resourceGroupName, String virtualNetworkName)

Lists usage stats.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.

Returns:

response for the virtual networks GetUsage API service call as paginated response with PagedIterable<T>.

listUsage

public abstract PagedIterable listUsage(String resourceGroupName, String virtualNetworkName, Context context)

Lists usage stats.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
context - The context to associate with this operation.

Returns:

response for the virtual networks GetUsage API service call as paginated response with PagedIterable<T>.

listUsageAsync

public abstract PagedFlux listUsageAsync(String resourceGroupName, String virtualNetworkName)

Lists usage stats.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.

Returns:

response for the virtual networks GetUsage API service call as paginated response with PagedFlux<T>.

updateTags

public abstract VirtualNetworkInner updateTags(String resourceGroupName, String virtualNetworkName, TagsObject parameters)

Updates a virtual network tags.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
parameters - Parameters supplied to update virtual network tags.

Returns:

virtual Network resource.

updateTagsAsync

public abstract Mono updateTagsAsync(String resourceGroupName, String virtualNetworkName, TagsObject parameters)

Updates a virtual network tags.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
parameters - Parameters supplied to update virtual network tags.

Returns:

virtual Network resource on successful completion of Mono.

updateTagsWithResponse

public abstract Response updateTagsWithResponse(String resourceGroupName, String virtualNetworkName, TagsObject parameters, Context context)

Updates a virtual network tags.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
parameters - Parameters supplied to update virtual network tags.
context - The context to associate with this operation.

Returns:

virtual Network resource along with Response<T>.

updateTagsWithResponseAsync

public abstract Mono> updateTagsWithResponseAsync(String resourceGroupName, String virtualNetworkName, TagsObject parameters)

Updates a virtual network tags.

Parameters:

resourceGroupName - The name of the resource group.
virtualNetworkName - The name of the virtual network.
parameters - Parameters supplied to update virtual network tags.

Returns:

virtual Network resource along with Response<T> on successful completion of Mono.

Applies to