public interface DiagnosticSettingsClient extends InnerSupportsDelete<Void>
| Modifier and Type | Method and Description |
|---|---|
DiagnosticSettingsResourceInner |
createOrUpdate(String resourceUri,
String name,
DiagnosticSettingsResourceInner parameters)
Creates or updates diagnostic settings for the specified resource.
|
Mono<DiagnosticSettingsResourceInner> |
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 |
delete(String resourceUri,
String name)
Deletes existing diagnostic settings for the specified resource.
|
Mono<Void> |
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.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteWithResponseAsync(String resourceUri,
String name)
Deletes existing diagnostic settings for the specified resource.
|
DiagnosticSettingsResourceInner |
get(String resourceUri,
String name)
Gets the active diagnostic settings for the specified resource.
|
Mono<DiagnosticSettingsResourceInner> |
getAsync(String resourceUri,
String name)
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.
|
DiagnosticSettingsResourceCollectionInner |
list(String resourceUri)
Gets the active diagnostic settings list for the specified resource.
|
Mono<DiagnosticSettingsResourceCollectionInner> |
listAsync(String resourceUri)
Gets the active diagnostic settings list for the specified resource.
|
com.azure.core.http.rest.Response<DiagnosticSettingsResourceCollectionInner> |
listWithResponse(String resourceUri,
com.azure.core.util.Context context)
Gets the active diagnostic settings list for the specified resource.
|
Mono<com.azure.core.http.rest.Response<DiagnosticSettingsResourceCollectionInner>> |
listWithResponseAsync(String resourceUri)
Gets the active diagnostic settings list for the specified resource.
|
Mono<com.azure.core.http.rest.Response<DiagnosticSettingsResourceInner>> getWithResponseAsync(String resourceUri, String name)
resourceUri - The identifier of the resource.name - The name of the diagnostic setting.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.Mono<DiagnosticSettingsResourceInner> getAsync(String resourceUri, String name)
resourceUri - The identifier of the resource.name - The name of the diagnostic setting.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.DiagnosticSettingsResourceInner get(String resourceUri, String name)
resourceUri - The identifier of the resource.name - The name of the diagnostic setting.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.com.azure.core.http.rest.Response<DiagnosticSettingsResourceInner> getWithResponse(String resourceUri, String name, com.azure.core.util.Context context)
resourceUri - The identifier of the resource.name - The name of the diagnostic setting.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<DiagnosticSettingsResourceInner>> createOrUpdateWithResponseAsync(String resourceUri, String name, DiagnosticSettingsResourceInner parameters)
resourceUri - The identifier of the resource.name - The name of the diagnostic setting.parameters - The diagnostic setting resource.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.Mono<DiagnosticSettingsResourceInner> createOrUpdateAsync(String resourceUri, String name, DiagnosticSettingsResourceInner parameters)
resourceUri - The identifier of the resource.name - The name of the diagnostic setting.parameters - The diagnostic setting resource.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.DiagnosticSettingsResourceInner createOrUpdate(String resourceUri, String name, DiagnosticSettingsResourceInner parameters)
resourceUri - The identifier of the resource.name - The name of the diagnostic setting.parameters - The diagnostic setting resource.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.com.azure.core.http.rest.Response<DiagnosticSettingsResourceInner> createOrUpdateWithResponse(String resourceUri, String name, DiagnosticSettingsResourceInner parameters, com.azure.core.util.Context context)
resourceUri - The identifier of the resource.name - The name of the diagnostic setting.parameters - The diagnostic setting resource.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceUri, String name)
resourceUri - The identifier of the resource.name - The name of the diagnostic setting.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.Mono<Void> deleteAsync(String resourceUri, String name)
deleteAsync in interface InnerSupportsDelete<Void>resourceUri - The identifier of the resource.name - The name of the diagnostic setting.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.void delete(String resourceUri, String name)
resourceUri - The identifier of the resource.name - The name of the diagnostic setting.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.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceUri, String name, com.azure.core.util.Context context)
resourceUri - The identifier of the resource.name - The name of the diagnostic setting.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<DiagnosticSettingsResourceCollectionInner>> listWithResponseAsync(String resourceUri)
resourceUri - The identifier of the resource.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.Mono<DiagnosticSettingsResourceCollectionInner> listAsync(String resourceUri)
resourceUri - The identifier of the resource.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.DiagnosticSettingsResourceCollectionInner list(String resourceUri)
resourceUri - The identifier of the resource.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.com.azure.core.http.rest.Response<DiagnosticSettingsResourceCollectionInner> listWithResponse(String resourceUri, com.azure.core.util.Context context)
resourceUri - The identifier of the resource.context - The context to associate with this operation.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.Copyright © 2020 Microsoft Corporation. All rights reserved.