public ServiceFuture<ContainerExecResponseInner> executeCommandAsync(String resourceGroupName, String containerGroupName, String containerName, ContainerExecRequest containerExecRequest, final ServiceCallback<ContainerExecResponseInner> serviceCallback) {
        return ServiceFuture.fromResponse(executeCommandWithServiceResponseAsync(resourceGroupName, containerGroupName, containerName, containerExecRequest), serviceCallback);
    }
public ServiceFuture < ContainerExecResponseInner > executeCommandAsync ( String resourceGroupName , String containerGroupName , String containerName , ContainerExecRequest containerExecRequest , final ServiceCallback < ContainerExecResponseInner > serviceCallback ) { return ServiceFuture . fromResponse ( executeCommandWithServiceResponseAsync ( resourceGroupName , containerGroupName , containerName , containerExecRequest ) , serviceCallback ) ; }
Executes a command in a specific container instance.
Executes a command for a specific container instance in a specified resource group and container group.

@param resourceGroupName The name of the resource group.
@param containerGroupName The name of the container group.
@param containerName The name of the container instance.
@param containerExecRequest The request for the exec command.
@param serviceCallback the async ServiceCallback to handle successful and failed responses.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceFuture} object