public class SubscriptionOperationsImpl extends Object implements ServiceOperations<SubscriptionClientImpl>, SubscriptionOperations
| Modifier and Type | Method and Description |
|---|---|
GetSubscriptionResult |
get(String subscriptionId)
Gets details about particular subscription.
|
Future<GetSubscriptionResult> |
getAsync(String subscriptionId)
Gets details about particular subscription.
|
SubscriptionClientImpl |
getClient()
Gets a reference to the
microsoft.azure.subscriptions.SubscriptionClientImpl.
|
SubscriptionListResult |
list()
Gets a list of the subscriptionIds.
|
Future<SubscriptionListResult> |
listAsync()
Gets a list of the subscriptionIds.
|
public SubscriptionClientImpl getClient()
getClient in interface ServiceOperations<SubscriptionClientImpl>public Future<GetSubscriptionResult> getAsync(String subscriptionId)
getAsync in interface SubscriptionOperationssubscriptionId - Required. Id of the subscription.public GetSubscriptionResult get(String subscriptionId) throws IOException, ServiceException
get in interface SubscriptionOperationssubscriptionId - Required. Id of the subscription.IOException - 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.public Future<SubscriptionListResult> listAsync()
listAsync in interface SubscriptionOperationspublic SubscriptionListResult list() throws IOException, ServiceException
list in interface SubscriptionOperationsIOException - 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./**
* 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.
*/