Interface VirtualNetworkSubnetUsagesClient
public interface VirtualNetworkSubnetUsagesClient
An instance of this class provides access to all the operations defined in VirtualNetworkSubnetUsagesClient.
-
Method Summary
Modifier and TypeMethodDescriptionlist(String locationName, VirtualNetworkSubnetUsageParameter parameters) Lists the virtual network subnet usage for a given virtual network.listAsync(String locationName, VirtualNetworkSubnetUsageParameter parameters) Lists the virtual network subnet usage for a given virtual network.com.azure.core.http.rest.Response<VirtualNetworkSubnetUsageModelInner> listWithResponse(String locationName, VirtualNetworkSubnetUsageParameter parameters, com.azure.core.util.Context context) Lists the virtual network subnet usage for a given virtual network.Mono<com.azure.core.http.rest.Response<VirtualNetworkSubnetUsageModelInner>> listWithResponseAsync(String locationName, VirtualNetworkSubnetUsageParameter parameters) Lists the virtual network subnet usage for a given virtual network.
-
Method Details
-
listWithResponseAsync
Mono<com.azure.core.http.rest.Response<VirtualNetworkSubnetUsageModelInner>> listWithResponseAsync(String locationName, VirtualNetworkSubnetUsageParameter parameters) Lists the virtual network subnet usage for a given virtual network.- Parameters:
locationName- The name of the location.parameters- The required parameters for creating or updating a server.- Returns:
- virtual network subnet usage data along with
Responseon successful completion ofMono. - 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.
-
listAsync
Mono<VirtualNetworkSubnetUsageModelInner> listAsync(String locationName, VirtualNetworkSubnetUsageParameter parameters) Lists the virtual network subnet usage for a given virtual network.- Parameters:
locationName- The name of the location.parameters- The required parameters for creating or updating a server.- Returns:
- virtual network subnet usage data on successful completion of
Mono. - 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<VirtualNetworkSubnetUsageModelInner> listWithResponse(String locationName, VirtualNetworkSubnetUsageParameter parameters, com.azure.core.util.Context context) Lists the virtual network subnet usage for a given virtual network.- 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 data 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.
-
list
VirtualNetworkSubnetUsageModelInner list(String locationName, VirtualNetworkSubnetUsageParameter parameters) Lists the virtual network subnet usage for a given virtual network.- Parameters:
locationName- The name of the location.parameters- The required parameters for creating or updating a server.- Returns:
- virtual network subnet usage data.
- 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.
-