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.com.azure.core.http.rest.PagedIterable
<DiagnosticSettingsCategoryResourceInner> Lists the diagnostic settings categories for the specified resource.com.azure.core.http.rest.PagedIterable
<DiagnosticSettingsCategoryResourceInner> Lists the diagnostic settings categories for the specified resource.com.azure.core.http.rest.PagedFlux
<DiagnosticSettingsCategoryResourceInner> 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 along with
Response
on successful completion ofMono
. - 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 on successful completion of
Mono
. - 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 along with
Response
. - 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<DiagnosticSettingsCategoryResourceInner> listAsync(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 as paginated response with
PagedFlux
. - 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
com.azure.core.http.rest.PagedIterable<DiagnosticSettingsCategoryResourceInner> list(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 as paginated response with
PagedIterable
. - 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
com.azure.core.http.rest.PagedIterable<DiagnosticSettingsCategoryResourceInner> list(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 as paginated response with
PagedIterable
. - 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.
-