Interface VirtualNetworksClient
-
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<VirtualNetworkInner>,InnerSupportsListing<VirtualNetworkInner>
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
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.IpAddressAvailabilityResultInnercheckIpAddressAvailability(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.VirtualNetworkInnercreateOrUpdate(String resourceGroupName, String virtualNetworkName, VirtualNetworkInner parameters)Creates or updates a virtual network in the specified resource group.VirtualNetworkInnercreateOrUpdate(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.voiddelete(String resourceGroupName, String virtualNetworkName)Deletes the specified virtual network.voiddelete(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.VirtualNetworkInnergetByResourceGroup(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.VirtualNetworkInnerupdateTags(String resourceGroupName, String virtualNetworkName, TagsObject parameters)Updates a virtual network tags.Mono<VirtualNetworkInner>updateTagsAsync(String resourceGroupName, String virtualNetworkName, TagsObject parameters)Updates a virtual network tags.com.azure.core.http.rest.Response<VirtualNetworkInner>updateTagsWithResponse(String resourceGroupName, String virtualNetworkName, TagsObject parameters, com.azure.core.util.Context context)Updates a virtual network tags.Mono<com.azure.core.http.rest.Response<VirtualNetworkInner>>updateTagsWithResponseAsync(String resourceGroupName, String virtualNetworkName, TagsObject parameters)Updates a virtual network tags.
-
-
-
Method Detail
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
Responseon successful completion ofMono. - Throws:
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.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,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
PollerFluxfor polling of long-running operation. - Throws:
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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,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
SyncPollerfor polling of long-running operation. - Throws:
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.
-
beginDelete
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.- 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
SyncPollerfor polling of long-running operation. - Throws:
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.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String virtualNetworkName)
Deletes the specified virtual network.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkName- The name of the virtual network.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
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.
-
delete
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.- Throws:
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.
-
delete
void delete(String resourceGroupName, String virtualNetworkName, com.azure.core.util.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.- Throws:
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.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<VirtualNetworkInner>> 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
Responseon successful completion ofMono. - Throws:
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.
-
getByResourceGroupAsync
Mono<VirtualNetworkInner> getByResourceGroupAsync(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 on successful completion of
Mono. - Throws:
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.
-
getByResourceGroupAsync
Mono<VirtualNetworkInner> getByResourceGroupAsync(String resourceGroupName, String virtualNetworkName)
Gets the specified virtual network by resource group.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<VirtualNetworkInner>- 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. - Throws:
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.
-
getByResourceGroup
VirtualNetworkInner getByResourceGroup(String resourceGroupName, String virtualNetworkName)
Gets the specified virtual network by resource group.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<VirtualNetworkInner>- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkName- The name of the virtual network.- Returns:
- the specified virtual network by resource group.
- Throws:
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.
-
getByResourceGroupWithResponse
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.- 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. - Throws:
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.
-
createOrUpdateWithResponseAsync
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.- 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
Responseon successful completion ofMono. - Throws:
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.
-
beginCreateOrUpdateAsync
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.- 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
PollerFluxfor polling of virtual Network resource. - Throws:
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.
-
beginCreateOrUpdate
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.- 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
SyncPollerfor polling of virtual Network resource. - Throws:
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.
-
beginCreateOrUpdate
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.- 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
SyncPollerfor polling of virtual Network resource. - Throws:
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.
-
createOrUpdateAsync
Mono<VirtualNetworkInner> 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. - Throws:
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.
-
createOrUpdate
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.
- Throws:
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.
-
createOrUpdate
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.- 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.
- Throws:
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.
-
updateTagsWithResponseAsync
Mono<com.azure.core.http.rest.Response<VirtualNetworkInner>> 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
Responseon successful completion ofMono. - Throws:
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.
-
updateTagsAsync
Mono<VirtualNetworkInner> 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. - Throws:
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.
-
updateTags
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.
- Throws:
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.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<VirtualNetworkInner> updateTagsWithResponse(String resourceGroupName, String virtualNetworkName, TagsObject parameters, com.azure.core.util.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. - Throws:
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.
-
listAsync
com.azure.core.http.rest.PagedFlux<VirtualNetworkInner> listAsync()
Gets all virtual networks in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<VirtualNetworkInner>- Returns:
- all virtual networks in a subscription as paginated response with
PagedFlux. - Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<VirtualNetworkInner> list()
Gets all virtual networks in a subscription.- Specified by:
listin interfaceInnerSupportsListing<VirtualNetworkInner>- Returns:
- all virtual networks in a subscription as paginated response with
PagedIterable. - Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<VirtualNetworkInner> list(com.azure.core.util.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. - Throws:
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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<VirtualNetworkInner> listByResourceGroupAsync(String resourceGroupName)
Gets all virtual networks in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<VirtualNetworkInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all virtual networks in a resource group as paginated response with
PagedFlux. - Throws:
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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<VirtualNetworkInner> listByResourceGroup(String resourceGroupName)
Gets all virtual networks in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<VirtualNetworkInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all virtual networks in a resource group as paginated response with
PagedIterable. - Throws:
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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<VirtualNetworkInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.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. - Throws:
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.
-
checkIpAddressAvailabilityWithResponseAsync
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.- 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
Responseon successful completion ofMono. - Throws:
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.
-
checkIpAddressAvailabilityAsync
Mono<IpAddressAvailabilityResultInner> 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. - Throws:
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.
-
checkIpAddressAvailability
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.
- Throws:
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.
-
checkIpAddressAvailabilityWithResponse
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.- 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. - Throws:
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.
-
listUsageAsync
com.azure.core.http.rest.PagedFlux<VirtualNetworkUsageInner> 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. - Throws:
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.
-
listUsage
com.azure.core.http.rest.PagedIterable<VirtualNetworkUsageInner> 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. - Throws:
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.
-
listUsage
com.azure.core.http.rest.PagedIterable<VirtualNetworkUsageInner> listUsage(String resourceGroupName, String virtualNetworkName, com.azure.core.util.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. - Throws:
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.
-
-