Interface VirtualMachineSizesClient
-
public interface VirtualMachineSizesClient
An instance of this class provides access to all the operations defined in VirtualMachineSizesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachineSizeListResultInner
list(String location)
Returns supported VM Sizes in a location.com.azure.core.http.rest.Response<VirtualMachineSizeListResultInner>
listWithResponse(String location, com.azure.core.util.Context context)
Returns supported VM Sizes in a location.
-
-
-
Method Detail
-
list
VirtualMachineSizeListResultInner 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<VirtualMachineSizeListResultInner> 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.
-
-