Interface DiagnosticSettingsCategoriesClient
public interface DiagnosticSettingsCategoriesClient
An instance of this class provides access to all the operations defined in DiagnosticSettingsCategoriesClient.
-
Method Summary
Modifier and TypeMethodDescriptionGets the diagnostic settings category for the specified resource.Gets the diagnostic settings category for the specified resource.com.azure.core.http.rest.Response<DiagnosticSettingsCategoryResourceInner>getWithResponse(String resourceUri, String name, com.azure.core.util.Context context) Gets the diagnostic settings category for the specified resource.Mono<com.azure.core.http.rest.Response<DiagnosticSettingsCategoryResourceInner>>getWithResponseAsync(String resourceUri, String name) Gets the diagnostic settings category for the specified resource.Lists the diagnostic settings categories for the specified resource.Lists the diagnostic settings categories for the specified resource.com.azure.core.http.rest.Response<DiagnosticSettingsCategoryResourceCollectionInner>listWithResponse(String resourceUri, com.azure.core.util.Context context) Lists the diagnostic settings categories for the specified resource.Mono<com.azure.core.http.rest.Response<DiagnosticSettingsCategoryResourceCollectionInner>>listWithResponseAsync(String resourceUri) Lists the diagnostic settings categories for the specified resource.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<DiagnosticSettingsCategoryResourceInner>> getWithResponseAsync(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 diagnostic settings category for the specified resource.
- 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.
-
getAsync
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 diagnostic settings category for the specified resource.
- 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.
-
get
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 diagnostic settings category for the specified resource.
- 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.
-
getWithResponse
com.azure.core.http.rest.Response<DiagnosticSettingsCategoryResourceInner> getWithResponse(String resourceUri, String name, com.azure.core.util.Context context) Gets the diagnostic settings category for the specified resource.- Parameters:
resourceUri- The identifier of the resource.name- The name of the diagnostic setting.context- The context to associate with this operation.- Returns:
- the diagnostic settings category for the specified resource.
- 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.
-
listWithResponseAsync
Mono<com.azure.core.http.rest.Response<DiagnosticSettingsCategoryResourceCollectionInner>> listWithResponseAsync(String resourceUri) Lists the diagnostic settings categories for the specified resource.- Parameters:
resourceUri- The identifier of the resource.- Returns:
- represents a collection of diagnostic setting category resources.
- 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
Lists the diagnostic settings categories for the specified resource.- Parameters:
resourceUri- The identifier of the resource.- Returns:
- represents a collection of diagnostic setting category resources.
- 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
Lists the diagnostic settings categories for the specified resource.- Parameters:
resourceUri- The identifier of the resource.- Returns:
- represents a collection of diagnostic setting category resources.
- 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<DiagnosticSettingsCategoryResourceCollectionInner> listWithResponse(String resourceUri, com.azure.core.util.Context context) Lists the diagnostic settings categories for the specified resource.- Parameters:
resourceUri- The identifier of the resource.context- The context to associate with this operation.- Returns:
- represents a collection of diagnostic setting category resources.
- 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.
-