public class UsageOperationsImpl extends Object implements ServiceOperations<StorageManagementClientImpl>, UsageOperations
| Modifier and Type | Method and Description |
|---|---|
StorageManagementClientImpl |
getClient()
Gets a reference to the
microsoft.azure.management.storage.StorageManagementClientImpl.
|
UsageListResponse |
list()
Gets the current usage count and the limit for the resources under the
subscription.
|
Future<UsageListResponse> |
listAsync()
Gets the current usage count and the limit for the resources under the
subscription.
|
public StorageManagementClientImpl getClient()
getClient in interface ServiceOperations<StorageManagementClientImpl>public Future<UsageListResponse> listAsync()
listAsync in interface UsageOperationspublic UsageListResponse list() throws IOException, ServiceException, URISyntaxException
list in interface UsageOperationsIOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.URISyntaxException - Thrown if there was an error parsing a URI in
the response./**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/