Interface VirtualNetworksOperations
public interface VirtualNetworksOperations
Resource collection API of VirtualNetworksOperations.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new VirtualNetworks resource.void
deleteById
(String id) Deletes the virtual networkcom.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes the virtual networkvoid
deleteByResourceGroup
(String resourceGroupName, String virtualNetworksName) Deletes the virtual networkcom.azure.core.http.rest.Response<Void>
deleteByResourceGroupWithResponse
(String resourceGroupName, String virtualNetworksName, com.azure.core.util.Context context) Deletes the virtual networkGets the virtual networkcom.azure.core.http.rest.Response<VirtualNetworks>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets the virtual networkgetByResourceGroup
(String resourceGroupName, String virtualNetworksName) Gets the virtual networkcom.azure.core.http.rest.Response<VirtualNetworks>
getByResourceGroupWithResponse
(String resourceGroupName, String virtualNetworksName, com.azure.core.util.Context context) Gets the virtual networkcom.azure.core.http.rest.PagedIterable<VirtualNetworks>
list()
List virtual networks by subscriptioncom.azure.core.http.rest.PagedIterable<VirtualNetworks>
list
(com.azure.core.util.Context context) List virtual networks by subscriptioncom.azure.core.http.rest.PagedIterable<VirtualNetworks>
listByResourceGroup
(String resourceGroupName) List virtual networks by resource groupcom.azure.core.http.rest.PagedIterable<VirtualNetworks>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) List virtual networks by resource group
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<VirtualNetworks> getByResourceGroupWithResponse(String resourceGroupName, String virtualNetworksName, com.azure.core.util.Context context) Gets the virtual networkGets the Hybrid AKS virtual network.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.virtualNetworksName
- Parameter for the name of the virtual network.context
- The context to associate with this operation.- Returns:
- the Hybrid AKS virtual network 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.
-
getByResourceGroup
Gets the virtual networkGets the Hybrid AKS virtual network.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.virtualNetworksName
- Parameter for the name of the virtual network.- Returns:
- the Hybrid AKS 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.
-
deleteByResourceGroupWithResponse
com.azure.core.http.rest.Response<Void> deleteByResourceGroupWithResponse(String resourceGroupName, String virtualNetworksName, com.azure.core.util.Context context) Deletes the virtual networkDeletes the Hybrid AKS virtual network.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.virtualNetworksName
- Parameter for the name of the virtual network.context
- The context to associate with this operation.- Returns:
- the
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.
-
deleteByResourceGroup
Deletes the virtual networkDeletes the Hybrid AKS virtual network.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.virtualNetworksName
- Parameter for 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<VirtualNetworks> listByResourceGroup(String resourceGroupName) List virtual networks by resource groupLists the Hybrid AKS virtual networks by resource group.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- the 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<VirtualNetworks> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) List virtual networks by resource groupLists the Hybrid AKS virtual networks by resource group.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- the 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.
-
list
com.azure.core.http.rest.PagedIterable<VirtualNetworks> list()List virtual networks by subscriptionLists the Hybrid AKS virtual networks by subscription.
- Returns:
- the 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
List virtual networks by subscriptionLists the Hybrid AKS virtual networks by subscription.
- Parameters:
context
- The context to associate with this operation.- Returns:
- the 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.
-
getById
Gets the virtual networkGets the Hybrid AKS virtual network.
- Parameters:
id
- the resource ID.- Returns:
- the Hybrid AKS virtual network 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<VirtualNetworks> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets the virtual networkGets the Hybrid AKS virtual network.
- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- the Hybrid AKS virtual network 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.
-
deleteById
Deletes the virtual networkDeletes the Hybrid AKS virtual network.
- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Deletes the virtual networkDeletes the Hybrid AKS virtual network.
- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- the
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.
-
define
Begins definition for a new VirtualNetworks resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new VirtualNetworks definition.
-