Interface VirtualNetworksOperationsClient
public interface VirtualNetworksOperationsClient
An instance of this class provides access to all the operations defined in VirtualNetworksOperationsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworksInner>,
VirtualNetworksInner> beginCreateOrUpdate
(String resourceGroupName, String virtualNetworksName, VirtualNetworksInner virtualNetworks) Puts the virtual networkcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworksInner>,
VirtualNetworksInner> beginCreateOrUpdate
(String resourceGroupName, String virtualNetworksName, VirtualNetworksInner virtualNetworks, com.azure.core.util.Context context) Puts the virtual networkcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworksInner>,
VirtualNetworksInner> beginUpdate
(String resourceGroupName, String virtualNetworksName, VirtualNetworksPatch virtualNetworks) Patches the virtual networkcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworksInner>,
VirtualNetworksInner> beginUpdate
(String resourceGroupName, String virtualNetworksName, VirtualNetworksPatch virtualNetworks, com.azure.core.util.Context context) Patches the virtual networkcreateOrUpdate
(String resourceGroupName, String virtualNetworksName, VirtualNetworksInner virtualNetworks) Puts the virtual networkcreateOrUpdate
(String resourceGroupName, String virtualNetworksName, VirtualNetworksInner virtualNetworks, com.azure.core.util.Context context) Puts the virtual networkvoid
Deletes the virtual networkcom.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String virtualNetworksName, com.azure.core.util.Context context) Deletes the virtual networkgetByResourceGroup
(String resourceGroupName, String virtualNetworksName) Gets the virtual networkcom.azure.core.http.rest.Response<VirtualNetworksInner>
getByResourceGroupWithResponse
(String resourceGroupName, String virtualNetworksName, com.azure.core.util.Context context) Gets the virtual networkcom.azure.core.http.rest.PagedIterable<VirtualNetworksInner>
list()
List virtual networks by subscriptioncom.azure.core.http.rest.PagedIterable<VirtualNetworksInner>
list
(com.azure.core.util.Context context) List virtual networks by subscriptioncom.azure.core.http.rest.PagedIterable<VirtualNetworksInner>
listByResourceGroup
(String resourceGroupName) List virtual networks by resource groupcom.azure.core.http.rest.PagedIterable<VirtualNetworksInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) List virtual networks by resource groupupdate
(String resourceGroupName, String virtualNetworksName, VirtualNetworksPatch virtualNetworks) Patches the virtual networkupdate
(String resourceGroupName, String virtualNetworksName, VirtualNetworksPatch virtualNetworks, com.azure.core.util.Context context) Patches the virtual network
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<VirtualNetworksInner> 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworksInner>,VirtualNetworksInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworksName, VirtualNetworksInner virtualNetworks) Puts the virtual networkPuts 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.virtualNetworks
- The virtualNetworks resource definition.- Returns:
- the
SyncPoller
for polling of the virtualNetworks resource definition. - 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<VirtualNetworksInner>,VirtualNetworksInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworksName, VirtualNetworksInner virtualNetworks, com.azure.core.util.Context context) Puts the virtual networkPuts 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.virtualNetworks
- The virtualNetworks resource definition.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the virtualNetworks resource definition. - 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
VirtualNetworksInner createOrUpdate(String resourceGroupName, String virtualNetworksName, VirtualNetworksInner virtualNetworks) Puts the virtual networkPuts 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.virtualNetworks
- The virtualNetworks resource definition.- Returns:
- the virtualNetworks resource definition.
- 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
VirtualNetworksInner createOrUpdate(String resourceGroupName, String virtualNetworksName, VirtualNetworksInner virtualNetworks, com.azure.core.util.Context context) Puts the virtual networkPuts 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.virtualNetworks
- The virtualNetworks resource definition.context
- The context to associate with this operation.- Returns:
- the virtualNetworks resource definition.
- 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(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.
-
delete
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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworksInner>,VirtualNetworksInner> beginUpdate(String resourceGroupName, String virtualNetworksName, VirtualNetworksPatch virtualNetworks) Patches the virtual networkPatches 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.virtualNetworks
- The virtualNetworks resource patch definition.- Returns:
- the
SyncPoller
for polling of the virtualNetworks resource definition. - 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworksInner>,VirtualNetworksInner> beginUpdate(String resourceGroupName, String virtualNetworksName, VirtualNetworksPatch virtualNetworks, com.azure.core.util.Context context) Patches the virtual networkPatches 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.virtualNetworks
- The virtualNetworks resource patch definition.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the virtualNetworks resource definition. - 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.
-
update
VirtualNetworksInner update(String resourceGroupName, String virtualNetworksName, VirtualNetworksPatch virtualNetworks) Patches the virtual networkPatches 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.virtualNetworks
- The virtualNetworks resource patch definition.- Returns:
- the virtualNetworks resource definition.
- 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.
-
update
VirtualNetworksInner update(String resourceGroupName, String virtualNetworksName, VirtualNetworksPatch virtualNetworks, com.azure.core.util.Context context) Patches the virtual networkPatches 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.virtualNetworks
- The virtualNetworks resource patch definition.context
- The context to associate with this operation.- Returns:
- the virtualNetworks resource definition.
- 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<VirtualNetworksInner> 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<VirtualNetworksInner> 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<VirtualNetworksInner> 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
com.azure.core.http.rest.PagedIterable<VirtualNetworksInner> list(com.azure.core.util.Context context) 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.
-