Interface CheckVirtualNetworkSubnetUsagesClient


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

      • execute

        VirtualNetworkSubnetUsageResultInner execute​(String locationName,
                                                     VirtualNetworkSubnetUsageParameter parameters)
        Get virtual network subnet usage for a given vNet resource id.
        Parameters:
        locationName - The name of the location.
        parameters - The required parameters for creating or updating a server.
        Returns:
        virtual network subnet usage for a given vNet 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.
      • executeWithResponse

        com.azure.core.http.rest.Response<VirtualNetworkSubnetUsageResultInner> executeWithResponse​(String locationName,
                                                                                                    VirtualNetworkSubnetUsageParameter parameters,
                                                                                                    com.azure.core.util.Context context)
        Get virtual network subnet usage for a given vNet resource id.
        Parameters:
        locationName - The name of the location.
        parameters - The required parameters for creating or updating a server.
        context - The context to associate with this operation.
        Returns:
        virtual network subnet usage for a given vNet resource id 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.