Interface VirtualMachineSizes


  • public interface VirtualMachineSizes
    Resource collection API of VirtualMachineSizes.
    • Method Detail

      • list

        VirtualMachineSizeListResult list​(String location)
        Returns supported VM Sizes in a location.
        Parameters:
        location - The location upon which virtual-machine-sizes is queried.
        Returns:
        the List Virtual Machine size operation 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.
      • listWithResponse

        com.azure.core.http.rest.Response<VirtualMachineSizeListResult> listWithResponse​(String location,
                                                                                         com.azure.core.util.Context context)
        Returns supported VM Sizes in a location.
        Parameters:
        location - The location upon which virtual-machine-sizes is queried.
        context - The context to associate with this operation.
        Returns:
        the List Virtual Machine size operation response 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.