Interface LogProfilesClient


  • public interface LogProfilesClient
    An instance of this class provides access to all the operations defined in LogProfilesClient.
    • Method Detail

      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync​(String logProfileName)
        Deletes the log profile.
        Parameters:
        logProfileName - The name of the log profile.
        Returns:
        the completion.
        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

        Mono<Void> deleteAsync​(String logProfileName)
        Deletes the log profile.
        Parameters:
        logProfileName - The name of the log profile.
        Returns:
        the completion.
        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

        void delete​(String logProfileName)
        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.
      • 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.
      • 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.
        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

        Mono<LogProfileResourceInner> getAsync​(String logProfileName)
        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.
      • get

        LogProfileResourceInner get​(String logProfileName)
        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.
      • 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.
        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.
        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.
        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

        LogProfileResourceInner createOrUpdate​(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.
        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.
        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.
        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.
        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

        LogProfileResourceInner update​(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.
        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.
        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.
        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.
        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.
        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.