Interface ServerDevOpsAuditSettingsClient


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

    • listByServerAsync

      com.azure.core.http.rest.PagedFlux<ServerDevOpsAuditingSettingsInner> listByServerAsync(String resourceGroupName, String serverName)
      Lists DevOps audit settings of a server.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      Returns:
      a list of server DevOps audit settings 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.
    • listByServer

      com.azure.core.http.rest.PagedIterable<ServerDevOpsAuditingSettingsInner> listByServer(String resourceGroupName, String serverName)
      Lists DevOps audit settings of a server.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      Returns:
      a list of server DevOps audit settings 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.
    • listByServer

      com.azure.core.http.rest.PagedIterable<ServerDevOpsAuditingSettingsInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)
      Lists DevOps audit settings of a server.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      context - The context to associate with this operation.
      Returns:
      a list of server DevOps audit settings 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ServerDevOpsAuditingSettingsInner>> getWithResponseAsync(String resourceGroupName, String serverName, String devOpsAuditingSettingsName)
      Gets a server's DevOps audit settings.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      devOpsAuditingSettingsName - The name of the devops audit settings. This should always be 'default'.
      Returns:
      a server's DevOps audit settings along with Response 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.
    • getAsync

      Mono<ServerDevOpsAuditingSettingsInner> getAsync(String resourceGroupName, String serverName, String devOpsAuditingSettingsName)
      Gets a server's DevOps audit settings.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      devOpsAuditingSettingsName - The name of the devops audit settings. This should always be 'default'.
      Returns:
      a server's DevOps audit settings 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<ServerDevOpsAuditingSettingsInner> getWithResponse(String resourceGroupName, String serverName, String devOpsAuditingSettingsName, com.azure.core.util.Context context)
      Gets a server's DevOps audit settings.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      devOpsAuditingSettingsName - The name of the devops audit settings. This should always be 'default'.
      context - The context to associate with this operation.
      Returns:
      a server's DevOps audit settings 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

      ServerDevOpsAuditingSettingsInner get(String resourceGroupName, String serverName, String devOpsAuditingSettingsName)
      Gets a server's DevOps audit settings.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      devOpsAuditingSettingsName - The name of the devops audit settings. This should always be 'default'.
      Returns:
      a server's DevOps audit settings.
      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<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String devOpsAuditingSettingsName, ServerDevOpsAuditingSettingsInner parameters)
      Creates or updates a server's DevOps audit settings.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      devOpsAuditingSettingsName - The name of the devops audit settings. This should always be 'default'.
      parameters - Properties of DevOps audit settings.
      Returns:
      a server DevOps auditing settings along with Response 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.
    • beginCreateOrUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ServerDevOpsAuditingSettingsInner>, ServerDevOpsAuditingSettingsInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String devOpsAuditingSettingsName, ServerDevOpsAuditingSettingsInner parameters)
      Creates or updates a server's DevOps audit settings.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      devOpsAuditingSettingsName - The name of the devops audit settings. This should always be 'default'.
      parameters - Properties of DevOps audit settings.
      Returns:
      the PollerFlux for polling of a server DevOps auditing settings.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerDevOpsAuditingSettingsInner>, ServerDevOpsAuditingSettingsInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String devOpsAuditingSettingsName, ServerDevOpsAuditingSettingsInner parameters)
      Creates or updates a server's DevOps audit settings.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      devOpsAuditingSettingsName - The name of the devops audit settings. This should always be 'default'.
      parameters - Properties of DevOps audit settings.
      Returns:
      the SyncPoller for polling of a server DevOps auditing settings.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerDevOpsAuditingSettingsInner>, ServerDevOpsAuditingSettingsInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String devOpsAuditingSettingsName, ServerDevOpsAuditingSettingsInner parameters, com.azure.core.util.Context context)
      Creates or updates a server's DevOps audit settings.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      devOpsAuditingSettingsName - The name of the devops audit settings. This should always be 'default'.
      parameters - Properties of DevOps audit settings.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a server DevOps auditing settings.
      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<ServerDevOpsAuditingSettingsInner> createOrUpdateAsync(String resourceGroupName, String serverName, String devOpsAuditingSettingsName, ServerDevOpsAuditingSettingsInner parameters)
      Creates or updates a server's DevOps audit settings.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      devOpsAuditingSettingsName - The name of the devops audit settings. This should always be 'default'.
      parameters - Properties of DevOps audit settings.
      Returns:
      a server DevOps auditing settings 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.
    • createOrUpdate

      ServerDevOpsAuditingSettingsInner createOrUpdate(String resourceGroupName, String serverName, String devOpsAuditingSettingsName, ServerDevOpsAuditingSettingsInner parameters)
      Creates or updates a server's DevOps audit settings.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      devOpsAuditingSettingsName - The name of the devops audit settings. This should always be 'default'.
      parameters - Properties of DevOps audit settings.
      Returns:
      a server DevOps auditing settings.
      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

      ServerDevOpsAuditingSettingsInner createOrUpdate(String resourceGroupName, String serverName, String devOpsAuditingSettingsName, ServerDevOpsAuditingSettingsInner parameters, com.azure.core.util.Context context)
      Creates or updates a server's DevOps audit settings.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      devOpsAuditingSettingsName - The name of the devops audit settings. This should always be 'default'.
      parameters - Properties of DevOps audit settings.
      context - The context to associate with this operation.
      Returns:
      a server DevOps auditing settings.
      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.