Interface ManagedVirtualNetworksClient


  • public interface ManagedVirtualNetworksClient
    An instance of this class provides access to all the operations defined in ManagedVirtualNetworksClient.
    • Method Detail

      • listByFactory

        com.azure.core.http.rest.PagedIterable<ManagedVirtualNetworkResourceInner> listByFactory​(String resourceGroupName,
                                                                                                 String factoryName)
        Lists managed Virtual Networks.
        Parameters:
        resourceGroupName - The resource group name.
        factoryName - The factory name.
        Returns:
        a list of managed Virtual Network resources 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.
      • listByFactory

        com.azure.core.http.rest.PagedIterable<ManagedVirtualNetworkResourceInner> listByFactory​(String resourceGroupName,
                                                                                                 String factoryName,
                                                                                                 com.azure.core.util.Context context)
        Lists managed Virtual Networks.
        Parameters:
        resourceGroupName - The resource group name.
        factoryName - The factory name.
        context - The context to associate with this operation.
        Returns:
        a list of managed Virtual Network resources 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.
      • createOrUpdate

        ManagedVirtualNetworkResourceInner createOrUpdate​(String resourceGroupName,
                                                          String factoryName,
                                                          String managedVirtualNetworkName,
                                                          ManagedVirtualNetworkResourceInner managedVirtualNetwork)
        Creates or updates a managed Virtual Network.
        Parameters:
        resourceGroupName - The resource group name.
        factoryName - The factory name.
        managedVirtualNetworkName - Managed virtual network name.
        managedVirtualNetwork - Managed Virtual Network resource definition.
        Returns:
        managed Virtual Network resource type.
        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.
      • createOrUpdateWithResponse

        com.azure.core.http.rest.Response<ManagedVirtualNetworkResourceInner> createOrUpdateWithResponse​(String resourceGroupName,
                                                                                                         String factoryName,
                                                                                                         String managedVirtualNetworkName,
                                                                                                         ManagedVirtualNetworkResourceInner managedVirtualNetwork,
                                                                                                         String ifMatch,
                                                                                                         com.azure.core.util.Context context)
        Creates or updates a managed Virtual Network.
        Parameters:
        resourceGroupName - The resource group name.
        factoryName - The factory name.
        managedVirtualNetworkName - Managed virtual network name.
        managedVirtualNetwork - Managed Virtual Network resource definition.
        ifMatch - ETag of the managed Virtual Network entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.
        context - The context to associate with this operation.
        Returns:
        managed Virtual Network resource type 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.
      • get

        ManagedVirtualNetworkResourceInner get​(String resourceGroupName,
                                               String factoryName,
                                               String managedVirtualNetworkName)
        Gets a managed Virtual Network.
        Parameters:
        resourceGroupName - The resource group name.
        factoryName - The factory name.
        managedVirtualNetworkName - Managed virtual network name.
        Returns:
        a managed 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.
      • getWithResponse

        com.azure.core.http.rest.Response<ManagedVirtualNetworkResourceInner> getWithResponse​(String resourceGroupName,
                                                                                              String factoryName,
                                                                                              String managedVirtualNetworkName,
                                                                                              String ifNoneMatch,
                                                                                              com.azure.core.util.Context context)
        Gets a managed Virtual Network.
        Parameters:
        resourceGroupName - The resource group name.
        factoryName - The factory name.
        managedVirtualNetworkName - Managed virtual network name.
        ifNoneMatch - ETag of the managed Virtual Network entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.
        context - The context to associate with this operation.
        Returns:
        a managed 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.