Interface DiagnosticSettingsOperationsClient
- All Superinterfaces:
InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in DiagnosticSettingsOperationsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceUri, String name, DiagnosticSettingsResourceInner parameters) Creates or updates diagnostic settings for the specified resource.createOrUpdateAsync
(String resourceUri, String name, DiagnosticSettingsResourceInner parameters) Creates or updates diagnostic settings for the specified resource.com.azure.core.http.rest.Response
<DiagnosticSettingsResourceInner> createOrUpdateWithResponse
(String resourceUri, String name, DiagnosticSettingsResourceInner parameters, com.azure.core.util.Context context) Creates or updates diagnostic settings for the specified resource.Mono
<com.azure.core.http.rest.Response<DiagnosticSettingsResourceInner>> createOrUpdateWithResponseAsync
(String resourceUri, String name, DiagnosticSettingsResourceInner parameters) Creates or updates diagnostic settings for the specified resource.void
Deletes existing diagnostic settings for the specified resource.deleteAsync
(String resourceUri, String name) Deletes existing diagnostic settings for the specified resource.com.azure.core.http.rest.Response
<Void> deleteWithResponse
(String resourceUri, String name, com.azure.core.util.Context context) Deletes existing diagnostic settings for the specified resource.deleteWithResponseAsync
(String resourceUri, String name) Deletes existing diagnostic settings for the specified resource.Gets the active diagnostic settings for the specified resource.Gets the active diagnostic settings for the specified resource.com.azure.core.http.rest.Response
<DiagnosticSettingsResourceInner> getWithResponse
(String resourceUri, String name, com.azure.core.util.Context context) Gets the active diagnostic settings for the specified resource.Mono
<com.azure.core.http.rest.Response<DiagnosticSettingsResourceInner>> getWithResponseAsync
(String resourceUri, String name) Gets the active diagnostic settings for the specified resource.com.azure.core.http.rest.PagedIterable
<DiagnosticSettingsResourceInner> Gets the active diagnostic settings list for the specified resource.com.azure.core.http.rest.PagedIterable
<DiagnosticSettingsResourceInner> Gets the active diagnostic settings list for the specified resource.com.azure.core.http.rest.PagedFlux
<DiagnosticSettingsResourceInner> Gets the active diagnostic settings list for the specified resource.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<DiagnosticSettingsResourceInner>> getWithResponseAsync(String resourceUri, String name) Gets the active diagnostic settings for the specified resource.- Parameters:
resourceUri
- The identifier of the resource.name
- The name of the diagnostic setting.- Returns:
- the active diagnostic settings 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 active diagnostic settings for the specified resource.- Parameters:
resourceUri
- The identifier of the resource.name
- The name of the diagnostic setting.- Returns:
- the active diagnostic settings 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<DiagnosticSettingsResourceInner> getWithResponse(String resourceUri, String name, com.azure.core.util.Context context) Gets the active diagnostic settings 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 active diagnostic settings 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 active diagnostic settings for the specified resource.- Parameters:
resourceUri
- The identifier of the resource.name
- The name of the diagnostic setting.- Returns:
- the active diagnostic settings 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<DiagnosticSettingsResourceInner>> createOrUpdateWithResponseAsync(String resourceUri, String name, DiagnosticSettingsResourceInner parameters) Creates or updates diagnostic settings for the specified resource.- Parameters:
resourceUri
- The identifier of the resource.name
- The name of the diagnostic setting.parameters
- Parameters supplied to the operation.- Returns:
- the diagnostic setting 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.
-
createOrUpdateAsync
Mono<DiagnosticSettingsResourceInner> createOrUpdateAsync(String resourceUri, String name, DiagnosticSettingsResourceInner parameters) Creates or updates diagnostic settings for the specified resource.- Parameters:
resourceUri
- The identifier of the resource.name
- The name of the diagnostic setting.parameters
- Parameters supplied to the operation.- Returns:
- the diagnostic setting 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<DiagnosticSettingsResourceInner> createOrUpdateWithResponse(String resourceUri, String name, DiagnosticSettingsResourceInner parameters, com.azure.core.util.Context context) Creates or updates diagnostic settings for the specified resource.- Parameters:
resourceUri
- The identifier of the resource.name
- The name of the diagnostic setting.parameters
- Parameters supplied to the operation.context
- The context to associate with this operation.- Returns:
- the diagnostic setting 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.
-
createOrUpdate
DiagnosticSettingsResourceInner createOrUpdate(String resourceUri, String name, DiagnosticSettingsResourceInner parameters) Creates or updates diagnostic settings for the specified resource.- Parameters:
resourceUri
- The identifier of the resource.name
- The name of the diagnostic setting.parameters
- Parameters supplied to the operation.- Returns:
- the diagnostic setting 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceUri, String name) Deletes existing diagnostic settings for the specified resource.- Parameters:
resourceUri
- The identifier of the resource.name
- The name of the diagnostic setting.- Returns:
- the
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.
-
deleteAsync
Deletes existing diagnostic settings for the specified resource.- Specified by:
deleteAsync
in interfaceInnerSupportsDelete<Void>
- Parameters:
resourceUri
- The identifier of the resource.name
- The name of the diagnostic setting.- Returns:
- A
Mono
that completes when a successful response is received. - 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceUri, String name, com.azure.core.util.Context context) Deletes existing diagnostic settings 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
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.
-
delete
Deletes existing diagnostic settings for the specified resource.- Parameters:
resourceUri
- The identifier of the resource.name
- The name of the diagnostic setting.- 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
Gets the active diagnostic settings list for the specified resource.- Parameters:
resourceUri
- The identifier of the resource.- Returns:
- the active diagnostic settings list for the specified resource 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
Gets the active diagnostic settings list for the specified resource.- Parameters:
resourceUri
- The identifier of the resource.- Returns:
- the active diagnostic settings list for the specified resource 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<DiagnosticSettingsResourceInner> list(String resourceUri, com.azure.core.util.Context context) Gets the active diagnostic settings list for the specified resource.- Parameters:
resourceUri
- The identifier of the resource.context
- The context to associate with this operation.- Returns:
- the active diagnostic settings list for the specified resource 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.
-