DiagnosticSettingsCategorysInner Class

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

public class DiagnosticSettingsCategorysInner

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

Constructor Summary

Constructor Description
DiagnosticSettingsCategorysInner(Retrofit retrofit, MonitorManagementClientImpl client)

Initializes an instance of DiagnosticSettingsCategorysInner.

Method Summary

Modifier and Type Method and Description
DiagnosticSettingsCategoryResourceInner get(String resourceUri, String name)

Gets the diagnostic settings category for the specified resource.

Observable<DiagnosticSettingsCategoryResourceInner> getAsync(String resourceUri, String name)

Gets the diagnostic settings category for the specified resource.

ServiceFuture<DiagnosticSettingsCategoryResourceInner> getAsync(String resourceUri, String name, final ServiceCallback<DiagnosticSettingsCategoryResourceInner> serviceCallback)

Gets the diagnostic settings category for the specified resource.

Observable<ServiceResponse<DiagnosticSettingsCategoryResourceInner>> getWithServiceResponseAsync(String resourceUri, String name)

Gets the diagnostic settings category for the specified resource.

DiagnosticSettingsCategoryResourceCollectionInner list(String resourceUri)

Lists the diagnostic settings categories for the specified resource.

Observable<DiagnosticSettingsCategoryResourceCollectionInner> listAsync(String resourceUri)

Lists the diagnostic settings categories for the specified resource.

ServiceFuture<DiagnosticSettingsCategoryResourceCollectionInner> listAsync(String resourceUri, final ServiceCallback<DiagnosticSettingsCategoryResourceCollectionInner> serviceCallback)

Lists the diagnostic settings categories for the specified resource.

Observable<ServiceResponse<DiagnosticSettingsCategoryResourceCollectionInner>> listWithServiceResponseAsync(String resourceUri)

Lists the diagnostic settings categories for the specified resource.

Constructor Details

DiagnosticSettingsCategorysInner

public DiagnosticSettingsCategorysInner(Retrofit retrofit, MonitorManagementClientImpl client)

Initializes an instance of DiagnosticSettingsCategorysInner.

Parameters:

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

Method Details

get

public DiagnosticSettingsCategoryResourceInner get(String resourceUri, String name)

Gets the diagnostic settings category for the specified resource.

Parameters:

resourceUri - The identifier of the resource.
name - The name of the diagnostic setting.

Returns:

the DiagnosticSettingsCategoryResourceInner object if successful.

Throws:

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

getAsync

public Observable getAsync(String resourceUri, String name)

Gets the diagnostic settings category for the specified resource.

Parameters:

resourceUri - The identifier of the resource.
name - The name of the diagnostic setting.

Returns:

the observable to the DiagnosticSettingsCategoryResourceInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getAsync

public ServiceFuture getAsync(String resourceUri, String name, final ServiceCallback serviceCallback)

Gets the diagnostic settings category for the specified resource.

Parameters:

resourceUri - The identifier of the resource.
name - The name of the diagnostic setting.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getWithServiceResponseAsync

public Observable<>> getWithServiceResponseAsync(String resourceUri, String name)

Gets the diagnostic settings category for the specified resource.

Parameters:

resourceUri - The identifier of the resource.
name - The name of the diagnostic setting.

Returns:

the observable to the DiagnosticSettingsCategoryResourceInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

list

public DiagnosticSettingsCategoryResourceCollectionInner list(String resourceUri)

Lists the diagnostic settings categories for the specified resource.

Parameters:

resourceUri - The identifier of the resource.

Returns:

the DiagnosticSettingsCategoryResourceCollectionInner object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
ErrorResponseException - 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(String resourceUri)

Lists the diagnostic settings categories for the specified resource.

Parameters:

resourceUri - The identifier of the resource.

Returns:

the observable to the DiagnosticSettingsCategoryResourceCollectionInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listAsync

public ServiceFuture listAsync(String resourceUri, final ServiceCallback serviceCallback)

Lists the diagnostic settings categories for the specified resource.

Parameters:

resourceUri - The identifier of the resource.
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(String resourceUri)

Lists the diagnostic settings categories for the specified resource.

Parameters:

resourceUri - The identifier of the resource.

Returns:

the observable to the DiagnosticSettingsCategoryResourceCollectionInner object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

Applies to