Interface LogProfilesClient
public interface LogProfilesClient
An instance of this class provides access to all the operations defined in LogProfilesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String logProfileName, LogProfileResourceInner parameters) Create or update a log profile in Azure Monitoring REST API.createOrUpdateAsync(String logProfileName, LogProfileResourceInner parameters) Create or update a log profile in Azure Monitoring REST API.com.azure.core.http.rest.Response<LogProfileResourceInner> createOrUpdateWithResponse(String logProfileName, LogProfileResourceInner parameters, com.azure.core.util.Context context) Create or update a log profile in Azure Monitoring REST API.Mono<com.azure.core.http.rest.Response<LogProfileResourceInner>> createOrUpdateWithResponseAsync(String logProfileName, LogProfileResourceInner parameters) Create or update a log profile in Azure Monitoring REST API.voidDeletes the log profile.deleteAsync(String logProfileName) Deletes the log profile.com.azure.core.http.rest.Response<Void> deleteWithResponse(String logProfileName, com.azure.core.util.Context context) Deletes the log profile.deleteWithResponseAsync(String logProfileName) Deletes the log profile.Gets the log profile.Gets the log profile.com.azure.core.http.rest.Response<LogProfileResourceInner> getWithResponse(String logProfileName, com.azure.core.util.Context context) Gets the log profile.Mono<com.azure.core.http.rest.Response<LogProfileResourceInner>> getWithResponseAsync(String logProfileName) Gets the log profile.com.azure.core.http.rest.PagedIterable<LogProfileResourceInner> list()List the log profiles.com.azure.core.http.rest.PagedIterable<LogProfileResourceInner> list(com.azure.core.util.Context context) List the log profiles.com.azure.core.http.rest.PagedFlux<LogProfileResourceInner> List the log profiles.update(String logProfileName, LogProfileResourcePatch logProfilesResource) Updates an existing LogProfilesResource.updateAsync(String logProfileName, LogProfileResourcePatch logProfilesResource) Updates an existing LogProfilesResource.com.azure.core.http.rest.Response<LogProfileResourceInner> updateWithResponse(String logProfileName, LogProfileResourcePatch logProfilesResource, com.azure.core.util.Context context) Updates an existing LogProfilesResource.Mono<com.azure.core.http.rest.Response<LogProfileResourceInner>> updateWithResponseAsync(String logProfileName, LogProfileResourcePatch logProfilesResource) Updates an existing LogProfilesResource.
-
Method Details
-
deleteWithResponseAsync
Deletes the log profile.- Parameters:
logProfileName- The name of the log profile.- Returns:
- the
Responseon 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 the log profile.- Parameters:
logProfileName- The name of the log profile.- Returns:
- A
Monothat 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 logProfileName, com.azure.core.util.Context context) Deletes the log profile.- Parameters:
logProfileName- The name of the log profile.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 the log profile.- Parameters:
logProfileName- The name of the log profile.- 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<LogProfileResourceInner>> getWithResponseAsync(String logProfileName) Gets the log profile.- Parameters:
logProfileName- The name of the log profile.- Returns:
- the log profile along with
Responseon 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 log profile.- Parameters:
logProfileName- The name of the log profile.- Returns:
- the log profile 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<LogProfileResourceInner> getWithResponse(String logProfileName, com.azure.core.util.Context context) Gets the log profile.- Parameters:
logProfileName- The name of the log profile.context- The context to associate with this operation.- Returns:
- the log profile 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 log profile.- Parameters:
logProfileName- The name of the log profile.- Returns:
- the log profile.
- 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<LogProfileResourceInner>> createOrUpdateWithResponseAsync(String logProfileName, LogProfileResourceInner parameters) Create or update a log profile in Azure Monitoring REST API.- Parameters:
logProfileName- The name of the log profile.parameters- Parameters supplied to the operation.- Returns:
- the log profile resource along with
Responseon 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<LogProfileResourceInner> createOrUpdateAsync(String logProfileName, LogProfileResourceInner parameters) Create or update a log profile in Azure Monitoring REST API.- Parameters:
logProfileName- The name of the log profile.parameters- Parameters supplied to the operation.- Returns:
- the log profile 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<LogProfileResourceInner> createOrUpdateWithResponse(String logProfileName, LogProfileResourceInner parameters, com.azure.core.util.Context context) Create or update a log profile in Azure Monitoring REST API.- Parameters:
logProfileName- The name of the log profile.parameters- Parameters supplied to the operation.context- The context to associate with this operation.- Returns:
- the log profile 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
Create or update a log profile in Azure Monitoring REST API.- Parameters:
logProfileName- The name of the log profile.parameters- Parameters supplied to the operation.- Returns:
- the log profile 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.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<LogProfileResourceInner>> updateWithResponseAsync(String logProfileName, LogProfileResourcePatch logProfilesResource) Updates an existing LogProfilesResource. To update other fields use the CreateOrUpdate method.- Parameters:
logProfileName- The name of the log profile.logProfilesResource- Parameters supplied to the operation.- Returns:
- the log profile resource along with
Responseon 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.
-
updateAsync
Mono<LogProfileResourceInner> updateAsync(String logProfileName, LogProfileResourcePatch logProfilesResource) Updates an existing LogProfilesResource. To update other fields use the CreateOrUpdate method.- Parameters:
logProfileName- The name of the log profile.logProfilesResource- Parameters supplied to the operation.- Returns:
- the log profile 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.
-
updateWithResponse
com.azure.core.http.rest.Response<LogProfileResourceInner> updateWithResponse(String logProfileName, LogProfileResourcePatch logProfilesResource, com.azure.core.util.Context context) Updates an existing LogProfilesResource. To update other fields use the CreateOrUpdate method.- Parameters:
logProfileName- The name of the log profile.logProfilesResource- Parameters supplied to the operation.context- The context to associate with this operation.- Returns:
- the log profile 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.
-
update
Updates an existing LogProfilesResource. To update other fields use the CreateOrUpdate method.- Parameters:
logProfileName- The name of the log profile.logProfilesResource- Parameters supplied to the operation.- Returns:
- the log profile 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<LogProfileResourceInner> listAsync()List the log profiles.- Returns:
- represents a collection of log profiles as paginated response with
PagedFlux. - Throws:
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<LogProfileResourceInner> list()List the log profiles.- Returns:
- represents a collection of log profiles as paginated response with
PagedIterable. - Throws:
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<LogProfileResourceInner> list(com.azure.core.util.Context context) List the log profiles.- Parameters:
context- The context to associate with this operation.- Returns:
- represents a collection of log profiles 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.
-