OperationsInner Class

  • java.lang.Object
    • com.microsoft.azure.management.monitor.implementation.OperationsInner

public class OperationsInner

An instance of this class provides access to all the operations defined in Operations.

Constructor Summary

Constructor Description
OperationsInner(Retrofit retrofit, MonitorManagementClientImpl client)

Initializes an instance of OperationsInner.

Method Summary

Modifier and Type Method and Description
OperationListResultInner list()

Lists all of the available operations from Microsoft.Insights provider.

Observable<OperationListResultInner> listAsync()

Lists all of the available operations from Microsoft.Insights provider.

ServiceFuture<OperationListResultInner> listAsync(final ServiceCallback<OperationListResultInner> serviceCallback)

Lists all of the available operations from Microsoft.Insights provider.

Observable<ServiceResponse<OperationListResultInner>> listWithServiceResponseAsync()

Lists all of the available operations from Microsoft.Insights provider.

Constructor Details

OperationsInner

public OperationsInner(Retrofit retrofit, MonitorManagementClientImpl client)

Initializes an instance of OperationsInner.

Parameters:

retrofit - the Retrofit instance built from a Retrofit Builder.
client - the instance of the service client containing this operation class.

Method Details

list

public OperationListResultInner list()

Lists all of the available operations from Microsoft.Insights provider.

Returns:

the OperationListResultInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listAsync

public Observable listAsync()

Lists all of the available operations from Microsoft.Insights provider.

Returns:

the observable to the OperationListResultInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listAsync

public ServiceFuture listAsync(final ServiceCallback serviceCallback)

Lists all of the available operations from Microsoft.Insights provider.

Parameters:

serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listWithServiceResponseAsync

public Observable<>> listWithServiceResponseAsync()

Lists all of the available operations from Microsoft.Insights provider.

Returns:

the observable to the OperationListResultInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

Applies to