code: public void initiateScan(String resourceGroupName, String managedInstanceName, String databaseName, String scanId) {
          initiateScanWithServiceResponseAsync(resourceGroupName, managedInstanceName, databaseName, scanId).toBlocking().last().body();
      }
docs: Executes a Vulnerability Assessment database scan.
  
  @param 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.
  @param managedInstanceName The name of the managed instance.
  @param databaseName The name of the database.
  @param scanId The vulnerability assessment scan Id of the scan to retrieve.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent